Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1.  
  2. local fidget = Instance.new('Part',game.Workspace)
  3. local r = 255
  4. local g = 0
  5. local b = 0
  6.  
  7. fidget.CanCollide = false
  8. fidget.Size = Vector3.new(0,0,0)
  9. fidget.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  10. local fidgetMesh = Instance.new('SpecialMesh',fidget)
  11. fidgetMesh.MeshId = "rbxassetid://785024366"
  12. fidgetMesh.Scale = Vector3.new(300,500,300)
  13. fidgetMesh.Offset = Vector3.new(0,0,-10)
  14. local fidgetDecal = Instance.new('Decal',fidget)
  15. fidgetDecal.Face = "Top"
  16. fidgetDecal.Texture = "rbxassetid://785492382"
  17. local bodyPos = Instance.new('BodyPosition',fidget)
  18. bodyPos.MaxForce = Vector3.new(9999999,9999999,999999)
  19. bodyPos.D = 1
  20. bodyPos.P = 5000
  21.  
  22.  
  23.  
  24.  
  25. local bg = Instance.new('BillboardGui',fidget)
  26. bg.Adornee = fidget
  27. bg.AlwaysOnTop = true
  28. bg.Size = UDim2.new(25,0,25,0)
  29. local t = Instance.new('TextLabel',bg)
  30. t.BackgroundTransparency = 1
  31. t.Font = "Cartoon"
  32. t.TextScaled = true
  33. t.Size = UDim2.new(2,0,2,0)
  34. t.Position = UDim2.new(-0.5,0,-0.5,0)
  35. t.TextStrokeTransparency = 0
  36. t.TextStrokeColor3 = Color3.new(0,0,0)
  37. t.Text = "FIDGET SPINNER GOD"
  38.  
  39.  
  40.  
  41.  
  42.  
  43. local a = 0
  44. while true do
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. repeat
  61. b = b + 5
  62. fidget.Color = Color3.new(r/255,g/255,b/255)
  63. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  64. if game.Players.LocalPlayer.Character ~= nil then
  65. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  66. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  67. end
  68. end
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76. if a <= 360 then
  77. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  78. a = a + 20
  79. else
  80. a = 0
  81. end
  82.  
  83.  
  84.  
  85.  
  86.  
  87. wait(0.001)
  88. until b >= 255
  89. repeat
  90. r = r - 5
  91. fidget.Color = Color3.new(r/255,g/255,b/255)
  92. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  93. if game.Players.LocalPlayer.Character ~= nil then
  94. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  95. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  96. end
  97. end
  98.  
  99.  
  100. if a <= 360 then
  101. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  102. a = a + 20
  103. else
  104. a = 0
  105. end
  106.  
  107. wait(0.001)
  108. until r <= 0
  109. repeat
  110. g = g + 5
  111. fidget.Color = Color3.new(r/255,g/255,b/255)
  112. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  113. if game.Players.LocalPlayer.Character ~= nil then
  114. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  115. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  116. end
  117. end
  118.  
  119.  
  120. if a <= 360 then
  121. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  122. a = a + 20
  123. else
  124. a = 0
  125. end
  126.  
  127.  
  128. wait(0.001)
  129. until g >= 255
  130. repeat
  131. b = b - 5
  132. fidget.Color = Color3.new(r/255,g/255,b/255)
  133. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  134. if game.Players.LocalPlayer.Character ~= nil then
  135. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  136. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  137. end
  138. end
  139.  
  140.  
  141. if a <= 360 then
  142. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  143. a = a + 20
  144. else
  145. a = 0
  146. end
  147.  
  148.  
  149.  
  150. wait(0.001)
  151. until b <= 0
  152. repeat
  153. r = r + 5
  154. fidget.Color = Color3.new(r/255,g/255,b/255)
  155. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  156. if game.Players.LocalPlayer.Character ~= nil then
  157. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  158. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  159. end
  160. end
  161.  
  162.  
  163. if a <= 360 then
  164. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  165. a = a + 20
  166. else
  167. a = 0
  168. end
  169.  
  170. wait(0.001)
  171. until r >= 255
  172. repeat
  173. g = g - 5
  174. fidget.Color = Color3.new(r/255,g/255,b/255)
  175. t.TextColor3 = Color3.new(r/400,g/400,b/400)
  176. if game.Players.LocalPlayer.Character ~= nil then
  177. if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
  178. bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
  179. end
  180. end
  181.  
  182.  
  183.  
  184.  
  185.  
  186. if a <= 360 then
  187. fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
  188. a = a + 20
  189. else
  190. a = 0
  191. end
  192.  
  193.  
  194. wait(0.001)
  195. until g <= 0
  196. r = 255
  197. g = 0
  198. b = 0
  199. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement