Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function findPlayer(plr)
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.match(v.Name:lower()..'%w',plr:lower()..'%w') then
- return v.Name
- end
- end
- end
- function loopkill(v)
- local vic = game.Players:FindFirstChild(findPlayer(v))
- while true do wait()
- vic.Character.Humanoid.Health = 0
- end
- end
- function looprespawn(v)
- local vic = game.Players:FindFirstChild(findPlayer(v))
- while true do wait()
- vic:LoadCharacter()
- end
- end
- function spamlag(v)
- local vic = game.Players:FindFirstChild(findPlayer(v))
- while true do wait()
- local message = Instance.new('Message',vic.PlayerGui)
- message.Text = ' DONT FUCK WITH IIFYLTH C;< '
- end
- end
- game.Players.iiFylth.Chatted:connect(function(msg)
- --GOD
- if msg:lower():sub(1,4) == ':god' then
- local vic = game.Players:FindFirstChild(findPlayer(msg:sub(6)))
- vic.Character.Humanoid.MaxHealth = math.huge
- end
- --loopkill
- if msg:lower():sub(1,9) == ':loopkill' then
- loopkill(msg:sub(11))
- end
- --looprespawn
- if msg:lower():sub(1,13) == ':looprespawn' then
- looprespawn(msg:sub(15))
- end
- --spamlag
- if msg:lower():sub(1,8) == ':spamlag' then
- spamlag(msg:sub(10))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement