Advertisement
princeofheaven

Untitled

Sep 26th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. PLAYER=game.Players['PrinceOfHeaven']
  2.  
  3. Tablets={};
  4.  
  5. function Output(Text, Func, PLAYER, Color)
  6. local prt=Instance.new("Part",workspace)
  7. prt.CanCollide=false;
  8. prt.Anchored=true;
  9. prt.Locked=true;
  10. prt.Name="Tablets"
  11. prt.Transparency=0.2;
  12. prt.TopSurface='Smooth'
  13. prt.BottomSurface='Smooth'
  14. prt.BrickColor=BrickColor.new"Deep orange"
  15. prt.Size=Vector3.new(2,2,2)
  16.  
  17. local bbg = Instance.new("BillboardGui",prt)
  18. bbg.Size=UDim2.new(100, 56, 98)
  19. bbg.Adornee=prt;
  20. bbg.StudsOffset=Vector3.new(0, 1, 0)
  21. bbg.SizeOffset=Vector2.new(0, 2, 0)
  22.  
  23. local sb = Instance.new("SelectionBox",prt)
  24. sb.Transparency=0.2;
  25. sb.Adornee=prt;
  26. sb.Color=BrickColor.new"Deep orange"
  27.  
  28. local tl = Instance.new("TextLabel",bbg)
  29. tl.Font="ArialBold"
  30. tl.FontSize="Size24"
  31. tl.Text=""
  32. tl.TextStrokeTransparency=0.2;
  33. tl.TextStrokeColor=Colo3.new(255,255,255)
  34. end;
  35.  
  36.  
  37.  
  38. local rot = 0
  39. coroutine.wrap(function()
  40. game:GetService("RunService").Heartbeat:connect(function()
  41. if PLAYER.Character:findfirstChild("Torso")then
  42. rot = rot + 0.555555
  43. for i,v in pairs(Tablets)do
  44. pcall(function()
  45. local pos = PLAYER.Character.Torso.CFrame
  46. end)
  47. x = math.sin((i/ #Tablets - (0.5 / #Tablets) + rot * 2) * math.pi * 2) * radius
  48. z = 0.5
  49. y = math.cos((i / #Tablets - (0.5/ #Tablets) + rot * 2) * math.pi * 2) * radius
  50. local arot = Vector3.new(x,y,z) + pos.p
  51. local brot = v.CFrame.p
  52. local crot = (arot * .1 + brot * 0.10)
  53. v.CFrame = CFrame.new(crot, pos.p)
  54. end
  55. end
  56. end)
  57. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement