Advertisement
Guest User

Roblox magic carpet

a guest
Jul 17th, 2019
6,164
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 1
  1. local carpet = workspace.Carpet
  2. local User = game.Players.LocalPlayer
  3. while(true)do
  4.     pcall(function()
  5.         local torso = User.Character.HumanoidRootPart
  6.         local floatposition = torso.CFrame * CFrame.new(0,-3.25,0)
  7.         carpet.CFrame = floatposition
  8.     end)
  9.     wait()
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement