Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't this work????

Asked by 8 years ago
wait(1)
Char = script.Parent.Parent
function onTouch(hit)
b = Instance.new("BodyPosition")
b.Parent = Char.Character.Torso
b.Position = Vector3.new(0,11.36,0)

b.MaxForce = Vector3.new(0,9000,0)
game.Workspace.Part.TouchEnded:connect(function()
b.Position = Vector3.new(0,11.36,0)
b.MaxForce = Vector3.new(0,0,0)
end)
end

game.Workspace.Part.Touched:connect(onTouch)
-- when I touch the part in workspace It makes like 10 bodypositions and puts it in my torso how do I only make it put 1 in my torso?
0
I created a script for this, if you'd check your previous question. Please be patent for an answer. And if the answerer seems right, click on the 'Accept Answer' button, it supplies both a reputation for the answerer and the user providing the question. rexbit 707 — 8y
0
thanks i'm really grateful Clakker200 5 — 8y

Answer this question