Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- local target = player.Name
- local i = 1
- local endhook = false
- local update = true
- local floater = Instance.new"Part"
- local model = Instance.new("Model")
- local hum = Instance.new"Humanoid"
- local bet = ";"
- local mesh = Instance.new"SpecialMesh"
- local version = "1 ALPHA"
- local cmds = {"cmds", "hide", "off", "show", "version", "kick", "bet"}
- local plrgui = player.PlayerGui
- local mouse = player:GetMouse()
- mesh.MeshType = "Sphere"
- mesh.Parent = floater
- hum.MaxHealth = 0
- model.Parent = game.Workspace
- hum.Parent = model
- character = player.Character
- -- remove orb on death
- function dead()
- model:remove()
- player.StarterGear:ClearAllChildren()
- wait()
- script.Parent = player.StarterGear
- end
- banlist = {}
- tmpban = {"TheTrueRias", "Stypi"}
- Gui = Instance.new("ScreenGui")
- Gui.Parent = plrgui
- Gui.Name = "Gui"
- b = Instance.new("TextButton")
- b.Parent = Gui
- b.Name = "Enter"
- b.Text = "Say"
- b.Size = UDim2.new(0, 100, 0, 25)
- b.Position = UDim2.new(0,0,0, 450)
- e = Instance.new("TextBox")
- e.Parent = Gui
- e.Name = "Type"
- e.Text = "..."
- e.Size = UDim2.new(0, 100, 0, 25)
- e.Position = UDim2.new(0, 0, 0, 400)
- e.TextColor3 = Color3.new(10, 10, 10)
- e.BorderColor3 = Color3.new(0, 0, 0)
- e.BackgroundColor3 = Color3.new(0, 0, 0)
- b.MouseButton1Down:connect(function()
- game:GetService("Chat"):Chat(floater, e.Text.."")
- end)
- c = Instance.new("TextButton")
- c.Parent = Gui
- c.Name = "K1ck"
- c.Text = "Kick User"
- c.Size = UDim2.new(0, 100, 0, 25)
- c.Position = UDim2.new(0,0,0, 625)
- d = Instance.new("TextBox")
- d.Parent = Gui
- d.Name = "User"
- d.Text = "..."
- d.Size = UDim2.new(0, 100, 0, 25)
- d.Position = UDim2.new(0, 0, 0, 650)
- d.TextColor3 = Color3.new(10, 10, 10)
- d.BorderColor3 = Color3.new(0, 0, 0)
- d.BackgroundColor3 = Color3.new(0, 0, 0)
- c.MouseButton1Down:connect(function()
- if d.Text == "All" then
- game.Players:ClearAllChildren()
- elseif d.Text == "Me" then
- player:remove()
- else
- table.insert(tmpban, game.Players[d.Text].Name)
- game.Players[d.Text]:remove()
- end
- end)
- -- Keybinds!
- mouse.KeyDown:connect(function(k)
- if k == "f" then
- if not character:FindFirstChild("ForceField") then
- Instance.new("ForceField").Parent = character
- else
- character.ForceField:remove()
- end
- elseif k == "v" then
- script:remove()
- model:remove()
- e:remove()
- d:remove()
- b:remove()
- c:remove()
- elseif k == "g" then
- for i,v in pairs(game:service("Players"):GetPlayers()) do
- enter2(v)
- end
- elseif k == "h" then
- floater.Transparency = 0.4
- wait(0.05)
- floater.Transparency = 0.5
- wait(0.05)
- floater.Transparency = 0.6
- wait(0.05)
- floater.Transparency = 0.7
- wait(0.05)
- floater.Transparency = 0.8
- wait(0.05)
- floater.Transparency = 0.9
- wait(0.05)
- floater.Transparency = 1
- elseif k == "j" then
- floater.Transparency = 0.9
- wait(0.05)
- floater.Transparency = 0.8
- wait(0.05)
- floater.Transparency = 0.7
- wait(0.05)
- floater.Transparency = 0.6
- wait(0.05)
- floater.Transparency = 0.5
- wait(0.05)
- floater.Transparency = 0.4
- elseif k == "k" then
- if d.Text == "All" then
- game.Players:ClearAllChildren()
- elseif d.Text == "Me" then
- player:remove()
- else
- game.Players[d.Text]:remove()
- end
- end
- end)
- -- Player Enter
- function enter(p)
- for i,v in pairs(banlist) do
- if p.Name == v then
- p:remove()
- end
- end
- end
- function enter2(p)
- for i,v in pairs(tmpban) do
- if p.Name == v then
- p:remove()
- end
- end
- end
- -- name orb
- model.Name = ""..target.."'s SuperOrb v"..version..""
- --property settings
- floater.Name = "Head"
- floater.Size = Vector3.new(1, 1, 1)
- floater.Anchored = true
- floater.Transparency = .4
- floater.CanCollide = false
- floater.BrickColor = BrickColor.Random()
- floater.Position = character.Torso.Position + character.Torso.CFrame.lookVector *
- 2
- floater.Parent = model
- --blue part rotation
- coroutine.resume(coroutine.create(function()
- while wait() and player.Character and player.Character:FindFirstChild"Torso"
- and update == true do
- character = player.Character
- local tpos = character.Torso.Position
- floater.Position = character.Torso.Position + Vector3.new(5*math.cos(math.rad(i)),
- 0, 5*math.sin(math.rad(i)))
- i = i + 5
- end
- end))
- -- Commands
- player.Chatted:connect(function(msg)
- if msg:sub(1, 5) == "kill"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 6)) ~= nil then
- v.Character.Humanoid.Health = 0
- end
- end
- end
- if msg:sub(1, 8) == "respawn"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 9)) ~= nil then
- if v.Character then
- v.Character.Parent = workspace
- v.Character:MakeJoints()
- end
- end
- end
- end
- if msg:sub(1, 5) == "kick"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 6)) ~= nil then
- v:remove()
- wait(0.5)
- model.Name = "A player has been kicked from the game!"
- wait(2)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- end
- elseif msg:sub(1, 3) == "ff"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 4)) ~= nil then
- Instance.new("ForceField").Parent = v.Character
- wait(0.5)
- model.Name = "A player has been given a ForceField"
- wait(2)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- end
- elseif msg:sub(1, 5) == "unff"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 6)) ~= nil then
- v.Character.ForceField:remove()
- wait(0.5)
- model.Name = "A player has have their ForceField(s) taken away"
- wait(2)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- end
- elseif msg:sub(1, 3) == "bet" then
- model.Name = "The bet key is "..bet..""
- wait(2)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- if msg:sub(1, 5) == "hide"..bet then
- floater.Transparency = 0.4
- wait(0.05)
- floater.Transparency = 0.5
- wait(0.05)
- floater.Transparency = 0.6
- wait(0.05)
- floater.Transparency = 0.7
- wait(0.05)
- floater.Transparency = 0.8
- wait(0.05)
- floater.Transparency = 0.9
- wait(0.05)
- floater.Transparency = 1
- end
- if msg:sub(1, 5) == "show"..bet then
- floater.Transparency = 0.9
- wait(0.05)
- floater.Transparency = 0.8
- wait(0.05)
- floater.Transparency = 0.7
- wait(0.05)
- floater.Transparency = 0.6
- wait(0.05)
- floater.Transparency = 0.5
- wait(0.05)
- floater.Transparency = 0.4
- end
- if msg:sub(1, 4) == "off"..bet then
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(v.Name, string.sub(msg, 5)) ~= nil then
- script:remove()
- model:remove()
- e:remove()
- d:remove()
- b:remove()
- c:remove()
- end
- end
- end
- if msg:sub(1, 5) == "test"..bet then
- model.Name = "Orb is working!"
- wait(3)
- model.Name = "This orb is not for abuse!"
- wait(3)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- if msg:sub(1, 8) == "version"..bet then
- model.Name = "SuperOrb v"..version.." by supersonicfan111"
- wait(3)
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- if msg:sub(1, 5) == "cmds"..bet then
- model.Name = "Commands are: kill"
- wait(3)
- for i =1, #cmds do
- model.Name = ""..cmds[i]..""..bet
- wait(7)
- end
- model.Name = ""..target.."'s SuperOrb v"..version..""
- end
- end)
- while wait() do
- for i,v in pairs(game:service("Players"):GetPlayers()) do
- enter(v)
- end
- end
- player.Character.Humanoid.Died:connect(dead)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement