How to make a Owner only tool script In roblox studio!

preview_player
Показать описание
Like and Subscribe if this was helpful! #robloxstudiotutorial #roblox

Script :
local players = {"icemaster50playzGame"} ---------- Put ur username!

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(chr)
for i = 1, #players do
if players[i] == plr.Name then
gear:Clone().Parent = plr:WaitForChild("Backpack")
end
end
end)
end)
Рекомендации по теме
Комментарии
Автор

This was the only one i found that actually works!
thank you!

eliotVR
Автор

Worked for my free admin game:D #SupportSmallCreators tysm!!

mittensthehero
Автор

Sub earned I hope u grow man appreciated

tbbvendo
Автор

this vid is the only one working for me, nice :)

voidofficial
Автор

If the script doesn't work, then maybe double check the tool name in case there are capital letters like "flashbang" or "FlashBang"

NaiveSchmidt
Автор

so when i did it only i have it but i tp to where i placed the item even tho i did everything correctly does anyone know how to fix that?

FuryBobCat
Автор

I can't thank you enough for putting the script in the description. Nobody is going to type a 1 million line script for fun. I can't believe these stupid youtubers! #SupportSmallCreators

skailyy
Автор

and how to replace gun by the gun in serverstorage ?

heney
Автор

Script :
local players = {"icemaster50playzGame"} Put ur username!
local gear = Put ur Tool



for i = 1, #players do
if players[i] == plr.Name then
gear:Clone().Parent = plr:WaitForChild("Backpack")
end
end
end)
end)
=
GOOD

Newgie
Автор

yo thank this is better video for tutorial

derek_star_yt
Автор

does it work if its starterpack instead of server storage?

chaztheo
Автор

what player name should be there? the display name or the original?

Yasuo_
Автор

For some reason Line 4 got an error, maybe i just used an outdated video?

PlasticBagmanthend
Автор

it says there are "uncommited" scripts and it wont save. What should i do? I dont know what uncommited scripts are.

Liquidable
Автор

Can you use this for startercharacters too?

Ultima-rg
Автор

it not working that because due of roblox game are not working however in roblox studio it completely working weird

Edy
Автор

What if you don’t want to be the only one with a tool, like how do I make a few players with the tool to?

romeotheofficial_
Автор

how do you make it with other items than Roblox marketplace items

TVEOH
Автор

How do I make it for multiple people?
( do I add {"player", "player", "player"}? )

Haze