I'm trying to make a sign that puts text on it after you type it into a GUI. The GUI comes up after the tool is equipped.
For some reason I am getting an error. I've added :WaitForChild() and repeat wait() until seeing if maybe it wasn't recognizing that its there.
17:22:36.263 - SignTool is not a valid member of Player
17:22:36.263 - Stack Begin
17:22:36.264 - Script 'ServerScriptService.Script', Line 3
17:22:36.265 - Stack End
LocalScript
local Message = script.Parent.Parent.TextBox
local Player = game.Players.LocalPlayer.Character
script.Parent.MouseButton1Click:connect(function()
game.ReplicatedStorage.ChangeText:FireServer(Player, Message)
end)
Script
game.ReplicatedStorage.ChangeText.OnServerEvent:connect(function(Player, Message)
Player.SignTool.Sign.SurfaceGui.TextLabel.Text = Message.Text
end)

1 comment
Thank you very much!