So, ive been trying to figure out how to make something like a servery, but i can't seem to figure out how to send a message to the server once they press submit (its at the end of final question)
heres my code:
local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() script.Parent.Text = "Sent! You may now exit the game." local line = "Hello! My username is "..script.Parent.Parent.Parent.Parent.Name.." and I want to apply to be a "..script.Parent.Parent.Parent.Second.Reply.Text..". The reason I want this rank, is "..script.Parent.Parent.Parent.Third.Reply.Text..". What I would do with this rank, is "..script.Parent.Parent.Parent.Forth.Reply.Text..". Do I have any experience like this and if so who? Well, "..script.Parent.Parent.Parent.Fifth.Reply.Text..". Thank you for your time!" print(line) game.Players.LocalPlayer.Msg.Value = line -- idk why this is here lol game.ReplicatedStorage.Send:FireServer(line) end)
Whats wrong with my code?