Why am I being teleported when I use my tool?

  1. What do you want to achieve? A working shuriken

2.What is the issue? My tool works but when used it teleports me into the ground.

  1. What solutions have you tried so far? Tweaking the code and dev forum

I have made a shuriken using the code below it works but teleports me why? Please help ASAP

local Debris = game:GetService(“Debris”)
local debounce = true

script.Parent.Activated:Connect(function()
if debounce then
debounce = false
local StartingShurikinAmmo = game.ServerStorage.StartingShurikinAmmo:Clone()
StartingShurikinAmmo.Owner.Value = script.Parent.Parent.Name
StartingShurikinAmmo.Damage.Value = script.Parent.Damage.Value
StartingShurikinAmmo.CFrame = CFrame.new(script.Parent.Handle.Position)
StartingShurikinAmmo.BodyVelocity.Velocity = script.Parent.Parent.HumanoidRootPart.CFrame.LookVector * script.Parent.Speed.Value
StartingShurikinAmmo.Parent = game.Workspace
Debris:AddItem(StartingShurikinAmmo, 5)
wait(script.Parent.CoolDown.Value)
debounce = true
end
end)

unAnchor all your tool parts
i hope this works

1 Like

@Qin2007 this didn’t work please help me.

Can you provide screen shots of what happens when you get teleported? :slight_smile:

Maybe…
A. Make Sure There is a Part called “Handle”
B. Make Sure There are no welds to the other objects other than the tool itself!
C.Try welding every part of your tool to parts inside the tool or 1 part!
D. Make Sure its unanchored
E. Maybe try CanCollide off
I had this problem before, I got it fixed, I just forgot how ;-; Sorry, Hope this helps!

1 Like


This happens when I fire the tool.

Did you name the tool Handle?
Also, make sure all the parts in the weapon are un-anchored.

It was cancollide I needed to turn that off.

1 Like