How Can I Make Taser Work? [Working]
I tried to make taser but I failed 6 times. I really need your help.
If you script weapons then this would be easy for you.
I want to script taser that will make others platformstanding when clicked on them.
Not shooting but just clicking body part then searching for humanoid and make platformstanding to true.
What I did is this:
1 | local tool = script.Parent |
2 | tool.Equipped:connect( function (mouse) |
4 | mouse.Button 1 Down:connect( function () |
Now I am thinking:
Will it work if it will clone ball from server storage to selected position and then when ball will touch something it will be removed and find humanoid in hit.Parent
?
And using
1 | local xlscln = game.ServerStorage.TaserBullet:clone() |
2 | xlscln.Parent = game.Workspace |
3 | xlscln.Position = mouse.hit.p |
Yeah that's all I think?