Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Object = game:GetObjects("rbxassetid://13383663827")[1]
- Object.Name = "Lantern"
- Object.ToolTip = "A great medieval lightsource to go with!"
- Object.Parent = game.Players.LocalPlayer.Backpack
- Object:Clone().Parent = game.Players.LocalPlayer.StarterGear
- while task.wait() do
- for i = 1, 30 do
- for i, Light in pairs(Object.Light:GetChildren()) do
- if Light.ClassName == "PointLight" then
- Light.Brightness += 0.03
- end
- end
- task.wait(0.06)
- end
- for i = 1, 30 do
- for i, Light in pairs(Object.Light:GetChildren()) do
- if Light.ClassName == "PointLight" then
- Light.Brightness -= 0.03
- end
- end
- task.wait(0.06)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement