Advertisement
TheFlamingBlaster

tabs

Mar 5th, 2016
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. local tmodel = Instance.new("Model",game.Players.LocalPlayer.Character)
  2. function tab(tabmsg,action)
  3. if action == "none" then
  4. else
  5. action()
  6. end
  7. local part = Instance.new("Part",tmodel)
  8. local player = game.Players.LocalPlayer
  9. local character = player.Character
  10. local head = character:WaitForChild("Torso")
  11. local ttest = Instance.new("Part",tmodel)
  12. ttest.Anchored = true
  13. part.Size = Vector3.new(2,2,2)
  14. part.BrickColor = BrickColor.Random()
  15. part.Transparency = 1
  16. part.CanCollide = true
  17. part.Locked = true
  18. part.Anchored = true
  19. ttest.Size = Vector3.new(2,2,2)
  20. ttest.BrickColor = BrickColor.Random()
  21. ttest.Transparency = 0.75
  22. ttest.CanCollide = true
  23. ttest.Locked = true
  24. local i = 0
  25. local angle = 0
  26. local this = part
  27. local orbiting = head
  28. local dist = Vector3.new(0,0,12.5)
  29. local spd = 0.025
  30. local billgui = Instance.new("BillboardGui",part)
  31. local txt = Instance.new("TextLabel",billgui)
  32. txt.BackgroundTransparency = 1
  33. txt.Text = tabmsg
  34. txt.FontSize = Enum.FontSize.Size24
  35. txt.TextColor3 = Color3.new(128,128,128)
  36. txt.Size = UDim2.new(0,100,0,100)
  37. billgui.Size = UDim2.new(0,100,0,100)
  38. billgui.StudsOffset = Vector3.new(0,2,0)
  39. local clickd = Instance.new("ClickDetector",part)
  40. function onClicked(playerWhoClicked)
  41. if playerWhoClicked == player then
  42. part:Destroy()
  43. ttest:Destroy()
  44. end
  45. end
  46.  
  47. clickd.MouseClick:connect(onClicked)
  48. while true do
  49. local randompos = math.random()
  50. angle = angle + 360
  51. i=i+1
  52. local x = this.Position.X
  53. local y = this.Position.Y
  54. local z = this.Position.Z
  55. ttest.CFrame = this.CFrame
  56. this.CFrame = orbiting.CFrame*CFrame.fromEulerAnglesXYZ(0,i*spd,0)*CFrame.new(dist)
  57. wait(0.0001)
  58. end end
  59.  
  60. local player = game.Players.LocalPlayer
  61. function findPlayer(name)
  62. for _, player in pairs(game.Players:GetPlayers()) do
  63. if player.Name:lower() == name:lower() then
  64. return player
  65. end
  66. end
  67. end
  68.  
  69. function credits()
  70. local tabcoro = coroutine.create(tab("This version was made by: TheFlamingBlaster","none"))
  71. coroutine.resume(tabcoro)
  72. end
  73. player.Chatted:connect(function(msg)
  74. if msg:sub(1, 5) == "!tmsg" then
  75. local tabmsg = (msg:sub(7))
  76. local tabcoro = coroutine.create(tab(tabmsg,"none"))
  77. coroutine.resume(tabcoro)
  78. end
  79. if msg:sub(1, 5) == "!cred" then
  80. local tabmsg = (msg:sub(7))
  81. local tabcoro = coroutine.create(tab("credits",credits))
  82. coroutine.resume(tabcoro)
  83. end
  84. if msg:sub(1, 3) == "!dt" then
  85. tmodel:ClearAllChildren()
  86. end
  87. if msg == "!afk" then
  88. local tabcoro = coroutine.create(tab("AFK","none"))
  89. coroutine.resume(tabcoro)
  90. local tabcoro1 = coroutine.create(tab("Also AFK","none"))
  91. coroutine.resume(tabcoro1)
  92. local tabcoro2 = coroutine.create(tab("Still AFK","none"))
  93. coroutine.resume(tabcoro2)
  94. end
  95. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement