I have this one piece game and im using dev console in game to give my self a fruit but whenever i use this script game.ReplicatedStorage.FolderChange:FireServer("llBreezyll", "DevilFruit", "Flame") it says "fire server can only be called from the client". what do i do? please help
COMMUNITY QUESTION
I'm using this script and it says fire server can only be called from the client?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

14 comments
:FireServer() HAS to be in LOCAL script, NOT a SERVER script.
So what would i have to do to give my self the fruit?
if you you sending messages from server to player use :FireClient() or :FireAllClients()
http://wiki.roblox.com/index.php?title=API:Class/RemoteEvent/FireClient
use .OnClientEvent in the localscript
I'm new to this so i really don't understand most of this mind making this script work? game.ReplicatedStorage.FolderChange:FireServer("YourName", "DevilFruit", "DevilFruitYouWant")
please edit your question with all your scripts so I can help
?
I just need help with this script game.ReplicatedStorage.FolderChange:FireServer("llBreezyll", "DevilFruit", "Virus")
game.ReplicatedStorage.FolderChange:FireClient(llBreezyll, "DevilFruit", "Virus")
it says fireclient must be a player object
Oh you didn't put in the quotation marks but now it says unable to cast value to object
if you got a connect function then do: thing:Connect(function(targetplayer) game.ReplicatedStorage.FolderChange:FireClient(targetplayer, "DevilFruit", "Virus") end)
it says console error 2 syntax error near