sword.Value = itemName.Text print(sword.Value) print(itemName.Text)
This code sets the players sword.Value
to whatever the itemName.Text
is. Now for some reason, whenever I fire this code in a roblox game (NOT FROM STUDIO/PLAY SOLO) it prints 'Claymore' and 'Claymore' but when I go into the console and type 'print(game.Players.NinjoOnline.PlayerFolder.Sword.Value)' it still just prints 'Sword'
By default, sword.Value is 'Sword' but I'm changing what its value is, yet it refuses to change. Could this be because of filtering enabled? I tried to put this code in a LocalScript, doesnt working, tried using a RemoteEvent to the server, still doesn't work. I'm stumped as to why it doesn't work.