Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local fidget = Instance.new('Part',game.Workspace)
- local r = 255
- local g = 0
- local b = 0
- fidget.CanCollide = false
- fidget.Size = Vector3.new(0,0,0)
- fidget.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- local fidgetMesh = Instance.new('SpecialMesh',fidget)
- fidgetMesh.MeshId = "rbxassetid://785024366"
- fidgetMesh.Scale = Vector3.new(300,500,300)
- fidgetMesh.Offset = Vector3.new(0,0,-10)
- local fidgetDecal = Instance.new('Decal',fidget)
- fidgetDecal.Face = "Top"
- fidgetDecal.Texture = "rbxassetid://785492382"
- local bodyPos = Instance.new('BodyPosition',fidget)
- bodyPos.MaxForce = Vector3.new(9999999,9999999,999999)
- bodyPos.D = 1
- bodyPos.P = 5000
- local bg = Instance.new('BillboardGui',fidget)
- bg.Adornee = fidget
- bg.AlwaysOnTop = true
- bg.Size = UDim2.new(25,0,25,0)
- local t = Instance.new('TextLabel',bg)
- t.BackgroundTransparency = 1
- t.Font = "Cartoon"
- t.TextScaled = true
- t.Size = UDim2.new(2,0,2,0)
- t.Position = UDim2.new(-0.5,0,-0.5,0)
- t.TextStrokeTransparency = 0
- t.TextStrokeColor3 = Color3.new(0,0,0)
- t.Text = "FIDGET SPINNER GOD"
- local a = 0
- while true do
- repeat
- b = b + 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until b >= 255
- repeat
- r = r - 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until r <= 0
- repeat
- g = g + 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until g >= 255
- repeat
- b = b - 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until b <= 0
- repeat
- r = r + 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until r >= 255
- repeat
- g = g - 5
- fidget.Color = Color3.new(r/255,g/255,b/255)
- t.TextColor3 = Color3.new(r/400,g/400,b/400)
- if game.Players.LocalPlayer.Character ~= nil then
- if game.Players.LocalPlayer.Character.PrimaryPart ~= nil then
- bodyPos.Position = game.Players.LocalPlayer.Character.PrimaryPart.Position
- end
- end
- if a <= 360 then
- fidget.CFrame=CFrame.new(fidget.Position)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(a),math.rad(0))
- a = a + 20
- else
- a = 0
- end
- wait(0.001)
- until g <= 0
- r = 255
- g = 0
- b = 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement