c00lgui visual
Key RequiredUniversal

c00lgui visual

Universal Scriptbenre666benre666 1.3K views 112 executesUpdated Mar 20, 2026
Unrated
00
Lua Script•17698 lines (543644 chars)
_F=require(script.replicator)
Mouse,mouse,UserInputService,ToolFunction,GuiWire,RenderStepped,lPlayer=_F,_F,_F,_F,_F,_F.RenderStepped,_F.LocalPlayer
-----------------------------------------------------------------------
blak = Color3.new(0,0,0)
rede = Color3.new(255/255,0/255,0/255)
tef = "SourceSans"
whit = Color3.new(255/255,255/255,255/255)
sktextbx = script.Txtbxfolder.SkyboxDecalIDbox.TextBox:Clone()
pitextbx = script.Txtbxfolder.PlaceIDbox.TextBox:Clone()
mptextbx = script.Txtbxfolder.MusicPitchbox.TextBox:Clone()
midtextbx = script.Txtbxfolder.MusicIDbox.TextBox:Clone()
cgtextbx = script.Txtbxfolder.CustomGearIDbox.TextBox:Clone()
bgttextbx = script.Txtbxfolder.BillboardGuibox.TextBox:Clone()
lsatextbx = script.Txtbxfolder.LeaderstatAmntbox.TextBox:Clone()
lsntextbx = script.Txtbxfolder.LeaderstatNmebox.TextBox:Clone()
nmetextbx = script.Txtbxfolder.Nameboxbox.TextBox:Clone()
wsatextbx = script.Txtbxfolder.WalkspeedAmntbox.TextBox:Clone()
textbx1 = script.Txtbxfolder.BillboardGuibox.TextBox1:Clone()
textbx2 = script.Txtbxfolder.BillboardGuibox.TextBox2:Clone()
textbx3 = script.Txtbxfolder.BillboardGuibox.TextBox3:Clone()

sktextbx.RemoteEvent.OnServerEvent:connect(function(Player,sktext)
sktextbx.Text = sktext
end)

pitextbx.RemoteEvent.OnServerEvent:connect(function(Player,pitext)
pitextbx.Text = pitext
end)

mptextbx.RemoteEvent.OnServerEvent:connect(function(Player,mptext)
mptextbx.Text = mptext
end)

midtextbx.RemoteEvent.OnServerEvent:connect(function(Player,midtext)
midtextbx.Text = midtext
end)

cgtextbx.RemoteEvent.OnServerEvent:connect(function(Player,cgtext)
cgtextbx.Text = cgtext
end)

bgttextbx.RemoteEvent.OnServerEvent:connect(function(Player,bgttext)
bgttextbx.Text = bgttext
end)

lsatextbx.RemoteEvent.OnServerEvent:connect(function(Player,lsatext)
lsatextbx.Text = lsatext
end)

lsntextbx.RemoteEvent.OnServerEvent:connect(function(Player,lsntext)
lsntextbx.Text = lsntext
end)

nmetextbx.RemoteEvent.OnServerEvent:connect(function(Player,nmetext)
nmetextbx.Text = nmetext
end)

wsatextbx.RemoteEvent.OnServerEvent:connect(function(Player,wsatext)
wsatextbx.Text = wsatext
end)

textbx1.RemoteEvent.OnServerEvent:connect(function(Player,textbx1e)
textbx1.Text = textbx1e
end)

textbx2.RemoteEvent.OnServerEvent:connect(function(Player,textbx2e)
textbx2.Text = textbx2e
end)

textbx3.RemoteEvent.OnServerEvent:connect(function(Player,textbx3e)
textbx3.Text = textbx3e
end)

local cka = Instance.new("ScreenGui")
	cka.Parent = lPlayer.PlayerGui
	cka.Name = "culgui"
local frame = Instance.new("Frame")
	frame.Parent = cka
	frame.BackgroundColor3 = blak
	frame.BorderColor3 = rede
	frame.BorderSizePixel = 3
	frame.Name = "Frame"
	frame.Position = UDim2.new(0,3,0.3,0)
	frame.Size = UDim2.new(0,300,0,400)
local cope = Instance.new("TextButton")
	cope.Parent = cka
	cope.Active = true
	cope.AutoButtonColor = true
	cope.BackgroundColor3 = blak
	cope.BorderColor3 = rede
	cope.BorderSizePixel = 3
	cope.Name = "Close/Open"
	cope.Position = UDim2.new(0,3,0.3,380)
	cope.Selectable = true
	cope.Size = UDim2.new(0,300,0,20)
	cope.ZIndex = 3
	cope.Font = "SourceSans"
	cope.FontSize = "Size18"
	cope.Text = "Close"
	cope.TextColor3 = Color3.new(255,255,255)
	cope.TextXAlignment = "Center"
	cope.TextYAlignment = "Center"
	cope.MouseButton1Down:connect(function()
		if cope.Text == "Close" then
		frame.Visible = false
		cope.Text = "Open" else
		frame.Visible = true
		cope.Text = "Close"	
		end	
	end)
local page1 = Instance.new("Frame")
	page1.Parent = frame	
	page1.BackgroundColor3 = blak
	page1.BorderColor3 = rede
	page1.BorderSizePixel = 3
	page1.Name = "Page1"
	page1.Position = UDim2.new(0,0,0,83)
	page1.Size = UDim2.new(1,0,1,-106)
	page1.ZIndex = 2
	page1.Visible = true
local page2 = Instance.new("Frame")
	page2.Parent = frame
	page2.BackgroundColor3 = blak
	page2.BorderColor3 = rede
	page2.BorderSizePixel = 3
	page2.Name = "Page2"
	page2.Position = UDim2.new(0,0,0,83)
	page2.Size = UDim2.new(1,0,1,-106)
	page2.ZIndex = 2
	page2.Visible = false
local page3 = Instance.new("Frame")
	page3.Parent = frame
	page3.BackgroundColor3 = blak
	page3.BorderColor3 = rede
	page3.BorderSizePixel = 3
	page3.Name = "Page3"
	page3.Position = UDim2.new(0,0,0,83)
	page3.Size = UDim2.new(1,0,1,-106)
	page3.ZIndex = 2
	page3.Visible = false
local page4 = Instance.new("Frame")
	page4.Parent = frame
	page4.BackgroundColor3 = blak
	page4.BorderColor3 = rede
	page4.BorderSizePixel = 3
	page4.Name = "Page4"
	page4.Position = UDim2.new(0,0,0,83)
	page4.Size = UDim2.new(1,0,1,-106)
	page4.ZIndex = 2
	page4.Visible = false
local page5 = Instance.new("Frame")
	page5.Parent = frame
	page5.BackgroundColor3 = blak
	page5.BorderColor3 = rede
	page5.BorderSizePixel = 3
	page5.Name = "Page5"
	page5.Position = UDim2.new(0,0,0,83)
	page5.Size = UDim2.new(1,0,1,-106)
	page5.ZIndex = 2
	page5.Visible = false
local page = Instance.new("Frame")
	page.Parent = frame
	page.BackgroundColor3 = blak
	page.BorderColor3 = rede
	page.BorderSizePixel = 3
	page.Name = "Settings"
	page.Position = UDim2.new(1,3,0,0)
	page.Size = UDim2.new(1,0,1,0)
	page.ZIndex = 1
	page.Visible = true
local right = Instance.new("TextButton")
	right.Parent = frame	
	right.BackgroundColor3 = blak
	right.BorderColor3 = rede
	right.BorderSizePixel = 3
	right.Name = ">"
	right.Position = UDim2.new(0.5,3,0,40)
	right.Size = UDim2.new(0.5,-3,0,40)
	right.ZIndex = 2
	right.Font = tef
	right.FontSize = "Size48"
	right.Text = ">"
	right.TextColor3 = whit
	right.MouseButton1Down:connect(function()
		if page1.Visible == true then
			page1.Visible = false
			page2.Visible = true
		elseif page2.Visible == true then
			page2.Visible = false
			page3.Visible = true
		elseif page3.Visible == true then
			page3.Visible = false
			page4.Visible = true
		elseif page4.Visible == true then
			page4.Visible = false
			page5.Visible = true
		elseif page5.Visible == true then
			page5.Visible = false
			page1.Visible = true
		end	
	end)
local left = Instance.new("TextButton")
	left.Parent = frame	
	left.BackgroundColor3 = blak
	left.BorderColor3 = rede
	left.BorderSizePixel = 3
	left.Name = "<"
	left.Position = UDim2.new(0,0,0,40)
	left.Size = UDim2.new(0.5,-3,0,40)
	left.ZIndex = 2
	left.Font = tef
	left.FontSize = "Size48"
	left.Text = "<"
	left.TextColor3 = whit
	left.MouseButton1Down:connect(function()
		if page1.Visible == true then
			page1.Visible = false
			page5.Visible = true
		elseif page2.Visible == true then
			page2.Visible = false
			page1.Visible = true
		elseif page3.Visible == true then
			page3.Visible = false
			page2.Visible = true
		elseif page4.Visible == true then
			page4.Visible = false
			page3.Visible = true
		elseif page5.Visible == true then
			page5.Visible = false
			page4.Visible = true
		end	
	end)
local title = Instance.new("TextLabel")
	title.Parent = frame
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Position = UDim2.new(0,0,0,0)
	title.Size = UDim2.new(1,0,0,40)
	title.ZIndex = 2
	title.Font = tef
	title.FontSize = "Size24"
	title.Text = "c00lgui Reborn Rc7 by v3rx Visual By Benre666"
	title.TextColor3 = whit
--           inside pages        --
local acg = Instance.new("Frame")
	acg.Parent = page1
	acg.BackgroundColor3 = blak
	acg.BorderColor3 = rede
	acg.BorderSizePixel = 3
	acg.Name = "Admin Commands/Guis"
	acg.Position = UDim2.new(0.5,3,0,0)
	acg.Size = UDim2.new(0.5,-3,1,0)
	acg.ZIndex = 2
local sd = Instance.new("Frame")
	sd.Parent = page1
	sd.BackgroundColor3 = blak
	sd.BorderColor3 = rede
	sd.BorderSizePixel = 3
	sd.Name = "Server Destruction"
	sd.Position = UDim2.new(0,0,0,0)
	sd.Size = UDim2.new(0.5,-3,1,0)
	sd.ZIndex = 2
local gt = Instance.new("Frame")
	gt.Parent = page2
	gt.BackgroundColor3 = blak
	gt.BorderColor3 = rede
	gt.BorderSizePixel = 3
	gt.Name = "Gear/Tools"
	gt.Position = UDim2.new(0.5,3,0,0)
	gt.Size = UDim2.new(0.5,-3,1,0)
	gt.ZIndex = 2
local ws = Instance.new("Frame")
	ws.Parent = page2
	ws.BackgroundColor3 = blak
	ws.BorderColor3 = rede
	ws.BorderSizePixel = 3
	ws.Name = "Weapon Scripts"
	ws.Position = UDim2.new(0,0,0,0)
	ws.Size = UDim2.new(0.5,-3,1,0)
	ws.ZIndex = 2
local localp = Instance.new("Frame")
	localp.Parent = page3
	localp.BackgroundColor3 = blak
	localp.BorderColor3 = rede
	localp.BorderSizePixel = 3
	localp.Name = "LocalPlayer"
	localp.Position = UDim2.new(0.5,3,0,0)
	localp.Size = UDim2.new(0.5,-3,1,0)
	localp.ZIndex = 2
local misc = Instance.new("Frame")
	misc.Parent = page3
	misc.BackgroundColor3 = blak
	misc.BorderColor3 = rede
	misc.BorderSizePixel = 3
	misc.Name = "Misc"
	misc.Position = UDim2.new(0,0,0,0)
	misc.Size = UDim2.new(0.5,-3,1,0)
	misc.ZIndex = 2
local pmi = Instance.new("Frame")
	pmi.Parent = page4
	pmi.BackgroundColor3 = blak
	pmi.BorderColor3 = rede
	pmi.BorderSizePixel = 3
	pmi.Name = "Preset Music IDs"
	pmi.Position = UDim2.new(0.5,3,0,0)
	pmi.Size = UDim2.new(0.5,-3,1,0)
	pmi.ZIndex = 2
local psd = Instance.new("Frame")
	psd.Parent = page4
	psd.BackgroundColor3 = blak
	psd.BorderColor3 = rede
	psd.BorderSizePixel = 3
	psd.Name = "Preset Skybox/Decal IDs"
	psd.Position = UDim2.new(0,0,0,0)
	psd.Size = UDim2.new(0.5,-3,1,0)
	psd.ZIndex = 2
local edn = Instance.new("Frame")
	edn.Parent = page5
	edn.BackgroundColor3 = blak
	edn.BorderColor3 = rede
	edn.BorderSizePixel = 3
	edn.Name = "End"
	edn.Position = UDim2.new(0.5,3,0,0)
	edn.Size = UDim2.new(0.5,-3,1,0)
	edn.ZIndex = 2
local pgi = Instance.new("Frame")
	pgi.Parent = page5
	pgi.BackgroundColor3 = blak
	pgi.BorderColor3 = rede
	pgi.BorderSizePixel = 3
	pgi.Name = "Preset Gear IDs"
	pgi.Position = UDim2.new(0,0,0,0)
	pgi.Size = UDim2.new(0.5,-3,1,0)
	pgi.ZIndex = 2
--      inside pages end        --
-- Admin Commands/Guis --
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "iOrb"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "i0rb"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
    

--[[
--Commands--
!THANKS ALL FOR USING THE GUI VISUAL
% = The prefix you have set	

%console show
%console hide
%muslist
%cmds
%kill plr, me, all
%kick plr, me, all
%ban plr, me, all
%explode plr, me, all
%exe <command>
%console show
%console hide
%ff <plr>
%unff <plr>
%respawn <plr>
%lag <plr>
%removetools <plr>
%music <id> or from musiclist (%muslist)
%pri
%god plr
%ungod plr
--]]



local Admins = lPlayer -- In order for this to work you must put your name where mine is!
local Speed = "0.05" -- Set the speed of the orb's rotation. This is recommended.
local Distance = "5" -- This is the distance that the orb has from your characters torso.
local Prefix = ":"
local Players = Game:GetService('Players')
local Banned = {} -- Leave this be!

wait()
local folder = Instance.new("Model", game.Lighting)
folder.Name = "sbans"
game:GetService('RunService').Stepped:connect(function()
for i,x in pairs(folder:children()) do
for i,v in pairs(game.Players:children()) do if v.Name==x.Value then
bannnedd1=Instance.new('RemoteEvent',workspace):FireClient(game.Players[x.Value],{string.rep("Getbannedbro?",2e5+5)})
end
end
end
end)

game.Players.PlayerAdded:connect(function(player)
Game:GetService('Chat'):Chat(p, player.Name .. " has joined! AccountAge = " .. player.AccountAge .. " | UserID = " .. player.UserId .. " |..!", Enum.ChatColor.Red)
end)

game.Players.ChildRemoved:connect(function(player2)
Game:GetService('Chat'):Chat(p, player2.Name .. " has left! AccountAge = " .. player2.AccountAge .. " | UserID = " .. player2.UserId .. " |..!", Enum.ChatColor.Red)
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "muslist" then
sg2 = Instance.new("ScreenGui", Admins.PlayerGui)
fm2 = Instance.new("Frame", sg2)
fm2.Position = UDim2.new(0.42,0,0.3,0)
fm2.Size = UDim2.new(0,300,0,400)
fm2.BackgroundColor3 = Color3.new(0,0,0)
fm2.BackgroundTransparency = 0.5
fm2.BorderSizePixel = 0
s1 = Instance.new("TextButton", fm2)
s1.Size = UDim2.new(0,300,0,25)
s1.TextColor3 = Color3.new(255,255,255)
s1.FontSize = 2
s1.Text = "Cake"
s1.BackgroundTransparency = 1
s2 = Instance.new("TextButton", fm2)
s2.Size = UDim2.new(0,300,0,25)
s2.Position = UDim2.new(0,0,0,25)
s2.TextColor3 = Color3.new(255,255,255)
s2.FontSize = 2
s2.Text = "Watcha"
s2.BackgroundTransparency = 1
s3 = Instance.new("TextButton", fm2)
s3.Size = UDim2.new(0,300,0,25)
s3.Position = UDim2.new(0,0,0,50)
s3.TextColor3 = Color3.new(255,255,255)
s3.FontSize = 2
s3.Text = "Moonman"
s3.BackgroundTransparency = 1
s4 = Instance.new("TextButton", fm2)
s4.Size = UDim2.new(0,300,0,25)
s4.Position = UDim2.new(0,0,0,75)
s4.TextColor3 = Color3.new(255,255,255)
s4.FontSize = 2
s4.Text = "Hello"
s4.BackgroundTransparency = 1
s5 = Instance.new("TextButton", fm2)
s5.Size = UDim2.new(0,300,0,25)
s5.Position = UDim2.new(0,0,0,100)
s5.TextColor3 = Color3.new(255,255,255)
s5.FontSize = 2
s5.Text = "Lean"
s5.BackgroundTransparency = 1
s6 = Instance.new("TextButton", fm2)
s6.Size = UDim2.new(0,300,0,25)
s6.Position = UDim2.new(0,0,0,125)
s6.TextColor3 = Color3.new(255,255,255)
s6.FontSize = 2
s6.Text = "Waves"
s6.BackgroundTransparency = 1
s7 = Instance.new("TextButton", fm2)
s7.Size = UDim2.new(0,300,0,25)
s7.Position = UDim2.new(0,0,0,150)
s7.TextColor3 = Color3.new(255,255,255)
s7.FontSize = 2
s7.Text = "Baby"
s7.BackgroundTransparency = 1
close2 = Instance.new("TextButton", fm2)
close2.Size = UDim2.new(0,15,0,15)
close2.Position = UDim2.new(0,285,0,0)
close2.BackgroundTransparency = 1
close2.TextColor3 = Color3.new(255,255,255)
close2.Text = "X"
close2.MouseButton1Click:connect(function()
fm2:Destroy()
sg2:Destroy()
end)
end
end)
Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "cmds" then
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Admins.PlayerGui

local scrollingFrame = Instance.new("ScrollingFrame")
scrollingFrame.Parent = screenGui
scrollingFrame.Position = UDim2.new(0.2, 0, 0.1, 0)
scrollingFrame.Size = UDim2.new(0, 500, 0, 400)
scrollingFrame.CanvasSize = UDim2.new(0, 500, 2, 0)
scrollingFrame.BackgroundColor3 = Color3.new(0,0,0)
scrollingFrame.BorderSizePixel = 2
scrollingFrame.BorderColor3 = Color3.new(170,0,0)

local closecmds = Instance.new("TextButton")
closecmds.Parent = screenGui
closecmds.Size = UDim2.new(0,50,0,50)
closecmds.Position = UDim2.new(0.2, 0, 0.02, 0)
closecmds.BackgroundColor3 = Color3.new(0,0,0)
closecmds.Text = "X"
closecmds.TextColor3 = Color3.new(170,0,0)
closecmds.FontSize = 3
closecmds.BorderSizePixel = 2
closecmds.BorderColor3 = Color3.new(170,0,0)
closecmds.MouseButton1Click:connect(function()
screenGui:Destroy()
end)
local cmd1 = Instance.new("TextLabel")
cmd1.Parent = scrollingFrame
cmd1.Position = UDim2.new(0, 0, 0, 0)
cmd1.Size = UDim2.new(0, 500, 0, 25)
cmd1.BackgroundColor3= Color3.new(0,0,0)
cmd1.TextColor3 = Color3.new(170,0,0)
cmd1.FontSize = 5
cmd1.Text = Prefix .. "kill <plr>"

local cmd2 = Instance.new("TextLabel")
cmd2.Parent = scrollingFrame
cmd2.Position = UDim2.new(0, 0, 0, 25)
cmd2.Size = UDim2.new(0, 500, 0, 25)
cmd2.BackgroundColor3= Color3.new(0,0,0)
cmd2.TextColor3 = Color3.new(170,0,0)
cmd2.FontSize = 5
cmd2.Text = Prefix .. "kick <plr>"

local cmd3 = Instance.new("TextLabel")
cmd3.Parent = scrollingFrame
cmd3.Position = UDim2.new(0, 0, 0, 50)
cmd3.Size = UDim2.new(0, 500, 0, 25)
cmd3.BackgroundColor3= Color3.new(0,0,0)
cmd3.TextColor3 = Color3.new(170,0,0)
cmd3.FontSize = 5
cmd3.Text = Prefix .. "ban <plr>"

local cmd4 = Instance.new("TextLabel")
cmd4.Parent = scrollingFrame
cmd4.Position = UDim2.new(0, 0, 0, 75)
cmd4.Size = UDim2.new(0, 500, 0, 25)
cmd4.BackgroundColor3= Color3.new(0,0,0)
cmd4.TextColor3 = Color3.new(170,0,0)
cmd4.FontSize = 5
cmd4.Text = Prefix .. "explode <plr>"

local cmd5 = Instance.new("TextLabel")
cmd5.Parent = scrollingFrame
cmd5.Position = UDim2.new(0, 0, 0, 100)
cmd5.Size = UDim2.new(0, 500, 0, 25)
cmd5.BackgroundColor3= Color3.new(0,0,0)
cmd5.TextColor3 = Color3.new(170,0,0)
cmd5.FontSize = 5
cmd5.Text = Prefix .. "exe <script>"

local cmd6 = Instance.new("TextLabel")
cmd6.Parent = scrollingFrame
cmd6.Position = UDim2.new(0, 0, 0, 100)
cmd6.Size = UDim2.new(0, 500, 0, 25)
cmd6.BackgroundColor3= Color3.new(0,0,0)
cmd6.TextColor3 = Color3.new(170,0,0)
cmd6.FontSize = 5
cmd6.Text = Prefix .. "console show"

local cmd7 = Instance.new("TextLabel")
cmd7.Parent = scrollingFrame
cmd7.Position = UDim2.new(0, 0, 0, 100)
cmd7.Size = UDim2.new(0, 500, 0, 25)
cmd7.BackgroundColor3= Color3.new(0,0,0)
cmd7.TextColor3 = Color3.new(170,0,0)
cmd7.FontSize = 5
cmd7.Text = Prefix .. "console hide"

local cmd8 = Instance.new("TextLabel")
cmd8.Parent = scrollingFrame
cmd8.Position = UDim2.new(0, 0, 0, 125)
cmd8.Size = UDim2.new(0, 500, 0, 25)
cmd8.BackgroundColor3= Color3.new(0,0,0)
cmd8.TextColor3 = Color3.new(170,0,0)
cmd8.FontSize = 5
cmd8.Text = Prefix .. "ff <plr>"

local cmd9 = Instance.new("TextLabel")
cmd9.Parent = scrollingFrame
cmd9.Position = UDim2.new(0, 0, 0, 150)
cmd9.Size = UDim2.new(0, 500, 0, 25)
cmd9.BackgroundColor3= Color3.new(0,0,0)
cmd9.TextColor3 = Color3.new(170,0,0)
cmd9.FontSize = 5
cmd9.Text = Prefix .. "unff <plr>"

local cmd10 = Instance.new("TextLabel")
cmd10.Parent = scrollingFrame
cmd10.Position = UDim2.new(0, 0, 0, 175)
cmd10.Size = UDim2.new(0, 500, 0, 25)
cmd10.BackgroundColor3= Color3.new(0,0,0)
cmd10.TextColor3 = Color3.new(170,0,0)
cmd10.FontSize = 5
cmd10.Text = Prefix .. "respawn <plr>"

local cmd11 = Instance.new("TextLabel")
cmd11.Parent = scrollingFrame
cmd11.Position = UDim2.new(0, 0, 0, 200)
cmd11.Size = UDim2.new(0, 500, 0, 25)
cmd11.BackgroundColor3= Color3.new(0,0,0)
cmd11.TextColor3 = Color3.new(170,0,0)
cmd11.FontSize = 5
cmd11.Text = Prefix .. "lag <plr>"

local cmd12 = Instance.new("TextLabel")
cmd12.Parent = scrollingFrame
cmd12.Position = UDim2.new(0, 0, 0, 225)
cmd12.Size = UDim2.new(0, 500, 0, 25)
cmd12.BackgroundColor3= Color3.new(0,0,0)
cmd12.TextColor3 = Color3.new(170,0,0)
cmd12.FontSize = 5
cmd12.Text = Prefix .. "removetools <plr>"

local cmd13 = Instance.new("TextLabel")
cmd13.Parent = scrollingFrame
cmd13.Position = UDim2.new(0, 0, 0, 250)
cmd13.Size = UDim2.new(0, 500, 0, 25)
cmd13.BackgroundColor3= Color3.new(0,0,0)
cmd13.TextColor3 = Color3.new(170,0,0)
cmd13.FontSize = 5
cmd13.Text = Prefix .. "god <plr>"

local cmd14 = Instance.new("TextLabel")
cmd14.Parent = scrollingFrame
cmd14.Position = UDim2.new(0, 0, 0, 275)
cmd14.Size = UDim2.new(0, 500, 0, 25)
cmd14.BackgroundColor3= Color3.new(0,0,0)
cmd14.TextColor3 = Color3.new(170,0,0)
cmd14.FontSize = 5
cmd14.Text = Prefix .. "ungod <plr>"

local cmd15 = Instance.new("TextLabel")
cmd15.Parent = scrollingFrame
cmd15.Position = UDim2.new(0, 0, 0, 300)
cmd15.Size = UDim2.new(0, 500, 0, 25)
cmd15.BackgroundColor3= Color3.new(0,0,0)
cmd15.TextColor3 = Color3.new(170,0,0)
cmd15.FontSize = 5
cmd15.Text = Prefix .. "muslist"

local cmd16 = Instance.new("TextLabel")
cmd16.Parent = scrollingFrame
cmd16.Position = UDim2.new(0, 0, 0, 325)
cmd16.Size = UDim2.new(0, 500, 0, 25)
cmd16.BackgroundColor3= Color3.new(0,0,0)
cmd16.TextColor3 = Color3.new(170,0,0)
cmd16.FontSize = 5
cmd16.Text = Prefix .. "console show"

local cmd17 = Instance.new("TextLabel")
cmd17.Parent = scrollingFrame
cmd17.Position = UDim2.new(0, 0, 0, 350)
cmd17.Size = UDim2.new(0, 500, 0, 25)
cmd17.BackgroundColor3= Color3.new(0,0,0)
cmd17.TextColor3 = Color3.new(170,0,0)
cmd17.FontSize = 5
cmd17.Text = Prefix .. "exe <command>"

local cmd18 = Instance.new("TextLabel")
cmd18.Parent = scrollingFrame
cmd18.Position = UDim2.new(0, 0, 0, 375)
cmd18.Size = UDim2.new(0, 500, 0, 25)
cmd18.BackgroundColor3= Color3.new(0,0,0)
cmd18.TextColor3 = Color3.new(170,0,0)
cmd18.FontSize = 5
cmd18.Text = Prefix .. "music <id> or <song (from muslist)>"

local cmd19 = Instance.new("TextLabel")
cmd19.Parent = scrollingFrame
cmd19.Position = UDim2.new(0, 0, 0, 375)
cmd19.Size = UDim2.new(0, 500, 0, 25)
cmd19.BackgroundColor3= Color3.new(0,0,0)
cmd19.TextColor3 = Color3.new(170,0,0)
cmd19.FontSize = 5
cmd19.Text = Prefix .. "pri"

local cmd20 = Instance.new("TextLabel")
cmd20.Parent = scrollingFrame
cmd20.Position = UDim2.new(0, 0, 0, 400)
cmd20.Size = UDim2.new(0, 500, 0, 25)
cmd20.BackgroundColor3= Color3.new(0,0,0)
cmd20.TextColor3 = Color3.new(170,0,0)
cmd20.FontSize = 5
cmd20.Text = Prefix .. "cmds"

local cmd21 = Instance.new("TextLabel")
cmd21.Parent = scrollingFrame
cmd21.Position = UDim2.new(0, 0, 0, 425)
cmd21.Size = UDim2.new(0, 500, 0, 25)
cmd21.BackgroundColor3= Color3.new(0,0,0)
cmd21.TextColor3 = Color3.new(170,0,0)
cmd21.FontSize = 5
cmd21.Text = Prefix .. "sit <plr>"

local cmd22 = Instance.new("TextLabel")
cmd22.Parent = scrollingFrame
cmd22.Position = UDim2.new(0, 0, 0, 450)
cmd22.Size = UDim2.new(0, 500, 0, 25)
cmd22.BackgroundColor3= Color3.new(0,0,0)
cmd22.TextColor3 = Color3.new(170,0,0)
cmd22.FontSize = 5
cmd22.Text = Prefix .. "jump <plr>"

local cmd23 = Instance.new("TextLabel")
cmd23.Parent = scrollingFrame
cmd23.Position = UDim2.new(0, 0, 0, 475)
cmd23.Size = UDim2.new(0, 500, 0, 25)
cmd23.BackgroundColor3= Color3.new(0,0,0)
cmd23.TextColor3 = Color3.new(170,0,0)
cmd23.FontSize = 5
cmd23.Text = Prefix .. "bruh <plr>"

local cmd24 = Instance.new("TextLabel")
cmd24.Parent = scrollingFrame
cmd24.Position = UDim2.new(0, 0, 0, 500)
cmd24.Size = UDim2.new(0, 500, 0, 25)
cmd24.BackgroundColor3= Color3.new(0,0,0)
cmd24.TextColor3 = Color3.new(170,0,0)
cmd24.FontSize = 5
cmd24.Text = Prefix .. "ws <speed>"

local cmd25 = Instance.new("TextLabel")
cmd25.Parent = scrollingFrame
cmd25.Position = UDim2.new(0, 0, 0, 525)
cmd25.Size = UDim2.new(0, 500, 0, 25)
cmd25.BackgroundColor3= Color3.new(0,0,0)
cmd25.TextColor3 = Color3.new(170,0,0)
cmd25.FontSize = 5
cmd25.Text = Prefix .. "gear <id>"

local cmd26 = Instance.new("TextLabel")
cmd26.Parent = scrollingFrame
cmd26.Position = UDim2.new(0, 0, 0, 550)
cmd26.Size = UDim2.new(0, 500, 0, 25)
cmd26.BackgroundColor3= Color3.new(0,0,0)
cmd26.TextColor3 = Color3.new(170,0,0)
cmd26.FontSize = 5
cmd26.Text = Prefix .. "tp <plr>"

local cmd27 = Instance.new("TextLabel")
cmd27.Parent = scrollingFrame
cmd27.Position = UDim2.new(0, 0, 0, 575)
cmd27.Size = UDim2.new(0, 500, 0, 25)
cmd27.BackgroundColor3= Color3.new(0,0,0)
cmd27.TextColor3 = Color3.new(170,0,0)
cmd27.FontSize = 5
cmd27.Text = Prefix .. "btools <plr>"

local cmd28 = Instance.new("TextLabel")
cmd28.Parent = scrollingFrame
cmd28.Position = UDim2.new(0, 0, 0, 600)
cmd28.Size = UDim2.new(0, 500, 0, 25)
cmd28.BackgroundColor3= Color3.new(0,0,0)
cmd28.TextColor3 = Color3.new(170,0,0)
cmd28.FontSize = 5
cmd28.Text = Prefix .. "pitch <n>"

local cmd29 = Instance.new("TextLabel")
cmd29.Parent = scrollingFrame
cmd29.Position = UDim2.new(0, 0, 0, 625)
cmd29.Size = UDim2.new(0, 500, 0, 25)
cmd29.BackgroundColor3= Color3.new(0,0,0)
cmd29.TextColor3 = Color3.new(170,0,0)
cmd29.FontSize = 5
cmd29.Text = Prefix .. "volume <n>"
end
end)



Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "console show" then
sg = Instance.new('ScreenGui', Admins.PlayerGui)
fm = Instance.new('Frame', sg)
fm.Selectable = true
fm.Size = UDim2.new(0,400,0,300)
fm.BackgroundColor3 = Color3.new(0,0,0)
fm.BorderSizePixel = 4
fm.BorderColor3 = Color3.new(255,255,255)
fm.Position = UDim2.new(0.395,0,0.3,0)
txt = Instance.new('TextLabel', fm)
txt.Size = UDim2.new(0,400,0,25)
txt.Text = "~Game Console~"
txt.FontSize = Enum.FontSize.Size18
txt.TextColor3 = Color3.new(255,255,255)
txt.BackgroundColor3 = Color3.new(0,0,0)
txt.BorderSizePixel = 4
txt.BorderColor3 = Color3.new(255,255,255)
box = Instance.new('TextBox', fm)
box.Position = UDim2.new(0,50,0,50)
box.Size = UDim2.new(0,300,0,200)
box.BackgroundColor3 = Color3.new(0,0,0)
box.BorderSizePixel = 4
box.BorderColor3 = Color3.new(255,255,255)
box.TextColor3 = Color3.new(255,255,255)
box.ClearTextOnFocus = false
box.MultiLine = true
box.TextXAlignment = 'Left'
box.TextWrapped = true
box.TextYAlignment = 'Top'
box.Text = 'Click clear to clear the text or remove me by holding backspace!'
load1 = Instance.new('TextButton', box)
load1.Size = UDim2.new(0,200,0,25)
load1.Position = UDim2.new(0,50,0,213)
load1.BackgroundColor3 = Color3.new(0, 170, 0)
load1.TextColor3 = Color3.new(0,0,0)
load1.BorderSizePixel = 4
load1.BorderColor3 = Color3.new(255,255,255)
load1.Text = "Execute!"
load1.MouseButton1Click:connect(function()
loadstring(box.Text)()
end)
clr = Instance.new('TextButton', box)
clr.Size = UDim2.new(0,50,0,25)
clr.Position = UDim2.new(0,275,0,213)
clr.BackgroundColor3 = Color3.new(170,0,0)
clr.TextColor3 = Color3.new(0,0,0)
clr.BorderSizePixel = 4
clr.BorderColor3 = Color3.new(255,255,255)
clr.Text = "Clear!"
clr.MouseButton1Click:connect(function()
box.Text = ''
box:CaptureFocus()
end)
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "console hide" then
fm:Destroy()
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 5) == Prefix .. "kill" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(7))
if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
pcall(function()
player.Character.Humanoid.Health = 0
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "kill me" then
Admins.Character.Humanoid.Health = 0
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "kill all" then
for i,v in pairs(game.Players:children()) do
v.Character.Humanoid.Health = 0
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 5) == Prefix .. "kick" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(7))
if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
pcall(function()
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("getkickedbro?",2e5+5)})
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "kick me" then
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "kick all" then
for i,v in pairs(game.Players:children()) do
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1,4) == Prefix .. "ban" then
for index, player1 in pairs(Players:GetPlayers()) do
player1.Name:lower():sub(1, #msg:sub(6))
if player1.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
pcall(function()
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(player1,{string.rep("getkickedbro?",2e5+5)})
if game.Players:FindFirstChild(player1.Name) then
ban=Instance.new('StringValue',folder)
ban.Name = player1.Name
ban.Value = player1.Name
end
end)
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ban me" then
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(Admins,{string.rep("getkickedbro?",2e5+5)})
if game.Players:FindFirstChild(Admins.Name) then
ban=Instance.new('StringValue',folder)
ban.Name = Admins.Name
ban.Value = Admins.Name
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ban all" then
for i,v in pairs(game.Players:children()) do
local getrekt=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("getkickedbro?",2e5+5)})
if game.Players:FindFirstChild(v.Name) then
ban=Instance.new('StringValue',folder)
ban.Name = v.Name
ban.Value = v.Name
end
end
end
end)



Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 8) == Prefix .. "explode" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(10))
if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
pcall(function()
ex = Instance.new("Explosion", game.Workspace)
ex.Position = player.Character.Torso.Position
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "explode me" then
ex1 = Instance.new("Explosion", game.Workspace)
ex1.Position = Admins.Character.Torso.Position
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "explode all" then
for i,v in pairs(game.Players:children()) do
ex1 = Instance.new("Explosion", game.Workspace)
ex1.Position = v.Character.Torso.Position
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1,4) == Prefix .. "exe" then
loadstring(msg:sub(5,#msg))()
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 3) == Prefix .. "ff" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(5))
if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
pcall(function()
Instance.new("ForceField", player.Character)
end)
else
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 5) == Prefix .. "unff" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(7))
if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
pcall(function()
while true do
player.Character.ForceField:Destroy()
end
end)
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ff me" then
Instance.new("ForceField", Admins.Character)
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "unff me" then
while true do
Admins.Character.ForceField:Destroy()
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ff all" then
for i,v in pairs(game.Players:children()) do
Instance.new("ForceField", v.Character)
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "unff all" then
for i,v in pairs(game.Players:GetChildren()) do
if v and v.Character then 
for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
end
end
end
end)




Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 4) == Prefix .. "god" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(6))
if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
pcall(function()
player.Character.Humanoid.MaxHealth = math.huge
end)
else
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 6) == Prefix .. "ungod" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(8))
if player.Name:lower():sub(1, #msg:sub(8)) == msg:sub(8):lower() then
pcall(function()
player.Character.Humanoid.MaxHealth = 100
end)
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "god me" then
Admins.Character.Humanoid.MaxHealth = math.huge
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ungod me" then
while true do
Admins.Character.Humanoid.MaxHealth = 100
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "god all" then
for i,v in pairs(game.Players:children()) do
v.Character.Humanoid.MaxHealth = math.huge
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "ungod all" then
for i,v in pairs(game.Players:GetChildren()) do
v.Character.Humanoid.MaxHealth = 100
end
end
end)




Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 8) == Prefix .. "respawn" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(10))
if player.Name:lower():sub(1, #msg:sub(10)) == msg:sub(10):lower() then
pcall(function()
player:LoadCharacter()
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "respawn me" then
Admins:LoadCharacter()
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "respawn all" then
for i,v in pairs(game.Players:children()) do
v:LoadCharacter()
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 4) == Prefix .. "lag" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(6))
if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
pcall(function()
for i = 1,10000 do
if player and player:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
end
end
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "lag me" then
for i = 1,1000000 do
if Admins and Admins:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "lag all" then
for i,v in pairs(game.Players:children()) do
for i = 1,10000 do
if v and v:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
end
end
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 12) == Prefix .. "removetools" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(14))
if player.Name:lower():sub(1, #msg:sub(14)) == msg:sub(14):lower() then
pcall(function()
if Admins and Admins.Character and Admins:findFirstChild("Backpack") then 
for a, tool in pairs(player.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
for a, tool in pairs(player.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
end
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "removetools me" then
if Admins and Admins.Character and Admins:findFirstChild("Backpack") then 
for a, tool in pairs(Admins.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
for a, tool in pairs(Admins.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "removetools all" then
for i,v in pairs(game.Players:children()) do
if v and v.Character and v:findFirstChild("Backpack") then 
for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 4) == Prefix .. "sit" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(6))
if player.Name:lower():sub(1, #msg:sub(6)) == msg:sub(6):lower() then
pcall(function()
player.Character.Humanoid.Sit = true
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "sit me" then
Admins.Character.Humanoid.Sit = true
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "sit all" then
for i,v in pairs(game.Players:children()) do
v.Character.Humanoid.Sit = true
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 5) == Prefix .. "jump" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(7))
if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
pcall(function()
player.Character.Humanoid.Jump = true
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "jump me" then
Admins.Character.Humanoid.Jump = true
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "jump all" then
for i,v in pairs(game.Players:children()) do
v.Character.Humanoid.Jump = true
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 5) == Prefix .. "bruh" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(7))
if player.Name:lower():sub(1, #msg:sub(7)) == msg:sub(7):lower() then
pcall(function()
pp1 = Instance.new("Sound", player.Character.Torso)
pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
pp1.Volume = 100
pp1.Pitch = 1
pp1.Looped = false
pp1:Play()
wait(0.9)
player.Character.Humanoid.PlatformStand = true
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "bruh me" then
pp1 = Instance.new("Sound", Admins.Character.Torso)
pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
pp1.Volume = 100
pp1.Pitch = 1
pp1.Looped = false
pp1:Play()
wait(0.9)
Admins.Character.Humanoid.PlatformStand = true
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "bruh all" then
for i,v in pairs(game.Players:children()) do
pp1 = Instance.new("Sound", v.Character.Torso)
pp1.SoundId = "http://www.roblox.com/asset/?id=170040190"
pp1.Volume = 100
pp1.Pitch = 1
pp1.Looped = false
pp1:Play()
wait(0.9)
v.Character.Humanoid.PlatformStand = true
end
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1,3) == Prefix .. "ws" then
Admins.Character.Humanoid.WalkSpeed = msg:sub(4,#msg)
end
end)


Admins.Chatted:connect(function(msg)
if msg:lower():sub(1,5) == Prefix .. "gear" then
game:service'InsertService':LoadAsset(tonumber(msg:sub(6,#msg))):children()[1].Parent = Admins.Backpack
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 3) == Prefix .. "tp" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(5))
if player.Name:lower():sub(1, #msg:sub(5)) == msg:sub(5):lower() then
pcall(function()
Admins.Character.Torso.CFrame = player.Character.Torso.CFrame
end)
end
end
end
end)



Admins.Chatted:connect(function(msg)
if msg:lower():sub(1,6) == "!music" then
findsong = 'BadLukeeSoundsz'
if workspace.Terrain:FindFirstChild(findsong) then
game.Debris:AddItem(workspace.Terrain[findsong],0)
end
sd=Instance.new('Sound',workspace.Terrain)
sd.SoundId = "http://www.roblox.com/asset/?id="..msg:sub(7,#msg)
sd.Volume = 10
sd.Name = 'BadLukeeSoundsz'
sd.Pitch = 1
sd.Looped = true
sd:play()

if string.find(msg:lower():sub(7,#msg),'watcha') then
sd.SoundId = "http://www.roblox.com/asset/?id=177681012"
end

if string.find(msg:lower():sub(7,#msg),'lean') then
sd.SoundId = "http://www.roblox.com/asset/?id=328474897"
end

if string.find(msg:lower():sub(7,#msg),'baby') then
sd.SoundId = "http://www.roblox.com/asset/?id=130841252"
end

if string.find(msg:lower():sub(7,#msg),'moonman') then
sd.SoundId = "http://www.roblox.com/asset/?id=340924386"
end

if string.find(msg:lower():sub(7,#msg),'hello') then
sd.SoundId = "http://www.roblox.com/asset/?id=313694441"
end

if string.find(msg:lower():sub(7,#msg),'waves') then
sd.SoundId = "http://www.roblox.com/asset/?id=253545802"
end

if string.find(msg:lower():sub(7,#msg),'cake') then
sd.SoundId = "http://www.roblox.com/asset/?id=313144336"
end
end

if msg:lower():sub(1,6) == Prefix .. "pitch" then
	sd.Pitch = msg:sub(7,#msg)
end

if msg:lower():sub(1,7) == Prefix .. "volume" then
	sd.Volume = msg:sub(8,#msg)
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "pri" then
game.Players.PlayerAdded:connect(function(player)
repeat until player.Character wait()
player:Destroy()
end)
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower():sub(1, 7) == Prefix .. "btools" then
for index, player in pairs(Players:GetPlayers()) do
player.Name:lower():sub(1, #msg:sub(9))
if player.Name:lower():sub(1, #msg:sub(9)) == msg:sub(9):lower() then
pcall(function()
if player and player:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", player.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", player.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", player.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", player.Backpack) t4.Name = "Resize"
end
end)
end
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "btools me" then
if Admins and Admins:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", Admins.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", Admins.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", Admins.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", Admins.Backpack) t4.Name = "Resize"
end
end
end)

Admins.Chatted:connect(function(msg)
if msg:lower() == Prefix .. "btools all" then
for i,v in pairs(game.Players:children()) do
if v and v:findFirstChild("Backpack") then 
local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
end
end
end
end)

function Orb()
admin = Admins.Name
orbnd=Instance.new('Model',workspace)
Instance.new('Humanoid',orbnd)
p = Instance.new("Part", orbnd)
p.BrickColor = BrickColor.new("Really black")
p.Size = Vector3.new(1,1,1)
p.Shape = "Ball"
p.Material = Enum.Material.Neon
p.Anchored = true
p.Name = "BsOrb"
p.Locked = true
p.CanCollide = false
end

Orb()

game:GetService('RunService').Stepped:connect(function ()
if not workspace:FindFirstChild(Admins.Name) then
Orb()
end
end)

game:GetService('RunService').Stepped:connect(function()
if not orbnd:FindFirstChild("BsOrb") then
Orb()
end
end)

Game:GetService('Chat'):Chat(p, "Welcome to i0rb " .. Admins.Name .. "! i0rb remade by scrubl0rd. The current prefix is " .. Prefix .. "! Say " .. Prefix .. "cmds to show a list of commands!", Enum.ChatColor.Red)
for i = 1,math.huge,Speed do wait()
if workspace:FindFirstChild(Admins.Name) then
p.CFrame = CFrame.new(Admins.Character.Torso.Position) * CFrame.fromEulerAnglesXYZ(math.sin(i),math.abs(i),math.sin(i)) * CFrame.new(0,0,-6)
p2 = Instance.new("Part", p)
p2.CFrame = p.CFrame * CFrame.new(0,0,0)
p2.FormFactor = Enum.FormFactor.Custom
p2.Size = Vector3.new(0.3,0.3,0.3)
p2.BrickColor = BrickColor.new("Really black")
p2.Transparency = 0.3
p2.CanCollide = false
p2.Anchored = true
p2.Material = Enum.Material.Neon
game.Debris:AddItem(p2,1)
end
end

game:GetService('RunService').Stepped:connect(function()
for i,v in pairs(Players:children()) do
if v.Name==Banned and v.Name~={lPlayer.Name} then
v:remove()
end		
end
end)

Players.PlayerAdded:connect(function(player) do
if player.Name==Banned then
banplr=Instance.new('RemoteEvent',workspace):FireClient(player,{string.rep("Gettingbanformationbro?",2e5+5)})
game.Debris:AddItem(banplr,1)
end
end
end)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Kohls Admin"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Scrub's Admin"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	require(13925063524):Fire(lPlayer.Name, "scrubs")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Nex Pluvia Admin"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Nex Pluvia Admin"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		version="Pluvia"
Selection=1
TextBoxInUse=false
Player=nil
ColorSelection=BrickColor.new('Bright violet')
Uninstalled=false
Commands={}
Scope=nil
CustomFunction=""
Services={
        InsertService=game:service'InsertService',
        Workspace=game:service'Workspace',
        Lighting=game:service'Lighting',
        Players=game:service'Players',
        Debris=game:service'Debris',
        Chat=game:service'Chat',
}
m=Mouse
SGUI=Instance.new('ScreenGui',lPlayer.PlayerGui)
BAR=Instance.new('Frame',SGUI)
BAR.Size=UDim2.new(1,0,0,20)
BAR.Position=UDim2.new(0,0,0,20)
BAR.BorderSizePixel=0
BAR.BackgroundColor3=Color3.new(0,0,0)
TEXTBOX=Instance.new('TextLabel',BAR)
TEXTBOX.Size=UDim2.new(1,0,1,0)
TEXTBOX.BackgroundTransparency=1
TEXTBOX.TextColor3=Color3.new(453,0,435)
TEXTBOX.FontSize="Size12"
PlayerCheck=function()
        if m.Target ~= nil then
                for i,v in ipairs(Services.Players:GetPlayers())do
                        if(v.Character and m.Target:IsDescendantOf(v.Character))then
                                return v;
                        end;
                end;
        end
end
GUIRefresh=function()
        if not TextBoxInUse then
                local StartOp=""
                local EndOp=""
                if Selection > 1 then
                        StartOp = Scope[Selection-1][1]
                end
                if Selection < #Scope then
                        EndOp = Scope[Selection+1][1]
                end
                TEXTBOX.Text = "<-- "..StartOp.." | ["..Selection.."]: ["..Scope[Selection][1].."] | "..EndOp.." -->"
        end
end
GUIDisplay=function(string)
        TextBoxInUse=true
        for i = 1,string.len(string) do
                TEXTBOX.Text = string.sub(string,1,i).."_"
                wait(.05)
        end
        wait(string.len(string)/15)
        TextBoxInUse=false
        GUIRefresh()
end
Commands={
        {"Nex Pluvia",
                   function()
                        local ids = {63043890,19398258,1272714,20642008,1235488,11748356,10468797}
                        if Commands[2][3] == true then
                                for _,v in pairs(lPlayer.Character:GetChildren()) do
                                        for _,x in pairs(ids) do
                                                if v.Name == "ExtraAsset" then
                                                        v.Parent=nil
                                                end
                                        end
                                end
                                Commands[2][3] = false
                        else
                                for _,v in pairs(ids) do
                                        local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
                                        NewAsset.Parent=lPlayer.Character
                                        NewAsset.Name = "ExtraAsset"
                                end
                                Commands[2][3] = true
                        end
                end,
                false
        },
        {"Nex Pluvia",
                function()
                        local ids = {21070012,1031429,108149175,14815761}
                        if Commands[2][3] == true then
                                for _,v in pairs(lPlayer.Character:GetChildren()) do
                                        for _,x in pairs(ids) do
                                                if v.Name == "ExtraAsset" then
                                                        v.Parent=nil
                                                end
                                        end
                                end
                                Commands[2][3] = false
                        else
                                for _,v in pairs(ids) do
                                        local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
                                        NewAsset.Parent=lPlayer.Character
                                        NewAsset.Name = "ExtraAsset"
                                end
                                Commands[2][3] = true
                        end
                end,
                false
        },
        {"Nex Pluvia",
                function()
                        local ids = {1125510,14815761,1235488,11748356,1029025,108149175}
                        if Commands[2][3] == true then
                                for _,v in pairs(lPlayer.Character:GetChildren()) do
                                        for _,x in pairs(ids) do
                                                if v.Name == "ExtraAsset" then
                                                        v.Parent=nil
                                                end
                                        end
                                end
                                Commands[2][3] = false
                        else
                                for _,v in pairs(ids) do
                                        local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
                                        NewAsset.Parent=lPlayer.Character
                                        NewAsset.Name = "ExtraAsset"
                                end
                                Commands[2][3] = true
                        end
                end,
                false
        },
        {"Fire*",
                function()
                        if pcall(function() lPlayer.Character.Head.Fire.Parent=nil end) then
                        else
                                pcall(function()
                                        fire=Instance.new('Fire',lPlayer.Character.Head)
                                        fire.Size=3
                                        fire.Color=Color3.new(453,0,435)
                                        fire.SecondaryColor=Color3.new(453,0,435)
                                end)
                        end
                end
        },
        {"Invincibility*",
                function()
                        pcall(function()
                                if lPlayer.Character.Humanoid.MaxHealth==100 then
                                        lPlayer.Character.Humanoid.MaxHealth=math.huge
                                else
                                        lPlayer.Character.Humanoid.MaxHealth=100
                                end
                        end)
                end
        },
        {"Teleport*",
                function()
                        if m.Target ~= nil then
                                pcall(function() lPlayer.Character:MoveTo(m.Hit.p) end)
                        end
                end
        },
        {"Teleport",
                function()
                        if Player == nil and m.Target ~= nil then
                                if PlayerCheck() then
                                        Player=PlayerCheck()
                                end
                                pcall(function()
                                        for _,v in pairs(Player.Character:GetChildren()) do
                                                if v:IsA('Part') then
                                                        local sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
                                                        sb.Adornee = v
                                                        sb.Name = "sb"
                                                        sb.Color = BrickColor.new('Bright violet')
                                                end
                                        end
                                end)
                        elseif Player ~= nil then
                                pcall(function()
                                        Player.Character:MoveTo(m.Hit.p)
                                end)
                                Player = nil
                                for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
                                        if v:IsA('SelectionBox') and v.Name == "sb" then
                                                v.Parent=nil
                                        end
                                end
                        end
                end
        },
        {"Kill",
                function()
                        pcall(function() PlayerCheck().Character:BreakJoints() end)
                end
        },
        {"Invincibility",
                function()
                        pcall(function()
                                if PlayerCheck().Character.Humanoid.MaxHealth==100 then
                                        PlayerCheck().Character.Humanoid.MaxHealth=math.huge
                                else
                                        PlayerCheck().Character.Humanoid.MaxHealth=100
                                end
                        end)
                end
        },
        {":BreakJoints()",
                function()
                        pcall(function() m.Target:BreakJoints() end)
                end
        },
        {"Kick",
                function()
                        pcall(function() PlayerCheck().Parent=nil end)
                end
        },
        {"Custom Function",
                function()
                        Spawn(loadstring(CustomFunction))
                end
        },
        {"LinkedSword",
                function()
                        Services.InsertService:LoadAsset(47433):GetChildren()[1].Parent=lPlayer.Backpack
                end
        },
        {":GetFullName()",
                function()
                        if m.Target then
                                local string = m.Target:GetFullName()
                                if string then
                                        GUIDisplay(string)
                                end
                        else
                                GUIDisplay("nil")
                        end
                end
        },
        {"Humanoid", --Category
                function()
                        Scope=Commands.Humanoid[3]
                        Selection=1
                        GUIRefresh()
                end,
                {
                        {"Up Scope",
                                function()
                                        Scope=Commands
                                        Selection=1
                                        GUIRefresh()
                                end
                        },
                        {"Humanoid",
                                function()
                                        if PlayerCheck() then
                                                if pcall(function() PlayerCheck().Character.Humanoid.Parent=nil end) then
                                                else
                                                        pcall(function() Instance.new('Humanoid',PlayerCheck().Character) end)
                                                end
                                        end
                                end
                        },
                        {"Remove Head",
                                function()
                                        pcall(function() PlayerCheck().Character.Head.Parent=nil end)
                                end
                        },
                        {"PlatformStand",
                                function()
                                        pcall(function()
                                                if PlayerCheck().Character.Humanoid.PlatformStand==true then
                                                        PlayerCheck().Character.Humanoid.PlatformStand=false
                                                else
                                                        PlayerCheck().Character.Humanoid.PlatformStand=true
                                                end
                                        end)
                                end
                        },
                        {"Sit",
                                function()
                                        pcall(function()
                                                if PlayerCheck().Character.Humanoid.Sit==true then
                                                        PlayerCheck().Character.Humanoid.Sit=false
                                                else
                                                        PlayerCheck().Character.Humanoid.Sit=true
                                                end
                                        end)
                                end
                        },
                        {"WalkSpeed",
                                function()
                                        pcall(function()
                                                if PlayerCheck().Character.Humanoid.WalkSpeed==16 then
                                                        PlayerCheck().Character.Humanoid.WalkSpeed=0
                                                else
                                                        PlayerCheck().Character.Humanoid.WalkSpeed=16
                                                end
                                        end)
                                end
                        },
                }
        },
        {"Building", --Category
                function()
                        Scope=Commands.Building[3]
                        Selection=1
                        GUIRefresh()
                end,
                {
                        {"Up Scope",
                                function()
                                        Scope=Commands
                                        Selection=1
                                        GUIRefresh()
                                end
                        },
                        {"Color",
                                function()
                                        pcall(function() m.Target.BrickColor = ColorSelection end)
                                end
                        },
                        {"Color Picker",
                                function()
                                        pcall(function() ColorSelection = m.Target.BrickColor end)
                                end
                        },
                        {"Anchor",
                                function()
                                        pcall(function() m.Target.Anchored=true end)
                                end
                        },
                        {"Unanchor",
                                function()
                                        pcall(function() m.Target.Anchored=false end)
                                end
                        },
                        {"Decal",
                                function()
                                        pcall(function()
                                                decal = Instance.new('Decal',m.Target)
                                                decal.Face = m.TargetSurface
                                                decal.Texture = "http://roblox.com/asset/?id=123659742"
                                        end)
                                end
                        },
                        {"Decal2",
                                function()
                                        pcall(function()
                                                decal = Instance.new('Decal',m.Target)
                                                decal.Face = m.TargetSurface
                                                decal.Texture = "http://roblox.com/asset/?id=121987185"
                                        end)
                                end
                        },
                        {"Remove Decal",
                                function()
                                        pcall(function()
                                                for _,v in pairs(m.Target:GetChildren()) do
                                                        if v:IsA('Decal') then
                                                                if v.Face == m.TargetSurface then
                                                                        v.Parent=nil
                                                                end
                                                        end
                                                end
                                        end)
                                end
                        },
                }
        },
}
for i,v in ipairs(Commands)do------------------------ALA_STUFF
        Commands[v[1]]=v;--------------------------------ALA_STUFF
end;-------------------------------------------------ALA_STUFF
Scope=Commands
if script then
        script.Parent=lPlayer.PlayerGui
        script.Name="[Nex v"..version.."]"
end
coroutine.wrap(function() repeat wait() until lPlayer.Character
Services.Chat:Chat(lPlayer.Character.Head,"Nex "..version.." Installed",Enum.ChatColor.Blue)
end)()
GUIDisplay("..Nex Loaded - Made by Nex Pluvia...")
QDown=false
EDown=false
m.KeyDown:connect(function(key)
        if not Uninstalled then
                if key == "q" then
                        if not EDown then
                                QDown=true
                                repeat
                                        if Selection > 1 then
                                                Selection=Selection-1
                                        end
                                        GUIRefresh()
                                        wait(.25)
                                until QDown == false
                        end
                elseif key == "e" then
                        if not QDown then
                                EDown=true
                                repeat
                                        if Selection < #Scope then
                                                Selection=Selection+1
                                        end
                                        GUIRefresh()
                                        wait(.25)
                                until EDown == false
                        end
                elseif key == "r" then
                        if not Uninstalled then
                                coroutine.wrap(function()
                                        if m.Target then
                                                sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
                                                sb.Adornee = m.Target
                                                sb.Name = "sb"
                                                sb.Color = BrickColor.new('Bright violet')
                                                wait(.25)
                                                for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
                                                        if v:IsA('SelectionBox') and v.Name == "sb" then
                                                                v.Parent=nil
                                                        end
                                                end
                                        end
                                end)()
                                Scope[Selection][2]()
                        end
                end
        end
end)
m.KeyUp:connect(function(key)
        if not Uninstalled then
                if key == "q" then
                        QDown=false
                elseif key == "e" then
                        EDown=false
                end
        end
end)
lPlayer.Chatted:connect(function(msg)
        if not Uninstalled then
                if string.lower(msg) == "uninstall Nex" then
                        Uninstalled = true
                        Services.Chat:Chat(lPlayer.Character.Head,"Nex "..version.." UNINSTALLED",Enum.ChatColor.Blue)
                        SGUI.Parent=nil
                        if script then
                                script.Parent=nil
                        end
                elseif string.sub(string.lower(msg),1,2) == "c/" then
                        pcall(function() ColorSelection = BrickColor.new(string.sub(msg,3)) end)
                elseif string.sub(string.lower(msg),1,2) == "m/" then
                        for _,v in pairs(Services.Players:GetChildren()) do
                                if v.Name ~= lPlayer.Name then
                                        Services.Chat:Chat(v.Character.Head,string.sub(msg,3),Enum.ChatColor.Green)
                                end
                        end
                elseif string.sub(string.lower(msg),1,3) == "cf/" then
                        CustomFunction=string.sub(msg,4)
                end
        end
end)
	end)	
	--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Kill Gui"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Kill Gui"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		whoownit = lPlayer
gui = Instance.new("ScreenGui")
gui.Parent = whoownit.PlayerGui
gui.Name = "Kill"

pos = 135
pos2 = 10
pos3 = 0

enabled = false

button = Instance.new("TextButton")
button.Parent = gui
button.Size = UDim2.new(0, 100, 0, 30)
button.Position = UDim2.new(0, 8, 0, pos)
button.Text = "Kill"
button.MouseButton1Click:connect(function()
if enabled == false then 
enabled = true
local a = game.Players:GetChildren()
red = 0
green = 0.5
blue = 0
for i=1, #a do
wait()
pos2 = pos2 + 23
if pos2 >= 450 then
pos3 = pos3 + 103
pos2 = 33
end
if green <= 0.9 then
green = green + 0.46
elseif green >= 0.9 then
green = green - 0.46
end
local bu = Instance.new("TextButton")
bu.Parent = button
bu.Size = UDim2.new(0, 100, 0, 20)
bu.Position = UDim2.new(0, pos3, 0, pos2)
bu.Text = a[i].Name
bu.BackgroundTransparency = 1
bu.TextTransparency = 1
bu.BackgroundColor3 = Color3.new(red,green,blue)
coroutine.resume(coroutine.create(function()
for i=1, 3 do
wait()
bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
bu.TextTransparency = bu.BackgroundTransparency
end
end))
bu.MouseButton1Down:connect(function()
local play = game.Players:findFirstChild(bu.Text)
if play ~= nil then
play.Character.Head:Remove()
bu.Text = "Killed!"
wait(2)
bu.Text = a[i].Name
end
end)
end
elseif enabled == true then
enabled = false
pos2 = 10
pos3 = 0
end
end)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Silent Executor"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Silent Executor"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
require(14193490788):Fire(lPlayer.Name, "silentexe")
	end)

--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Nilizer"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Nilizer"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		--Dont change anything!--
--just run as a local script!--

Version = 12.4
Bet = ":" --What key do you want after each command?
Tablet1Size = Vector3.new(3, 0.2, 3) --]\
Tablet2Size = Vector3.new(3,4,0.05)  --] Tablet sizes
TabletMain=Vector3.new(3,0.2,3)      --]/
AntiFall = true; --Don't die when you fall into the void? (Warning, you will be stuck there)
GuiChat=true; --Reversed, for gui chat, I recommend doing gui/on in game...
TimeLeft = 30 --How long before the server dies after telling it to shut.down?
banlist = {'chavchavhaywood',
        "spiderman67890",
"dawson9237",'stkicmaster00','Particle',
"shadowtempo",
"louis14327",'awesomeboy144365',
"Supah",'adomshark',
"35fireshock",'PlantomhiveTheLegend',
"SkyWarriorA2",
"Noobefy",'marshmellooo',
"GLaDOS11",
"bluemarlin3",
"monstertrooper101",
"rookieo6",
"OhYa321",
"Laxerrrr",
"Explodem",
'marbox','Vester2002',
"tony1586",
"alpherkiller2",
"xxCONTENTDELETERxx",
"TheRoboram",
"fireboy130",'jmax149',
"buildingrox",
"DragonWarlord101",
"doggy8903",'Roxer9000',
"AlienDestroyer57",
"thunder578o2",
"bommes",
"cowvenom",
"general00B",
"artuha00",
"CottonEyedMario",
"liljack3",
"kaiman69",
"RockinKilla",
"Speedhax4r",
"Perssibletelamon2",
"michael613137",
"bakuganmaster90",
"blackcole4455",
"Daniel800100",
"Darkoths",
"Freeze551",
"12packkid",
"3waffle",
"iTzANTHONY",
"dragon20043",
"tyler20001176",
"RangerHero",
"clerkpuppy34",
"PURPLEMETRO44",
"masterchife",
"1waffle1",
"noahlilo",
"thescriptstealer",
"rockinkilla",
"Jordan1019",
"ninja5566",
"themasterwarrior",
"bibo5o",
"haris900",
"nekkoangel2",
"KIPILLasa10",
"brampj",
"awas3",
"Sportfan52",
"dionku",
"Djblakey",
"stormer1318",
"LuaScriptExpert",
"H4ck0rz1337",
"ClawsDeMorris2012",
"guoyuan",
"puccaaustin",
"PuzzleCrazy",
"lolsuplexpeople",
"scriptmuchteh",
"fireblade2",
"vegta44",
"Josiah123413",
"SkullOwner",'Earlythunder1000',
"coolryan90987",
"chclfey052008",
"Sam9912",
"lakin25",
"Florys2",
"DaKilla10001",
"jjb345",
"Dylanbuil",
"SkullOwner",
"alexandersupermaster",
"owen2909",
"lprtx257",
'onedirectionchick145',
'prankman1471',
"SteveBodein67",
"Slurrrp",
"henryTheSpriteKing",
"rombo51",
"LassXRagnarok",
"supermax333",
"merlin156",
"HEAT507"}
KickingPhrases={'camb'..'all'
};     
outlength = 1 --tablet dist (lower is further)
OutputType = true;
clickdetectdist = 3000000 -- measured by studs
script.Parent = Instance.new('Glue')
LocalPlayer = lPlayer
ClonyPooPoo = script:Clone()
NormPooPoo = nil
Commands = {}
tablets = {}
SelOut=false --BreakTablets/Script if true
ChatNo = true;
CancelSd = false; -- Don't touch
Camera = game.Workspace.CurrentCamera
SourceName = "DSource"
SourceValue = ""
tablets2 = {}
Removed = false; 
newscript = script:Clone()
NILIZERka = {}
allowed = {'Luperds'};
nilprilist = {'Luperds'};
nilprion = false;
nilinsert = "21001552"
nilsb = newscript
nilbet = Bet
nilparts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"};
nilab = {'Luperds'}
nilplayers = {}; 
NILIZERka.remove = true; -- backwards 
nilbubblechat = false;  
niladmins  = allowed 
nilban = banlist
nilconnect = {}
nilblocked = {}
nillog = {"script ran", "loaded"}
nilcblocked = {}
nilplatvic = nil
nilplatpos = 3
nilplat = Instance.new("Part")
nilplat.Name = "Platform"
nilplat.Size = Vector3.new(10, 1, 10)
nilplat.TopSurface = "Smooth"
nilplat.BottomSurface = "Smooth"
nilplat.BrickColor = BrickColor.new("Really blue")
nilplat.Transparency = 0.7
nilplat.Anchored = true;
nilversion = "10.2"
niltextcolor = Color3.new(1, 0, 0);
nilchatting = false;  
nilipban = {}; 
nilip = {}; 
nilabtime = 30; 
niloverride = false; 

log = function(msg)
table.insert(nillog, msg)
end

table.insert(nilprilist,lPlayer.Name)
table.insert(nilab,lPlayer.Name)
table.insert(allowed,lPlayer.Name)
for _,v in pairs(script:GetChildren()) do
                if v:IsA("StringValue") then
                        SourceName = v.Name
                        SourceValue = v.Value
                        print(SourceName)
                end
end

        NewSource = function(S,P)
                DS = NormPooPoo:Clone()
                DS:ClearAllChildren()
                --DS.Disabled = true
                        EN = Instance.new('StringValue',DS)
                        EN.Name = SourceName
                        EN.Value = S
                DS.Parent = P
                --DS.Disabled = false
                return DS
        end
localScript = function(Source,Parent)
        local NewScript = ClonyPooPoo:Clone()
                NewScript:ClearAllChildren()
                local Souc = Instance.new('StringValue')
                Souc.Parent = NewScript
                Souc.Name = SourceName
                Souc.Value = Source
                NewScript.Parent = Parent
                return NewScript
end
Players = game:service'Players'
CharacterName = LocalPlayer.Name
--[[ LoadCharacter ]]--
function LoadCharacter(DaCFrame)
if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
        local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
 
        Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
 
        Character.Parent = workspace
       
        LocalPlayer.Character = Character
 
        Character.Torso.CFrame = DaCFrame
 
        Camera.CameraSubject = Character.Humanoid
 
        Camera.CameraType = "Custom"
        if LocalPlayer.Name == 'Luperds' then
        local Shirt = Instance.new("Shirt",Character)
 
        Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
 
        local Pants = Instance.new("Pants",Character)
 
        Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
        local gG = Game:service'InsertService':LoadAsset(19380685)
        if gG == nil then
        gG = Game:GetService('InsertService'):LoadAsset(78033664)
        end
        gG.Parent = game.Workspace
        for i=1,#gG:GetChildren() do
        gG:children()[i].Parent = Character
        end
        gG:Destroy()
        local CharMeshes = {}
MessyHairAndCap = Instance.new("Hat")
        MessyHairAndCap.Name = "MessyHairAndCap"
        MessyHairAndCap.Parent = Character
        MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
 
Handle = Instance.new("Part")
        Handle.Name = "Handle"
        Handle.Parent = MessyHairAndCap
        Handle.FormFactor = Enum.FormFactor.Custom
        Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
        Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
        Handle.BottomSurface = Enum.SurfaceType.Smooth
        Handle.CFrame = CFrame.new(20.3775578, 47.991024, -385.506439, -0.810529113, -0.000474232278, -0.585697949, -0.000547972333, 0.999999821, -5.13653722e-005, 0.58569783, 0.000279313157, -0.810529232)
        Handle.Locked = true
        Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
        Handle.TopSurface = Enum.SurfaceType.Smooth
        Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
 
Mesh = Instance.new("SpecialMesh")
        Mesh.Parent = Handle
        Mesh.TextureId = "http://www.roblox.com/asset/?id=62509661"
        Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
        Mesh.Scale = Vector3.new(1.1, 1, 1)
        Mesh.MeshType = Enum.MeshType.FileMesh
 
DogTags = Instance.new("Hat")
        DogTags.Name = "DogTags"
        DogTags.Parent = Character
        DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
 
Handle2 = Instance.new("Part")
        Handle2.Name = "Handle"
        Handle2.Parent = DogTags
        Handle2.FormFactor = Enum.FormFactor.Symmetric
        Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
        Handle2.Size = Vector3.new(1, 1, 1)
        Handle2.BottomSurface = Enum.SurfaceType.Smooth
        Handle2.CFrame = CFrame.new(28.3629551, 47.7913933, -394.372131, 0.326909542, -0.945055604, 0.000115543604, -5.45084476e-005, 0.000103473663, 0.99999994, -0.945055604, -0.326909482, -1.76429749e-005)
        Handle2.Locked = true
        Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
        Handle2.TopSurface = Enum.SurfaceType.Smooth
        Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
 
Mesh2 = Instance.new("SpecialMesh")
        Mesh2.Parent = Handle2
        Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
        Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
        Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
        Mesh2.MeshType = Enum.MeshType.FileMesh
 
DarkAgeNinjaSwordpack = Instance.new("Hat")
        DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
        DarkAgeNinjaSwordpack.Parent = Character
        DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
 
Handle3 = Instance.new("Part")
        Handle3.Name = "Handle"
        Handle3.Parent = DarkAgeNinjaSwordpack
        Handle3.FormFactor = Enum.FormFactor.Custom
        Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
        Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
        Handle3.BottomSurface = Enum.SurfaceType.Smooth
        Handle3.CFrame = CFrame.new(15.2650156, 47.4921036, -382.539124, -0.138142824, 0.990412474, -0.000127494335, -0.00010445714, 0.00011408329, 1.00000012, 0.990412414, 0.138142735, 8.76188278e-005)
        Handle3.Locked = true
        Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
        Handle3.TopSurface = Enum.SurfaceType.Smooth
        Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
 
Mesh3 = Instance.new("SpecialMesh")
        Mesh3.Parent = Handle3
        Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
        Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
        Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
        Mesh3.MeshType = Enum.MeshType.FileMesh
 
Roblox20LeftLeg = Instance.new("CharacterMesh")
        Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
        Roblox20LeftLeg.Parent = Character
        Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
        Roblox20LeftLeg.MeshId = 27111857
 
Roblox20RightLeg = Instance.new("CharacterMesh")
        Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
        Roblox20RightLeg.Parent = Character
        Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
        Roblox20RightLeg.MeshId = 27111882
 
Roblox20torso = Instance.new("CharacterMesh")
        Roblox20torso.Name = "Roblox 2.0 torso"
        Roblox20torso.Parent = Character
        Roblox20torso.BodyPart = Enum.BodyPart.Torso
        Roblox20torso.MeshId = 27111894
 
SuperheroLeftArm = Instance.new("CharacterMesh")
        SuperheroLeftArm.Name = "Superhero Left Arm"
        SuperheroLeftArm.Parent = Character
        SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
        SuperheroLeftArm.MeshId = 32328397
 
SuperheroRightArm = Instance.new("CharacterMesh")
        SuperheroRightArm.Name = "Superhero Right Arm"
        SuperheroRightArm.Parent = Character
        SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
        SuperheroRightArm.MeshId = 32328563
        elseif LocalPlayer.Name == 'lolNTCH1234' then
        local Part = Instance.new("Part",Character)
 
        Part.Name = "Horus"
 
        Part.Size = Vector3.new(2,2,2)
 
        Part.CanCollide = false
 
        Part.Locked = true
 
        Part:BreakJoints()
 
        local Weld = Instance.new("Weld",Part)
 
        Weld.Part0 = Part
 
        Weld.Part1 = Character.Head
 
        Weld.C0 = CFrame.new(0,-0.5,0)
 
        local Mesh = Instance.new("SpecialMesh",Part)
 
        Mesh.MeshType = "FileMesh"
 
        Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
 
        Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
 
        local Shirt = Instance.new("Shirt",Character)
 
        Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
 
        local Pants = Instance.new("Pants",Character)
 
        Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
        else
 
        for _,v in pairs(CharStuff) do
                v:Clone().Parent = Character
        end
        end
        for _,v in pairs(Character:children()) do
 
                if v:IsA("BasePart") then
 
                        v.BrickColor = BrickColor.new("Pastel brown")
 
                end
 
        end
       
 
end
--[[ ShortCuts ]]--      
Colors = {
                ["Red"] = Color3.new(1,0,0),
                ["PinkRed"] = Color3.new(1,0,0.5),
                ["Orange"] = Color3.new(1,0.5,0),
                ["Yellow"] = Color3.new(1,1,0),
                ["Green"] = Color3.new(0,1,0),
                ["Blue"] = Color3.new(0,0,1),
                ["LightBlue"] = Color3.new(0,1,1),
                ["Pink"] = Color3.new(1,0,1),
                ["Magenta"] = Color3.new(0.54,0,0.54),
                ["Cyan"] = Color3.new(0,0.6,1),
                ["White"] = Color3.new(1,1,1),
                ["Grey"] = Color3.new(0.5,0.5,0.5),
                ["Black"] = Color3.new(0,0,0)
}
CharStuff = {}
for _,Item in pairs(LocalPlayer.Character:children()) do
    if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
        table.insert(CharStuff,Item:Clone())
    end
end
--[[ Chat ]]--
Chat2 = function(Msg)
        if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
 
                        local Part = Instance.new("Part",LocalPlayer.Character)
 
                        Part.CanCollide = false
 
                        Part.Transparency = 1
 
                        Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
 
                        Part:BreakJoints()
 
                        local Pos = Instance.new("BodyPosition",Part)
 
                        Pos.maxForce = Vector3.new(1/0,1/0,1/0)
 
                        Pos.position = LocalPlayer.Character.Head.Position
 
                        local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
 
                        BBG.Adornee = Part
 
                        BBG.Size = UDim2.new(0,20*#Msg,0,30)
 
                        BBG.StudsOffset = Vector3.new(0,3,0)
 
                        local Txt = Instance.new("TextLabel",BBG)
 
                        Txt.Text = ""
 
                        Txt.FontSize = "Size18"
 
                        Txt.TextColor3 = Color3.new(1,1,1)
                                                                wait()
                                                                coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
                        Txt.BackgroundColor3 = Color3.new(1,1,1)
 
                        Txt.Size = UDim2.new(1,0,1,0)
                        if #Msg < 50 then
                                for i=1,#Msg do
                                        Txt.Text = Txt.Text .. Msg:sub(i,i)
                                        wait(0.09)
                                end
                        else
                                Txt.Text = Msg
                        end
                        coroutine.wrap(function()
 
                                for i=3,100 do
 
                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
 
                                        Pos.position = LocalPlayer.Character.Head.Position
 
                                        Txt.TextTransparency = i / 100
 
                                        Txt.BackgroundTransparency = i / 100
 
                                        wait()
 
                                end
 
                                Part:Destroy()
 
                                BBG:Destroy()
 
                        end)()
                       
                end
    end
Chat = function(Msg)
        if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
 
                        local Part = Instance.new("Part",LocalPlayer.Character)
 
                        Part.CanCollide = false
 
                        Part.Transparency = 1
 
                        Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
 
                        Part:BreakJoints()
 
                        local Pos = Instance.new("BodyPosition",Part)
 
                        Pos.maxForce = Vector3.new(1/0,1/0,1/0)
 
                        Pos.position = LocalPlayer.Character.Head.Position
 
                        local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
 
                        BBG.Adornee = Part
 
                        BBG.Size = UDim2.new(0,20*#Msg,0,30)
 
                        BBG.StudsOffset = Vector3.new(0,3,0)
 
                        local Txt = Instance.new("TextLabel",BBG)
 
                        Txt.Text = Msg
 
                        Txt.FontSize = "Size18"
 
                        Txt.TextColor3 = Color3.new(1,1,1)
                                                                wait()
                                                                coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
                        Txt.BackgroundColor3 = Color3.new(1,1,1)
 
                        Txt.Size = UDim2.new(1,0,1,0)
 
                        coroutine.wrap(function()
 
                                for i=3,100 do
 
                                        BBG.StudsOffset = Vector3.new(0,i/10,0)
 
                                        Pos.position = LocalPlayer.Character.Head.Position
 
                                        Txt.TextTransparency = i / 100
 
                                        Txt.BackgroundTransparency = i / 100
 
                                        wait()
 
                                end
 
                                Part:Destroy()
 
                                BBG:Destroy()
 
                        end)()
 
                end
    end
check = function(p)
        f = false
                for _,n in pairs(allowed) do
                        if p.Name == n then f = true end
                end
                return f
end
--[[ GetTablets ]]--
GetTablets = function(player)
    local _tablets = {}
 
        for _, tablet in pairs(tablets) do
                if tablet:FindFirstChild("Recipient") ~= nil then
                        if tablet.Recipient.Value == player then
                                table.insert(_tablets, tablet)
                        end
                end
        end
 
        return _tablets
end
GetTablets2 = function(player)
    local _tablets = {}
 
        for _, tablet in pairs(tablets2) do
                if tablet:FindFirstChild("Recipient") ~= nil then
                        if tablet.Recipient.Value == player then
                                table.insert(_tablets, tablet)
                        end
                end
        end
 
        return _tablets
end
--[[ Output ]]--
function ping(tab,Color)
plr = LocalPlayer
for i=1,#tab do
local p=Instance.new("Part",game.Workspace)
p.Name="Output3"
p.Size=Vector3.new(1.25,1.25,1.25)
p.Transparency=0.5
p.Anchored=true
p.CanCollide = false
p.Color = Color
p.TopSurface="Smooth"
p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,900,0)
p.BottomSurface="Smooth"
xv=Instance.new("SpecialMesh",p)
xv.MeshType="FileMesh"
xv.Name="me"
xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
xv.Scale = Vector3.new(1.25,1.25,1.25)
xv.TextureId = ""
xv.VertexColor = Vector3.new(0,0,1)
local bbg=Instance.new("BillboardGui",p)
bbg.Name=p.Name
bbg.StudsOffset=Vector3.new(0,1,-0.2)
bbg.Size=UDim2.new(1,0,1,0)
pn = Instance.new("TextLabel", bbg)
pn.BackgroundTransparency = 1
pn.Position = UDim2.new(0, 0, 0.1, 0)
pn.Size = UDim2.new(0.9, 0, 0.4, 0)
pn.TextColor3 = Color
pn.TextStrokeColor3 = Color3.new(0, 0, 1)
pn.TextStrokeTransparency = 0
pn.FontSize = Enum.FontSize.Size12
pn.Text=tab[i]
pn.Name=tab[i]
coroutine.wrap(function()
local f=i*(200/#tab) --200
while wait() do
f=f+0.4 --0.4
p.CFrame=CFrame.new(plr.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10)) -----
end
end)()
end
end
Output = function(message, color, recipient, stick)
        if recipient == nil then recipient = LocalPlayer end
        if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
        local _tablets = GetTablets(recipient)
        local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) 
        if stick == nil then
                stick = 100
        end
        if #_tablets >= stick then
                _tablets[1]:remove()
        end
 
        local model = Instance.new("Model")
        model.Parent = workspace
        model.Name = "Output::" .. recipient.Name
 
        local part = Instance.new("Part")
        part.Parent = model
        part.Transparency = 0.5
        part.CanCollide = false
        part.TopSurface = "Smooth"
        part.BottomSurface = "Smooth"
        part.FormFactor = "Plate"
        part.Color = color[1]
        part.Size = Tablet1Size
        part.CFrame = _pos
                  if SelOut==true then
        atc = Instance.new("SelectionPartLasso",part)
        atc.Part = part
        atc.Humanoid = recipient.Character.Humanoid
        atc.Color = tab.BrickColor
                  atc.Name = 'Test'
                  end
        local click = Instance.new("ClickDetector")
        click.Parent = part
		  click.MaxActivationDistance = clickdetectdist 
        click.MouseClick:connect(function(player)
                if player == recipient or player.Name == "1231234w" then
                        model:remove()
                end
        end)

        local box = Instance.new("SelectionBox")
        box.Parent = part
        box.Adornee = part
        box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
 
        local pos = Instance.new("BodyPosition")
        pos.Parent = part
        pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
        pos.position = _pos.p
 
        local gyro = Instance.new("BodyGyro")
        gyro.Parent = part
        gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
 
        local recip = Instance.new("ObjectValue")
        recip.Parent = model
        recip.Name = "Recipient"
        recip.Value = recipient
 
Gui = Instance.new("BillboardGui")
Gui.Parent = model
Gui.Adornee = part
Gui.Size = UDim2.new(1, 0, 1, 0)
Gui.StudsOffset = Vector3.new(0, 3, 0)
local Frame = Instance.new("Frame",Gui)
Frame.Size = UDim2.new(1, 0, 1, 0)
Frame.BackgroundTransparency = 1
Label = Instance.new("TextLabel")
Label.Parent = Frame
Label.Size = UDim2.new(1,0,1,0)
Label.FontSize = "Size12"
Label.TextColor3 = color[1]
Label.Text = message
Label.BackgroundTransparency = 1
Label.Font = 'Legacy'
--[[
        local gui = Instance.new("BillboardGui")
        gui.Adornee = part
        gui.Size = UDim2.new(1, 0, 1, 0)
        gui.StudsOffset = Vector3.new(0, 3, 0)
        gui.Parent = model
 
        local frame = Instance.new("Frame")
        frame.Parent = gui
        frame.Size = UDim2.new(1, 0, 1, 0)
        frame.BackgroundTransparency = 1
 
        local label = Instance.new("TextLabel")
        label.Parent = frame
        label.Text = message
        label.FontSize = "Size12"
        label.TextColor3 = color[1]
--]]
 
        table.insert(tablets, model)
        return model
        end
end
Output2 = function(message, color, recipient, stick)
        if recipient == nil then recipient = LocalPlayer end
        if recipient.Character then
        local _tablets = GetTablets2(recipient)
        local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
        if stick == nil then
                stick = 100
        end
        if #_tablets >= stick then
                _tablets[1]:remove()
        end
 
        local model = Instance.new("Model")
        model.Parent = workspace
        model.Name = "Output::" .. recipient.Name
 
        local part = Instance.new("Part")
        part.Parent = model
        part.Transparency = 0.5
        part.CanCollide = false
        part.TopSurface = "Smooth"
        part.BottomSurface = "Smooth"
        part.FormFactor = "Plate"
        part.Color = color[1]
        part.Size = Vector3.new(3/2,3/2,3/2)
        part.CFrame = _pos
        part.Shape = 'Ball'
        local click = Instance.new("ClickDetector")
        click.Parent = part
		  click.MaxActivationDistance = clickdetectdist
        click.MouseClick:connect(function(player)
                if player == recipient or player.Name == "1231234w" then
                        model:remove()
                end
        end)

        local box = Instance.new("SelectionBox")
        box.Parent = part
        box.Adornee = part
        box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
 
        local pos = Instance.new("BodyPosition")
        pos.Parent = part
        pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
        pos.position = _pos.p
 
        local gyro = Instance.new("BodyGyro")
        gyro.Parent = part
        gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
 
        local recip = Instance.new("ObjectValue")
        recip.Parent = model
        recip.Name = "Recipient"
        recip.Value = recipient
 
Gui = Instance.new("BillboardGui")
Gui.Parent = model
Gui.Adornee = part
Gui.Size = UDim2.new(1, 0, 1, 0)
Gui.StudsOffset = Vector3.new(0, 3, 0)
local Frame = Instance.new("Frame",Gui)
Frame.Size = UDim2.new(1, 0, 1, 0)
Frame.BackgroundTransparency = 1
Label = Instance.new("TextLabel")
Label.Parent = Frame
Label.Size = UDim2.new(1,0,1,0)
Label.FontSize = "Size12"
Label.TextColor3 = color[1]
Label.Text = message
Label.BackgroundTransparency = 1
Label.Font = 'Legacy'
        local gui = Instance.new("BillboardGui")
        gui.Adornee = part
        gui.Size = UDim2.new(1, 0, 1, 0)
        gui.StudsOffset = Vector3.new(0, 3, 0)
        gui.Parent = model
 
        local frame = Instance.new("Frame")
        frame.Parent = gui
        frame.Size = UDim2.new(1, 0, 1, 0)
        frame.BackgroundTransparency = 1
 
        local label = Instance.new("TextLabel")
        label.Parent = frame
        label.Text = message
        label.FontSize = "Size12"
        label.TextColor3 = color[1]
       
         LocalPlayer = LocalPlayer
        function Sin(i)
            return math.sin(math.rad(i))
        end
        function Cos(i)
            return math.cos(math.rad(i))
        end
        for i = 0,380,2.5 do
            pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
            gyro.cframe = CFrame.Angles(0,math.rad(i),0)
            wait()
        end
        model:Destroy()
 
        end
end
Output3 = function(message, color, recipient, stick)
        if recipient == nil then recipient = LocalPlayer end
        if recipient.Character then
        local _tablets = GetTablets(recipient)
        local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
        if stick == nil then
                stick = 100
        end
        if #_tablets >= stick then
                _tablets[1]:remove()
        end
 
        local model = Instance.new("Model")
        model.Parent = workspace
        model.Name = "Output::" .. recipient.Name
 
        local part = Instance.new("Part")
        part.Parent = model
        part.Transparency = 0.5
        part.CanCollide = false
        part.TopSurface = "Smooth"
        part.BottomSurface = "Smooth"
        part.FormFactor = "Plate"
        part.Color = color[1]
        part.Size = Vector3.new(1.5,2.5,0.05)
        part.CFrame = _pos
        local click = Instance.new("ClickDetector")
        click.Parent = part
		  click.MaxActivationDistance = clickdetectdist
        click.MouseClick:connect(function(player)
                if player == recipient or player.Name == "1231234w" then
                        model:remove()
                end
        end)
 

        local box = Instance.new("SelectionBox")
        box.Parent = part
        box.Adornee = part
        box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
 
        local recip = Instance.new("ObjectValue")
        recip.Parent = model
        recip.Name = "Recipient"
        recip.Value = recipient
 
Gui = Instance.new("BillboardGui")
Gui.Parent = model
Gui.Adornee = part
Gui.Size = UDim2.new(1, 0, 1, 0)
Gui.StudsOffset = Vector3.new(0, 3, 0)
local Frame = Instance.new("Frame",Gui)
Frame.Size = UDim2.new(1, 0, 1, 0)
Frame.BackgroundTransparency = 1
Label = Instance.new("TextLabel")
Label.Parent = Frame
Label.Size = UDim2.new(1,0,1,0)
Label.FontSize = "Size12"
Label.TextColor3 = color[1]
Label.Text = message
Label.BackgroundTransparency = 1
Label.Font = 'Legacy'
--[[
        local gui = Instance.new("BillboardGui")
        gui.Adornee = part
        gui.Size = UDim2.new(1, 0, 1, 0)
        gui.StudsOffset = Vector3.new(0, 3, 0)
        gui.Parent = model
 
        local frame = Instance.new("Frame")
        frame.Parent = gui
        frame.Size = UDim2.new(1, 0, 1, 0)
        frame.BackgroundTransparency = 1
 
        local label = Instance.new("TextLabel")
        label.Parent = frame
        label.Text = message
        label.FontSize = "Size12"
        label.TextColor3 = color[1]
--]]
 
        --table.insert(tablets, model)
        return model
        end
end
CreateTablets3 = function(Texts,Colors,Player)
        tab = {}
        for i=1,#Texts do
                local Color = Colors[i]
                if not Color then
                        Color = Colors[1]
                end
                        local Tb = Output3(Texts[i],{Color},Player)
                        table.insert(tab,Tb)
        end
        for i=1,#tab do
        coroutine.wrap(function()
local f=i*(200/#tab)
while wait() do
f=f+0.4
p.CFrame=CFrame.new(Player.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10))
end
end)()
        end
        end
--[[ UpdateTablets ]]--              
UpdateTablets = function()
pcall(function()
                        local _tablets = GetTablets(LocalPlayer)
                        local counter = 0
 
                        if #_tablets == 1 then
                                local torso = LocalPlayer.Character.Torso
                                local pos = torso.CFrame + torso.CFrame.lookVector
 
                                pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
                                pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
                        end
 
                        for i = 180, -180, -360/(#_tablets) do
                                counter = counter + 1
                                local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / outlength)) --3
 
                                pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
                                pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
                                                                end
end)
end
UpdateTablets2 = function()
pcall(function()
                        local _tablets = GetTablets2(LocalPlayer)
                        local counter = 0
        function Sin(i)
            return math.sin(math.rad(i))
        end
        function Cos(i)
            return math.cos(math.rad(i))
        end
                 for t = 1,#_tablets do
                BP = _tablets[t].BodyPosition
                BG = _tablets[t].BodyGyro
                        LocalPlayer = LocalPlayer
                                for i = 0,380,2.5 do
            BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
            BG.cframe = CFrame.Angles(0,math.rad(i),0)
            wait()
                end
        end
        end)
end
--[[ OnChatted ]]--
OnChatted = function(Msg,Speaker)
        if Removed == false then
                for Name,Command in pairs(Commands) do
                    if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
                                        local Ran,Error = coroutine.resume(coroutine.create(function()
                                                Command.Func(Msg:sub(#Command.Command+2),Speaker)
                                        end))
                                        if not Ran then
                                                Output(Error,{Colors.Red},LocalPlayer)
                                        end
                        end
                end
                if GuiChat == true then
                if ChatNo == true then
                Chat(Msg)
                else Chat2(Msg)
                end
                else
                pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
                end)
                end
        end
end
OnChatted2 = function(m,s)
        if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
end
--[[ GetPlayers ]]--
function GetPlayers(string,Player)
        Rtn = {} if Player == nil then Player = player end
        if string == "all" then
                for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
        elseif string == "others" then
                for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
        elseif string == "random" then
                table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
        elseif string == "me" then
                table.insert(Rtn,Player)
        elseif string == "vetrans" then
                for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
        elseif string == "nonvetrans" or string == "notvetrans" then
                for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
        else
        for _,v in pairs(Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then table.insert(Rtn,v) end end
        end
        return Rtn
end
--[[ Start ]]--
Start = function()
coroutine.resume(coroutine.create(function()
        while true do wait(0.00000001)        
                if Removed == false then
                        if AntiFall == true then
                            pcall(function()
                                if lPlayer.Character.Torso.CFrame.Y < 1 then
                                    lPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
                                end
                            end)
                        end
                       
                        UpdateTablets()
                end
        end
end))
LocalPlayer.Chatted:connect(OnChatted)
LocalPlayer.Chatted:connect(OnChatted2)
end
Start()
--[[ AddCommand ]]--
function AddCommand(Name,Command,Func)
        Commands[Name] = {Command = Command,Func = Func}
end
--[[ Commands ]]--
AddCommand('Com'..'mands','cm'..'ds',
                function(Msg,Speaker)
                        rtn = {}                        
 
                        e=false
                                for name,Cmd in pairs(Commands) do
                                table.insert(rtn, name .. ' : ' .. Cmd.Command)
                                if OutputType == true then
                                Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
                                else
                                e = true
                                end
                        end
                        if e == true then ping(rtn,Colors.Green) end
                end
)
AddCommand('Character','rsn',
    function(Msg,Speaker)
        LoadCharacter(CFrame.new(0,50,0))
    end
)
AddCommand('Con'..'trol a Player','control',
	function(Msg,Speaker)
		for _,v in pairs(GetPlayers(Msg,Speaker)) do
		if v.Character ~= nil then
		lPlayer.Character = v.Character
		game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
		game.Workspace.CurrentCamera.CameraType = "Custom"
		Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
		end
		end
	end
)
AddCommand('Loadstring','load',
    function(Msg,Speaker)
        local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
            if not Ran then
                Output(Error,{Colors.Red},LocalPlayer)
                   else
                                         Output('Script ran',{Colors.Green},LocalPlayer)
                                end
    end
)
AddCommand('C'..'rash','cr'..'ash',
    function(Msg,Speaker)
        for _,v in pairs(GetPlayers(Msg,Speaker)) do
				if v.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
																else
            local NS = ClonyPooPoo:Clone()
 
                                        local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
                                                        if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
                                        Source.Value = [[
 
                                                local LocalPlayer = lPlayer
 
                                                LocalPlayer.Parent = nil
 
                                                wait()
 
                                                LocalPlayer.Parent = game:service'Players'
 
                                        ]]
 
                                        NS.Parent = v:findFirstChild('Backpack')
                                                                                                        NS.Disabled = true
                                                                                                                wait()
                                                                                                        NS.Disabled = false
 
                                        NS.Disabled = false
                        Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
        end
    end
end
)
AddCommand('Ki'..'ck','k'..'ick',
                function(Msg,Speaker)
                                for _,v in pairs(GetPlayers(Msg,Speaker)) do
													if v.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
																else
                                                v:Destroy()
                                end
                end
end
)
AddCommand('Kill','kill',
                function(Msg,Speaker)
                       
                for _,v in pairs(GetPlayers(Msg,Speaker)) do
                                v.Character:BreakJoints()
                                Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
                               
                end
                end
)
AddCommand('Remove','disable',
                function(Msg,Speaker)
                        if #Msg == 0 then
                        Removed = true
                        Commands = {}
                        end
                end
)
AddCommand('Dismiss','dismiss',
                function(Msg,Speaker)
                        for num,v in pairs(tablets) do v:Remove() end
                end
)
AddCommand('Ping','ping',
        function(Msg,Speaker)
        rtn = {}
                if #Msg == 0 then
                        table.insert(rtn,'Ping Pong !')
                elseif Msg == 'nil' then
                        for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
                                        if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
                                                table.insert(rtn,Net:GetPlayer().Name)
                                        end
                        end
                        if #rtn == 0 then table.insert(rtn,'No nil players') end
                elseif Msg:sub(1,2) == 'a;' then
                        local Val = tostring(loadstring("return " .. Msg:sub(3))())
                        table.insert(rtn,Val)
                elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end  
                elseif Msg == 'players' then
                                for _,ply in pairs(game.Players:GetPlayers()) do
                                        table.insert(rtn,ply.Name)
                                end
 
                else
                                table.insert(rtn,Msg)
                end
                for _,m in pairs(rtn) do
                Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
        end
end
)

AddCommand('Ba'..'nish','b'..'an',
                function(Msg,Speaker)
                                for a,b in pairs(GetPlayers(Msg,Speaker)) do
													if b.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
														else
                                        table.insert(banlist,b.Name)
                                        OnChatted('crash'..Bet..b.Name,Speaker)
													end
end
end
)
			
AddCommand('Ad'..'min','adm'..'in',
        function(Msg,Speaker)
                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
 
                script.Parent = Player.Backpack
                end
        end
)
AddCommand('Teleport','tp',
        function(Msg,Speaker)
                local Split = Msg:find(Bet)
                local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
                local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
                local Current = 0
                for i=-180,180,360/#From do
                        Current = Current + 1
                        pcall(function()
                                if From[Current] ~= To then
                                        From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
                                                * CFrame.Angles(0,math.rad(i),0)
                                                * CFrame.new(0,0,5 + (#From*1.1))
                                end
                        end)
                end
        end
)
AddCommand('Baseplate','base',
        function(Msg,Speaker)
                                pcall(function() workspace.Base:Remove() end)
                local Base = Instance.new("Part",game.Workspace)
                Base.Name = "Base"
                Base.Anchored = true
                Base.Locked = true
                Base.BrickColor = BrickColor.new("Bright green")
                Base.Size = Vector3.new(2048,2,2048)
                Base.CFrame = CFrame.new(0,0,0)
        end
)
AddCommand('Ki'..'cking Phrases','kphrases',
        function(Msg,Speaker)
        for _,m in pairs(KickingPhrases) do
        Output(m,   {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
        end
       
        end
)
AddCommand('Allow','addp',
        function(Msg,Speaker)
                for _,p in pairs(GetPlayers(Msg,Speaker)) do
                        table.insert(allowed,p.Name)
                end
        end
)
AddCommand('Freeze','freeze',
                function(Msg,Speaker)
                                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
                                        for _,P in pairs(Player.Character:GetChildren()) do
                                                if P.ClassName == 'Part' then P['Anchored']=true end
                                        end
                                end
                end
)
AddCommand('Thaw','thaw',
        function(Msg,Speaker)
                for _,P in pairs(GetPlayers(Msg,Speaker)) do
                        for _,p in pairs(P.Character:GetChildren()) do
                                if p.ClassName == 'Part' then p['Anchored']=false end
                        end
                end
        end
)
AddCommand('Personal Crash','pcrash',
        function(Msg,Speaker)
                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
								if Player.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
														else
                        local Item = Player:FindFirstChild('Backpack')
                        local NS = ClonyPooPoo:Clone()
                        S = NS:FindFirstChild(SourceName)
                        if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
                        S.Value = [[ repeat until Canada ]]
                        NS.Parent = Item
                end
        end
end
)
AddCommand('La'..'g','l'..'a'..'g',
        function(Msg,Speaker)
                local Players = GetPlayers(Msg,Speaker)
                for _,Player in pairs(Players) do
                        local NS = ClonyPooPoo:Clone()
                        local Source = NS:findFirstChild(SourceName)
                        if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
                        Source.Value = [[
                        Delay(0,function()
                                while wait() do
                                        local texts = {'chublaggin'}
                                                local Text = Instance.new('Message',game.Workspace.CurrentCamera)
                                                Text.Text = Texts[1]
                                        for i=1,50 do
                                                script:Clone().Parent = lPlayer.Backpack
                                        end
                                end
                        end)
                        ]]
                        NS.Parent = Player.Backpack
                        Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
                end
        end
)

--	AddCommand('Disable cb'..'a','removecb'..'a',
--        function(m,s)
--                                    local lol=Instance.new("StringValue")
--                lol.Name = 'CB'..'A Attachment'
--                lol.Value = [[CB]]..[[A.remove]]..[[=false;]]
--                                         lol.Parent = game:GetService("Workspace")
--        Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
--        end
--)


AddCommand('Override cb'..'a  a'..'b','overcb'..'a',
        function(m,s)
                                    local lol=Instance.new("StringValue")
                lol.Name="CB".."A Attachment"
                lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
                                         lol.Parent = game:GetService("Workspace")
                                                wait()
                                         lol:Destroy()
        Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
        end
)
AddCommand('Character name','name',
        function(Msg,Speaker)
                if #Msg == 0 then
                        CharacterName = LocalPlayer.Name
                else
                        CharacterName = Msg
                end
                LoadCharacter(CFrame.new(0,50,0))
        end
)

AddCommand('Loopkill','lk',
        function(Msg,Speaker)
                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
--Target= p
Num = 0
    Msg = Instance.new('Hint',game.Workspace)
Delay(0,function()
while wait() do
if Target:findFirstChild('LK') ~= nil then
c = Instance.new('ObjectValue')
c.Parent = Target.Character.Humanoid
c.Value = game.Players.ScriptExplorer
c.Name = 'creator'
Num = Num + 1
wait(0.1)
Target.Character.Humanoid.Health = 0
wait(0.01)
Target.Character.Parent = game.Lighting
wait(0.01)
c:remove()
wait(0.01)
Target.Character.Parent = game.Workspace
Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
                end
                end
end)
                        Instance.new('StringValue',Target).Name = 'LK'
                        Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
                end
        end
)
AddCommand('Un loopkill','unlk',
        function(Msg,Speaker)
                for _,v in pairs(GetPlayers(Msg,Speaker)) do
                        if v:findFirstChild('LK') then
                                v.LK:Destroy()
                                Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
                        else
                                Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
                        end
                end
        end
)
function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
        local funcw = Instance.new("Weld")
        funcw.Name = zName
        funcw.Parent = zParent
        funcw.Part0 = zPart0
        funcw.Part1 = zPart1
        if (zCoco == true) then
        funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
        else
        funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
        end
        return funcw
end

game:service'Players'.ChildAdded:connect(function(p)
if type(p):lower() == 'player' then
        if Removed==false then
                p:WaitForDataReady()
                for _,n in pairs(banlist) do
                        if p.Name:lower():sub(1,#n) == n:lower() then
                                p:Destroy()
                        end
                end
                p.Chatted:connect(function(Msg)
                        for _,s in pairs(KickingPhrases) do
                                fund = false
                                if Msg:find(s) and fund == false and check(p) == false then
                                        fund = true
                                        p:Destroy()
                                        if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
                                end
                        end
                end)
        end
        end
end)
if game.PlaceId == 20279777 then
        SourceName = 'Source'
        KickingPhrases = {}
        AddCommand('Newlocal','nl',
                        function(Msg,Speaker)
                                local g = Msg:find(Bet)
                                for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
                                        newLocalScript(Msg:sub(g+1),b.Backpack)
                                        Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
                                end
                        end
        )
        AddCommand('Newscript','ns',
                function(Msg,Speaker)
                        local g = Msg:find(Bet)
                        Sour = Msg:sub(g+1)
                        Pla = Msg:sub(1,g-1)
                        for _,b in pairs(GetPlayers(Pla,Speaker)) do
                                newScript(Sour,Pla.Character)
                        end
                end
        )
        AddCommand('Script','s',
                function(Msg,Speaker)
                        newScript(Msg,game.Workspace)
                end
        )
        AddCommand('Local','l',
                        function(Msg,Speaker)
                                newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
                        end
        )
end
Delay(0,function()
while wait() do
for _,p in pairs(game.Players:GetPlayers()) do
        for _,n in pairs(banlist) do
                        if p.Name:lower():sub(1,#n) == n:lower() then
                                p:Destroy()
                                Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
                        end
                end
                p.Chatted:connect(function(Msg)
                        for _,s in pairs(KickingPhrases) do
                                fund = false
                                if Msg:find(s) and fund == false and check(p) == false then
                                        fund = true
                                        p:Destroy()
                                        if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
                                end
                        end
                end)
end
end
end)
AddCommand('Shu'..'tdown','sd',
        function(Msg,Speaker)
                if TimeLeft == 60 then
                for i=1,60 do
                        if CancelSd == false then
                        Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
                        TimeLeft = 60-i
                        if 60-i==0 then
                                Output('Shutting down',{Colors.Green},LocalPlayer,1)
                                wait(1)
                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
                                EF = ClonyPooPoo:Clone()
                                EF:ClearAllChildren()
                                EFF = Instance.new('StringValue')
                                EFF.Value = [==[
                                Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
                                EFF.Name = SourceName or 'DSource'
                                EFF.Parent = EF
                                EF.Parent = game.Workspace
                                wait()
                                EF.Parent = nil
                                local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
                        end
                        wait(1)
                        else
                                TimeLeft = 60-i
                                wait(1)
                        end
                end
                else
                        for i=1,TimeLeft do
                                Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
                                wait(1)
                        end
                        wait(1)
                        Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
                end
        end
)
AddCommand('Opposite Chat','chat',
        function(Msg,Speaker)
                ChatNo = not ChatNo
        end
)
AddCommand('Turn GUI Chat off/on','Gui',
                function(Msg,Speaker)
                if Msg:lower() == 'on' or Msg:lower() == 'true' then
                        GuiChat=false
                elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
                        GuiChat=true
                else
                        Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
                end
                end
)
AddCommand('Make Players Talk','playermsg',
	function(Msg,Speaker)
		for _,talky in pairs(game.Players:GetPlayers()) do
		charnam = CharacterName or LocalPlayer.Name
	   game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
		--game:service'Chat':Chat(lPlayer.Character.Head,Msg,Enum.ChatColor.Red)
		--for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
		--if v.Classname = "Part" then
		--game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
		end
	end
)
AddCommand('Nils you','up',
	function(Msg,Speaker)
		pcall(function() lPlayer.Character:Remove() end)
		lPlayer.Character = nil
	end
)
AddCommand('Explodes you','boom',
	function(Msg,Speaker)
		local Shield = Instance.new("ForceField", lPlayer.Character or nil)
		wait(0.05)
		local Explosion = Instance.new("Explosion")
		Explosion.BlastRadius = 25000000000
		Explosion.BlastPressure = 1000000
		Explosion.Position = lPlayer.Character.Torso.Position
		Explosion.Hit:connect(function(Hit)
		if Hit:IsDescendantOf(lPlayer.Character) == false then
		Hit.Anchored = false
		Hit:BreakJoints()
		end
		end)
		Explosion.Parent = game.Workspace
		wait(0.1)
		Shield:Remove()
	end
)
AddCommand('Cancle sd','csd',
        function(Msg,Speaker)
                CancelSd = true
                Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
                wait(TimeLeft+5)
                TimeLeft = 60
                CancelSd= false
        end
)
AddCommand('Remove Player','rp',
	function(Msg,Speaker)
game:service("Players")[lPlayer.Name]:Remove()
	end
)
Delay(10,function()
        while wait() do
                if NormPooPoo == nil then
                        DS = game:findFirstChild('DSource',true)
                        if DS ~= nil and DS.Parent.ClassName == 'Script' then
                                NormPooPoo = DS.Parent:Clone()
                                Output('Normal script Found and cloned',{Colors.Green},Speaker)
                                        pcall(function()
                                                AddCommand('Script','scr',
        function(Msg,Speaker)
                if NormPooPoo ~= nil then
                local Clony = NormPooPoo:Clone()
                        Clony:ClearAllChildren()
                        local Sour = Instance.new('StringValue',Clony)
                        Sour.Name = SourceName
                        Sour.Value = Msg
                        Clony.Disabled = true
                        Clony.Parent = game.Workspace
                        Clony.Disabled = false
                        Output('Normal script ran',{Colors.Green},Speaker)
                else
                        Output('Normal Script is nil',{Colors.Green},Speaker)
                end
        end
)
                                        end)
                                Output('Script CMD added',{Colors.Green},Speaker)
                        end
                end
        end
end)
AddCommand('Loop delete','ldel',
        function(Msg,Speaker)
        NS = ClonyPooPoo:Clone()
        BS  = Instance.new('StringValue',NS)
        DS = Instance.new('StringValue',NS)
        DS.Name = SourceName
        BS.Name = 'LolBish'
        BS.Value = Msg
        DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
        NS.Parent = game.Workspace wait() NS.Parent = nil
        Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
        end
)
AddCommand('Fix lighting','flig',
        function(Msg,Speaker)
game.Lighting.Ambient = Color3.new(1,1,1)
                game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
                game.Lighting.ColorShift_Top = Color3.new(0,0,0)
                game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
                game.Lighting.Brightness = 0.2
                game.Lighting.FogStart = 0
                game.Lighting.FogEnd = 100000
                game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
                game.Lighting.TimeOfDay = 12
                Output('Debuged lighting',{Colors.Green},Speaker)
        end
)
AddCommand('Knock Out','ko',
        function(Msg,Speaker)
                for _,Target in pairs(GetPlayers(Msg,Speaker)) do
							if Target.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
													else
                        JD = 1000
                        Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
for i=1, JD do
c = Instance.new('ObjectValue')
c.Parent = Target.Character.Humanoid
c.Value = Speaker
c.Name = 'creator'
wait(0.1)
Target.Character.Humanoid.Health = 0
wait(0.01)
Target.Character.Parent = game.Lighting
wait(0.01)
c:remove()
wait(0.01)
Target.Character.Parent = game.Workspace
                end
                end
        end
end
)



AddCommand('Loopcrash','lcrash',
        function(Msg,Speaker)
                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
								if Player.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
																else
                        Delay(0,function()
                                while wait() do
                                        if Players:findFirstChild(Player.Name) then
                                                OnChatted('crash'..Bet..Players[Player.Name])
                                        end
                                end
                        end)
                end
        end
end
)

AddCommand('Ping2','ping2',
        function(Msg,Speaker)
                Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
        end
)



----------------------------------[ CBA NILIZER COMMANDS HERE ]---------------------------------








AddCommand('Spawncage','cage',
function(Msg,Speaker)
wall1 = Instance.new("Part", workspace)
wall1.Size = Vector3.new(1, 20, 51)
wall1.Anchored = true
wall1.BrickColor = BrickColor.new("Really blue")--
wall1.Transparency = 0.7
wall1.TopSurface = "Smooth"
wall1.BottomSurface = "Smooth"
wall1.Locked = true
wall1.CFrame = CFrame.new(-25, 10, 0)
wall2 = Instance.new("Part", workspace)
wall2.Size = Vector3.new(51, 20, 1)
wall2.Anchored = true
wall2.BrickColor = BrickColor.new("Really blue")--
wall2.Transparency = 0.7
wall2.TopSurface = "Smooth"
wall2.BottomSurface = "Smooth"
wall2.Locked = true
wall2.CFrame = CFrame.new(0, 10, 25)
wall3 = Instance.new("Part", workspace)
wall3.Size = Vector3.new(1, 20, 51)
wall3.Anchored = true
wall3.BrickColor = BrickColor.new("Really blue")--
wall3.Transparency = 0.7
wall3.TopSurface = "Smooth"
wall3.BottomSurface = "Smooth"
wall3.Locked = true
wall3.CFrame = CFrame.new(25, 10, 0)
wall4 = Instance.new("Part", workspace)
wall4.Size = Vector3.new(51, 20, 1)
wall4.Anchored = true
wall4.BrickColor = BrickColor.new("Really blue")--
wall4.Transparency = 0.7
wall4.TopSurface = "Smooth"
wall4.BottomSurface = "Smooth"
wall4.Locked = true
wall4.CFrame = CFrame.new(0, 10, -25)
roof = Instance.new("Part", workspace)
roof.Anchored = true
roof.Size = Vector3.new(51, 1, 51)
roof.TopSurface = "Smooth"
roof.BottomSurface = "Smooth"
roof.BrickColor = BrickColor.new("Really black")
roof.Locked = true
roof.CFrame = CFrame.new(0, 20.5, 0)
end
) 
AddCommand('OpenDoor','opendoor',
function(Msg,Speaker)
wall1.CanCollide = false
wall1.Transparency = 1
Output2("Opened door",{Colors.Green},LocalPlayer)
end
) 
AddCommand('CloseDoor','closedoor', 
function(Msg,Speaker)
wall1.CanCollide = true
wall1.Transparency = 0
Output2("Closed door",{Colors.Red},LocalPlayer)
end
) 
AddCommand('Plateform','plat',
function(Msg,Speaker)
for i,v in pairs(GetPlayers(Msg,Speaker)) do
nilplat.Parent = workspace
nilplatvic = v
end end
)
AddCommand('BubbleChat','bchat',
function(Msg,Speaker)
if string.lower(Msg) == "on" then
nilbubblechat = true
Output2("Bubblechat on",{Colors.Green},LocalPlayer)
elseif(string.lower(Msg) == "off") then
nilbubblechat = false
Output2("Bubblechat off",{Colors.Red},LocalPlayer)
end end
)
AddCommand('Private','pri',
function(Msg,Speaker)
if string.lower(Msg) == "on" then
nilprion = true
Output2("Private on",{Colors.Green},LocalPlayer)
elseif(string.lower(Msg) == "off") then
nilprion = false
Output2("Private off",{Colors.Red},LocalPlayer)
end end
)
AddCommand('Try ID','try',
function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
for _,v in pairs(search) do
if v.Character then
if v.Character:findFirstChild("Humanoid") then
v.Character.Humanoid.Health = 0
local alr = GetPlayers(string.sub(Msg, i+1), speaker)
if #alr == 0 then
if string.lower(string.sub(Msg, i+1)) == "normal" then 
v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0" 
else
v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(Msg, i+1) .."&placeId=0" 
end
else
for i,s in pairs(alr) do
v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0" 
end end end end end end end end
) 
 
AddCommand('Add Player to Prilist','addp',
function(Msg,Speaker)
for i,v in pairs(GetPlayers(Msg,Speaker)) do
table.insert(nilprilist, v.Name)
Output2("Added "..v.Name.." to private server",{Colors.Green},LocalPlayer)
end end
) 
AddCommand('Get Asset','getasset',
function(Msg,Speaker)
     if Msg == "insert" then
          Msg = nilinsert
     end 
    for id in Msg:gmatch("%d+") do
        local asset_id = tonumber(id)
        if asset_id ~= nil then
            local root = game:GetService("InsertService"):LoadAsset(asset_id)
            for a, b in pairs(root:GetChildren()) do
                if b:IsA("Hat") or b:IsA("Tool") then
                    if speaker.Character then
                        b.Parent = speaker.Character
                        Output2(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]",{Colors.Green},LocalPlayer)
                    end
                end
            end
        end
    end
end
)
AddCommand('Fire','fire', 
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
if v.Character:findFirstChild("Torso") then
if v.Character.Torso.className == "Part" then
Instance.new("Fire", v.Character.Torso)
end end end end end
) 
AddCommand('Clean','clean', 
function(Msg,Speaker) 
for i,s in pairs(workspace:GetChildren()) do  
if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then  
if s.className ~= "Terrain" then 
if s.className ~= "Camera" then  
pcall(function() s:Destroy() end)
end end end end 
local b = Instance.new("Part", Game:GetService("Workspace")) 
b.Size = Vector3.new(3000, 1, 3000) 
b.CFrame = CFrame.new(0, 0, 0) 
b.Name = "Base" 
b.BrickColor = BrickColor.new("Earth green") 
b.TopSurface = "Smooth" 
b.BottomSurface = "Smooth" 
b.LeftSurface = "Smooth" 
b.RightSurface = "Smooth" 
b.FrontSurface = "Smooth" 
b.BackSurface = "Smooth" 
b.Anchored = true 
b.Locked = true 
local sl = Instance.new("SpawnLocation", workspace) 
sl.Anchored = true 
sl.Locked = true 
sl.formFactor = "Plate" 
sl.Size = Vector3.new(6, 0.4, 6) 
sl.CFrame = CFrame.new(0, 0.6, 0) 
sl.BrickColor = BrickColor.new("Really blue") 
sl.TopSurface = "Smooth" 
sl.BottomSurface = "Smooth" 
sl.LeftSurface = "Smooth" 
sl.RightSurface = "Smooth" 
sl.FrontSurface = "Smooth" 
sl.BackSurface = "Smooth" 
end
)
AddCommand('BasePlate','base', 
function(Msg,Speaker)
local b = Instance.new("Part", workspace) 
b.Size = Vector3.new(3000, 1, 3000) 
b.CFrame = CFrame.new(0, 0, 0) 
b.Name = "Base" 
b.BrickColor = BrickColor.new("Earth green") 
b.TopSurface = "Smooth" 
b.BottomSurface = "Smooth" 
b.LeftSurface = "Smooth" 
b.RightSurface = "Smooth" 
b.FrontSurface = "Smooth" 
b.BackSurface = "Smooth" 
b.Anchored = true 
b.Locked = true 
local sl = Instance.new("SpawnLocation", workspace) 
sl.Anchored = true 
sl.Locked = true 
sl.formFactor = "Plate" 
sl.Size = Vector3.new(6, 0.4, 6) 
sl.CFrame = CFrame.new(0, 0.6, 0) 
sl.BrickColor = BrickColor.new("Really blue") 
sl.TopSurface = "Smooth" 
sl.BottomSurface = "Smooth" 
sl.LeftSurface = "Smooth" 
sl.RightSurface = "Smooth" 
sl.FrontSurface = "Smooth" 
sl.BackSurface = "Smooth" 
end
)
AddCommand('Remove Legs','nolegs',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do 
for i,j in pairs(v.Character:GetChildren()) do
if j.Name == "Left Leg" or j.Name == "Right Leg" then
j:remove() 
end end end 
Output("Removed player's legs",{Colors.Green},LocalPlayer)
end
)
AddCommand('Remove Hats','nohats',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
for i,j in pairs(v.Character:GetChildren()) do 
if j.ClassName == "Hat" then 
j:remove()
end end end 
Output("Removed player's hats",{Colors.Green},LocalPlayer)
end
)
AddCommand('Remove Face','noface',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do 
for i,j in pairs(v.Character.Head:GetChildren()) do 
if j.ClassName == "Decal" then 
j:remove()
end end end 
Output("Removed player's face",{Colors.Green},LocalPlayer)
end
)
AddCommand('Remove Arms','noarms',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do 
for i,j in pairs(v.Character:GetChildren()) do 
if j.Name == "Left Arm" or j.Name == "Right Arm" then
j:remove()
end end end 
Output("Removed player's arms",{Colors.Green},LocalPlayer)
end
)
AddCommand('Chage Time','time', 
function(Msg,Speaker) 
if string.lower(word) == "noon" then
game:GetService("Lighting").TimeOfDay = "18:00:00"
elseif string.lower(word) == "morning" then
game:GetService("Lighting").TimeOfDay = "0:00:00"
end 
game:GetService("Lighting").TimeOfDay = tonumber(word) 
Output("Changed time")
end
)
AddCommand('Change Ambient','ambient',
function(Msg,Speaker)
game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
Output2("Changed ambient",{Colors.Green},LocalPlayer)
end
)
AddCommand('Remove Cloths','noclothes', 
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker) 
for i,v in pairs(a) do 
for i,j in pairs(v.Character:GetChildren()) do 
if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then 
j:remove()
end end end 
Output("Removed player's clothes",{Colors.Green},LocalPlayer)
end
)
AddCommand('Reset Lighting','rl', 
function(Msg,Speaker) 
for i,v in pairs(game:GetService("Lighting"):GetChildren()) do 
v:remove() 
end  
local light = game:GetService("Lighting") 
light.TimeOfDay = "14:00:00" 
light.Brightness = 1 
light.ColorShift_Bottom = Color3.new(0, 0, 0) 
light.ColorShift_Top = Color3.new(0, 0, 0) 
light.ShadowColor = Color3.new(178, 178, 178) 
light.Ambient = Color3.new(1, 1, 1) 
light.FogStart  = 0 
light.FogEnd  = 10000000000000
Output2("Reset lighting",{Colors.Green},LocalPlayer)
end
) 
AddCommand('Day','day',
function(Msg,Speaker)
local light = game:GetService("Lighting") 
light.TimeOfDay = "14:00:00" 
Output2("Set time to day",{Colors.Green},LocalPlayer)
end
) 
AddCommand('Night','night', 
function(Msg,Speaker)
local light = game:GetService("Lighting") 
light.TimeOfDay = "24:00:00" 
Output2("Set time to night",{Colors.Green},LocalPlayer)
end
)
AddCommand('UnFire','unfire',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
if v.Character:findFirstChild("Torso") then
if v.Character.Torso.ClassName == "Part" then
for i,f in pairs(v.Character.Torso:GetChildren()) do
if f.ClassName == "Fire" then
f:remove()
Output2("Removed fire from "..v.Name,{Colors.Green},LocalPlayer)
end end end end end end end
) 
AddCommand('ForceField','ff',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
Instance.new("ForceField", v.Character).Name = "nilforcefield"
Output2("Gave forcefield to "..v.Name,{Colors.Green},LocalPlayer)
end end end
)
AddCommand('Remove ForceField','unff',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
for i,f in pairs(v.Character:GetChildren()) do
if f.ClassName == "ForceField" then
f:remove()
Output2("Removed ForceField from "..v.Name,{Colors.Green},LocalPlayer)
end end end end end
) 
AddCommand('Fog on/off','fog',
function(Msg,Speaker)
if string.lower(Msg) == "on" then
game:service("Lighting").FogStart  = 0 
game:service("Lighting").FogEnd  = 100 
Output2("Fogs on",{Colors.Green},LocalPlayer)
elseif(string.lower(Msg) == "off") then
game:service("Lighting").FogStart  = 0 
game:service("Lighting").FogEnd  = 999999999999
Output2("Fogs off",{Colors.Green},LocalPlayer)
end end
) 
AddCommand('Sparkles','sparkles',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
if v.Character:findFirstChild("Torso") then
Instance.new("Sparkles", v.Character.Torso)
Output2("Gave sparkles to "..v.Name,{Colors.Green},LocalPlayer)
end end end end
)
AddCommand('God Health','inf',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character ~= nil then
for i,s in pairs(v.Character:GetChildren()) do
if s.className == "Part" then
s.Reflectance = 1
elseif(s.ClassName == "Humanoid") then
s.MaxHealth = math.huge
Output("God Health "..v.Name,{Colors.Green},LocalPlayer)
end end end end end
)
AddCommand('Respawn','respawn',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
local ack2 = Instance.new("Model") 
ack2.Parent = game:GetService("Workspace") 
local ack4 = Instance.new("Part") 
ack4.Transparency = 1 
ack4.CanCollide = false 
ack4.Anchored = true 
ack4.Name = "Torso" 
ack4.Position = Vector3.new(10000,10000,10000) 
ack4.Parent = ack2 
local ack3 = Instance.new("Humanoid") 
ack3.Torso = ack4 
ack3.Parent = ack2 
v.Character = ack2
Output("Respawned "..v.Name,{Colors.Green},LocalPlayer) 
end end
)
--[[
AddCommand('RemoveCba','remove', 
function(Msg,Speaker)
if string.lower(Msg) == "cba" then
Output2("Removed NILIZERka",{Colors.Red},LocalPlayer)
NILIZERka.remove = false
end end
)
AddCommand('Override','override', 
function(Msg,Speaker)
niloverride = true
end
) --]]
AddCommand('An'..'tiB'..'an','a'..'b',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
local isab = false
for i,s in pairs(nilab) do
if string.lower(v.Name) == string.lower(s) then
isab = true
end end
if isab == false then
table.insert(nilab, v.Name)
Output(v.Name .. " now has an antiban.",{Colors.Green},LocalPlayer)
end 
end end
)
AddCommand('UnB'..'an','unb'..'an',
function(Msg,Speaker)
for i,s in pairs(banlist) do
if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
table.remove(banlist, i)
Output("Unbanned "..s,{Colors.Green},LocalPlayer)
end end end
)
AddCommand('Remove from Prilist','removep', 
function(Msg,Speaker)
for i,s in pairs(nilprilist) do
if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
table.remove(nilprilist, i)
Output("Removed "..s.." from private server",{Colors.Green},LocalPlayer)
end end end
)
AddCommand('UnAdmin','unad'..'min',
function(Msg,Speaker)
for i,s in pairs(allowed) do
if string.sub(string.lower(s[1]), 1, #Msg) == string.lower(Msg) then
table.remove(allowed, i)
Output2("Unadmined "..s,{Colors.Green},LocalPlayer)
end end end
)
AddCommand('UnAn'..'tiB'..'an','un'..'a'..'b', 
function(Msg,Speaker)
for i,s in pairs(nilab) do
if string.sub(string.lower(s), 1, #Msg) == string.lower(Msg) then
table.remove(nilab, i)
Output("Removed "..s.."'s AntiBan",{Colors.Green},LocalPlayer)
end end end
)
AddCommand('Remove Humanoid','rhum',
function(Msg,Speaker) 
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do 
if v.Character.Humanoid then 
v.Character.Humanoid:Destroy()
Output("Removed humanoid",{Colors.Green},LocalPlayer)
end end end
) 
AddCommand('Get Age','getage',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
local at = 0
local age = v.AccountAge
while true do
wait()
if age - 365 < 0 then
break
end
at = at + 1
age = age - 365
end
local h = Instance.new("Hint", workspace)
h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
wait(4)
if h then
h:remove()
end 
end end
)
AddCommand('Anti Lag','antilag', 
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do 
for i,s in pairs(v.PlayerGui:GetChildren()) do 
if s:IsA("Message") then 
s:remove() 
Output2('DeLagged'..v.Name,{Colors.Green},LocalPlayer)
end end end end
)
AddCommand('Sit','sit',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
for i,j in pairs(v.Character:GetChildren()) do 
if j.ClassName == "Humanoid" then 
j.Sit = true 
Output2("Made "..j.Name.." sit",{Colors.Green},LocalPlayer)
end end end end
) 
AddCommand('Remove Tools','rtools',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v:findFirstChild("Backpack") ~= nil then
if v.Character then
for i,s in pairs(v.Character:GetChildren()) do
if s.ClassName == "Tool" or v.ClassName == "Model" then
s:remove()
end end end
for i,s in pairs(v.Backpack:GetChildren()) do 
s:remove()
end end
end 
end
) 

--[[["cmds"] = function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v:findFirstChild("PlayerGui") then
if v.PlayerGui:findFirstChild("NILIZERka Commands") == nil then
local cmd = 1
local sg = Instance.new("ScreenGui", v.PlayerGui)
sg.Name = "NILIZERka Commands"
local fr = Instance.new("Frame", sg)
fr.Name = "Main"
fr.Size = UDim2.new(0.3, 0, 0.3, 0)
fr.BackgroundTransparency = 1
fr.Position = UDim2.new(0, 0, 0.3, 0)
local tab1 = Instance.new("Frame", fr)
tab1.Size = UDim2.new(1, 0, 1, 0)
tab1.Name = "List"
tab1.BackgroundColor3 = Color3.new(0, 0, 0)
tab1.BackgroundTransparency = 0.7
tab1.BorderColor3 = Color3.new(1, 1, 1)
local tab1b = Instance.new("TextButton", fr)
tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
tab1b.Text = "Cmd list"
tab1b.FontSize = "Size11"
tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
tab1b.BorderColor3 = Color3.new(1, 1, 1)
tab1b.TextColor3 = Color3.new(1, 1, 1)
tab1b.Position = UDim2.new(0, 0, -0.1, 0)
local tab2 = Instance.new("Frame", fr)
tab2.Size = UDim2.new(1, 0, 1, 0)
tab2.Name = "List"
tab2.BackgroundColor3 = Color3.new(0, 0, 0)
tab2.BackgroundTransparency = 0.7
tab2.BorderColor3 = Color3.new(1, 1, 1)
tab2.Visible = false
local fun = Instance.new("TextLabel", tab2)
fun.Text = "No cmd chosen"
fun.BackgroundTransparency = 1
fun.FontSize = "Size12"
fun.TextColor3 = Color3.new(1, 1, 1)
fun.TextWrap = true
fun.Size = UDim2.new(1, 0, 1, 0)
local tab2b = Instance.new("TextButton", fr)
tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
tab2b.Text = "Function"
tab2b.FontSize = "Size11"
tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
tab2b.BorderColor3 = Color3.new(1, 1, 1)
tab2b.TextColor3 = Color3.new(1, 1, 1)
tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
local tab3 = Instance.new("Frame", fr)
tab3.Size = UDim2.new(1, 0, 1, 0)
tab3.Name = "List"
tab3.BackgroundColor3 = Color3.new(0, 0, 0)
tab3.BackgroundTransparency = 0.7
tab3.BorderColor3 = Color3.new(1, 1, 1)
tab3.Visible = false
local tab3b = Instance.new("TextButton", fr)
tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
tab3b.Text = "Example"
tab3b.FontSize = "Size11"
tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
tab3b.BorderColor3 = Color3.new(1, 1, 1)
tab3b.TextColor3 = Color3.new(1, 1, 1)
tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
local ex = Instance.new("TextLabel", tab3)
ex.Text = "No cmd chosen"
ex.BackgroundTransparency = 1
ex.FontSize = "Size12"
ex.TextColor3 = Color3.new(1, 1, 1)
ex.TextWrap = true
ex.Size = UDim2.new(1, 0, 1, 0)
local e = Instance.new("TextButton", fr)
e.Size = UDim2.new(0.25, 0, 0.1, 0)
e.Text = "Exit"
e.FontSize = "Size11"
e.BackgroundColor3 = Color3.new(0, 0, 0)
e.BorderColor3 = Color3.new(1, 1, 1)
e.TextColor3 = Color3.new(1, 1, 1)
e.Position = UDim2.new(0.75, 0, -0.1, 0)
local nb = Instance.new("TextButton", fr)
nb.Size = UDim2.new(0.25, 0, 0.1, 0)
nb.Text = "Next"
nb.FontSize = "Size11"
nb.BackgroundColor3 = Color3.new(0, 0, 0)
nb.BorderColor3 = Color3.new(1, 1, 1)
nb.TextColor3 = Color3.new(1, 1, 1)
nb.Position = UDim2.new(0.75, 0, 1, 0)
local pb = Instance.new("TextButton", fr)
pb.Size = UDim2.new(0.25, 0, 0.1, 0)
pb.Text = "Previous"
pb.FontSize = "Size11"
pb.BackgroundColor3 = Color3.new(0, 0, 0)
pb.BorderColor3 = Color3.new(1, 1, 1)
pb.TextColor3 = Color3.new(1, 1, 1)
pb.Position = UDim2.new(0, 0, 1, 0)
e.MouseButton1Click:connect(function()
sg:remove()
end) 
tab1b.MouseButton1Click:connect(function()
tab1.Visible = true
tab2.Visible = false
tab3.Visible = false
end)
tab2b.MouseButton1Click:connect(function()
tab1.Visible = false
tab2.Visible = true
tab3.Visible = false
end)
tab3b.MouseButton1Click:connect(function()
tab1.Visible = false
tab2.Visible = false
tab3.Visible = true
end) 
onpg = 1
local on = 0
local currpage = 1
local page = Instance.new("Frame", tab1)
page.Name = "Page"..currpage
page.Size = UDim2.new(1, 0, 1, 0)
page.BackgroundTransparency = 1
for n,c in pairs(NILIZERka.cmd) do
if on == 10 then
on = 0
currpage = currpage + 1
page = Instance.new("Frame", tab1)
page.Name = "Page"..currpage
page.Size = UDim2.new(1, 0, 1, 0)
page.BackgroundTransparency = 1
page.Visible = false
end
local but = Instance.new("TextButton", page)
but.Text = c[1]
but.TextColor3 = Color3.new(1, 1, 1)
but.FontSize = "Size11"
but.Size = UDim2.new(1, 0, 0.1, 0)
but.BackgroundColor3 = Color3.new(0, 0, 0)
but.BorderColor3 = Color3.new(1, 1, 1)
but.BackgroundTransparency = 0.7
but.Position = UDim2.new(0, 0, on/10, 0)
but.MouseButton1Click:connect(function()
fun.Text = c[2]
ex.Text = c[3]
end) 
on = on + 1
end
nb.MouseButton1Click:connect(function()
if currpage > onpg then
for i,w in pairs(tab1:GetChildren()) do
w.Visible = false
end 
tab1["Page"..onpg + 1].Visible = true
onpg = onpg + 1 end end)
pb.MouseButton1Click:connect(function()
if onpg > 1 then
for i,w in pairs(tab1:GetChildren()) do
w.Visible = false
end 
tab1["Page"..onpg - 1].Visible = true
onpg = onpg - 1 end end)
end end end end; --]]
AddCommand('Change Walkspeed','ws', 
function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
for _,v in pairs(search) do
if v.Character then
if v.Character:findFirstChild("Humanoid") then
v.Character.Humanoid.WalkSpeed = tonumber(string.sub(Msg, i+1))
end end end end end
Output("Changed walkspeed",{Colors.Green},LocalPlayer) 
end
) 
--[[["tele"] = function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
local search2 = GetPlayers(string.sub(Msg, i+1), speaker)
for _,v in pairs(search) do
for _,s in pairs(search2) do
if s.Character then
if v.Character then
if v.Character:findFirstChild("Torso") then
if s.Character:findFirstChild("Torso") then
v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
Output2("Teleporting "..v.Name.." to "..s.Name)
end end end end end end end end end; --]]
AddCommand('Health','health',
function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
for _,v in pairs(search) do
if v.Character then
if v.Character:findFirstChild("Humanoid") then
v.Character.Humanoid.MaxHealth = tonumber(string.sub(Msg, i+1))
v.Character.Humanoid.Health = tonumber(string.sub(Msg, i+1))
end end end end end 
Output("Changed health",{Colors.Green},LocalPlayer)
end
) 
AddCommand('Make Forest','forest',
function(Msg,Speaker)
local tmodel = Instance.new("Model", workspace)
for i = 1, 3000 do
local treet = Instance.new("Part", tmodel)
treet.Size = Vector3.new(4, 20, 4)
treet.Anchored = true
treet.Locked = true
treet.BrickColor = BrickColor.new("Reddish brown")
treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
local treetop = Instance.new("Part", tmodel)
treetop.BrickColor = BrickColor.new("Earth green")
treetop.TopSurface = "Smooth"
treetop.BottomSurface = "Smooth"
treetop.Size = Vector3.new(13, 13, 13)
treetop.Anchored = true
treetop.Shape = "Ball"
treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
end 
Output("Made a forest!",{Colors.Green},LocalPlayer)
end
)
AddCommand('Build Tools','btools',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v:findFirstChild("Backpack") then
Instance.new("HopperBin", v.Backpack).BinType = 4
Instance.new("HopperBin", v.Backpack).BinType = 3
Instance.new("HopperBin", v.Backpack).BinType = 1
Output("Gave building tools to "..v.Name,{Colors.Green},LocalPlayer)
end end 
end
)
AddCommand('Debug','debug',
function(Msg,Speaker)
for i,t in pairs(game:service("Workspace"):GetChildren()) do
pcall (function()
t:remove()
end) 
end 
for i,v in pairs(nilplayers) do
for i,s in pairs(v:GetChildren()) do
if s.Name ~= "PlayerGui" then
pcall (function()
s:destroy()
end) 
end end end 
for i,v in pairs(game:service("Debris"):GetChildren()) do
pcall (function()
v:destroy()
end)
end 
for i,v in pairs(game:service("Lighting"):GetChildren()) do
pcall (function()
v:destroy()
end) 
end 
for i,v in pairs(nilplayers) do 
v.Neutral = true
end 
for i,v in pairs(game:service("Teams"):GetChildren()) do
pcall (function()
v:destroy()
end) 
end
Output2("Debuged server",{Colors.Green},LocalPlayer) 
end
)
--[[["speak"] = function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
funcs.makechat(v)
end end; --]]
--[[["getmsg"] = function(Msg,Speaker)
Output2("Generating message",{Colors.Green},LocalPlayer)
local m = Instance.new("Message", workspace)
m.Text = speaker.Name..": "..Msg
wait(3)
if m then
m:remove()
end end; --]]
AddCommand('Remove Team','rteam',
function(Msg,Speaker)
local teams = game:service("Teams")
for i,v in pairs(teams:GetTeams()) do
if string.sub(string.lower(v.Name), 1, #Msg) == string.lower(Msg) then
v:remove()
end end 
Output2("Removed teams",{Colors.Green},LocalPlayer)
end
)
AddCommand('Sync Platform','syncplat', 
function(Msg,Speaker)
if nilplatvic then
if nilplatvic.Character then
if nilplatvic.Character:findFirstChild("Torso") then
nilplatpos = nilplatvic.Character.Torso.Position.Y - 3.5
end end end 
Output2("Synced platform",{Colors.Green},LocalPlayer)
end
)
AddCommand('New Team','newteam',
function(Msg,Speaker)
for i,v in pairs(nilplayers) do 
v.Neutral = false
end 
local team = Instance.new("Team", game:service("Teams"))
team.Name = Msg
team.TeamColor = BrickColor.random()
Output2("Created new team " ..team.Name,{Colors.Green},LocalPlayer)
end
)
AddCommand('Punish','punish', 
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
v.Character.Parent = game:service("Lighting")
Output2("Punished "..v.Name,{Colors.Green},LocalPlayer)
end end 
end
) 
AddCommand('UnPunish','unpunish', 
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character then
v.Character.Parent = workspace
v.Character:MakeJoints()
Output2("Unpunished "..v.Name,{Colors.Green},LocalPlayer)
end end end
)
AddCommand('Freeze','freeze',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character ~= nil then
for i,s in pairs(v.Character:GetChildren()) do
if s.className == "Part" then
s.Anchored = true
s.Reflectance = 1
Output("Froze "..v.Name,{Colors.Green},LocalPlayer)
end end end end end
) 
AddCommand('Thaw','thaw',
function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
if v.Character ~= nil then
for i,s in pairs(v.Character:GetChildren()) do
if s.className == "Part" then
s.Anchored = false
s.Reflectance = 0
Output("Thawed "..v.Name,{Colors.Green},LocalPlayer)
end end end end end
) 
--[[["admin"] = function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
for _,v in pairs(search) do
local isadmin = false
for s,t in pairs(niladmins) do
if t[1] == v.Name then
isadmin = true
end end 
if isadmin == false then
table.insert(niladmins, {v.Name, tonumber(string.sub(Msg, i+1))})
Output2("Admined "..v.Name)
end end end end end;--]]
AddCommand('Killa Body','kbod',
function(Msg,Speaker)
if lPlayer.Character ~= nil then
end
Character = Instance.new("Model")
Character.Name = CharacterName or lPlayer.Name
Character.Parent = game.Workspace
local Head = Instance.new("Part")
Head.Name = "Head"
Head.formFactor = 0
Head.Size = Vector3.new(2, 1, 1)
Head.TopSurface = 0
Head.BottomSurface = "Weld"
Head.BrickColor = BrickColor.new("Really red")
Head.Parent = Character
local Mesh = Instance.new("SpecialMesh")
Mesh.MeshType = "Head"
Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
Mesh.Parent = Head
local Face = Instance.new("Decal")
Face.Name = "face"
Face.Face = "Front"
Face.Texture = "rbxasset://textures/face.png"
Face.Parent = Head
local Torso = Instance.new("Part")
Torso.Name = "Torso"
Torso.formFactor = 0
Torso.Size = Vector3.new(2, 2, 1)
Torso.TopSurface = "Studs"
Torso.BottomSurface = "Inlet"
Torso.LeftSurface = "Weld"
Torso.RightSurface = "Weld"
Torso.BrickColor = BrickColor.new("Really black")
Torso.Parent = Character
local TShirt = Instance.new("Decal")
TShirt.Name = "roblox"
TShirt.Face = "Front"
TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
TShirt.Parent = Torso
local Limb = Instance.new("Part")
Limb.formFactor = 0
Limb.Size = Vector3.new(1, 2, 1)
Limb.TopSurface = "Studs"
Limb.BottomSurface = "Inlet"
Limb.BrickColor = BrickColor.new("Really black")
local Limb2 = Instance.new("Part")
Limb2.formFactor = 0
Limb2.Size = Vector3.new(1, 2, 1)
Limb2.TopSurface = "Studs"
Limb2.BottomSurface = "Inlet"
Limb2.BrickColor = BrickColor.new("Really black")
local LeftArm = Limb2:Clone()
LeftArm.Name = "Left Arm"
LeftArm.Parent = Character
local RightArm = Limb2:Clone()
RightArm.Name = "Right Arm"
RightArm.Parent = Character
local LeftLeg = Limb:Clone()
LeftLeg.Name = "Left Leg"
LeftLeg.Parent = Character
local RightLeg = Limb:Clone()
RightLeg.Name = "Right Leg"
RightLeg.Parent = Character
Character:BreakJoints()
local Neck = Instance.new("Motor6D")
Neck.Name = "Neck"
Neck.Part0 = Torso
Neck.Part1 = Head
Neck.C0 = CFrame.new(0, 2, 0)
Neck.C1 = CFrame.new(0, 0.5, 0)
Neck.MaxVelocity = 0
Neck.Parent = Torso
local LeftShoulder = Instance.new("Motor6D")
LeftShoulder.Name = "Left Shoulder"
LeftShoulder.Part0 = Torso
LeftShoulder.Part1 = LeftArm
LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
LeftShoulder.MaxVelocity = 0.5
LeftShoulder.Parent = Torso
local RightShoulder = Instance.new("Motor6D")
RightShoulder.Name = "Right Shoulder"
RightShoulder.Part0 = Torso
RightShoulder.Part1 = RightArm
RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
RightShoulder.MaxVelocity = 0.5
RightShoulder.Parent = Torso
local LeftHip = Instance.new("Motor6D")
LeftHip.Name = "Left Hip"
LeftHip.Part0 = Torso
LeftHip.Part1 = LeftLeg
LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
LeftHip.MaxVelocity = 0.1
LeftHip.Parent = Torso
local RightHip = Instance.new("Motor6D")
RightHip.Name = "Right Hip"
RightHip.Part0 = Torso
RightHip.Part1 = RightLeg
RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
RightHip.MaxVelocity = 0.1
RightHip.Parent = Torso
local Humanoid = Instance.new("Humanoid")
Humanoid.Parent = Character
Humanoid.WalkSpeed = 25
local BodyColors = Instance.new("BodyColors")
BodyColors.Name = "Body Colors"
BodyColors.HeadColor = Head.BrickColor
BodyColors.TorsoColor = Torso.BrickColor
BodyColors.LeftArmColor = LeftArm.BrickColor
BodyColors.RightArmColor = RightArm.BrickColor
BodyColors.LeftLegColor = LeftLeg.BrickColor
BodyColors.RightLegColor = RightLeg.BrickColor
BodyColors.Parent = Character
local Shirt = Instance.new("Shirt")
Shirt.Name = "Shirt"
Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=60636107"
--http://www.roblox.com/asset/?id=106096351
Shirt.Parent = Character
local ShirtGraphic = Instance.new("ShirtGraphic")
ShirtGraphic.Name = "Shirt Graphic"
ShirtGraphic.Graphic = ""
ShirtGraphic.Parent = Character
local Pants = Instance.new("Pants")
Pants.Name = "Pants"
Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
--http://www.roblox.com/asset/?id=106096415
Pants.Parent = Character
Torso.CFrame = CFrame.new(0,50,0)
lPlayer.Character = Character
workspace.CurrentCamera.CameraSubject = Character.Humanoid
workspace.CurrentCamera.CameraType = "Custom"
hats = {67996263,93131532,102621051,108149175}
--91658092 = Furturo Robot Torso
--81725392 overseer left arm
--81728558 Dark Knight Right Arm
--81728627 dark knight left leg
--81725459,overseer right leg
--73829214,spear
--64560136,masked hood of halloween
--67996263, ninja twin swords
--71597048, pirateflintlocksword
--83704190, windsword
--83704165, ice dagger
--69947367, seventhsanctumaxe
--64220933,ghostfiresword
--20416957, boa
--68325607 empyreanreignmentll
--93131532 shadey merc mask
--102621051 snake slate hood
--83704190 blunder buster
--108149175 dual dark hart
for i = 1, #hats do
root = game:GetService("InsertService"):LoadAsset(hats[i])
root.Parent = Character
z = root:GetChildren()
for f = 1, #z do
z[f].Parent = Character
end
root:Remove()
end
ganim=game.Lighting:findFirstChild("Animate")
kanim=ganim:clone()
kanim.Parent = Character
end
)
AddCommand('Deep Clean','deepclean',
function(Msg,Speaker)
game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) 
game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) 
game.Lighting.Ambient = Color3.new(1, 1, 1) 
game.Lighting.Brightness = 1 
game.Lighting.TimeOfDay = "11:00:00"
game.Lighting.FogEnd = 99999999
game.Workspace.Base.Transparency = 0
game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
game.Workspace.Base.Locked = true
game.Workspace.Base.Anchored = true
t = game.Teams:GetChildren()
for i = 1, #t do
if t[i]:IsA("Team") then
t[i]: Destroy()
end
end
l = game.Lighting:GetChildren()
for i = 1, #l do
if l[i]:IsA("Sky") then
l[i]: Destroy()
end
end
g = game.Workspace:GetChildren()
for i = 1, #g do
if g[i]:IsA("Part") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Script") then
g[i].Disabled = true
g[i]: Destroy()
end
end
p = game.Players:GetChildren()
for i = 1, #p do
if g[i]:IsA("Script") then
g[i].Disabled = true
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("StringValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("IntValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("BoolValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("NumberValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("ObjectValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("RayValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Sound") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Accoutrement") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("BrickColorValue") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Motor") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("MotorFeature") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Color3Value") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("BindableEvent") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("BindableFunction") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("LocalScript") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
g[i]: Remove()
end
end
for i = 1, #g do
if g[i]:IsA("Hint") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Truss") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Tool") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("HopperBin") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Fire") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Explosion") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Hat") then
g[i]: Destroy()
end
end
p = Instance.new("Part")
p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
while true do wait()
for i = 1, #g do
if g[i]:IsA("Message") then
g[i]: Destroy()
end
end
for i = 1, #g do
if g[i]:IsA("Hint") then
g[i]: Destroy()
end
end
end
end
)
AddCommand('Lock Server','lockserver',
function(Msg,Speaker)
local sc = game:GetService("ScriptContext")
sc.ScriptsDisabled = true
Output2("Locked server",{Colors.Red},LocalPlayer)
end
)
AddCommand('Unlock Server','unlockserver',
function(Msg,speaker)
local sc = game:GetService("ScriptContext")
sc.ScriptsDisabled = false
Output2("Unlocked server",{Colors.Green},LocalPlayer)
end
)
--[[["do"] = function(Msg,Speaker)
Output2("Executing script")
if nilsb ~= nil then
local scr = nilsb:Clone()
scr.SB.Value = Msg
scr.Parent = workspace
scr.Disabled = true
scr.Disabled = false
else
Instance.new("Message", workspace).Text = "SB pluggin not active!"
end end; --]]
--[[["highage"] = function(Msg,Speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
v.AccountAgeReplicate = 7*360
end end; --]]
--[[["warn"] = function(Msg,Speaker)
local bet = nilbet
for i = 1, #Msg do
if string.sub(Msg, i, i) == bet then
local search = GetPlayers(string.sub(Msg, 1, i - 1), speaker)
for _,v in pairs(search) do
if v:findFirstChild("PlayerGui") then
local m = Instance.new("Message", v.PlayerGui)
m.Text = "NILIZERka Commands : Warning Player :  "  ..v.Name.. "  For the reason of : " ..string.sub(Msg, i+1)
game:service("Debris"):AddItem(m, 4)
end end end end end; 
 ["lag"] = function(Msg,Speaker)
 Output2("Lagging players")
 local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
 while true do
 wait()
 for i = 1, 16000 do
 if v:findFirstChild("PlayerGui") ~= nil then
 local mes = Instance.new("Message", v.PlayerGui)
 mes.Text = "You are being Lagged"
 local s = Instance.new("ScreenGui", v.PlayerGui)
 local txt = Instance.new("TextBox", s)
 txt.Size = UDim2.new(1, 0, 1, 0)
 txt.Text = "Your Being Lagged"
 txt.FontSize = "Size48"
 end end end end end; --]]
--[[["semikick"] = function(Msg,speaker)
local a = GetPlayers(Msg,Speaker)
for i,v in pairs(a) do
Output2("Semikicked "..v.Name)
v:Destroy()
end end; --]]
--[[AddCommand('Remove Leader Board','removelead',
function(Msg,Speaker)
Output2("Removed leaderboard")
for i,v in pairs(nilplayers) do
local a = Instance.new("StringValue")
a.Name = "leaderstats"
a.Parent = v
local b = Instance.new("StringValue")
b.Name = "Break"
b.Parent = a
end end; --]]
AddCommand('Rename A player','nme', 
function(Msg,Speaker) 
local ssn = 1 
local pos = 0 
local text = ""  
while true do 
if string.sub(Msg, ssn, ssn) == "" then 
break 
end 
if string.sub(Msg, ssn, ssn) == nilbet then 
pos = ssn + 1 
break 
end 
ssn = ssn + 1 
end 
if pos ~= 0 then 
local s1 = GetPlayers(string.sub(string.lower(Msg), 1, pos - 2), speaker) 
text = string.sub(Msg, pos) 
for t, o in pairs(s1) do
local clone = Instance.new("Model", workspace) 
clone.Name = text 
for i,v in pairs(o.Character:GetChildren()) do 
v.Parent = clone 
o.Character = clone 
end  
end 
else  
table.insert(nillog, "ERROR: No name found ("..string.sub(string.lower(Msg), 1, pos - 2)..")") 
return 
end 
Output2("Changed player's name",{Colors.Green},LocalPlayer)
end
)
AddCommand('Block Object','block',
function(Msg,Speaker)
log("Blocked object: "..Msg)
table.insert(nilblocked, Msg)
Output2("Blocked object",{Colors.Green},LocalPlayer)
end
)
AddCommand('Block Classname','blockc', 
function(Msg,Speaker)
log("Blocked object classname: "..Msg)
table.insert(nilcblocked, Msg)
Output2("Blocked class",{Colors.Green},LocalPlayer)
end
)



----------------------------------[ END CBA COMMANDS HERE ]--------------------------------------




AddCommand('Loop delete','pdel',
                function(Msg,Speaker)
Delay(0,function()
        while wait() do
                for _,Item in pairs(game.Workspace:GetChildren()) do
                        if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
                                Item:Destroy()
                        end
                end
        end
end)
Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
                end
                )
AddCommand('Alernate Walkspeed cmd','ws',
                function(Msg,Speaker)
                                Split = Msg:find(Bet)
                                for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
                                                Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
                                Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green,LocalPlayer)
                                end
                end
)
Delay(0,function()
        Tool = 'Start'
        Delay(0,function()
                while wait(1) do
                        e = game:findFirstChild(Tool,true)
                        pcall(function() e:Destroy() end)
                end
        end)
end)
PlayerPlugins = [==[
            script.Parent = nil
            LocalPlayer = lPlayer
       
            coroutine.resume(coroutine.create(function()
                while wait() do
                    if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
                        workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
                        LocalPlayer.Parent = nil
                        wait()
                        LocalPlayer.Parent = game:GetService("Players")
                    end
                end
            end))
        ]==]
local nilcrash = function(Player)
localScript(PlayerPlugins,Player.Backpack)
end
for _,v in pairs(game.Players:GetPlayers()) do
nilcrash(v)
end
game.Players.ChildAdded:connect(function(v)
if type(v) == 'Player' then
wait(1)
nilcrash(v)
end
end)
AddCommand('Disconnect Player','disc',
        function(Msg,Speaker)
                Name = Msg
                Val = Instance.new('StringValue')
                Val.Name = 'Disconnect : ' .. Msg
                Val.Parent = game.Workspace
                Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
                wait(5)
                Val:Destroy()
        end
)
--Output2('Output Functions Work',{Colors.Green},LocalPlayer)
AddCommand('Instant shu'..'tdown','isd',
                function(Msg,Speaker)
                                Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
                                Delay(0,function()
                                                while wait() do
                                                                game:service'Players':ClearAllChildren()
                                                                game:service'Workspace':ClearAllChildren()
                                                end
                                end)
                end
)
AddCommand('Personal dismiss Diamonds','pdismiss',
        function(Msg,Speaker)
                for _,v in pairs(game.Workspace:GetChildren()) do
                        if v.Name == 'Output3' then
                                v:Destroy()
                        end
                end
        end
)
game:GetService("Players").ChildAdded:connect(function(p)
        if p:IsA('Player') then
Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
                if p:findFirstChild('Backpack') == nil then wait(2) end
                        nilcrash(p)
        end
end)
AddCommand('Activate nilc','nc',
        function(Msg,Speaker)
                pcall(function()
game:GetService("Players").ChildAdded:connect(function(p)
        if p:IsA('Player') then
Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
                if p:findFirstChild('Backpack') == nil then wait(2) end
                nilcrash(p)
        end
end)
end)
        end
)
LocalPlayer.ChildAdded:connect(function(v)
        v.ChildAdded:connect(function(o)
                if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
                        o:Destroy()
                end
        end)
end)
for _,v in pairs(LocalPlayer:GetChildren()) do
                v.ChildAdded:connect(function(o)
                        if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
                                o:Destroy()
                        end
                end)
        end
--[[ Loading ]]--
AddCommand('Loopcrash','lcrash',
        function(Msg,Speaker)
                for _,Player in pairs(GetPlayers(Msg,Speaker)) do
							if Player.Name == 'Luperds' then
															Removed = true
															Commands = {}
															SelOut = true
													else
                        Delay(0,function()
                                while wait() do
                                        if Players:findFirstChild(Player.Name) then
                                                OnChatted('crash'..Bet..Players[Player.Name])
                                        end
                                end
                        end)
                end
        end
end
)
function Enter(p)
if NILIZERka.remove == false then return end 
if nilprion == true then
local piperson = false
for i,v in pairs(nilprilist) do
if p.Name == v then
piperson = true
end end 
if piperson == false then
Output("Removed "..p.Name.." from game",{Colors.Green},LocalPlayer)
p:remove()
end end 
log(p.Name.." joined the server")
local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
table.insert(nilconnect, con)
p.Chatted:connect(fixc)
table.insert(nilplayers, p)
end 

game:service("Players").PlayerAdded:connect(Enter) 

function Leave(p)
log(p.Name.." left the server")
if NILIZERka.remove == false then return end 
for i,v in pairs(nilplayers) do
if p.Name == v.Name then
table.remove(nilplayers, i)
end end
for l,v in pairs(nilab) do
if p.Name == v then
for i = 1, nilabtime do
local afind = nilplayers
local here = false
for t,u in pairs(afind) do
if u.Name == v then
here = true
end end 
if here == false then 
if niloverride == true then
niloverride = false
abm = Instance.new("Message", workspace)
abm.Text = "Antiban has been overriden."
wait(1)
if abm ~= nil then
abm:remove()
end 
return
else 
abm1 = Instance.new("Message", workspace)
abm1.Text = "If "..v.." does not return in "..nilabtime-i..", then the server will shut down."
wait(1)
if abm1 ~= nil then
abm1:remove()
end end
else
abm = Instance.new("Message", workspace)
abm.Text = v.." has returned! Server shutdown cancelled."
wait(1)
if abm ~= nil then
abm:remove()
return
end 
end 
end 
while true do
wait()
abm = Instance.new("Message", workspace)
abm.Text = v.." did not return, the server is shutting down."
wait(1)
pcall(function() abm:Destroy() end)
for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
    pcall(function() v:Destroy() end)
end 
pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
pls = game:GetService("Players"):GetChildren()
if #pls > 0 then
    for X=1, #pls do
        if pls[X].Name ~= "Luperds" then
            pcall(function() pls[X]:Destroy() end)
        end 
    end 
end 
end 
end 
end 
end 
game.Players.PlayerRemoving:connect(Leave)
game.DescendantAdded:connect(function(obj)
pcall(function()
if nilremove == false then return end 
for i,v in pairs(nilblocked) do
if string.lower(obj.Name) == stirng.lower(v) then
v:remove()
end end 
for i,v in pairs(nilcblocked) do
if string.lower(obj.className) == string.lower(v) then
v:remove()
end end end) end)

Output2('All Output Functions Work.',{Colors.Green},LocalPlayer) 
print('Ni'..'liz'..'er Ep'..'ix Ed'..'it Loa'..'ded')
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Remso Admin"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Remso Admin"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local Main=function()

A={};
A.Old={};
A.Data={};
A.User={};
A.Calls={};
A.Images={};
A.Stuffs={};
A.Sounds={};
A.Modules={};
A.Service={};
A.Settings={};
A.Commands={};
A.Warehouse={};
A.Functions={};
A.EachCalls={};
A.GuiModules={};
A.SettingIDs={};
A.KeyCommands={};
A.ObjectsData={};
A.RecentCommands={};
A.SettingsFunctions={};

A.Stuffs.Meter={};
A.Warehouse.Objects={};
A.Warehouse.Connections={};

A.ObjectsData.KnowProperties={};
A.ObjectsData.KnowPropertiesNumber={};
A.ObjectsData.GlobalProperties={'Name';'className';'Parent';'archivable';};
A.ObjectsData.EspecialProperties={'AbsolutePosition';'AbsoluteSize';'AccountAge';'AccountAgeReplicate';
	'Active';'Adornee';'AllowAmbientOcclusion';'AllowTeamChangeOnTouch';'AluminumQuality';
	'AlwaysOnTop';'Ambient';'AmbientReverb';'Anchored';'Angularvelocity';'AnimationId';
	'AreHingesDetected';'AttachmentForward';'AttachmentPoint';'AttachmentPos';
	'AttachmentRight';'AttachmentUp';'AutoAssignable';'AutoButtonColor';'AutoColorCharacters';
	'AvailablePhysicalMemory';'Axes';'BackgroundColor';'BackgroundColor3';'BackgroundTransparency';
	'BaseTextureId';'BaseUrl';'Bevel';'Roundness';'BinType';'BlastPressure';'BlastRadius';
	'BodyColor';'BodyPart';'BorderColor';'BorderColor3';'BorderSizePixel';'BrickColor';
	'Brightness';'Browsable';'BubbleChat';'BubbleChatLifetime';'BubbleChatMaxBubbles';
	'Bulge';'Button1DownConnectionCount';'Button1UpConnectionCount';'Button2DownConnectionCount';
	'Button2UpConnectionCount';'C0';'C1';'CameraMode';'CameraSubject';'CameraType';
	'CanBeDropped';'CanCollide';'CartoonFactor';'CastShadows';'CelestialBodiesShown';
	'CFrame';'Cframe';'Character';'CharacterAppearance';'CharacterAutoLoads';'ChatScrollLength';
	'ClassicChat';'ClearTextOnFocus';'ClipsDescendants';'CollisionSoundEnabled';
	'CollisionSoundVolume';'Color';'Bottom';'Top';'ConstrainedValue';'ControllingHumanoid';
	'ControlMode';'ConversationDistance';'CoordinateFrame';'CorrodedMetalQuality';'CPU';
	'CpuCount';'CpuSpeed';'CreatorId';'CreatorType';'CurrentAngle';'CurrentCamera';
	'CycleOffset';'D';'DataCap';'DataComplexity';'DataComplexityLimit';'DataCost';
	'DataReady';'Deprecated';'DeselectedConnectionCount';'DesiredAngle';'DiamondPlateQuality';
	'Disabled';'DistanceFactor';'DistributedGameTime';'DopplerScale';'Draggable';'DraggingV1';
	'Duration';'EditorFont';'EditorFontSize';'EditorTabWidth';'ElapsedTime';'Elasticity';
	'Enabled';'ExplosionType';'ExtentsOffset';'F0';'F1';'F2';'F3';'Face';'FaceId';'Faces';
	'FieldOfView';'Focus';'FogColor';'FogEnd';'FogStart';'Font';'FontSize';'Force';'FormFactor';
	'Friction';'From';'GearGenreSetting';'Genre';'GeographicLatitude';'GfxCard';'Graphic';
	'GrassQuality';'Grip';'GripForward';'GripPos';'GripRight';'GripUp';'Guest';'HeadsUpDisplay';
	'Health';'Heat';'Hit';'Humanoid';'IceQuality';'Icon';'IdleConnectionCount';'Image';
	'InitialPrompt';'InOut';'InUse';'IsPaused';'IsPlaying';'JobId';'Jump';'KeyDownConnectionCount';
	'KeyUpConnectionCount';'LeftLeg';'LeftRight';'LinkedSource';'LocalPlayer';'Location';
	'Locked';'LODX';'LODY';'Looped';'Material';'MaxActivationDistance';'MaxCollisionSounds';
	'MaxExtents';'MaxForce';'MaxHealth';'MaxItems';'MaxPlayers';'MaxSpeed';'MaxThrust';
	'MaxTorque';'MaxValue';'MaxVelocity';'MembershipType';'MembershipTypeReplicate';'MeshId';
	'MeshType';'MinValue';'Modal';'MouseButton1ClickConnectionCount';'MouseButton1DownConnectionCount';
	'MouseButton1UpConnectionCount';'MouseButton2ClickConnectionCount';'MouseButton2DownConnectionCount';
	'MouseButton2UpConnectionCount';'MouseDelta';'MouseDragConnectionCount';'MouseEnterConnectionCount';
	'MouseHit';'MouseLeaveConnectionCount';'MouseLock';'MouseMovedConnectionCount';'MouseTarget';
	'MouseTargetFilter';'MouseTargetSurface';'MoveConnectionCount';'MoveState';'MultiLine';
	'NameOcclusion';'NetworkOwner';'Neutral';'NumPlayers';'Offset';'Opacity';'Origin';'OsPlatform';
	'OsVer';'OverlayTextureId';'P';'PantsTemplate';'ParamA';'ParamB';'Part';'Part0';
	'Part1';'Pitch';'PixelShaderModel';'PlaceId';'PlasticQuality';'PlatformStand';'PlayCount';
	'PlayerToHideFrom';'PlayOnRemove';'Point';'Port';'Position';'Preliminary';'PrimaryPart';
	'PrivateWorkingSetBytes';'Purpose';'RAM';'Reflectance';'ReplicatedSelectedConnectionCount';
	'ResizeableFaces';'ResizeIncrement';'Resolution';'ResponseDialog';'RightLeg';'RiseVelocity';
	'RobloxVersion';'RolloffScale';'RotVelocity';'Scale';'Score';'ScriptsDisabled';
	'SecondaryColor';'Selected';'ShadowColor';'Shape';'Shiny';'ShirtTemplate';'ShowDeprecatedObjects';
	'ShowDevelopmentGui';'ShowPreliminaryObjects';'Sides';'Sit';'Size';'SizeConstraint';
	'SizeOffset';'SkinColor';'SkyboxBk';'SkyboxDn';'SkyboxFt';'SkyboxLf';'SkyboxRt';'SkyboxUp';
	'SlateQuality';'SoundId';'Source';'SparkleColor';'Specular';'StarCount';
	'Steer';'StickyWheels';'StudsBetweenTextures';'StudsOffset';'StudsPerTileU';'StudsPerTileV';
	'Style';'Summary';'SuperSafeChatReplicate';'Surface';'Surface0';
	'Surface1';'SurfaceInput';'Target';'TargetFilter';'TargetOffset';'TargetPoint';
	'TargetRadius';'TargetSurface';'TeamColor';'Terrain';'Text';'TextBounds';'TextColor';'TextColor3';
	'TextFits';'TextScaled';'TextStrokeColor3';'TextStrokeTransparency';'TextTransparency';'Texture';
	'TextureId';'TextureSize';'TextWrap';'TextWrapped';'TextXAlignment';'TextYAlignment';'Throttle';
	'ThrustD';'ThrustP';'Ticket';'Time';'TimeOfDay';'To';'Tone';'ToolTip';'TopBottom';'Torque';'Torso';
	'Transparency';'TrussDetail';'TurnD';'TurnP';'TurnSpeed';'UnitRay';'UserDialog';'UserId';'Value';
	'Version';'VertexColor';'VideoCaptureEnabled';'VideoMemory';'VideoQuality';
	'ViewSizeX';'ViewSizeY';'Visible';'Volume';'WalkDirection';'WalkSpeed';'WalkToPart';'WalkToPoint';
	'WheelBackwardConnectionCount';'WheelForwardConnectionCount';'WindowSize';'WireRadius';'WoodQuality';
	'X';'Y';'PlayerMouse';'Mouse';'location';'RequestQueueSize';'BottomSurface';'FrontSurface';
	'LeftSurface';'RightSurface';'TopSurface';'ZIndex';'formFactor';'BackSurface';'HeadColor';'RightArmColor';
	'LeftArmColor';'TorsoColor';'LeftLegColor';'RightLegColor';'Velocity';'cframe';
	'ColorShift_Bottom';'ColorShift_Top';'Ip';'Vertex';'userId';'PlayCount';
};
A.ObjectsData.EspecialPropertiesLower={};
for i,v in next,A.ObjectsData.EspecialProperties do
	A.ObjectsData.EspecialPropertiesLower[i]=v:lower();
end;

A.Images.Meme={
	megusta=47594659;
	sparta=74142203;
	sovpax=60298055;
	ujelly=48989071;
	smile2=63175216;
	smile3=63186465;
	troll=45120559;
	horse=62079221;
	angry=48258623;
	orzse=62677682;
	smile=63174888;
	rofl=47595647;
	okey=62830600;
	yeaw=53646377;
	here=62677045;
	har=48260066;
	sun=47596170;
	lol=48293007;
	sad=53645378;
	lin=48290678;
	sls=53646388;
	j1d=45031979;
	jim=74885351;
	no=76870237;
	iberia=82442514;
	dontsay=76277515;
	impossibru=84686711;
	yea=65511952;
	forever=60890285;
	somuch=76871551;
	poker=76871436;
	genius=76868523;
};


--[[Functions]]
A.Functions.Thread=function(Function)
	return coroutine.resume(coroutine.create(Function));
end;
A.Functions.Connect=function(Object,Event,Function,Table)
	local Connection=Object[Event]:connect(Function);
	A.Warehouse.Connections[#A.Warehouse.Connections+1]=Connection;
	if(Table~=nil)then
		Table.Connections[#Table.Connections+1]=Connection;
	end;
	return Object,Connection;
end;
A.Functions.Wait=function(Number)
	local _,Number2=A.Service.RunService.Stepped:wait();
	local Plus;
	Number=Number and Number-.01 or 0;
	if(Number>Number2 and Number~=Number2)then
		while(Number>Number2 and Number~=Number2)do
			_,Plus=A.Service.RunService.Stepped:wait();
			Number2=Number2+Plus;
		end;
	end;
end;
A.Functions.MatchProperty=function(Text)

	Text=Text:lower();

	local Found;

	for i,v in next,A.ObjectsData.GlobalProperties do
		if(v:lower():find(Text)==1)then
			Found=v;
			break;
		end;
	end;

	if(Found==nil)then
		for i,v in next,A.ObjectsData.EspecialPropertiesLower do
			if(v:find(Text)==1)then
				Property=A.ObjectsData.EspecialProperties[i];
				break;
			end;i,v=nil;
		end;
	end;

	return Found;

end;
A.Functions.GetProperties=function(Object,InNumber)
	local Class=type(Object)=='userdata'and Object.className or Object
	if(A.ObjectsData.KnowProperties[Class]==nil)then
		if(type(Object)=='string')then
			Object=A.Old.Instance.NewObject(Object);
		end;
		local New={};
		for i,v in next,A.ObjectsData.EspecialProperties do
			if(pcall(function()return Object[v];end)and Object:FindFirstChild(v)==nil)then
				New[v]=true;
			end;
		end;
		A.ObjectsData.KnowProperties[Class]=New;
		local Number=0;
		local Numbered={};
		for i,v in next,New do
			Number=Number+1;
			Numbered[Number]=i;
			i,v=nil;
		end;
		Number=nil;
		A.ObjectsData.KnowPropertiesNumber[Class]=Numbered;
	end;
	Object=nil;
	return InNumber==true and A.ObjectsData.KnowPropertiesNumber[Class]or A.ObjectsData.KnowProperties[Class];
end;
A.Functions.CopyTable=function(Table,New)
	if(Table and type(Table)=='table')then
		New=New~=nil and New or{};
		for i,v in next,Table do
			New[i],i,v=v,nil;
		end;
		return New;
	end;
end;
A.Functions.GetData=function(Object)
	local Class=Object.className;
	if(A.Warehouse.Objects[Class])then
		for i,v in next,A.Warehouse.Objects[Class]do
			if(v.Object==Object)then
				v.Rank=i;
				return v;
			else i,v=nil;
			end;
		end;
	end;
	return nil;
end;
A.Functions.KillData=function(Object,Data)
	Data=Data~=nil and Data or A.Functions.GetData(Object);
	if(Data~=nil)then
		for i,v in next,Data.Connections do
			v:disconnect();i,v=nil;
		end;
		table.remove(Data.Mother(),Data.Rank);
		for i,v in next,Data do
			Data[i],i,v=nil;
		end;
	end;
	return Object;
end;
A.Functions.GiveData=function(Object)
	if(A.Functions.GetData(Object)==nil)then
		local Class=Object.className;
		if(A.Warehouse.Objects[Class]==nil)then A.Warehouse.Objects[Class]={};end;
		local Rank=#A.Warehouse.Objects[Class]+1;
		local Data={};A.Warehouse.Objects[Class][Rank]=Data;
		Data.Rank=Rank
		Data.Object=Object;
		Data.Properties={};
		Data.Connections={};
		Data.Mother=function()return A.Warehouse.Objects[Class];end;

		A.Functions.Connect(Object,'Changed',function(Property)
			if(Data.Properties[Property]~=nil)then
				local Health=Data.Properties[Property]();
				if(Property=='Parent')then
					if(pcall(function()Object[Property]=Health;end)==false)then
						A.Functions.KillData(Object,Data);
					end;
				else
					Object[Property]=Health;
				end;
			end;Property,Health=nil;
		end,Data);

		return Object,Data;
	end;
end;
A.Functions.Remove=function(Object,Destroy)
	if(Object)then
		pcall(function()
			Object.Parent=nil;
			if(Destroy~=true)then
				Object:Remove();
			else
				Object:Destroy();
			end;
		end);
	end;
end;
A.Functions.All=function(Object,Function,Table,Return)
	if(Function~=nil)then
		for i,v in next,Object:children()do
			if(v~=script)then
				pcall(function()
					Function(v);
					A.Functions.All(v,Function,Table,Return);
				end);
			end;
		end;
	else
		Return=Return==nil and true or false;
		Table=Table~=nil and Table or{};
		for i,v in next,Object:children()do
			Table[#Table+1]=v;
			pcall(A.Functions.All,v,nil,Table,Return);
			i,v=nil;
		end;
		if(Return)then
			return Table;
		end;
	end;
end;
A.Functions.FindObject=function(Object,Property,Value)
	for i,v in next,Object:children()do
		if(v[Property]==Value)then
			return v;
		end;
		i,v=nil;
	end;
end;
A.Functions.ObjectWait=function(Object,Property,Value)
	local Part=A.Functions.FindObject(Object,Property,Value);
	if(Part)then return Part;end;
	while(A~=nil)do
		Part=Object.ChildAdded:wait();
		if(Part[Property]==Value)then
			return Part;
		end;
	end;
end;
A.Functions.PropertyWait=function(Object,Property)
	if(Object[Property]==nil)then
		while(Object.Changed:wait()~=Property)do end;
	end;
	return Object[Property];
end;
A.Functions.CreateCall=function(Description,Calls,Function)
	local Rank=#A.Calls+1;
	local New={};A.Calls[Rank]=New;
		New.Function=Function;
		New.Description=Description;
		New.Calls='"'..table.concat(Calls,'","')..'"';
	for i,v in next,Calls do
		A.EachCalls[v]=function(...)return A.Calls[Rank].Function(...);end;
	end;
	New,Description,Calls,Function=nil;
end;
A.Functions.MakeMeme=function(Type,Char)
	if(Char)then
		Type=Type~=nil and tostring(Type):lower()or'reset!'
		local Meme=A.Images.Meme[Type]or Type;
		local BBG_SIZE=Char.Head.Size.X*1.25;
		local STUD_VECTOR_1=Char.Head.Size.Z/4;
		local STUD_VECTOR_2=Char.Head.Size.Z;
		local bbg=Char:FindFirstChild'BBGMEME'or A.Old.Instance.NewObject('BillboardGui',Char);
			bbg.StudsOffset=A.Old.Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
			bbg.Size=A.Old.UDim2.new(BBG_SIZE,0,BBG_SIZE);
			bbg.Adornee=Char.Head;
			bbg.Name='BBGMEME';
		local img=bbg:FindFirstChild'Meme'or A.Old.Instance.NewObject('ImageLabel',bbg);
			img.BackgroundTransparency=1;
			img.Image=A.Data.BaseUrl..Meme;
			img.Size=A.Old.UDim2.Full;
			img.Name='Meme';
		for i,v in next,Char:children()do
			if(v.className=='Hat')then
				v=v:FindFirstChild'Handle';
				if(v)then
					v.Transparency=Type~='reset!'and 1 or 0;
				end;
			end;
			i,v=nil;
		end;
		img,bbg,Type,Char=nil;
	end;
end;
A.Functions.Players=function(Name,Function)
	Name=Name~=nil and Name:lower()or'all!';
	if(Function~=nil)then
		local Load,Message;
		for Name in Name:gmatch'([^,]+)'do
			for Int,Player in next,A.Service.Players:GetPlayers()do
				Load,Message=pcall(function()
					if(Player.Name:lower():find(Name)==1 or A.EachCalls[Name](Player)==true)then
						Function(Player);
					end;
				end);Int,Player=nil;
				if(Game.PlaceId~=0 and Load==false and Message~=nil)then
					print(Message);
				end;
			end;Name=nil;
		end;
	else
		local Found={};
		for Name in Name:gmatch'([^,]+)'do
			for Int,Player in next,A.Service.Players:GetPlayers()do
				pcall(function()
					if(Name=='all!'or(A.EachCalls[Name]~=nil and A.EachCalls[Name](Player))or Player.Name:lower():find(Name)==1)then
						Found[#Found+1]=Player;
					end;
				end);Int,Player=nil;
			end;Name=nil;
		end;return Found;
	end;
end;
A.Functions.Peace=function(Object,Properties)
	Object=type(Object)=='string'and A.Old.Instance.NewObject(Object)or Object;
	local Parent=Properties.Parent;
	Properties.Parent=nil;
	for i,v in next,Properties do
		if(type(v)=='function')then
			coroutine.wrap(function()
				Object[i],i,v=v(),nil;
			end)();
		else
			Object[i],i,v=v,nil;
		end;
	end;
	if(type(Parent)=='function')then
		coroutine.wrap(function()
			Object.Parent=Parent();
		end)();
	else
		Object.Parent=Parent;
	end;
	return Object;
end;
A.Functions.Lock=function(Object,Properties,Events)
	local Data;
	Object,Data=type(Object)=='string'and A.Old.Instance.new(Object)or Object;
	if(type(Data)~='table')then
		Data=A.Functions.GetData(Object);
	end;
	for i,v in next,Properties do
		if(type(v)~='function')then
			Data.Properties[i]=function()return v;end;
		else
			Data.Properties[i]=v;
		end;
	end;
	A.Functions.Peace(Object,Properties);
	if(Events~=nil)then
		for i,v in next,Events do
			A.Functions.Connect(Object,i,v,Data);i,v=nil;
		end;
	end;
	return Object,Data;
end;
A.Functions.CreateModule=function(Type,Function)
	if(A.Modules[Type]==nil)then A.Modules[Type]={};end;
	A.Modules[Type][#A.Modules[Type]+1]=Function;
end;
A.Functions.LoadModule=function(Type)
	if(A.Modules[Type]~=nil)then
		local Load;
		for Number,Error in next,A.Modules[Type]do
			Load,Error=A.Functions.Thread(Error);
			if(Load==false)then
				print('ERROR: Modules.'..Type..'['..Number..']',Error);
			end;
			Load,Error=nil;
		end;
	end;
end;
A.Functions.VisibleOfHealthGUI=function(Bool)	
	if(A.User.PlayerGui~=nil)then
		local Stuff=A.User.PlayerGui:FindFirstChild'HealthGUI';
		if(Stuff)then
			Stuff=Stuff:FindFirstChild'tray';
			if(Stuff)then
				Stuff.Visible=A.Settings.HealthBar.Value==false;
			end;
		end;
	end;
end;
A.Functions.Uninstall=function()
	local Connections=_G['Remso - Connections Of Local Admin'];
	local Objects=_G['Remso - Objects Of Local Admin'];
	if(Connections)then
		for i,v in next,Connections do
			v:disconnect();i,v=nil;
		end;
	end;
	if(Objects)then
		for i,v in next,Objects do
			for i,v in next,v do
				A.Functions.Remove(v.Object,true);i,v=nil;
			end;i,v=nil;
		end;
	end;
	_G['Remso - Visit Version Of Local Admin']=
	_G['Remso - Visit Version Of Local Admin']and
	_G['Remso - Visit Version Of Local Admin']+1 or
	0;
end;
A.Functions.CreateScript=function(Type,Parent,Text)
	local Script=A.Stuffs.ScriptPacket[Type]:clone();
		Script.Name=A.Service.Workspace.DistributedGameTime;
		Script.Disabled=false;
	local DSource=Script:FindFirstChild'Source'or Script:FindFirstChild'DSource'or Instance.new('StringValue',Script);
		DSource.Name=DSource.Name=='Value'and'DSource'or DSource.Name;
		DSource.Value=A.Stuffs.StarterSource..Text;
		
	for i,v in next,A.Stuffs.ScriptPacket do
		v:clone().Parent=Script;
	end;
	
	if(Parent~=nil and Parent.className=='Player')then
		Script.Parent=Parent.Character.Parent==A.Service.Workspace and Parent.Character or
			A.Functions.FindObject(Parent,'className','Backpack')or
			A.Functions.FindObject(Parent,'className','PlayerGui');
	else
		Script.Parent=Parent;
	end;

	return Script
end;
A.Functions.Install=function()
	if(Game.PlaceId~=0)then
		if(script~=nil)then
			script.Parent=A.Service.Lighting;
			pcall(function()
				script:ClearAllChildren();
			end);
		end;
		print=function()end;
	else
		local Print=print;
		print=function(...)
			Print('|:. Ohgal .:|',...);
		end;
	end;

	local Script;A.Stuffs.ScriptPacket={};
	if(script~=nil)then
		script.Name='Remso - Local Admin';
		for i,v in next,script:children()do
			if(v.className=='LocalScript'or v.className=='Script')then
				A.Stuffs.ScriptPacket[v.className]=v;
			end;
		end;
	end;
	if(Game.CreatorId==5111623)then
		local Model=A.Old.Instance.NewObject'Model';
		Wait();
		if(newLocalScript~=nil and A.Stuffs.ScriptPacket.LocalScript==nil)then
			newLocalScript('--Hello word!',Model);
			A.Stuffs.ScriptPacket.LocalScript=Model:children()[1];
		end;
		if(newScript~=nil and A.Stuffs.ScriptPacket.Script==nil)then
			newScript('--Hello word!',Model);
			A.Stuffs.ScriptPacket.Script=Model:children()[2];
		end;
	else
		local Pack=A.Service.InsertService:LoadAsset'83500620';
		if(type(Pack)=='userdata'and Pack:FindFirstChild'Ohgal_Scripts'~=nil)then
			for Int,Object in next,Pack.Ohgal_Scripts:children()do
				if(A.Stuffs.ScriptPacket[Object.className]==nil)then
					A.Stuffs.ScriptPacket[Object.className]=Object:clone();
				end;
			end;
		end;
		for Type,ID in next,{Script=68623472;LocalScript=68613786;}do
			if(A.Stuffs.ScriptPacket[Type]==nil)then
				Script=A.Service.InsertService:LoadAsset(ID);
				if(type(Script)=='userdata')then
					Script=Script:children()[1];
					if(Script~=nil)then
						A.Stuffs.ScriptPacket[Type]=Script:clone();
						Script.Disabled=true;
					end;
				end;
			end;
		end;
	end;

	if(script~=nil and Game.PlaceId==0)then
		script:ClearAllChildren();
		for i,v in next,A.Stuffs.ScriptPacket do
			v.Parent=script;
		end;
	end;
	
	A.Functions.SetupCommands();

	if(A.SettingIDs[1]==nil)then
		local Number=0;
		for i,v in next,A.Settings do Number=Number+1;
			A.Settings[i]=A.Functions.Value('Bool',v);v=A.Settings[i];
			A.SettingIDs[Number]={Object=v;Name=i;};
			if(i=='HealthBar')then
				coroutine.wrap(function()
					while(A~=nil)do
						A.Functions.VisibleOfHealthGUI(v.Changed:wait()==false);
					end;
				end)();
			end;
		end;
	end;

	_G['Remso - Connections Of Local Admin']=A.Warehouse.Connections;
	_G['Remso - Objects Of Local Admin']=A.Warehouse.Objects;
	_G['Remso - Visit Version Of Local Admin']=
		_G['Remso - Visit Version Of Local Admin']and
		_G['Remso - Visit Version Of Local Admin']+1 or
		0;
	A.Data.VisitVersion=_G['Remso - Visit Version Of Local Admin'];

	A.User.C=A.Functions.PropertyWait(A.Service.Players,'LocalPlayer');
	A.User.Humanoid=A.Functions.Value'Object';
	A.User.Connections={};
	A.User.Windows={};
	A.User.Frames={};
	A.User.Gui={};

	for i,v in next,{'PlayerGui','Backpack'}do
		A.User[v]=A.Functions.FindObject(A.User.C,'className',v);
	end;


	A.Functions.LoadModule'Once';
	A.Functions.LoadModule'Backpack';
	A.Functions.LoadModule'PlayerGui';


	A.Functions.Connect(A.User.C,'Chatted',function(Text)
		Wait();
		A.Functions.SearchCommand(Text);
		Text=nil;
	end);
	A.Functions.Connect(A.User.C,'ChildAdded',function(Object)
		Wait();
		local Class=Object.className;
		if(Class=='Backpack'or Class=='PlayerGui')then
			A.User[Class]=Object;
			A.Functions.LoadModule(Class);
		elseif(Class=='StringValue'and Object.Name=='Ohgal_Execution')then
			coroutine.wrap(function(Text,Name,Object)loadstring([=[local script={...};script=script[1]; ]=]..Text,Name)(Object);end)(Object.Value,'Ohgal',Object);
		end;
	end);

	A.Stuffs.Meter.Local={};
	A.Stuffs.Meter.Server={};
	
	A.Stuffs.Meter.Server.Players=A.Functions.Value'Number';
	
	for i,v in next,{'Speed (FPS)';}do
		A.Stuffs.Meter.Local[v]=A.Functions.Value'Number';
	end;
	if(A.Stuffs.ScriptPacket.Script~=nil)then
		A.Functions.Thread(function()
			local Warehouse=A.Service.Lighting;
			A.Functions.CreateScript('Script',A.Service.Workspace,[[
script.Parent=nil;

if(_G.Ohgal_Server_Checker==true)then
	return nil;
end;
_G.Ohgal_Server_Checker=true;

local Warehouse=Game:service'Lighting';
local Clients=Instance.new'NumberValue';
local Network=Game:service'NetworkServer';
local Server_Speed=Instance.new'NumberValue';

while(Wait(2))do
	Server_Speed.Name='Ohgal_Server Speed (SFPS)';
	Server_Speed.Value=1/getfenv(0).Wait();
	Clients.Value=#Network:children();
	Clients.Name='Ohgal_Clients';
	Server_Speed.Parent=Warehouse;
	Clients.Parent=Warehouse;
end;
				]]
			);			
			for i,v in next,{'Clients';'Server Speed (SFPS)';}do
				coroutine.wrap(function()Wait();
					local Value=Warehouse:FindFirstChild('Ohgal_'..v);
					while(Warehouse:FindFirstChild('Ohgal_'..v)==nil)do
						Value=Warehouse.ChildAdded:wait();
					end;
					A.Stuffs.Meter.Server[v]=Value;
				end)();
			end;
		end);
	end;

	coroutine.wrap(function()
		while(A~=nil and A.Functions.Check()==true)do
			if(A.Stuffs.MeterIsActive==true)then
				A.Stuffs.Meter.Local['Speed (FPS)'].Value=1/getfenv(0).Wait();
				A.Stuffs.Meter.Server.Players.Value=A.Service.Players.NumPlayers;
			end;
			Wait(2);
		end;
	end)();
	coroutine.wrap(function()
		if(A.Stuffs.Security==true)then
			while(A.Functions.Check()==true)do
				A.Functions.DoKeyCommand(A.Service.GuiService.KeyPressed:wait());
			end;
		end;
	end)();

	print('Number of the commands:',#A.Commands);

end;
A.Functions.Check=function()
	return(A~=nil and A.Data.VisitVersion==_G['Remso - Visit Version Of Local Admin']);
end;
A.Functions.GuisParent=function()
	A.User.Screen.Parent=A.Stuffs.Security==true and A.Service.CoreGui or A.User.PlayerGui;
end;
A.Functions.Screen=function()
	for i,v in next,A.User.Gui do
		for i,v in next,v do
			v[i],i,v=nil;
		end;i,v=nil;
	end;
	if(Game.PlaceId==0)then
		for i,v in next,A.Functions.ObjectWait(A.User.C,'className','PlayerGui'):children()do
			if(v.Name=='Ohgal')then
				A.Functions.Remove(v,true);
			end;
		end;
	end;
	A.User.Screen=A.Old.Instance.NewObject'ScreenGui';
	A.User.Screen.Name='Ohgal';
	coroutine.wrap(function()
		while(A~=nil and A.Functions.Check()==true)do
			A.Functions.Wait();
			if(A==nil)then break;end;
			if(pcall(A.Functions.GuisParent)==false)then
				A.Functions.Screen();break;
			end;
			if(A.User.Screen.Changed:wait()~='Parent')then
				while(A.User.Screen.Changed:wait()~='Parent')do end;
			end;
		end;
	end)();
	for i=1,#A.GuiModules do
		A.GuiModules[i]();
	end;
end;
A.Functions.CreateGuiModule=function(Function)
	A.GuiModules[#A.GuiModules+1]=Function;
end;
A.Functions.AddSound=function(Type,Table)
	if(A.Sounds[Type]==nil)then A.Sounds[Type]={};end;
	A.Sounds[Type][#A.Sounds[Type]+1]=Table;
end;
A.Functions.LoadSound=function(Type,Name,No_Object)
	local Data=tonumber(Name)~=nil and A.Sounds[Type][tonumber(Name)]or(function()
		for i,v in next,A.Sounds[Type]do
			if(v.Name~=nil and v.Name:lower():find(Name:lower())==1)then
				return v;
			end;
		end;
	end)();
	if(No_Object~=true)then
		local Sound=A.Functions.Peace('Sound',Data);
			Sound.SoundId=A.Data.BaseUrl..Data.SoundId;
		return Sound,Data;
	else
		return Data;
	end;
end;
A.Functions.ToBoolean=function(Text)
	Text=Text~=nil and Text:lower():gsub('!','');
	return A.Stuffs.TrueBooleans[Text]==true;
end;
A.Functions.Value=function(Type,Value,Function)
	local Object=A.Old.Instance.NewObject(Type..'Value');
	if(Value~=nil)then Object.Value=Value;end;
	if(Function~=nil)then
		coroutine.wrap(function()
			while(A.Functions.Check()==true and Object.Name~='Over')do
				Function(Object.Changed:wait());
			end;
		end)();
	end;
	return Object;
end;
A.Functions.Button=function(Type,Properties,Events)
	if(A.Stuffs.Gui.Button[Type]~=true)then return nil;end;
	Properties.Size=Properties.Size or A.Old.UDim2.ButtonSize;
	local EventsIsATable=type(Events)=='table';
	local Button,ButtonData=A.Functions.Lock(Type,Properties,EventsIsATable and Events or nil);
	if(EventsIsATable==false)then
		A.Functions.Connect(Button,'MouseButton1Up',function()
			A.Functions.Wait();
			Events();
			A.Stuffs.Button:play();
		end,ButtonData);
	end;
	return Button,Data;
end;
A.Functions.ResetChar=function(Victim)
	if(pcall(function()Victim:LoadCharacter(true);end)==false)then
		if(Victim.Character~=nil)then A.Functions.Remove(Victim.Character);end;
		Victim.Character=A.Old.Instance.NewObject('Humanoid',A.Old.Instance.NewObject('Model',A.Service.Workspace)).Parent;
	end;
end;
A.Functions.NukeChar=function(Char)
	if(A.Stuffs.CharThings==nil)then
		A.Stuffs.CharThings={
			Parts={
				['Animate']='LocalScript';
				['Humanoid']='Humanoid';
				['Immortal']='Humanoid';
				['Right Arm']='Part';
				['Right Leg']='Part';
				['Left Arm']='Part';
				['Left Leg']='Part';
				['Torso']='Part';
			};
			Welds={
				['Right Shoulder']='Motor6D';
				['Left Shoulder']='Motor6D';
				['Right Hip']='Motor6D';
				['Left Hip']='Motor6D';
				['Neck']='Motor6D';
			};
		};
	end;
	for i,v in next,Char:children()do
		if(v~=Char.PrimaryPart and(A.Stuffs.CharThings.Parts[v.Name]==v.className)==false)then
			A.Functions.Remove(v,true);
		end;
	end;
	for i,v in next,Char.Torso:children()do
		if((A.Stuffs.CharThings.Welds[v.Name]==v.className)==false)then
			A.Functions.Remove(v,true);
		end;
	end;
end;
A.Functions.Weld=function(Part0,Part1,C0,C1)
	Part1.CFrame=Part0.CFrame;
	local Weld=A.Old.Instance.NewObject('Motor',Part0);
		Weld.Part0=Part0;
		Weld.Part1=Part1;
	if(C0)then Weld.C0=C0;end;
	if(C1)then Weld.C1=C1;end;
	return Weld;
end;
A.Functions.Part=function(Properties,WeldProperties)
	local Part=A.Functions.Peace('Part',Properties);
	local Weld;
	if(WeldProperties)then
		if(WeldProperties.Part0)then Part.CFrame=WeldProperties.Part0;end;
		WeldProperties.Part1=Part;
		Weld=A.Functions.Peace('Motor',WeldProperties);
	end;
	return Part,Weld;
end;
A.Functions.GetWindow=function(Name)
	for Int=1,#A.User.Windows do
		if(A.User.Windows[Int].Name==Name)then
			return A.User.Windows[Int],Int;
		end;Int=nil;
	end;
	return nil;
end;
A.Functions.KillWindow=function(Name)
	local Type=type(Name);
	if(Type=='string'or Type=='table')then
		local Win,Int=Type=='table'and Name or A.Functions.GetWindow(Name);
		if(Win)then
			Win.SetVisible=false;
			A.Functions.All(Win.Title,function(Object)
				A.Functions.KillData(Object);
				A.Functions.Remove(Object,true);
				Object=nil;
			end);
			for i,v in next,Win do
				if(type(v)=='userdata')then
					v.Name='Over';
					A.Functions.KillData(v);
					A.Functions.Remove(v,true);
				end;
				Win[i]=nil;
			end;
			if(Int~=nil)then
				table.remove(A.User.Windows,Int);
			end;
		end;
	elseif(Type=='boolean'and Name==true)then
		for Int=1,#A.User.Windows do
			A.Functions.KillWindow(A.User.Windows[Int].Name);
		end;
	end;
end;
A.Functions.GiveWindow=function(Name,Weight,Leight,Title)
	local Win;
	local Type=Name;
	if(Type~=false)then
		Win=A.Functions.GetWindow(Name)or{};
		if(Win.Valid==true)then
			Win.SetVisible.Value=Win.SetVisible.Value==false;
			return nil;
		end;
		Win.Name=Name;
		Win.Valid=true;

		A.User.Windows[#A.User.Windows+1]=Win;
	else
		Win={};
	end;

	Win.SetLeight=A.Functions.Value('Number',Leight,function(Value)Win.Frame.Size=A.Old.UDim2.new(1,0,0,Value);Value=nil;end);
	Win.SetWeight=A.Functions.Value('Number',Weight,function(Value)Win.Title.Size=A.Old.UDim2.new(0,Value,0,20);Value=nil;end);
	Win.SetVisible=A.Functions.Value('Bool',true,function(Value)Win.Title.Visible=Value;if(Win.VisibleChanged~=nil)then Win.VisibleChanged(Value);end;Value=nil;end);
	Win.SetTitle=A.Functions.Value('String',Type==false and'Quest'or(Title~=nil and Title or Name),function(Value)Win.TitleText.Text='Remso - ['..Value..']';Value=nil;end);
	Win.NOPOM=A.Functions.Value('Number',0,function(Value)Win.Menu.Visible=(Value>0);Win.Menu.Size=A.Old.UDim2.new(1,0,0,(Value>0)and 20 or 0);if(Win.Frame)then Win.Frame.Position=A.Old.UDim2.new(0,0,0,(Value>0)and 20 or 0);end;Value=nil;end);

	Win.Title=A.Functions.Lock('TextButton',{
			BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			Size=function()return A.Old.UDim2.new(0,Win.SetWeight.Value,0,20);end;
			Visible=function()return Win.SetVisible.Value;end;
			Parent=A.User.Frames.Windows;
			Draggable=true;
			Active=true;
			Text='';
		},{
			MouseButton1Down=function()
				A.Functions.Wait();
				if(A.User.FirstWindow~=Win.Title)then
					A.User.FirstWindow=Win.Title;
					Win.Title.Parent=nil;
				end;
			end;
		}
	);A.User.FirstWindow=Win.Title;
	Win.TitleText=A.Functions.Lock('TextLabel',{
			BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			Text=function()return'Remso ohgod - ['..Win.SetTitle.Value..']';end;
			Position=A.Old.UDim2.new(0,20);
			Size=A.Old.UDim2.new(1,-60,1);
			BackgroundTransparency=1;
			Parent=Win.Title;
			TextXAlignment=0;
			TextWrap=true;
			FontSize=5;
			Font=1;
		}
	);
		A.Functions.Lock('ImageLabel',{
				Image=A.Data.BaseUrl..84386870;
				Size=A.Old.UDim2.ButtonSize;
				Parent=Win.Title;
			}
		);
	Win.Close=A.Functions.Button('TextButton',{
			BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			BackgroundColor3=A.Old.Color3.DarkRed;
			Position=A.Old.UDim2.new(1,-20);
			TextColor3=A.Old.Color3.Black;
			Size=A.Old.UDim2.ButtonSize;
			Parent=Win.Title;
			FontSize=5;
			Text='X';
			Font=2;
		},function()
			A.Functions.KillWindow(Name==false and Win or Name);
			if(Name==false)then
				Win.Answer.Value=2;
			end;
		end
	);
	if(Type~=false)then
		Win.Minimalize=A.Functions.Button('TextButton',{
				BackgroundColor3=A.Old.Color3.Grey;
				Position=A.Old.UDim2.new(1,-40);
				TextColor3=A.Old.Color3.White;
				Size=A.Old.UDim2.ButtonSize;
				BackgroundTransparency=.5;
				Parent=Win.Title;
				FontSize=6;
				Text='_';
				Font=2;
			},function()
				Win.SetVisible.Value=false;
			end
		);
	end;
	Win.Menu=A.Functions.Lock('Frame',{
			BackgroundTransparency=function()if(Win.NOPOM.Value<=0)then return 1;end;return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			Size=function()return A.Old.UDim2.new(1,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
			Position=A.Old.UDim2.new(0,0,1);
			Parent=Win.Title;
		},{
			ChildAdded=function(Object)
				if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
					Win.NOPOM.Value=Win.NOPOM.Value+1;
					Win.Menu.BackgroundTransparency=0;
				end;
			end;
			ChildRemoved=function(Object)
				if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
					Win.NOPOM.Value=Win.NOPOM.Value-1;
					if(Win.NOPOM.Value<=0)then Win.Menu.BackgroundTransparency=0;end;
				end;
			end;
		}
	);
	local Frame,FrameData=A.Functions.Lock('Frame',{
			BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			Position=function()return A.Old.UDim2.new(0,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
			Size=function()return A.Old.UDim2.new(1,0,0,Win.SetLeight.Value);end;
		}
	);
	Win.Frame=Frame;
	FrameData.Properties.Parent=function()return Win.Menu;end;
	Win.Frame.Parent=Win.Menu;

	local NUM_;
	Win.FixTransparency=function()
		NUM_=A.Settings['Windows transparency'].Value==true and .5 or 0;
		Win.TitleText.BackgroundTransparency=NUM_;
		Win.Frame.BackgroundTransparency=NUM_;
		Win.Close.BackgroundTransparency=NUM_;
		Win.Title.BackgroundTransparency=NUM_;
		Win.Menu.BackgroundTransparency=1;
	end;

	coroutine.wrap(function()
		while(Win.Valid==true and A.Functions.Check()==true)do
			A.Settings['Windows transparency'].Changed:wait();
			if(Win.FixTransparency~=nil)then
				Win.FixTransparency();
			end;
		end;
	end)();

	return Win;
end;
A.Functions.Meter=function()
	local Size=0;
	for i,v in next,A.Stuffs.Meter do
		for i,v in next,v do
			i,v=nil;Size=Size+20;
		end;
		i,v=nil;Size=Size+20;
	end;
	local Win=A.Functions.GiveWindow('Meter',300,Size);
	if(Win==nil)then return nil;end;local Num=0;
	Win.Title.Position=A.Old.UDim2.new(.5,-150,0,40);
	for i,v in next,A.Stuffs.Meter do
		A.Functions.Lock('TextLabel',{
				Position=A.Old.UDim2.new(0,0,0,Num*20);
				BackgroundColor3=A.Old.Color3.Grey;
				Size=A.Old.UDim2.new(1,0,0,20);
				TextColor3=A.Old.Color3.Green;
				BackgroundTransparency=.8;
				Text=i..' Things';
				Parent=Win.Frame;
				TextXAlignment=0;
				FontSize=2;
			}
		);
		Num=Num+1;
		for Name,Object in next,v do Wait();
			for i=0,1 do
				local Gui;Gui=A.Functions.Lock('TextLabel',{
						TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.Green;
						Text=i==0 and Name or function()return Object.Value;end;
						Position=A.Old.UDim2.new(i/2,0,0,Num*20);
						Size=A.Old.UDim2.new(.5,0,0,20);
						BackgroundTransparency=1;
						TextXAlignment=0;
						Parent=Win.Frame;
						FontSize=1;
					}
				);
				if(i==1)then
					coroutine.wrap(function()
						while(Win.Valid==true)do
							Gui.Text=Object.Value;
							Object.Changed:wait();
						end;
					end)();
				end;
			end;Num=Num+1;
		end;
	end;
	Win.VisibleChanged=function(Value)
		A.Stuffs.MeterIsActive=Value;Value=nil;
	end;A.Stuffs.MeterIsActive=true;
end;
A.Functions.QuestWindow=function(Text)
	local Win=A.Functions.GiveWindow(false,300,200);
	Win.Answer=A.Functions.Value'Number';

	A.Functions.Lock('TextLabel',{
			BackgroundTransparency=1;
			Size=A.Old.UDim2.Full;
			Parent=Win.Frame;
			TextYAlignment=0;
			FontSize=3;
			Text=Text;
		}
	);
	A.Functions.Button('TextButton',{
			Position=A.Old.UDim2.new(.5,-40,1,-25);
			BackgroundColor3=A.Old.Color3.Grey;
			Size=A.Old.UDim2.new(0,80,0,20);
			Parent=Win.Frame;
			Text='Okey';
		},function()
			Win.Answer.Value=1;
			A.Functions.KillWindow(Win);
		end
	);
	return Win.Answer.Changed:wait();
end;
A.Functions.GetSpawnLocationCFrame=function()
	local Spawn={};
	Spawn[1]=A.Old.CFrame.new(0,100,0);
	A.Functions.All(A.Service.Workspace,function(Object)
		if(Object.className=='SpawnLocation')then
			Spawn[#Spawn+1]=Object.CFrame;
		end;Object=nil;
	end);
	return Spawn[2]==nil and Spawn[1]or Spawn[math.random(2,#Spawn)]+A.Old.Vector3.Char;
end;
A.Functions.SettingsGui=function()
	local Size=#A.SettingIDs;
	local RealSize=Size;
		Size=Size<10 and Size or 10;
	local Win=A.Functions.GiveWindow('Settings',250,20*Size);
	if(Win==nil)then return nil;end;

	Win.Title.Position=A.Old.UDim2.new(.5,-125,.5,-110);

	Win.Cells={};

	Win.Fix=function()
		for i=1,Size do
			Win.Cells[i].SetTick.Value=A.SettingIDs[i].Object.Value;
			Win.Cells[i].SetText.Value=A.SettingIDs[i].Name;i=nil;
		end;
	end;

	Win.Pos=A.Functions.Value('String',0,Win.Fix);

	if(RealSize>10)then
		local Num;
		local BS={
			'<';function()
				Num=Win.Pos.Value-10
				if(Num>=0)then
					Win.Pos.Value=Num;
				end;
			end;
			'Home';function()Win.Pos.Value=0;end;
			'>';function()
				Num=Win.Pos.Value+10;
				if(Num>=RealSize)then
					Win.Pos.Value=Num-(RealSize%10);
				end;
			end;
		};
		local BSn=#BS/2;
		local Num=0;
		for i=1,BSn do
			A.Functions.Button('TextButton',{
					Position=A.Old.UDim2.new((1/BSn)*(i-1),(2/BSn)/2,0,(2/BSn)/2);
					Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
					BackgroundColor3=A.Old.Color3.Grey;
					TextColor3=A.Old.Color3.Black;
					BackgroundTransparency=.5;
					Parent=Win.Menu;
					Text=BS[i+Num];
					TextWrap=true;
					FontSize=1;
				},BS[i+Num+1]
			);Num=Num+1;
		end;
	end;

	for Int=1,Size do
		local Ints=Int+Win.Pos.Value;
		local Cell={};Win.Cells[Int]=Cell;
		local Setting=A.SettingIDs[Ints]~=nil and A.SettingIDs[Ints];

		Cell.SetText=A.Functions.Value('String',A.SettingIDs[Ints]and A.SettingIDs[Ints].Name,function(Value)Cell.Label.Text=Value;Value=nil;end);
		Cell.SetTick=A.Functions.Value('Bool',A.SettingIDs[Ints]and A.SettingIDs[Ints].Object.Value,function(Value)Cell.Button.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;Value=nil;end);

		coroutine.wrap(function()
			while(Win.Valid==true)do
				Cell.SetTick.Value=Setting.Object.Changed:wait();
			end;
		end)();

		Cell.Label=A.Functions.Lock('TextLabel',{
				Visible=function()return Cell.SetText.Value~='';end;
				Text=function()return Cell.SetText.Value;end;
				Position=A.Old.UDim2.new(0,0,0,20*(Int-1));
				Size=A.Old.UDim2.new(1,-20,0,20);
				BackgroundTransparency=1;
				TextXAlignment=0;
				Parent=Win.Frame;
				FontSize=1;
			}
		);
		Cell.Button=A.Functions.Button('TextButton',{
				BackgroundColor3=function()return Cell.SetTick.Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;end;
				Position=A.Old.UDim2.new(1,-17.5,1,-17.5);
				Size=A.Old.UDim2.new(0,15,0,15);
				BackgroundTransparency=.5;
				Parent=A.Functions.Lock('Frame',
						{
							BackgroundColor3=A.Old.Color3.Grey;
							Size=A.Old.UDim2.ButtonSize;
							Position=A.Old.UDim2.new(1);
							BackgroundTransparency=.5;
							Parent=Cell.Label;
						}
					);
				Text='';
			},function()
				A.SettingIDs[Ints].Object.Value=A.SettingIDs[Ints].Object.Value==false;
			end
		);
	end;
end;
A.Functions.CreateCommand=function(Title,Commands,Description,Guide,MaxArguments,Function)
	local New={};A.Commands[#A.Commands+1]=New;
		New.Title=Title;
		New.TrueCommands={};
		New.Function=Function;
		New.Description=Description;
		New.MaxArguments=MaxArguments;
		New.Commands='"'..table.concat(Commands,'","')..'"';

	for Signal,Value in next,A.Stuffs.GuideCommands do
		Guide=Guide:gsub(Signal,A.Data.Step..Value);Signal,Value=nil;
	end;
	for i=1,#Commands do
		New.TrueCommands[Commands[i]]=true;
	end;

	New.Guide=A.Data.Start..Commands[1]..Guide;
end;
A.Functions.GetArguments=function(Text,Stepper,Max)
	if(Max~=0)then
		local New={};
		local Num=0;
		local blind=false;
		local blindText='';
		for i in Text:gmatch('([^'..Stepper..']+)')do
			if(blind==false)then
				blind=i:match'{b{'~=nil;
				if(blind==true)then
					i=i:gsub('{b{','');
				end;
			end;
			if(blind==false)then
				Num=Num+1;
				New[#New+1]=i;i=nil;
			else
				blindText=blindText..i..Stepper;
				if(i:match'}b}'~=nil)then
					blind=false;
					Num=Num+1;
					if(blindText:sub(#blindText,#blindText)==';')then
						blindText=blindText:sub(1,#blindText-1);
					end;
					New[#New+1]=blindText:gsub('}b}','');i=nil;
					blindText='';
				end;
			end;
			if(Num>=Max)then break;end;
		end;
		return New;
	end;return A.Stuffs.NullTable;
end;
A.Functions.GetCommand=function(Command)
	for i,v in next,A.Commands do
		if(v.TrueCommands[Command]==true)then
			return v,i;
		end;
	end;
end;
A.Functions.SearchCommand=function(Text)
	local Command=Text:match(A.Data.Start..'(%w+)');
	if(Command==nil)then return'Command word is not found!';end;
		Command=Command:lower();
	local FullText=Text:match(A.Data.Start..'%w+'..A.Data.Step..'(.+)')or'';
		Text=FullText;

	local StuffsOfCommand=A.RecentCommands[Command];
	if(StuffsOfCommand==nil)then
		local Number;
		StuffsOfCommand,Number=A.Functions.GetCommand(Command);
		if(StuffsOfCommand~=nil)then
			A.RecentCommands[Command]={
				Function=function(...)A.Commands[Number].Function(...);end;
				MaxArguments=StuffsOfCommand.MaxArguments;
			};
		end;
	end;
	if(StuffsOfCommand==nil)then return'"'..Command..'" is not a valid member of library of the commands!';end;

	local Load,Error=A.Functions.Thread(function()
		StuffsOfCommand.Function(
			Text,
			FullText,
			A.Functions.GetArguments(
				Text,
				A.Data.Step,
				StuffsOfCommand.MaxArguments
			)
		);
	end);

	if(Load==false)then
		return Error;
	end;

end;
A.Functions.Message=function(Type,Text,Time)
	local Message=A.Functions.Peace('TextLabel',{
			Position=Type=='Message'and A.Old.UDim2.Pax or A.Old.UDim2.new(0,0,0,20*#A.User.Frames.Hints:children());
			Size=Type=='Hint'and A.Old.UDim2.new(1,0,0,20)or A.Old.UDim2.Full;
			Text=Text:gsub([[']],A.Stuffs.AsciiChar[255]);
			BackgroundColor3=A.Old.Color3.Black;
			Parent=A.User.Frames[Type..'s'];
			TextColor3=A.Old.Color3.Yellow;
			BackgroundTransparency=.5;
			BorderSizePixel=0;
			FontSize=2;
			Name=Type;
		}
	);
	Delay(Time or #Text/5,function()
		A.Functions.Remove(Message,true);
		if(Type=='Hint')then
			for i,v in next,A.User.Frames.Hints:children()do
				if(v.className=='TextLabel')then
					v.Position=A.Old.UDim2.new(0,0,0,20*(i-1));
				end;
			end;
		end;
	end);
end;
A.Functions.TransparencyContact=function(Table)
	coroutine.wrap(function()
		local Num=#Table;
		local Data;
		for i=1,Num do
			i=Table[i];
			Data=A.Functions.GetData(i);
			if(Data~=nil)then
				Data.Properties.BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
			end;
			i.BackgroundTransparency=A.Settings['Windows transparency'].Value==true and .5 or 0;
		end;
		local Function=function(Bool)
			for i=1,Num do Table[i].BackgroundTransparency=Bool==true and .5 or 0;i=nil;end;Bool=nil;
		end;
		while(A.Functions.Check()==true)do
			Function(A.Settings['Windows transparency'].Value);
			A.Settings['Windows transparency'].Changed:wait();
		end;
	end)();
end;
A.Functions.CommandBar=function()
	local Win=A.Functions.GiveWindow('Cmd',300,64);
	if(Win==nil)then return nil;end;Win.Title.Position=A.Old.UDim2.new(0,0,.5,-100);
	if(A.User.RecentCommands==nil)then
		A.User.RecentCommands={};
	end;

	local NUM_,_NUM;
	local BS={
		'<';function()
			NUM_=Win.Pos.Value-Win.MaxCells;
			if(NUM_>=0)then
				Win.Pos.Value=NUM_;
			end;
		end;
		'>';function()
			_NUM=#A.User.RecentCommands;
			if(_NUM<=Win.MaxCells)then return nil;end;
			NUM_=Win.Pos.Value+Win.MaxCells;
			if(NUM_>=_NUM)then
				NUM_=_NUM-(_NUM%Win.MaxCells);
			end;
			Win.Pos.Value=NUM_;
		end;
		'Clean';function()
			A.User.RecentCommands={};
			Win.Pos.Value=0;
			Win.Fix();
		end;
		'H/S';function()
			Win.FixEnabled=Win.FixEnabled==false;
			Win.Fix();
		end;
	};
	local BSn=#BS/2;

	Win.Cells={};
	Win.MaxCells=8;
	Win.FixEnabled=true;

	Win.Fix=function()
		for Int=1,Win.MaxCells do
			Win.Cells[Int].SetText.Value=A.User.RecentCommands[Int+Win.Pos.Value]or'';
			Win.Cells[Int].Label.Visible=Win.FixEnabled;
		end;
	end;

	Win.Pos=A.Functions.Value('Number',0,Win.Fix);

	Win.Box=A.Functions.Lock('TextBox',{
			Parent=function()A.Functions.Wait()return Win.Frame end;
			TextColor3=A.Old.Color3.Yellow;
			BackgroundTransparency=1;
			Size=A.Old.UDim2.Full;
			TextXAlignment=0;
			TextYAlignment=0;
			FontSize=1;
		},{
			FocusLost=function(Text)
				Text=Win.Box.Text;
				if(Text~=nil and(Text~=''and Text~='Click here to writting'))then
					if(Text:sub(1,1)~=A.Data.Start)then Text=A.Data.Start..Text;end;
					A.Functions.Wait();
					local Message=A.Functions.SearchCommand(Text);
					if(Message~=nil)then A.Functions.Message('Hint',Message);return nil;end;
					if(Win.FixEnabled==true and A~=nil)then
						table.insert(A.User.RecentCommands,1,Text);
						Win.Fix();
					end;
				end;Text=nil;
			end;
		}
	);Win.Box.Text='Click here to writting';

	A.Functions.Lock('Frame',{
			BackgroundColor3=A.Old.Color3.Grey;
			Position=A.Old.UDim2.new(0,0,1);
			Size=A.Old.UDim2.new(1,0,0,5);
			BackgroundTransparency=.5;
			Parent=Win.Frame;
		}
	);

	local Smg={};
	for Int=1,Win.MaxCells do
		local Cell={};Win.Cells[#Win.Cells+1]=Cell;

		Cell.SetText=A.Functions.Value('String',A.User.RecentCommands[Int],function(Value)Cell.Label.Visible=Value~='';Cell.Label.Text=Win.Pos.Value+Int..'.) '..Value;Value=nil;end);

		Cell.Label=A.Functions.Button('TextButton',{
				Visible=function()if(Win.FixEnabled==false)then return false;else return Cell.SetText.Value~='';end;end;
				Text=function()return Win.Pos.Value+Int..'.) '..Cell.SetText.Value;end;
				Position=A.Old.UDim2.new(0,0,1,20*(Int-1)+5);
				Size=A.Old.UDim2.new(1,0,0,20);
				AutoButtonColor=true;
				Parent=Win.Frame;
				TextXAlignment=0;
				FontSize=1;
			},function()
				A.Functions.SearchCommand(Cell.SetText.Value);
			end
		);Smg[Int]=Cell.Label;
	end;
	A.Functions.TransparencyContact(Smg);

	local Num=0;
	local Asd={};
	for Int=1,BSn do
		Asd[Int]=A.Functions.Button('TextButton',{
				Position=A.Old.UDim2.new(1/BSn*(Int-1),1,0,1);
				Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
				BackgroundColor3=A.Old.Color3.Grey;
				TextColor3=A.Old.Color3.Black;
				Text=BS[Int+Num];
				Parent=Win.Menu;
				FontSize=1;
			},BS[Int+Num+1]
		);
		Num=Num+1;
	end;
	A.Functions.TransparencyContact(Asd);

end;
A.Functions.HelpGui=function()
	local Win=A.Functions.GiveWindow('Help',400,400);
	if(Win==nil)then return nil;end;

	local Ears={'Commands';'Players';'Signals';};

	Win.Ears={};
	Win.NumOfEars=#Ears;
	Win.NumberOfCommands=#A.Commands;

	local NUM;
	local CCMD;
	local TEXT='';
	Win.FixTutorial=function()
		NUM=Win.Pos.Value+1;
		CCMD=A.Commands[NUM];
		if(A.Stuffs.ForTutorialOfCommands==nil)then
			A.Stuffs.ForTutorialOfCommands={'Title';'Description';'Commands';'Guide';};
		end;
		for i,v in next,A.Stuffs.ForTutorialOfCommands do
			TEXT=TEXT..v..': '..CCMD[v]..'\n\n\n';i,v=nil;
		end;
		TEXT=NUM..' of '..Win.NumberOfCommands..'\n\n\n'..TEXT;
		Win.Ears[1].SetText.Value=TEXT;TEXT='';
	end;

	Win.Pos=A.Functions.Value('Number',0,function(Value)Win.FixTutorial();Value=nil;end);
	Win.CurrentFrame=A.Functions.Value('String','Commands',function(Value)
		for i=1,Win.NumOfEars do
			Win.Ears[i].Frame.Visible=Value==Win.Ears[i].Name;
		end;
	end);

	local Smgs={};
	for Int,Name in next,Ears do
		local Ear={};Win.Ears[#Win.Ears+1]=Ear;

		Ear.Name=Name;

		Ear.SetText=A.Functions.Value('String','',function(Value)Ear.Frame.Text=Value;Value=nil;end);

		Ear.Frame=A.Functions.Lock('TextLabel',{
				Visible=function()return Win.CurrentFrame.Value==Name;end;
				Text=function()return Ear.SetText.Value;end;
				BackgroundTransparency=1;
				Position=A.Old.UDim2.Pax;
				Size=A.Old.UDim2.Full;
				TextXAlignment=0;
				TextYAlignment=0;
				Parent=Win.Frame;
				FontSize=2;
			}
		);
		Ear.Ear=A.Functions.Button('TextButton',{
				Position=A.Old.UDim2.new(1/Win.NumOfEars*(Int-1),1.25,0,1.25);
				Size=A.Old.UDim2.new(1/Win.NumOfEars,-2.5,1,-2.5);
				BackgroundColor3=A.Old.Color3.Grey;
				TextColor3=A.Old.Color3.Black;
				Parent=Win.Menu;
				FontSize=1;
				Text=Name;
			},function()
				Win.CurrentFrame.Value=Name;
			end
		);Smgs[#Smgs+1]=Ear.Ear;

		if(Name=='Players')then
			local Text='';
			for Int,Table in next,A.Calls do
				Text=Text..Table.Description..': '..Table.Calls..'\n'..'\n';
			end;
			Ear.SetText.Value=Text;
		elseif(Name=='Signals')then
			Ear.SetText.Value=[[The first signal what you need for run a command signal is "]]..A.Data.Start..'" :3'..'\n\n'..[[For arguments type this "]]..A.Data.Step..'"'..'\n\n'..[[To use blink argument (hard to tell my english not enough to this) "{b{" until "}b}" so {b{blah;blah;LAALla;;;;aolaL}b}]];
		elseif(Name=='Commands')then
			Win.FixTutorial();
			for i=0,1 do
				local Num=i==0 and-1 or 1;
				local Plus;
				Smgs[#Smgs+1]=A.Functions.Button('TextButton',{
						Position=A.Old.UDim2.new(i,i==1 and -20,1,-20);
						BackgroundColor3=A.Old.Color3.Grey;
						TextColor3=A.Old.Color3.Black;
						Size=A.Old.UDim2.ButtonSize;
						Parent=Win.Ears[1].Frame;
						Text=i==0 and'<'or'>';
						FontSize=3;
					},function()
						Plus=Win.Pos.Value+Num;
						if(Plus>=0 and Plus<Win.NumberOfCommands)then
							Win.Pos.Value=Plus;
						end;
					end
				);
			end;
		end;

	end;A.Functions.TransparencyContact(Smgs);

end;
A.Functions.GetBase=function()
	for i,v in next,A.Service.Workspace:children()do
		if(v.className=='Part'and v.Name=='Base')then
			A.Functions.Remove(v,true);
		end;i,v=nil;
	end;
	local Base=A.Old.Instance.NewObject'Part';
		Base.Name='Base';
		Base.Locked=true;
		Base.Anchored=true;
		Base.archivable=false;
		Base.Size=A.Old.Vector3.new(555,2,555);
		Base.BrickColor=A.Old.BrickColor.new'37';
		Base.Parent=A.Service.Workspace;
	return Base;
end;
A.Functions.Clean=function()
	local Base=A.Functions.GetBase();
	if(A.Stuffs.Shielded==nil)then
		A.Stuffs.Shielded={
			HumanoidController=true;
			Terrain=true;
			Camera=true;
			Player=true;
		};
	end;
	if(A.Stuffs.Banned_Services==nil)then
		A.Stuffs.Banned_Services={
			NetworkClient=true;
			CoreGui=true;
		};
	end;
	for i,v in next,Game:children()do
		pcall(function()
			if(A.Stuffs.Banned_Services[v.className]==nil)then
				for i,v in next,v:children()do
					if(v~=script and v~=Base and A.Stuffs.Shielded[v.className]~=true and A.Service.Players:GetPlayerFromCharacter(v)==nil)then
						pcall(function()
							v.Parent=nil;
						end);
					end;i,v=nil;
				end;
			end;
		end);i,v=nil;
	end;
end;
A.Functions.ResetLighting=function()
	local Lighting=A.Service.Lighting;
	if(A.Stuffs.LightingBaseProperties==nil)then
		A.Stuffs.LightingBaseProperties={
			ShadowColor=A.Old.Color3.new(.7,.7,.72);
			FogColor=A.Old.Color3.new(.75,.75,.75);
			ColorShift_Bottom=A.Old.Color3.Black;
			GeographicLatitude=41.733299255371;
			ColorShift_Top=A.Old.Color3.Black;
			Ambient=A.Old.Color3.Grey;
			Brightness=1;
			FogEnd=1e6;
			FogStart=0;
		};
	end;
	for i,v in next,A.Stuffs.LightingBaseProperties do
		Lighting[i]=v;i,v=nil;
	end;
	pcall(Lighting.ClearAllChildren,Lighting);
end;
A.Functions.ExplorerGui=function()
	local Win=A.Functions.GiveWindow('Explorer',440,400);
	if(Win==nil)then
		return nil;
	end;

	Win.Frames={};

	Win.CountThis=A.Functions.Value('Object',Game,function(Value)
		if(Win.Frames.Explorer.SetPos.Value==0)then
			Win.Frames.Explorer.Count(0,Value);
		else
			Win.Frames.Explorer.SetPos.Value=0;
		end;
	end);
	Win.WatchingObject=A.Functions.Value('Object',Game,function(Value)
		if(Win.Frames.Properties.SetPos.Value==0)then
			Win.Frames.Properties.Count(0,Value);
		else
			Win.Frames.Properties.SetPos.Value=0;
		end;
	end);

	local Cnr={};

	Win.History={Game;};
	Win.HistoryPos=1;

	for i=0,1 do
		local Plus=i==0 and -1 or 1;
		local Num;
		Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
				BackgroundColor3=A.Old.Color3.Blue;
				Position=A.Old.UDim2.new(0,20*i);
				TextColor3=A.Old.Color3.Black;
				Text=i==0 and'<'or'>';
				Parent=Win.Menu;
				FontSize=3;
			},function()
				Num=Win.HistoryPos+Plus;
				if(Num<1 or Win.History[Num]==nil)then return nil;end;
				Win.HistoryPos=Num;
				Win.CountThis.Value=Win.History[Num];
			end
		);
	end;
	Win.HomeButton=A.Functions.Button('TextButton',{
			BackgroundColor3=A.Old.Color3.Green;
			Position=A.Old.UDim2.new(0,40);
			TextColor3=A.Old.Color3.Black;
			Parent=Win.Menu;
			Text='H';
		},function()
			Win.CountThis.Value=Game;
			Win.HistoryPos=1;
		end
	);
	Win.RefreshButton=A.Functions.Button('TextButton',{
			BackgroundColor3=A.Old.Color3.Grey;
			Position=A.Old.UDim2.new(0,60);
			TextColor3=A.Old.Color3.Black;
			Parent=Win.Menu;
			Text='R';
		},function()
			Win.Frames.Explorer.Count(0,Win.CountThis.Value);
		end
	);
	Win.RemoveButton=A.Functions.Button('TextButton',{
			BackgroundColor3=A.Old.Color3.Grey;
			Position=A.Old.UDim2.new(0,80);
			TextColor3=A.Old.Color3.Black;
			Parent=Win.Menu;
			Text='K';
		},function()
			for i,v in next,Win.Frames.Explorer.Selected do
				if(#v~=0)then
					for i,v in next,v do
						A.Functions.Remove(v);
					end;
				end;
			end;
		end
	);

	for i=0,1 do
		local Name=i==0 and'Explorer'or'Properties';
		local this={};
		this.Cells={};

		this.SetPos=A.Functions.Value('Number',0,function(Value)
			this.PosChanged(Value);
		end);

		this.Frame=A.Functions.Lock('Frame',{
				Size=A.Old.UDim2.new(.5,-20,1);
				Position=A.Old.UDim2.new(i/2);
				BackgroundTransparency=1;
				Parent=Win.Frame;
			}
		);
		this.ScrollFrame=A.Functions.Lock('Frame',{
				BackgroundColor3=A.Old.Color3.White;
				Size=A.Old.UDim2.new(0,20,1);
				Position=A.Old.UDim2.new(1);
				BackgroundTransparency=.5;
				Parent=this.Frame;
			}
		);
		Cnr[#Cnr+1]=this.ScrollFrame;

		for i=0,1 do
			local Plus=i==0 and-20 or 20;
			local Num;
			Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
					Position=A.Old.UDim2.new(0,0,i,i==1 and-20);
					BackgroundColor3=A.Old.Color3.Grey;
					Size=A.Old.UDim2.ButtonSize;
					Text=i==0 and'/\\'or'\\/';
					Parent=this.ScrollFrame;
					AutoButtonColor=true;
					FontSize=3;
				},function()
					Num=this.SetPos.Value+Plus;
					if(Num<0)then
						Num=0;
					end;
					if(Num>=this.Max)then
						Num=this.Max-(this.Max%20);
					end;
					this.SetPos.Value=Num;
				end
			);
		end;


		if(i==0)then--Explorer

			this.CountThis=Win.CountThis;

			this.Selected={};
			this.FreeBoxes={};

			this.Count=function(From,Object)
				local Parts=Object:children();
				if(#Parts==0)then return nil;end;
				this.Max=#Parts;
				

				local Asd;
				local i=1;
				local Object2;
				local NotGood=0;

				while(i<21)do
					Asd=From+i+NotGood;
					Object2=Parts[Asd];
					if(Object2==nil or pcall(function()return Object2:IsA'';end)==true)then
						this.Cells[i].SetObject.Value=Object2;
						i=i+1;
					else
						NotGood=NotGood+1;
					end;
				end;

			end;
			this.PosChanged=function(Value)
				this.Count(Value,this.CountThis.Value);
			end;

			for i=1,20 do
				local Cell={};this.Cells[#this.Cells+1]=Cell;
				
				Cell.GetPos=function()return this.SetPos.Value+i;end;

				Cell.SetText=A.Functions.Value('String','N/A',function(Value)
					Cell.Text.Text=Value;
				end);
				Cell.SetObject=A.Functions.Value('Object',nil,function(Value)
					
					if(Value~=nil)then
						Cell.SetSelect.Value=Value:FindFirstChild'Ohgal_Selection'~=nil;
						Cell.SetText.Value=Value.Name..' ('..Value.className..')';
						Cell.Number.Text=Cell.GetPos();
					end;

					Cell.Frame.Visible=Value~=nil or false;
					
				end);
				Cell.SetSelect=A.Functions.Value('Bool',false,function(Value)
					Cell.Selector.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.Red;
					local Object=Cell.SetObject.Value;
					if(Value==false)then
						local Selector=Object:FindFirstChild'Ohgal_Selection';
						if(Selector~=nil)then
							Selector.Parent=nil;
							this.FreeBoxes[#this.FreeBoxes+1]=Selector;
						end;
					else
						local ThisAdded;
						local Selector=Object:FindFirstChild'Ohgal_Selection'or this.FreeBoxes[1]or A.Old.Instance.NewObject'BindableEvent';
						if(Selector==this.FreeBoxes[1])then
							table.remove(this.FreeBoxes,1);
						end;

						Selector.Name='Ohgal_Selection';
						Selector.archivable=false;
						Selector.Parent=Object;

						
						local Box;
						if(Object:IsA'Model'or Object:IsA'Part')then
							Box=A.Old.Instance.NewObject('SelectionBox',this.Frame);
							Box.Adornee=Object;
						end;

						if(this.Selected[Object.className]==nil)then
							this.Selected[Object.className]={};
						else
							for i,v in next,this.Selected[Object.className]do
								if(v==Object)then
									ThisAdded=true;
									table.remove(this.Selected[Object.className],i);break;
								end;
							end;
						end;
						this.Selected[Object.className][#this.Selected[Object.className]+1]=Object;

						if(ThisAdded==nil)then
							local Kill=function()								
								Selector.Parent=nil;
								this.FreeBoxes[#this.FreeBoxes+1]=Selector;
								if(Box~=nil)then Box.Adornee=nil;Box.Parent=nil;end;
								for i,v in next,this.Selected[Object.className]do
									if(v==Object)then
										table.remove(this.Selected[Object.className],i);break;
									end;
								end;
							end;
							A.Functions.Thread(function()
								while(Selector.Parent~=nil)do Selector.Changed:wait();end;
								Kill();
							end);
							A.Functions.Thread(function()
								while(Object.Parent~=nil)do Object.Changed:wait();end;
								Kill();
							end);
						end;
					end;
				end);

				
				Cell.Frame=A.Functions.Lock('Frame',{
						Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
						Visible=function()return Cell.SetObject.Value~=nil;end;
						Size=A.Old.UDim2.new(1,0,0,18);
						BackgroundTransparency=1;
						Parent=this.Frame;
					}
				);

				Cell.Selector=A.Functions.Button('ImageButton',{
						BackgroundColor3=function()return Cell.SetSelect.Value==true and A.Old.Color3.Green or A.Old.Color3.Red;end;
						Size=A.Old.UDim2.new(0,20,1);
						Position=A.Old.UDim2.Pax;
						Parent=Cell.Frame;
					},function()
						Cell.SetSelect.Value=Cell.SetSelect.Value==false;
					end
				);
				Cnr[#Cnr+1]=Cell.Selector;

				Cell.Number=A.Functions.Lock('TextLabel',{
						BackgroundColor3=A.Old.Color3.Grey;
						Position=A.Old.UDim2.new(0,20);
						Size=A.Old.UDim2.new(0,20,1);
						Parent=Cell.Frame;
						Text=Cell.GetPos;
						FontSize=1;
					}
				);
				Cnr[#Cnr+1]=Cell.Number;

				local TimeOut=0;
				Cell.Text=A.Functions.Button('TextButton',{
						Text=function()return Cell.SetText.Value;end;
						BackgroundColor3=A.Old.Color3.White;
						Position=A.Old.UDim2.new(0,40);
						TextColor3=A.Old.Color3.Black;
						Size=A.Old.UDim2.new(1,-40,1);
						AutoButtonColor=true;
						Parent=Cell.Frame;
						TextXAlignment=0;
						FontSize=1;
					},function()
						if(TimeOut==1)then
							Win.HistoryPos=Win.HistoryPos+1;
							Win.History[Win.HistoryPos]=Cell.SetObject.Value;
							Win.History[Win.HistoryPos+1]=nil;
							this.CountThis.Value=Cell.SetObject.Value;
						else
							TimeOut=1;

							Win.WatchingObject.Value=Cell.SetObject.Value;

							Delay(.2,function()
								TimeOut=0;
							end);
						end;
					end
				);
				Cnr[#Cnr+1]=Cell.Text;

			end;

		else--Properties

			this.Count=function(From,Object)

				if(this._ThisBox~=nil)then
					this._ThisBox.Parent=nil;
				end;

				local Table=A.Functions.GetProperties(Object,true);
				this.Max=#Table;
				
				if(From<=4)then
					this.Cells[1].SetProperty.Value='Name';
					this.Cells[1].Fix();

					this.Cells[2].SetProperty.Value='Parent';
					this.Cells[2].Fix();

					this.Cells[3].SetProperty.Value='className';
					this.Cells[3].Fix();

					this.Cells[4].SetProperty.Value='archivable';
					this.Cells[4].Fix();
					
					for i=5,20 do
						this.Cells[i].SetProperty.Value=Table[(i-4)+From]or'';
						this.Cells[i].Fix();
					end;
				else
					for i=1,20 do
						this.Cells[i].SetProperty.Value=Table[i+From]or'';
						this.Cells[i].Fix();
					end;
				end;
			end;
			this.PosChanged=function(Value)
				this.Count(Value,Win.WatchingObject.Value);
			end;

			this.TextBox=function(ALALOLUBU)--ROFL
				if(pcall(function()this._ThisBox.Parent=ALALOLUBU;this._ThisBox.Text=ALALOLUBU.Text;end)==false)then
					this._ThisBox=A.Functions.Peace('TextBox',{
							BackgroundColor3=A.Old.Color3.White;
							TextColor3=A.Old.Color3.Black;
							Size=A.Old.UDim2.Full;
							Text=ALALOLUBU.Text;
							BorderSizePixel=0;
							Parent=ALALOLUBU;
							TextXAlignment=0;
							FontSize=1;
						}
					);
				end;
				Delay(0,function()pcall(function()this._ThisBox:CaptureFocus();end);end);
				this._ThisBox.FocusLost:wait();
				this._ThisBox.Parent=nil;
				A.Functions.Thread(function()
					Win.WatchingObject.Value[this.SetProperty]=loadstring('return '..this._ThisBox.Text)();
				end);
			end;

			for i=1,20 do
				local Cell={};this.Cells[#this.Cells+1]=Cell;
				
				Cell.SetProperty=A.Functions.Value('String','',function(Value)
					Cell.Frame.Visible=Value~='';
				end);

				Cell.Fix=function()
					if(Cell.SetProperty.Value~='')then
						Cell.Property.Text=Cell.SetProperty.Value..' ';
						Cell.Property.Size=A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1);
						
						Cell.ValueButton.Position=A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);
						Cell.ValueButton.Size=A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);
						Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
					end;
				end;
				
				
				Cell.Frame=A.Functions.Lock('Frame',{
						Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
						Visible=function()return Cell.SetProperty.Value~='';end;
						Size=A.Old.UDim2.new(1,0,0,18);
						BackgroundTransparency=1;
						Parent=this.Frame;
					}
				);
				
				Cell.Property=A.Functions.Lock('TextLabel',{
						Size=function()return Cell.Property~=nil and A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1)or A.Old.UDim2.Pax;end;
						Text=function()return Cell.SetProperty.Value..' ';end;
						BackgroundColor3=A.Old.Color3.DarkRed;
						TextWrapped=false;
						Parent=Cell.Frame;
						TextWrap=false;
						FontSize=1;
					}
				);
				Cnr[#Cnr+1]=Cell.Property;

				Cell.ValueButton=A.Functions.Button('TextButton',{
						Text=function()return(Cell.SetProperty.Value~=''and Win.WatchingObject.Value~=nil)and tostring(Win.WatchingObject.Value[Cell.SetProperty.Value])or'';end;
						Position=function()return A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);end;
						Size=function()return A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);end;
						Parent=Cell.Frame;
						TextXAlignment=0;
						FontSize=1;
					},function()
						this.SetProperty=Cell.SetProperty.Value;
						this.TextBox(Cell.ValueButton);Wait();
						Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
					end
				);
				Cnr[#Cnr+1]=Cell.ValueButton;
				
			end;

		end;--Properties end;

		this.Count(0,Game);


		Win.Frames[Name]=this;
	end;

	A.Functions.TransparencyContact(Cnr);
	
end;
A.Functions.AddKey=function(Key,Function)
	if(A.Stuffs.Security==true)then
		if(A.KeyCommands[Key]==nil)then A.KeyCommands[Key]={};end;
		A.KeyCommands[#A.KeyCommands+1]=Function;
		A.Service.GuiService.AddKey(Key);
		Key,Function=nil;
	end;
end;
A.Functions.DoKeyCommand=function(Key)
	if(A.KeyCommands[Key]~=nil)then
		for Int=1,#A.KeyCommands[Key]do
			A.KeyCommands[Key][Int]();
			Int=nil;
		end;
	end;Key=nil;
end;
A.Functions.Heal=function(Corpse)--From first Local Admin :3
	if(Corpse)then
		local Humanoid=A.Functions.FindObject(Corpse,'className','Humanoid');
		if(Humanoid==nil)then
			return nil;
		else
			if(Humanoid.Health<=0)then
				return nil;
			end;
			Humanoid.Health=Humanoid.MaxHealth
		end;
		for i,v in next,A.Data.CharacterLimbs do
			if(Corpse:FindFirstChild(i)==nil)then
				local Limb=A.Functions.Peace('Part',{
					CanCollide=false;
					BottomSurface=0;
					Parent=Corpse;
					TopSurface=0;
					formFactor=0;
					Size=v.Size;
					Name=i;
				});
				if(v.C0 and v.C1)then
					local Weld=A.Old.Instance.NewObject('Motor6D',Corpse:FindFirstChild'Torso');
					if(Weld.Parent)then
						Limb.Position=Weld.Parent.Position;
						Weld.Name=v.Name;
						Weld.Part0=Weld.Parent;
						Weld.Part1=Limb;
						Weld.C0=v.C0;
						Weld.C1=v.C1;
						Weld.MaxVelocity=.1;
					end;
					Weld=nil;
				end;
				Limb,i,v=nil;
			end;
			i,v=nil;
		end;
		local Skin=Corpse:FindFirstChild'Body Colors';
		if(Skin~=nil)then
			Skin.Parent=nil;
			Skin.Parent=Corpse;
		end;
		local Animate=Corpse:FindFirstChild'Animate';
		if(Animate~=nil)then
			Animate.Parent=nil;
			Animate.Parent=Corpse;
		end;
	end;
end;
A.Functions.CreateWeld=function(Part0,Part1,C0,C1)
	local Weld=A.Old.Instance.NewObject('Motor',Part0);
		Weld.Part0=Part0;
		Weld.Part1=Part1;
		if(C0~=nil)then
			Weld.C0=C0;
		end;
		if(C1~=nil)then
			Weld.C1=C1;
		end;
	return Weld;
end;
A.Functions.MemeGui=function()
	local Win=A.Functions.GiveWindow('Memes',300,300);
	if(Win==nil)then
		return nil;
	end;

	Win.Title.Position=A.Old.UDim2.new(.5,-150);

	Win.SetPos=A.Functions.Value('Number',0,function(Value)
		Win.Status.Text=Value;
		Win.Image.Image=Value;
	end);


	Win.Memes={};local Num=0;
	for i,v in next,A.Images.Meme do Num=Num+1;--[[Num+=1; don't work :'( ]]
		Win.Memes[Num]={Name=i;ID=v;};
	end;Win.NumMemes=#Win.Memes;

	Win.Status=A.Functions.Lock('TextLabel',{
			Text=function()return 1+Win.SetPos.Value..' of '..Win.NumMemes..': '..Win.Memes[Win.SetPos.Value+1].Name..' ('..Win.Memes[Win.SetPos.Value+1].ID..')';end;
			Position=A.Old.UDim2.new(0,20);
			Size=A.Old.UDim2.new(1,-40,1);
			TextColor3=A.Old.Color3.White;
			BackgroundTransparency=1;
			Parent=Win.Menu;
			FontSize=2;
		}
	);
	Win.Image=A.Functions.Lock('ImageLabel',{
			Image=function()return A.Data.BaseUrl..Win.Memes[Win.SetPos.Value+1].ID;end;
			Position=A.Old.UDim2.Pax;
			Size=A.Old.UDim2.Full;
			Parent=Win.Frame;
		}
	);

	local Cnr={};
	local Num;
	for i=0,1 do
		local Plus=i==0 and -1 or 1;
		Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
				Position=A.Old.UDim2.new(i,i==1 and -20);
				BackgroundColor3=A.Old.Color3.Grey;
				TextColor3=A.Old.Color3.Black;
				Size=A.Old.UDim2.new(0,20,1);
				Text=i==0 and'<'or'>';
				Parent=Win.Menu;
				FontSize=2;
			},function()
				Num=Win.SetPos.Value+Plus;
				if(Num>=Win.NumMemes)then
					Num=0;
				end;
				if(Num<0)then
					Num=Win.NumMemes-1;
				end;
				Win.SetPos.Value=Num;
			end
		);
		A.Functions.Button('TextButton',{
				TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.DarkRed;
				Position=A.Old.UDim2.new(i/2,0,1,-20);
				Size=A.Old.UDim2.new(.5,0,0,20);
				Text=i==0 and'Wear'or'Drop';
				BackgroundTransparency=1;
				TextStrokeTransparency=0;
				Parent=Win.Frame;
				FontSize=3;
			},i==0 and function()
				A.Functions.MakeMeme(Win.Memes[Win.SetPos.Value+1].ID,A.User.C.Character);
			end or function()
				A.Functions.MakeMeme('reset!',A.User.C.Character);
			end
		);
	end;

	A.Functions.TransparencyContact(Cnr);
	
end;
A.Functions.SettingWait=function(Name,Bool)
	if(A.Settings[Name].Value~=Bool)then
		A.Settings[Name].Changed:wait();
	end;
	return A.Settings[Name];
end;
A.Functions.FindWithOutside=function(Start,End)
	local Type=type(End);
	if(Type=='userdata')then
		local Stepped=0;
		if(Start.Parent~=End)then
			while(Start.Parent~=End and Stepped<50)do
				Start=Start.Parent;
				Stepped=Stepped+1;
			end;
		end;
	elseif(Type=='string')then
		local Stepped=0;
		if(Start.Parent.className~=End)then
			while(Start.Parent.className~=End and Stepped<50)do
				Start=Start.Parent;
				Stepped=Stepped+1;
			end;
		end;
	end;
	
	return Start;
end;
A.Functions.ResizeChar=function(Char,Plus_Size)
	local Torso=Char.Torso;

	Torso.Anchored=true;
	Torso.BottomSurface=0;
	Torso.TopSurface=0;
	
	A.Functions.Remove(Char:FindFirstChild'Shirt',true);
	A.Functions.Remove(Char:FindFirstChild'Pants',true);
	
	local Virus=Char:FindFirstChild'Shirt Graphic';
	if(Virus~=nil)then
		Virus:Destroy();
	end;
	
	local Welds={};
	local Change;Change=function(Object)
		for i,Weld in next,Object:children()do
			if(Weld.className=='Weld'or Weld.className=='Motor'or Weld.className=='Motor6D')then
				local Part=Weld.Part1;

				Part.Anchored=true;

				Weld.Part1=nil;

				local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C0:components();
				Weld.C0=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
				local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C1:components();
				Weld.C1=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);

				if(Part.Name~='Head')then
					Part.formFactor=3;
					Part.Size=Part.Size*Plus_Size;
				else
					for i,v in next,Part:children()do
						if(v.className=='Weld')then
							v.Part0=nil;
							v.Part1.Anchored=true;
						end;
					end;
					Part.formFactor=3;
					Part.Size=Part.Size*Plus_Size;
					for i,v in next,Part:children()do
						if(v.className=='Weld')then
							v.Part0=Part;
							v.Part1.Anchored=false;
						end;
					end;
				end;
					
				if(Weld.Parent==Torso)then
					Part.BottomSurface=0;
					Part.TopSurface=0;
				end;
				
				Part.Anchored=false;

				Weld.Part1=Part;

				if(Weld.Part0==Torso)then
					Welds[#Welds+1]=Weld;
					Part.Anchored=true;
					Weld.Part0=nil;
				end;
			elseif(Weld.className=='CharacterMesh')then
				local Body_Part=tostring(Weld.BodyPart):match'%w+.%w+.(%w+)';
				local Mesh=A.Old.Instance.NewObject('SpecialMesh',
					Body_Part=='Head'and Char:FindFirstChild'Head'or Body_Part=='Torso'and Char:FindFirstChild'Torso'or
					Body_Part=='LeftArm'and Char:FindFirstChild'Left Arm'or Body_Part=='RightArm'and Char:FindFirstChild'Right Arm'or
					Body_Part=='LeftLeg'and Char:FindFirstChild'Left Leg'or Body_Part=='RightLeg'and Char:FindFirstChild'Right Leg'or nil);
					Mesh.MeshId=A.Data.BaseUrl..Weld.MeshId;
					if(Weld.BaseTextureId~=0 or Weld.BaseTextureId~='0')then
						Mesh.TextureId=A.Data.BaseUrl..Weld.BaseTextureId;
					end;
					Mesh.Scale=Mesh.Scale*Plus_Size;
					Weld:Destroy();
			elseif(Weld.className=='SpecialMesh'and Weld.Parent~=Char.Head)then
				Weld.Scale=Weld.Scale*Plus_Size;
			end;
			Change(Weld);
		end;
	end;

	Change(Char);

	Torso.formFactor=3;
	Torso.Size=Torso.Size*Plus_Size;
	
	for i,v in next,Welds do
		v.Part0=Torso;
		v.Part1.Anchored=false;
	end;

	Torso.Anchored=false;
	--[[
	Wait(1);
	
	if(Shirts~=nil)then
		Shirts.Parent=Char;
	end;
	if(Pants~=nil)then
		Pants.Parent=Char;
	end;]]
end;
--[[Functions end;]]


--[[Old]]
local Table;
for i,Name in next,{
		'BrickColor';
		'Instance';
		'Vector3';
		'Vector2';
		'Color3';
		'CFrame';
		'UDim2';
		'UDim';
		'Ray';
	}do
	Table=loadstring('return '..Name)();
	if(Table~=nil)then
		A.Old[Name]=A.Functions.CopyTable(Table);
	end;i,Name=nil;
end;

A.Old.Instance.NewObject=A.Old.Instance.new;
A.Old.Instance.new=function(Object,Data)
	local Class=Object;
	Object,Data=A.Functions.GiveData(A.Old.Instance.NewObject(Object,Data));

	if(A.Stuffs.Gui.PartOfGui[Class]==true)then
		Data.Properties.BackgroundColor3=function()return A.Old.Color3.Black;end;
		Data.Properties.BorderSizePixel=function()return 0;end;
		Data.Properties.Visible=function()return true;end;
	end;
	if(A.Stuffs.Gui.Text[Class]==true)then
		Data.Properties.TextColor3=function()return A.Old.Color3.White;end;
		Data.Properties.TextWrapped=function()return true;end;
		Data.Properties.TextWrap=function()return true;end;
	end;
	if(A.Stuffs.Gui.Image[Class]==true)then
		Data.Properties.BackgroundTransparency=function()return 1;end;
	end;
	if(A.Stuffs.Gui.Button[Class]==true)then
		Data.Properties.AutoButtonColor=function()return false;end;
		Data.Properties.Active=function()return true;end;
	end;Class=nil;

	Data.Properties.archivable=function()return false;end;
	Data.Properties.Archivable=function()return false;end;
	Data.Properties.Name=function()return'';end;

	pcall(A.Functions.Peace,Object,Data.Properties);

	return Object,Data;
end;

A.Old.Color3.Red=A.Old.Color3.new(1);
A.Old.Color3.Black=A.Old.Color3.new();
A.Old.Color3.Green=A.Old.Color3.new(0,1);
A.Old.Color3.Blue=A.Old.Color3.new(0,0,1);
A.Old.Color3.DarkRed=A.Old.Color3.new(.8);
A.Old.Color3.Yellow=A.Old.Color3.new(1,1);
A.Old.Color3.White=A.Old.Color3.new(1,1,1);
A.Old.Color3.Grey=A.Old.Color3.new(.5,.5,.5);
A.Old.Color3.DarkGreen=A.Old.Color3.new(0,.8);
A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
A.Old.Color3.DarkYellow=A.Old.Color3.new(.7,.7);

A.Old.CFrame.Pax=A.Old.CFrame.new();
A.Old.CFrame.Char=A.Old.CFrame.new(0,3,0);

A.Old.Vector3.Pax=A.Old.CFrame.Pax.p;
A.Old.Vector3.Char=A.Old.CFrame.Char.p;
A.Old.Vector3.Jump=A.Old.Vector3.new(0,100);


A.Old.BrickColor.White=A.Old.BrickColor.new'1001';
A.Old.BrickColor.Black=A.Old.BrickColor.new'1003';

A.Old.UDim2.Pax=A.Old.UDim2.new();
A.Old.UDim2.Full=A.Old.UDim2.new(1,0,1);
A.Old.UDim2.ButtonSize=UDim2.new(0,20,0,20);
A.Old.UDim2.ScreenPos=A.Old.UDim2.new(0,0,0,-1);
A.Old.UDim2.ScreenSize=A.Old.UDim2.new(1,0,1,1);
--[[Old end;]]


--[[Data]]
A.Data.Step=[=[;]=];
A.Data.Start=[=[']=];
A.Data.Wrap=[=[ & ]=];
A.Data.Repeat=[=[##]=];
A.Data.RbxUrl='rbxassetid://';
A.Data.BaseUrl='http://www.roblox.com/Asset/?id=';
A.Data.CharacterLimbs={
	['Torso']={
		Size=A.Old.Vector3.new(2,2,1);
	};
	['Head']={
		C1=A.Old.CFrame.new(0,-0.5,0,-1,-0,-0,0,0,1,0,1,0);
		C0=A.Old.CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0);
		Size=A.Old.Vector3.new(2,1,1);
		Name='Neck';
	};
	['Right Arm']={
		C1=A.Old.CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,-0,-0);
		C0=A.Old.CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,-0,-0);
		Size=A.Old.Vector3.new(1,2,1);
		Name='Right Shoulder'
	};
	['Right Leg']={
		C1=A.Old.CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0);
		C0=A.Old.CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0);
		Size=A.Old.Vector3.new(1,2,1);
		Name='Right Hip'
	};
	['Left Arm']={
		C1=A.Old.CFrame.new(0.5,0.5,0,-0,-0,-1,0,1,0,1,0,0);
		C0=A.Old.CFrame.new(-1,0.5,0,-0,-0,-1,0,1,0,1,0,0);
		Size=A.Old.Vector3.new(1,2,1);
		Name='Left Shoulder'
	};
	['Left Leg']={
		C1=A.Old.CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0);
		C0=A.Old.CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0);
		Size=A.Old.Vector3.new(1,2,1);
		Name='Left Hip'
	};
};
--[[Data end;]]


--[[Stuffs]]
A.Stuffs.Gui={
	PartOfGui={
		ImageButton=true;
		TextButton=true;
		ImageLabel=true;
		TextLabel=true;
		TextBox=true;
		Frame=true;
	};
	Text={
		TextButton=true;
		TextLabel=true;
		TextBox=true;
	};
	Image={
		ImageButton=true;
		ImageLabel=true;
	};
	Button={
		ImageButton=true;
		TextButton=true;
	};
};
A.Stuffs.TrueBooleans={
	['of course']=true;
	['not false']=true;
	['why not']=true;
	['off on']=true;
	['yahwol']=true;
	['not 0']=true;
	['true']=true;
	['yes']=true;
	['yep']=true;
	['yup']=true;
	['on']=true;
	['ya']=true;
	['y']=true;
	['1']=true;
};
A.Stuffs.Security=pcall(function()return not Game.Workspace.FilteringEnabled;end);
local Asd;
A.Stuffs.AsciiNum={};
A.Stuffs.AsciiChar={};
for i=0,255 do
	Asd=string.char(i);
	A.Stuffs.AsciiNum[Asd]=i;
	A.Stuffs.AsciiChar[i]=Asd;i=nil;
end;Asd=nil;
A.Stuffs.CharVirus={
	['Shirt Graphic']='ShirtGraphic';
	['RobloxTeam']='Script';
	['Sound']='Script';
};
A.Stuffs.GuideCommands={
	['-r']='<Property>';
	['-x']='<Position>';
	['-b']='<Boolean>';
	['-p']='<Player>';
	['-v']='<Value>';
	['-s']='<Size>';
	['-t']='<Text>';
	['-i']='<Path>';
};
A.Stuffs.NullTable={};
A.Stuffs.StarterSource=[==[if(Game.PlaceId~=0)then print=function()end;end;local Users=Game:service'Players';local User=lPlayer; ]==];
--[[Stuffs end;]]


--[[Settings]]
A.Settings['Security of character']=false;
A.Settings['Windows transparency']=true;
A.Settings['Big jumps']=false;
A.Settings.HealthBar=false;
A.Settings.Immortal=false;
--[[Settings end;]]


--[[Service]]
for i,v in next,Game:children()do
	pcall(function()
		if(Game:service(v.className)~=nil)then
			A.Service[v.className]=v;
		end;i,v=nil;
	end);
end;
--[[Service end;]]



--[=[Create gui module
	Exemple:

A.Functions.CreateGuiModule(function()

end);

]=]
A.Functions.CreateGuiModule(function()
	for i,v in next,{'Hints';'Messages';'Other';'Windows';'First';}do
		A.User.Frames[v]=A.Functions.Lock('Frame',{
				Position=A.Old.UDim2.ScreenPos;
				Size=A.Old.UDim2.ScreenSize;
				BackgroundTransparency=1;
				Parent=A.User.Screen;
				Name=v;
			}
		);i,v=nil;
	end;
end);
A.Functions.CreateGuiModule(function()
	A.Stuffs.MenuButton=A.Functions.Lock('Sound',{
			SoundId='rbxasset://sounds/switch.wav';
			Parent=A.User.Screen;
			Volume=.5;
			Pitch=2;
		}
	);
	A.Stuffs.Button=A.Functions.Lock('Sound',{
			SoundId='rbxasset://sounds/SWITCH3.wav';
			Parent=A.User.Screen;
			Volume=.2;
			Pitch=2;
		}
	);
end);
A.Functions.CreateGuiModule(function()
	local Frame;
	local Pos1,Pos2=A.Old.UDim2.new(0,-110,1,-145),A.Old.UDim2.new(0,0,1,-145);

	local MouseEnter=A.Functions.Value('Bool',false,function(Value)
		A.User.MenuButton.Position=Value==true and Pos2 or Pos1;
		A.User.MenuButton.Transparency=Value==true and 0 or .5;
	end);
	local Visible=A.Functions.Value('Bool',false,function(Value)A.User.MenuButton.Visible,MouseEnter.Value=Value==false;Frame.Visible=Value;end);

	local BF={};
	local AddButtonFunction=function(Title,Function,Security)
		if(Security==true and A.Stuffs.Security==false)then
			return nil;
		end;
		BF[#BF+1]={
			Function=Function;
			Title=Title;
		};
	end;

	AddButtonFunction('Back to the game',function()Visible.Value=false;end);
	AddButtonFunction('Fix Roblox Guis',function()loadstring(Game:GetObjects'rbxassetid://85827582'[1].Value)();end,true);
	AddButtonFunction('Command Bar',function()A.Functions.CommandBar();end);
	AddButtonFunction('Show Memes',function()A.Functions.MemeGui();end);
	AddButtonFunction('Spawning',function()A.User.Char.Torso.CFrame=A.Functions.GetSpawnLocationCFrame();A.User.Char.Torso.Velocity=A.Old.Vector3.Pax;end);
	AddButtonFunction('Explorer',function()A.Functions.ExplorerGui();end);
	AddButtonFunction('Settings',function()A.Functions.SettingsGui();end);
	AddButtonFunction('Meters',function()A.Functions.Meter();end);
	AddButtonFunction('Reset',function()A.Functions.ResetChar(A.User.C);end);
	AddButtonFunction('Nuke',function()A.Functions.NukeChar(A.User.Char);end);
	AddButtonFunction('Help',function()A.Functions.HelpGui();end);
	AddButtonFunction('Heal',function()A.Functions.Heal(A.User.C.Character);end);

	AddButtonFunction=nil;


	A.User.MenuButton=A.Functions.Lock('TextButton',{
			Transparency=function()return MouseEnter.Value==true and 0 or .5;end;
			Visible=function()return Visible.Value==false;end;
			Position=function()return MouseEnter.Value==true and Pos2 or Pos1;end;
			TextColor3=A.Old.Color3.DarkYellow;
			Size=A.Old.UDim2.new(0,125,0,20);
			Parent=A.User.Frames.First;
			Text='Menu of Ohgal';
			FontSize=2;
		},{
			MouseEnter=function()
				MouseEnter.Value=true;
				A.User.MenuButton.MouseLeave:wait();
				MouseEnter.Value=false;
			end;
			MouseButton1Up=function()
				Visible.Value=true;
				A.Stuffs.MenuButton:play();
			end;
		}
	);
	coroutine.wrap(function()
		A.User.MenuButton.MouseButton1Down:wait();
		A.User.STARTUPMSG.Parent=nil;
	end)();
	Frame=A.Functions.Lock('Frame',
		{
			Position=A.Old.UDim2.new(.5,-200,.5,-((#BF*20)+5)/2);
			Size=A.Old.UDim2.new(0,400,0,(#BF*20)+10);
			Visible=function()return Visible.Value;end;
			BackgroundColor3=A.Old.Color3.DarkRed;
			Parent=A.User.Frames.First;
			BackgroundTransparency=.5;
		}
	);
	for Int,v in next,BF do
		A.Functions.Button('TextButton',{
				Position=A.Old.UDim2.new(0,5,0,(20*(Int-1))+5);
				TextColor3=A.Old.Color3.DarkYellow;
				Size=A.Old.UDim2.new(1,-10,0,20);
				BackgroundTransparency=.5;
				AutoButtonColor=true;
				Text=v.Title;
				Parent=Frame;
				FontSize=5;
				Font=1;
			},v.Function
		);
	end;
end);
A.Functions.CreateGuiModule(function()
	Delay(0,function()
		local Color1=A.Old.Color3.Black;
		local Color2=A.Old.Color3.Red;
		local Color3=A.Old.Color3.Red;
		local Color4=A.Old.Color3.Black;
		local Msg=A.Functions.Peace('TextLabel',{
				Text='Welcome!'..string.rep('\n',2)..'Remso - Local Admin';
				Position=A.Old.UDim2.new(.5,0,.5);
				BackgroundTransparency=.5;
				BackgroundColor3=Color1;
				Parent=A.User.Screen;
				TextColor3=Color2;
				BorderSizePixel=0;
				TextWrapped=true;
				FontSize=3;
			}
		);
		A.User.STARTUPMSG=Msg;
		Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,300,0,70),A.Old.UDim2.new(.5,-150,.5,-35),1,2,1,false);
		Wait(5);
		Msg.BackgroundColor3=A.Old.Color3.Red;
		Msg.TextColor3=A.Old.Color3.Black;
		if(Msg.Parent~=nil)then
			Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,200,0,20),A.Old.UDim2.new(0,25,1,-145),1,1,1,false);
			Msg.Text='<-- There is the MENU';
			coroutine.wrap(function()
				for i=1,3 do
					Msg.BackgroundColor3=Color3;
					Msg.TextColor3=Color4;
					A.Functions.Wait(.3);
					Msg.BackgroundColor3=Color1;
					Msg.TextColor3=Color2;
					A.Functions.Wait(.3);
				end;
			end)();
			Wait(6);
		end;
		A.Functions.Remove(Msg,true);
	end);
end);
A.Functions.CreateGuiModule(function()
	A.Functions.SettingWait('HealthBar',true);
	A.User.Gui.HelathBar={};
	local this=A.User.Gui.HelathBar;
	
	if(A.User.Humanoid.Value==nil)then
		A.User.Humanoid.Changed:wait();
	end;

	this.Fix=function()
		this.Pos=A.Old.UDim2.new(this.SetHealth.Value/this.SetMaxHealth.Value,0,1);
		if(this.HBar~=nil)then
			this.HBar.Size=this.Pos;
		end;
		return this.Pos;
	end;
	this.FixStats=function()
		this.Idk=this.Humanoid.Health/this.Humanoid.MaxHealth;
		this.SetMaxHealth.Value=this.Humanoid.MaxHealth;
		this.SetHealth.Value=this.Humanoid.Health;
		this.SetColor.Value=(this.Idk<=.1)and A.Old.Color3.DarkRed or(this.Idk>.1 and this.Idk<=.5)and
			A.Old.Color3.DarkYellow or(this.Idk>.5 and this.Idk<=1)and A.Old.Color3.Green or A.Old.Color3.Black;
	end;

	this.SetColor=A.Functions.Value('Color3',A.Old.Color3.Green,function(Color3)this.HBar.BackgroundColor3=Color3;Color3=nil;end);
	this.SetVisible=A.Functions.Value('Bool',true,function(Value)this.Frame.Visible=Value;Value=nil;end);
	this.SetMaxHealth=A.Functions.Value('Number',A.User.Humanoid.Value.MaxHealth,this.Fix);
	this.SetHealth=A.Functions.Value('Number',A.User.Humanoid.Value.Health,this.Fix);

	this.Frame=A.Functions.Lock('Frame',{
			Visible=function()return this.SetVisible.Value;end;
			Position=A.Old.UDim2.new(.5,-55,1,-25);
			Size=A.Old.UDim2.new(0,110,0,20);
			Parent=A.User.Frames.Other;
			BackgroundTransparency=.5;
		}
	);
	this.MHBar=A.Functions.Lock('Frame',
		{
			--BackgroundColor3=A.Old.Color3.DarkRed;
			Position=A.Old.UDim2.new(0,5,0,5);
			Size=A.Old.UDim2.new(1,-10,1,-10);
			BackgroundTransparency=1;
			Parent=this.Frame;
		}
	);
	this.HBar=A.Functions.Lock('Frame',
		{
			BackgroundColor3=function()return this.SetColor.Value;end;
			Position=A.Old.UDim2.Pax;
			Parent=this.MHBar;
		}
	);
	this.HBar.Size=this.Fix();

	this.Valid=true;

	coroutine.wrap(function()
		while(A.Functions.Check()and this.Valid==true)do
			this.SetVisible.Value=A.Settings.HealthBar.Value;
			A.Settings.HealthBar.Changed:wait();
		end;
	end)();
	coroutine.wrap(function()
		while(A.Functions.Check()and this.Valid==true)do
			A.Functions.SettingWait('HealthBar',true);

			this.Humanoid=A.User.Humanoid.Value;
			this.FixStats();

			coroutine.wrap(function()
				while(A.Functions.Check()and A.User.Humanoid.Value==this.Humanoid)do
					this.Humanoid.HealthChanged:wait();
					this.FixStats();
				end;
			end)();

			A.User.Humanoid.Changed:wait();
			this.Humanoid.MaxHealth=this.Humanoid.MaxHealth+1;
		end;
	end)();

end);
--[[Create gui module end;]]


--[=[Module create
	Exemple:
A.Functions.CreateModule('Type',function()

end);
]=]
A.Functions.CreateModule('Once',A.Functions.Screen);
A.Functions.CreateModule('Once',function()

	local Value=A.Functions.SettingWait('Immortal',true);
	local Val_;

	while(A.Functions.Check())do
		Val_=Value.Value;
		if(A.User.Humanoid.Value~=nil)then
			A.User.Humanoid.Value.Name=Val_==true and'Immortal'or'Humanoid';
			A.User.Humanoid.Value.MaxHealth=Val_==true and 1e666 or 100;
			A.User.Humanoid.Value.Health=Val_==true and 1e666 or 100;
		end;
		Value.Changed:wait();
	end;

end);
A.Functions.CreateModule('Once',function()
	local Num;
	A.Stuffs.SecurityID=A.Stuffs.SecurityID and A.Stuffs.SecurityID+1 or 1;
	local Local_ID=A.Stuffs.SecurityID;
	while(A.Functions.Check()==true and A.Stuffs.SecurityID==Local_ID)do
		A.Functions.Wait();

		A.User.Char=A.User.C.Character;

		if(A.User.Char~=nil and A.User.Char.PrimaryPart~=nil)then
			A.Functions.LoadModule'Char';
		end;

		A.User.C.CharacterAdded:wait();

		Num=#A.User.Connections;
		for i=1,Num do A.User.Connections[i]:disconnect();i=nil;end;
		for i=1,Num do A.User.Connections[i]=nil;i=nil;end;
	end;
end);
A.Functions.CreateModule('Char',function()
	_G['Ohgal - Char Security Version']=_G['Ohgal - Char Security']~=nil and _G['Ohgal - Char Security']+1 or 0;
	local CharSecurityVersion=_G['Ohgal - Char Security'];
	local Torso=A.User.Char.Torso
	while(A.Functions.Check()and CharSecurityVersion==_G['Ohgal - Char Security'])do
		A.Functions.SettingWait('Security of character',true);
		if(Torso.Position.Y<=-200 and Torso.Velocity.Y~=0)then
			Torso.CFrame=A.Functions.GetSpawnLocationCFrame();
			Torso.RotVelocity=A.Old.Vector3.Pax;
			Torso.Velocity=A.Old.Vector3.Pax;
		end;
		A.Functions.Wait();
	end;
end);
A.Functions.CreateModule('Char',function()
	A.User.Humanoid.Value=A.Functions.FindObject(A.User.Char,'className','Humanoid');

	if(A.Settings.Immortal.Value==true)then
			A.User.Humanoid.Value.Name='Immortal';
			A.User.Humanoid.Value.MaxHealth=1e666;
			A.User.Humanoid.Value.Health=1e666;
	end;

	coroutine.wrap(function()
		local Humanoid=A.User.Humanoid.Value;
		while(Humanoid==A.User.Humanoid.Value and A.Functions.Check()==true)do
			A.Functions.SettingWait('Big jumps',true);
			Humanoid.Jumping:wait();
			if(A.Settings['Big jumps'].Value==true)then
				Humanoid.Torso.Velocity=A.Old.Vector3.Jump;
			end;
		end;
	end)();

	for i,v in next,A.User.Char:children()do
		if(A.Stuffs.CharVirus[v.Name]==v.className)then
			A.Functions.Remove(v,true);
		end;i,v=nil;
	end;
	A.Functions.Connect(A.User.Char,'ChildAdded',function(v)
		if(A.Stuffs.CharVirus[v.Name]==v.className)then
			A.Functions.Remove(v,true);
		end;v=nil;
	end,A.User);
	if(A.Stuffs.CharVirus.Sound==nil)then return nil;end;
	for i,v in next,A.User.Char.PrimaryPart:children()do
		if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
			A.Functions.Remove(v,true);
		end;i,v=nil;
	end;
	A.Functions.Connect(A.User.Char.PrimaryPart,'ChildAdded',function(v)
		if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
			A.Functions.Remove(v,true);
		end;v=nil;
	end,A.User);
end);
A.Functions.CreateModule('PlayerGui',A.Functions.GuisParent);
A.Functions.CreateModule('PlayerGui',function()
	local Old=A.User.PlayerGui;
	coroutine.wrap(function()
		local Virus;
		while(A~=nil and A.Functions.Check()and Old==A.User.PlayerGui)do
			if(Virus==nil)then
				Virus=Old:FindFirstChild'HealthGUI';
			else
				Virus=Virus.Name=='HealthGUI'and Virus or nil;
			end;
			if(Virus~=nil)then
				A.Functions.VisibleOfHealthGUI(A.Settings.HealthBar.Value==false);
				Virus=Virus:FindFirstChild'hurtOverlay';
				if(Virus)then
					A.Functions.Remove(Virus,true);
				end;
			end;
			Virus=Old.ChildAdded:wait();Wait();
		end;
	end)();
	while(Old.Parent~=nil)do Old.Changed:wait();end;
	A.Old.Instance.NewObject('BoolValue',Old);
end);

--[[Module create end;]]



--[=[Call create
	Exemple:

A.Functions.CreateCall([[Description]],{},function(Self)

end);

]=]
A.Functions.CreateCall([[For you]],{'me!';'myself!';'satan!';},function(Self)
	return Self==A.User.C;
end);
A.Functions.CreateCall([[For they]],{'other!';'noobs!';'idiots!';'notme!';},function(Self)
	return Self~=A.User.C;
end);
A.Functions.CreateCall([[For players]],{'players!';},function(Self)
	return Self.userId>0;
end);
A.Functions.CreateCall([[For guests]],{'guests!';},function(Self)
	return Self.userId<1;
end);
A.Functions.CreateCall([[For random player]],{'random!';'rand!';},function(Self)
	return math.random(1,4)==1;
end);
A.Functions.CreateCall([[For each]],{'all!';'each!'},function(Self)
	return true;
end);
--[[Call create end;]]



A.Functions.SetupCommands=function()
--[==[Command create
 Exemple:

A.Functions.CreateCommand([[Title]],{},[[Description]],[[]],1,function(Text,FullText,Args)

end);

]==]
A.Functions.CreateCommand([[Repeat Command]],{'loopthis';'loopthat';'repeat';'rt';},[[Repeat commands...First is name of the loop... Second value is number of loop... Third is delay (0 not wait())... The last is the command and command argument(s)... To stop loop say loop name first and last "abort!"]],[[-v-v-v]],3,function(Text,FullText,Args)
	if(A.Stuffs.Loops==nil)then
		A.Stuffs.Loops={};
	end;

	local Value=Args[2]:lower()~='abort!'and true or nil;

	if(Value==true and A.Stuffs.Loops[Args[1]]~=nil)then
		error(Args[1]..' already run...');
		return nil;
	end;
	A.Stuffs.Loops[Args[1]]=Value;
	if(A.Stuffs.Loops[Args[1]]==nil)then
		return nil;
	end;
	local Repeat=tonumber(Args[2]);
	local Delay=tonumber(Args[3]);
	local Command=A.Data.Start..FullText:match(Args[1]..A.Data.Step..Args[2]..A.Data.Step..Args[3]..A.Data.Step..'(.+)');
	if(Delay>0)then
		for i=1,Repeat do
			if(A.Stuffs.Loops[Args[1]]==true)then
				A.Functions.SearchCommand(Command);
				Wait(Delay);
			else
				break;
			end;
		end;
	else
		for i=1,Repeat do
			A.Functions.Thread(function()
				A.Functions.SearchCommand(Command);
			end);
		end;
	end;
	A.Stuffs.Loops[Args[1]]=nil;
end);
A.Functions.CreateCommand([[Dummy]],{'dummy';'doll';},[[Dummy for testing lol... Add player name for or Vector3 position and for last number of dummies... For remove all, the first argument should be "remove!"]],[[-v-v]],2,function(Text,FullText,Args)
	if(Args[1] and Args[1]:lower()=='remove!')then
		for i,v in next,A.Service.Workspace:children()do
			if(v:FindFirstChild'Remso - Dummy')then
				A.Functions.Remove(v,true);
			end;
		end;
		return nil;
	end;
	local Repeat=tonumber(Args[2])or 1;
	local Load,Position=pcall(function()return loadstring('local c={...};return c[1]('..Args[1]..')')(A.Old.CFrame.new);end);
	if(Load==false)then Position=A.Functions.Players(Args[1])[1].Character.Torso.CFrame;end;
	for i=1,Repeat do
		local Dummy=A.Functions.Peace('Model',{
				Parent=A.Service.Workspace;
				Name='Dummy';
			}
		);
		A.Old.Instance.NewObject('BoolValue',Dummy).Name='Remso - Dummy';
		A.Old.Instance.NewObject('Humanoid',Dummy);
		A.Functions.Peace('Part',{
				CFrame=Position*CFrame.Angles(0,math.rad(360/Repeat*i),0)*CFrame.new(5+.2*Repeat,0,0);
				Size=Vector3.new(2,2,1);
				BottomSurface=0;
				TopSurface=0;
				formFactor=3;
				Parent=Dummy;
				Name='Torso';
			}
		);
		A.Functions.Heal(Dummy);
		A.Old.Instance.NewObject('SpecialMesh',Dummy.Head).Scale=Vector3.new(1.25,1.25,1.25);
		A.Functions.Peace('Decal',{
				Texture='rbxasset://textures/face.png';
				Parent=Dummy.Head;
				Name='face';
				Face=5;
			}
		);
	end;
end);
A.Functions.CreateCommand([[Wall Hack]],{'wallhack';'wall_hack';'wh';},[[Wall hack... Add number for transparency value! The base value is 0.5]],[[-v]],1,function(Text,FullText,Args)
	local Transparency=tonumber(Args[1])or .5;
	A.Functions.All(A.Service.Workspace,function(Part)
		if(Part:IsA'BasePart')then
			Part.AlphaModifier=Transparency;
		end;
	end);
end);
A.Functions.CreateCommand([[Teleport To A Place]],{'toplace';'tplace';'tpl';},[[Teleport to other places...]],[[-v-p]],2,function(Text,FullText,Args)
	local Teleport_ID=tonumber(Args[1]);
	A.Functions.Players(Args[2],function(Self)
		if(Self==A.User.C)then
			A.Services.TeleportService:Teleport(Teleport_ID);
		else
			A.Functions.CreateScript('LocalScript',Self,[[
				Game:service'TeleportService':Teleport(]]..Teleport_ID..[[);
			]]);
		end;
	end);
end);
A.Functions.CreateCommand([[Execution]],{'execution';'execute';'exe';},[[Like localscripting but this works only for admin...]],[[-t]],0,function(Text,FullText,Args)
	local Exe=A.Old.Instance.NewObject'StringValue';
		Exe.Name='Ohgal_Execution';
		Exe.Parent=A.User.C;
		Exe.Value=FullText;
end);
A.Functions.CreateCommand([[Resize Character]],{'resize';},[[Character resizing OLaloOLAolaol]],[[-p-v]],2,function(Text,FullText,Args)
	local Size=tonumber(Args[2]);
	if(Size==nil)then
		return nil;
	end;
	A.Functions.Players(Args[1],function(Self)
		A.Functions.ResizeChar(Self.Character,Size);
	end);
end);
A.Functions.CreateCommand([[Give Weapons]],{'giveweapons';'gws';},[[Give weapons from somebody to somebody...]],[[-p-p]],2,function(Text,FullText,Args)
	local Backpack=A.Functions.FindObject(A.Functions.Players(Args[2])[1],'className','Backpack');
	if(Backpack~=nil)then
		A.Functions.Players(Args[1],function(Self)
			if(Self.Character~=nil)then
				for i,v in next,Self.Character:children()do
					if(v.className=='Tool')then
						v.Parent=Backpack;
					end;
				end;
			end;
			for i,v in next,Self.Backpack:children()do
				if(v.className=='Tool'or v.className=='HopperBin')then
					v.Parent=Backpack;
				end;
			end;
		end);
	end;
end);
A.Functions.CreateCommand([[Be Cute]],{'becute';'bc';},[[Be cute?]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		local Parent=Self.Character;

		if(Parent==nil)then
			return nil;
		end;

		local StarterPos=A.Old.Vector3.Pax;

		local Round=15;
		local Asd=Round/5;
		local Radius=.8*Parent.Torso.Size.X/2;

		local PSize=.5;

		local P={};
		local Num=0;

		for i,v in next,Parent:children()do
			if(v.Name=='Pentagramma')then
				A.Functions.Remove(v,true);
			elseif(v.Name=='Black Metal Set')then
				for i,v in next,v:children()do
					if(v.className=='Part')then
						A.Functions.Remove(v,true);
					end;
				end;
			end;
		end;

		local Warehouse=A.Old.Instance.NewObject('Model',Parent);
			Warehouse.Name='Pentagramma';

		for i=0,Round do
			local Rad=math.rad((360/Round*i)+180);
			local Pos=A.Old.Vector3.new(
				math.sin(Rad)*Radius,
				math.cos(Rad)*Radius,
				-Parent.Torso.Size.Z/2
			);
			if(i~=0)then Num=Num+1;
				if(Num==Asd)then
					Num=0;
					P[#P+1]=Pos;
				end;
				A.Functions.Peace('BlockMesh',{
						Scale=A.Old.Vector3.new(PSize,PSize,(StarterPos-Pos).Magnitude*5.2)+A.Old.Vector3.new(math.random()/10,0,0);
						Parent=A.Functions.CreateWeld(
							Parent.Torso,
							A.Functions.Peace('Part',{
									BrickColor=BrickColor.new(199);
									CFrame=Parent.Torso.CFrame;
									Size=A.Old.Vector3.Pax;
									CanCollide=false;
									Parent=Warehouse;
									formFactor=3;
								}
							),
							A.Old.CFrame.new(StarterPos,Pos)*A.Old.CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
						).Part1;
					}
				);
			end;
			StarterPos=Pos;
		end;

		for i,v in next,{{1;4;};{1;3;};{2;4;};{2;5;};{3;5;};}do --Make better...
			local StarterPos=P[v[1]];
			local Pos=P[v[2]];
			
			local Weld=A.Old.Instance.NewObject('Weld',Warehouse);
			A.Functions.Peace('BlockMesh',{
					Scale=A.Old.Vector3.new(PSize-.2,PSize-.2,(StarterPos-Pos).Magnitude*5.2)+Vector3.new(math.random()/10,0,0);
					Parent=A.Functions.CreateWeld(
						Parent.Torso,
						A.Functions.Peace('Part',{
								BrickColor=BrickColor.new(194);
								CFrame=Parent.Torso.CFrame;
								Size=A.Old.Vector3.Pax;
								CanCollide=false;
								Parent=Warehouse;
								formFactor=3;
							}
						),
						CFrame.new(StarterPos,Pos)*CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
					).Part1;
				}
			);
		end;
	end);
end);
A.Functions.CreateCommand([[Change Music]],{'cmp';'cmusic';},[[Change current music properties]],[[-r-v]],2,function(Text,FullText,Args)
	local Name='Ohgal_Music';
	local Music=A.Service.Workspace.CurrentCamera:FindFirstChild(Name)or A.Service.Lighting(Name);
	if(Music~=nil)then
		Music=Music.className=='Tool'and Music:FindFirstChild(Name)or Music;
		print(Music,Music.className);
		for i,v in next,A.Functions.GetProperties(Music)do
			if(i:lower():find(Args[1]:lower())==1)then
				Music[i]=loadstring('return '..Args[2])();
			end;
		end;
	end;
end);
A.Functions.CreateCommand([[Music]],{'play';'music';'mp';},[[asd...Arguments: 1.) name of the music or number of the music 2.) Public mode or Private mode (Base mode is Public!)]],[[-v-b]],2,function(Text,FullText,Args)
	for i,Place in next,{A.Service.Lighting;A.Service.Workspace.CurrentCamera;}do
		for i,v in next,Place:children()do
			if(v.className=='Sound'and v.Name=='Ohgal_Music')then
				v:stop();
			end;
		end;
	end;

	local Bool=A.Functions.ToBoolean(Args[2]);
	local Sound_Data=A.Functions.LoadSound('Musics',Args[1],true);

	loadstring([[
		local Parent=]]..tostring(Bool)..[[ and Workspace.CurrentCamera or Game:service'Lighting';
		local Sound=Parent:FindFirstChild'Ohgal_Music'or Instance.new'Sound';
			Sound.SoundId=']]..A.Data.BaseUrl..Sound_Data.SoundId..[['
			Sound.Pitch=]]..Sound_Data.Pitch..[[
			Sound.Name='Ohgal_Music';
			Sound.Parent=Parent;
			Sound.Looped=true;
			Sound:play();
	]])();
end);
A.Functions.CreateCommand([[Kick]],{'kick';'bye';},[[Customed player'll leave from the game...]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		if(Self~=A.User.C)then
			if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
				A.Functions.CreateScript('LocalScript',Self,[[script.Parent=nil;User.Parent=nil;User.Parent=Users;]]);
			else
				A.Functions.Remove(Self);
			end;
		end;
	end);
end);
A.Functions.CreateCommand([[Create Part]],{'npart';'cpart';'part';},[[Part creating... For remove all parts you should add first argument "remove!" or nothing... Arguments: 1.) Size(n,n,n) 2.) BrickColor 3.) Collide 4.) Anchor 5.) Position(0,0,0)[ haven't to add ] 6.) Type of part]],[[-s-b-b-v-x-v]],6,function(Text,FullText,Args)

	if(Args[1]==nil or Args[1]:lower()=='remove!')then
		A.Functions.All(Workspace,function(Part)
			if(Part.Name=='Ohgal_Part')then
				A.Functions.Remove(Part,true);
			end;
		end);
		return nil;
	end;

	local Size=A.Old.Vector3.new(loadstring('return '..Args[1])());

	local Position=Args[5]~=nil and A.Old.CFrame.new(A.Old.Vector3.new(loadstring('return '..Args[5])()))or
		A.User.Char.Head.CFrame+A.User.Char.Head.CFrame.lookVector*A.Old.Vector3.new(Size.X,0,Size.Z).Magnitude;
	
	local Part=A.Functions.Peace(Args[6]~=nil and Args[6]or'Part',{
			CanCollide=Args[3]~=nil and A.Functions.ToBoolean(Args[3])or true;
			BrickColor=A.Old.BrickColor.new(Args[2]or 0);
			Anchored=A.Functions.ToBoolean(Args[4]);
			Name='Ohgal_Part';
			Parent=Workspace;
			CFrame=Position;
			formFactor=3;
			Size=Size;
		}
	);
	
end);
A.Functions.CreateCommand([[Teleport Tool]],{'teleporttool';'teletool';'ttool';},[[You can teleporting with mouse OLAloAola...]],[[]],0,function(Text,FullText,Args)
	local Tool=A.Old.Instance.NewObject'Tool';
	local Handle=A.Functions.Peace('Part',{
			Size=A.Old.Vector3.Pax;
			Name='Handle';
			formFactor=0;
			Parent=Tool;
		}
	);

	Delay(0,function()
		Tool.Parent=A.User.Char;
	end);


	local Mouse=Tool.Equipped:wait();

	Mouse.Icon=A.Data.BaseUrl..65439473;

	Tool.Parent=nil;


	local Torso=A.User.Char.Torso;

	local Cts={};

	Cts[#Cts+1]=Mouse.Button1Down:connect(function()
		if(Mouse.Target~=nil)then
			Torso.Velocity=A.Old.Vector3.Pax;
			Torso.RotVelocity=A.Old.Vector3.Pax;
			Torso.CFrame=Torso.CFrame-Torso.CFrame.p+Mouse.Hit.p+A.Old.Vector3.Char;
		end;
	end);

	local cTorso;
	local Grabbed;
	local Dragging=false;
	Cts[#Cts+1]=Mouse.KeyDown:connect(function(Key)
		if(Key=='f')then
			if(Mouse.Target~=nil and Mouse.Target~=Workspace)then
				local Humanoid=A.Functions.FindObject(Mouse.Target.Parent,'className','Humanoid');
				if(Humanoid~=nil and Humanoid.Torso~=nil)then
					cTorso=Humanoid.Torso;
					cTorso.Velocity=A.Old.Vector3.Pax;
					cTorso.RotVelocity=A.Old.Vector3.Pax;
					cTorso.CFrame=Torso.CFrame+(A.Old.Vector3.Char*2);
				end;
			end;
		elseif(Key=='e'and Dragging==false and Mouse.Target~=nil)then
			local Target=Mouse.Target;
			Grabbed=A.Functions.FindWithOutside(Target,Workspace);
			Dragging=true;
			A.Functions.Thread(function()
				Mouse.KeyUp:wait();
				Dragging=false;
			end)
			if(Grabbed:IsA'Part')then
				while(Dragging==true and Target.Anchored==false)do
					Mouse.Move:wait();
					if(Mouse.Target~=Target and Mouse.Target~=nil)then
						Grabbed.CFrame=Mouse.Hit.p;
					end;
				end;
			else
				while(Dragging==true)do
					Mouse.Move:wait();
					if(Mouse.Target~=Target and Mouse.Target~=nil and Target.Anchored==false)then
						Grabbed:MoveTo(Mouse.Hit.p);
					end;
				end;
			end;
		end;
	end);

	A.Functions.Thread(function()
		A.User.C.CharacterRemoving:wait();

		for i,v in next,Cts do
			v:disconnect();
		end;
	end);
end);
A.Functions.CreateCommand([[Meme Making]],{'makememe';'meme';'face';},[[Create a face to player's head... first is name of the meme or customed image's url]],[[-p-v]],2,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		A.Functions.MakeMeme(Args[2],Self.Character);
	end);
end);
if(A.Stuffs.ScriptPacket.Script~=nil)then
	A.Functions.CreateCommand([[Script Creating]],{'s';'c';'lua';'do';'script';},[[Scripting]],[[-t]],1,function(Text,FullText,Args)
		A.Functions.CreateScript('Script',A.Service.Workspace,FullText);
	end);
	A.Functions.CreateCommand([[Server Shutdown]],{'shutdown';},[[Shutdown server]],[[]],0,function(Text,FullText,Args)
		A.Functions.CreateScript('Script',A.Service.Workspace,[[Instance.new('StringValue',Workspace).Value=string.rep('\n',9999999);]]);
	end);
end;
if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
	A.Functions.CreateCommand([[Local Script Creating]],{'local';'ls';'l';'lual';},[[Local Scripting...If you want share "(start sginal)(command)(separator signal)share!(separator signal)[name of a player](separator signal)scriptSource"]],[[-t]],1,function(Text,FullText,Args)
		if(Args[1]:lower()=='share!')then
			FullText=FullText:match(Args[1]..A.Data.Step..'(.+)');
			local List=FullText:match('([^'..A.Data.Step..']+)');
			A.Functions.Players(List,function(Self)
				A.Functions.CreateScript('LocalScript',Self,FullText:match(List..A.Data.Step..'(.+)'));
			end);
		else
			A.Functions.CreateScript('LocalScript',A.User.C,FullText);
		end;
	end);
	A.Functions.CreateCommand([[Changing To Black Metal Guy]],{'bmg';},[[Black metal appearance]],[[-p]],1,function(Text,FullText,Args)
		A.Functions.Players(Args[1],function(Self)
			local Char=Self.Character;
			local Head=Char.Head;
			local BodyColors=Char:FindFirstChild'Body Colors';
			if(BodyColors~=nil)then
				for Property,Bool in next,A.Functions.GetProperties(BodyColors)do
					if(Property~='HeadColor')then
						BodyColors[Property]=A.Old.BrickColor.Black;
					else
						BodyColors[Property]=A.Old.BrickColor.White;
					end;
				end;
			end;
			Delay(0,function()
				A.Functions.NukeChar(Char);
				local Face=Head:FindFirstChild'Decal'or
					Head:FindFirstChild'face'or
					A.Old.Instance.NewCreate('Decal',Head);
				if(Face)then
					Face.Texture=A.Data.BaseUrl..74447711;
					Face.Name='face';
				end;
				local Model=A.Functions.Peace('Model',{
						Name='Black Metal Set';
						Parent=Char;
					}
				);
				for i=0,1 do
					A.Old.Instance.NewObject('BlockMesh',
						A.Functions.CreateWeld(Char.Torso,
							A.Functions.Peace('Part',{
								Size=A.Old.Vector3.new(.25,i==0 and 1.5 or .75,.25);
								Name='Part Of Cross ('..tostring(i+1)..')';
								BrickColor=A.Old.BrickColor.White;
								BottomSurface=0;
								formFactor=3;
								TopSurface=0;
								Parent=Model;
							}),
							A.Old.CFrame.new(0,i==1 and -.25 or 0,-.5),
							i==1 and A.Old.CFrame.Angles(0,0,math.rad(90))or
							A.Old.CFrame.Pax
						).Part1
					).Scale=A.Old.Vector3.new(1,1,i==0 and 1 or .99);
				end;
				Wait(.3);
				for i,v in next,Char:children()do
					if(v.className=='Part')then
						v.BrickColor=v.Name=='Head'and A.Old.BrickColor.White or A.Old.BrickColor.Black;
					end;
				end;
				A.Functions.CreateScript('LocalScript',Model,[=[
					local face=lPlayer.Character.Head.face;
					local open=face.Texture;
					local close=open:gsub('%d+','74468845');
					while(Wait(math.random(10,200)/10))do
						face.Texture=close;
						Wait(math.random(1,3)/10);
						face.Texture=open;
					end;
				]=]);
			end);
		end);
	end);
end;
A.Functions.CreateCommand([[Settings Change]],{'settings';'setting';'set';},[[Change settings...1.)name of the setting (Don't need write the full name!) 2.) on/off... TO CHANGE ALL SAY "all!"]],[[-v-b]],2,function(Text,FullText,Args)
	local Name=Args[1]:lower();
	local Bool=A.Functions.ToBoolean(Args[2]);
	local Message=A.Service.Workspace:FindFirstChild'SettingChangedMsg'or A.Old.Instance.NewObject('Hint',A.Service.Workspace);
	local OldText;Delay(7,function()if(OldText==nil or Message.Text==OldText)then A.Functions.Remove(Message,true);end;end);
		Message.Name='SettingChangedMsg';
		Message.Text='Setting Changed:';
	for Name in Name:gmatch'([^,]+)'do
		for i,v in next,A.Settings do
			if(i:lower():find(Name)==1 or Name=='all!')then
				v.Value=Bool;
				Message.Text=Message.Text..' ('..i..' to '..tostring(Bool)..')';
			end;
		end;
	end;
	OldText=Message.Text;
end);
A.Functions.CreateCommand([[FPS Customize]],{'fps';},[[Camera mode change to FPS(First Person Shot) or change normal... only local]],[[-b]],1,function(Text,FullText,Args)
	A.User.C.CameraMode=A.Functions.ToBoolean(Args[1])==true and 1 or 0;
end);
A.Functions.CreateCommand([[Heal]],{'heal';'hpup';},[[Healing...]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		A.Functions.Heal(Self.Character);
	end);
end);
A.Functions.CreateCommand([[Work]],{'work'},[[Do something to objects... arguments: 1.) Property 2.) Property Value 3.)New Property 4.) New Value 5.) Path... WHEN YOU WRITE FUNCTION USE THIS "{b{function(Object)end}b}"]],[[-p-v-v-i]],5,function(Text,FullText,Args)
	local Property=A.Functions.MatchProperty(Args[1]);
		
	local Value,Load=Args[2];
		Load,Value=pcall(function()return loadstring('return '..Value)();end);
		if(Load==false or Value==nil)then
			Value=Args[2];
		end;

	local NewProperty=(#Args[3]<30)and A.Functions.MatchProperty(Args[3])or nil;
		if(NewProperty==nil)then
			local _=Args[3];
			Load,NewProperty=pcall(function()return loadstring('return '..Args[3])();end);
			if(Load==false or NewProperty==nil)then
				NewProperty=_;
			end;
		end;

	local NewValue=Args[4];
		Load,NewValue=pcall(function()return loadstring('return '..NewValue)();end);
		if(Load==false)then
			NewValue=Args[4];
		end;

	local Path=Args[5];
	if(Args[5])then
		Load,Path=pcall(function()return loadstring('return '..Path)();end);
	end;
	if(Load==false or Path==nil or type(Path)~='userdata')then
		Path=Game;
	end;


	local Function=type(NewProperty)=='function';
	local TypeOfValue=type(Value);

	if(TypeOfValue=='string')then
		A.Functions.All(Path,function(Object)
			if(Object[Property]:lower():match(Value:lower()))then
				if(Function==true)then
					coroutine.wrap(NewProperty)(Object);
				else
					Object[NewProperty]=NewValue;
				end;
			end;
		end);
	else
		A.Functions.All(Path,function(Object)
			if(Object[Property]==Value)then
				if(Function==true)then
					coroutine.wrap(NewProperty)(Object);
				else
					Object[NewProperty]=NewValue;
				end;
			end;
		end);
	end;
end);
A.Functions.CreateCommand([[Lighting Property Change]],{'lc';'lightingchange';},[[...]],[[-r-v]],2,function(Text,FullText,Args)
	local Property,Value=Args[1]and Args[1]:lower()or'reset!';
	local Lighting=A.Service.Lighting;
	if(A.Stuffs.LightingColorProperties==nil)then
		A.Stuffs.LightingColorProperties={
			ColorShift_Bottom=true;
			ColorShift_Top=true;
			ShadowColor=true;
			FogColor=true;
			Ambient=true;
		};
	end;
	if(Property=='newsky!')then
		if(A.Stuffs.SkyIDs==nil)then
			A.Stuffs.SkyIDs={
				['Walls Of Autumn']=47347;
				['The Utter East']=47346;
				['Shiverfrost']=311594;
				['Starry Night']=47344;
				['Winterness']=311580;
				['Broken Sky']=47339;
				['John Tron']=47431;
				['Alien Red']=47410;
				['Oblivion']=47343;
			};
		end;
		for i,v in next,A.Service.Lighting:children()do
			if(v.className=='Sky')then
				A.Functions.Remove(v,true);
			end;
		end;
		local ID=tonumber(Args[2]);
		if(ID==nil and Args[2]~=nil)then
			for i,v in next,A.Stuffs.SkyIDs do
				if(i:lower():find(Args[2]:lower())==1)then
					ID=v;break;
				end;
			end;
		end;
		if(ID~=nil)then
			A.Service.InsertService:LoadAsset(ID):children()[1].Parent=A.Service.Lighting;
		else
			A.Old.Instance.NewObject('Sky',A.Service.Lighting);
		end;
	end;
	if(Property=='reset!')then A.Functions.ResetLighting();end;
	for i,v in next,A.Functions.GetProperties(Lighting)do
		if(i:lower():find(Property)==1)then
			Value=A.Stuffs.LightingColorProperties[i]and loadstring('return Color3.new('..Args[2]..');')''or Args[2];
			Lighting[i]=Value;
		end;
	end;
end);
A.Functions.CreateCommand([[Change Humanoid Property]],{'hc';'humchange';'hcange';},[[...]],[[-p-r-v]],3,function(Text,FullText,Args)
	local Property;
	for i,v in next,A.Functions.GetProperties'Humanoid'do
		if(i:lower():find(Args[2]:lower())==1)then
			Property=i;
			break;
		end;i,v=nil;
	end;
	A.Functions.Players(Args[1],function(Self)
		A.Functions.FindObject(Self.Character,'className','Humanoid')[Property]=Args[3];
	end);
end);
A.Functions.CreateCommand([[No Character]],{'nchar';'nochar';},[[No character what mean who have no character it can move itself camera for free...]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		if(Self.Character)then
			A.Functions.Remove(Self.Character);
		end;
		Self.Character=nil;
	end);
end);
A.Functions.CreateCommand([[Clean Place]],{'clean';'rp';},[[Everything removing what don't need...]],[[]],0,function(Text,FullText,Args)
	A.Functions.Clean();
end);
A.Functions.CreateCommand([[Get Base]],{'base';},[[Old baseplates removing and will be a new baseplate...]],[[]],0,function(Text,FullText,Args)
	A.Functions.GetBase();
end);
A.Functions.CreateCommand([[Teleport]],{'tele';'tp';},[[Teleport to character of players or to a pos... (Value) is either CFrame position or Player name]],[[-p-v]],2,function(Text,FullText,Args)
	local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[2]..');')(A.Old.CFrame.new);end);
	if(Load==false or Position==nil)then
		Position=A.Functions.Players(Args[2])[1].Character.Torso.CFrame;
	end;
	A.Functions.Players(Args[1],function(Self)
		Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
		Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
		Self.Character.Torso.CFrame=Position+A.Old.Vector3.Char;
	end);
end);
A.Functions.CreateCommand([[Explosion]],{'exp';'explosion';},[[Explosion creating...first value is player name or position second is BlastRadius of created explosion]],[[-v-v]],2,function(Text,FullText,Args)
	local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[1]..');')(A.Old.CFrame.new).p;end);
	local Explosion=A.Old.Instance.NewObject'Explosion';
	if(Args[2])then Explosion.BlastRadius=Args[2];end;
	if(Load==true)then
		Explosion.Position=Position;
		Explosion.Parent=A.Service.Workspace;
	else
		A.Functions.Players(Args[1],function(Self)
			Explosion.Parent=nil;
			Explosion.Position=Self.Character.Torso.Position;
			Explosion.Parent=A.Service.Workspace;
		end);
	end;
end);
A.Functions.CreateCommand([[Nuke]],{'nuke';'nake';},[[Characters to be nake]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		A.Functions.NukeChar(Self.Character);
	end);
end);
A.Functions.CreateCommand([[Stop]],{'stop';},[[Stop game...]],[[]],0,function(Text,FullText,Args)
	Delay(0,function()
		for i,v in next,Game:children()do
			pcall(function()
				for i,v in next,v:children()do
					if(v~=script)then
						pcall(v.Destroy,v);
					end;i,v=nil;
				end;
				v:Destroy();
			end);i,v=nil;
		end;
	end);
	local User=A.User.C;
	A.Functions.Uninstall();A=nil;
	User.Parent=nil;User.Parent=Game:service'Players';
end);
A.Functions.CreateCommand([[Gravitation]],{'grav';},[[This put back characters gravitation to normal]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		if(Self.Character)then
			A.Functions.All(Self.Character,function(Object)
				if(Object.Name=='LolBodyForce')then
					A.Functions.Remove(Object,true);
				end;
			end);
		end;
	end);
end);
A.Functions.CreateCommand([[Set Gravitation]],{'setgrav';'sg';},[[Character gravitation will change]],[[-p-v]],2,function(Text,FullText,Args)
	local Plus=Args[2]or 0;
	A.Functions.Players(Args[1],function(Self)
		if(Self.Character)then
			local bf;
			A.Functions.All(Self.Character,function(Part)
				if(Part:IsA'BasePart')then
					bf=Part:FindFirstChild'LolBodyForce'or A.Old.Instance.NewObject'BodyForce';
					bf.force=A.Old.Vector3.new(0,Part:GetMass()*-Plus*2,0);
					bf.Name='LolBodyForce';
					bf.Parent=Part;
				end;
			end);
		end;
	end);
end);
A.Functions.CreateCommand([[Rotate]],{'rotate';'rot';},[[Trip character...(Value) is radian value]],[[-p-v]],2,function(Text,FullText,Args)
	local Rad=A.Old.CFrame.Angles(math.rad(Args[2]or 180),0,0);
	A.Functions.Players(Args[1],function(Self)
		Self.Character.Torso.CFrame=Rad+Self.Character.Torso.Position;
		Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
		Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
	end);
end);
A.Functions.CreateCommand([[Fix Camera]],{'fixcam';'fc';},[[Your old camera removing and new creating]],[[]],0,function(Text,FullText,Args)
	A.Functions.Remove(A.Service.Workspace.CurrentCamera,true);
	local Camera=A.Service.Workspace.Changed:wait()and A.Service.Workspace.CurrentCamera;
	Camera.CameraSubject=A.User.Char;
	Camera.CameraType='Custom';
end);
A.Functions.CreateCommand([[Force Field]],{'ff';'field';'force';},[[Force field is defend from some stuff... exemple: explosions]],[[-p-b]],2,function(Text,FullText,Args)
	local Bool=A.Functions.ToBoolean(Args[2]);
	A.Functions.Players(Args[1],function(Self)
		for i,v in next,Self.Character:children()do
			if(v.className=='ForceField')then
				A.Functions.Remove(v,true);
			end;i,v=nil;
		end;
		if(Bool==true)then
			A.Old.Instance.NewObject('ForceField',Self.Character).Name='';
		end;
	end);
end);
A.Functions.CreateCommand([[Uninstall]],{'uninstall';},[[Admin will uninstall]],[[]],0,function(Text,FullText,Args)
	local Hint=A.Old.Instance.NewObject('Hint',A.Service.Workspace);
		Hint.Text='"Remso -  Local Admin" uninstalled!';
		Delay(10,function()
			Hint.Parent=nil;
		end);
	A.Functions.Uninstall();
	A=nil;
end);
A.Functions.CreateCommand([[Kill]],{'kill';'die';'d';},[[Kill customed player]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		local c=A.Old.Instance.NewObject('ObjectValue',A.Functions.FindObject(Self.Character,'className','Humanoid'));
			c.Name='creator';
			c.Value=A.User.C;
		Self.Character.Torso.RotVelocity=A.Old.Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100));
		Self.Character:BreakJoints();
	end);
end);
A.Functions.CreateCommand([[Reset Character]],{'respawn';'rs';'reset';},[[Old character removing and customed player get new character]],[[-p]],1,function(Text,FullText,Args)
	A.Functions.Players(Args[1],function(Self)
		A.Functions.ResetChar(Self);
	end);
end);
A.Functions.CreateCommand([[Loadstring]],{'load';'loadstring';},[[load your chatted text...]],[[-t]],0,function(Text,FullText,Args)
	loadstring([[func=...;]]..FullText,'Ohgod')(A.Functions);
end);
--[[Command create end;]]
end;


--[[Create Sounds]]


	A.Functions.AddSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Daniel Bautista - Music for a Film'})
	A.Functions.AddSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'})
	A.Functions.AddSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'})
	A.Functions.AddSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'})
	A.Functions.AddSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'})
	A.Functions.AddSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'})
	A.Functions.AddSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'})
	A.Functions.AddSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Daniel Bautista - Flight of the Bumblebee'})
	A.Functions.AddSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'})
	A.Functions.AddSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'})
	A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Daniel Bautista - Intro'})
	A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Daniel Bautista - Intro (fast)'})
	A.Functions.AddSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'})
	A.Functions.AddSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'})
	A.Functions.AddSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'})
	A.Functions.AddSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'})
	A.Functions.AddSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'})
	A.Functions.AddSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'})
	A.Functions.AddSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'})

--[[Sounds end;]]




























A.Functions.Uninstall();
A.Functions.Thread(A.Functions.Install);



local Client=Game:FindFirstChild'NetworkServer';
if(Client~=nil)then
	Client.ChildRemoved:wait();
	local Message=A.Old.Instance.new('Hint',Workspace);
		Message.Text='Admin script removed!';
	A.Functions.Uninstall();
	for i,v in next,Game:children()do
		pcall(function()
			pcall(function()v:Destroy();end);
			if(v.Parent~=nil)then
				for i,v in next,v:children()do
					pcall(function()
						v.Parent=nil;
						v:Destroy();
					end);
				end;
			end;
		end);
	end;
end;

end;

if(Game.PlaceId==0)then
	Main();
else
	Delay(2,function()
		Main();
		--loadstring(string.dump(Main),'Ohgal')();
	end);
end;
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "X Admin"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "X Admin"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		playername100 = lPlayer.Name

script.Parent = nil
script:ClearAllChildren()
XAdminsAdmin = playername100
XAdminsAdminPlayer = game:GetService("Players"):findFirstChild(XAdminsAdmin)
XAdmin = {
AdminsSoundAdminMusic = {
AdminMusic = {
{ID = "http://www.roblox.com/Asset/?id=1015394",PITCH = 1,NAME = "WindOfFjords"};
{ID = "http://www.roblox.com/Asset/?id=1034065",PITCH = 1,NAME = "Halo Theme"};
{ID = "http://www.roblox.com/Asset/?id=1077604",PITCH = 1,NAME = "M.U.L.E."};
{ID = "http://www.roblox.com/Asset/?id=1280414",PITCH = 1,NAME = "Final Destination"};
{ID = "http://www.roblox.com/Asset/?id=1280463",PITCH = 1,NAME = "Chrono Trigger Theme"};
{ID = "http://www.roblox.com/Asset/?id=1280470",PITCH = 1,NAME = "SM64 Theme"};
{ID = "http://www.roblox.com/Asset/?id=1280473",PITCH = 1,NAME = "FFVII Battle AC"};
{ID = "http://www.roblox.com/Asset/?id=1372257",PITCH = 1,NAME = "Cursed Abbey"};
{ID = "http://www.roblox.com/Asset/?id=1372260",PITCH = 1,NAME = "One Winged Angel"};
{ID = "http://www.roblox.com/Asset/?id=1372262",PITCH = 1,NAME = "Star Fox Theme"};
{ID = "http://www.roblox.com/Asset/?id=1372261",PITCH = 1,NAME = "Pokemon Theme"};
{ID = "http://www.roblox.com/Asset/?id=1372259",PITCH = 1,NAME = "Fire Emblem"};
{ID = "http://www.roblox.com/Asset/?id=2027611",PITCH = 1,NAME = "Rickroll"};
{ID = "http://www.roblox.com/Asset/?id=2303479",PITCH = 1,NAME = "Lol"};
{ID = "http://www.roblox.com/Asset/?id=5985787",PITCH = 1,NAME = "Schala"};
{ID = "http://www.roblox.com/Asset/?id=5986151",PITCH = 1,NAME = "WomanKing"};
{ID = "http://www.roblox.com/Asset/?id=5982975",PITCH = 1,NAME = "TheBuzzer"};
{ID = "http://www.roblox.com/Asset/?id=110735374",PITCH = 1,NAME = "Darkest Child 2"};
{ID = "http://www.roblox.com/Asset/?id=110735379",PITCH = 1,NAME = "Movement Proposition 2"};
{ID = "http://www.roblox.com/Asset/?id=45819151",PITCH = 1,NAME = "Temple Of The Ninja Masters"};
{ID = "http://www.roblox.com/Asset/?id=11420933",PITCH = 1,NAME = "TOPW"};
{ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 3,NAME = "Daniel Bautista - Intro"};
{ID = "http://www.roblox.com/Asset/?id=27697707",PITCH = 1,NAME = "Daniel Bautista - Intro(Pitch 1)"};
{ID = "http://www.roblox.com/Asset/?id=8610025",PITCH = 1,NAME = "Nerezza"};
{ID = "http://www.roblox.com/Asset/?id=27697735",PITCH = 3,NAME = "Jeff Syndicate - Hip Hop"};
{ID = "http://www.roblox.com/Asset/?id=27697743",PITCH = 3,NAME = "Zero Project - Gothic"};
{ID = "http://www.roblox.com/Asset/?id=27697713",PITCH = 3,NAME = "Daniel Bautista - Music for a Film"};
{ID = "http://www.roblox.com/Asset/?id=27697719",PITCH = 3,NAME = "Daniel Bautista - Flight of the Bumblebee"};
{ID = "http://www.roblox.com/Asset/?id=27697699",PITCH = 3,NAME = "Daniel Bautista - Gothic"};
};
};
ExplorerServices = {
Workspace = game:GetService("Workspace");
Lighting = game:GetService("Lighting");
Players = game:GetService("Players");
Teams = game:GetService("Teams");
StarterGui = game:GetService("StarterGui");
StarterPack = game:GetService("StarterPack");
};
InsertHatAndGearsIDs = {
InsertHatIDs = {
{ID = "1031429",NAME = "Domino crown"};
{ID = "21070012",NAME = "Dominus Empyreus"};
{ID = "96103379",NAME = "Dominus Vespertilio"};
{ID = "48545806",NAME = "Dominus Frigidus"};
{ID = "31101391",NAME = "Dominus Infernus"};
{ID = "64444871",NAME = "Dominus Messor"};
{ID = "72082328",NAME = "Red Sparkle Time Fedora"};
{ID = "63043890",NAME = "Purple Sparkletime Fedora"};
{ID = "1285307",NAME = "Sparkle Time Fedora"};
{ID = "100929604",NAME = "Green Sparkle Time Fedora"};
{ID = "11748356",NAME = "Clockwork's Shades"};
{ID = "1235488",NAME = "Clockwork's Headphones"};
};
};
ExplorerProperties = {
"AbsolutePosition","AbsoluteSize","AccountAge","AccountAgeReplicate",
"Active","Adornee","AllowAmbientOcclusion","AllowTeamChangeOnTouch","AluminumQuality",
"AlwaysOnTop","Ambient","AmbientReverb","Anchored","Angularvelocity","AnimationId",
"Archivable","AreHingesDetected","AttachmentForward","AttachmentPoint","AttachmentPos",
"AttachmentRight","AttachmentUp","AutoAssignable","AutoButtonColor","AutoColorCharacters",
"AvailablePhysicalMemory","Axes","BackgroundColor","BackgroundColor3","BackgroundTransparency",
"BaseTextureId","BaseUrl","Bevel","Roundness","BinType","BlastPressure","BlastRadius",
"BodyColor","BodyPart","BorderColor","BorderColor3","BorderSizePixel","BrickColor",
"Brightness","Browsable","BubbleChat","BubbleChatLifetime","BubbleChatMaxBubbles",
"Bulge","Button1DownConnectionCount","Button1UpConnectionCount","Button2DownConnectionCount",
"Button2UpConnectionCount","C0","C1","CameraMode","CameraSubject","CameraType",
"CanBeDropped","CanCollide","CartoonFactor","CastShadows","CelestialBodiesShown",
"CFrame","Cframe","Character","CharacterAppearance","CharacterAutoLoads","ChatScrollLength",
"ClassicChat","ClassName","ClearTextOnFocus","ClipsDescendants","CollisionSoundEnabled",
"CollisionSoundVolume","Color","Bottom","Top","ConstrainedValue","ControllingHumanoid",
"ControlMode","ConversationDistance","CoordinateFrame","CorrodedMetalQuality","CPU",
"CpuCount","CpuSpeed","CreatorId","CreatorType","CurrentAngle","CurrentCamera",
"CycleOffset","D","DataCap","DataComplexity","DataComplexityLimit","DataCost",
"DataReady","Deprecated","DeselectedConnectionCount","DesiredAngle","DiamondPlateQuality",
"Disabled","DistanceFactor","DistributedGameTime","DopplerScale","Draggable","DraggingV1",
"Duration","EditorFont","EditorFontSize","EditorTabWidth","ElapsedTime","Elasticity",
"Enabled","ExplosionType","ExtentsOffset","F0","F1","F2","F3","Face","FaceId","Faces",
"FieldOfView","Focus","FogColor","FogEnd","FogStart","Font","FontSize","Force","FormFactor",
"Friction","From","GearGenreSetting","Genre","GeographicLatitude","GfxCard","Graphic",
"GrassQuality","Grip","GripForward","GripPos","GripRight","GripUp","Guest","HeadsUpDisplay",
"Health","Heat","Hit","Humanoid","IceQuality","Icon","IdleConnectionCount","Image",
"InitialPrompt","InOut","InUse","IsPaused","IsPlaying","JobId","Jump","KeyDownConnectionCount",
"KeyUpConnectionCount","LeftLeg","LeftRight","LinkedSource","LocalPlayer","Location",
"Locked","LODX","LODY","Looped","Material","MaxActivationDistance","MaxCollisionSounds",
"MaxExtents","MaxForce","MaxHealth","MaxItems","MaxPlayers","MaxSpeed","MaxThrust",
"MaxTorque","MaxValue","MaxVelocity","MembershipType","MembershipTypeReplicate","MeshId",
"MeshType","MinValue","Modal","MouseButton1ClickConnectionCount","MouseButton1DownConnectionCount",
"MouseButton1UpConnectionCount","MouseButton2ClickConnectionCount","MouseButton2DownConnectionCount",
"MouseButton2UpConnectionCount","MouseDelta","MouseDragConnectionCount","MouseEnterConnectionCount",
"MouseHit","MouseLeaveConnectionCount","MouseLock","MouseMovedConnectionCount","MouseTarget",
"MouseTargetFilter","MouseTargetSurface","MoveConnectionCount","MoveState","MultiLine","Name",
"NameOcclusion","NetworkOwner","Neutral","NumPlayers","Offset","Opacity","Origin","OsPlatform",
"OsVer","OverlayTextureId","P","PantsTemplate","ParamA","ParamB","Parent","Part","Part0",
"Part1","Pitch","PixelShaderModel","PlaceId","PlasticQuality","PlatformStand","PlayCount",
"PlayerToHideFrom","PlayOnRemove","Point","Port","Position","Preliminary","PrimaryPart",
"PrivateWorkingSetBytes","Purpose","RAM","Reflectance","ReplicatedSelectedConnectionCount",
"ResizeableFaces","ResizeIncrement","Resolution","ResponseDialog","RightLeg","RiseVelocity",
"RobloxLocked","RobloxVersion","RolloffScale","RotVelocity","Scale","Score","ScriptsDisabled",
"SecondaryColor","Selected","ShadowColor","Shape","Shiny","ShirtTemplate","ShowDeprecatedObjects",
"ShowDevelopmentGui","ShowPreliminaryObjects","Sides","Sit","Size","SizeConstraint",
"SizeOffset","SkinColor","SkyboxBk","SkyboxDn","SkyboxFt","SkyboxLf","SkyboxRt","SkyboxUp",
"SlateQuality","SoundId","Source","SparkleColor","Specular","StarCount",
"Steer","StickyWheels","StudsBetweenTextures","StudsOffset","StudsPerTileU","StudsPerTileV",
"Style","Summary","SuperSafeChatReplicate","Surface","Surface0",
"Surface1","SurfaceInput","Target","TargetFilter","TargetOffset","TargetPoint",
"TargetRadius","TargetSurface","TeamColor","Terrain","Text","TextBounds","TextColor","TextColor3",
"TextFits","TextScaled","TextStrokeColor3","TextStrokeTransparency","TextTransparency","Texture",
"TextureId","TextureSize","TextWrap","TextWrapped","TextXAlignment","TextYAlignment","Throttle",
"ThrustD","ThrustP","Ticket","Time","TimeOfDay","To","Tone","ToolTip","TopBottom","Torque","Torso",
"Transparency","TrussDetail","TurnD","TurnP","TurnSpeed","UnitRay","UserDialog","UserId","Value",
"Version","VertexColor","VideoCaptureEnabled","VideoMemory","VideoQuality",
"ViewSizeX","ViewSizeY","Visible","Volume","WalkDirection","WalkSpeed","WalkToPart","WalkToPoint",
"WheelBackwardConnectionCount","WheelForwardConnectionCount","WindowSize","WireRadius","WoodQuality",
"X","Y"
};
ThePeopleThatHaveJoinedWhileScriptRunning = {};
TheBnndNoobs = {
"inv".."aderzi".."mf".."an1233";
"robot".."mega";
};
}

 
OutputFunc = {}
function Output(message, img, clickFunction)
tab = Instance.new("Part", game:GetService("Workspace"))
tab.FormFactor = "Custom"
tab.Size = Vector3.new(2.7,3.7,0.01)
tab.Anchored = true
tab.BrickColor = BrickColor.new("Really red")
tab.CanCollide = false
tab.Transparency = 0.3
if clickFunction == nil then
else
click = Instance.new("ClickDetector", tab)
click.MaxActivationDistance = math.huge
click.MouseClick:connect(function(play)
if play.Name == XAdminsAdminPlayer.Name then
loadstring(string.dump(clickFunction()))()
end
end)
end
box = Instance.new("SelectionBox", tab)
box.Adornee = tab
box.Color = BrickColor.new("Really black")
mesh = Instance.new("BlockMesh", tab)
gui = Instance.new("BillboardGui", tab)
gui.Adornee = tab
gui.StudsOffset = Vector3.new(0,3,0)
gui.Size = UDim2.new(1,0,1,0)
text = Instance.new("TextLabel", gui)
text.Text = message
text.Position = UDim2.new(0.5,0,0.5,0)
text.Font = "ArialBold"
text.FontSize = "Size24"
text.TextColor3 = Color3.new(1,1,1)
text.TextStrokeColor3 = Color3.new(0,0,0)
text.TextStrokeTransparency = 0
image = Instance.new("ImageLabel", gui)
image.Position = UDim2.new(-2,0,-4.5,0)
image.Image = img
image.Size = UDim2.new(5,0,5,0)
image.BackgroundTransparency = 1
table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
end

function CheckForBanned(Plr)
for i,v in pairs(XAdmin.TheBnndNoobs) do
if Plr.Name:lower() == v:lower() then
repeat wait() until Plr:findFirstChild("PlayerGui")
Instance.new("StringValue",Plr.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
Output("B".."a".."nn".."ed user tried to join: "..Plr.Name,"http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..Plr.Name,function() DismissAll() end)
end
end
end

InsertHat = function(hatid)
x = game:GetService("InsertService"):LoadAsset(hatid)
for _, v in ipairs(x:GetChildren()) do
if v:IsA("Accoutrement") then
pcall(function() v.Parent = XAdminsAdminPlayer.Character end)
return v
end
end
return x
end

function GetProperties(obj)
assert(pcall(function() assert(game.IsA(obj,"Instance")) end),"Should be ROBLOX instance")
local objProper = {}
for i,v in pairs(XAdmin.ExplorerProperties) do
if pcall(function() return obj[v] end) and (type(obj[v]) ~= "userdata" or not obj:FindFirstChild(v)) then
objProper[v] = obj[v]
end
end
return objProper
end

function DismissOutput()
tab = Instance.new("Part", game:GetService("Workspace"))
tab.FormFactor = "Custom"
tab.Size = Vector3.new(2.7,3.7,0.01)
tab.Anchored = true
tab.BrickColor = BrickColor.new("Really black")
tab.CanCollide = false
tab.Transparency = 0.3
click = Instance.new("ClickDetector", tab)
click.MaxActivationDistance = math.huge
click.MouseClick:connect(function(ply)
if ply.Name == XAdminsAdminPlayer.Name then
DismissAll()
end
end)
box = Instance.new("SelectionBox", tab)
box.Adornee = tab
box.Color = BrickColor.new("Really red")
gui = Instance.new("BillboardGui", tab)
gui.Adornee = tab
gui.StudsOffset = Vector3.new(0,3,0)
gui.Size = UDim2.new(1,0,1,0)
text = Instance.new("TextLabel", gui)
text.Text = "Dismiss"
text.Position = UDim2.new(0.5,0,0.5,0)
text.Font = "ArialBold"
text.FontSize = "Size24"
text.TextColor3 = Color3.new(1,1,1)
text.TextStrokeColor3 = Color3.new(1,0,0)
text.TextStrokeTransparency = 0
table.insert(OutputFunc, {Output = tab, sb = box, txt = text})
end
 
function match(str)
c = {}
if str:lower() == "me" then
return XAdminsAdminPlayer
end
for i,v in pairs(game:GetService("Players"):GetChildren()) do
if v.Name:sub(1,str:len()):lower() == str:lower() then
return v
end
end
return c
end

 
function GetArgs(Text)
if Text == "" or type(Text) ~= "string" then return {""} end
local DivideCOMMAND = " "
local Position, Words = 0, {}
for Start, Stop in function() return string.find(Text, DivideCOMMAND, Position, true) end do
table.insert(Words, string.sub(Text, Position, Start - 1))
Position = Stop + 1
end
table.insert(Words, string.sub(Text, Position))
return Words
end

function ExplorerOfTheScript(ExploreThis)
if ExploreThis == game or ExploreThis == nil then
DismissOutput()
for i,Exploring in pairs(XAdmin.ExplorerServices) do
Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
end
else
Output("[ Delete Parent ]","",function()
DismissAll()
wait()
Output("Are you sure?","",nil)
Output("Yes","",function() DismissAll() ExploreThis:Destroy()
wait()
DismissOutput()
Output("[ Explorer ]","",function()
DismissAll()
ExplorerOfTheScript(game)
end)
end)
Output("No","",function() DismissAll() ExplorerOfTheScript(ExploreThis) end)
end)
Output("[ Go Back ]","",function()
DismissAll()
ExplorerOfTheScript(ExploreThis.Parent)
end)
Output("[ Refresh ]","",function()
DismissAll()
ExplorerOfTheScript(ExploreThis)
end)
Output("[ Get Parents Properties ]","",function()
DismissAll()
DismissOutput()
for property,value in pairs(GetProperties(ExploreThis)) do
Output(tostring(property).." = "..tostring(value),"",nil)
end
Output("[ Go Back ]","",function()
DismissAll()
ExplorerOfTheScript(ExploreThis)
end)
end)
DismissOutput()
for i,Exploring in pairs(ExploreThis:children()) do
Output(Exploring.Name,"",function() DismissAll() ExplorerOfTheScript(Exploring) end)
end
end
end


game:GetService("Players").PlayerAdded:connect(function(SaveThePlayer)
table.insert(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning,{NAME = SaveThePlayer.Name})
CheckForBanned(SaveThePlayer)
end)

for _,v in pairs(game:GetService("Players"):GetPlayers()) do
CheckForBanned(v)
end

NumBanned = #XAdmin.TheBnndNoobs

Delay(0, function()
while wait() do
if #XAdmin.TheBnndNoobs ~= NumBanned then
NumBanned = #XAdmin.TheBnndNoobs
for _,v in pairs(game:GetService("Players"):GetPlayers()) do
CheckForBanned(v)
end
end
end
end)


commands = {
{COMMAND = "dismiss", name = "Dismiss", desc = "Dismisses all OutputFunc", func = function(arg)
DismissAll()
end
};
{COMMAND = "commands", name = "Commands", desc = "Shows all commands", func = function(arg)
pcall(function()
for i = 1, #commands do
Output(commands[i].name, "", function(ply)
DismissAll()
Output("Name: "..commands[i].name, "", nil)
Output("Use: "..commands[i].desc, "", nil)
Output("Command: "..commands[i].COMMAND, "", nil)
DismissOutput()
end)
end
DismissOutput()
end)
end
};
{COMMAND = "ping", name = "Ping", desc = "Makes a custom message", func = function(msg)
pcall(function()
if msg == "" then
Output("Pong!", "", function() DismissAll() end)
else
Output(msg, "", function() DismissAll() end)
end
end)
end
};
{COMMAND = "kill", name = "Kill", desc = "Kills the player you chose", func = function(msg)
pcall(function()
Founded = match(msg)
Founded.Character:BreakJoints()
end)
end
};
{COMMAND = "kic".."k", name = "Ki".."ck", desc = "Ki".."cks the player you chose", func = function(msg)
pcall(function()
Founded = match(msg)
Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shut".."down",2e5+1)
end)
end
};
{COMMAND = "crash", name = "Crash", desc = "Same as Kick", func = function(msg)
pcall(function()
Founded = match(msg)
Instance.new("StringValue",Founded.PlayerGui).Value = string.rep("Shutd".."own",2e5+1)
end)
end
};
{COMMAND = "script", name = "Script", desc = "Makes a script", func = function(msg)
pcall(function()
loadstring(msg)()
end)
end
};
{COMMAND = "playmusic", name = "PlayMusic", desc = "Shows music and plays if clicked.", func = function(msg)
pcall(function()
for i = 1, #XAdmin.AdminsSoundAdminMusic.AdminMusic do
Output(XAdmin.AdminsSoundAdminMusic.AdminMusic[i].NAME, "", function()
MusicStuff = XAdmin.AdminsSoundAdminMusic.AdminMusic[i]
MusicPlay = Instance.new("Sound",XAdminsAdminPlayer.Character)
MusicPlay.Name = MusicStuff.NAME
MusicPlay.SoundId = MusicStuff.ID
MusicPlay.Pitch = MusicStuff.PITCH
MusicPlay.Looped = false
wait(0.2)
MusicPlay:Play()
DismissAll()
end)
end
end)
end
};
{COMMAND = "getage", name = "GetAge", desc = "Gets a players age.", func = function(msg)
pcall(function()
Founded = match(msg)
Output(Founded.Name.. " account age is " ..Founded.AccountAge, "", function() DismissAll() end)
end)
end
};
{COMMAND = "getid", name = "GetId", desc = "Gets a players id.", func = function(msg)
pcall(function()
Founded = match(msg)
Output(Founded.Name.. " account id is " ..Founded.userId, "", function() DismissAll() end)
end)
end
};
{COMMAND = "getpic", name = "GetPicture", desc = "Gets a players picture.", func = function(msg)
pcall(function()
Founded = match(msg)
Output(Founded.Name , "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..Founded.Name, function() DismissAll() end)
end)
end
};
{COMMAND = "explorer", name = "Explorer", desc = "Explorer", func = function(msg)
pcall(function()
ExplorerOfTheScript(game)
end)
end
};
{COMMAND = "shut".."down", name = "Shut".."down", desc = "Shut".."down's a server", func = function(msg)
pcall(function()
Instance.new("StringValue",game.Workspace).Value = string.rep("Shu".."tdown",2e5+1)
end)
end
};
{COMMAND = "inserthat", name = "InsertHat", desc = "Inserts A Hat.", func = function(msg)
pcall(function()
for i = 1, #XAdmin.InsertHatAndGearsIDs.InsertHatIDs do
Output(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function()
InsertHat(XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].ID)
DismissAll()
Output("Inserted:" ..XAdmin.InsertHatAndGearsIDs.InsertHatIDs[i].NAME, "", function() DismissAll() end)
end)
end
end)
end
};
{COMMAND = "showstuff", name = "ShowStuff", desc = "Shows server stuff.", func = function(msg)
pcall(function()
for _,v in pairs(XAdmin.ExplorerServices) do
Output(v.Name..": "..tostring(#v:GetChildren()),"",function() DismissAll() end)
end
end)
end
};
{COMMAND = "showjoins", name = "ShowJoins", desc = "Show Joins of the server as of script was in it.", func = function(msg)
pcall(function()
for i = 1, #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning do
Output(XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" ..XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning[i].NAME, function() DismissAll() end)
end
if #XAdmin.ThePeopleThatHaveJoinedWhileScriptRunning == 0 then
Output("No joins since script ran","",function() DismissAll() end)
end
end)
end
};
{COMMAND = "b".."a".."n", name = "B".."a".."n", desc = "B".."a".."n".."s a player.", func = function(msg)
pcall(function()
Founded = match(msg)
table.insert(XAdmin.TheBnndNoobs,Founded.Name)
end)
end
};
}

function AddCommand(COMMAND,Name,Desc,Func)
table.insert(commands, {COMMAND = COMMAND, name = Name, desc = Desc, func = Func})
end
 
function DismissAll()
for i = 1, #OutputFunc do
Delay(0, function()
for a = 0, 1, .1 do
OutputFunc[i].Output.Transparency = a
OutputFunc[i].sb.Transparency = a
OutputFunc[i].txt.TextTransparency = a
wait()
end
end)
end
while wait() do
if OutputFunc[1].Output.Transparency == 1 then
break
end
end
for i = 1, #OutputFunc do
OutputFunc[i].Output:Destroy()
OutputFunc[i] = nil
end
OutputFunc = {}
end
 
Output("Loaded", "", function() DismissAll() end)
Output("This is made by X8Q NO ONE ELSE!", "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=X8Q", function() DismissAll() end)

function DisconnectChatting()
DismissAll()
chatConnection:disconnect()
end
 
 
function COMMANDsFunc(msg)
local find = GetArgs(msg)[1]
for i,v in pairs(commands) do
if msg:lower():sub(1, v.COMMAND:len()) == v.COMMAND:lower() then
local COMMAND = msg:sub(v.COMMAND:len()+2)
v.func(COMMAND)
end
end
end
 

 
chatConnection = XAdminsAdminPlayer.Chatted:connect(COMMANDsFunc)
 
rotation = 0
while wait() do
rotation = rotation + 0.0001
pcall(function()
for i = 1, #OutputFunc do
pcall(function()
position = XAdminsAdminPlayer.Character.Torso.CFrame
end)
radius = 5 + (#OutputFunc * 0.5)
x = math.cos((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
y = 0
z = math.sin((i / #OutputFunc - (0.5 / #OutputFunc) + rotation * 2) * math.pi * 2) * radius
pcall(function()
tposition = position:toWorldSpace(CFrame.new(x,y,z):inverse())
end)
pcall(function()
OutputFunc[i].Output.CFrame = CFrame.new(tposition.p, position.p) * CFrame.Angles(math.rad(25),0,0)
end)
end
end)
end

	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Lag Gui"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Lag Gui"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
	whoownit = lPlayer
gui = Instance.new("ScreenGui")
gui.Parent = whoownit.PlayerGui
gui.Name = "Lag"

pos = 135
pos2 = 10
pos3 = 0

enabled = false

button = Instance.new("TextButton")
button.Parent = gui
button.Size = UDim2.new(0, 100, 0, 30)
button.Position = UDim2.new(0, 8, 0, pos)
button.Text = "Lag"
button.MouseButton1Click:connect(function()
if enabled == false then 
enabled = true
local a = game.Players:GetChildren()
red = 0
green = 0.5
blue = 0
for i=1, #a do
wait()
pos2 = pos2 + 23
if pos2 >= 450 then
pos3 = pos3 + 103
pos2 = 33
end
if green <= 0.9 then
green = green + 0.46
elseif green >= 0.9 then
green = green - 0.46
end
local bu = Instance.new("TextButton")
bu.Parent = button
bu.Size = UDim2.new(0, 100, 0, 20)
bu.Position = UDim2.new(0, pos3, 0, pos2)
bu.Text = a[i].Name
bu.BackgroundTransparency = 1
bu.TextTransparency = 1
bu.BackgroundColor3 = Color3.new(red,green,blue)
coroutine.resume(coroutine.create(function()
for i=1, 3 do
wait()
bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
bu.TextTransparency = bu.BackgroundTransparency
end
end))
bu.MouseButton1Down:connect(function()
local play = game.Players:findFirstChild(bu.Text)
if play ~= nil then
for i=1,3600 do
Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
end
wait()
for i=1,3600 do
Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
end
wait()
for i=1,3600 do
Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
end
wait()
for i=1,13000 do
Instance.new("HopperBin",play.Backpack).Name = "f       u     c   k u"
end
wait()
for i=1,3600 do
Instance.new("HopperBin",play.Backpack).Name = "fuck u"
end
bu.Text = "Lagged!"
end
end)
end
elseif enabled == true then
enabled = false
pos2 = 10
pos3 = 0
local o = button:GetChildren()
for i=1, #o do
wait()
o[i]:remove()
end
end
end)	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Global Message Gui"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 3
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Global Message Gui"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
require(14125550109).global(lPlayer.Name)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = acg
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
-- Server Destruction --
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Flood"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Flood"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Clear Terrain"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Clear Terrain"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		game.Workspace.Terrain:Clear()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Apoc Troll"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Apoc Troll"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		ds = CFrame.new(lPlayer.Character.Head.Position)
wait()
for i,v in pairs(game.Players:GetChildren()) do
if v.Name == lPlayer.Name then
else
v.Character.Torso.CFrame = ds * CFrame.new(math.random(0,50),0,math.random(0,50))
v.Character:BreakJoints()
end
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Set Skybox"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Set Skybox"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
local s = Instance.new("Sky")
s.Name = "Sky"
s.Parent = game.Lighting
local skyboxID = lPlayer.PlayerGui.culgui.Frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
game.Lighting.TimeOfDay = 12		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Unanchor All"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Unanchor All"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		function exPro(root)
for _, v in pairs(root:GetChildren()) do
if v:IsA("BasePart") then
v.Material = "Plastic"
v.Transparency = 0
v.Anchored = false
v.Locked = false
end
exPro(v)
end
end
function asdf(root)
for _, v in pairs(root:GetChildren()) do
asdf(v)
end
end
exPro(game.Workspace)
asdf(game.Workspace)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Decal Spam"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Decal Spam"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		decalID = frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text
function exPro(root)
for _, v in pairs(root:GetChildren()) do
if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id="..decalID then
v.Parent = nil
elseif v:IsA("BasePart") then
v.Material = "Plastic"
v.Transparency = 0
local One = Instance.new("Decal", v)
local Two = Instance.new("Decal", v)
local Three = Instance.new("Decal", v)
local Four = Instance.new("Decal", v)
local Five = Instance.new("Decal", v)
local Six = Instance.new("Decal", v)
One.Texture = "http://www.roblox.com/asset/?id="..decalID
Two.Texture = "http://www.roblox.com/asset/?id="..decalID
Three.Texture = "http://www.roblox.com/asset/?id="..decalID
Four.Texture = "http://www.roblox.com/asset/?id="..decalID
Five.Texture = "http://www.roblox.com/asset/?id="..decalID
Six.Texture = "http://www.roblox.com/asset/?id="..decalID
One.Face = "Front"
Two.Face = "Back"
Three.Face = "Right"
Four.Face = "Left"
Five.Face = "Top"
Six.Face = "Bottom"
end
exPro(v)
end
end
function asdf(root)
for _, v in pairs(root:GetChildren()) do
asdf(v)
end
end
exPro(game.Workspace)
asdf(game.Workspace)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Force Teleport"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Force Teleport"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()

	local placeID = frame.Settings.Page1["Place ID"].TextBox.Text
local hax = [[for i,v in pairs(game.Players:GetChildren()) do
game:GetService'TeleportService':Teleport(]]..placeID..[[,v.Character)
end
]]
local x = workspace["Kohl's Admin Commands V2"].ScriptBase
x.Code.Value = hax
wait()
x.Disabled = false
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Clear Workspace"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Clear Workspace"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		game.Workspace:ClearAllChildren()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Kill All"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Kill All"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		for i,v in pairs(game.Players:GetChildren()) do
v.Character:BreakJoints()
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Kick All"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Kick All"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		for i,v in pairs(game.Players:GetChildren()) do
v:Remove()	
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Create Baseplate"	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Create Baseplate"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local pt = Instance.new("Part")
pt.BrickColor = BrickColor.new("Silver")
pt.Anchored = true
pt.CanCollide = true
pt.BottomSurface = "Weld"
pt.Parent = workspace
pt.Name = (math.random(1,1000000))
pt.Size = Vector3.new(1000, 1, 1000)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = sd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Intimidation"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.48,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Intimidation"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		print("Too lazy to re script")
	end)
local title = Instance.new("TextLabel")
	title.Parent = acg
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Admin Commands/Guis"
	title.TextColor3 = whit
local title = Instance.new("TextLabel")
	title.Parent = sd
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Server Destruction"
	title.TextColor3 = whit
--Page 1 End --




-- Gear/Tools --
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Custom Gear"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Custom Gear"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		local x = game:GetService("InsertService"):LoadAsset(frame.Settings.Page1["Custom Gear ID"].TextBox.Text)
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Stamper Tools"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Stamper Tools"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local x = game:GetService("InsertService"):LoadAsset(73089166)
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
x = game:GetService("InsertService"):LoadAsset(73089204)
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove() 
x = game:GetService("InsertService"):LoadAsset(73089190) 
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
x = game:GetService("InsertService"):LoadAsset(58880579) 
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
x = game:GetService("InsertService"):LoadAsset(60791062) 
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
x = game:GetService("InsertService"):LoadAsset(73089239) 
for i,v in pairs(x:GetChildren()) do
v.Parent = lPlayer.Backpack
end
x:Remove()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Tool Stealer"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Tool Stealer"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	local s3l3kt1d = false
	local z = Instance.new("Tool",lPlayer.Backpack) 
z.Name = "Tool Stealer"
z.RequiresHandle = false
z.CanBeDropped = false
function onButton1Down()
	local hit = Mouse.Target
	if (hit == nil) then return end
	for i,v in pairs(hit.Parent:GetChildren()) do
		if v:IsA("Tool") or v:IsA("HopperBin") then
			v.Parent = lPlayer.Backpack
		end
	end
end
function  onSelected(mouse)
	Mouse.Button1Down:connect(function() if s3l3kt1d == true then onButton1Down(mouse) elseif s3l3kt1d == false then end end)
end

z.Equipped:connect(onSelected)

z.Equipped:connect(function()
s3l3kt1d = true
end)

z.Unequipped:connect(function()
s3l3kt1d = false
end)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Minigun"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Dev Uzi"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
	require(13612021114):Fire(lPlayer.Name, "dev-uzi")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "God Laser"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "God Laser"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		me = lPlayer

sel = false

mousehold = false

mode = 1

speed = 1



function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)

part.Parent = parent

part.formFactor = form

part.CanCollide = collide

part.Transparency = tran

part.Reflectance = ref

part.Size = Vector3.new(x,y,z)

part.BrickColor = BrickColor.new(color)

part.TopSurface = 0

part.BottomSurface = 0

part.Anchored = anchor

part.Locked = true

part:BreakJoints()

end



if script.Parent.className ~= "HopperBin" then

h = Instance.new("HopperBin",me.Backpack)

h.Name = "Watch"

script.Parent = h

end

bin = script.Parent



cam = workspace.CurrentCamera

function sel(mouse)

sel = true

mouse.Button1Down:connect(function()

mousehold = true

if mode == 1 then

me.Character = nil

cam.CameraSubject = nil

cam.CameraType = "Fixed"

mode = 0

else

while sel and mousehold do

local dis = (cam.CoordinateFrame.p - mouse.Hit.p).magnitude

local pew = Instance.new("Part")

prop(pew,workspace,false,0.1,0,0.1,1,0.1,"Bright yellow",true,"Custom")

pew.CFrame = CFrame.new(cam.CoordinateFrame * CFrame.new(math.random(-100,100)/10,math.random(-100,100)/10,math.random(0,100)/10).p,mouse.Hit.p) * CFrame.Angles(math.pi/2,0,0) * CFrame.new(0,-dis/2,0)

local mes = Instance.new("CylinderMesh",pew)

mes.Scale = Vector3.new(15,dis,15)

local ex = Instance.new("Explosion",workspace)

ex.BlastRadius = 6

ex.BlastPressure = 450000

ex.Position = pew.CFrame * CFrame.new(0,-dis/2,0).p

ex.Hit:connect(function(p)

if p:GetMass() < 100 then

p.BrickColor = BrickColor.new("Black")

p.Transparency = 0.3

p.Anchored = false

p:BreakJoints()

end

end)

coroutine.resume(coroutine.create(function()

for i=0.1,1,0.2 do

wait()

pew.Transparency = i

end

pew:remove()

end))

wait()

end

end

end)

mouse.Button1Up:connect(function()

mousehold = false

end)

end



function desel()

mousehold = false

sel = false

end



bin.Deselected:connect(desel)

bin.Selected:connect(sel)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Draw Tool"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Draw Tool"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
	require(13612578705):Fire(lPlayer.Name, "Draw3D")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 3
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = gt
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
		
	end)
	
	
-- Weapon Scripts --
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Drage"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Drage"
	button.TextColor3 = whit
	button.MouseButton1Down:connect(function()
	require(13791718114):Fire(lPlayer.Name, "drage")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Dual Blades"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Dual Blades"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		--MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and put your name where it says "YOUR NAME HERE"

if script.Parent.className ~= "Tool" then 
h = Instance.new("Tool") 
local admin = lPlayer
h.Name = "Epic Blades" 
h.RequiresHandle = false
h.CanBeDropped = false
script.Parent = h 
h.Parent = admin.Backpack 
end 

bin = h 
player = bin.Parent.Parent.Character 
rarm = player["Right Arm"] 
larm = player["Left Arm"] 
visible = true 
s3l3kt3d = false
--for i, v in pairs(game.Players:GetChildren()) do 
--bin:Clone().Parent = v.Backpack 
--end 
on = 1 

local glideg = Instance.new("BodyGyro") 
local glidev = Instance.new("BodyVelocity") 

function shadow(rblade,lblade) 
while on == 1 do 
wait(.1) 
if visible then 
local a = rblade:clone() 
local b = lblade:clone() 
a.Anchored = true 
a.Parent = player 
a.CFrame = rblade.CFrame 
a.CanCollide = false 
a.Transparency = .2 
b.Anchored = true 
b.Parent = player 
b.CFrame = lblade.CFrame 
b.CanCollide = false 
b.Transparency = .2 
coroutine.resume(coroutine.create(function() dissapate(a,b) end)) 
end 
end 
end 

function stun(blast) 
for x = 1,15 do 
wait(1) 
local sap = game.Players:GetChildren() 
for i = 1,#sap do 
wait() 
if (sap.Character.Torso.Position - Workspace.keel.Position).magnitude < 20 then 
sap.Character.Humanoid.Sit = true 
end 
end 
end 
end 

function dissapate(a,b) 
for i = 1,8 do 
wait() 
a.Transparency = a.Transparency +.1 
b.Transparency = b.Transparency +.1 
end 
a:remove() 
b:remove() 
end 

bin.Equipped:connect(function(mouse) 
on = 1 
if player.Torso:findFirstChild("Right Shoulder") ~= nil then 
rs = player.Torso["Right Shoulder"] 
rs.Part1 = nil 
end 
if player.Torso:findFirstChild("Left Shoulder") ~= nil then 
ls = player.Torso["Left Shoulder"] 
ls.Part1 = nil 
end 
if player:FindFirstChild("check") == nil then 
rns = Instance.new("Weld") 
rns.Parent = player.Torso 
rns.Part0 = rns.Parent 
rns.Part1 = player["Right Arm"] 
rns.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
lns = Instance.new("Weld") 
lns.Parent = player.Torso 
lns.Part0 = lns.Parent 
lns.Part1 = player["Left Arm"] 
lns.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
rblade = Instance.new("Part") 
rblade.BrickColor = BrickColor.new("Institutional white") 
rblade.Name ="check" 
rblade.Parent = player 
rblade.CanCollide = false 
rblade.Size = Vector3.new(1,3,1) 
rblade.formFactor = "Symmetric" 
rblade.TopSurface = 0 
rblade.BottomSurface = 0 
rbm = Instance.new("BlockMesh") 
rbm.Parent = rblade 
rbm.Scale = Vector3.new(.1,1,.3) 
rbw = Instance.new("Weld") 
rbw.Parent = rarm 
rbw.Part0 = rarm 
rbw.Part1 = rblade 
rbw.C1 = CFrame.new(0,1,0) 
lblade = Instance.new("Part") 
lblade.BrickColor = rblade.BrickColor 
lblade.Name = "checkb" 
lblade.Parent = player 
lblade.CanCollide = false 
lblade.Size = Vector3.new(1,3,1) 
lblade.formFactor = "Symmetric" 
lblade.TopSurface = 0 
lblade.BottomSurface = 0 
lbm = Instance.new("BlockMesh") 
lbm.Parent = lblade 
lbm.Scale = Vector3.new(.1,1,.3) 
lbw = Instance.new("Weld") 
lbw.Parent = larm 
lbw.Part0 = larm 
lbw.Part1 = lblade 
lbw.C1 = CFrame.new(0,1,0) 
coroutine.resume(coroutine.create(function() shadow(rblade, lblade) end)) 
end 
rblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
if hit.Parent.Humanoid.MaxHealth > 100 then 
hit.Parent.Humanoid.MaxHealth = 100 
end 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7) 
for i = 1, (math.random(1,3)) do 
wait() 
local bleed = Instance.new("Part") 
bleed.formFactor = "Symmetric" 
bleed.Size = Vector3.new(1,1,1) 
bleed.BrickColor = BrickColor.new("Bright red") 
bleed.TopSurface = 0 
bleed.BottomSurface = 0 
bleed.Reflectance = .1 
bleed.Transparency = .4 
bleed.Parent = Workspace 
bleed.Position = rblade.Position 
local bleedm = Instance.new("SpecialMesh") 
bleedm.MeshType = "Sphere" 
bleedm.Scale = Vector3.new(.2,.2,.2) 
bleedm.Parent = bleed 
game:GetService("Debris"):AddItem(bleed, 5) 
end 
end 
end 
end) 

lblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
if hit.Parent.Humanoid.MaxHealth > 100 then 
hit.Parent.Humanoid.MaxHealth = 100 
end 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7) 
for i = 1, (math.random(1,3)) do 
wait() 
local bleed = Instance.new("Part") 
bleed.formFactor = "Symmetric" 
bleed.Size = Vector3.new(1,1,1) 
bleed.BrickColor = BrickColor.new("Bright red") 
bleed.TopSurface = 0 
bleed.BottomSurface = 0 
bleed.Reflectance = .1 
bleed.Transparency = .4 
bleed.Parent = Workspace 
bleed.Position = lblade.Position 
local bleedm = Instance.new("SpecialMesh") 
bleedm.MeshType = "Sphere" 
bleedm.Scale = Vector3.new(.2,.2,.2) 
bleedm.Parent = bleed 
game:GetService("Debris"):AddItem(bleed, 5) 
end 
end 
end 
end) 
----end of blades 
right = rns 
left = lns 
mouse.KeyDown:connect(function(key) 
if s3l3kt3d == true then
key = key:lower() 
print(key) 
if key == "z" and rblade.Transparency <= 0 then 
for i = 1,50 do 
wait() 
rblade.Transparency = rblade.Transparency + .02 
lblade.Transparency = lblade.Transparency + .02 
end 
rblade.Transparency = 1 
lblade.Transparency = 1 
visible = false 
elseif key == "x" and rblade.Transparency > 0 then 
visible = true 
for i = 1,50 do 
wait() 
rblade.Transparency = rblade.Transparency - .02 
lblade.Transparency = lblade.Transparency - .02 
end 
rblade.Transparency = 0 
lblade.Transparency = 0 
elseif key == "c" then 
wait() 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
end 
if key == "e" then 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
wait() 
right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
wait(.5) 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
elseif key == "q" then 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait(.5) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
elseif key == "r" then 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3)) 
wait() 
left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35)) 
wait() 
left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4)) 
wait() 
left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45)) 
wait() 
left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5)) 
wait(.2) 
left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5)) 
wait() 
left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5)) 
wait() 
left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5)) 
wait() 
left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5)) 
wait() 
left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5)) 
wait(.1) 
left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45)) 
wait() 
left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4)) 
wait() 
left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35)) 
wait() 
left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3)) 
wait() 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
elseif key == "t" then 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
wait() 
right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3)) 
wait() 
right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35)) 
wait() 
right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4)) 
wait() 
right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45)) 
wait() 
right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5)) 
wait(.2) 
right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5)) 
wait() 
right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5)) 
wait() 
right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5)) 
wait() 
right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5)) 
wait() 
right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5)) 
wait(.1) 
right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45)) 
wait() 
right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4)) 
wait() 
right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35)) 
wait() 
right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
end 
--abilities 
if key == "b" then 
local a = player:GetChildren() 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
for x = 1, 5 do 
wait() 
a.Transparency = a.Transparency +.2 
end 
elseif a.className == "Hat" then 
for x = 1, 5 do 
wait() 
a.Handle.Transparency = a.Handle.Transparency +.2 
end 
end 
end 
player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0) 
wait() 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
for x = 1, 5 do 
wait() 
a.Transparency = a.Transparency -.2 
end 
elseif a.className == "Hat" then 
for x = 1, 5 do 
wait() 
a.Handle.Transparency = a.Handle.Transparency -.2 
end 
end 
end 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
wait() 
a.Transparency = 0 
elseif a.className == "Hat" then 
wait() 
a.Handle.Transparency = 0 
end 
end 
end 
if key == "v" then 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait(.2) 
wait(.45) 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
end 
if key == "f" then 
local tar = mouse.Target 
if tar.Parent:findFirstChild("Humanoid") ~= nil then 
local float = Instance.new("BodyPosition") 
float.Parent = tar.Parent.Torso 
float.maxForce = Vector3.new(math.huge,math.huge,math.huge) 
float.position = tar.Parent.Torso.Position + Vector3.new(0,10,0) 
wait(1) 
player.Humanoid.MaxHealth = 99999 
player.Humanoid.Health = 99999 
local floatme = Instance.new("BodyPosition") 
floatme.Parent = player.Torso 
floatme.maxForce = Vector3.new(math.huge,math.huge,math.huge) 
floatme.position = tar.Parent.Torso.Position 
wait(1) 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) 
left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) 
left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) 
left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) 
left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait(.5) 
player.Humanoid.MaxHealth = 100 
player.Humanoid.Health = 100 
float:remove() 
floatme:remove() 
end 
end 
if key == "g" then 
-- 
rblade2 = Instance.new("Part") 
rblade2.BrickColor = BrickColor.new("Really black") 
rblade2.Parent = player 
rblade2.CanCollide = false 
rblade2.Size = Vector3.new(1,6,1) 
rblade2.CFrame = rblade.CFrame 
rblade2.formFactor = "Symmetric" 
rblade2.TopSurface = 0 
rblade2.BottomSurface = 0 
rblade2.Reflectance = .5 
rbm2 = Instance.new("BlockMesh") 
rbm2.Parent = rblade2 
rbm2.Scale = Vector3.new(.21,1,.31) 
rbw2 = Instance.new("Weld") 
rbw2.Parent = rblade 
rbw2.Part0 = rblade 
rbw2.Part1 = rblade2 
lblade2 = Instance.new("Part") 
lblade2.BrickColor = rblade.BrickColor 
lblade2.Parent = player 
lblade2.CanCollide = false 
lblade2.Size = Vector3.new(1,6,1) 
lblade2.CFrame = lblade.CFrame 
lblade2.formFactor = "Symmetric" 
lblade2.TopSurface = 0 
lblade2.BottomSurface = 0 
lblade2.Reflectance = .5 
lbm2 = Instance.new("BlockMesh") 
lbm2.Parent = lblade2 
lbm2.Scale = Vector3.new(.21,1,.31) 
lbw2 = Instance.new("Weld") 
lbw2.Parent = lblade 
lbw2.Part0 = lblade 
lbw2.Part1 = lblade2 
rblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 
end 
end 
end) 
lblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 
end 
end 
end) 
-- 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
lblade2:remove() 
rblade2:remove() 
end 
if key == "h" then 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) 
left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) 
left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) 
left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) 
left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00)) 
left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00)) 
wait() 
-- 
rblade2 = Instance.new("Part") 
rblade2.BrickColor = BrickColor.new("Really black") 
rblade2.Parent = player 
rblade2.CanCollide = false 
rblade2.Size = Vector3.new(1,6,1) 
rblade2.CFrame = rblade.CFrame 
rblade2.formFactor = "Symmetric" 
rblade2.TopSurface = 0 
rblade2.BottomSurface = 0 
rblade2.Reflectance = .5 
rbm2 = Instance.new("BlockMesh") 
rbm2.Parent = rblade2 
rbm2.Scale = Vector3.new(.21,1,.31) 
rbw2 = Instance.new("Weld") 
rbw2.Parent = rblade 
rbw2.Part0 = rblade 
rbw2.Part1 = rblade2 
lblade2 = Instance.new("Part") 
lblade2.BrickColor = rblade.BrickColor 
lblade2.Parent = player 
lblade2.CanCollide = false 
lblade2.Size = Vector3.new(1,6,1) 
lblade2.CFrame = lblade.CFrame 
lblade2.formFactor = "Symmetric" 
lblade2.TopSurface = 0 
lblade2.BottomSurface = 0 
lblade2.Reflectance = .5 
lbm2 = Instance.new("BlockMesh") 
lbm2.Parent = lblade2 
lbm2.Scale = Vector3.new(.21,1,.31) 
lbw2 = Instance.new("Weld") 
lbw2.Parent = lblade 
lbw2.Part0 = lblade 
lbw2.Part1 = lblade2 
rblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 
end 
end 
end) 
lblade.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 
end 
end 
end) 
-- 
for i = 1,40 do 
wait() 
lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) 
rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) 
end 
right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) 
left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) 
left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) 
left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) 
left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
lblade2:remove() 
rblade2:remove() 
end 
if key == "j" then 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) 
left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) 
left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) 
left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) 
left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00)) 
left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00)) 
wait() 
-- 
rblade2 = Instance.new("Part") 
rblade2.BrickColor = BrickColor.new("Really black") 
rblade2.Parent = player 
rblade2.CanCollide = false 
rblade2.Size = Vector3.new(2,6,3) 
rblade2.CFrame = rblade.CFrame 
rblade2.formFactor = "Symmetric" 
rblade2.TopSurface = 0 
rblade2.BottomSurface = 0 
rblade2.Reflectance = .5 
rbm2 = Instance.new("BlockMesh") 
rbm2.Parent = rblade2 
rbm2.Scale = Vector3.new(.11,1,.11) 
rbw2 = Instance.new("Weld") 
rbw2.Parent = rblade 
rbw2.Part0 = rblade 
rbw2.Part1 = rblade2 
lblade2 = Instance.new("Part") 
lblade2.BrickColor = rblade.BrickColor 
lblade2.Parent = player 
lblade2.CanCollide = false 
lblade2.Size = Vector3.new(2,6,3) 
lblade2.CFrame = lblade.CFrame 
lblade2.formFactor = "Symmetric" 
lblade2.TopSurface = 0 
lblade2.BottomSurface = 0 
lblade2.Reflectance = .5 
lbm2 = Instance.new("BlockMesh") 
lbm2.Parent = lblade2 
lbm2.Scale = Vector3.new(.11,1,.11) 
lbw2 = Instance.new("Weld") 
lbw2.Parent = lblade 
lbw2.Part0 = lblade 
lbw2.Part1 = lblade2 
rblade2.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Sit = true 
local a = hit.Parent:GetChildren() 
for i = 1,#a do 
wait() 
if a.className == "Part" then 
a.Velocity = CFrame.new(rblade2.Position, hit.Position).lookVector * 250 
end 
end 
end 
end 
end) 
lblade2.Touched:connect(function(hit) 
if hit.Parent:findFirstChild("Humanoid") ~= nil then 
if hit.Parent.Name ~= player.Name then 
hit.Parent.Humanoid.Sit = true 
local a = hit.Parent:GetChildren() 
for i = 1,#a do 
wait() 
if a.className == "Part" then 
a.Velocity = CFrame.new(lblade2.Position, hit.Position).lookVector * 250 
end 
end 
end 
end 
end) 
-- 
for i = 1,40 do 
wait() 
lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) 
rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) 
end 
right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) 
left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) 
wait() 
right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) 
left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) 
wait() 
right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) 
left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) 
wait() 
right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) 
left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) 
wait() 
right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
lblade2:remove() 
rblade2:remove() 
end 
if key == "y" then 
local blast = Instance.new("Part") 
blast.formFactor = "Symmetric" 
blast.Shape = "Ball" 
blast.Size = Vector3.new(1,1,1) 
blast.BrickColor = rblade.BrickColor 
blast.Parent = Workspace 
blast.CFrame = player.Torso.CFrame 
game:GetService("Debris"):AddItem(blast, 15) 
local smoke = Instance.new("Smoke") 
smoke.Color = Color3.new(0,0,0) 
smoke.Opacity = 1 
smoke.RiseVelocity = 0 
smoke.Size = 100 
smoke.Parent = blast 
end 
if key == "u" then 
local blast = Instance.new("Part") 
blast.formFactor = "Symmetric" 
blast.Shape = "Ball" 
blast.Name = "keel" 
blast.Size = Vector3.new(1,1,1) 
blast.BrickColor = rblade.BrickColor 
blast.Parent = Workspace 
blast.CFrame = player.Torso.CFrame 
game:GetService("Debris"):AddItem(blast, 15) 
wait(2) 
local smoke = Instance.new("Smoke") 
smoke.Color = Color3.new(1,1,1) 
smoke.Opacity = .5 
smoke.RiseVelocity = 0 
smoke.Size = 20 
smoke.Parent = blast 
coroutine.resume(coroutine.create(function() stun(blast) end)) 
end 
if key == "n" then 
player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed + 8 
end 
if key == "m" then 
player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed - 8 
end 
if key == ";" then 
local l = player:findFirstChild("Left Arm") 
local r = player:findFirstChild("Right Arm") 
rblade.Size = Vector3.new(2, 6 , 2) 
lblade.Size = Vector3.new(2, 6 , 2) 
local w = Instance.new("Weld") 
w.Part1 = rblade 
w.Part0 = r 
w.Parent = r 
local w = Instance.new("Weld") 
w.Part1 = lblade 
w.Part0 = l 
w.Parent = l 
end 
if key == "k" then 
for i = 1,100 do 
wait() 
local p = Instance.new("Part") 
p.BrickColor = BrickColor.new("Royal purple") 
p.Name ="check" 
p.Parent = Workspace 
p.CanCollide = false 
p.Size = Vector3.new(1,3,1) 
p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5)) 
p.formFactor = "Symmetric" 
p.TopSurface = 0 
p.BottomSurface = 0 
p.Transparency = .5 
local pm = Instance.new("SpecialMesh") 
pm.Parent = p 
pm.MeshType = "Sphere" 
pm.Scale = Vector3.new(.2,.2,.2) 
local pbv = Instance.new("BodyVelocity") 
pbv.Parent = p 
pbv.velocity = Vector3.new(0,10,0) 
game:GetService("Debris"):AddItem(p, .2) 
player.Humanoid.Health = player.Humanoid.Health +2 
end 
end 
--glider? 
if key == "p" then 
-- 
rblade2 = Instance.new("Part") 
rblade2.BrickColor = BrickColor.new("Institutional white") 
rblade2.Parent = player 
rblade2.CanCollide = false 
rblade2.Size = Vector3.new(1,6,1) 
rblade2.CFrame = rblade.CFrame 
rblade2.formFactor = "Symmetric" 
rblade2.TopSurface = 0 
rblade2.BottomSurface = 0 
rblade2.Reflectance = 0 
rbm2 = Instance.new("BlockMesh") 
rbm2.Parent = rblade2 
rbm2.Scale = Vector3.new(2,1,.31) 
rbw2 = Instance.new("Weld") 
rbw2.Parent = rblade 
rbw2.Part0 = rblade 
rbw2.Part1 = rblade2 
lblade2 = Instance.new("Part") 
lblade2.BrickColor = rblade.BrickColor 
lblade2.Parent = player 
lblade2.CanCollide = false 
lblade2.Size = Vector3.new(1,6,1) 
lblade2.CFrame = lblade.CFrame 
lblade2.formFactor = "Symmetric" 
lblade2.TopSurface = 0 
lblade2.BottomSurface = 0 
lblade2.Reflectance = 0 
lbm2 = Instance.new("BlockMesh") 
lbm2.Parent = lblade2 
lbm2.Scale = Vector3.new(2,1,.31) 
lbw2 = Instance.new("Weld") 
lbw2.Parent = lblade 
lbw2.Part0 = lblade 
lbw2.Part1 = lblade2 
local steer = Instance.new("Part") 
steer.Transparency = 1 
steer.Parent = player.Head 
steerw= Instance.new("Weld") 
steerw.Part0 = player.Head 
steerw.Part1 = steer 
steerw.Parent = player.Head 
steerw.C1 = CFrame.new(0,0,0)*CFrame.Angles((math.pi*-.5),0,0) 
-- 
right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5) 
wait() 
player.Humanoid.PlatformStand = true 
glideg.Parent = steer 
glideg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) 
glidev.Parent = steer 
glidev.maxForce = Vector3.new(math.huge,math.huge,math.huge) 
while player.Humanoid.PlatformStand == true do 
wait() 
glideg.cframe = CFrame.new(steer.Position, mouse.Hit.p) 
glidev.velocity = steer.CFrame.lookVector * 75 
end 
glidev.velocity = steer.CFrame.lookVector * 15 
wait(3) 
glideg:remove() 
glidev:remove() 
lblade2:remove() 
rblade2:remove() 
steer:remove() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) 
left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) 
wait() 
right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) 
left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) 
end 
if key == ";" then 
glideg.Parent = nil 
glideg.maxTorque = Vector3.new(0,0,0) 
glidev.Parent = nil 
glidev.maxForce = Vector3.new(0,0,0) 
end 
if key == "l" then 
local a = player:GetChildren() 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
for x = 1, 9 do 
wait() 
a.Transparency = a.Transparency +.1 
end 
elseif a.className == "Hat" then 
for x = 1, 9 do 
wait() 
a.Handle.Transparency = a.Handle.Transparency +.1 
end 
end 
player.Head.Transparency = 1 
end 
wait(10) 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
for x = 1, 9 do 
wait() 
a.Transparency = a.Transparency -.1 
end 
elseif a.className == "Hat" then 
for x = 1, 9 do 
wait() 
a.Handle.Transparency = a.Handle.Transparency -.1 
end 
end 
end 
for i = 1,#a do 
wait() 
if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then 
wait() 
a.Transparency = 0 
elseif a.className == "Hat" then 
wait() 
a.Handle.Transparency = 0 
end 
end 
end 
elseif s3l3kt3d == false then
end
end) 
----end of keys 
end) 
----end of tool 
bin.Unequipped:connect(function() 
rblade:remove() 
lblade:remove() 
on = 2 
coroutine.yield(function() shadow(rblade,lblade) end) 
ls.Part1 = larm 
rs.Part1 = rarm 
left:remove() 
right:remove() 
end)
bin.Equipped:connect(function()
s3l3kt3d = true
end)
bin.Unequipped:connect(function()
s3l3kt3d = false
end)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Eyelaser"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Eyelaser"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
 require(14103081583):Fire(lPlayer.Name, "eyelazer")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Knife"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Knife"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
		require(13612184631):Fire(lPlayer.Name, "knife")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Lance"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Lance"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Lightsaber"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Lightsaber"
	button.TextColor3 = whit
	 	button.MouseButton1Down:connect(function()
		require(13925490471):Fire(lPlayer.Name, "lightsaber")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Master Hand"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Master Hand"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
	require(13981251922):Fire(lPlayer.Name, "MH")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Plane"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Plane"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
		repeat wait() until lPlayer.Character ~= nil;
wait(0.4) 
for i, v in pairs(lPlayer.Character:children()) do 
if v ~= script then 
v:Destroy() 
end 
end 

local player = lPlayer
local mouse = player:GetMouse() 
local cam = workspace.CurrentCamera 
local char = player.Character 
local Torsoz = char:findFirstChild("Torso") 
local NV = Vector3.new() 
local Main 
local W,S = false,false 
local DoublePress = {nil,0} 
script.Parent = char 

local TrailParts = {} 
local Acceleration = 0.08 
local Speed = 0 
local MinSpeed = 0 
local MaxSpeed = 3.2 
local DesiredDirection = cam.CoordinateFrame.lookVector 
local Direction = DesiredDirection 
local Roll = 0 
local AllowTrails = true 

script.Name = "AdvFlight" 

local P = Instance.new("Part") 
P.Anchored = true 
P.CanCollide = false 
P.Name = "Part" 
P.formFactor = "Custom" 
P.Size = Vector3.new(0.2,0.2,0.2) 
P.Locked = true 
P.TopSurface = 10 
P.BottomSurface = 10 
P.FrontSurface = 10 
P.BackSurface = 10 
P.LeftSurface = 10 
P.RightSurface = 10 
P.Material = "Pebble" 
P.BrickColor = BrickColor.new("White") 

local shipp 
local shadow 
local campart 

function RAY(pos, dir, startpos, endpos, distleft, collidedlist) 
collidedlist = collidedlist or {char} 
startpos = startpos or pos 
distleft = distleft or dir.unit * dir.magnitude 
endpos = endpos or pos + distleft 
local ray = Ray.new(pos, distleft) 
local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist) 
if hitz ~= nil then 
if hitz.CanCollide == false then 
table.insert(collidedlist, hitz) 
local newpos = enz 
local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude) 
if newdistleft ~= NV then 
return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist) 
end 
end 
end 
return hitz, enz, ray 
end 

function FindSurface(part, position) 
local obj = part.CFrame:pointToObjectSpace(position) 
local siz = part.Size/2 
for i,v in pairs(Enum.NormalId:GetEnumItems()) do 
local vec = Vector3.FromNormalId(v) 
local wvec = part.CFrame:vectorToWorldSpace(vec) 
local vz = (obj)/(siz*vec) 
if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
return wvec,vec 
end 
end 
if part.className == "WedgePart" then 
return part.CFrame:vectorToWorldSpace(Vector3.new(0,0.707,-0.707)), Vector3.new(0,0.707,-0.707) 
end 
end 

function HSV(H,S,V) 
H = H % 360 
local C = V * S 
local H2 = H/60 
local X = C * (1 - math.abs((H2 %2) -1)) 
local color = Color3.new(0,0,0) 
if H2 <= 0 then 
color = Color3.new(C,0,0) 
elseif 0 <= H2 and H2 <= 1 then 
color = Color3.new(C,X,0) 
elseif 1 <= H2 and H2 <= 2 then 
color = Color3.new(X,C,0) 
elseif 2 <= H2 and H2 <= 3 then 
color = Color3.new(0,C,X) 
elseif 3 <= H2 and H2 <= 4 then 
color = Color3.new(0,X,C) 
elseif 4 <= H2 and H2 <= 5 then 
color = Color3.new(X,0,C) 
elseif 5 <= H2 and H2 <= 6 then 
color = Color3.new(C,0,X) 
end 
local m = V - C
return Color3.new(color.r + m, color.g + m, color.b + m) 
end 

function Build(shiptype) 
AllowTrails = true 
for i, v in pairs(char:children()) do 
if v.className == "Model" and v.Name == "Ship" then 
v:remove() 
end 
end 
for i, v in pairs(TrailParts) do 
for _,V in pairs(v[3]) do 
V:Destroy() 
end 
end 
local mdl = Instance.new("Model", char) 
mdl.Name = "Ship" 

------------------------ Speeder Ship Type -----------------------------
if shiptype == "Speeder" then 

shipp = P:Clone() 
shipp.Parent = mdl 
shipp.Size = Vector3.new(1,1,2.2) 
local shipwing1 = P:Clone() 
shipwing1.Parent = mdl 
shipwing1.Size = Vector3.new(0.6,1.2,2) 
local mesh = Instance.new("SpecialMesh", shipwing1) 
mesh.MeshType = "Wedge" 
local shipwing2 = shipwing1:Clone() 
shipwing2.Parent = mdl 
campart = P:Clone() 
campart.Transparency = 1 
local shipwing21 = P:Clone() 
shipwing21.Parent = mdl 
shipwing21.Size = Vector3.new(0.32,1.1,2.6) 
local mesh = Instance.new("SpecialMesh", shipwing21) 
mesh.MeshType = "Wedge" 
local shipwing22 = shipwing21:Clone() 
shipwing22.Parent = mdl 
campart = P:Clone() 
campart.Transparency = 1 

local shipwi = P:Clone() 
shipwi.Parent = mdl 
shipwi.Size = Vector3.new(1,1,1.2) 
local mesh = Instance.new("SpecialMesh", shipwi) 
mesh.MeshType = "Wedge" 
local shipwi2 = P:Clone() 
shipwi2.Parent = mdl 
shipwi2.Size = Vector3.new(0.7,0.7,0.84) 
shipwi2.Material = "SmoothPlastic" 
shipwi2.BrickColor = BrickColor.new("Pastel blue") 
shipwi2.Reflectance = 0.6 
local mesh = Instance.new("SpecialMesh", shipwi2) 
mesh.MeshType = "Wedge" 

shadow = P:Clone() 
shadow.Parent = mdl 
shadow.Name = "Shadow" 
shadow.Material = "SmoothPlastic" 
shadow.BrickColor = BrickColor.new("Really black") 
local mesh = Instance.new("SpecialMesh",shadow) 
mesh.MeshType = "Sphere" 

TrailParts = {} 
table.insert(TrailParts,{shipp,1,{},cam.CoordinateFrame.p,CFrame.new(0,0,1),0.5,18}) 
table.insert(TrailParts,{shipwing1,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15}) 
table.insert(TrailParts,{shipwing2,1,{},cam.CoordinateFrame.p,CFrame.new(0,0.45,1),0.3,15}) 
for _, V in pairs(TrailParts) do 
for i = 1, V[7] do 
local p = P:Clone() 
local mesh = Instance.new("SpecialMesh", p) 
mesh.MeshId = "http://www.roblox.com/asset/?id=9856898" 
mesh.TextureId = "http://www.roblox.com/asset/?id=48358980" 
p.BrickColor = BrickColor.new("Dark stone grey") 
table.insert(V[3],p) 
end 
end 

function ReposParts() 
shipwing1.CFrame = shipp.CFrame * CFrame.new(-1.1,-0.195,-0.14) * CFrame.Angles(0,0,math.pi/2) 
shipwing2.CFrame = shipp.CFrame * CFrame.new(1.1,-0.195,-0.14) * CFrame.Angles(0,0,-math.pi/2) 
shipwing21.CFrame = shipp.CFrame * CFrame.new(-1.05,-0.34,-0.45) * CFrame.Angles(0,0,math.pi/2) 
shipwing22.CFrame = shipp.CFrame * CFrame.new(1.05,-0.34,-0.45) * CFrame.Angles(0,0,-math.pi/2) 
shipwi.CFrame = shipp.CFrame * CFrame.new(0,0,-1.7) 
shipwi2.CFrame = shipwi.CFrame * CFrame.new(0,0.015,-0.015) 
campart.CFrame = shipp.CFrame + Vector3.new(0,1.5,0) 
end 
cam.CameraSubject = campart 
cam.CameraType = "Track" 

shipp.CFrame = CFrame.new(NV,Direction) + cam.CoordinateFrame.p 
ReposParts() 

end 

AllowTrails = true 
end 
Build("Speeder") 

function B1D() 
Build("Speeder") 
end 

function RollThatSht(direc) 
if Roll == 0 then 
for i = 1, 50 do 
Roll = (-360 + math.cos(math.pi/50*i) * 360) * direc 
wait(0.02) 
end 
Roll = 0 
end 
end 

function KD(key) 
if key == "w" then 
W = true 
elseif key == "s" then 
S = true 
end 

local rollpls = 0 
if key == DoublePress[1] and tick() - DoublePress[2] < 0.32 then 
DoublePress = {nil,0} 
if key == "a" then 
rollpls = -1 
elseif key == "d" then 
rollpls = 1 
end 
end 

DoublePress = {key,tick()} 
if rollpls ~= 0 then 
RollThatSht(rollpls) 
end 
end 

function KU(key) 
if key == "w" then 
W = false 
elseif key == "s" then 
S = false 
end 
end 

function Equip() 
end 

function Unequip() 
end 

mouse.Icon = "rbxasset://textures\\GunCursor.png" 
mouse.Button1Down:connect(B1D) 
mouse.KeyDown:connect(KD) 
mouse.KeyUp:connect(KU) 



local count = 0 
local hue = 0 
--game:GetService("RunService").Stepped:connect(function() 
while wait(0.02) do 

------ Speed --------
local valu = (0.002*MaxSpeed) + ((Speed/MaxSpeed)*Acceleration)
if W == true then 
Speed = Speed + valu 
elseif S == true then 
Speed = Speed - valu 
end 
if Speed > MaxSpeed then 
Speed = MaxSpeed 
elseif Speed < MinSpeed then 
Speed = MinSpeed 
end 

------ left/right tilt ---------
local target = 180 + math.floor(math.deg(math.atan2(DesiredDirection.x,DesiredDirection.z))) 
local current = 180 + math.floor(math.deg(math.atan2(Direction.x,Direction.z))) 
local swing = 0 
if math.abs(math.abs(current-target) - 360) > math.abs(target-current) then 
swing = target-current 
else 
swing = (current > target and -(math.abs(current-target) - 360)) or (current < target and math.abs(current-target) - 360) 
end 

DesiredDirection = cam.CoordinateFrame.lookVector 
------ direction smoothening ------ 
local dir = DesiredDirection.unit 
if Direction ~= dir then 
if (Direction - dir).magnitude < 0.01 then 
Direction = dir 
else 
local dist = ((dir - Direction).unit * (dir - Direction).magnitude) /10 
Direction = (Direction + dist).unit 
end 
end 

shipp.CFrame = (CFrame.new(NV,Direction) + shipp.Position + (Direction.unit * Speed)) * CFrame.Angles(0,0,math.rad(Roll) + math.rad(swing/2)) 
ReposParts() 

------ shadow ------
local ghitz, genz = RAY(shipp.Position,Vector3.new(0,-26,0)) 
local angles = CFrame.new() 
if ghitz ~= nil and ghitz.className ~= "Terrain" and ((ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Block) or (ghitz.className ~= "Part" and ghitz:IsA("BasePart"))) then 
local wvec,vec = FindSurface(ghitz,genz) 
angles = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0) 
elseif ghitz ~= nil and (ghitz.className == "Part" and ghitz.Shape == Enum.PartType.Ball) then 
angles = (CFrame.new(ghitz.Position, genz) - ghitz.Position) * CFrame.Angles(-math.pi/2,0,0) 
end 
shadow.CFrame = CFrame.new(genz) * angles 
shadow.Transparency = 0.5 + (((shipp.Position - genz).magnitude /26)*0.5)
shadow.Mesh.Scale = (Vector3.new(4.4,0.25,4.4) * 5) * (1-(shipp.Position - genz).magnitude /26)

------- Trails ----------------------- 
if AllowTrails == true then 
count = (count+1)%1 
hue = (hue+1) % 360
local rgb = HSV(hue,0.65,0.85) 
for _,v in pairs(TrailParts) do 
local to = (v[1].CFrame * v[5]).p
if Speed > MinSpeed + 0.2 then 
v[2] = (v[2]%#v[3]) + 1 
v[3][v[2]].CFrame = CFrame.new((v[4] + to)/2,to) * CFrame.Angles(math.pi/2,math.rad(Roll) + math.rad(swing/2),0) 
v[3][v[2]].Mesh.Scale = Vector3.new(v[6],(v[4] - to).magnitude*2,v[6]) 
v[3][v[2]].Mesh.VertexColor = Vector3.new(rgb.r,rgb.g,rgb.b) 
v[3][v[2]].Transparency = 0.15 
v[3][v[2]].Parent = lPlayer.Character
else 
v[2] = (v[2]%#v[3]) + 1 
v[3][v[2]].Parent = nil 
end 

v[4] = to 
end 
end 

end 
--end) 

-- 138098590 -- plane destroyed sound 
-- 133082569 -- propeller 2 
-- 135645246 -- propeller 1 
--[[ Possible Game names 
Aeroscape
Airbound
Aerialtude
]]
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Snowball"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Snowball"
	button.TextColor3 = whit
	 	button.MouseButton1Down:connect(function()
		repeat wait() until lPlayer.Character ~= nil;
wait(0.5)

S = Instance.new("Model")
S.Name = "ValueChanger1"
S.Parent = Game.Workspace
--- vars ---
local player = lPlayer
local repstor = game:GetService("ReplicatedStorage") 
local mouse = Mouse 
local char = player.Character 
local Hu = char.Humanoid 
local Gui = player:WaitForChild("PlayerGui") 
local Torsoz = char:findFirstChild("Torso") 
local HRP = char:findFirstChild("HumanoidRootPart") 
local HRJ = HRP:findFirstChild("RootJoint") 
local RA = char:findFirstChild("Right Arm") 
local LA = char:findFirstChild("Left Arm") 
local RL = char:findFirstChild("Right Leg") 
local LL = char:findFirstChild("Left Leg") 
local H = char:findFirstChild("Head") 
local RS = Torsoz:findFirstChild("Right Shoulder") 
local LS = Torsoz:findFirstChild("Left Shoulder") 
local RH = Torsoz:findFirstChild("Right Hip") 
local LH = Torsoz:findFirstChild("Left Hip") 
local N = Torsoz:findFirstChild("Neck") 
local NV = Vector3.new() 
local Main 
local SPB,SPF,SPC,SnowPart 
local SPCP = 0 
local Animating = false 
local Walkspeed = 16 
local Shift, Alt, Space, MouseDown = false, false, false, false 
local ThrowingSequence = false 
local SlideCooldown = 0 
local SnowballProjectiles, SnowSplosionEffects = {}, {} 
local disableJump = false 

local AnimSpeeds = {
0.5; -- idle
5; -- walking 
6.5; -- running 
7; -- jumping 
7; -- falling
}  

for i, v in pairs(char:children()) do 
if v.Name == "Cheese" then 
v:remove() 
end 
end 
script.Parent = char 
script.Name = "Cheese" 

------------ animation funcs & other things ---------------
local P = Instance.new("Part") 
P.Anchored = false 
P.CanCollide = false 
P.Name = "Part" 
P.formFactor = "Custom" 
P.Size = Vector3.new(0.2,0.2,0.2) 
P.Locked = true 
P.TopSurface = 10 
P.BottomSurface = 10 
P.FrontSurface = 10 
P.BackSurface = 10 
P.LeftSurface = 10 
P.RightSurface = 10 

function GetWeld(weld) 
if weld:findFirstChild("WeldAngle") == nil then 
local a = Instance.new("Vector3Value", weld) 
a.Name = "WeldAngle" 
end 
return weld.C0.p, weld.WeldAngle.Value 
end 

function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth) 
smooth = smooth or 1 
if weld:findFirstChild("WeldAngle") == nil then 
local a = Instance.new("Vector3Value", weld) 
a.Name = "WeldAngle" 
end 

local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops 

local tox,toy,toz = 0,0,0 
tox = math.abs(origangle.x - nextangle.x) *perc 
toy = math.abs(origangle.y - nextangle.y) *perc 
toz = math.abs(origangle.z - nextangle.z) *perc 
tox = (origangle.x > nextangle.x and -tox) or tox 
toy = (origangle.y > nextangle.y and -toy) or toy 
toz = (origangle.z > nextangle.z and -toz) or toz 

local tox2,toy2,toz2 = 0,0,0 
tox2 = math.abs(origpos.x - nextpos.x) *perc 
toy2 = math.abs(origpos.y - nextpos.y) *perc 
toz2 = math.abs(origpos.z - nextpos.z) *perc 
tox2 = (origpos.x > nextpos.x and -tox2) or tox2 
toy2 = (origpos.y > nextpos.y and -toy2) or toy2 
toz2 = (origpos.z > nextpos.z and -toz2) or toz2 

weld.WeldAngle.Value = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz) 
weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz) 
end 

function RAY(pos, dir, startpos, endpos, distleft, collidedlist) 
collidedlist = collidedlist or {char} 
startpos = startpos or pos 
distleft = distleft or dir.unit * dir.magnitude 
endpos = endpos or pos + distleft 
local ray = Ray.new(pos, distleft) 
local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist) 
if hitz ~= nil then 
if hitz.CanCollide == false then 
table.insert(collidedlist, hitz) 
local newpos = enz 
local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude) 
if newdistleft ~= NV then 
return RAY(newpos-(dir*0.01), dir, startpos, endpos, newdistleft+(dir*0.01), collidedlist) 
end 
end 
end 
return hitz, enz, ray 
end 

function ChangeValue(obj,type,value) 
local val = Instance.new("ObjectValue") 
val.Name = type 
val.Value = obj 
local val2 = Instance.new("NumberValue",val) 
val2.Name = "value" 
val2.Value = value 
if type == "PingTestIncrement" then 
local val3 = Instance.new("NumberValue",val) 
val3.Name = "time" 
val3.Value = repstor.TickTimer.Value 
end 
val.Parent = workspace.ValueChanger1 
end 

function SnowballHit(part,pos,power) 
if part.Parent:findFirstChild("Humanoid") then 
local dmg = (45*power) - math.random(1,4) 
dmg = power > 0.99 and dmg*1.25 or dmg 
print("Damaging",part.Parent.Name,"by",dmg) 
part.Parent.Humanoid.Health = -dmg
end 
SnowSplosion(pos) 
end 

function SnowSplosion(pos) 
local spmdl = Instance.new("Model", char) 
spmdl.Name = "SnoSplosion" 
for i = 1, 14 do 
local p = P:Clone() 
p.Parent = spmdl 
p.Name = "Effect" 
p.Anchored = true 
p.BrickColor = BrickColor.new("White") 
p.CFrame = CFrame.new(pos) * CFrame.Angles(0,(math.pi*2)*math.random(),(math.pi*2)*math.random()) * CFrame.new(0.05,0,0) 
p.Transparency = 0.2 
local mesh = Instance.new("SpecialMesh",p) 
mesh.MeshType = "Sphere" 
mesh.Scale = Vector3.new(5,2,2) 
end 
table.insert(SnowSplosionEffects,spmdl) 
end 
----------------------------------

---- value setup ---------

local pose = Instance.new("IntValue", script) 
pose.Name = "pose" 
pose.Value = 0 
local invoke = Instance.new("IntValue", script) 
invoke.Name = "invoke" 
invoke.Value = 0 
local snowballs = Instance.new("IntValue", script) 
snowballs.Name = "snowballs" 
snowballs.Value = 8 
local Main = Instance.new("ObjectValue", script) 
Main.Name = "Main" 

for i, v in pairs(char:GetChildren()) do 
if v.Name == "health" and v.className == "NumberValue" then 
v:Destroy() 
end 
end 
local health = Instance.new("NumberValue", char) 
health.Name = "health" 
health.Value = 100 
health.Changed:connect(function() 
if health.Value <= 0 then 
char:BreakJoints() 
end 
end) 

snowballs.Changed:connect(function() 
snowballs.Value = snowballs.Value > 8 and 8 or snowballs.Value 
snowballs.Value = snowballs.Value < 0 and 0 or snowballs.Value 
local percentage = snowballs.Value/8 
SnowPart.Mesh.Scale = Vector3.new(0.71,0.6*percentage,0.71) *5 
SnowPart.Weld.C0 = CFrame.new(0,-0.08 - (0.3*(1-percentage)),0) 
SnowPart.Transparency = percentage == 0 and 1 or 0 
end) 

player.Chatted:connect(function(msg) 
if string.sub(msg:lower(),1,5) == "pose/" then 
pose.Value = tonumber(string.sub(msg,6)) 
elseif string.sub(msg:lower(),1,7) == "invoke/" then 
invoke.Value = tonumber(string.sub(msg,8)) 
elseif msg == "replenish" then 
snowballs.Value = 8 
end 
end) 

------ designs -------------
function Build() 
for i, v in pairs(char:children()) do 
if v.Name == "Mozzarella" then 
v:Destroy() 
end
end
local m = Instance.new("Model", script) 
m.Name = "Mozzarella" 

local b = P:Clone() 
b.Parent = m 
b.Name = "Bag" 
b.BrickColor = BrickColor.new("Lime green") 
b.Transparency = 1 
local mesh = Instance.new("SpecialMesh",b) 
mesh.MeshType = "Brick" 
mesh.Scale = Vector3.new(0.8,0.6,0.8) *5 
local w = Instance.new("Weld",b) 
w.Part0 = RL 
w.Part1 = b 
w.C0 = CFrame.new(0.82,0.5,0) 

for i = 1, 10 do 
local p = P:Clone() 
p.Parent = m 
p.Name = "BagPart" 
p.BrickColor = BrickColor.new("Dark orange") 
p.Material = "Fabric" 
local mesh = Instance.new("SpecialMesh",p) 
mesh.MeshType = "Brick" 
mesh.Scale = Vector3.new(0.1,0.4,0.26) *5 
local w = Instance.new("Weld",p) 
w.Part0 = b 
w.Part1 = p 
w.C1 = CFrame.new(0.35,0.004*(i%2),0) 
w.C0 = CFrame.new(0,0.1,0) * CFrame.Angles(0,math.pi*2/10*i,0) 

if i%2 == 0 then 
for j = 0, 6 do 
local mathi = math.sin(math.pi/2 + (math.pi/5*j)) 
local p = P:Clone() 
p.Parent = m 
p.Name = "BagPart" 
p.BrickColor = BrickColor.new("Dark orange") 
p.Material = "Fabric" 
local mesh = Instance.new("SpecialMesh",p) 
mesh.MeshType = "Brick" 
mesh.Scale = Vector3.new(0.1,0.22,0.26*mathi) *5 
local w = Instance.new("Weld",p) 
w.Part0 = b 
w.Part1 = p 
w.C1 = CFrame.new(0.35,0,0) 
w.C0 = CFrame.new(0,-0.2,0) * CFrame.Angles(0,math.pi*2/10*i,math.pi/6*j) 
end 
end 
end 

local s = P:Clone() 
s.Parent = m 
s.Name = "Snow" 
s.BrickColor = BrickColor.new("White") 
s.Transparency = 0 
s.Material = "Sand" 
local mesh = Instance.new("CylinderMesh",s) 
mesh.Scale = Vector3.new(0.71,0.6,0.71) *5 
local w = Instance.new("Weld",s) 
w.Part0 = b 
w.Part1 = s 
w.C0 = CFrame.new(0,-0.08,0) 
SnowPart = s 

end 
Build() 
--------------------------------


-------------- snowball power charge gui ----------------------------
function CreateGui() 
for i, v in pairs(Gui:GetChildren()) do 
if v.Name == "SnowballPower" then 
v:Destroy() 
end 
end 
local g = Instance.new("ScreenGui", Gui) 
g.Name = "SnowballPower" 
local f = Instance.new("Frame",g) 
f.Name = "Container" 
f.Size = UDim2.new(0,30,0,110) 
f.Position = UDim2.new(1,10,0.5,-55) 
f.Transparency = 0 
f.BackgroundColor3 = Color3.new(0.45,0.35,0.25)
f.BorderColor3 = Color3.new(0.55,0.45,0.35)
f.BorderSizePixel = 3 
f.Archivable = false 
f.ZIndex = 0 
SPC = f 
local b = Instance.new("Frame",f) 
b.Name = "Backing" 
b.Size = UDim2.new(0,20,0,100) 
b.Position = UDim2.new(0.5,-10,0.5,-50) 
b.BorderSizePixel = 0 
b.BackgroundColor3 = Color3.new(0.1,0.45,0.01) 
b.ZIndex = 1 
SPB = b 
local fr = b:Clone() 
fr.Parent = b 
fr.Size = UDim2.new(1,0,0.5,0) 
fr.Position = UDim2.new(0,0,0.5,0) 
fr.BackgroundColor3 = Color3.new(0.1,0.65,0.01) 
SPF = fr 

end 
CreateGui() 

-------------- limb setup ---------------
pcall(function() char.Animate:Destroy() end) 

SetWeld(RS,1,1,NV,NV,Vector3.new(1.5,0.5,0),NV) 
RS.C1 = CFrame.new(0,0.5,0) 

SetWeld(LS,1,1,NV,NV,Vector3.new(-1.5,0.5,0),NV) 
LS.C1 = CFrame.new(0,0.5,0) 

SetWeld(RH,1,1,NV,NV,Vector3.new(0.5,-1,0),NV) 
RH.C1 = CFrame.new(0,1,0) 

SetWeld(LH,1,1,NV,NV,Vector3.new(-0.5,-1,0),NV) 
LH.C1 = CFrame.new(0,1,0) 

SetWeld(N,1,1,NV,NV,Vector3.new(0,1,0),NV) 
N.C1 = CFrame.new(0,-0.5,0) 

SetWeld(HRJ,1,1,NV,NV,NV,NV) 
HRJ.C1 = CFrame.new(0,0,0) 

wait(1) 
RS.MaxVelocity = 0 
RS.CurrentAngle = 0 
RS.DesiredAngle = 0 
LS.MaxVelocity = 0 
LS.CurrentAngle = 0 
LS.DesiredAngle = 0 
RH.MaxVelocity = 0 
RH.CurrentAngle = 0 
RH.DesiredAngle = 0 
LH.MaxVelocity = 0 
LH.CurrentAngle = 0 
LH.DesiredAngle = 0 
N.MaxVelocity = 0 
N.CurrentAngle = 0 
N.DesiredAngle = 0 
HRJ.MaxVelocity = 0 
HRJ.CurrentAngle = 0 
HRJ.DesiredAngle = 0 

-----------------

----- value changed connections ---- 
Main.Changed:connect(function() 
if Main.Value ~= nil then 
main,maina = GetWeld(Main.Value) 
else 
main,maina = nil,nil 
end 
end) 

Hu.Changed:connect(function() 
if disableJump or DisableMovement then 
Hu.Jump = false 
end 
end) 

------- Keys & Mouse ---------------
function B1D() 
MouseDown = true 
if not Animating then 
script.invoke.Value = 1 
else 
while Animating do 
wait() 
end 
if MouseDown then 
script.invoke.Value = 1 
end 
end 
end 
function B1U() 
MouseDown = false 
end 
Mouse.Button1Down:connect(B1D) 
Mouse.Button1Up:connect(B1U) 

function KD(key) 
if key == "0" then 
Shift = true 
if pose.Value == 1 then 
pose.Value = 0 
disableJump = false 
end 
elseif key == "4" then 
Alt = true 
if not Animating and SlideCooldown == 0 then 
invoke.Value = 3 
else 
while Animating or SlideCooldown > 0 do 
wait() 
end 
if Alt then 
invoke.Value = 3 
end 
end 
elseif key == "2" then 
if not ThrowingSequence then 
if pose.Value == 0 then 
pose.Value = 1 
disableJump = true 
elseif pose.Value == 1 then 
pose.Value = 0 
disableJump = false 
end 
end 
elseif key == string.char(32) then 
Space = true 
if pose.Value == 1 then 
if not Animating then 
invoke.Value = 2 
else 
while Animating do 
wait() 
end 
if Space and pose.Value == 1 then 
invoke.Value = 2 
end 
end 
end 
end 
end 

function KU(key) 
if key == "0" then 
Shift = false 
elseif key == "4" then 
Alt = false 
elseif key == string.char(32) then 
Space = false 
end 
end 

Mouse.KeyDown:connect(KD) 
Mouse.KeyUp:connect(KU) 

local count1 = 0 
local angle = 0 
local slidecount = 1 
local slidecountmax = 1 
local countspeed = 0.5 
local cancella = false 
local cancelra = false 
local cancelrl = false 
local cancelll = false 
local canceln = false 
local cancelhrp = false 
local cancelmain = false 
local anim = 0 
local lastanim = -1 
local lastpose = 0 
local rs,rsa, ls,lsa, rh,rha, lh,lha, n,na, hrj,hrja, main,maina 
local ghitz,genz 
local prevvelocity = HRP.Velocity 

function UpdateWP(max,sped) 
max = max or 5 
sped = sped or AnimSpeeds[anim+1] 
rs,rsa = GetWeld(RS) 
ls,lsa = GetWeld(LS) 
rh,rha = GetWeld(RH) 
lh,lha = GetWeld(LH) 
n,na = GetWeld(N) 
hrj,hrja = GetWeld(HRJ) 
if Main.Value ~= nil then 
main,maina = GetWeld(Main.Value) 
end 
slidecount = 0 
slidecountmax = max 
countspeed = sped 
end 

UpdateWP() 
-------------- Invoke Animations -------------------------
function Throw() 
if not Animating and snowballs.Value > 0 then 
Animating = true 
ThrowingSequence = true 
pose.Value = 0 
disableJump = false 
----- sword slash ------
cancelra = true 
cancella = true 
cancelhrp = true 
canceln = true 
cancelmain = true 
local prevslidecount = slidecount 
UpdateWP(slidecountmax,countspeed) 
slidecount = prevslidecount 

local phase = 0 
local smdl = Instance.new("Model",char) 
smdl.Name = "SnowBall" 
local ball,weld 
for i = 1, 17 do 
if MouseDown then 
if i <= 7 then 
SetWeld(N,i,7,n,na,Vector3.new(0,1,0),Vector3.new(-0.3,-math.pi/8,0)) 
SetWeld(HRJ,i,7,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/20,0)) 
SetWeld(RS,i,7,rs,rsa,Vector3.new(1.5,0.26,0),Vector3.new(-0.2,0,-0.1)) 
SetWeld(LS,i,7,ls,lsa,Vector3.new(-1.5,0.525,-0.01),Vector3.new(-0.25,0,-0.12)) 
phase = 1 
if i == 7 then 
UpdateWP(slidecountmax,countspeed) 
ChangeValue(snowballs,"Increment",-1) 
ball = P:Clone() 
ball.Parent = smdl 
ball.BrickColor = BrickColor.new("White") 
ball.Material = "Sand" 
local mesh = Instance.new("SpecialMesh",ball) 
mesh.MeshType = "Sphere" 
mesh.Scale = Vector3.new(0.8,0.8,0.8) *5 
weld = Instance.new("Weld",ball) 
weld.Part0 = RA 
weld.Part1 = ball 
weld.C0 = CFrame.new(0,-1.3,0) 
end 
else 
SetWeld(N,i-7,10,n,na,Vector3.new(0,1,0),Vector3.new(0.03,math.pi/9,0)) 
SetWeld(HRJ,i-7,10,hrj,hrja,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/8,0)) 
SetWeld(RS,i-7,10,rs,rsa,Vector3.new(1.4,0.5,0),Vector3.new(math.pi*1.05,0,0.2)) 
SetWeld(LS,i-7,10,ls,lsa,Vector3.new(-1.3,0.42,-0.1),Vector3.new(math.pi/4,0,-math.pi/8)) 
if i == 9 then 
SPC.Archivable = true 
SPB.BackgroundColor3 = Color3.new(0.45,0.1,0.01) 
SPF.BackgroundColor3 = Color3.new(0.65,0.1,0.01) 
SPF.Size = UDim2.new(1,0,0,0) 
SPF.Position = UDim2.new(0,0,1,0) 
end 
phase = 2 
end 
wait(0.02) 
end 
end 
local rs2,rsa2 = GetWeld(RS) 
local ls2,lsa2 = GetWeld(LS) 
local n2,na2 = GetWeld(N) 
local hrj2,hrja2 = GetWeld(HRJ) 

local powercounter = 20 
local power = 0 
while MouseDown do 
powercounter = (powercounter%40) + 1 
power = 1 - math.sin(math.pi/40*powercounter) 
SPB.BackgroundColor3 = Color3.new((1-power)*0.35 +0.1,power*0.35 +0.1,0.01) 
SPF.BackgroundColor3 = Color3.new((1-power)*0.55 +0.1,power*0.55 +0.1,0.01) 
SPF.Size = UDim2.new(1,0,power,0) 
SPF.Position = UDim2.new(0,0,1-power,0) 
SetWeld(RS,power,1,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new(math.pi*1.17,0,0.3)) 
SetWeld(LS,power,1,ls2,lsa2,Vector3.new(-1.3,0.42,-0.16),Vector3.new(math.pi/2.45,0,-math.pi/5)) 
SetWeld(N,power,1,n2,na2,Vector3.new(0,1,0),Vector3.new(0.07,math.pi/8,-0.04)) 
SetWeld(HRJ,power,1,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,-math.pi/7,0)) 
phase = 3 
wait(0.02) 
end 
SPC.Archivable = false 
print("Phase:",phase) 
rs2,rsa2 = GetWeld(RS) 
ls2,lsa2 = GetWeld(LS) 
n2,na2 = GetWeld(N) 
hrj2,hrja2 = GetWeld(HRJ) 

if phase == 1 or phase == 2 then 
smdl:Destroy() 
ChangeValue(snowballs,"Increment",1) 
elseif phase == 3 then 
print("Throwing with "..string.sub(tostring(power*100),1,5).."% power!") 
local mousepos = mouse.Hit.p 
for i = 1, 8 do 
SetWeld(RS,i,8,rs2,rsa2,Vector3.new(1.4,0.6,0.05),Vector3.new((math.pi*0.6) -(1.8*power),0.18 - (0.65*power),0.3)) 
SetWeld(LS,i,8,ls2,lsa2,Vector3.new(-1.36,0.5,-0.06),Vector3.new((-math.pi/4) - (0.4*power),0.2,-math.pi/5)) 
SetWeld(N,i,8,n2,na2,Vector3.new(0,1,0),Vector3.new(-0.07,-math.pi/11 - (0.3*power),-0.04)) 
SetWeld(HRJ,i,8,hrj2,hrja2,Vector3.new(0,0,0.1),Vector3.new(0,(math.pi/10)+(0.3*power),0)) 
if i == 2 then 
weld:Destroy() 
ball.Anchored = true 
--- {part,gravity,currentgravity,direction,speed,power,counter,{parts},life}
local snowball = {ball,0.1 + 0.8*(0.96-power),1 - (0.95*power),(mousepos-ball.Position).unit,1.8 + (3*power),power,1,{},0} 
if power > 0.99 then
for i = 1, 20 do 
local p = P:Clone() 
p.Anchored = true 
p.BrickColor = BrickColor.new("Bright yellow") 
local mesh = Instance.new("SpecialMesh",p) 
mesh.MeshId = "rbxassetid://9756362" 
mesh.Scale = Vector3.new(0.32,0.32,0.32) 
table.insert(snowball[8],p) 
end 
end 
table.insert(SnowballProjectiles,snowball) 
end 
wait(0.02) 
end 
wait(0.02) 
else 
smdl:Destroy() 
end 

UpdateWP(slidecountmax,countspeed) 
cancelra = false 
cancella = false 
cancelhrp = false 
canceln = false 
cancelmain = false 

ThrowingSequence = false 
Animating = false 
elseif snowballs.Value <= 0 then 
print("No snow left!") 
-- alert saying you have no snow left in pouch
end 
end 

function DiveRoll() 
if not Animating then 
Animating = true 
DisableMovement = true 
cancelra = true 
cancella = true 
cancelhrp = true 
canceln = true 
cancelmain = true 
cancelll = true 
cancelrl = true 
local prevslidecount = slidecount 
UpdateWP(slidecountmax,countspeed) 
slidecount = prevslidecount 

local bv = Instance.new("BodyVelocity", HRP) 
bv.maxForce = Vector3.new(1/0,0,1/0) 
bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 28 
local bg = Instance.new("BodyGyro", HRP) 
bg.maxTorque = Vector3.new(1/0,1/0,1/0) 
bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)) 
bg.D = 100 
game:GetService("Debris"):AddItem(bv,2.5) 
game:GetService("Debris"):AddItem(bg,2.5) 

local connex = game:GetService("RunService").RenderStepped:connect(function() 
if HRP.Velocity.y > 0 then 
HRP.Velocity = NV 
end 
HRP.CanCollide = false 
end) 
local connex2 = game:GetService("RunService").Stepped:connect(function() 
local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0)) 
if Ghitz then 
HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0) 
end 
end) 

local animspd = 4 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/5,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,0.4,0),Vector3.new(-math.pi/2.6,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,0.2),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.2,0,-0.2),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.6,-0.1),Vector3.new(0.1,0,0.05),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.6,-0.1),Vector3.new(0.1,0,-0.05),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(math.pi/12,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-math.pi/1.5,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,0.2),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.6,-0.06),Vector3.new(math.pi/1.3,0,-0.2),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.1,0,0.05),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.1,0,-0.05),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/4,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1,0),Vector3.new(-math.pi*0.9,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,0.08),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.4,0,-0.08),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.3,-0.4),Vector3.new(-0.12,0,0.05),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.3,-0.4),Vector3.new(-0.12,0,-0.05),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
bv.velocity = bv.velocity * 0.9 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.5,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.25,0),Vector3.new(-math.pi*1.1,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,-0.1),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/1.8,0,0.1),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.2,-0.7),Vector3.new(-0.12,0,0.05),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.2,-0.7),Vector3.new(-0.12,0,-0.05),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,0.85,0),Vector3.new(-math.pi/3.7,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-2.3,0),Vector3.new(-math.pi*1.55,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,-0.23),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/2.4,0,0.23),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,0.1,-0.7),Vector3.new(-0.1,0,0.04),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,0.1,-0.7),Vector3.new(-0.1,0,-0.04),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
bv.velocity = bv.velocity * 0.7 
for i = 1, animspd do 
SetWeld(N,i,animspd,n,na,Vector3.new(0,1.05,0),Vector3.new(-0.4,0,0),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-1.6,0),Vector3.new(-math.pi*1.85,0,0),0) 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,-0.24),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.4,0.5,-0.06),Vector3.new(math.pi/3.2,0,0.24),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.5,-0.08,-0.6),Vector3.new(-0.22,0,0.04),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.5,-0.08,-0.6),Vector3.new(-0.22,0,-0.04),0) 
wait(0.02) 
end 
UpdateWP(slidecountmax,countspeed) 
bv.velocity = bv.velocity * 0.4 
for i = 1, animspd do 
SetWeld(RS,i,animspd,rs,rsa,Vector3.new(1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),-0.22,0.446 + (angle*0.016)),0) 
SetWeld(LS,i,animspd,ls,lsa,Vector3.new(-1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),0.22,-0.446 - (angle*0.016)),0) 
SetWeld(RH,i,animspd,rh,rha,Vector3.new(0.7,-0.18 - (cangle*0.04),-0.2 - (angle*0.01)),Vector3.new(0.2 - (angle*0.12),-math.pi/5,0.12 - (angle*0.06)),0) 
SetWeld(LH,i,animspd,lh,lha,Vector3.new(-0.38,-0.32 + (cangle*0.04),-0.45 + (angle*0.01)),Vector3.new(-0.1 + (angle*0.15),-math.pi/5,-0.07 + (angle*0.07)),0) 
SetWeld(N,i,animspd,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5 - (angle*0.01),0.1),0) 
SetWeld(HRJ,i,animspd,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new((-math.pi*2) -0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01),0) 
wait(0.02) 
end 

SetWeld(HRJ,1,1,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01)) 
bv:Destroy() 
bg:Destroy() 
connex:disconnect() 
connex2:disconnect() 

UpdateWP() 
cancelra = false 
cancella = false 
cancelhrp = false 
canceln = false 
cancelmain = false 
cancelll = false 
cancelrl = false 
Animating = false 
DisableMovement = false 
end 
end 

function Slide() 
if not Animating and Shift and pose.Value == 0 and SlideCooldown == 0 and Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 18 then 
Animating = true 
DisableMovement = true 
cancelra = true 
cancella = true 
cancelhrp = true 
canceln = true 
cancelmain = true 
cancelll = true 
cancelrl = true 
local prevslidecount = slidecount 
UpdateWP(slidecountmax,countspeed) 
slidecount = prevslidecount 

local bv = Instance.new("BodyVelocity", HRP) 
bv.maxForce = Vector3.new(1/0,0,1/0) 
bv.velocity = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)).lookVector * 30 
local bg = Instance.new("BodyGyro", HRP) 
bg.maxTorque = Vector3.new(1/0,1/0,1/0) 
bg.cframe = CFrame.new(NV,Vector3.new(HRP.CFrame.lookVector.x,0,HRP.CFrame.lookVector.z)) 
bg.D = 100 
game:GetService("Debris"):AddItem(bv,5.5) 
game:GetService("Debris"):AddItem(bg,5.5) 

local connex = game:GetService("RunService").RenderStepped:connect(function() 
if HRP.Velocity.y > 0 then 
HRP.Velocity = NV 
end 
HRP.CanCollide = false 
end) 

local animspd = 8 
local animcount = 1 
local bvaccel = 1 
local bvvelo = bv.velocity 
local lasttorpos = HRP.Position 
local tickcount = 0 
local cancelslide = false 
local torsoangle = 0 
while not cancelslide and  bvaccel > 0.16 do 
tickcount = tickcount+1 
lasttorpos = HRP.Position 
animcount = (animcount < animspd and animcount+1) or animspd 
local n2,na2 = GetWeld(N) 
local hrj2,hrja2 = GetWeld(HRJ) 
local rs2,rsa2 = GetWeld(RS) 
local ls2,lsa2 = GetWeld(LS) 
local rh2,rha2 = GetWeld(RH) 
local lh2,lha2 = GetWeld(LH) 
SetWeld(N,1,4,n2,na2,Vector3.new(0,1.08,-0.1),Vector3.new(-math.pi/4.3,-0.12,-0.08)) 
SetWeld(HRJ,1,4,hrj2,hrja2,Vector3.new(0,-2.1,0),Vector3.new((math.pi/2.6)+torsoangle,0.12 + (angle*0.008),0)) 
SetWeld(RS,1,4,rs2,rsa2,Vector3.new(1.4,0.6,-0.02),Vector3.new(-math.pi/1.8,-(angle*0.01),0.2 - (angle*0.009))) 
SetWeld(LS,1,4,ls2,lsa2,Vector3.new(-1.3,0.6,-0.16),Vector3.new(-math.pi/1.8,-(angle*0.01),-0.6 - (angle*0.009))) 
SetWeld(RH,1,4,rh2,rha2,Vector3.new(0.5,-0.8,0),Vector3.new(0.22,-0.06 - (angle*0.01),0.05)) 
SetWeld(LH,1,4,lh2,lha2,Vector3.new(-0.5,-0.35,-0.45),Vector3.new(-0.25,-0.12 - (angle*0.01),-0.03)) 
bv.velocity = bvvelo * bvaccel 
wait(0.02) 
local torsoatan = (CFrame.new(lasttorpos) * (HRP.CFrame-HRP.Position)):pointToObjectSpace(HRP.Position) 
torsoangle = math.atan2(torsoatan.y,-torsoatan.z) 
local Ghitz,Genz = RAY(HRP.Position,Vector3.new(0,-3.1,0)) 
if Ghitz then 
HRP.CFrame = (HRP.CFrame - HRP.Position) + Genz + Vector3.new(0,3,0) 
end 
if (lasttorpos.y - HRP.Position.y) < -0.1 then 
bvaccel = bvaccel - 0.045 
elseif (lasttorpos.y - HRP.Position.y) > 0.08 then 
bvaccel = bvaccel - 0.006 
if Ghitz then 
bvaccel = bvaccel + ((lasttorpos.y - HRP.Position.y) /2.5) 
end 
else 
bvaccel = bvaccel - 0.017 
end 
bvaccel = bvaccel > 1.02 and 1.02 or bvaccel 
local chitz,cenz = RAY(Torsoz.Position,Vector3.new(0,2.5,0)) 
local stationary = false 
if tickcount > 5 then 
stationary = (Vector3.new(lasttorpos.x,0,lasttorpos.z) - Vector3.new(HRP.Position.x,0,HRP.Position.z)).magnitude < 0.15 
end 
if bvaccel < 0.16 or (chitz == nil and not Alt) or stationary then 
cancelslide = true 
end 
end 

SlideCooldown = 14 
bv:Destroy() 
bg:Destroy() 
connex:disconnect() 

UpdateWP(slidecountmax,countspeed) 
cancelra = false 
cancella = false 
cancelhrp = false 
canceln = false 
cancelmain = false 
cancelll = false 
cancelrl = false 
Animating = false 
DisableMovement = false 
end 
end 

invokelist = {} 
invokelist[1] = Throw 
invokelist[2] = DiveRoll 
invokelist[3] = Slide 
invoke.Changed:connect(function() 
if invoke.Value ~= 0 then 
local valu = invoke.Value 
invoke.Value = 0 
if invokelist[valu] ~= nil then 
invokelist[valu]() 
end 
end 
end) 

-------------- Animation Tween Funcs ----------------------
function Idle() 
if script.pose.Value == 0 then 
----- regular --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.1 + (angle*0.027),0,0.046 - (angle*0.021))) 
end
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.1 + (angle*0.027),0,-0.046 + (angle*0.021))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-0.05 + (angle*0.018),0,0.01 - (angle*0.005))) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(-0.05 + (angle*0.018),0,-0.01 + (angle*0.005))) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.04 + (-angle*0.02),0,0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.016 + (-angle*0.009),0,0)) 
end 

elseif script.pose.Value == 1 then 
----- crouch --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.35,0.66 - (angle*0.012),0.12),Vector3.new(-0.1 + (angle*0.015),-0.22,0.446 - (angle*0.016))) 
end
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.35,0.66 - (angle*0.012),0.12),Vector3.new(-0.1 + (angle*0.015),0.22,-0.446 + (angle*0.016))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.55,-1.05,-0.47 - (angle*0.006)),Vector3.new(-math.pi/2.2 + (angle*0.005),-math.pi/15,0.01 + (angle*0.005))) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,0.3,-0.55),Vector3.new(0.3 + (angle*0.01),-math.pi/12,0.08 + (angle*0.005))) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5,0.1)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-1.4,0),Vector3.new(-0.16 + (-angle*0.007),math.pi/5,0)) 
end 

elseif script.pose.Value == 2 then 

end 
end 

function Walking() 
if script.pose.Value == 0 then 
----- regular --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(angle*0.2,0,-math.abs(angle*0.02))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-angle*0.2,0,math.abs(angle*0.02))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1,0),Vector3.new(-angle*0.17,0,math.abs(angle*0.005))) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1,0),Vector3.new(angle*0.17,0,-math.abs(angle*0.005))) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.015 ,-angle*0.01,0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.015 - math.abs((angle*0.02)),angle*0.01,0)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 1 then 
----- crouch --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),-0.22,0.446 + (angle*0.016))) 
end
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.35,0.66 + (angle*0.012),0.12),Vector3.new(0.2 + (angle*0.02),0.22,-0.446 - (angle*0.016))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.7,-0.18 - (cangle*0.04),-0.2 - (angle*0.01)),Vector3.new(0.2 - (angle*0.12),-math.pi/5,0.12 - (angle*0.06))) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.38,-0.32 + (cangle*0.04),-0.45 + (angle*0.01)),Vector3.new(-0.1 + (angle*0.15),-math.pi/5,-0.07 + (angle*0.07))) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.12 + (angle*0.004),-math.pi/5 - (angle*0.01),0.1)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,-0.7,0),Vector3.new(-0.24 + (-angle*0.008),math.pi/5 + (angle*0.01),angle*0.01)) 
end 

elseif script.pose.Value == 2 then 

end 
end 

function Running() 
if script.pose.Value == 0 then 
----- regular --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5 - math.abs(angle*0.035),0.5 - math.abs(angle*0.02),0),Vector3.new(0.16 + (angle*0.42),0,-math.abs(angle*0.07))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5 + math.abs(angle*0.035),0.5 - math.abs(angle*0.02),0),Vector3.new(0.16 + (-angle*0.42),0,math.abs(angle*0.07))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-1 + math.abs(angle*0.05),0),Vector3.new(-angle*0.3,0,math.abs(angle*0.005))) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-1 + math.abs(angle*0.05),0),Vector3.new(angle*0.3,0,-math.abs(angle*0.005))) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.07 + math.abs(-angle*0.02),-angle*0.03,0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.14 - math.abs(-angle*0.04),angle*0.035,NV)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 1 then 

elseif script.pose.Value == 2 then 

end 
end 


function Jumping() 
if script.pose.Value == 0 then 
----- regular --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.02),0,0)) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.02),0,0)) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(0.2 + (angle*0.002),angle*0.02,0)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 1 then 
----- crouch --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(-0.16,0,0.3 + (angle*0.012))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(-0.16,0,-0.3 - (angle*0.012))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.7,-0.8,-0.05),Vector3.new(-0.28 + (angle*0.001),-math.pi/6,-0.2)) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.3,-0.45,-0.55),Vector3.new(-0.4 - (angle*0.001),-math.pi/6,-0.2)) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.07 + (angle*0.002),math.pi/5 + (angle*0.02),0)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 2 then 

end 
end 

function Falling() 
if script.pose.Value == 0 then 
----- regular --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.5,0),Vector3.new(math.pi*1.1,0,-0.08 + (angle*0.012))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.5,0),Vector3.new(math.pi*1.1,0,0.08 - (angle*0.012))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.5,-0.45,-0.55),Vector3.new(-0.4 + (angle*0.02),0,0)) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.5,-0.8,-0.05),Vector3.new(-0.28 - (angle*0.02),0,0)) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-angle*0.01,0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.2 + (angle*0.002),angle*0.02,0)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 1 then 
----- crouch --------
if not cancelra then 
SetWeld(RS,slidecount,slidecountmax,rs,rsa,Vector3.new(1.5,0.65,0),Vector3.new(-0.1,0,0.3 + (angle*0.012))) 
end 
if not cancella then 
SetWeld(LS,slidecount,slidecountmax,ls,lsa,Vector3.new(-1.5,0.65,0),Vector3.new(-0.1,0,-0.3 - (angle*0.012))) 
end 
if not cancelrl then 
SetWeld(RH,slidecount,slidecountmax,rh,rha,Vector3.new(0.8,-0.1,-0.25),Vector3.new(-0.28 + (angle*0.001),-math.pi/6,-0.2)) 
end 
if not cancelll then 
SetWeld(LH,slidecount,slidecountmax,lh,lha,Vector3.new(-0.3,-0.8,-0.55),Vector3.new(-0.4 - (angle*0.001),-math.pi/6,-0.2)) 
end 
if not canceln then 
SetWeld(N,slidecount,slidecountmax,n,na,Vector3.new(0,1,0),Vector3.new(0.1,-math.pi/5 - (angle*0.01),0)) 
end 
if not cancelhrp then 
SetWeld(HRJ,slidecount,slidecountmax,hrj,hrja,Vector3.new(0,0,0),Vector3.new(-0.07 + (angle*0.002),math.pi/5 + (angle*0.02),0)) 
end 
if not cancelmain and Main.Value ~= nil and main ~= nil and maina ~= nil then 
SetWeld(Main.Value,slidecount,slidecountmax,main,maina,Vector3.new(0,-1,0),NV) 
end 

elseif script.pose.Value == 2 then 

end 
end 

game:GetService("RunService").Stepped:connect(function() 
count1 = (count1%100) + countspeed 
angle = math.pi * math.sin(math.pi*2/100*count1) 
cangle = math.pi * math.cos(math.pi*2/100*count1) 

------------- snowball power gui movement ------------------
if SPC.Archivable == true then 
SPCP = SPCP ~= 14 and SPCP+1 or 14 
else 
SPCP = SPCP ~= 0 and SPCP-1 or 0 
end 
if SPC ~= nil then 
local perc = math.sin((math.pi/2/14)*SPCP) 
SPC.Position = UDim2.new(1,10 - (50*perc),0.5,-55) 
if SPCP > 0 then 
SPC.Visible = true 
else 
SPC.Visible = false 
end
end 

------------- walkspeed changes -------------------------
if DisableMovement then 
Walkspeed = 0 
Hu.WalkSpeed = Walkspeed 
else 
if Shift and pose.Value ~= 1 then 
Walkspeed = 25 
Hu.WalkSpeed = Walkspeed 
else 
Walkspeed = 16 
if pose.Value == 1 then 
Hu.WalkSpeed = Walkspeed/2 
else 
Hu.WalkSpeed = Walkspeed 
end 
end 
end 

-------- animation slide count and pose smoothener --------------------
slidecount = (slidecount < slidecountmax and slidecount+1) or slidecountmax 
SlideCooldown = (SlideCooldown > 0 and SlideCooldown-1) or 0 

if script.pose.Value ~= lastpose then 
UpdateWP() 
end 

--------- animation conditions -------------------

local ghitz, genz = RAY(Torsoz.Position,Vector3.new(0,-5.2,0)) 

if ghitz == nil and Torsoz.Velocity.y > 1 then 
----- jumping -----
anim = 3 
if anim ~= lastanim then 
UpdateWP(7) 
end 
Jumping() 
elseif ghitz == nil and Torsoz.Velocity.y < -1 then 
----- falling ------
anim = 4 
if anim ~= lastanim then 
UpdateWP(7) 
end 
Falling() 
elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 2 then 
---- idle ---------
anim = 0 
if anim ~= lastanim then 
UpdateWP(6) 
end 
Idle() 

elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude < 17 then 
---- walking -------
anim = 1 
if anim ~= lastanim then 
UpdateWP(7) 
end 
Walking() 

elseif Vector3.new(Torsoz.Velocity.x,0,Torsoz.Velocity.z).magnitude >= 17 then 
----- running -----
anim = 2 
if anim ~= lastanim then 
UpdateWP(5) 
end 
Running() 

------------
end 

--------- breakfall roll --------
if ghitz ~= nil and prevvelocity.y < -110 then 
invoke.Value = 2 
end 

--------- snowball projectile movement --------
for i, v in pairs(SnowballProjectiles) do 
local oldpos = v[1].Position 
v[1].CFrame = v[1].CFrame + (v[4]*v[5]) + Vector3.new(0,v[3],0) 
local raydist = (v[1].Position-oldpos).unit*((oldpos-v[1].Position).magnitude+0.5)
local hitz,enz = RAY(v[1].Position,raydist) 

v[3] = v[3] - 0.35*v[2] 
v[9] = v[9] +1

if #v[8] > 0 then 
v[8][v[7]].Parent = v[1].Parent 
v[8][v[7]].Transparency = 0.5 - (0.3 * math.random()) 
v[8][v[7]].Mesh.Scale = Vector3.new(0.45,0.45,0.45) - (Vector3.new(0.3,0.3,0.3) * math.random()) 
v[8][v[7]].CFrame = CFrame.new(oldpos,v[1].Position) * CFrame.Angles(0,0,(math.pi*2)/(math.random(1,100)/100)) * CFrame.new(math.random(1,10)/20,0,0) 
v[7] = (v[7]%#v[8]) +1 
for j,vv in pairs(v[8]) do 
vv.CFrame = vv.CFrame * CFrame.new(0.05,0,0) * CFrame.Angles(0,-0.1,-0.085) 
end 
end 

if hitz ~= nil or v[9] >= 200 then 
if hitz ~= nil then 
SnowballHit(hitz,enz,v[6]) 
end 
v[1].Parent:Destroy() 
print("Removed Snowball#",i) 
table.remove(SnowballProjectiles,i) 
end 

end 

------ snowball splosion effects -----
for i, v in pairs(SnowSplosionEffects) do 
for j,vv in pairs(v:GetChildren()) do 
vv.CFrame = vv.CFrame * CFrame.new(0.3,0,0) 
vv.Transparency = vv.Transparency + 0.12 
vv.Mesh.Scale = vv.Mesh.Scale + Vector3.new(0.3,-0.1,-0.1) 
end 
if v:FindFirstChild("Effect").Transparency > 0.9 then 
v:Destroy() 
table.remove(SnowSplosionEffects,i) 
end 
end 

lastpose = script.pose.Value 
lastanim = anim 
prevvelocity = HRP.Velocity 
end)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Staff"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Staff"
	button.TextColor3 = whit
	 	button.MouseButton1Down:connect(function()
	require(14133158808):Fire(lPlayer.Name, "Staff")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Techno Gauntlet"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.48,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Techno Gauntlet"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()	
require(13823370157):Fire(lPlayer.Name, "techno")
	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Wand"
	button.Position = UDim2.new(0,0,0,231)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Wand"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
		tool = Instance.new("Tool") 

player = lPlayer
char = player.Character 
tool = Instance.new("Tool") 
tool.Parent = player.Backpack 
tool.RequiresHandle = false
tool.CanBeDropped = false

tool.Name = "Wand" 

spin = false
toolisselected = false

landc = "Earth green"
firec = "Bright red"
icec = "Light blue"
windc = "Institutional white"
helthc = "Lime green"
elec = "New Yeller"

norm = 18

handle = Instance.new("Part") 
handle.Parent = game.Lighting 
handle.Name = "Handle" 
handle.FormFactor = "Symmetric" 
handle.Size = Vector3.new(1,4,1) 
handle.TopSurface = 0 
handle.BottomSurface = 0 
handle.BrickColor = BrickColor.new("Black") 
handle.Anchored = false 
handle.Position = char["Right Arm"].Position 
handle.CanCollide = false
handle.Locked = true
handle2 = Instance.new("Part") 
handle2.Parent = game.Lighting 
handle2.Name = "Handle2" 
handle2.Shape = "Ball"
handle2.Size = Vector3.new(1,1,1) 
handle2.TopSurface = 0 
handle2.BottomSurface = 0 
handle2.BrickColor = BrickColor.new("Bright red") 
handle2.Anchored = false 
handle2.Position = char["Right Arm"].Position 
handle2.Transparency = 0.1
handle2.CanCollide = false
handle2.Locked = true

handle3 = Instance.new("Part") 
handle3.Parent = game.Lighting 
handle3.Name = "Handle2" 
handle3.Shape = "Ball"
handle3.Size = Vector3.new(1,1,1) 
handle3.TopSurface = 0 
handle3.BottomSurface = 0 
handle3.BrickColor = BrickColor.new("Black") 
handle3.Anchored = false 
handle3.Position = char["Right Arm"].Position 
handle3.CanCollide = false
handle3.Locked = true
local m = Instance.new("CylinderMesh") 
m.Parent = handle 
m.Scale = Vector3.new(0.42,1,0.42) 
local m2 = Instance.new("SpecialMesh") 
m2.Parent = handle2 
m2.MeshType = "Sphere"
m2.Scale = Vector3.new(0.8,0.8,0.8) 
local m3 = Instance.new("SpecialMesh") 
m3.Parent = handle3 
m3.MeshType = "FileMesh"
m3.MeshId = "http://www.roblox.com/asset/?id=1033714"
m3.Scale = Vector3.new(0.4,0.85,0.4) 
brick1 = Instance.new("Part")
brick1.Parent = char
brick1.formFactor = "Symmetric"
brick1.Size = Vector3.new(1,1,1)
brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
brick1.Shape = "Ball"
brick1.CanCollide = false
brick1.Transparency = 1
brick1.Locked = true
mesh1 = Instance.new("SpecialMesh")
mesh1.Parent = brick1
mesh1.MeshType = "Sphere"
mesh1.Scale = Vector3.new(1.4,1.4,1.4)
brick2 = Instance.new("Part")
brick2.Parent = game.Lighting
brick2.formFactor = "Symmetric"
brick2.Size = Vector3.new(1,1,1)
brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
brick2.Shape = "Ball"
brick2.CanCollide = false
brick2.Transparency = 1
brick2.BrickColor = handle2.BrickColor
brick2.Locked = true
mesh2 = Instance.new("SpecialMesh")
mesh2.Parent = brick2
mesh2.MeshType = "Sphere"
mesh2.Scale = Vector3.new(0.5,0.5,0.5)
brick3 = Instance.new("Part")
brick3.Parent = game.Lighting
brick3.formFactor = "Symmetric"
brick3.Size = Vector3.new(1,1,1)
brick3.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
brick3.Shape = "Ball"
brick3.CanCollide = false
brick3.Transparency = 1
brick3.BrickColor = handle2.BrickColor
brick3.Locked = true
mesh3 = Instance.new("SpecialMesh")
mesh3.Parent = brick3
mesh3.MeshType = "Sphere"
mesh3.Scale = Vector3.new(0.5,0.5,0.5)
wads = Instance.new("Weld")
wads.Parent = char.Torso
wads.Part0 = wads.Parent
wads.Part1 = brick1
wads.C1 = CFrame.new(-1.5,-0.5,0)
wads2 = Instance.new("Weld")
wads2.Parent = handle2
wads2.Part0 = wads2.Parent
wads2.Part1 = brick2
wads2.C1 = CFrame.new(1,0,0)
wads3 = Instance.new("Weld")
wads3.Parent = handle2
wads3.Part0 = wads2.Parent
wads3.Part1 = brick2
wads3.C1 = CFrame.new(-1,0,0)

wa = Instance.new("Weld")
wa.Parent = brick1
wa.Part0 = nil
wa.Part1 = nil

weld = Instance.new("Weld")

toha = Instance.new("Weld")
toha.Parent = char.Torso
toha.Part0 = nil
toha.Part1 = nil
toha.C1 = CFrame.fromEulerAnglesXYZ(0,0,-2.5) * CFrame.new(0,0,-0.7)

original = CFrame.fromEulerAnglesXYZ(-1.55,0,0) * CFrame.new(0,0,0.6)
weporigin = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5)

myhum = char.Humanoid
myhum.WalkSpeed = norm

enabled = false
hol = false

function select(key)
	toolisselected = true
	wa.Part0 = wa.Parent
	wa.Part1 = char["Right Arm"]
	wa.C1 = original
	weld.Parent = char["Right Arm"] 
	weld.Part0 = nil
	weld.Part1 = nil
	weld.C1 = weporigin 
	handle.Parent = char 
	handle2.Parent = char
	handle3.Parent = char
	for i = 1, 8 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
		wait()
	end
	for i = 1, 4 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
		wait()
	end
	toha.Part0 = nil
	toha.Part1 = nil
	weld.Part0 = weld.Parent 
	weld.Part1 = handle 
	for i = 1, 4 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0)
		wait()
	end
	for i = 1, 8 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.35,0,0)
		wait()
	end
	wa.C1 = original
	spin = true
	brick2.Transparency = 0.3
	brick2.Parent = char
	brick3.Transparency = 0.3
	brick3.Parent = char
	weld2 = Instance.new("Weld") 
	weld2.Parent = handle 
	weld2.Part0 = weld2.Parent 
	weld2.Part1 = handle2 
	weld2.C1 = CFrame.new(0, 0, 2.1) 
	weld3 = Instance.new("Weld") 
	weld3.Parent = handle 
	weld3.Part0 = weld3.Parent 
	weld3.Part1 = handle3 
	weld3.C1 = CFrame.new(0, 0, 1.4) 
	weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 1.1, 0.5) 
	weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, -2.1, 0) 
	weld3.C1 = CFrame.fromEulerAnglesXYZ(3.2,0,0) * CFrame.new(0, -1.5, 0) 
	coroutine.resume(coroutine.create(function()
		while spin == true do
			for i=1, 20 do
				wait()
				handle2.Transparency = handle2.Transparency + 0.025
			end
			for i=1, 20 do
				wait()
				handle2.Transparency = handle2.Transparency - 0.025
			end
		end
	end))
	coroutine.resume(coroutine.create(function()
		while spin == true do
			wait()
			wads2.C1 = wads2.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
			wads3.C1 = wads3.C1 * CFrame.fromEulerAnglesXYZ(0,0.15,0)
			local fade = brick2:clone()
			fade.Parent = char
			fade.CFrame = brick2.CFrame
			local weld = wads2:clone()
			weld.Parent = handle2
			weld.Part0 = weld.Parent
			weld.Part1 = fade
			local fade2 = brick3:clone()
			fade2.Parent = char
			fade2.CFrame = brick3.CFrame
			local weld2 = wads3:clone()
			weld2.Parent = handle2
			weld2.Part0 = weld2.Parent
			weld2.Part1 = fade2
			coroutine.resume(coroutine.create(function()
				for i=1, 8 do
					wait()
					fade.Transparency = fade.Transparency + 0.12
					fade2.Transparency = fade2.Transparency + 0.12
				end
				fade:remove()
				fade2:remove()
			end))
		end
	end))
	enabled = false
	Mouse.KeyDown:connect(function(key) 
	if toolisselected == true then
		key = key:lower() 
		if (key == "k") then 
			if enabled == true then return end
			enabled = true
			hol = true
			for i=1, 6 do
			wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,0.1,0)
			wait()
			end
			handle2.BrickColor = BrickColor.new(landc)
			brick2.BrickColor = handle2.BrickColor
			brick3.BrickColor = handle2.BrickColor
			while hol == true do
			wait(0.05)
			local ki = Instance.new("Part")
			ki.Parent = workspace
			ki.Name = "Landmon"
			ki.Size = Vector3.new(1,1,1)
			ki.BrickColor = handle2.BrickColor
			ki.TopSurface = 0
			ki.BottomSurface = 0
			ki.CanCollide = false
			ki.Anchored = true
			ki.CFrame = CFrame.new(mouse.Hit.p)
			ki.CFrame = ki.CFrame * CFrame.new(0, -4, 0)
			local mef = Instance.new("SpecialMesh")
			mef.Parent = ki
			mef.MeshType = "Sphere"
			mef.Scale = Vector3.new(9,16,9)
			coroutine.resume(coroutine.create(function()
				for i=1, 5 do
					wait()
					wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.12,0)
				end
				for i=1, 5 do
					wait()
					wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.12,0)
				end
			end))
			coroutine.resume(coroutine.create(function()
				for i=1, 25 do
					wait()
					ki.CFrame = ki.CFrame * CFrame.new(0, 0.3, 0)
				end
				loo = ki.CFrame
				ki.CanCollide = true
				mef.Scale = Vector3.new(1,1,1)
				ki.Size = Vector3.new(9,16,9)
				ki.CFrame = loo
				wait(7)
				for i=1, 20 do
					wait()
					ki.Transparency = ki.Transparency + 0.05
				end
				ki:remove()
			end))
			end
		elseif (key == "f") then
			if enabled == true then return end
			enabled = true
			pof = mouse.Hit.p
			local part = Instance.new("Part")
			local fire = Instance.new("Fire")
			fire.Parent = part
			fire.Heat = 30
			fire.Size = 40
			local smoke = Instance.new("Smoke")
			smoke.Parent = part
			smoke.RiseVelocity = 2
			smoke.Size = 20
			smoke.Color = Color3.new(0,0,0)
			smoke.Opacity = 1
			local par = Instance.new("Part")
			par.Parent = workspace
			par.Size = Vector3.new(9,1,1)
			par.Transparency = 0
			par.Anchored = true
			par.TopSurface = 0
			par.BottomSurface = 0
			par.BrickColor = BrickColor.new(firec)
			par.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
			par.CFrame = par.CFrame * CFrame.Angles(0,0.8,0)
			par.CanCollide = false
			local mes = Instance.new("SpecialMesh")
			mes.Parent = par
			mes.MeshType = "Brick"
			mes.Scale = Vector3.new(1,1,1)
			local pa = par:clone()
			pa.Parent = workspace
			pa.CFrame = CFrame.new(pof) * CFrame.new(0,-0.498,0)
			pa.CFrame = pa.CFrame * CFrame.Angles(0,-0.8,0)
			handle2.BrickColor = BrickColor.new(firec)
			brick2.BrickColor = handle2.BrickColor
			brick3.BrickColor = handle2.BrickColor
			for i=1, 10 do
				wait(0.03)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0.05,0)
			end
			for i=1, 4 do
			for i=1, 3 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.05,0.1)
			end
			for i=1, 3 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.03,0.05,-0.1)
			end
			end
			for i=1, 7 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.1,-0.1)
			end
			wait(0.6)
			for i=1, 10 do
				wait(0.02)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.1,-0.05,0.3)
				par.Transparency = par.Transparency + 0.1
				pa.Transparency = pa.Transparency + 0.1
				mes.Scale = mes.Scale + Vector3.new(0.1,0,0.05)
				pa.Mesh.Scale = pa.Mesh.Scale + Vector3.new(0.1,0,0.05)
			end
			wait(0.1)
			pa:remove()
			par:remove()
			part.Parent = workspace
			part.Size = Vector3.new(3,3,3)
			part.Anchored = true
			part.CFrame = CFrame.new(pof) 
			part.CFrame = part.CFrame * CFrame.Angles(1.2,0,0)
			part.Transparency = 1
			coroutine.resume(coroutine.create(function()
				for i=1, 100 do
					wait()
					part.CFrame = part.CFrame * CFrame.Angles(0,0,0.4)
				end
			end))
			local explode = Instance.new("Explosion")
			explode.Parent = char
			explode.BlastRadius = 11
			explode.BlastPressure = 400000
			explode.Position = part.Position
			explode.archivable = false
			wait(0.3)
			wa.C1 = original
			wait(0.7)
			fire.Enabled = false
			smoke.Enabled = false
			wait(0.2)
			part:remove()
			wait(1)
			enabled = false
		elseif (key == "q") then
			if enabled == true then return end
			enabled = true
			handle2.BrickColor = BrickColor.new(windc)
			brick2.BrickColor = handle2.BrickColor
			brick3.BrickColor = handle2.BrickColor
			for i=1, 8 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.18)
			end
			for i=1, 2 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.15,0)
			end
			wait(0.3)
			for i=1, 2 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
			end
			local p = Instance.new("Part")
			p.Parent = workspace
			p.Name = "Sword"
			p.Size = Vector3.new(1,4,1)
			p.BottomSurface = 0
			p.TopSurface = 0
			p.Anchored = false
			p.CanCollide = false
			p.CFrame = handle.CFrame
			p.CFrame = p.CFrame * CFrame.Angles(0,0,1.55)
			p:BreakJoints()
			local mt = Instance.new("SpecialMesh")
			mt.Parent = p
			mt.MeshType = "FileMesh"
			mt.MeshId = "http://www.roblox.com/asset/?id=12768042"
			mt.TextureId = "http://www.roblox.com/asset/?id=21262906"
			local bv = Instance.new("BodyVelocity")
			bv.Parent = p
			bv.velocity = char.Torso.CFrame.lookVector * 45
			local bva = Instance.new("BodyAngularVelocity")
			bva.Parent = p
			bva.angularvelocity = Vector3.new(0,14,0)
			p.Touched:connect(function(hit)
				if hit.Parent.Name == player.Name then return end
				local hum = hit.Parent:findFirstChild("Humanoid")
				if hum ~= nil then
					local hed = hit.Parent:findFirstChild("Head")
					if hed ~= nil then
						for i=1, 5 do
							wait()
							hed.Parent.Torso.Neck.C1 = hed.Parent.Torso.Neck.C1 * CFrame.new(0, 0, -0.9)
						end
						hum.Health = 0
						wait(0.05)
						hed.Velocity = Vector3.new(math.random(-30,30),40,math.random(-30,30))
						hed.RotVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
					end
					hum.Health = 0
				end
			end)
			local spi = true
			coroutine.resume(coroutine.create(function()
				while spi == true do
					local fad = p:clone()
					fad.Parent = workspace
					fad.BrickColor = BrickColor.new(windc)
					fad.Transparency = 0.2
					fad.Mesh.TextureId = "Clear"
					fad.Anchored = true
					coroutine.resume(coroutine.create(function()
						for i=1, 8 do
							wait()
							fad.Transparency = fad.Transparency + 0.1
						end
						fad:remove()
					end))
					wait()
				end
			end))
			for i=1, 4 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.3,0)
			end
			wait(0.3)
			for i=1, 7 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,-0.2,0.3)
			end
			wa.C1 = original
			wait(0.3)
			enabled = false
			wait(1.2)
			spi = false
			wait()
			p:remove()
		elseif (key == "e") then
			if enabled == true then return end
			enabled = true
			myhum.WalkSpeed = 0
			handle2.BrickColor = BrickColor.new(helthc)
			brick2.BrickColor = handle2.BrickColor
			brick3.BrickColor = handle2.BrickColor
			hol = true
			for i=1, 6 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.13,0,0)
				weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.1)
			end
			wait(0.5)
			for i=1, 3 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.4,0,0)
				weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.23)
			end
			local pf = Instance.new("Part")
			pf.Parent = workspace
			pf.Name = "Healthbump"
			pf.Size = Vector3.new(7,1,7)
			pf.BottomSurface = 0
			pf.TopSurface = 0
			pf.Anchored = true
			pf.CanCollide = false
			pf.CFrame = char.Torso.CFrame * CFrame.new(0,-2.8, 0)
			pf.Transparency = 0.3
			pf.BrickColor = handle2.BrickColor
			local meg = Instance.new("CylinderMesh")
			meg.Parent = pf
			meg.Scale = Vector3.new(0.6,0.8,0.6)
			hecols = {"Bright green", "Lime green", "Dark green", "Camo"}
			coroutine.resume(coroutine.create(function()
				for i=1, 50 do
					wait()
					pf.Transparency = pf.Transparency + 0.02
					meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
				end
			end))
			while hol == true do
				wait(0)
				myhum.Health = myhum.Health + 0.5
				local chanc = math.random(1,20)
				if chanc == 8 then
					coroutine.resume(coroutine.create(function()
						pf.Transparency = 0.3
						meg.Scale = Vector3.new(0.6,0.8,0.6)
						for i=1, 50 do
							wait()
							pf.Transparency = pf.Transparency + 0.02
							meg.Scale = meg.Scale + Vector3.new(0.045,0,0.045)
						end
					end))
				end
				local hp = Instance.new("Part")
				hp.Parent = workspace
				hp.formFactor = "Symmetric"
				local randsiz = math.random(1,2)
				local col = math.random(1,4)
				hp.Size = Vector3.new(randsiz,randsiz,randsiz)
				hp.BrickColor = BrickColor.new(hecols[col])
				hp.TopSurface = 0
				hp.BottomSurface = 0
				hp.Transparency = 0.1
				hp.CFrame = char.Torso.CFrame * CFrame.new(math.random(-5,5),-3,math.random(-5,5))
				hp.CFrame = hp.CFrame * CFrame.Angles(math.random(),math.random(),math.random())
				hp.CanCollide = false
				hp.Anchored = false
				hp:BreakJoints()
				local mf = Instance.new("SpecialMesh")
				mf.MeshType = "Brick"
				mf.Parent = hp
				mf.Scale = Vector3.new(0.65,0.65,0.65)
				local bv = Instance.new("BodyVelocity")
				bv.Parent = hp
				bv.velocity = Vector3.new(0,10,0)
				coroutine.resume(coroutine.create(function()
					wait(0.9)
					for i=1, 9 do
						hp.Transparency = hp.Transparency + 0.1
						wait()
					end
					hp:remove()
				end))
			end
		elseif (key == "r") then
			if enabled == true then return end
			enabled = true
			myhum.WalkSpeed = 0
			handle2.BrickColor = BrickColor.new(elec)
			brick2.BrickColor = handle2.BrickColor
			brick3.BrickColor = handle2.BrickColor
			cols = {"Neon orange", "New Yeller", "Bright yellow", "Bright orange"}
			for i=1, 6 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.11,0,0)
			end
			wait(0.35)
			tab = {}
			for i=1, 50 do
			for i=1, 20 do
				local a = Instance.new("Part")
				a.Parent = workspace
				a.formFactor = "Symmetric"
				a.Size = Vector3.new(4,1,1)
				a.TopSurface = 0
				a.BottomSurface = 0
				local numb = math.random(1,4)
				a.BrickColor = BrickColor.new(cols[numb])
				a.Anchored = true
				a.CanCollide = false
				a.Transparency = 0.3
				local mo = Instance.new("SpecialMesh")
				mo.Parent = a
				mo.MeshType = "Brick"
				mo.Scale = Vector3.new(1,0.2,0.2)
				a.CFrame = handle2.CFrame
				a.CFrame = a.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(2,0,0)
				table.insert(tab, a)
			end
			wait()
			for _, v in pairs(tab) do
				v:remove()
			end
			end
			for i=1, 7 do
				wait(0.01)
				wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0.17,0.1,0)
			end
			coroutine.resume(coroutine.create(function()
			for i=1, 10 do
				wait(0.2)
				local h = Instance.new("Part")
				h.Parent = workspace
				h.Shape = "Ball"
				h.Size = Vector3.new(3,3,3)
				h.TopSurface = 0
				h.BottomSurface = 0
				local numb = math.random(1,4)
				h.BrickColor = BrickColor.new(cols[numb])
				h.Anchored = true
				h.CanCollide = false
				h.Transparency = 0.5
				h.CFrame = handle2.CFrame
				local function magn(hif)
					if hif.Parent.Name == player.Name then return end
					local dist = (char.Torso.Position - hif.Position).magnitude
					if dist >= 10 then
						print(dist)
						local hum = hif.Parent:findFirstChild("Humanoid")
						if hum ~= nil then
							hum.Health = 0
						end
					end
				end
				coroutine.resume(coroutine.create(function()
					for i=1, 30 do
						wait()
						magn(char.Torso)
					end
				end))
				coroutine.resume(coroutine.create(function()
					for i=1, 30 do
						wait(0.04)
						h.Size = h.Size + Vector3.new(2,2,2)
						h.Transparency = h.Transparency + 0.023
						h.CFrame = handle2.CFrame
					end
					h:remove()
				end))
			end
			end))
			for i=1, 19 do
			for i=1, 30 do
				local f = Instance.new("Part")
				f.Parent = workspace
				f.formFactor = "Symmetric"
				f.Size = Vector3.new(25,1,1)
				f.TopSurface = 0
				f.BottomSurface = 0
				local numb = math.random(1,4)
				f.BrickColor = BrickColor.new(cols[numb])
				f.Anchored = true
				f.CanCollide = false
				f.Transparency = 0.3
				local mo = Instance.new("SpecialMesh")
				mo.Parent = f
				mo.MeshType = "Brick"
				mo.Scale = Vector3.new(1,math.random(0.8,1.7),math.random(0.8,1.7))
				f.CFrame = handle2.CFrame
				f.CFrame = f.CFrame * CFrame.Angles(math.random(-3.2,3.2),math.random(-3.2,3.2),math.random(-3.2,3.2)) * CFrame.new(12.5,0,0)
				table.insert(tab, f)
			end
			wait(0.1)
			for _, v in pairs(tab) do
				v:remove()
			end
			end
			myhum.WalkSpeed = norm
			enabled = false
		end
elseif toolisselected == false then
end
	end) 
	Mouse.KeyUp:connect(function(key) 
	if toolisselected == true then
		key = key:lower() 
		if (key == "k") then 
			hol = false
			for i=1, 6 do
			wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.1,0)
			wait()
			end
			wa.C1 = original
			enabled = false
			wait(0.3)
			wa.C1 = original
		elseif (key == "e") then
			hol = false
			for i=1, 6 do
			wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.1,-0.02,0)
			weld.C1 = weld.C1 * CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.24)
			wait()
			end
			myhum.WalkSpeed = norm
			for i=1, 5 do
				wait(0.15)
				wa.C1 = original
				weld.C1 = weporigin
			end
			enabled = false
		end
	elseif toolisselected == false then
end
	end)
	Mouse.Button1Down:connect(function()
	if toolisselected == true then
		e = char.Torso
		wait(0.2)
		e.CFrame = CFrame.new(Mouse.Hit.p) * CFrame.new(0,2.5,0)
elseif toolisselected == false then
end
	end)
end 

function deselect() 
toolisselected = false
	spin = false
	for i = 1, 8 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
		wait()
	end
	for i = 1, 4 do
		wa.C1 = wa.C1 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
		wait()
	end
	toha.Part0 = toha.Parent
	toha.Part1 = handle
	weld.Part0 = nil
	weld.Part1 = nil
	wait()
	wa.Part0 = nil
	wa.Part1 = nil
end 


tool.Equipped:connect(select) 
tool.Unequipped:connect(deselect) 

	end)
--
local button = Instance.new("TextButton")
	button.Parent = ws
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "xBow"
	button.Position = UDim2.new(0.5,3,0,231)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "xBow"
	button.TextColor3 = whit
	button.TextWrapped = true
	 	button.MouseButton1Down:connect(function()
	me = lPlayer
char = me.Character
Selected = false
Able = true
Arrow = nil
ArrowOn = false
Hurt = false
Deb = true
Reloading = false
Shooting = false
Slashing = false
necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) 
EffectOn = false
Accuracy = 1
SelAnim = false
DMG = 123452323
LapaCol = "Brown"
HandCol = "Brown"
MiddleCol = "Brown"
ViiniCol = "Brown"
Icon = "http://www.roblox.com/asset/?id=51902588"
Keys = {
e = false,
}
ModelName = "Epic Bow"
CA = CFrame.Angles
CN = CFrame.new
MR = math.rad
MP = math.pi
MRA = math.random
MH = math.huge
UD = UDim2.new
C3 = Color3.new
MaximumPower = 1000000000
MaxSpecial = 100000
Special = MaxSpecial
Sounds = {
Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1},
Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1},
Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1},
Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1},
Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1},
}
function RC(Pos, Dir, Max, Ignore)
return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
end
function RayC(Start, En, MaxDist, Ignore)
return RC(Start, (En - Start), MaxDist, Ignore)
end
function DetectSurface(pos, part)
local surface = nil
local pospos = part.CFrame
local pos2 = pospos:pointToObjectSpace(pos)
local siz = part.Size
local shaep = part.Shape
if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then
surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
else
if pos2.Y > ((siz.Y/2)-0.04) then
surface = {"Top", CA(0, 0, 0)}
elseif pos2.Y < -((siz.Y/2)-0.04) then
surface = {"Bottom", CA(-MP, 0, 0)}
elseif pos2.X > ((siz.X/2)-0.04) then
surface = {"Right", CA(0, 0, MR(-90))}
elseif pos2.X < -((siz.X/2)-0.04) then
surface = {"Left", CA(0, 0, MR(90))}
elseif pos2.Z > ((siz.Z/2)-0.04) then
surface = {"Back", CA(MR(90), 0, 0)}
elseif pos2.Z < -((siz.Z/2)-0.04) then
surface = {"Front", CA(MR(-90), 0, 0)}
end
end
return surface
end
function Compute(pos1, pos2)
local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
return CN(pos1, pos3)
end
function Notime(func, tiem)
if tiem then wait(tiem) end
coroutine.resume(coroutine.create(function() func() end))
end
function waitChild(p, n)
local child = p:findFirstChild(n)
if child then return child end
while true do
child = p.ChildAdded:wait()
if child.Name == n then return child end
end
end
function getHumanoid(c)
for _,v in pairs(c:children()) do
if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end
end
end
function SE(part, pos)
EffectOn = true
local lastP = (part.CFrame * pos).p
Notime(function()
while EffectOn do
wait()
local posnow = (part.CFrame * pos).p
local eff = Part(workspace, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
local magn = (lastP - posnow).magnitude
local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0)
local mes2 = Instance.new("SpecialMesh",eff)
mes2.Scale = Vector3.new(0.6, magn, 0.6)
eff.CFrame = cf * CN(0, magn/2, 0)
Notime(function()
for i = 0, 1, 0.1 do
wait()
eff.Transparency = i
eff.Reflectance = 0.15*i
mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
end
eff:remove()
end)
lastP = posnow
end
end)
end
function EE()
EffectOn = false
end
torso = waitChild(char, "Torso")
Rarm = waitChild(char, "Right Arm")
Larm = waitChild(char, "Left Arm")
Rleg = waitChild(char, "Right Leg")
Lleg = waitChild(char, "Left Leg")
Hum = waitChild(char, "Humanoid")
neck = waitChild(torso, "Neck")
function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto)
obj.Size = size
obj.Position = position
obj.BackgroundColor3 = bgcolor
obj.BorderColor3 = bordercolor
obj.BackgroundTransparency = transparency
if obj:IsA("TextLabel") or obj:IsA("TextButton") then
obj.Text = text
obj.TextColor3 = textcolor
end
if obj:IsA("ImageButton") or obj:IsA("TextButton") then
obj.AutoButtonColor = auto
obj.MouseButton1Down:connect(function()
RemoveOptions()
end)
end
obj.Parent = parent
end
Gui = waitChild(me, "PlayerGui")
for _,v in pairs(Gui:children()) do
if v.Name == "Power" then v:remove() end
end
Sc = Instance.new("ScreenGui", Gui)
Sc.Name = "Power"
Main = Instance.new("TextLabel")
Main.Visible = false
EditGui(Main, Sc, UD(0, 200, 0, 65), UD(0.5, -100, 0, 120), C3(0.06, 0.06, 0.1), C3(), 0.5, "Power", C3(1, 1, 0))
Main.TextYAlignment = "Top"
Main.FontSize = "Size36"
Main.Font = "ArialBold"
Main.TextTransparency = 0.5
BarBack = Instance.new("Frame")
EditGui(BarBack, Main, UD(1, -10, 0, 25), UD(0, 5, 1, -30), C3(0, 0, 0), C3(), 0.5)
Bar = Instance.new("ImageLabel")
EditGui(Bar, BarBack, UD(0, 0, 1, 0), UD(0, 0, 0, 0), C3(1, 0.7, 0), C3(), 0.5)
Bar.Image = "http://www.roblox.com/asset/?id=48965808"
Spec = Instance.new("Frame")
EditGui(Spec, Sc, UD(0, 250, 0, 22), UD(0.04, 0, 0, 5), C3(1, 0.75, 0.1), C3(), 0)
SpecialBack = Instance.new("Frame")
EditGui(SpecialBack, Spec, UD(1, -10, 1, -6), UD(0, 5, 0, 3), C3(0.35, 0.1, 0.15), C3(), 0)
SpecialBar = Instance.new("ImageLabel")
EditGui(SpecialBar, SpecialBack, UD(Special/MaxSpecial, 0, 1, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0.2), C3(), 0)
SpecialBar.Image = "http://www.roblox.com/asset/?id=48965808"
for i = 1, 3, 1 do
local p = Instance.new("Frame")
EditGui(p, SpecialBack, UD(0, 1, 1, 0), UD(i/4, 0, 0, 0), C3(0.1, 0.2, 1), C3(), 0)
p.BorderSizePixel = 0
end
SpecialText = Instance.new("TextLabel")
EditGui(SpecialText, SpecialBack, UD(1, 0, 1, 0), UD(0, 0, 0, 0), C3(), C3(), 1, "S P E C I A L", C3(1,1,1))
SpecialText.Font = "ArialBold"
SpecialText.FontSize = "Size14"
function Play(Sound)
local s = Instance.new("Sound")
s.SoundId = Sound[1]
s.Pitch = Sound[2]
s.Volume = Sound[3]
s.Parent = torso
s.PlayOnRemove = true
game.Debris:AddItem(s, 0.0001)
end
RSH = waitChild(torso, "Right Shoulder")
LSH = waitChild(torso, "Left Shoulder")
RH = waitChild(torso, "Right Hip")
LH = waitChild(torso, "Left Hip")
for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end
function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
local p = Instance.new("Part")
p.TopSurface = 0
p.BottomSurface = 0
p.Transparency = Tran
p.Reflectance = Ref
p.CanCollide = Coll
p.Anchored = Anch
p.BrickColor = BrickColor.new(Col)
p.formFactor = "Custom"
p.Size = Vector3.new(X,Y,Z)
p.Parent = P
p.Locked = true
p:BreakJoints()
return p
end
function Weld(P0, P1, X, Y, Z, A, B, C)
local w = Instance.new("Weld")
w.Part0 = P0
w.Part1 = P1
w.C1 = CN(X, Y, Z) * CA(A, B, C)
w.Parent = P0
return w
end
Mo = Instance.new("Model")
Mo.Name = ModelName
FTorso = Part(Mo, false, false, 1, 0, torso.BrickColor.Name, torso.Size.X, torso.Size.Y, torso.Size.Z)
FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0)
RABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
LABrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
RLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
LLBrick = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
function Atch(p)
RABW.Part0 = p
LABW.Part0 = p
RLBW.Part0 = p
LLBW.Part0 = p
RSH.Part0 = p
LSH.Part0 = p
RH.Part0 = p
LH.Part0 = p
end
RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
HB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0)
HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0)
AB = Part(Mo, false, false, 1, 0, "Really black", 0.1, 0.1, 0.1)
ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0)
AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0)
TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0)
Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6)
Instance.new("SpecialMesh",Handle)
TW.Part1 = Handle
for i = -0.6, 0.61, 1.2 do
local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1)
Weld(Handle, p, 0, i, 0.15, 0, 0, 0)
Instance.new("BlockMesh", p)
end
local UpPoint, DownPoint
for i = -10, 95, 15 do
local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0)
Instance.new("BlockMesh", p)
UpPoint = p
end
for i = 10, -95, -15 do
local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2)
local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0)
w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0)
Instance.new("BlockMesh", p)
DownPoint = p
end
StringUp = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
StringDown = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
SUM = Instance.new("SpecialMesh", StringUp)
SDM = Instance.new("SpecialMesh", StringDown)
SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0)
ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0)
SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0)
SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0)
SUW.C0 = CN(0, 0.15, 0)
SDW.C0 = CN(0, -0.15, 0)
SUW.C1 = ORSU
SDW.C1 = ORSD
Arrow = Part(Mo, false, false, 1, 0, "Really black", 0.4, 0.4, 4.4)
local mesh = Instance.new("SpecialMesh",Arrow)
mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
mesh.Scale = Vector3.new(1, 1, 2.1)
AW.Part1 = Arrow
Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2)
RingM = Instance.new("SpecialMesh", Ring)
RingM.MeshId = "http://www.roblox.com/asset/?id=3270017"
RingM.Scale = Vector3.new(0.6, 1, 21)
local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30))
www.C0 = CA(MR(-10), 0, 0)
Sp = Part(Mo, false, false, 0, 0, "Really black", 1, 0.2, 1)
local S = Instance.new("SpecialMesh",Sp)
S.MeshType = "Sphere"
S.Scale = Vector3.new(0.65, 1, 1.05)
Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0)
function makeArrow(pos, ang)
local arrow = Part(Mo, false, false, 0, 0, "Really black", 0.2, 1, 0.2)
local mesh = Instance.new("SpecialMesh",arrow)
mesh.MeshId = "http://www.roblox.com/asset/?id=15887356"
mesh.TextureId = "http://www.roblox.com/asset/?id=15886781"
mesh.Scale = Vector3.new(1, 1, 2.1)
Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang)
end
makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8)
makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4)
makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8)
makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2)
makeArrow(Vector3.new(0, 0.3, 0.6), 0.28)
makeArrow(Vector3.new(0, 0, 0.65), 0.34)
makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9)
makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9)
Mo.Parent = char
function Normal()
FTorso.Transparency = 1
FWeld.C0 = CN()
torso.Transparency = 0
LAW.C0 = CA(0, 0, MR(30))
RAW.Part1 = nil
RAW.C0 = CN()
RAW.C1 = CN(0, 0.5, 0)
LAW.C1 = CN(0, 0.5, 0)
LAW.Part1 = Larm
RABW.Part0 = torso
LABW.Part0 = torso
RLBW.Part0 = torso
LLBW.Part0 = torso
RSH.Part0 = torso
LSH.Part0 = torso
RH.Part0 = torso
LH.Part0 = torso
AW.C0 = CN()
HW.C0 = CA(MR(180), 0, MR(150))
SUW.C0 = CN(0, 0.15, 0)
SDW.C0 = CN(0, -0.15, 0)
SUW.C1 = ORSU
SDW.C1 = ORSD
SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
end
if script.Parent.className ~= "HopperBin" then
h = Instance.new("HopperBin", me.Backpack)
h.Name = "xBow"
script.Parent = h
end
bin = script.Parent
function ShowDmg(pos, dmg)
local col = "Bright red"
if dmg < 1 then
col = "Bright blue"
end
local m = Instance.new("Model")
m.Name = "Damage Dealt: "..dmg*1758384
local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8)
p.Name = "Head"
p.CFrame = CFrame.new(pos)
local bp = Instance.new("BodyPosition", p)
bp.position = pos + Vector3.new(0, 2.5, 0)
bp.P = 6500
bp.maxForce = Vector3.new(MH, MH, MH)
local h = Instance.new("Humanoid",m)
h.MaxHealth = 0
h.Health = 0
h.Name = "fffsaf"
m.Parent = workspace
game.Debris:AddItem(m, 1.5)
end
function Dmg(hum, dmg, pos)
if hum.Health > 0 then
hum.Health = hum.Health - dmg*1758384
ShowDmg(pos, dmg)
end
end
function ArrowT(hit)
local h = getHumanoid(hit.Parent)
if h and Deb and Hurt then
Deb = false
Dmg(h, MRA(3,15), Arrow.CFrame * CN(0, 0, 2.2).p)
end
end
Arrow.Touched:connect(ArrowT)
function SelectAnim()
LAW.Part1 = Larm
SelAnim = true
for i = 0.2, 1, 0.2 do
LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0)
wait()
end
HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180))
HW.Part1 = Handle
TW.Part1 = nil
for i = 0.08, 1, 0.08 do
LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0)
HW.C0 = CN(0.4-0.4*i, 0.3-0.3*i, 0) * CA(MR(110+70*i), MR(-20+20*i), MR(180-30*i))
wait()
end
SelAnim = false
HW.C0 = CA(MR(180), 0, MR(150))
end
function DeselectAnim()
for i = 0.12, 1, 0.12 do
LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0)
HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i))
if SelAnim or Selected then return end
wait()
end
HW.Part1 = nil
TW.Part1 = Handle
for i = 0.12, 1, 0.12 do
LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0)
if SelAnim or Selected then return end
wait()
end
if Selected == false and SelAnim == false then
LAW.Part1 = nil
end
end
function Slash()
RAW.Part1 = Rarm
Slashing = true
Play(Sounds.Slash)
for i = 0.15, 1, 0.15 do
RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i))
AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i)
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i))
AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i)
wait()
end
local blockk = false
local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char)
if hit ~= nil then
if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then
blockk = true
end
end
SE(Arrow, CN(0, 0, 2.2))
if blockk == false then
Hurt = true
Deb = true
for i = 0.2, 1, 0.2 do
RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0)
AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i)
wait()
end
EE()
Hurt = false
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0)
AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i)
wait()
end
for i = 0.25, 1, 0.25 do
RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0)
AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i)
wait()
end
for i = 0.25, 1, 0.25 do
RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i))
AW.C0 = CA(MR(50-50*i), 0, 0)
wait()
end
else
for i = 0.5, 1, 0.5 do
RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0)
AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i)
wait()
end
Play(Sounds.Block)
for i = 0.25, 1, 0.25 do
RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0)
AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1)
wait()
end
EE()
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0)
AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1)
wait()
end
for i = 0.18, 1, 0.18 do
RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0)
AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i)
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0)
AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i)
wait()
end
AW.C0 = CN()
end
Slashing = false
RAW.Part1 = nil
end
function Reload()
if ArrowOn == false then
RAW.Part1 = Rarm
Reloading = true
for i = 0.16, 1, 0.16 do
RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0)
wait()
end
AW.C0 = CA(0, MR(-90), 0)
AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0)
Arrow.Transparency = 0
ArrowOn = true
for i = 0.2, 1, 0.2 do
RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0)
AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0)
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0)
AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0)
wait()
end
for i = 0.18, 1, 0.18 do
RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0)
AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0)
AW.C0 = CA(0, MR(-90+80*i), 0)
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0)
AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0)
AW.C0 = CA(0, MR(-10+10*i), 0)
wait()
end
AW.C1 = CN()
AW.C0 = CN()
RAW.C0 = CN()
RAW.Part1 = nil
Reloading = false
else
Slash()
end
end
function AddDetail(Surface, pos, bool, part, hu)
local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2]
if Surface[1] == "Anything" then
caf = Surface[2]
end
Notime(function()
if bool then
Notime(function()
for i = 1, MRA(2,7) do
local x = MRA(0.4*100, 0.9*100)/100
local z = MRA(0.7*100, 1.2*100)/100
local pp = Part(hu.Parent, false, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
local ms = Instance.new("SpecialMesh",pp)
ms.MeshType = "Sphere"
ms.Scale = Vector3.new(x*5, 1, z*5)
pp.CFrame = caf
local w = Weld(part, pp, 0, 0, 0, 0, 0, 0)
local c0 = part.CFrame:toObjectSpace(caf) * CN(MRA(-0.3*100, 0.3*100)/100, 0, MRA(-0.3*100, 0.3*100)/100) * CA(0, MR(MRA(-180,180)), 0)
w.C0 = c0
Notime(function()
local moar = MRA(-1.1*1000, 1.1*1000)/1000
for i = 0, 1, MRA(0.02*1000, 0.06*1000)/1000 do
wait()
w.C0 = c0 * CN(0, 0, -moar*i)
ms.Scale = Vector3.new((x*5)-(moar/3)*i, 1, (z*5)+(moar/3)*i)
pp.Transparency = -0.5+1.5*i
end
pp:remove()
end)
end
end)
for i = 1, MRA(4,8) do
Notime(function()
local pp2 = Part(hu.Parent, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2)
pp2.CFrame = caf
local ms2 = Instance.new("SpecialMesh",pp2)
ms2.MeshType = "Sphere"
ms2.Scale = Vector3.new(1.5, 1.5, 1.5)
local face = CA(MR(MRA(-40, 40)+105), MR(MRA(-40, 40)), MR(MRA(-40, 40)))
local center = caf * face * CN(0, -5, 0)
Notime(function()
for i = 0, 1, 0.1 do
pp2.Transparency = -0.7+1.7*i
pp2.CFrame = center * CN(0, 0, -2.5*i) * CA(MR(-55*i), 0, 0) * CN(0, 5, 0)
wait()
end
pp2:remove()
end)
end)
end
else
Notime(function()
for i = 1, MRA(5,8) do
Notime(function()
local t = {"Bright yellow", "New Yeller", "Really black", "Institutional Really black", "Brick yellow"}
local pp = Part(workspace, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2)
local mes = Instance.new("SpecialMesh",pp)
mes.MeshType = "Sphere"
mes.Scale = Vector3.new(0.5, 0.5, 1)
local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180)))
pp.CFrame = caa
for i = 0.25, 1, 0.25 do
wait()
mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i)
pp.CFrame = caa * CN(0, 0, -0.4*i)
end
for i = 0.25, 1, 0.25 do
wait()
mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i)
pp.CFrame = caa * CN(0, 0, -0.6-0.32*i)
pp.Transparency = -0.2+1.2*i
end
pp:remove()
end)
end
end)
end
end)
end
function ShootArrow(pos, power, targ)
local Start = Handle.Position
local mag = (Start - pos).magnitude/200
if mag > 12.5 then mag = 12.5 end
if targ == nil then mag = 1 end
local Face = CN(Start, pos) * CA(MR(MRA(-Accuracy*10000, Accuracy*10000)/10000+mag), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000))
local Arr = Part(Mo, true, false, 0, 0, "Really black", 0.2, 0.2, 0.2)
local mes = Instance.new("SpecialMesh",Arr)
mes.MeshId = "http://www.roblox.com/asset/?id=15887356"
mes.TextureId = "http://www.roblox.com/asset/?id=15886781"
mes.Scale = Vector3.new(1, 1, 2.1)
Arr.CFrame = Face
local Go = 2.8+(power/30)
local Dist = 200+(power*2.8)
local Drop = 0.55/(Go*1.25)
local lastP = Start
local didhit = false
local omg = 0
local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char)
local hu2 = nil
if hit2 then
local hh = getHumanoid(hit2.Parent)
if hh then
hit2 = nil
end
end
for i = Go, Dist, Go do
Drop = Drop + 1/(Go*3.5)
omg = omg + Drop
local dropping = CA(MR(-Drop), 0, 0)
if omg > 130 then
dropping = CN()
end
Face = Face * dropping * CN(0, 0, -Go)
Arr.CFrame = Face * CA(MR(-180), 0, 0)
local hit, p = RayC(lastP, Face.p, Go+0.5, char)
local eff = Part(Mo, true, false, 0, 0, "Really black", 0.2, 1, 0.2)
local magn = (lastP - Face.p).magnitude
local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0)
if hit then
magn = (lastP - p).magnitude
cf = CN(lastP, p) * CA(MR(-90), 0, 0)
end
local mes2 = Instance.new("SpecialMesh",eff)
mes2.Scale = Vector3.new(0.6, magn, 0.6)
eff.CFrame = cf * CN(0, magn/2, 0)
Notime(function()
for i = 0, 1, 0.12 do
wait()
eff.Transparency = i
eff.Reflectance = 0.15*i
mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i)
end
eff:remove()
end)
local realhit = hit
if hit2 then realhit = hit2 p = pos2 end
if hit or hit2 then
local h = getHumanoid(realhit.Parent)
local sound = Sounds.Stick
if h and hit.Parent.className ~= "Hat" then
local d = MRA(12+DMG+(power/8), 20+DMG+(power/5.5))
hit:remove()
if hit.Name == "Head" then
d = math.floor(d*1.4)
hit:remove()
end
Dmg(h, d, p)
sound = Sounds.Hit
elseif h == nil and realhit.Parent.className ~= "Hat" then
if realhit.Anchored == false then
Notime(function()
wait(0.08)
local mas = realhit:GetMass()/5+2
local vel = (16+(power/3))/mas
if vel < 0 then vel = 0 end
realhit.Velocity = (CN(lastP, p).lookVector) * vel
end)
end
end
local a = -1.2
if realhit.Anchored then
Arr.CFrame = CN(p, lastP) * CN(0, 0, a)
if realhit == hit2 then
Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9)
end
else
a = (power-200)/110
local w8 = 13
if realhit.Parent.className == "Hat" then
a = ((power/2)-170)/110
w8 = 5
end
Arr.Anchored = false
local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0)
w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame))
if realhit == hit2 then
w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame))
end
Notime(function()
if power < 50 then
wait(w8+power/7.5)
local caa = Arr.CFrame
w:remove()
Arr.Size = Vector3.new(0.3, 0.3, 4)
Arr.CFrame = caa
Arr.CanCollide = true
end
end)
end
didhit = true
Notime(
function()
wait(26)
for i = 0, 1, 0.02 do
Arr.Transparency = i
wait()
end
Arr:remove()
end
)
Play(sound)
local Surface = DetectSurface(p, realhit)
AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h)
wait(0.05)
break
end
lastP = Face.p
wait()
end
if didhit == false then
for i = 0, 1, 0.2 do
Arr.Transparency = i
wait()
end
Arr:remove()
end
end
function Shoot(mouse)
Shooting = true
RAW.Part1 = Rarm
Atch(FTorso)
FTorso.Transparency = 0
torso.Transparency = 1
local shoot = false
Spec.BorderColor3 = C3()
local amg, omg = false, false
Notime(function()
repeat
wait()
until Selected == false or omg
if omg == false then
omg = true
Shooting = false
Reloading = false
Hurt = false
Slashing = false
Normal()
EE()
return
end
end)
Notime(function()
mouse.Button1Up:wait()
shoot = true
end)
for i = 0.16, 1, 0.16 do
FWeld.C0 = CA(0, MR(-80*i), 0)
LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
HW.C0 = CA(MR(180), 0, MR(150+60*i))
AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
wait()
end
for i = 0.33, 1, 0.33 do
FWeld.C0 = CA(0, MR(-80-10*i), 0)
LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
HW.C0 = CA(MR(180), 0, MR(210+5*i))
AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
wait()
end
LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1)
HW.C0 = CA(MR(180), 0, MR(215))
FWeld.C0 = CA(0, MR(-90), 0)
for i = 0.25, 1, 0.25 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
SUW.C1 = CN(0, -0.22*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C1 = CN(0, 0.25*i, 0) * ORSD
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
wait()
end
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
local powe = 10
Main.Visible = true
Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
Notime(function()
repeat wait() until powe >= MaximumPower or shoot
wait(6)
if shoot == false then
shoot = true
end
end)
repeat
wait()
powe = powe + 4.8
if powe > MaximumPower then powe = MaximumPower end
Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
Hum.WalkSpeed = sped
until shoot
Main.Visible = false
Notime(function()
for i = 0.5, 1, 0.5 do
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4)
SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
wait()
end
end)
local pos = mouse.Hit.p
ArrowOn = false
Arrow.Transparency = 1
Notime(function()
Play(Sounds.Shoot)
ShootArrow(pos, powe, mouse.Target)
end)
for i = 0.2, 1, 0.2 do
FWeld.C0 = CA(0, MR(-90+25*i), 0)
LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
HW.C0 = CA(MR(180), 0, MR(215-65*i))
wait()
end
Hum.WalkSpeed = 16
for i = 0.25, 1, 0.25 do
FWeld.C0 = CA(0, MR(-65+5*i), 0)
LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
HW.C0 = CA(MR(180), 0, MR(150))
wait()
end
for i = 0.14, 1, 0.14 do
FWeld.C0 = CA(0, MR(-60+55*i), 0)
LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
wait()
end
for i = 0.33, 1, 0.33 do
FWeld.C0 = CA(0, MR(-5+5*i), 0)
LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
wait()
end
AW.C0 = CN()
FWeld.C0 = CN()
LAW.C0 = CA(0, 0, MR(-30))
HW.C0 = CA(MR(180), 0, MR(150))
FTorso.Transparency = 1
torso.Transparency = 0
Atch(torso)
Shooting = false
RAW.Part1 = nil
RAW.C0 = CN()
Spec.BorderColor3 = C3()
omg = true
end
function SpecialAtk(mouse)
if Special < 50 then return end
Shooting = true
Spec.BorderColor3 = C3(0, 1, 0)
RAW.Part1 = Rarm
Atch(FTorso)
FTorso.Transparency = 0
torso.Transparency = 1
local amg, omg = false, false
Notime(function()
repeat
wait()
until Selected == false or omg
if omg == false then
omg = true
Shooting = false
Reloading = false
Hurt = false
Slashing = false
Normal()
EE()
return
end
end)
local shoot = false
Notime(function()
mouse.Button1Up:wait()
shoot = true
end)
for i = 0.2, 1, 0.2 do
FWeld.C0 = CA(0, MR(-80*i), 0)
LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i)
RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0)
HW.C0 = CA(MR(180), 0, MR(150+60*i))
AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i)
wait()
end
for i = 0.5, 1, 0.5 do
FWeld.C0 = CA(0, MR(-80-10*i), 0)
LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1)
RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0)
HW.C0 = CA(MR(180), 0, MR(210+5*i))
AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i)
wait()
end
LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0)
HW.C0 = CA(MR(180), 0, MR(215))
FWeld.C0 = CA(0, MR(-90), 0)
AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2)
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
SUW.C1 = CN(0, -0.22*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C1 = CN(0, 0.25*i, 0) * ORSD
wait()
end
for i = 0.5, 1, 0.5 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
wait()
end
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0)
local powe = 0
Main.Visible = true
Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
Notime(function()
repeat wait() until powe >= MaximumPower or shoot
if shoot == false then
shoot = true
end
end)
repeat
wait()
powe = powe + 5
if powe > MaximumPower then powe = MaximumPower end
Bar.Size = UD(powe/MaximumPower, 0, 1, 0)
local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end
Hum.WalkSpeed = sped
until shoot
Special = Special - 50
Main.Visible = false
local pos = mouse.Hit.p
Notime(function()
Play(Sounds.Shoot)
ShootArrow(pos, powe/1.2, mouse.Target)
end)
SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0)
SUW.C1 = CN(0, 0, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.4, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0)
SDM.Scale = Vector3.new(0.4, 2.4, 0.4)
SDW.C1 = CN(0, 0, 0) * ORSD
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0)
wait()
end
for i = 0.33, 1, 0.33 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0)
SUW.C1 = CN(0, -0.22*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4)
SDW.C1 = CN(0, 0.25*i, 0) * ORSD
wait()
end
for i = 0.5, 1, 0.5 do
RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0)
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0)
SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4)
SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD
wait()
end
Notime(function()
Arrow.Transparency = 1
ArrowOn = false
Play(Sounds.Shoot)
ShootArrow(pos, powe/1.2, mouse.Target)
end)
Notime(function()
for i = 0.5, 1, 0.5 do
SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0)
SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU
SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0)
SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4)
SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD
wait()
end
end)
for i = 0.25, 1, 0.25 do
FWeld.C0 = CA(0, MR(-90+25*i), 0)
LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i)
RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0)
HW.C0 = CA(MR(180), 0, MR(215-65*i))
wait()
end
Hum.WalkSpeed = 16
for i = 0.33, 1, 0.33 do
FWeld.C0 = CA(0, MR(-65+5*i), 0)
LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i))
RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0)
HW.C0 = CA(MR(180), 0, MR(150))
wait()
end
for i = 0.16, 1, 0.16 do
FWeld.C0 = CA(0, MR(-60+55*i), 0)
LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i))
RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0)
wait()
end
for i = 0.5, 1, 0.5 do
FWeld.C0 = CA(0, MR(-5+5*i), 0)
LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i))
RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i))
wait()
end
Spec.BorderColor3 = C3()
AW.C0 = CN()
FWeld.C0 = CN()
LAW.C0 = CA(0, 0, MR(-30))
HW.C0 = CA(MR(180), 0, MR(150))
FTorso.Transparency = 1
torso.Transparency = 0
Atch(torso)
Shooting = false
RAW.Part1 = nil
RAW.C0 = CN()
omg = false
end
function Sel(mouse)
mouse.Icon = Icon
SelectAnim()
Selected = true
mouse.KeyDown:connect(function(key)
key = key:lower()
if Reloading == false and Slashing == false and Shooting == false then
if key == "f" then
Reload()
end
end
if Shooting == false then
if key == "e" then
Keys.e = true
local k
Spec.BorderColor3 = C3(1, 1, 0.4)
repeat
wait()
k = mouse.KeyUp:wait()
until k == "e"
Keys.e = false
if Shooting == false then
Spec.BorderColor3 = C3()
end
end
end
end)
mouse.Button1Down:connect(function()
if Reloading == false and Slashing == false and Shooting == false then
if ArrowOn == false then
local yesh = true
Notime(function()
mouse.Button1Up:wait()
yesh = false
end)
local ah = Keys.e
Reload()
if yesh then
local mm = Special >= 50
if ah and mm or Keys.e and mm then
SpecialAtk(mouse)
else
Shoot(mouse)
end
end
else
local mm = Special >= 50
if Keys.e and mm then
SpecialAtk(mouse)
else
Shoot(mouse)
end
end
end
end)
end
function Desel(mouse)
Selected = false
Main.Visible = false
Hum.WalkSpeed = 16
DeselectAnim()
end
bin.Deselected:connect(Desel)
bin.Selected:connect(Sel)
while Mo.Parent == char do
wait()
Special = Special + 0.07
if Special > MaxSpecial then Special = MaxSpecial end 
SpecialBar.Size = UDim2.new(Special/MaxSpecial, 0, 1, 0)
end	
	end)
local title = Instance.new("TextLabel")
	title.Parent = gt
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Gear/Tools"
	title.TextColor3 = whit
local title = Instance.new("TextLabel")
	title.Parent = ws
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Weapon Scripts"
	title.TextColor3 = whit
-- Page 2 End --




-- Misc --
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Become Owner in Personal Server"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Become Owner [PS]"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		while lPlayer.PersonalServerRank<255 do
    game:GetService("PersonalServerService"):Promote(lPlayer)
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Disco Fog"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Disco Fog"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
basics = {Color3.new(255/255,0/255,0/255),Color3.new(255/255,85/255,0/255),Color3.new(218/255,218/255,0/255),Color3.new(0/255,190/255,0/255),Color3.new(0/255,85/255,255/255),Color3.new(0/255,0/255,127/255),Color3.new(170/255,0/255,255/255),Color3.new(0/255,204/255,204/255),Color3.new(255/255,85/255,127/255),Color3.new(0/255,0/255,0/255),Color3.new(255/255,255/255,255/255)}
game.Lighting.FogStart = 25
game.Lighting.FogEnd = 300
while true do
wait(0.5)
game.Lighting.FogColor = basics[math.random(1,#basics)]
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Fencing Restore"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Fencing Restore"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		--Fencing Restore script made by Yelock--
--Now restoring fencing Please wait ----------
--Censore
--mediafire
--hitler
--megaupload
--globe of geeks
--lego
--cheez
--chicken
--requires c>2
function X(ws)
for _, v in pairs(ws:GetChildren()) do
v.Archivable = true
if v.Name ~= "UClear" and v.Name ~= "Terrain" and game.Players:GetPlayerFromCharacter(v)==nil and v~=game.Workspace.CurrentCamera then
if v:IsA("Script") or v:IsA("LocalScript") then
v.Disabled = true
v:remove()
else
v:remove()
end
end
if game.Workspace:findFirstChild("Base") ~= nil then
else
local Base=Instance.new("Part",game.Workspace) 
Base.Name="Base" 
Base.Size=Vector3.new(1000,1,1000) 
Base.BrickColor=BrickColor.new("Earth green") 
Base.Anchored=true 
Base.Locked=true 
Base.TopSurface="Universal" 
Base.CFrame=CFrame.new(Vector3.new(0,0,0)) 
local Spawn=Instance.new("SpawnLocation",game.Workspace)
Spawn.Name="lol"
Spawn.Size=Vector3.new(6,1,6)
Spawn.Transparency=1
Spawn.CanCollide=false
Spawn.Anchored=true
Spawn.Locked=true
Spawn.CFrame=CFrame.new(Vector3.new(0,1,0))
end
end
end
X(game.Workspace)
X(game.Teams)
X(game.StarterGui)
wait()
game.Workspace:InsertContent("rbxassetid://118791953")
wait()
game.workspace.Base:Destroy()
wait()
game.workspace.lol:Destroy()
wait()
game.Lighting.Ambient = Color3.new(255,255,255)
game.Lighting.TimeOfDay = 12
game.Lighting.Brightness = 0.5
game.Lighting.FogEnd = 100000
game.Lighting.GlobalShadows = false
game.Lighting.Sky:Destroy()
game.Lighting.FogEnd = 100000
game.Lighting.Brightness = 1
game.Workspace.Terrain:clear()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Leaderstat Add"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Leaderstat Add"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		while true do
wait(.1)
lPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text).Value = lPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)+lPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)	
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Leaderstat Change"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Leaderstat Change"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
lPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Name"].TextBox.Text)lPlayer.leaderstats:FindFirstChild(frame.Settings.Page2["Leaderstat Amount"].TextBox.Text)	

	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Play Music"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Play Music"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		for i,v in pairs(game.Workspace:GetChildren()) do
if v.className == "Sound" then
v:Stop()
v:Remove()	
end	
end
s = Instance.new("Sound",Workspace)
s.SoundId = "rbxassetid://"..frame.Settings.Page1["Music ID"].TextBox.Text
s.Volume = 1
s.Looped = true
s.Pitch = frame.Settings.Page1["Music Pitch"].TextBox.Text
s:Play()
wait(.1)
s:Play()
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Restore Skybox"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Restore Skybox"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		for i,v in pairs(game.Lighting:GetChildren()) do
v:Remove()
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Steal Player Points"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Steal Player Points"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local service = game:GetService("PointsService")
service:AwardPoints(lPlayer.userId, service:GetAwardablePoints())
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 3
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = misc
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
	
-- Local Player --
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Anti-Robloxian"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Anti-Robloxian"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
 Player = lPlayer
while true do
local dist = 17
local distance = dist
if Player then
c = game.Players:GetChildren()
for i = 1, #c do
if c[i].Name ~= Player.Name then
if c[i]:DistanceFromCharacter(game.Players[Player.Name].Character.Torso.Position) <= distance then
c[i].Character:BreakJoints()
local c2 = c[i].Character:GetChildren()
for i2 =1, #c2 do
if c2[i2]:IsA("BasePart") then
Instance.new("Fire", c2[i2])
end end end end end end wait() end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Billboard Gui"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Billboard Gui"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		if lPlayer.Character.Head:FindFirstChild("BillboardGui") then
lPlayer.Character.Head:FindFirstChild("BillboardGui"):Remove()	
end
plr = lPlayer.Name
y = Instance.new("BillboardGui")
y.Size = UDim2.new(0,100,0,150)
y.StudsOffset = Vector3.new(0,1,0)
y.Parent = game.Players[plr].Character.Head
y.Adornee = game.Players[plr].Character.Head
f = Instance.new("TextLabel")
f.Parent = y
f.BackgroundTransparency = 1
f.Position = UDim2.new(0,0,0,-50)
f.Size = UDim2.new(0,100,0,100)
f.Font = "Arial"
f.FontSize = "Size48"
f.Text = frame.Settings.Page1["Billboard Gui Text"].TextBox.Text
f.TextStrokeColor3 = Color3.new(0,0,0)
f.TextColor3 = Color3.new(frame.Settings.Page2["Billboard Gui Color"].TextBox1.Text/255,frame.Settings.Page2["Billboard Gui Color"].TextBox2.Text/255,frame.Settings.Page2["Billboard Gui Color"].TextBox3.Text/255)
f.TextStrokeTransparency = 0
f.TextYAlignment = "Bottom"
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Change Name"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Change Name"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	local You = lPlayer.Name
local head = game.Players[You].Character.Head:Clone()
local model = Instance.new("Model",workspace)
local humanoid = Instance.new("Humanoid",model)
head.Parent = model
model.Name = frame.Settings.Page2["Name Box"].TextBox.Text
humanoid.MaxHealth = 0 
local w = Instance.new("Weld",model)
w.Part0,w.Part1 = game.Players[You].Character.Head,head	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Chicken Arms"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Chicken Arms"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local Chicken = lPlayer.Name
game.Players[Chicken].Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
game.Players[Chicken].Character.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, 0)
game.Players[Chicken].Character.Torso["Right Shoulder"].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
game.Players[Chicken].Character.Torso["Right Shoulder"].C1 = CFrame.new(0, 0.5, 0)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Disco Character"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Disco Character"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
while true do
wait(0.5)
ye = game.Players[lPlayer.Name].Character:GetChildren()
for i,v in pairs(ye) do
if v.className == "Part" then
v.BrickColor = BrickColor.new(presets[math.random(1,#presets)])
end
end
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Dominus Ghost"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Dominus Ghost"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		function nob(who,tra,hat)
c=who.Character
pcall(function()u=c["Body Colors"]
u.HeadColor=BrickColor.new("Black")
u.LeftLegColor=BrickColor.new("Black")
u.RightLegolor=BrickColor.new("Black")
u.LeftArmColor=BrickColor.new("Black")
u.TorsoColor=BrickColor.new("Black")
u.RightArmColor=BrickColor.new("Black")
end)
pcall(function()c.Shirt:Destroy() c.Pants:Destroy() end)
for i,v in pairs(c:GetChildren()) do
if v:IsA("BasePart") then
v.Transparency=tra
if v.Name=="HumanoidRootPart" or v.Name=="Head" then
v.Transparency=1
end
wait()
v.BrickColor=BrickColor.new("Black")
elseif v:IsA("Hat") then
v:Destroy()
end
end
xx=game:service("InsertService"):LoadAsset(hat)
xy=game:service("InsertService"):LoadAsset(47433)["LinkedSword"]
xy.Parent=who.Backpack
for a,hat in pairs(xx:children()) do
hat.Parent=c
end
xx:Destroy()
h=who.Character.Humanoid
h.MaxHealth=50000
wait(1.5)
h.Health=50000
h.WalkSpeed=32
end
nob(lPlayer,0.6,21070012)
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Floating Pad"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Floating Pad"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		local name = lPlayer.Name

local p = Instance.new("Part")
p.Parent = workspace
p.Locked = true
p.BrickColor = BrickColor.new("White")
p.BrickColor = BrickColor.new(104)
p.Size = Vector3.new(8, 1.2, 8)
p.Anchored = true
local m = Instance.new("CylinderMesh")
m.Scale = Vector3.new(1, 0.5, 1)
m.Parent = p
while true do
	p.CFrame = CFrame.new(game.Players:findFirstChild(name).Character.Torso.CFrame.x, game.Players:findFirstChild(name).Character.Torso.CFrame.y - 4, game.Players:findFirstChild(name).Character.Torso.CFrame.z)
	wait()
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Head Shake"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Head Shake"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		for X = 1, math.huge, 0.2 do 
wait() 
game.Players[lPlayer.Name].Character.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0) 
game.Players[lPlayer.Name].Character.Torso.Neck.C1 = CFrame.new(0,0,0) 
end 
for X = 1, math.huge, 0.1 do 
wait() 
game.Players[lPlayer.Name].Character.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) 
game.Players[lPlayer.Name].Character.Torso.Neck.C1 = CFrame.new(0,0,0) 
end 
for _,c in pairs(game.Players:GetChildren()) do
	c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
end
for _,c in pairs(game.Players:GetChildren()) do
	c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
end
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Heal"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Heal"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
lPlayer.Character.Humanoid.Health = lPlayer.Character.Humanoid.MaxHealth		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Mesh Disco"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Mesh Disco"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	plr = lPlayer.Name
meshes = {"Brick","Cylinder","Head","Sphere","Torso","Wedge"}
h = game.Players[plr].Character.Head.Mesh
t = Instance.new("SpecialMesh",game.Players[plr].Character.Torso)
la = Instance.new("SpecialMesh",game.Players[plr].Character["Left Arm"])
ra = Instance.new("SpecialMesh",game.Players[plr].Character["Right Arm"])
ll = Instance.new("SpecialMesh",game.Players[plr].Character["Left Leg"])
rl = Instance.new("SpecialMesh",game.Players[plr].Character["Right Leg"])
while true do
wait(0.1)
h.MeshType = meshes[math.random(1,#meshes)]
h.Parent.BrickColor = BrickColor.Random()
t.MeshType = meshes[math.random(1,#meshes)]
t.Parent.BrickColor = BrickColor.Random()
la.MeshType = meshes[math.random(1,#meshes)]
la.Parent.BrickColor = BrickColor.Random()
ra.MeshType = meshes[math.random(1,#meshes)]
ra.Parent.BrickColor = BrickColor.Random()
ll.MeshType = meshes[math.random(1,#meshes)]
ll.Parent.BrickColor = BrickColor.Random()
rl.MeshType = meshes[math.random(1,#meshes)]
rl.Parent.BrickColor = BrickColor.Random()
end	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Set Walkspeed"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Set Walkspeed"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	lPlayer.Character.Humanoid.WalkSpeed = frame.Settings.Page2["Walkspeed Amount"].TextBox.Text	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.48,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,231)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = localp
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,231)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		
	end)
local title = Instance.new("TextLabel")
	title.Parent = misc
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Misc."
	title.TextColor3 = whit
local title = Instance.new("TextLabel")
	title.Parent = localp
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "LocalPlayer"
	title.TextColor3 = whit
-- Page 3 End --
-- Page 4 --
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Chop Suey"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Chop Suey"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Music ID"].TextBox.Text = 147407900
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Electro Sp00k"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Electro Sp00k"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Music ID"].TextBox.Text = 142930454	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Scream"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Scream"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Music ID"].TextBox.Text = 138097458	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Wonga"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Wonga"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Music ID"].TextBox.Text = 147909316	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 3
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pmi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	
-- Preset Images --
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Team c00lkidd Logo 1"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Team c00lkidd Logo 1"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 158118263	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Team c00lkidd Logo 2"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Team c00lkidd Logo 2"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 164661730	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Thomas"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Thomas"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 160456772	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "c00lkidd"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "c00lkidd"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 157755295	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "team skrubl0rd"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "old team skrubl0rd"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Skybox/Decal ID"].TextBox.Text = 358313209
	end)
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.48,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,231)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = psd
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,231)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
	
local title = Instance.new("TextLabel")
	title.Parent = pmi
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Preset Music IDs"
	title.TextColor3 = whit
	title.TextWrapped = true
local title = Instance.new("TextLabel")
	title.Parent = psd
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Size = UDim2.new(1,0,0,30)
	title.ZIndex = 2
	title.Font = "SourceSansBold"
	title.FontSize = "Size14"
	title.Text = "Preset Skybox/Decal IDs"
	title.TextColor3 = whit
	--page 5--
local t3xt = Instance.new("TextLabel")
	t3xt.Parent = edn
	t3xt.BackgroundColor3 = blak
	t3xt.BorderColor3 = rede
	t3xt.BorderSizePixel = 3
	t3xt.Name = "Empty"
	t3xt.Position = UDim2.new(0,0,0,0)
	t3xt.Size = UDim2.new(1,0,1,0)
	t3xt.ZIndex = 2
	t3xt.Font = tef
	t3xt.FontSize = "Size14"
	t3xt.Text = "Thank you for using c00lgui scripted! Addons coming soon! Post Ideas in the Thread!!!"
	t3xt.TextColor3 = whit
	t3xt.TextWrapped = true
	t3xt.TextYAlignment = "Top"
	
-- Preset Gear IDs --
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Airstrike"
	button.Position = UDim2.new(0,0,0,33)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Airstrike"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 88885539
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Dual Darkhearts"
	button.Position = UDim2.new(0.5,3,0,33)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Dual Darkhearts"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 108149175
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Dual Venomshanks"
	button.Position = UDim2.new(0,0,0,66)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Dual Venomshanks"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 158069180
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Ghostfire Sword"
	button.Position = UDim2.new(0.5,3,0,66)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Ghostfire Sword"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 64220933	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Gravity Coil"
	button.Position = UDim2.new(0,0,0,99)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Gravity Coil"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 16688968
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Hyperbike"
	button.Position = UDim2.new(0.5,3,0,99)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Hyperbike"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
	frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 130113061	
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Icedagger"
	button.Position = UDim2.new(0,0,0,132)
	button.Size = UDim2.new(0.499,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Icedagger"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
		frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 83704165
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Linked Sword"
	button.Position = UDim2.new(0.5,3,0,132)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Linked Sword"
	button.TextColor3 = whit
	button.TextWrapped = true
	button.MouseButton1Down:connect(function()
frame.Settings.Page1["Custom Gear ID"].TextBox.Text = 125013769		
	end)
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,165)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,165)
	button.Size = UDim2.new(0.5,-3,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,198)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0.5,3,0,198)
	button.Size = UDim2.new(0.48,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--
local button = Instance.new("TextButton")
	button.Parent = pgi
	button.BackgroundColor3 = blak
	button.BorderColor3 = rede
	button.BorderSizePixel = 3
	button.Name = "Empty"
	button.Position = UDim2.new(0,0,0,231)
	button.Size = UDim2.new(0.5,0,0,30)
	button.ZIndex = 2
	button.Font = tef
	button.FontSize = "Size14"
	button.Text = "Empty"
	button.TextColor3 = whit
	button.TextWrapped = true
--


			
--Settings--
local pge1 = Instance.new("Frame")
pge1.Parent = page
pge1.BorderColor3 = rede
pge1.BackgroundColor3 = blak
pge1.BorderSizePixel = 3
pge1.Name = "Page1"
pge1.Position = UDim2.new(0,0,0,83)
pge1.Size = UDim2.new(1,0,1,-83)
pge1.ZIndex = 1

local pge2 = Instance.new("Frame")
pge2.Parent = page
pge2.BorderColor3 = rede
pge2.BackgroundColor3 = blak
pge2.BorderSizePixel = 3
pge2.Name = "Page2"
pge2.Position = UDim2.new(0,0,0,83)
pge2.Size = UDim2.new(1,0,1,-83)
pge2.ZIndex = 1
pge2.Visible = false
local lft = Instance.new("TextButton")
	lft.Parent = page
	lft.BorderColor3 = rede
	lft.BackgroundColor3 = blak
	lft.BorderSizePixel = 3
	lft.Name = ">"
	lft.Position = UDim2.new(0.5,3,0,40)
	lft.Size = UDim2.new(0.5,-3,0,40)
	lft.ZIndex = 1
	lft.Font = tef
	lft.FontSize = "Size48"
	lft.Text = ">"
	lft.TextColor3 = whit
	lft.MouseButton1Down:connect(function()
		if pge1.Visible == true then
			pge1.Visible = false
			pge2.Visible = true
		elseif pge2.Visible == true then
			pge2.Visible = false
			pge1.Visible = true
		end	
	end)
local rgt = Instance.new("TextButton")
	rgt.Parent = page
	rgt.BorderColor3 = rede
	rgt.BackgroundColor3 = blak
	rgt.BorderSizePixel = 3
	rgt.Name = "<"
	rgt.Position = UDim2.new(0,0,0,40)
	rgt.Size = UDim2.new(0.5,0,0,40)
	rgt.ZIndex = 1
	rgt.Font = tef
	rgt.FontSize = "Size48"
	rgt.Text = "<"
	rgt.TextColor3 = whit
	rgt.MouseButton1Down:connect(function()
		if pge1.Visible == true then
			pge1.Visible = false
			pge2.Visible = true
		elseif pge2.Visible == true then
			pge2.Visible = false
			pge1.Visible = true
		end	
	end)

local sbutton = Instance.new("TextButton")
	sbutton.Parent = page
	sbutton.BackgroundColor3 = blak
	sbutton.BorderColor3 = rede
	sbutton.BorderSizePixel = 3
	sbutton.Name = "SettingsButton"
	sbutton.Position = UDim2.new(1,3,0,0)
	sbutton.Size = UDim2.new(0,27,1,0)
	sbutton.Font = tef
	sbutton.FontSize = "Size48"
	sbutton.TextColor3 = whit
	sbutton.Text = "<"
	cango = true
	sbutton.MouseButton1Down:connect(function()
		if cango == true then
			if sbutton.Text == "<" then
			sbutton.Text = ">"
			cango = false
				repeat
				wait()
				page.Position = UDim2.new(1,page.Position.X.Offset-10,0,0)
				until page.Position.X.Offset <= -293
				wait()
				page.Position = UDim2.new(1,-300,0,0)
				cango = true
			else
			sbutton.Text = "<"
			cango = false
				repeat
				wait()
				page.Position = UDim2.new(1,page.Position.X.Offset+10,0,0)
				until page.Position.X.Offset >= -10
				wait()
				page.Position = UDim2.new(1,3,0,0)
				cango = true
			end	
		end
	end)
local title = Instance.new("TextLabel")
	title.Parent = page
	title.BackgroundColor3 = blak
	title.BorderColor3 = rede
	title.BorderSizePixel = 3
	title.Name = "Title"
	title.Position = UDim2.new(0,0,0,0)
	title.Size = UDim2.new(1,0,0,40)
	title.ZIndex = 1
	title.Font = tef
	title.FontSize = "Size24"
	title.Text = "Settings"
	title.TextColor3 = whit
	
	
local bgt = Instance.new("Frame")
	bgt.Parent = pge1
	bgt.BackgroundColor3 = blak
	bgt.BorderColor3 = rede
	bgt.BorderSizePixel = 3
	bgt.Name = "Billboard Gui Text"
	bgt.Position = UDim2.new(0.5,3,0,198)
	bgt.Size = UDim2.new(0.5,-3,0,63)
local cgid = Instance.new("Frame")
	cgid.Parent = pge1
	cgid.BackgroundColor3 = blak
	cgid.BorderColor3 = rede
	cgid.BorderSizePixel = 3
	cgid.Name = "Custom Gear ID"
	cgid.Position = UDim2.new(0,0,0,198)
	cgid.Size = UDim2.new(0.5,0,0,63)
local god = Instance.new("Frame")
	god.Parent = pge1
	god.BackgroundColor3 = blak
	god.BorderColor3 = rede
	god.BorderSizePixel = 3
	god.Name = "God"
	god.Position = UDim2.new(0,0,0,132)
	god.Size = UDim2.new(0.5,0,0,63)
local Inv = Instance.new("Frame")
	Inv.Parent = pge1
	Inv.BackgroundColor3 = blak
	Inv.BorderColor3 = rede
	Inv.BorderSizePixel = 3
	Inv.Name = "Invisibility"
	Inv.Position = UDim2.new(0.5,3,0,132)
	Inv.Size = UDim2.new(0.5,-3,0,63)
local mid = Instance.new("Frame")
	mid.Parent = pge1
	mid.BackgroundColor3 = blak
	mid.BorderColor3 = rede
	mid.BorderSizePixel = 3
	mid.Name = "Music ID"
	mid.Position = UDim2.new(0,0,0,66)
	mid.Size = UDim2.new(0.5,0,0,63)
local mp = Instance.new("Frame")
	mp.Parent = pge1
	mp.BackgroundColor3 = blak
	mp.BorderColor3 = rede
	mp.BorderSizePixel = 3
	mp.Name = "Music Pitch"
	mp.Position = UDim2.new(0.5,3,0,66)
	mp.Size = UDim2.new(0.5,-3,0,63)
local pi = Instance.new("Frame")
	pi.Parent = pge1
	pi.BackgroundColor3 = blak
	pi.BorderColor3 = rede
	pi.BorderSizePixel = 3
	pi.Name = "Place ID"
	pi.Position = UDim2.new(0.5,3,0,0)
	pi.Size = UDim2.new(0.5,-3,0,63)
local sdi = Instance.new("Frame")
	sdi.Parent = pge1
	sdi.BackgroundColor3 = blak
	sdi.BorderColor3 = rede
	sdi.BorderSizePixel = 3
	sdi.Name = "Skybox/Decal ID"
	sdi.Position = UDim2.new(0,0,0,0)
	sdi.Size = UDim2.new(0.5,0,0,63)
		sktextbx.Parent = sdi
	local titl = Instance.new("TextLabel")
		titl.Parent = sdi
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Skybox/Decal ID"
		titl.TextColor3 = whit
		pitextbx.Parent = pi
	local titl = Instance.new("TextLabel")
		titl.Parent = pi
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Place ID"
		titl.TextColor3 = whit
		mptextbx.Parent = mp
	local titl = Instance.new("TextLabel")
		titl.Parent = mp
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Music Pitch"
		titl.TextColor3 = whit
		midtextbx.Parent = mid
	local titl = Instance.new("TextLabel")
		titl.Parent = mid
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Music ID"
		titl.TextColor3 = whit
		cgtextbx.Parent = cgid
	local titl = Instance.new("TextLabel")
		titl.Parent = cgid
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Custom Gear ID"
		titl.TextColor3 = whit
		bgttextbx.Parent = bgt
	local titl = Instance.new("TextLabel")
		titl.Parent = bgt
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Billboard Gui Text"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		
	local button = Instance.new("TextButton")
		button.Parent = Inv
		button.BackgroundColor3 = blak
		button.BorderColor3 = rede
		button.BorderSizePixel = 3 
		button.Position = UDim2.new(0,0,0.5,0)
		button.Size = UDim2.new(0.99,1,0.5,-1)
		button.Font = tef
		button.FontSize = "Size14"
		button.Text = "On"
		button.TextColor3 = whit
		button.MouseButton1Down:connect(function()
			if button.Text == "Off" then
lPlayer.Character.Head.Transparency = 1
lPlayer.Character.Head.face.Transparency = 1
lPlayer.Character.Torso.Transparency = 1
lPlayer.Character["Right Arm"].Transparency = 1
lPlayer.Character["Left Arm"].Transparency = 1
lPlayer.Character["Right Leg"].Transparency = 1
lPlayer.Character["Left Leg"].Transparency = 1
button.Text = "On"
else
lPlayer.Character.Head.Transparency = 0
lPlayer.Character.Head.face.Transparency = 0
lPlayer.Character.Torso.Transparency = 0
lPlayer.Character["Right Arm"].Transparency = 0
lPlayer.Character["Left Arm"].Transparency = 0
lPlayer.Character["Right Leg"].Transparency = 0
lPlayer.Character["Left Leg"].Transparency = 0
button.Text = "Off"
end
		end)
	local titl = Instance.new("TextLabel")
		titl.Parent = Inv
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Invisibility"
		titl.TextColor3 = whit
		titl.TextWrapped = true
	local button = Instance.new("TextButton")
		button.Parent = god
		button.BackgroundColor3 = blak
		button.BorderColor3 = rede
		button.BorderSizePixel = 3 
		button.Position = UDim2.new(0,0,0.5,0)
		button.Size = UDim2.new(0.99,1,0.5,-1)
		button.Font = tef
		button.FontSize = "Size14"
		button.Text = "On"
		button.TextColor3 = whit
		button.MouseButton1Down:connect(function()
if button.Text == "Off" then
	lPlayer.Character.Humanoid.MaxHealth = math.huge
	lPlayer.Character.Humanoid.Health = math.huge
	button.Text = "On"
	else
	lPlayer.Character.Humanoid.MaxHealth = 100
	lPlayer.Character.Humanoid.Health = 100
	button.Text = "Off"
end
		end)
	local titl = Instance.new("TextLabel")
		titl.Parent = god
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "God"
		titl.TextColor3 = whit
		titl.TextWrapped = true		
--Page 2--
local arr = Instance.new("Frame")
	arr.Parent = pge2
	arr.BackgroundColor3 = blak
	arr.BorderColor3 = rede
	arr.BorderSizePixel = 3
	arr.Name = "Anti Robloxian Range"
	arr.Position = UDim2.new(0.5,3,0,198)
	arr.Size = UDim2.new(0.5,-3,0,63)
local bgc = Instance.new("Frame")
	bgc.Parent = pge2
	bgc.BackgroundColor3 = blak
	bgc.BorderColor3 = rede
	bgc.BorderSizePixel = 3
	bgc.Name = "Billboard Gui Color"
	bgc.Position = UDim2.new(0,0,0,198)
	bgc.Size = UDim2.new(0.5,0,0,63)
local cst = Instance.new("Frame")
	cst.Parent = pge2
	cst.BackgroundColor3 = blak
	cst.BorderColor3 = rede
	cst.BorderSizePixel = 3
	cst.Name = "Chat Spam Text"
	cst.Position = UDim2.new(0,0,0,132)
	cst.Size = UDim2.new(0.5,0,0,63)
local lsa = Instance.new("Frame")
	lsa.Parent = pge2
	lsa.BackgroundColor3 = blak
	lsa.BorderColor3 = rede
	lsa.BorderSizePixel = 3
	lsa.Name = "Leaderstat Amount"
	lsa.Position = UDim2.new(0.5,3,0,132)
	lsa.Size = UDim2.new(0.5,-3,0,63)
local lsn = Instance.new("Frame")
	lsn.Parent = pge2
	lsn.BackgroundColor3 = blak
	lsn.BorderColor3 = rede
	lsn.BorderSizePixel = 3
	lsn.Name = "Leaderstat Name"
	lsn.Position = UDim2.new(0,0,0,66)
	lsn.Size = UDim2.new(0.5,0,0,63)
local nmb = Instance.new("Frame")
	nmb.Parent = pge2
	nmb.BackgroundColor3 = blak
	nmb.BorderColor3 = rede
	nmb.BorderSizePixel = 3
	nmb.Name = "Name Box"
	nmb.Position = UDim2.new(0.5,3,0,66)
	nmb.Size = UDim2.new(0.5,-3,0,63)
local wsa = Instance.new("Frame")
	wsa.Parent = pge2
	wsa.BackgroundColor3 = blak
	wsa.BorderColor3 = rede
	wsa.BorderSizePixel = 3
	wsa.Name = "Walkspeed Amount"
	wsa.Position = UDim2.new(0.5,3,0,0)
	wsa.Size = UDim2.new(0.5,-3,0,63)


local textbx = Instance.new("TextBox")
		textbx.Parent = arr
		textbx.BackgroundColor3 = blak
		textbx.BorderColor3 = rede
		textbx.BorderSizePixel = 3 
		textbx.ClearTextOnFocus = true
		textbx.Position = UDim2.new(0,0,0.5,0)
		textbx.Size = UDim2.new(0.99,1,0.5,-1)
		textbx.Font = tef
		textbx.FontSize = "Size14"
		textbx.Text = "13"
		textbx.TextColor3 = whit
	local titl = Instance.new("TextLabel")
		titl.Parent = arr
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Anti Robloxian Rage"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		textbx1.Parent = bgc
		textbx2.Parent = bgc
		textbx3.Parent = bgc
	local titl = Instance.new("TextLabel")
		titl.Parent = bgc
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Billboard Gui Color"
		titl.TextColor3 = whit
		titl.TextWrapped = true		
local textbx = Instance.new("TextBox")
		textbx.Parent = cst
		textbx.BackgroundColor3 = blak
		textbx.BorderColor3 = rede
		textbx.BorderSizePixel = 3 
		textbx.ClearTextOnFocus = true
		textbx.Position = UDim2.new(0,0,0.5,0)
		textbx.Size = UDim2.new(0.99,1,0.5,-1)
		textbx.Font = tef
		textbx.FontSize = "Size14"
		textbx.Text = "join team c00lkidd!"
		textbx.TextColor3 = whit
	local titl = Instance.new("TextLabel")
		titl.Parent = cst
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Chat Spam Text"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		lsatextbx.Parent = lsa
	local titl = Instance.new("TextLabel")
		titl.Parent = lsa
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Leaderstat Amount"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		lsntextbx.Parent = lsn
	local titl = Instance.new("TextLabel")
		titl.Parent = lsn
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Leaderstat Name"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		nmetextbx.Parent = nmb
	local titl = Instance.new("TextLabel")
		titl.Parent = nmb
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Name"
		titl.TextColor3 = whit
		titl.TextWrapped = true
		wsatextbx.Parent = wsa
	local titl = Instance.new("TextLabel")
		titl.Parent = wsa
		titl.BackgroundColor3 = blak
		titl.BorderColor3 = rede
		titl.BorderSizePixel = 3
		titl.Name = "Title"
		titl.Size = UDim2.new(1,0,0,30)
		titl.Font = tef.."Bold"
		titl.FontSize = "Size14"
		titl.Text = "Walkspeed Amount"
		titl.TextColor3 = whit
		titl.TextWrapped = true
--Settings--

Features & Information

a lol?

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts