Hello! I have been experiencing this annoying bug where I have A client script that sends the remote event to the server script but that just does not happen.
1 Like
Can you provide the client and server scripts?
local: script.Parent.MouseButton1Down:Connect(function() game.ReplicatedStorage.Give1Click:FireServer() end)
Server: script.Parent.OnServerEvent:Connect(function(plr) print("GAVE ONE CLICK") plr.leaderstats.Clicks.Value = plr.leaderstats.Clicks.Value + 1 end)
You canβt put server scripts in Replicated Storage, try moving it to ServerScriptService and changing script.Parent to game.ReplicatedStorage
1 Like
It worked Thanks! I did not know you could not put server scripts in replicated scripts, Well now I know!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.