Whenever I pass something through with :FireServer(), it passes though my username and not the text I want it to.
:FireServer()
Here is my script:
local event = game.ReplicatedStorage:WaitForChild("ChangeShow") local box = script.Parent.Parent.box script.Parent.MouseButton1Click:Connect(function() event:FireServer(box.Text) end)
FireServer automatically gets the PLAYER that fired the event (not their username) as the FIRST parameter, in your script, the text will be the SECOND parameter in the OnServerEvent
OnServerEvent
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.