These are in local scripts, in either StarterPlayerScripts or StarterGui
I've published this game many times over itself as a new place. I've disabled and re-enabled filtering enabling so many times and published, and I have some scripts that show that this is the case. I know with filtering enabled on, client side & server side things work differently, and for my case this particular script changes the lighting and sound for a each individual player. However when somebody 'triggers' the lighting and sound, it plays on the server, and everyone can hear it. I tried using remote events, and it hasn't changed. Oh yeah the lighting is also server sided for some reason. If somebody could let me know what's poppin I would appreciate it :D
if hit.Parent:FindFirstChild("Humanoid") then
for i = 1,1 do
local partsInRegion = workspace:FindPartsInRegion3(region, nil, 500)
for i, part in pairs(partsInRegion) do
if part.Parent:FindFirstChild("Humanoid") ~= nil then
found = true
end
if found == true then
touched = true
local Players = game:GetService("Players")
if debounce == false then
debounce = true
remote:FireServer()
game.Lighting.Brightness = .7
game.Lighting.Blur.Size = 7
game.Lighting.FogEnd = 500
game.Lighting.FogStart = 0
game.Lighting.FogColor = Color3.fromRGB(255, 255, 255)

12 comments
Are you sure you are using only LocalScripts? Also please try providing a Scriptcode.
You said you tried using RemoteEvents to try making it client-sided?
I will update this with some code soon. Also, yes I did try using remote events to attempt making it client sided, but no luck.
so uh. i use remote events to talk back to the client. i would just have to define the player through a function first. Event:FireClient(Player)
also all of the lighting changes take place in a local script
i just use the server scripts to replicate a sound
and then it fires it back to the local script which will then find the sound in the startergui / starterplayerscripts and play it
the thing is i only had to do all that because a simple local script playing sound to the local player didnt work. like what idk
woopsy, ok will look into it
is that a localscript?
yeah, that code block is from a local script
ok im gonna put an answer and tell me if it works