How To Make A Owner Only Button In Roblox Studio!

preview_player
Показать описание
How To Make A Owner Only Gui/Button In Roblox Studio!
Thanks For Watching!
Local Script:
local player = game.Players.LocalPlayer
if player.Name == "Yourname" then
script.Parent.Visible = true
else
script.Parent:Destroy()
end
Рекомендации по теме
Комментарии
Автор

this is the script

local player = game.Players.LocalPlayer
if player.Name == "your name" then
script.parent.Visible = true
else
script.Parent:Destroy()
end

MoreBymmen
Автор

if you just want it to be invisible just do this

local player = game.Players.LocalPlayer
if player.Name == then -- yea change or what ever to ur name lol
script.Parent.Visible = true
else
script.Parent.Visible = false
end

SSlico
Автор

its sad that he has 38 subs when he deserves way more :(

DOUBLEXL_YUNK
Автор

Thank you so much, this really helped! I looked through 10 other tutorials and this was the only one that worked. Thank you so much!

FlamesOnFiree
Автор

THANK YOU!
I needed this to make a owner only stand YES

trex
Автор

nice video it helped me a lot.
Only one thing: Can you take the volume a little bit higher in your videos?
But the rest of it was good thx!

citynuker
Автор

YOUR A FRECKEN LIFE SAVER ALL THE OTHER YTERS IT DID NOT WORK THANK YOU TY TY TY TY

ejwillard
Автор

This video helped with my custom admin stuff

TheRealNopeYT
Автор

Im making a wwe game and this helped so much

xfrosty
Автор

YOU ARE A FREAKING LIFE SAVER YOU DESERVE SO MUCH SUBS

polyaro
Автор

if we wanna do multiples players, do we do like "Username", "Username2", "Username3" ?

stick-master
Автор

damn i know scripting but i dont know the string Name I Never Thought It was a thing cuz i did not think roblox scripting was that simple💀

ThunderStudio
Автор

Tip: Don't destroy! Else that server won't be "useful" for the selected players, since it's destroyed.

borogames
Автор

Player Id could also work but well done

OverWorrked
Автор

pls go slow and tell me where i add the screen gui and ur audio is low

cornsyrup
Автор

first.
anti all card or something or someone else

reks
Автор

Pls, this video but the button appears if u buy a gamepass

pochibis
Автор

I'm gonna use this to make the owner and other users nuke my game for free whenever :)

HippoPlaysRoblox
Автор

the prob is exploiters can also get access to it 💀

superblox
Автор

If I wanted a gui that could like spawn stuff in how would I do that

HaileyStudios