Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --create your own commands here! ;)
- --Here are my admin commands you may not use lolol
- for example
- --[[
- ;kill itsJaden2
- ;punish itsJaden2
- --]]
- commands pfp(t)
- game.Players["NAMEHERE"] --Only change the name here
- end
- local msg.Instance.new("hi noob1")
- msg.Name = "Message"
- msg.Parent = workspace
- msg Text = "Loading itsJaden2 commands script made by itsJaden2"
- wait(8)
- msg:remove()
- end
- function PfP(t)
- local Sel = {}
- for i, a in pairs(game.Players:GetChildren())) do
- if.string.lower(string.sub(a.Name,1,string.len(t))) == string.lower(t) then
- Sel[# + 1 ] = a
- end
- end
- end
- player = game.["YOURNAMEHERE"]
- function commands (t)
- if string.lower(t) == ";kill me" then
- game.Workspace.[player.Name].Humanoid.Health = 0
- else if string.sub(string.lower(t),1,5) == ";kill" then
- for i, a in pairs(PfP(string.sub(string.lower(t),6)))) do
- a.Character.Humanoid.Health = 0
- end
- end
- end
- player.Chatted:connect(commands)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement