i made a script but its not working the thing that it is supposed to do is make the sun appear on click and make it look like its going to explode with sunrays effect
here is the script: it also dosent show anything on the output
script.Parent.ClickDetector.MouseClick:Connect(function()
print ("TheSunIsADeadlyLaser")
game.Lighting.Sky.CelestialBodiesShown = true
game.Lighting.SunRays.Enabled = true
game.StarterGui.EndGui.Message.Visible = true
game.StarterGui.EndGui.Message.Text = "Hey Can we go on land?"
game.StarterGui.EndGui.Message.Text = "NO"
game.StarterGui.EndGui.Message.Text = "why?"
game.StarterGui.EndGui.Message.Text = "THE SUN IS A DEADLY LASER"
game.StarterGui.EndGui.Whitee.Visible = true
end)
im also a beginner scripter

1 comment
it does anything?