Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local part = Instance.new("Part", game.Players.LocalPlayer.Character)
- part.CanCollide = false
- part.Size = Vector3.new(2,2,2)
- part.Anchored = true
- local mesh = Instance.new("SpecialMesh", part)
- mesh.MeshId = "rbxassetid://453515873"
- mesh.TextureId = "rbxassetid://453515908"
- mesh.Scale = Vector3.new(0.5,0.5,0.5)
- local part2 = Instance.new("Part", game.Players.LocalPlayer.Character)
- part2.CanCollide = false
- part2.Size = Vector3.new(2,2,2)
- part2.Anchored = true
- local mesh2 = Instance.new("SpecialMesh", part2)
- mesh2.MeshId = "rbxassetid://453515873"
- mesh2.TextureId = "rbxassetid://907822528"
- mesh2.Scale = Vector3.new(0.05,0.05,0.05)
- local merc = Instance.new("Part", game.Players.LocalPlayer.Character)
- merc.CanCollide = false
- merc.Size = Vector3.new(2,2,2)
- merc.Anchored = true
- local mercmesh = Instance.new("SpecialMesh", merc)
- mercmesh.MeshId = "rbxassetid://453515873"
- mercmesh.TextureId = "rbxassetid://391772353"
- mercmesh.Scale = Vector3.new(0.1,0.1,0.1)
- local ven = Instance.new("Part", game.Players.LocalPlayer.Character)
- ven.CanCollide = false
- ven.Size = Vector3.new(2,2,2)
- ven.Anchored = true
- local venmesh = Instance.new("SpecialMesh", ven)
- venmesh.MeshId = "rbxassetid://453515873"
- venmesh.TextureId = "rbxassetid://907839353"
- venmesh.Scale = Vector3.new(0.4,0.4,0.4)
- local mars = Instance.new("Part", game.Players.LocalPlayer.Character)
- mars.CanCollide = false
- mars.Size = Vector3.new(2,2,2)
- mars.Anchored = true
- local marsmesh = Instance.new("SpecialMesh", mars)
- marsmesh.MeshId = "rbxassetid://453515873"
- marsmesh.TextureId = "rbxassetid://907843446"
- marsmesh.Scale = Vector3.new(0.3,0.3,0.3)
- local jup = Instance.new("Part", game.Players.LocalPlayer.Character)
- jup.CanCollide = false
- jup.Size = Vector3.new(2,2,2)
- jup.Anchored = true
- local jupmesh = Instance.new("SpecialMesh", jup)
- jupmesh.MeshId = "rbxassetid://453515873"
- jupmesh.TextureId = "rbxassetid://907848117"
- jupmesh.Scale = Vector3.new(4,4,4)
- local sat = Instance.new("Part", game.Players.LocalPlayer.Character)
- sat.CanCollide = false
- sat.Size = Vector3.new(2,2,2)
- sat.Anchored = true
- local satmesh = Instance.new("SpecialMesh", sat)
- satmesh.MeshId = "rbxassetid://453515873"
- satmesh.TextureId = "rbxassetid://363611891"
- satmesh.Scale = Vector3.new(3,3,3)
- local ura = Instance.new("Part", game.Players.LocalPlayer.Character)
- ura.CanCollide = false
- ura.Size = Vector3.new(2,2,2)
- ura.Anchored = true
- ura.BrickColor = BrickColor.new("Cyan")
- local uramesh = Instance.new("SpecialMesh", ura)
- uramesh.MeshId = "rbxassetid://453515873"
- uramesh.Scale = Vector3.new(1.4,1.4,1.4)
- local nep = Instance.new("Part", game.Players.LocalPlayer.Character)
- nep.CanCollide = false
- nep.Size = Vector3.new(2,2,2)
- nep.Anchored = true
- nep.BrickColor = BrickColor.new("Dark blue")
- local nepmesh = Instance.new("SpecialMesh", nep)
- nepmesh.MeshId = "rbxassetid://453515873"
- nepmesh.Scale = Vector3.new(1,1,1)
- local dei = Instance.new("Part", game.Players.LocalPlayer.Character)
- dei.CanCollide = false
- dei.Size = Vector3.new(2,2,2)
- dei.Anchored = true
- local deimesh = Instance.new("SpecialMesh", dei)
- deimesh.MeshId = "rbxassetid://1290033"
- deimesh.TextureId = "rbxassetid://20588331"
- deimesh.Scale = Vector3.new(0.025,0.025,0.025)
- local pho = Instance.new("Part", game.Players.LocalPlayer.Character)
- pho.CanCollide = false
- pho.Size = Vector3.new(2,2,2)
- pho.Anchored = true
- local phomesh = Instance.new("SpecialMesh", pho)
- phomesh.MeshId = "rbxassetid://1290033"
- phomesh.TextureId = "rbxassetid://20588331"
- phomesh.Scale = Vector3.new(0.025,0.025,0.025)
- local gany = Instance.new("Part", game.Players.LocalPlayer.Character)
- gany.CanCollide = false
- gany.Size = Vector3.new(2,2,2)
- gany.Anchored = true
- local ganymesh = Instance.new("SpecialMesh", gany)
- ganymesh.MeshId = "rbxassetid://453515873"
- ganymesh.TextureId = "rbxassetid://20588331"
- ganymesh.Scale = Vector3.new(0.1,0.1,0.1)
- local titan = Instance.new("Part", game.Players.LocalPlayer.Character)
- titan.CanCollide = false
- titan.Size = Vector3.new(2,2,2)
- titan.Anchored = true
- titan.BrickColor = BrickColor.new("Bright orange")
- local titanmesh = Instance.new("SpecialMesh", titan)
- titanmesh.MeshId = "rbxassetid://453515873"
- titanmesh.Scale = Vector3.new(0.08,0.08,0.08)
- local ring = Instance.new("Part", game.Players.LocalPlayer.Character)
- ring.CanCollide = false
- ring.Size = Vector3.new(10,1,10)
- ring.Anchored = true
- ring.Transparency = 1
- ring.Name="SaturnRing"
- local decal = Instance.new("Decal", ring)
- decal.Face = "Top"
- decal.Texture = "rbxassetid://423084632"
- local decal2 = Instance.new("Decal", ring)
- decal2.Face = "Bottom"
- decal2.Texture = "rbxassetid://423084632"
- local music = Instance.new("Sound", game.Players.LocalPlayer.Character)
- music.SoundId = "rbxassetid://652740839"
- music.Looped = true
- music.Volume = math.huge
- music:Play()
- game.Players.LocalPlayer.Character.Head.Transparency = 1
- game.Players.LocalPlayer.Character.Torso.Transparency = 1
- game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1
- game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1
- game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
- game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
- wait(2)
- --Earth--
- Player = game.Players.LocalPlayer
- Character = Player.Character
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = part
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Earth"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --Mercury--
- local txt = Instance.new("BillboardGui", merc)
- txt.Adornee = merc
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Mercury"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --venus--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = ven
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Venus"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --mars--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = mars
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Mars"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --jupiter--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = jup
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Jupiter"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --saturn--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = sat
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Saturn"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --uranus--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = ura
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Uranus"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --neptune--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = nep
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Neptune"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --moon--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = part2
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Luna(Moon)"
- text.TextColor3 = Color3.new(255,255,255)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --phobos--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = pho
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Phobos"
- text.TextColor3 = Color3.new(255,255,255)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --deimos--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = dei
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Deimos"
- text.TextColor3 = Color3.new(255,255,255)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --ganymede--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = gany
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Ganymede"
- text.TextColor3 = Color3.new(255,255,255)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- --titan--
- local txt = Instance.new("BillboardGui", part)
- txt.Adornee = titan
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 2, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.Text = "Titan"
- text.TextColor3 = Color3.new(255,255,255)
- text.TextStrokeColor3 = Color3.new(0,0,0)
- i = 0
- dist = 9
- spd = 0.005
- angle = 0--how far the planet is tilted in it's orbit.
- while true do
- i=i+1
- wait()
- part.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.005,0)*CFrame.new(0,0,6)
- part2.CFrame = part.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.1,0)*CFrame.new(0,0,1)
- merc.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.25,0)*CFrame.new(0,0,2)
- ven.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.05,0)*CFrame.new(0,0,4)
- mars.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.0025,0)*CFrame.new(0,0,8)
- jup.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.0005,0)*CFrame.new(0,0,16)
- sat.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.00025,0)*CFrame.new(0,0,32)
- ura.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.0001,0)*CFrame.new(0,0,40)
- nep.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.00005,0)*CFrame.new(0,0,48)
- dei.CFrame = mars.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.05,0)*CFrame.new(0,0,1)
- pho.CFrame = mars.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.01,0)*CFrame.new(0,0,2)
- gany.CFrame = jup.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.05,0)*CFrame.new(0,0,8)
- titan.CFrame = sat.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.05,0)*CFrame.new(0,0,6)
- ring.CFrame = sat.CFrame*CFrame.fromEulerAnglesXYZ(angle,i*0.05,0)*CFrame.new(0,0,0)
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.className == "Accessory" then
- v:Remove()
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Character.Head:GetChildren()) do
- if v.className == "Decal" then
- v:Remove()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement