How do I put a username of a player that touched a part in a string. This is my attempt, but there is no error and it doesn't work. Btw I am working on an admin pad (kohls).
game.Workspace.AdminPad.Touched:Connect(function(hit)
local player = hit.Parent.Name
local str1 = [["]]
local Owners={} local SuperAdmins={}
local Admins={}
local Mods={str1..player..str1}
local VIP={}
end)

4 comments
Note: This is not a full script, this is a part of settings script of Kohls infinite admin
I don't quite understand your goal here, could you rephrase? Side-note: you can actually retrieve the PlayerInstance through the GetPlayerFromCharacter method of the Players Service; simply pass hit.Parent as the argument.
I want to put people who touch the pad get moderator
Make a folder for the mods with string values I can't remember what the script would be but that should get you somewhere