Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change the sun to a player?

Asked by
MattVSNNL 620 Moderation Voter
3 years ago

I'm making a button and when you press It the player that pressed will be the sun or their picture?

1 answer

Log in to vote
0
Answered by
A_Mp5 222 Moderation Voter
3 years ago

well? I mean, what do you mean? 1. a Day night cycle, this may take some time 2. Sunrays.

--sunrays
--make this a local script
local sunrays = game.Lighting
sunrays. -- whatever, just change the properties

3.Texture

--texture
--make this local script
local sundecal = game.Lighting.Sky.SunTextTureid -- or whatever that property is
sundecal. --change the properties
0
I mean like Press a button and the person that pressed that button there profile becuase the sun MattVSNNL 620 — 3y
0
????????????????????? A_Mp5 222 — 3y
0
The player who pushes the UI button there profile picture will become the sun MattVSNNL 620 — 3y
Ad

Answer this question