Advertisement
sherlocknot

My orb

Feb 28th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. local LocalPlayer = game.Players.LocalPlayer
  2.  
  3. local Character = LocalPlayer.CharacterAdded:wait()
  4.  
  5. local Part = Instance.new("Part", workspace)
  6. Part.Size = Vector3.new(2,1,5)
  7. Part.CanCollide = false
  8. Part.Position = Character.Head.Position
  9. Part.Shape = 0
  10. Part.BrickColor = BrickColor.new("Bright red")
  11. Part.Transparency = .5
  12.  
  13. local BodyPosition = Instance.new("BodyPosition", Part)
  14.  
  15. Spawn(function()
  16. while Part and Part.Parent do -- While the part exists, do make it float
  17. BodyPosition.position = Character.Head.Position + Vector3.new(2, 1, 0) --Add a bit of distance
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement