Advertisement
IMAKESCRIPTSATSCHOOL

Find specific player through textbox

Feb 8th, 2022
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local players = game:GetService("Players") --Gets player service.
  2. local text = "a"   -- Put where to find the text here, example: script.Parent.Parent.TextBox.Text
  3. local plr = players:FindFirstChild(text) -- Locates player.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement