i have a gui
when i equip a weapon, i need the name to show there, i tried a few different scripts
(even changing the weapon name when equipped to see if it worked (that did) )
but i cant figure out how to get the weapon name to show in the gui
well i tried a different approach \
still didnt work
local tool = script.Parent local Name = game.Players.LocalPlayer.PlayerGui.ScreenGui.AttackStyles.ImageLabel.WeaponName function onEquip(mouse) Name.Text = tool.Name
this is a script inside the tool itself. piece of the script i didnt post changes a gui already