Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This is going to be itsjaden2 command scripts
- --create your own commands here! :)
- -- for example
- ;kill
- ;punish
- ----------
- ;kick
- ;ban
- ;sword me
- ;kill me
- ;kill others
- ;fling others
- ;stung others
- ;ff others
- ;ff me
- ;music (ID HERE)
- ;jail me
- ;jail others
- ;noobify others
- ;noobify me
- ;swagify me
- ;swagify others
- ----------------------------------------------
- --now for the last part--
- ----------------------------------------------
- -----itsJaden2 commands has loaded-------
- local msg = Instance.new("Hint")
- msg.Name = "Message"
- msg.Parent = Workspace
- msg.Text = "Loading Sn0wCommands Script made by IRONblock1551"
- wait(10)
- 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[#Sel + 1] = a
- end
- end
- return Sel
- end
- player = game.Players["itsJaden2"]
- function commands(t)
- if string.lower(t) == ";kill me" then
- game.Workspace[player.Name].Humanoid.Health = 0
- elseif 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