I’ve been having an issue with FireClient right now I’m trying to make the prompt run something on the client but I can’t, right now it’s simple and just a print for the client and it doesn’t go through at all.
:FireClient(plyr) the prompt can pick up the player, but it doesn’t pick it up on the local script remote.OnClientEvent. I really don’t get it I’ve seen many tutorials please help.
What does your code look like?
1 Like
-- this is the server/prompt
script.Parent.ProximityPrompt.TriggerEnded:Connect(function(plyr)
print("ranserver")
-- game.ReplicatedStorage.Gears.Flashlight:Clone().Parent = plyr.Backpack
script.Parent.RemoteEvent:FireClient(plyr)
end)
-- local script
script.Parent.RemoteEvent.OnClientEvent:Connect(function(plyr)
print("ran")
end)
Yes it was in the workspace, thank you very much!