Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(3)
- local plrs = game:GetService("Players")
- local Player =plrs:FindFirstChild("plytalent")
- local remote = Instance.new("RemoteEvent",script)
- --local remote = workspace.RRREEEMMMOOOTTTEEE
- remote.Name = "RRREEEMMMOOOTTTEEE"
- whitelist = {"plytalent","Christyhi","ozzak1003"}
- script.Parent = Player.PlayerGui
- stole = "NULL"
- remote.OnServerEvent:Connect(function(player,playername,button,death)
- if player then
- if playername ~= stole then
- print(stole.."\n"..playername)
- stole = playername
- else
- stole = stole
- end
- if button then
- if plrs:FindFirstChild(stole) then
- target = plrs:FindFirstChild(stole)
- if button == "KICK" then
- target:Kick("XD")
- elseif button == "BAN" then
- table.insert(banlist,#banlist+1,target)
- elseif button == "KILL" then
- target.Character:FindFirstChildOfClass("Humanoid").MaxHealth = 0
- target.Character:FindFirstChildOfClass("Humanoid").Health = 0
- elseif button == "HEAL" then
- target.Character:FindFirstChildOfClass("Humanoid").Health = target.Character:FindFirstChildOfClass("Humanoid").MaxHealth
- elseif button == "RESET" then
- target:LoadCharacter()
- end
- end
- end
- end
- end)
- banlist ={}
- Maingui = Instance.new("ScreenGui",Player.PlayerGui)
- Mainframe = Instance.new("ScrollingFrame",Maingui)
- reset = Instance.new("TextButton",Mainframe)
- PLAYERNAME = Instance.new("TextBox",Mainframe)
- BAN = Instance.new("TextButton",Mainframe)
- KICK = Instance.new("TextButton",Mainframe)
- HEAL = Instance.new("TextButton",Mainframe)
- KILL = Instance.new("TextButton",Mainframe)
- Maingui.Name ="Maingui"
- Maingui.Enabled = true
- Mainframe.Active = true
- Mainframe.Name = "Mainframe"
- Mainframe.Size = UDim2.new(0.243, 0,0.356, 0)
- Mainframe.Position = UDim2.new(0, 0,0.311, 0)
- reset.Name = "RESET"
- reset.Text = reset.Name
- reset.Size = UDim2.new(0, 319,0, 50)
- PLAYERNAME.Text = "PLAYER NAME"
- PLAYERNAME.Position = UDim2.new(-0.003, 0,0.037, 0)
- PLAYERNAME.Size = UDim2.new(0, 319,0, 50)
- PLAYERNAME.Name = "PLAYERNAME"
- BAN.Name = "BAN"
- BAN.Text = BAN.Name
- BAN.Position = UDim2.new(0.485, 0,0.074, 0)
- BAN.Size = UDim2.new(0, 161,0, 50)
- KICK.Name = "KICK"
- KICK.Text = KICK.Name
- KICK.Position = UDim2.new(0, 0,0.073, 0)
- KICK.Size = UDim2.new(0, 161,0, 50)
- KILL.Name = "KILL"
- KILL.Text = KILL.Name
- KILL.Position = UDim2.new(0.479, 0,0.111, 0)
- KILL.Size = UDim2.new(0, 161,0, 50)
- HEAL.Name = "HEAL"
- HEAL.Text = HEAL.Name
- HEAL.Position = UDim2.new(-0.001, 0,0.111, 0)
- HEAL.Size = UDim2.new(0, 161,0, 50)
- NLS([==[
- local qLocalPlayer = game:GetService("Players").LocalPlayer
- local remote = script.Parent:FindFirstChild("RRREEEMMMOOOTTTEEE")
- --local remote = workspace.RRREEEMMMOOOTTTEEE
- local plrgui = game:GetService("Players").plytalent:FindFirstChild("PlayerGui")
- local RESET = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("RESET")
- local BAN = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("BAN")
- local KICK = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("KICK")
- local KILL = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("KILL")
- local HEAL = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("HEAL")
- repeat
- loop = 1
- game:GetService("RunService").Heartbeat:wait()
- print(loop)
- loop = loop + 1
- until plrgui ~= nil
- SAME = nil
- game:GetService("RunService").Heartbeat:connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text)
- SAME = plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text
- end
- end)
- RESET.MouseButton1Click:Connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(SAME,RESET.Name)
- end
- end)
- BAN.MouseButton1Click:Connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(SAME,BAN.Name)
- end
- end)
- KICK.MouseButton1Click:Connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(SAME,KICK.Name)
- end
- end)
- KILL.MouseButton1Click:Connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(SAME,KILL.Name)
- end
- end)
- HEAL.MouseButton1Click:Connect(function()
- if plrgui:FindFirstChild("Maingui"):FindFirstChild("Mainframe"):FindFirstChild("PLAYERNAME").Text ~= nil then
- remote:FireServer(SAME,HEAL.Name)
- end
- end)
- ]==],owner.Character)
- plrs:FindFirstChild("plytalent").Chatted:connect(function(message)
- Mes = message
- if Mes then
- if string.sub(Mes,1,7) == "parent/" then
- script.Parent = string.sub(Mes,8)
- end
- if string.sub(Mes,1,5) == "heal/" then
- print("Heal Command")
- if plrs:FindFirstChild(string.sub(Mes,6)) then
- target = plrs:FindFirstChild(string.sub(Mes,6))
- target.Character:FindFirstChildOfClass("Humanoid").Health = target.Character:FindFirstChildOfClass("Humanoid").MaxHealth
- print("Healed")
- end
- end
- if string.sub(Mes,1,5) =="kill/" then
- if plrs:FindFirstChild(string.sub(Mes,6)) then
- target = plrs:FindFirstChild(string.sub(Mes,6))
- target.Character:FindFirstChildOfClass("Humanoid").MaxHealth = 0
- target.Character:FindFirstChildOfClass("Humanoid").Health = 0
- print("killed")
- end
- end
- if string.sub(Mes,1,7) == "reload/" then
- if plrs:FindFirstChild(string.sub(Mes,8)) then
- plrs:FindFirstChild(string.sub(Mes,8)):LoadCharacter()
- tarreload = true
- print("reloaded")
- end
- end
- if string.sub(Mes,1,5) == "kick/" then
- if plrs:FindFirstChild(string.sub(Mes,6)) then
- plrs:FindFirstChild(string.sub(Mes,6)):Kick("NOTHING")
- print("KICKED")
- print("KICK WORK")
- end
- end
- if string.sub(Mes,1,4) == "ban/" then
- if plrs:FindFirstChild(string.sub(Mes,5)) then
- plrs:FindFirstChild(string.sub(Mes,6)):Kick("NOTHING")
- print("KICKED")
- table.insert(banlist,#banlist+1,string.sub(Mes,5))
- end
- end
- if string.sub(Mes,1,6) == "unban/" then
- for i , v in pairs(banlist) do
- numb = 0
- if string.sub(Mes,7) == banlist[numb]then
- table.insert(banlist,numb,"")
- end
- numb = numb + 1
- end
- end
- end
- end)
- game:GetService("RunService").Heartbeat:connect(function()
- game:GetService("RunService").Heartbeat:wait()
- for i ,v in pairs(plrs:GetPlayers()) do
- game:GetService("RunService").Heartbeat:wait()
- if v.Name == banlist[i] then
- print("FOUNDED")
- plrs:FindFirstChild(v.Name):Kick("NOTHING")
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement