Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin = "New_AgeSavage"
- players = game.Players
- prefix = ";"
- prefix2 = " "
- local admin_name = "Xenous v0.0.2"
- local commands = {}
- Main_Folder = Instance.new('Folder',game.ServerStorage)
- Main_Folder.Name = admin_name
- bans = Instance.new('Folder',Main_Folder)
- bans.Name = 'Bans'
- speed = 0.030
- --[[for cmd adding, put the command at the beginning type in the middle (player)
- and the script at the last. EX: AddCmd("kill","player","v.Character:BreakJoints()")
- AddSCmd("time","game.Lighting.TimeOfDay = ") --thats the AddSCmd.
- ------------------------------------------------------------------------------------
- TYPES FOR PLAYER:
- AddFCmd("cmds","scripthere")
- Player, description: ment for players. EX: kill me, kill basic, kill all.
- ]]
- local trans = 0
- function OrbF()
- local spin = 0
- local orb = Instance.new('Part',workspace)
- orb.Anchored = true
- orb.Shape = "Ball"
- orb.CanCollide = false
- orb.BrickColor = BrickColor.new("Really black") --put brickcolor plz
- orb.Size = Vector3.new(1,1,1)
- orb.Material = "Neon"
- orb.Name = 'Xenous '..admin
- orb.Transparency = trans
- local orb_fire = Instance.new('Fire',orb)
- orb_fire.Color = Color3.new(0.06,0.16,0.8)
- orb_fire.SecondaryColor = Color3.new(0.06,0.16,0.8)
- players[admin].Chatted:connect(function(m)
- if m:lower() == prefix..'hide' then
- for i = 0,1,.1 do wait()
- trans=i
- orb.Transparency=i
- orb_fire.Parent=nil
- end
- end
- if m:lower() == prefix..'show' then
- for i = 1,0,-.1 do wait()
- trans=i
- orb.Transparency=i
- orb_fire.Parent=orb
- end
- end
- end)
- function fkick(plr)
- Instance.new('RemoteEvent',plr):FireClient(plr,{string.rep("umad?",2e5+5)})
- end
- --Path now--
- game:GetService("RunService").Stepped:connect(function()
- orb.CFrame = CFrame.new(workspace[admin].Torso.Position) * CFrame.Angles(0,spin,0) * CFrame.new(0,math.sin(math.cos(spin*2)),-7)
- wait()
- spin=spin+speed
- local path = Instance.new('Part',orb)
- path.FormFactor = "Custom"
- path.CanCollide = false
- path.Size = Vector3.new(.1,.1,.1)
- path.Anchored = true--hm i wonder y, lemme get in studio
- path.BrickColor = BrickColor.new("Lapis")
- path.CFrame = orb.CFrame
- path.Material = "Neon"
- path.Transparency=orb.Transparency
- for i,v in pairs(orb:children()) do if v.ClassName=='Part' then
- v.Size = v.Size + Vector3.new(.020,.020,.020)
- if v.Size.X > 0.8 then
- v.Transparency=v.Transparency+.1
- end
- if v.Size.X > 1 then
- v:remove()
- end
- end
- end
- end)
- end
- game:GetService("RunService").Stepped:connect(function()
- if not workspace:FindFirstChild('Xenous '..admin) then
- OrbF()
- end
- end)
- game:GetService("RunService").Stepped:connect(function()
- for i,v in pairs(bans:children()) do
- for i,x in pairs(players:children()) do if string.find(v.Name:lower(),x.Name:lower()) then
- fkick(x)
- end
- end
- end
- end)
- function AddCmd(cmd,type,source)
- table.insert(commands,cmd..' (plr)')
- players[admin].Chatted:connect(function(m)
- if type:lower()=='player' then
- if m:lower():sub(1,#cmd+#prefix+#prefix2)==prefix..cmd..prefix2 then
- loadstring([[msg = "]]..m..[[" cmd = "]]..cmd..[["
- for i,v in pairs(players:children()) do if string.find(v.Name:lower(),msg:lower():sub(#prefix+#prefix2+#cmd+1)) then ]]..source..[[ end end
- ]])()
- loadstring([[msg = "]]..m..[[" cmd = "]]..cmd..[["
- if string.find(msg:lower():sub(#prefix+#prefix2+#cmd+1),'me') then v=players[admin] ]]..source..[[ end
- ]])()
- loadstring([[msg = "]]..m..[[" cmd = "]]..cmd..[["
- if string.find(msg:lower():sub(#prefix+#prefix2+#cmd+1),'others') then for i,v in pairs(players:children()) do if v.Name~=admin then ]]..source..[[ end end end
- ]])()
- loadstring([[msg = "]]..m..[[" cmd = "]]..cmd..[["
- if string.find(msg:lower():sub(#prefix+#prefix2+#cmd+1),'all') then for i,v in pairs(players:children()) do ]]..source..[[ end end
- ]])()
- end
- end;
- end)
- end
- function AddSCmd(cmd,srce)
- table.insert(commands,cmd..' (plr)')
- players[admin].Chatted:connect(function(m)
- if m:lower():sub(1,#cmd+#prefix+#prefix2)==prefix..cmd..prefix2 then
- loadstring(srce.."'"..m:sub(#cmd+#prefix+#prefix2+1).."'")()
- end
- end)
- end
- function AddBCmd(cmd,srce)
- table.insert(commands,cmd..' (plr)')
- players[admin].Chatted:connect(function(m)
- if m:lower():sub(1,#cmd+#prefix+#prefix2)==prefix..cmd..prefix2 then
- loadstring([[banned = "]]..m:sub(#cmd+#prefix+#prefix2+1)..[[" for i,x in pairs(bans:children()) do if string.find(x.Name:lower(),banned:lower()) then ]]..srce..[[ end end]])()
- end
- end)
- end
- function AddFCmd(cmd,srce)
- table.insert(commands,cmd..' (plr)')
- players[admin].Chatted:connect(function(m)
- if m:lower() == prefix..cmd then
- loadstring([[player = game.Players["]]..admin..[["] cmdz = {]]..commands..[[} ]]..srce)()
- end
- end)
- end
- AddCmd("kill","player","v.Character:BreakJoints()")
- AddCmd("fire","player",[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' then
- local fire = Instance.new("Fire",x)
- end
- end]])
- AddCmd("unfire","player",[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' then
- for i,z in pairs(x:children()) do if z.ClassName=='Fire' then z:remove() end end end end]])
- AddCmd("ff","player",[[Instance.new("ForceField",v.Character)]])
- AddCmd("unff","player",[[for i,x in pairs(v.Character:children()) do if x.ClassName=='ForceField' then x:remove() end end]])
- AddSCmd("time","game.Lighting.TimeOfDay = ")
- AddCmd('sparkles','player',[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' then Instance.new('Sparkles',x) end end]])
- AddCmd('unsparkles','player',[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' then
- for i,z in pairs(x:children()) do if z.ClassName=='Sparkles' then z:remove() end end end end]])
- AddCmd('kick','player',[[fkick(v)]])
- AddCmd('punish','player','v.Character.Parent=nil')
- AddCmd('unpunish','player','v.Character.Parent=workspace')
- AddCmd('explode','player',[[local expl = Instance.new('Explosion',v.Character.Torso) expl.Position = expl.Parent.Position]])
- AddCmd('god','player',[[v.Character.Humanoid.MaxHealth=9e999]])
- AddCmd('ungod','player',[[v.Character.Humanoid.MaxHealth=100]])
- AddCmd('smite','player',[[smite=Instance.new('Part',workspace)
- smite.Anchored = true
- smite.FormFactor = "Custom"
- smite.CanCollide = false
- smite.Size = Vector3.new(1,300,1)
- smite.Transparency=0.5
- smite.Color = Color3.new(0,0,0)
- smite.CFrame = v.Character.Torso.CFrame * CFrame.new(0,30,0)
- smite.Name = 'bmiter'
- game:GetService('RunService').Stepped:connect(function()
- smite.BrickColor = BrickColor.Random()
- end)
- if v.Character:FindFirstChild('Torso') then
- sme=Instance.new('Explosion',v.Character)
- sme.Position = v.Character.Torso.Position
- sme.BlastPressure = "500000"
- sme.BlastRadius = "3"
- end
- delay(1.5,function()
- for i = 1,0,-0.1 do wait()
- smite.Size = Vector3.new(i,300,i)
- end
- for i,v in pairs(workspace:children()) do if v.Name=='bmiter' then
- v:remove()
- end
- end
- end)]])
- AddCmd('respawn','player','v:LoadCharacter()')
- AddCmd('rfs','player',[[local part = Instance.new('Part',workspace)
- part.Name = 'Spawn_'..math.random()+tick()*2
- part.CFrame = v.Character.Torso.CFrame
- part.Anchored = true
- part.Transparency=1
- part.CanCollide = false
- v:LoadCharacter()
- v.Character.Torso.CFrame=part.CFrame
- part:remove()]])
- AddCmd('refresh','player',[[local part = Instance.new('Part',workspace)
- part.Name = 'Spawn_'..math.random()+tick()*2
- part.CFrame = v.Character.Torso.CFrame
- part.Anchored = true
- part.Transparency=1
- part.CanCollide = false
- v:LoadCharacter()
- v.Character.Torso.CFrame=part.CFrame
- part:remove()]])
- AddCmd('btools','player',[[game:GetService("InsertService"):LoadAsset(143830178):children()[1].Parent=v.Backpack]])
- AddCmd('ban','player',[[Instance.new('StringValue',bans).Name=v.Name]])
- AddBCmd('unban',[[x:remove()]])
- AddCmd('freeze','player',[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' and x.Name~='HumanoidRootPart' then x.Anchored = true end end]])
- AddCmd('thaw','player',[[for i,x in pairs(v.Character:children()) do if x.ClassName=='Part' and x.Name~='HumanoidRootPart' then x.Anchored = false end end]])
- table.insert(commands,'cmds')
- players[admin].Chatted:connect(function(m)
- if m:lower() == prefix..'cmds' then
- local screen_gui = Instance.new('ScreenGui',players[admin].PlayerGui)
- local frame = Instance.new('Frame',screen_gui)
- frame.Size = UDim2.new(0,250,0,300)
- frame.Position = UDim2.new(0,230,0,170)
- frame.BackgroundColor3=Color3.new()
- frame.BackgroundTransparency=0.3
- local label = Instance.new('TextLabel',frame)
- label.BackgroundTransparency=1
- local count_cmds = #commands
- label.Text = count_cmds..' commands loaded.'
- label.Size = UDim2.new(0,250,0,15)
- label.TextScaled = true
- label.TextColor3=Color3.new(255,255,255)
- local l_xx = Instance.new('TextButton',frame)
- l_xx.Text = 'X'
- l_xx.TextColor3 = Color3.new(1,0,0)
- l_xx.Size = UDim2.new(0,15,0,15)
- l_xx.BackgroundTransparency=1
- l_xx.TextScaled = true
- l_xx.Position = UDim2.new(0,235,0,0)
- l_xx.MouseButton1Down:connect(function()
- frame:remove()
- end)
- local cmds = Instance.new('ScrollingFrame',frame)
- cmds.Position = UDim2.new(0,0,0,40)
- cmds.Size = UDim2.new(0,250,0,250)
- cmds.BackgroundTransparency=1
- tldown=0
- function AddCommand(nam)
- local tl = Instance.new('TextLabel',cmds)
- tl.Text = nam
- tl.Size = UDim2.new(0,250,0,20)
- tl.BackgroundTransparency=0.7
- tl.BackgroundColor3=Color3.new()
- tl.Position = UDim2.new(0,0,0,tldown)
- tl.TextColor3=Color3.new(255,255,255)
- wait()
- tldown=tldown+20
- end
- for i,vx in pairs(getfenv()) do if vx=='commands' then
- com=vx
- end
- for i,zz in pairs(commands) do
- AddCommand(zz)
- end
- end
- end
- end)
- AddSCmd('ospeed','speed = ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement