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

How do you disable Global Shadows in-game with a script using Kohl's Admin?

Trying to show someone something in-game but I don't want to keep having to update the server and have to go back.

I tried using :s

game.Lighting.GlobalShadows.Disabled = true

and

game.Lighting.GlobalShadows.Enabled = false

Is there a way that actually works? Because these don't.

1 comment

0

For future reference, you can ask how to do things with a command, as that is the proper terminology for that. :s is an admin command that acts like the Command bar in Studio.

3 answers

Actually, the script is as simple as this:

game.Lighting.GlobalShadows = false
game.Lighting.GlobalShadows = false

Use this if you would like to disable and enable GlobalShadows through the whole game.

But if you just don't want GlobalShadows at all, then open your lighting in Explorer and go to its properties and look for "GlobalShadows" and tick or untick the box.

Simples :D

If this helped, remember to Accept my answer and vote me up.

Thank you and have fun with all your scripting :D

if you want to script trough kohl's admin, you have to add :s

so you have to chat

:s game.Lighting.GlobalShadows = false

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