Answered by
7 years ago Edited 7 years ago
When you use instance.new
, you are creating a new instance (Ex.Part, Sound). You need to use :clone()
instead. Here is what your script should look like:
1 | local damagingball = game.ServerStorage.damagingball |
2 | local shootsstuff = game.ServerStorage.shootsstuff:clone() |
3 | shootsstuff.Position = game.Players.LocalPlayer.Character.Torso.Position |
Note: This only makes the part's location to the player's torso position once. If they move, the part will stay where it originally was. You'll need to weld or attach it to the player's torso if you want to have it move with them.
Hope this helps!