sorry for the "spam" as I've asked two questions in a short space of time, but I was wondering how I would define the Client in this script:
local disableControlsRE = game:GetService("ReplicatedStorage"):FindFirstChild("DisableControls")
local player = game.Players.LocalPlayer -- this is what I have currently, and it doesn't appear to firing the RemoteEvent
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
disableControlsRE:FireClient(player)
end
end)
The Output I got back was "FireClient : player argument must be a Player object" Can anyone please help?

1 comment
Is this a local or server script. You cant use LocalPlayer for serverscripts