Still have questions? Join our Discord server and get real time help.
Log in to vote

[SOLVED]Calling client from server works in studio, But not in the actual server?

Asked by 4 months ago
Edited 4 months ago

I know about filtering enabled and I've done most of this right, But for some reason whenever I call a remote event/function from the server to the client, It works in studio but when I go into the server and do the same thing, It says that it has to be a player object.

local Players = game:GetService("Players"):FindFirstChild(Tool.Parent.Name)

    Equipped = true
    game.ReplicatedStorage.ChangeCursor:FireClient(Player, "1776629404")


I've tried using playerfromcharacter, Just getting the name. It still didn't work.

1 answer

Log in to vote
Answered by 4 months ago

\I'm such an idiot, It was setting the player as the backpack because that part of the script loaded before you pulled it out. FacePalm

If your question is sovled, edit your question title to include "[SOLVED]". RAYAN1565 691 — 4mo

Answer this question