Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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)

script.Parent.Equipped:Connect(function()
	Equipped = true
	game.ReplicatedStorage.ChangeCursor:FireClient(Player, "1776629404")
	
end)

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

1 answer

\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

1 comment

1

If your question is sovled, edit your question title to include "[SOLVED]".

This discussion is preserved as it was. New answers, comments, and votes are closed.