Advertisement
DaveLard707

Mascote

Jan 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. wait(2)
  3. local part = Instance.new('Part', workspace[plr.Name].Torso)
  4. part.CanCollide = false
  5. part.Anchored = true
  6. part.Size = Vector3.new(1,1,1)
  7. local mesh = game.ReplicatedStorage.DogeMesh -- Change DogeMesh to the name of your mesh
  8. mesh:Clone().Parent = part
  9. local direction = CFrame.new(part.Position, plr.Character['Left Leg'].Position).lookVector
  10. local increment = direction * 4
  11. while true do
  12.     wait()
  13.     part.CFrame = game.Workspace[plr.Name]['Torso'].CFrame + (direction * increment) + Vector3.new(-5,0,0)
  14.     part.Rotation = game.Workspace[plr.Name]['Torso'].Rotation + (direction * increment) + Vector3.new(-1,-2,increment)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement