my issue is firing a remote event to only one client. for me it the person with the weapon.
local remote = game.ReplicatedStorage:WaitForChild(“Indicator_Request”)
local player = game.Players.LocalPlayer
local function hitguy()
game.Lighting.Hit_effect.Brightness = 0
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = .1
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = .2
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = .3
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = .2
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = .1
task.wait(0.01666666666)
game.Lighting.Hit_effect.Brightness = 0
end
remote.OnServerEvent:Connect(hitguy)
im trying to achieve a screen effect when a player punches another player but it makes the screen effect visible to the whole server.