I've been trying to make an admin commands menu, where when you type a player's username into a TextBox and click an action then that player will receive it. I'm a starter scripter and really don't know what I'm doing or if I'm even wording this right. Thank you for reading!
local player = game.Players.LocalPlayer
local Username = script.Parent
if Username.Text == player.Name then
local tool = game.ServerStorage.GrenadeLauncher:Clone()
tool.Parent = player.Backpack
end

4 comments
Sorry, if my script is confusing to people who are better than me. It didn't work in game when I tested it.
um
What is username?
It says it in the question, but Zvtu. Why?