Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make lighting change ONLY for that person?

How do you make lighting change ONLY for that person? Like Bloom, blur, skybox ETC. BTW script is Localscript and is in StarterGUI

local function onTouched(hit) 
	game.Lighting.Sky.SkyboxBk = "rbxassetid://133184290"
	game.Lighting.Sky.SkyboxDn = "rbxassetid://133184311"
	game.Lighting.Sky.SkyboxFt = "rbxassetid://133184318"
	game.Lighting.Sky.SkyboxLf = "rbxassetid://133184299"
	game.Lighting.Sky.SkyboxRt = "rbxassetid://133184333"
	game.Lighting.Sky.SkyboxUp = "rbxassetid://133184341"
	game.Lighting.Ambient = Color3.new(165/255, 165/255, 165/255)
	game.Lighting.OutdoorAmbient = Color3.new(0/255, 0/255, 0/255)
	game.Lighting.Blur.Size = 0

end 
workspace.Part.Touched:Connect(onTouched)

1 answer

✓ Accepted answer

You can make a seperate serverside script that copies that script onto that person's PlayerGui

since if you put it in StarterGui, then that script will be replicated onto all player that joined the game everytime their character spawn

3 comments

0

Like putting it in StarterPlayer?

0

no? i said make a script that copies the lighting script onto the PlayerGui of that specific person, putting it on starter player will replicate that script onto all players that joined the game

0

oh. alright

This discussion is preserved as it was. New answers, comments, and votes are closed.