Sådan laver du så du kan kun skrive lidt a en players navn for at en command virker
for _, player in ipairs(Players:GetPlayers()) do if player.Name:lower():sub(1, #target) == target then return player end end
for _, player in ipairs(Players:GetPlayers()) do if player.Name:lower():sub(1, #target) == target then return player end end
lav en part put en script i part slå third party sales til paste den her kode i scripten local Id = 0 --Put your game pass id here local…
lav en part i workspace lav en script i part put den her kode i scripten local killplayer = true -- controlls if or not you want to kill player…
lav en script i serverScriptService game.Players.PlayerAdded:Connect(function(player) --makes a function local leaderstats = Instance.new("Folder", player) --makes a folder and makes the folder be in player leaderstats.Name = "leaderstats" --names the folder…
1. lav en textlabel 2. lav en local script i textlabel 3. paste den her kode local edit = script.Parent.Parent.TextLabel local player = game.Players.LocalPlayer while wait()do local player = game.Players.LocalPlayer…
1, lav en script i serverScriptService 2, lav en part 3, put part i serverStorage 4, paste den her script wait(8) --hvor meget tid til part spawner local tool =…
1, lav en screengui 2,put en textbutton i screengui 3, put en frame i screengui 4, put en script i textbutton 5,paste den here kode nedeunder i scripten hvis det…
Denne kode er hvis du siger i chatten leave så leaver du. --make a script in ServerScriptService local kickmsg = "you left the game" game.Players.PlayerAdded:Connect(function(plr) plr.Chatted:Connect(function(msg) if msg == "leave"…