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?

2 comments

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.

0

thanks i'm really grateful