Hi, I'm trying to make it so I can put on the backpack I made once I click it
I know it would be an onClick function but everything else I don't know. Can anyone help?
May I remind you this is not a request site. But anyway! Here's what it'd look like:
1 | script.Parent.ClickDetector.MouseClick:connect( function (hit) |
2 | local Armour = game.ReplicatedStorage.Armor:Clone() |
3 | Armour.Parent = workspace |
4 | Armour.Position = hit.Character |
5 | --Armor Welding script would go here |
6 | end ) |