So basically, when somebody clicks a textbutton, I want it to clone a dance floor from serverstorage and make a red-tinted screen. This should be on the server, I don't want it to be on one client. Here is the script I put below inside the textbutton (in a ServerScript)
function onClicked()
game.ServerStorage.DanceFloor:clone().Parent = workspace
local color = Instance.new('ColorCorrectionEffect', game.Lighting)
color.TintColor = Color3.fromRGB(255, 172, 172)
end
script.Parent.MouseButton1Down:connect(onClicked)
In studio, it works. But in the game, it doesn't. I know most guis are powered from LocalScripts, but this is supposed to affect everyone so I tried a regular Script. What did I do wrong? How can I fix this?

3 comments
If it's local it won't be able to access ServerStorage
I know, I moved it to ReplicatedStorage
That too, lol, can't believe I didn't notice that. Thanks