|
|
|
Depends on what you would want done.
|
|
|
basically some shops with editable swords |
|
|
|
paying 1K for following script;
To make a person spawn with the tool in lightning
basically were selling swords in a group and these are custom swords. Once they buy it they pm mesh color etc like that and then I need a script which makes them spawn with the sword they just bought thx |
|
|
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
game.ServerStorage.ToolName:Clone().Parent = player.Backpack
end)
end)
|
|
|
OperationHustle is a savage!! |
|
|
I want my 1k R$ please. Let me write the rest of that real quick.
|
|
SeviroJoin Date: 2009-12-08 Post Count: 47063 |
Hustle is missing a table with UserID's and their respective swords found in the ReplicatedStorage (don't use lighting for storage.)
Then it'd have to fetch the UserID of the player who joined and assign them the respective sword they bought.
|
|
|
local specialSwordUsers = {
[0000] = Color3.new(0, 0, 0)
}
game.Players.PlayerAdded:connect(function(player)
if specialSwordUsers[player.userId] then
player.CharacterAdded:connect(function(char)
local specialSword = game.ServerStorage.ToolName:Clone()
specialSword.Parent = player.Backpack
specialSword.Mesh.VertexColor = specialSwordUsers[player.userId]
end)
end)
|
|
|
Lighting isn't safe to use |
|
Zach1102Join Date: 2010-08-20 Post Count: 48576 |
cool m8 too bad im busy :(99 |
|
|
@seviro
Wasn't doing that part first. Also you wouldn't put this in ReplicatedStorage, it'd go in ServerStorage.
@Royal_Arab
May I please have 1k R$ now? It's only fair.
|
|
SeviroJoin Date: 2009-12-08 Post Count: 47063 |
It serves the same purpose.
|
|
|
ReplicatedStorage is for and only for things the client needs access to. The sword isn't one of them because weapons management is handled by the server :)
|
|
SeviroJoin Date: 2009-12-08 Post Count: 47063 |
But you're still cloning the tool from one of the storages, so it serves the same purpose.
|
|
|
@OP
To continue, if there's any other data, simply convert userId keys to have a table where value one is the VertexColor Color3, value 2 is abc, value 3 is etc etc etc and that will work just fine, I can help with that if it's nothing more big.
|
|
|
can u pls make it a model |
|
RichochetJoin Date: 2008-06-11 Post Count: 10773 |
i am very good scripter, tallah |
|
|
|
Done, tell me when you've taken it and I'll make it copylocked:
https://www.roblox.com/item.aspx?id=400212072
Fixed a missing end and added a variable so you can have spaces in the tool name.
|
|
|
F_lipeJoin Date: 2015-04-25 Post Count: 5939 |
thanks hustle
|
|
|