Hello, I'am getting an error "Event:FireClient(hit.Parent)" I'm not sure why It doesn't works since it passes a player variable, I've tried changing it up but it doesn't seem to help.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Event = game.ReplicatedStorage:WaitForChild("Event")
script.Parent.Touched:Connect(function(hit)
print("Hit")
if hit.Parent:FindFirstChild("Humanoid") then
print("Human Hit")
Event:FireClient(hit.Parent)
end
end)

2 comments
It probably from the hit.Parent part on line 7
Yes I said it.