Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name = "mikee112" --Put your name. Case sensitive.
- Admin = Game.Players[Name]
- peritemtime = 1
- bantime = 10
- ver = 3.3
- ------------------------------------------------------------------ Dont edit below here unless you know what you're doing!
- char = game.Workspace:findFirstChild(Name)
- -- Creating the Orb --
- mdl = Instance.new("Model",char)
- mdl.Name = char.Name .. "'s Orb"
- orb = Instance.new("Part",mdl)
- orb.Size = Vector3.new(2,2,2)
- orb.Name = "Head"
- orb.BrickColor = BrickColor.new("Really black")
- orb.Shape = "Ball"
- orb.Transparency = .6
- orb.Reflectance = .3
- human = Instance.new("Humanoid",mdl)
- human.MaxHealth = 0
- human.Health = 0
- bp = Instance.new("BodyPosition",orb)
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- coroutine.resume(coroutine.create(function()
- while wait() do
- bp.position = char.Head.Position + Vector3.new(0,5,0)
- end
- end))
- bg = Instance.new("BodyGyro",orb)
- bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- ------------------------------------------------------------------
- ----------------
- h = Instance.new("Hint")
- h.Parent = Admin
- h.Text = "Say 'Commands' to see a list of the orb's capabilities. Case-sensitive! -Stewiepwns"
- ------------------------------------------------------------------
- ----------------
- function onChatted(msg)
- if msg=="Orb give insert" then
- adminper = game.Workspace:findFirstChild(Admin.Name)
- if adminper~=nil then
- M = Game:GetService("InsertService"):LoadAsset(23456449)
- M.Parent = Game.Workspace
- M:MakeJoints()
- M:MoveTo(adminper.Torso.Position + Vector3.new(0, 0, 0))
- end end
- if msg=="Orb go blue" then
- orb.BrickColor = BrickColor.new("Really blue")
- end
- if msg=="Orb go red" then
- orb.BrickColor = BrickColor.new("Really red")
- end
- if msg=="Orb go green" then
- orb.BrickColor = BrickColor.new("Earth green")
- end
- if msg=="Orb go purple" then
- orb.BrickColor = BrickColor.new("Royal purple")
- end
- if msg=="Orb remove base" then
- local base = game.Workspace:findFirstChild("Base")
- if base~=nil then
- local m = Instance.new("Message")
- m.Parent = game.Workspace
- m.Text = "Orb, I command you to remove this base!"
- wait(3)
- m.Text = ""
- mdl.Name = "Do you really think I should?"
- wait(3)
- m.Text = "Why, yes, yes I do."
- wait(3)
- m:Remove()
- mdl.Name = "OK! :D"
- wait(3)
- base:Remove()
- mdl.Name = char.Name .. "'s Orb"
- else
- local m = Instance.new("Message")
- m.Parent = game.Workspace
- m.Text = "Orb, I command you to remove this base!"
- wait(3)
- m.Text = ""
- mdl.Name = "But... There is no base!"
- wait(3)
- m.Text = "...Oh. Silly me. *Facedesk*"
- wait(3)
- m:Remove()
- mdl.Text = "Lol. :D"
- wait(3)
- mdl.Name = char.Name .. "'s Orb"
- end end
- if msg=="Commands" then
- h.Text = "List of commands:"
- wait(3)
- h.Text = "Orb wear my hats"
- wait(1)
- h.Text = "Orb go green"
- wait(1)
- h.Text = "Orb go blue"
- wait(1)
- h.Text = "Orb go red"
- wait(1)
- h.Text = "Orb go purple"
- wait(1)
- h.Text = "Orb remove base"
- wait(1)
- h.Text = "Orb kill others"
- wait(1)
- h.Text = "Orb tele all to me"
- wait(1)
- h.Text = "Orb make me invisible"
- wait(1)
- h.Text = "Orb make me visible"
- wait(1)
- h.Text = "Say 'Commands' to see a list of the orb's capabilities. All commands are case-sensitive! -Stewiepwns"
- end
- if msg=="Orb wear my hats" then
- admini = game.Workspace:findFirstChild(Name)
- admini = admini:GetChildren()
- for i = 1,#admini do
- if (admini[i].className == "Hat") then
- admini[i].Parent = mdl
- hatpos = Instance.new("BodyPosition")
- hatpos.Parent = admini[i].Handle
- hatpos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- coroutine.resume(coroutine.create(function()
- while wait() do
- hatpos.position = orb.Position + Vector3.new(0,0.2,0)
- end
- end))
- end end end
- if msg=="Orb kill others" then
- for i,v in pairs (game.Players:GetChildren()) do
- if (v.className == "Player") then
- if (v.Name ~= Admin.Name) then
- dude = game.Workspace:findFirstChild(v.Name)
- if dude~=nil then
- dude:BreakJoints()
- end end end end end
- if msg=="Orb tele all to me" then
- for i,v in pairs (game.Players:GetChildren()) do
- if (v.className == "Player") then
- if (v.Name ~= Admin.Name) then
- dude = game.Workspace:findFirstChild(v.Name)
- if dude~=nil then
- torso = dude:findFirstChild("Torso")
- if torso~=nil then
- torso.CFrame = orb.CFrame + Vector3.new(0,10,0)
- end end end end end end
- if msg=="Orb make me invisible" then
- local player = game.Workspace:findFirstChild(Name)
- if player ~= 0 then
- for i = 1,#player do
- if player[i].Character ~= nil then
- local char = player[i]
- local c = player[i]:GetChildren()
- for i =1,#c do
- if c[i].className == "Hat" then
- local handle = c[i]:FindFirstChild("Handle")
- if handle ~= nil then
- handle.Transparency = 1 --We dont want our hats to give off our position, do we?
- end end
- if c[i].className == "Part" then
- c[i].Transparency = 1
- if c[i].Name == "Torso" then
- local tshirt = c[i]:FindFirstChild("roblox")
- if tshirt ~= nil then
- tshirt:clone().Parent = char
- tshirt:remove()
- end end
- if c[i].Name == "Head" then
- local face = c[i]:FindFirstChild("face")
- if face ~= nil then
- gface = face:clone()
- face:remove()
- end end end end end end end end
- if msg=="Orb make me visible" then
- local player = game.Workspace:findFirstChild(Name)
- if player ~= 0 then
- for i = 1,#player do
- if player[i] ~= nil then
- local char = player[i]
- local c = player[i].Character:GetChildren()
- for i =1,#c do
- if c[i].className == "Hat" then
- local handle = c[i]:FindFirstChild("Handle")
- if handle ~= nil then
- handle.Transparency = 0
- end end
- if c[i].className == "Part" then
- c[i].Transparency = 0
- if c[i].Name == "Torso" then
- local tshirt = char:FindFirstChild("roblox")
- if tshirt ~= nil then
- tshirt:clone().Parent = c[i]
- tshirt:remove()
- end end
- if c[i].Name == "Head" then
- if gface ~= nil then
- local face = gface:clone()
- face.Parent = c[i]
- end end end end end end end end
- if msg=="Orb attract people" then
- noobs = game.Workspace:GetChildren()
- for i = 1,#noobs do
- if (noobs[i].className == "Model") then
- if (noobs[i].Name ~= Admin.Name) then
- local h = noobs[i]:findFirstChild("Humanoid")
- if h~=nil then
- hatpos = Instance.new("BodyPosition")
- hatpos.Parent = noobs[i].Torso
- hatpos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- coroutine.resume(coroutine.create(function()
- while wait() do
- hatpos.position = orb.Position + Vector3.new(0,0,0)
- hatpos.Name = "Playerattraction"
- end
- end))
- end end end end end
- if msg=="Orb stop attracting people" then
- noobs = game.Workspace:GetChildren()
- for i = 1,#noobs do
- if (noobs[i].className == "Model") then
- if (noobs[i].Name ~= Admin.Name) then
- local h = noobs[i]:findFirstChild("Humanoid")
- if h~=nil then
- local Playerattraction = noobs[i].Torso:findFirstChild("Playerattraction")
- if Playerattraction~=nil then
- Playerattraction:Remove()
- end end end end end end
- if msg=="Orbfire" then
- orbfire = Instance.new("Fire")
- orbfire.Size = 6
- orbfire.Heat = 30
- orbfire.Name = "Orbfire"
- orbfire.Parent = orb
- end
- if msg=="Orbfire remove" then
- pwn = orb:findFirstChild("Orbfire")
- if pwn~=nil then
- pwn:Remove()
- end end
- if msg=="Control orb" then
- Admin.Character = mdl
- end end
- Admin.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement