now it is a RemoteEvent that changes the value.
but i want it To print is Username in a textbox? true/false
game.Players.PlayerAdded:Connect(function(plr)
plr:WaitForChild("IsPlayerTextbox"):GetPropertyChangedSignal("Value"):Connect(function()
print("is "..plr.."in a textbox? ", (plr:WaitForChild("IsPlayerTextbox").Value))
end)
end)
ServerScriptService.Script:3: attempt to concatenate Instance with string
i did not not use “…” i used “,” instead? i did not actually type three dots but that’s how the posts appear.
Just Edit line 3 that contains the printing stuff to this:
print("is "..plr.Name.."in a textbox? "..plr:WaitForChild("IsPlayerTextbox").Value)
1 Like
game.Players.PlayerAdded:Connect(function(plr)
plr:WaitForChild("IsPlayerTextbox"):GetPropertyChangedSignal("Value"):Connect(function()
print(tostring("is "..plr.Name.."in a textbox?\n"..plr:WaitForChild("IsPlayerTextbox").Value))
end)
end)
Print statements can’t use commas, if you’d like 2 prints, make another print statement.
I believe you’d like the players name for that too, you were printing the player before. 
Cronoaix
(Crono)
5
I believe you meant to write plr.Name instead of just the player instance.
print("is "..plr.Name.." in a textbox? "
1 Like
there is more than one reply i can mark as solution.