Hi this kick tool work only in studio idk how to fix this I tried some ways but i have this same problem, this is animation with moving the anotherplayer kicked, i need help
local debris = game:service("Debris")
Go = false
Kick = false
script.Parent.Selected:connect(function(m)
m.Button1Down:connect(function()
if Go == true then return end
Go = true
if script.Parent.Parent.Parent.Character == nil then return end
if script.Parent.Parent.Parent.Character:findFirstChild("Torso") == nil then return end
if script.Parent.Parent.Parent.Character:findFirstChild("Right Leg") == nil then return end
Torso = script.Parent.Parent.Parent.Character.Torso
RL = script.Parent.Parent.Parent.Character["Right Leg"]
Hip = Torso["Right Hip"]
Hip.Part1 = nil
W = Instance.new("Weld")
W.Parent = RL
W.Part0 = Torso
W.Part1 = RL
W.C0 = CFrame.new(0.5,-1.5,0.5) * CFrame.fromEulerAnglesXYZ(-math.pi/4,0,0)
wait(0.5)
Kick = true
W.C0 = CFrame.new(0.5,-1.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.pi/6,0,0)
RL.Touched:connect(function(hit)
if Kick == false then return end
if hit.Locked == true or hit.Anchored == true then return end
F = Instance.new("BodyVelocity")
F.Parent = hit
F.velocity = RL.CFrame.lookVector * 98
F.maxForce = Vector3.new(1e+006,35,1e+006)
debris:AddItem(F,0.5)
end)
wait(0.5)
Kick = false
W:Remove()
Hip.Part1 = RL
Go = false
end)
end)

6 comments
I do not think it is FE compatible.
Please properly indent your code!
Also, instead of using script.Parent.Parent.Parent a million times, why don't you create a variable?
HopperBins are deprecated. This isn't 2014!
Instead of using
Tool.Selected, useTool.EquippedMany things wrong with this code, seems like a free model to me heck ! But some many deprecated members of services, and like they said, it's obviously a FE(Filter Enabled) problem .