Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local p = Instance.new("Part", workspace)
- p.Size = Vector3.new(30,0.5,30)
- p.Anchored = true
- p.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0,15,0)
- plr.Character:MoveTo(p.Position + Vector3.new(0,1,0))
- while p.Parent do
- wait(1)
- if (plr.Character.HumanoidRootPart.Position - p.Position).magnitude > 20 then
- p:Destroy()
- end
- end
Add Comment
Please, Sign In to add comment