Currently what I have.
function onTouched(hit)
local character = hit.Parent
if character and character:findFirstChild("Humanoid") then
local b = Instance.new("BodyPosition")
b.position = Vector3.new(-34.5, 3.35, 13.125)
b.maxForce = Vector3.new(500000000, 500000000, 500000000)
b.Parent = character.Torso
wait(1)
b.Parent = nil
end
end
script.Parent.Touched:connect(onTouched)
How do I add a specific animation that I've made while the player is moving to that position?
