Advertisement
Jaden11

Tabs V2 ZeroGravity[Roblox]

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