Yes I know! When I insert a free model I delete all the scripts in and I add my owns scripts.
I tested out your game for 1K seconds, I did find a few bugs, but other then that it is pretty cool!
Thanks! Yes I know there’s a lot of bug, and I know how to fix it, I’ll do it in the next update. Thanks for testing! And wow 1k seconds is a lot, now you’re in the top time played leaderboard I think! You are already famous into my game
your welcome! I wish you luck on your programming journey
You too! Have a good day! And again: A very big thanks for the script!
lol, I got 1K seconds bc there was another developer in the game. and I tend to have long conversations with developers, like this one.
Oh ok lol
Can I know who he is? Maybe he’s one of my friends.
I forget their username, but they had a noob style avatar with a hat and black text on their upper torso.
Ok, so he’s the head admin of my game I think.
If he’s who I think, so his username was @NextbotzX.
yeah, I think that was their username.
people are getting annoyed that we are making this topic get bumped up, so for now on please just message me.
IT DON T WORK!!!
I can do it only once per server, when I try again after having doing it once, it don t work
Ok I’ll do it when I’ll be on my computer. Thanks in advance!
Edit: I’m not on my computer but I think it was just:
local tool = game.Workspace.GloveNameHere:Clone() --change "Workspace" to wherever your tool is and continue going down the children if it is in another thing, and change "Tool" to the name of your tool. This is cloning the tool
script.Parent.Touched:Connect(function(part) -- check if the part has been touched, then run the function. The part is the part tha touched this part
if part.Parent:FindFirstChild("Humanoid") then -- check if the part has a sibling called "Humanoid" humanoid is only in characters
tool.Parent = part.Parent -- put the tool in the players character, this makes it start equiped.
end
end)
are there any errors when you try to use it a second time? If there error is showing up on the first time, Send me that one too.
also: Sorry for the extremely late response, I have been very busy in the past few days
I played the game again and it’s strange, I noticed that two players can’t have it at the same time, and I don’t know why, but sometimes it gives me the tool and sometimes not.
EDIT: After reading my post again, I think I know when it gives and when not!! When there’s a player with the tool in his inventory, then another player get the tool by touching the part, so it gives the tool to the player who touched the part and it removes the tool to the player who already add it!! And when a player die with the tool, the tool is completely removed and we can’t get the tool!! That’s it (I think)!
I think I know the problem, move the first line inside the function.
Like this:
script.Parent.Touched:Connect(function(part) -- check if the part has been touched, then run the function. The part is the part that touched this part
if part.Parent:FindFirstChild("Humanoid") then -- check if the part has a sibling called "Humanoid" humanoid is only in characters
local tool = game.Workspace.GloveNameHere:Clone() --change "Workspace" to wherever your tool is and continue going down the children if it is in another thing, and change "Tool" to the name of your tool. This is cloning the tool
tool.Parent = part.Parent -- put the tool in the players character, this makes it start equiped.
end
end)
Where do I move it?
Amogus. The characters limit is sus