Hey, another question for today.
I am trying to get the text of a textbox.
As test, I try to print the text that was put in.
But always, nothing gets printed, just an empty space.
I dont know how to fix that, since I dont find any other Option that gives the input of the TextBox.
Thats the script.
local player = script.Parent.Parent.PlayerName.Text
local coins = script.Parent.Parent.CoinsAmount.Text
local CoinChange = game.ReplicatedStorage.CoinChange
script.Parent.MouseButton1Click:Connect(function()
workspace.CoinChange.Coins.Value = coins
workspace.CoinChange.Player.Value = player
print(workspace.CoinChange.Coins.Value)
print(coins)
CoinChange:FireServer(coins, player)
end)

3 comments
Thanks, works great!
But I do have one question now, can I put the Value in a :FireServer()? Because that doesnt really work.
I dont believe you can put the value in a fire server.