Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By MrRobloxTutorialsGo
- -- Only Supports R6
- function Lerp(a, b, t)
- return a + (b - a) * t
- end
- local Speed = 0.1
- print("Please wait...")
- wait(3)
- print("Loading!")
- local Creator = "MrRobloxTutorialsGo" -- Change this to your roblox username
- local VoiceSound1 = Instance.new("Sound", game.Workspace)
- local Music = Instance.new("Sound", game.Workspace)
- local Sun = Instance.new("Part",game.Workspace)
- local PlayerModel = game.Workspace:WaitForChild(Creator)
- local PlayerHumanoid = PlayerModel:WaitForChild("Humanoid")
- local PlayerFromPlayers = game.Players:WaitForChild(PlayerModel.Name)
- local MouseFromPlayer = PlayerFromPlayers:GetMouse()
- VoiceSound1.SoundId = "rbxassetid://2878955642"
- Music.SoundId = "rbxassetid://4601301880"
- Music.Looped = true
- Sun.Size = Vector3.new(10,10,10)
- Sun.Anchored = true
- Sun.Material = Enum.Material.Neon
- Sun.BrickColor = BrickColor.new("New Yeller")
- Sun.Shape = "Ball"
- Sun.CanCollide = false
- Sun.CastShadow = false
- Music:Play()
- print("Succesfully loaded.")
- while wait() do
- Sun.Position = Vector3.new(Lerp(Sun.Position.X, PlayerModel:WaitForChild("Head").Position.X,Speed), Lerp(Sun.Position.Y, PlayerModel:WaitForChild("Head").Position.Y+15,Speed), Lerp(Sun.Position.Z, PlayerModel:WaitForChild("Head").Position.Z, Speed))
- end
Advertisement
Add Comment
Please, Sign In to add comment