`~~~~~~~~~~~~~~~~~ ***> ***
`Hello everyone, can anyone help me with the cloning? i want it like whenever someone clicks on the item it gives them the item i've been trying to make it but it won't work It'd be appreciated it if anyone can help me.
`~~~~~~~~~~~~~~~~~ ***> ***
`Hello everyone, can anyone help me with the cloning? i want it like whenever someone clicks on the item it gives them the item i've been trying to make it but it won't work It'd be appreciated it if anyone can help me.
Hello, fjxsidi!
You can use this script
local tool = game.ServerStorage.Test -- Change to the correct place of the tool
script.Parent.ClickDetector.MouseClick:Connect(function(clicker)
tool:Clone().Parent = game.Players[clicker.Name].Backpack
end)
Don't forget: This is not a request website!
Good Luck with your games!
This discussion is preserved as it was. New answers, comments, and votes are closed.
14 comments
Didn't work. ):
Do you have a click detector on the script parent?
and changed the var tool
I got my cup and there's something called "Clicker" i've put the clickdetector there and the script also.
And what kind of tool do you mean can we discuss on discord please if you have?
Discord:Nathan#9546
If you see this please respond I need help ):
I don't have discord :(
And the tool is the tool you want to give the player '-' If it is on the ServerStorage use: game.ServerStorage["TOOL NAME"]
Yes but do I need to put handle or somethings?
I get the item but it looks like im holding the air how can i fix that?
What should I do?
No, you don't put the handle and to make the player correctly hold the tool, you need to change some int on the tool part
No, you don't put the handle and to make the player correctly hold the tool, you need to change some int on the tool part