Whenever I try to send an object that was cloned in the server to the client via a remote event, it returns as nil.
Client:
Server:
Output:
Whenever I try to send an object that was cloned in the server to the client via a remote event, it returns as nil.
Client:
Server:
Output:
The following topic may interest you:
The quick answer if you’re lazy to read it is the following:
--your code
task.wait(1) --assuming the average client has 1k ping for some reason
rs.promptevent:FireClient(p1, proximityprompt, p1)
print(proximityprompt.Name)
--rest of your code
Why not just clone the proximity prompt with a script inside already detecting when another player has pressed it, hiding it for the owner of the player, and start doing the rest of whatever you wanted from there
Because from what I’ve heard, the triggered event is clientside, and localscripts can’t be run from the workspace. (Please correct me if thats wrong)
My bad, your solution was correct.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.