Anyone know how to do this?
You hit a brick with a touch event. It makes the player freeze and plays a animation moving them up or down
chr = game.Players.LocalPlayer.Character hum = chr.Humanoid game.Workspace.Part.Touched:connect(function() -- hit the brick playAnimation = hum:LoadAnimation(game.Workspace.Animation) hum.WalkSpeed = 0 wait(0.05) playAnimation:Play() -- Plays the animation