Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- scripted by nascars#6145.
- enjoy fucking roblox :)
- --]]
- local Nascarsv2 = Instance.new("ScreenGui")
- local opengui = Instance.new("Frame")
- local open = Instance.new("TextButton")
- local logingui = Instance.new("Frame")
- local topbarlogin = Instance.new("Frame")
- local loginclose = Instance.new("TextButton")
- local user = Instance.new("TextBox")
- local pass = Instance.new("TextBox")
- local submit = Instance.new("TextButton")
- local maingui = Instance.new("Frame")
- local topbarmain = Instance.new("Frame")
- local closemain = Instance.new("TextButton")
- local discords = Instance.new("TextLabel")
- local pagesbackground = Instance.new("Frame")
- local one = Instance.new("TextButton")
- local two = Instance.new("TextButton")
- local _2 = Instance.new("Frame")
- local RocketHammer = Instance.new("TextButton")
- local NaziScrit = Instance.new("TextButton")
- local NSword = Instance.new("TextButton")
- local _1 = Instance.new("Frame")
- local Shattervast = Instance.new("TextButton")
- local CycBot = Instance.new("TextButton")
- local Perm100WS = Instance.new("TextButton")
- local Perm100WS_2 = Instance.new("TextButton")
- local notice = Instance.new("TextLabel")
- --Properties:
- Nascarsv2.Name = "Nascars v2"
- Nascarsv2.Parent = game.CoreGui
- Nascarsv2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- opengui.Name = "opengui"
- opengui.Parent = Nascarsv2
- opengui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- opengui.BorderSizePixel = 0
- opengui.Position = UDim2.new(0, 0, 0.681274891, 0)
- opengui.Size = UDim2.new(0, 38, 0, 35)
- open.MouseButton1Down:connect(function()
- maingui.Visible = false
- logingui.Visible = true
- end)
- open.Name = "open"
- open.Parent = opengui
- open.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- open.BorderSizePixel = 0
- open.Size = UDim2.new(0, 38, 0, 35)
- open.Font = Enum.Font.SourceSansItalic
- open.Text = "X"
- open.TextColor3 = Color3.new(1, 1, 1)
- open.TextSize = 22
- open.TextWrapped = true
- logingui.Name = "logingui"
- logingui.Parent = Nascarsv2
- logingui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- logingui.BorderSizePixel = 0
- logingui.Position = UDim2.new(0.943933845, 0, 0.18525897, 0)
- logingui.Size = UDim2.new(0, 216, 0, 350)
- logingui.Draggable = true
- logingui.Active = true
- topbarlogin.Name = "topbarlogin"
- topbarlogin.Parent = logingui
- topbarlogin.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
- topbarlogin.Size = UDim2.new(0, 216, 0, 21)
- loginclose.Name = "loginclose"
- loginclose.Parent = topbarlogin
- loginclose.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
- loginclose.BorderSizePixel = 0
- loginclose.Position = UDim2.new(0.898148119, 0, 0, 0)
- loginclose.Size = UDim2.new(0, 22, 0, 21)
- loginclose.Font = Enum.Font.SourceSansItalic
- loginclose.Text = "X"
- loginclose.TextColor3 = Color3.new(1, 1, 1)
- loginclose.TextSize = 22
- loginclose.MouseButton1Down:connect(function()
- opengui.Visible = true
- logingui.Visible = false
- end)
- user.Name = "user"
- user.Parent = logingui
- user.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- user.Position = UDim2.new(0.120370373, 0, 0.177142859, 0)
- user.Size = UDim2.new(0, 164, 0, 40)
- user.Font = Enum.Font.SourceSansItalic
- user.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
- user.PlaceholderText = "Username."
- user.Text = ""
- user.TextColor3 = Color3.new(255, 255, 255)
- user.TextSize = 26
- user.TextWrapped = true
- pass.Name = "pass"
- pass.Parent = logingui
- pass.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- pass.Position = UDim2.new(0.120370373, 0, 0.36857143, 0)
- pass.Size = UDim2.new(0, 164, 0, 40)
- pass.Font = Enum.Font.SourceSansItalic
- pass.PlaceholderText = "Password."
- pass.Text = ""
- pass.TextColor3 = Color3.new(255, 255, 255)
- pass.TextSize = 26
- pass.TextWrapped = true
- submit.Name = "submit"
- submit.Parent = logingui
- submit.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- submit.Position = UDim2.new(0.120370373, 0, 0.579999983, 0)
- submit.Size = UDim2.new(0, 164, 0, 40)
- submit.Font = Enum.Font.SourceSansItalic
- submit.Text = "Submit."
- submit.TextColor3 = Color3.new(0.698039, 0.698039, 0.698039)
- submit.TextSize = 26
- submit.MouseButton1Down:connect(function()
- if user.Text == "aladin" and pass.Text == "fuckrobloxxx" then
- logingui.Visible = false
- maingui.Visible = true
- end
- end)
- maingui.Name = "maingui"
- maingui.Parent = Nascarsv2
- maingui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- maingui.Position = UDim2.new(0.272977918, 0, 0.203187257, 0)
- maingui.Size = UDim2.new(0, 531, 0, 298)
- maingui.Draggable = true
- maingui.Active = true
- maingui.Visible = false
- topbarmain.Name = "topbarmain"
- topbarmain.Parent = maingui
- topbarmain.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
- topbarmain.BorderSizePixel = 0
- topbarmain.Size = UDim2.new(0, 531, 0, 21)
- closemain.Name = "closemain"
- closemain.Parent = topbarmain
- closemain.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
- closemain.Position = UDim2.new(0.96045202, 0, 0, 0)
- closemain.Size = UDim2.new(0, 21, 0, 21)
- closemain.Font = Enum.Font.SourceSansItalic
- closemain.Text = "X"
- closemain.TextColor3 = Color3.new(1, 1, 1)
- closemain.TextSize = 22
- closemain.MouseButton1Down:connect(function()
- opengui.Visible = true
- maingui.Visible = false
- end)
- discords.Name = "discords"
- discords.Parent = maingui
- discords.BackgroundColor3 = Color3.new(1, 1, 1)
- discords.BackgroundTransparency = 1
- discords.Size = UDim2.new(0, 303, 0, 21)
- discords.Font = Enum.Font.SourceSansItalic
- discords.Text = "Made by nascars#6145, helped by zot#0933."
- discords.TextColor3 = Color3.new(1, 1, 1)
- discords.TextSize = 14
- discords.TextXAlignment = Enum.TextXAlignment.Left
- pagesbackground.Name = "pagesbackground"
- pagesbackground.Parent = maingui
- pagesbackground.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- pagesbackground.Position = UDim2.new(0, 0, 1, 0)
- pagesbackground.Size = UDim2.new(0, 531, 0, 25)
- one.Name = "one"
- one.Parent = pagesbackground
- one.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- one.BorderSizePixel = 0
- one.Size = UDim2.new(0, 30, 0, 25)
- one.Font = Enum.Font.SourceSansItalic
- one.Text = "1"
- one.TextColor3 = Color3.new(1, 1, 1)
- one.TextSize = 20
- one.MouseButton1Down:connect(function()
- _1.Visible = true
- _2.Visible = false
- end)
- two.Name = "two"
- two.Parent = pagesbackground
- two.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- two.BorderSizePixel = 0
- two.Position = UDim2.new(0.0564971752, 0, 0, 0)
- two.Size = UDim2.new(0, 30, 0, 25)
- two.Font = Enum.Font.SourceSansItalic
- two.Text = "2"
- two.TextColor3 = Color3.new(1, 1, 1)
- two.TextSize = 20
- two.MouseButton1Down:connect(function()
- _1.Visible = false
- _2.Visible = true
- end)
- _2.Name = "2"
- _2.Parent = maingui
- _2.BackgroundColor3 = Color3.new(1, 1, 1)
- _2.BackgroundTransparency = 1
- _2.BorderSizePixel = 0
- _2.Position = UDim2.new(0, 0, 0.0671140924, 0)
- _2.Size = UDim2.new(0, 23, 0, 21)
- _2.Visible = false
- _2.Active = true
- RocketHammer.Name = "Rocket Hammer"
- RocketHammer.Parent = _2
- RocketHammer.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- RocketHammer.BorderSizePixel = 2
- RocketHammer.Position = UDim2.new(0.478260875, 0, 0.809523821, 0)
- RocketHammer.Size = UDim2.new(0, 100, 0, 25)
- RocketHammer.Font = Enum.Font.SourceSansItalic
- RocketHammer.Text = "Rocket Hammer"
- RocketHammer.TextColor3 = Color3.new(1, 1, 1)
- RocketHammer.TextSize = 18
- RocketHammer.MouseButton1Down:connect(function()
- --[[
- Fenrier's Rocket Hammer Script made by Fenrier.
- mediafire
- ]]
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- Neck = Torso.Neck
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- attack = false
- attacktype = 1
- damage = 5
- oridamage = 50
- attackdebounce = false
- MMouse=nil
- combo=0
- Charge=0
- con1=nil
- --player
- player = nil
- --save shoulders
- RSH, LSH = nil, nil
- --welds
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- if Character:findFirstChild("Rocket Hammer",true) ~= nil then
- Character:findFirstChild("Rocket Hammer",true).Parent = nil
- end
- if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
- Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
- end
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp = it("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked=true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = Torso.Position
- fp.BottomSurface="Smooth"
- fp.TopSurface="Smooth"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = it(Mesh)
- mesh.Parent = part
- if Mesh=="SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld = it("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- return weld
- end
- local fengui = it("GuiMain")
- fengui.Parent = Player.PlayerGui
- fengui.Name = "WeaponGUI"
- local fenframe = it("Frame")
- fenframe.Parent = fengui
- fenframe.BackgroundColor3 = Color3.new(255,255,255)
- fenframe.BackgroundTransparency = 1
- fenframe.BorderColor3 = Color3.new(17,17,17)
- fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
- fenframe.Position=UDim2.new(0,1300,0,300)
- local fentext = it("TextLabel")
- fentext.Parent = fenframe
- fentext.Text = " "
- fentext.BackgroundTransparency = 0
- fentext.BackgroundColor3 = Color3.new(0,0,0)
- fentext.SizeConstraint = "RelativeXY"
- fentext.TextXAlignment = "Center"
- fentext.TextYAlignment = "Center"
- fentext.Position = UDim2.new(0,0,0,0)
- fentext.Size = UDim2.new(0.710000306,0,2.79999995,0)
- local fentext2 = it("TextLabel")
- fentext2.Parent = fenframe
- fentext2.Text = " "
- fentext2.BackgroundTransparency = 0
- fentext2.BackgroundColor3 = Color3.new(1,0,0)
- fentext2.SizeConstraint = "RelativeXY"
- fentext2.TextXAlignment = "Center"
- fentext2.TextYAlignment = "Center"
- fentext2.Position = UDim2.new(0,0,2.8,0)
- fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
- local modelzorz = Instance.new("Model")
- modelzorz.Parent = Character
- modelzorz.Name = "Rocket Hammer"
- local prt1=part(3,modelzorz,0,0,BrickColor.new("Navy blue"),"Part1",vt(0.5,0.5,0.5))
- local prt2=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part2",vt(0.5,0.5,0.5))
- local prt3=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part3",vt(0.5,0.5,0.5))
- local prt4=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part4",vt(0.5,0.5,0.5))
- local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part5",vt(0.5,0.5,0.5))
- local prt6=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part6",vt(0.5,0.5,0.5))
- local prt7=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part7",vt(0.5,0.5,0.5))
- local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(0.5,0.5,0.5))
- local prt9=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part9",vt(0.5,0.5,0.5))
- local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(0.5,0.5,0.5))
- local prt11=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part11",vt(0.5,0.5,0.5))
- local prt12=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part12",vt(0.5,0.5,0.5))
- local prt13=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part13",vt(0.5,0.5,0.5))
- local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part14",vt(0.5,0.5,0.5))
- local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(0.5,0.5,0.5))
- local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(0.5,0.5,0.5))
- local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part17",vt(0.5,0.5,0.5))
- local prt17b=part(3,modelzorz,0,1,BrickColor.new("Bright yellow"),"Part17b",vt(0.5,0.5,0.5))
- local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(0.5,0.5,0.5))
- local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(0.5,0.5,0.5))
- local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(0.5,0.5,0.5))
- local prt21=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part21",vt(0.5,0.5,0.5))
- local prt22=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part22",vt(0.5,0.5,0.5))
- local prt23=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part23",vt(0.5,0.5,0.5))
- local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(1,2,1))
- local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.7,3,0.7))
- local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1.5,1.3))
- local msh4=mesh("CylinderMesh",prt4,"","",vt(0,0,0),vt(1.5,1.5,1.5))
- local msh5=mesh("CylinderMesh",prt5,"","",vt(0,0,0),vt(1,1.6,1))
- local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.3,3,0.3))
- local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(1.5,2.5,1.5))
- local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(1.6,1.5,1.6))
- local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(1.2,2.51,1.2))
- local msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.5,2,0.5))
- local msh11=mesh("CylinderMesh",prt11,"","",vt(0,0,0),vt(0.5,2,0.5))
- local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,5,1))
- local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,4,2))
- local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(2,2,2.1))
- local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(2.5,1,2.5))
- local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(2.5,1,3))
- local msh17=mesh("CylinderMesh",prt17,"","",vt(0,0,0),vt(3,3,3))
- local msh17b=mesh("CylinderMesh",prt17b,"","",vt(0,0,0),vt(3.001,3,3.01))
- local msh18=mesh("CylinderMesh",prt18,"","",vt(0,0,0),vt(3.2,1.5,3.2))
- local msh19=mesh("CylinderMesh",prt19,"","",vt(0,0,0),vt(3.2,1,3.2))
- local msh20=mesh("CylinderMesh",prt20,"","",vt(0,0,0),vt(3.2,1,3.2))
- local msh21=mesh("CylinderMesh",prt21,"","",vt(0,0,0),vt(2.5,1,2.5))
- local msh22=mesh("CylinderMesh",prt22,"","",vt(0,0,0),vt(0.5,2,0.5))
- local msh23=mesh("CylinderMesh",prt23,"","",vt(0,0,0),vt(0.5,2.1,0.5))
- local wld1=weld(prt1,prt1,Torso,euler(3.14,-1.57,0)*cf(0,-4,-0.5))
- local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
- local wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1,0))
- local wld4=weld(prt4,prt4,prt3,euler(0,0,1.57)*cf(0,0.5,-0.1))
- local wld5=weld(prt5,prt5,prt4,euler(0,0,0)*cf(0,0,0))
- local wld6=weld(prt6,prt6,prt3,euler(1.57,0,0)*cf(0,0,0))
- local wld7=weld(prt7,prt7,prt6,euler(1.57,0,0)*cf(0,-0.8,0))
- local wld8=weld(prt8,prt8,prt7,euler(0,0,0)*cf(0,0,0))
- local wld9=weld(prt9,prt9,prt7,euler(0,0,0)*cf(0,0,0))
- local wld10=weld(prt10,prt10,prt7,euler(-0.2,0,0)*cf(0,1,0))
- local wld11=weld(prt11,prt11,prt1,euler(1.57+0.3,0,0)*cf(0,-0.5,0.3))
- local wld12=weld(prt12,prt12,prt1,euler(0,0,0)*cf(0,-2,0))
- local wld13=weld(prt13,prt13,prt12,euler(0,0,0)*cf(0,-1.75,0))
- local wld14=weld(prt14,prt14,prt13,euler(0,0,0)*cf(0,-1,0))
- local wld15=weld(prt15,prt15,prt14,euler(0,0,0)*cf(0,-0.6,0.4))
- local wld16=weld(prt16,prt16,prt14,euler(1.57,0,0)*cf(0,0.4,0.77))
- local wld17=weld(prt17,prt17,prt14,euler(1.57,0,0)*cf(0,0,-1.4))
- local wld17b=weld(prt17b,prt17b,prt17,euler(0,0,0)*cf(0,0,0))
- local wld18=weld(prt18,prt18,prt17,euler(0,0,0)*cf(0,0,0))
- local wld19=weld(prt19,prt19,prt17,euler(0,0,0)*cf(0,0.8,0))
- local wld20=weld(prt20,prt20,prt17,euler(0,0,0)*cf(0,-0.8,0))
- local wld21=weld(prt21,prt21,prt19,euler(0,0,0)*cf(0,0.01,0))
- local wld22=weld(prt22,prt22,prt13,euler(0.5,0,0)*cf(0,1.2,-0.6))
- local wld23=weld(prt23,prt23,prt22,euler(-1.2,0,0)*cf(0,0.6,0.5))
- local hitbox=part(3,modelzorz,0,1,BrickColor.new("Black"),"Hitbox",vt(3,3,3))
- local hitboxwld=weld(hitbox,hitbox,prt14,euler(0,0,0)*cf(0,0,0))
- local BoosterFire = Instance.new("Fire")
- BoosterFire.Parent = prt19
- BoosterFire.Heat = -25
- BoosterFire.Size = 1
- function MakeRocketPart(x,y,z)
- local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"RocketPart",vt(0.5,0.5,0.5))
- local prta=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"RocketPart",vt(0.5,0.5,0.5))
- local prtb=part(3,modelzorz,0,0,BrickColor.new("Bright yellow"),"RocketPart",vt(0.5,0.5,0.5))
- local prtc=part(3,modelzorz,0,0,BrickColor.new("Really black"),"RocketPart",vt(0.5,0.5,0.5))
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(1.5,2.5,1.5))
- local msha=mesh("CylinderMesh",prta,"","",vt(0,0,0),vt(1.6,1.5,1.6))
- local mshb=mesh("SpecialMesh",prtb,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.55,0.3,0.55))
- local mshc=mesh("CylinderMesh",prtc,"","",vt(0,0,0),vt(1.3,2.5,1.3))
- local wld=weld(prt,prt,prt14,euler(1.57,0,0)*cf(x,y,z))
- local wlda=weld(prta,prta,prt,euler(0,0,0)*cf(0,0,0))
- local wldb=weld(prtb,prtb,prt,euler(0,0,0)*cf(0,-0.8,0))
- local wldc=weld(prtc,prtc,prt,euler(0,0,0)*cf(0,0.01,0))
- local BoosterFire = Instance.new("Fire")
- BoosterFire.Parent = prt
- BoosterFire.Heat = -25
- BoosterFire.Size = 0.2
- end
- MakeRocketPart(0.8,0,0.5)
- MakeRocketPart(-0.8,0,0.5)
- MakeRocketPart(0,-0.8,0.5)
- if (script.Parent.className ~= "HopperBin") then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = "Rocket Hammer"
- script.Parent = Tool
- end
- Bin = script.Parent
- local bg = it("BodyGyro")
- bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- bg.P = 20e+003
- bg.Parent = nil
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- wait()
- sou:play()
- wait(6)
- sou:Remove()
- end))
- end
- function unequipweld()
- wld1.Part1=Torso
- wld1.C0=euler(3.14,-1.57,0)*cf(0,-4,-0.5)
- end
- function equipweld()
- wld1.Part1=RightArm
- wld1.C0=euler(1.57,0,0)*cf(0,1,0)
- end
- function hideanim()
- equipped=false
- wait(0.1)
- bg.Parent=nil
- unequipweld()
- end
- function equipanim()
- equipped=true
- wait(0.1)
- equipweld()
- RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- Damagefunc1=function(hit,Damage,Knockback)
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- attackdebounce = false
- end))
- Damage=Damage
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=Damage+math.random(0,10)
- so("http://www.roblox.com/asset/?id=2697431",hit,5,0.4)
- MagicCircle(BrickColor.new("Bright red"),hit.CFrame,1,1,1,0,0,0,2,2,2)
- -- h:TakeDamage(Damage)
- -- showDamage(hit.Parent,Damage,.5)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print("herp")
- if block.Value>0 then
- blocked=true
- block.Value=block.Value-3
- print(block.Value)
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5)
- else
- h:TakeDamage(1)
- showDamage(hit.Parent,1,.5)
- end
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
- if Knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- end
- Damagefunc2=function(hit,Damage,Knockback)
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- attackdebounce = false
- end))
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- blocked=false
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
- Damage=Damage
- c=it("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- -- print(c.Value)
- --[[ if math.random(0,99)+math.random()<=7.8 then
- CRIT=true
- Damage=Damage*2
- s=it("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Volume=1
- s.Pitch=2
- s.Parent=hit
- s.PlayOnRemove=true
- s.Parent=nil
- end]]
- Damage=Damage+math.random(0,10)
- -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print("herp")
- if block.Value>0 then
- blocked=true
- block.Value=block.Value-10
- print(block.Value)
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5)
- else
- h:TakeDamage(1)
- showDamage(hit.Parent,1,.5)
- end
- --if blocked==false then
- local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
- print(angle)
- hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- rl.Parent=hit
- coroutine.resume(coroutine.create(function(vel)
- wait(1)
- vel:Remove()
- end),rl)
- --end
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=angle*40
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- coroutine.resume(coroutine.create(function(Vel)
- wait(0.3)
- Vel:Remove()
- end),bodyVelocity)
- game:GetService("Debris"):AddItem(vp,1)
- c=it("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- end
- showDamage=function(Char,Dealt,du)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor=BrickColor:Red()
- if CRIT==true then
- c.BrickColor=BrickColor.new("Really red")
- end
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x2,y2,z2)
- local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- prt.Transparency=i
- msh.Scale=msh.Scale+vt(0.2,0.2,0.2)
- end
- prt.Parent=nil
- end))
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x2,y2,z2)
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- prt.Transparency=i
- msh.Scale=msh.Scale+vt(x3,y3,z3)
- end
- prt.Parent=nil
- end))
- end
- function SwirlEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x2,y2,z2)*euler(1.57,0,0)
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.07 do
- wait()
- prt.CFrame=prt.CFrame*cf(0,0.5,0)*euler(0,0.5,0)
- prt.Transparency=i
- msh.Scale=msh.Scale+vt(0.4,1,0.4)
- end
- prt.Parent=nil
- end))
- end
- function MagicCircle2(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x2,y2,z2)
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.1 do
- wait()
- prt.Transparency=i
- msh.Scale=msh.Scale+vt(0.05,0.05,0.05)
- end
- prt.Parent=nil
- end))
- end
- local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
- return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function oneslash()
- attack=true
- combo=1
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1+0.57*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+1.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2-1.37*i)
- LW.C1=cf(0, 0.5, 0) * euler(0.5*i,0,0)
- end
- con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,40) end)
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.6)
- for i=0,1,0.2 do
- wait()
- for i=1,3 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
- RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,1-2.5*i)
- LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0,0,-1.57)
- LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5*i,0,0)
- end
- con1:disconnect()
- for i=0,1,0.1 do
- wait()
- wld1.C0=euler(2.07,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.5-0.2*i)
- LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
- LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5-0.2*i,0,0)
- end
- attack=false
- end
- function twoslash()
- attack=true
- combo=2
- for i=0,1,0.1 do
- wait()
- eul=1*i
- Torso.Neck.C0=necko*euler(0,0,-1*i)
- wld1.C0=euler(2.07-0.5*i,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.7+2*i)
- LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
- LW.C1=cf(0, 0.5, 0) * euler(0.5-2.7,0,0)
- end
- con1=Torso.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.4)
- local vel2 = Instance.new("BodyVelocity")
- vel2.Parent = Torso
- vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
- vel2.velocity = Head.CFrame.lookVector*70
- for i=0,1,0.1 do
- wait(0)
- MagicBlock(BrickColor.new("Bright stone grey"),Torso.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- con1:disconnect()
- vel2.Parent=nil
- attack=false
- end
- function threeslash()
- attack=true
- combo=3
- local vel2 = Instance.new("BodyVelocity")
- vel2.Parent = Torso
- vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
- vel2.velocity = Head.CFrame.lookVector*20
- for i=0,1,0.1 do
- wait()
- eul=1-6.32*i
- end
- vel2.Parent=nil
- con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,60) end)
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
- for i=0,1,0.15 do
- wait()
- for i=1,3 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- eul=1-2*i
- Torso.Neck.C0=necko*euler(0,0,-1+2*i)
- wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2*i)
- LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
- LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
- end
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2-0.1*i)
- LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
- LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
- end
- con1:disconnect()
- attack=false
- end
- function GrandSlam()
- attack=true
- Humanoid.WalkSpeed=0
- for i=0,1,0.1 do
- wait(0)
- wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1+2*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0.3*i,0,-0.2)
- end
- coroutine.resume(coroutine.create(function(v)
- wait()
- while attack==true do
- wait(0)
- bg.Parent = Torso
- local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
- bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
- end
- eul=0
- bg.Parent=nil
- end))
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
- for i=0,1,0.1 do
- wait(0)
- for i=1,3 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- eul=1*i
- Torso.Neck.C0=necko*euler(0,0,-1*i)
- RW.C0=cf(1.5, 0.5, 0) * euler(3.2-1.63*i,0,1*i)
- RW.C1=cf(0, 0.5, 0) * euler(1.2*i,0,0)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0.4-0.9*i,0,-0.2)
- end
- Charge=Charge+0.2
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - hitbox.Position;
- local mag = targ.magnitude;
- if mag <= 20 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,40,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.2)
- MagicCircle(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,0,0,0,6,6,6)
- SwirlEffect(BrickColor.new("Bright red"),hitbox.CFrame,10,10,10,0,0,0)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
- end
- wait(0.2)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-20,20),math.random(-20,20),math.random(-20,20))
- end
- attack=false
- wait(0)
- attack=true
- wait(0.3)
- for i=0,1,0.1 do
- wait(0)
- wld1.C0=euler(1.57+0.5-0.5*i,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,1)
- RW.C1=cf(0, 0.5, 0) * euler(1.2-0.1*i,0,0)
- end
- for i=0,1,0.1 do
- wait(0)
- Torso.Neck.C0=necko*euler(0,0,-1+1*i)
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,1-1*i)
- RW.C1=cf(0, 0.5, 0) * euler(1.1-1.1*i,-0.6*i,-0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(-0.5+0.5*i,0,-0.2)
- end
- Humanoid.WalkSpeed=16
- attack=false
- end
- function HammerCharge()
- attack=true
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1+0.57*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.2+0.2*i)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,15,40) end)
- local vel2 = Instance.new("BodyVelocity")
- vel2.Parent = Torso
- vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
- vel2.velocity = Head.CFrame.lookVector*30
- repeat
- wait(0)
- vel2.velocity = Head.CFrame.lookVector*30
- Charge=Charge+0.005
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- until dashing==false
- con1:disconnect()
- vel2.Parent=nil
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-1.57+0.97*i,-0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-0.2*i)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- attack=false
- end
- function SuperbSlam()
- attack=true
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1-1.1*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- wait(0.2)
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
- for i=0,1,0.2 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2*i,0,0)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- wld1.Part1=nil
- local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
- basepart.Anchored=true
- basepart.CFrame=Torso.CFrame*cf(0,35,-10)
- bodypos=Instance.new("BodyPosition")
- bodypos.Parent=prt12
- bodypos.position = basepart.Position
- bodypos.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
- local bg2 = it("BodyGyro")
- bg2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- bg2.P = 20e+003
- bg2.Parent=prt12
- bg2.cframe = Head.CFrame
- coroutine.resume(coroutine.create(function(gyro)
- while gyro.Parent~=nil do
- wait()
- for i=0,1,0.1 do
- wait()
- gyro.cframe=gyro.cframe*euler(0.5,0,0)
- end
- end
- end),bg2)
- wait(1)
- bodypos2=Instance.new("BodyPosition")
- bodypos2.Parent=RightArm
- bodypos2.position = basepart.Position
- bodypos2.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
- wait(0.5)
- bodypos2.Parent=nil
- basepart.Parent=nil
- bg2.Parent=nil
- wld1.Part1=RightArm
- bodypos.Parent=nil
- boom=false
- coroutine.resume(coroutine.create(function()
- while boom==false do
- wait()
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- end))
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2-1.9*i,0,0)
- LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- coroutine.resume(coroutine.create(function()
- floor=false
- repeat
- wait(0.05)
- hit,pos = rayCast(Torso.Position, (CFrame.new(Torso.Position,Torso.Position - Vector3.new(0,6,0))).lookVector, 6, Character)
- if hit ~= nil then
- floor = true
- end
- until floor
- Charge=Charge+0.999
- so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.5)
- MagicCircle2(BrickColor.new("Bright red"),hitbox.CFrame*euler(1.57,0,0),300,4,300,0,-1.5,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - hitbox.Position;
- local mag = targ.magnitude;
- if mag <= 70 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,1,80)
- end
- end
- end
- end
- wait(0.5)
- local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
- basepart.Anchored=true
- basepart.CFrame=Torso.CFrame*cf(0,0,-50)*euler(-1.57,0,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart.Position;
- local mag = targ.magnitude;
- if mag <= 40 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,60,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
- MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
- SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
- end
- wait(0.2)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
- end
- basepart.Parent=nil
- boom=true
- wait(1)
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1*i,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4+0.4*i,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- attack=false
- end))
- end
- function HammerSmash()
- attack=true
- for i=0,1,0.1 do
- wait()
- wld1.C0=euler(1.57+0.2*i,0,-0.8*i)*cf(0,1,0)
- RW.C0=cf(1.5-0.5*i, 0.5+0.5*i, -0.5*i) * euler(1+1.5*i,0,-0.8*i)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
- LW.C0=cf(-1.5+0.5*i, 0.5+0.5*i, -0.5*i) * euler(2.5*i,0,-0.2+1*i)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
- bg.Parent=Torso
- bg.cframe=Torso.CFrame
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.P = 10000
- local CF = Torso.CFrame
- bp.position = CF.p
- bp.Parent=Torso
- for i=0,1,0.2 do
- wait()
- for i=1,3 do
- MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- bp.position = CF.p - Vector3.new(0,2,0)
- Torso["Left Hip"].C0=LHC0*cf(-1*i,1.5*i,0)
- Torso["Right Hip"].C0=RHC0*cf(0,1.5*i,0)*euler(0,0,-0.5*i)
- wld1.C0=euler(1.57+0.2+0.3*i,0,-0.8)*cf(0,1,0)
- RW.C0=cf(1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,-0.8)
- RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- LW.C0=cf(-1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,0.8)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- Charge=Charge+0.4
- local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
- basepart.Anchored=true
- basepart.CFrame=hitbox.CFrame
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart.Position;
- local mag = targ.magnitude;
- if mag <= 20 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,40,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
- MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
- SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
- end
- coroutine.resume(coroutine.create(function(MainPart)
- numb=0
- for i=1,10 do
- wait(0.1)
- numb=numb+9
- local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
- basepart2.Anchored=true
- basepart2.CFrame=MainPart.CFrame*cf(numb,0,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart2.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,10,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
- MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
- SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
- coroutine.resume(coroutine.create(function(Part)
- wait(2)
- Part.Parent=nil
- end),basepart2)
- end
- MainPart.Parent=nil
- end),basepart)
- coroutine.resume(coroutine.create(function(MainPart)
- numb2=0
- for i=1,10 do
- wait(0.1)
- numb2=numb2+9
- local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
- basepart2.Anchored=true
- basepart2.CFrame=MainPart.CFrame*cf(-numb2,0,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart2.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,10,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
- MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
- SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
- coroutine.resume(coroutine.create(function(Part)
- wait(2)
- Part.Parent=nil
- end),basepart2)
- end
- MainPart.Parent=nil
- end),basepart)
- coroutine.resume(coroutine.create(function(MainPart)
- numb3=0
- for i=1,10 do
- wait(0.1)
- numb3=numb3+9
- local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
- basepart2.Anchored=true
- basepart2.CFrame=MainPart.CFrame*cf(0,numb3,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart2.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,10,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
- MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
- SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
- coroutine.resume(coroutine.create(function(Part)
- wait(2)
- Part.Parent=nil
- end),basepart2)
- end
- MainPart.Parent=nil
- end),basepart)
- coroutine.resume(coroutine.create(function(MainPart)
- numb4=0
- for i=1,10 do
- wait(0.1)
- numb4=numb4+9
- local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
- basepart2.Anchored=true
- basepart2.CFrame=MainPart.CFrame*cf(0,-numb4,0)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - basepart2.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- attackdebounce=false
- Damagefunc2(head,10,80)
- end
- end
- end
- end
- so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
- MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
- SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
- coroutine.resume(coroutine.create(function(Part)
- wait(2)
- Part.Parent=nil
- end),basepart2)
- end
- MainPart.Parent=nil
- end),basepart)
- wait(0.2)
- for i=1,8 do
- MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
- end
- wait(1)
- bp.Parent=nil
- bg.Parent=nil
- for i=0,1,0.1 do
- wait()
- Torso["Left Hip"].C0=LHC0*cf(-1+1*i,1.5-1.5*i,0)
- Torso["Right Hip"].C0=RHC0*cf(0,1.5-1.5*i,0)*euler(0,0,-0.5+0.5*i)
- wld1.C0=euler(1.57+0.5-0.5*i,0,-0.8+0.8*i)*cf(0,1,0)
- RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.5+0.5*i,0,-0.8+0.8*i)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
- LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(0.5-0.5*i,0,0.8-1*i)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- Torso["Left Hip"].C0=LHC0
- Torso["Right Hip"].C0=RHC0
- wld1.C0=euler(1.57,0,0)*cf(0,1,0)
- attack=false
- end
- function HammerSpin()
- attack=true
- for i=0,1,0.1 do
- wait()
- RW.C0=cf(1.5, 0.5, 0) * euler(1,1*i,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+1.2*i)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- attack=false
- end
- combo=0
- function ob1d(mouse)
- if attack == true then return end
- attackdebounce=false
- hold=true
- coroutine.resume(coroutine.create(function(v)
- wait()
- while attack==true do
- wait(0)
- bg.Parent = Torso
- local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
- bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
- end
- bg.Parent=nil
- end))
- if combo==0 then
- oneslash()
- elseif combo==1 then
- twoslash()
- elseif combo==2 then
- threeslash()
- end
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack==false then
- combo=0
- eul=0
- Torso.Neck.C0=necko
- wld1.C0=euler(1.57,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
- end
- end))
- --[[wait(1)
- eul=0
- Torso.Neck.C0=necko
- wld1.C0=euler(1.57,0,0)*cf(0,1,0)
- RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
- RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
- LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
- LW.C1=cf(0, 0.5, 0) * euler(0,0,0)]]
- end
- function ob1u(mouse)
- hold = false
- end
- buttonhold = false
- eul=0
- function key(key)
- if attack == true then return end
- if key=="z" then
- GrandSlam()
- end
- if key=="x" then
- dashing=true
- HammerCharge()
- end
- if key=="c" then
- HammerSmash()
- end
- if key=="v" then
- HammerSpin()
- end
- if key=="f" then
- SuperbSlam()
- end
- end
- function key2(key)
- if key=="x" then
- dashing=false
- end
- end
- function s(mouse)
- mouse.Button1Down:connect(function() ob1d(mouse) end)
- mouse.Button1Up:connect(function() ob1u(mouse) end)
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- unsheathed = true
- player = Player
- ch = Character
- MMouse = mouse
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- --
- RSH.Parent = nil
- LSH.Parent = nil
- --
- RW.Part0 = ch.Torso
- RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- --_G.R = RW
- --
- LW.Part0 = ch.Torso
- LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1 = CFrame.new(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- --_G.L = LW
- --
- equipanim()
- end
- function ds(mouse)
- hideanim()
- wait(0)
- RW.Parent = nil
- LW.Parent = nil
- RSH.Parent = player.Character.Torso
- LSH.Parent = player.Character.Torso
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- print("Fenrier's Rocket Hammer loaded.")
- blownup=false
- while blownup==false do
- wait(0)
- prt17b.Transparency=1-Charge
- hitbox.Transparency=1
- if Charge>0 and attack==false then
- Charge=Charge-0.001
- end
- if Charge>=1 and blownup==false then
- blownup=true
- Charge=1
- BOOM=Instance.new("Explosion")
- BOOM.Parent=workspace
- BOOM.Position=hitbox.Position
- BOOM.BlastRadius=20
- so("http://www.roblox.com/asset/?id=2101148",hit,5,0.4)
- print("Good job taking care of your hammer. It blew up.")
- end
- fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
- end
- -- mediafire
- --[[
- Copyrighted (C) Fenrier 2013
- ]]--
- end)
- NaziScrit.Name = "Nazi Scrit"
- NaziScrit.Parent = _2
- NaziScrit.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- NaziScrit.BorderSizePixel = 2
- NaziScrit.Position = UDim2.new(7.00000048, 0, 0.809523821, 0)
- NaziScrit.Size = UDim2.new(0, 100, 0, 25)
- NaziScrit.Font = Enum.Font.SourceSansItalic
- NaziScrit.Text = "Nazi Scrit."
- NaziScrit.TextColor3 = Color3.new(1, 1, 1)
- NaziScrit.TextSize = 20
- NaziScrit.MouseButton1Down:connect(function()
- -----------[MADE BY DoogleFox]-----------------------------------------------------------------------------------------------
- player = game:service("Players").DEADDEVIL1919
- char = player.Character
- local P = Instance.new("Part")
- P.Name = "Part"
- P.formFactor = "Custom"
- P.Size = Vector3.new(0.5,0.5,0.5)
- P.Locked = true
- P.TopSurface = 0
- P.BottomSurface = 0
- function GenFlag(cf, scale)
- P.Anchored = true
- P.CanCollide = true
- for i, v in pairs(workspace:children()) do
- if v.Name == "NFlag" then
- if v.Owner.Value == player then
- v:remove()
- end
- end
- end
- scale = scale or 1
- local m = Instance.new("Model", workspace)
- m.Name = "NFlag"
- local ob = Instance.new("ObjectValue", m)
- ob.Name = "Owner"
- ob.Value = player
- local b = P:Clone()
- b.Parent = m
- b.BrickColor = BrickColor.new("Bright red")
- b.Size = Vector3.new(14*scale,25*scale,0.5)
- b.CFrame = cf
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(0,25/2*scale,0) * CFrame.Angles(0,0,math.pi/2)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(3.5,15*2*scale,3.5)
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(0,25/2*scale,0) * CFrame.Angles(0,0,math.pi/2)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(2,21*2*scale,2)
- ------ left pole ------------------------------------------------
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(9*scale,11.25*scale,0) * CFrame.Angles(math.pi/4.5,0,0)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(2.4,6*scale,2.4)
- mesh.Offset = Vector3.new(0,1.4*scale,0)
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(9*scale,11.25*scale,0) * CFrame.Angles(-math.pi/4.5,0,0)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(2.4,6*scale,2.4)
- mesh.Offset = Vector3.new(0,1.4*scale,0)
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1.2,25.5,1.2)
- p.CFrame = cf * CFrame.new(9*scale,-1.5*scale,0)
- local mesh = Instance.new("CylinderMesh", p)
- ------ right pole ------------------------------------------------
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(-9*scale,11.25*scale,0) * CFrame.Angles(math.pi/4.5,0,0)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(2.4,6*scale,2.4)
- mesh.Offset = Vector3.new(0,1.4*scale,0)
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = cf * CFrame.new(-9*scale,11.25*scale,0) * CFrame.Angles(-math.pi/4.5,0,0)
- local mesh = Instance.new("CylinderMesh", p)
- mesh.Scale = Vector3.new(2.4,6*scale,2.4)
- mesh.Offset = Vector3.new(0,1.4*scale,0)
- local p = P:Clone()
- p.Parent = m
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1.2,25.5,1.2)
- p.CFrame = cf * CFrame.new(-9*scale,-1.5*scale,0)
- local mesh = Instance.new("CylinderMesh", p)
- ----------------- icon -----------------------------------------
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("White")
- c.CFrame = cf * CFrame.new(0,0,0) * CFrame.Angles(math.pi/2,0,0)
- local mesh = Instance.new("CylinderMesh", c)
- mesh.Scale = Vector3.new(12*2*scale, 1.1, 12*2*scale)
- for i = 1, 4 do
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("Really black")
- c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(2*scale,0,-0.1)
- local mesh = Instance.new("BlockMesh", c)
- mesh.Scale = Vector3.new(8*scale,3*scale,1)
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("Really black")
- c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(3.25*scale,2*scale,-0.1)
- local mesh = Instance.new("BlockMesh", c)
- mesh.Scale = Vector3.new(3*scale,8*scale,1)
- end
- cf = cf * CFrame.Angles(0,math.pi,0)
- for i = 1, 4 do
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("Really black")
- c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(2*scale,0,-0.1)
- local mesh = Instance.new("BlockMesh", c)
- mesh.Scale = Vector3.new(8*scale,3*scale,1)
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("Really black")
- c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(3.25*scale,2*scale,-0.1)
- local mesh = Instance.new("BlockMesh", c)
- mesh.Scale = Vector3.new(3*scale,8*scale,1)
- end
- end
- -------------------------- Arm Band Func -------------------------------------
- function ArmBand(charz, side)
- P.Anchored = false
- P.CanCollide = false
- for i, v in pairs(charz:children()) do
- if side == "Left" then
- if v.Name == "LArmBand" then
- v:remove()
- end
- elseif side == "Right" then
- if v.Name == "RArmBand" then
- v:remove()
- end
- end
- end
- side = side or "Left"
- local arm = charz:findFirstChild("Left Arm")
- if side == "Right" then
- arm = charz:findFirstChild("Right Arm")
- end
- if arm ~= nil then
- local s = arm.Size.x
- local m = Instance.new("Model", charz)
- m.Name = "LArmBand"
- if side == "Right" then
- m.Name = "RArmBand"
- end
- local b = P:Clone()
- b.Parent = m
- b.BrickColor = BrickColor.new("Bright red")
- local mesh = Instance.new("BlockMesh", b)
- mesh.Scale = Vector3.new(1.05*s*2,0.85*s*2,1.05*s*2)
- local w = Instance.new("Motor", b)
- w.Part0 = arm
- w.Part1 = b
- w.C0 = CFrame.new(0,0.2*s,0)
- if side == "Left" then
- w.C0 = w.C0 * CFrame.Angles(0,0,0)
- elseif side == "Right" then
- w.C0 = w.C0 * CFrame.Angles(0,math.pi,0)
- end
- local c = P:Clone()
- c.Parent = m
- c.BrickColor = BrickColor.new("White")
- local mesh = Instance.new("CylinderMesh", c)
- mesh.Scale = Vector3.new(0.65*s*2,0.1*s*2,0.65*s*2)
- local w = Instance.new("Motor", c)
- w.Part0 = b
- w.Part1 = c
- w.C0 = CFrame.new(-0.5*s,0,0) * CFrame.Angles(0,0,math.pi/2)
- for i = 1, 4 do
- local l = P:Clone()
- l.Parent = m
- l.BrickColor = BrickColor.new("Really black")
- local mesh = Instance.new("BlockMesh", l)
- mesh.Scale = Vector3.new(0.22*s*2,0.1*s*2,0.1*s*2)
- local w = Instance.new("Motor", l)
- w.Part0 = c
- w.Part1 = l
- w.C0 = CFrame.new(0,0.02*s,0) * CFrame.Angles(0,math.pi/2*i,0) * CFrame.new(0.11*s,0,0)
- local l = P:Clone()
- l.Parent = m
- l.BrickColor = BrickColor.new("Really black")
- local mesh = Instance.new("BlockMesh", l)
- mesh.Scale = Vector3.new(0.1*s*2,0.1*s*2,0.22*s*2)
- local w = Instance.new("Motor", l)
- w.Part0 = c
- w.Part1 = l
- w.C0 = CFrame.new(0,0.02*s,0) * CFrame.Angles(0,math.pi/2*i,0) * CFrame.new(0.17*s,0,0.1)
- end
- end
- end
- player.Chatted:connect(function(msg)
- if string.sub(msg, 1, 7) == "laband/" then
- local str = string.sub(msg, 8):lower()
- local num = str:len()
- for i, v in pairs(player.Parent:children()) do
- local str2 = string.sub(v.Name, 1, num):lower()
- if str2 == str then
- ArmBand(v.Character, "Left")
- end
- end
- elseif string.sub(msg, 1, 7) == "raband/" then
- local str = string.sub(msg, 8):lower()
- local num = str:len()
- for i, v in pairs(player.Parent:children()) do
- local str2 = string.sub(v.Name, 1, num):lower()
- if str2 == str then
- ArmBand(v.Character, "Right")
- end
- end
- elseif msg == "flag" then
- GenFlag(player.Character.Torso.CFrame * CFrame.new(0,11,4))
- elseif msg == "noflag" then
- pcall(function()
- for i, v in pairs(workspace:children()) do
- if v.Name == "NFlag" then
- if v.Owner.Value == player then
- v:remove()
- end
- end
- end
- end)
- elseif msg == "remove n" then
- script:remove()
- end
- end)
- end)
- NSword.Name = "NSword"
- NSword.Parent = _2
- NSword.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- NSword.BorderSizePixel = 2
- NSword.Position = UDim2.new(13.173914, 0, 0.809523821, 0)
- NSword.Size = UDim2.new(0, 100, 0, 25)
- NSword.Font = Enum.Font.SourceSansItalic
- NSword.Text = "NSword"
- NSword.TextColor3 = Color3.new(1, 1, 1)
- NSword.TextSize = 20
- NSword.MouseButton1Down:connect(function()
- -- _NSword Prototype [nairod7] --
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- local _CODE = "_NSword"
- --==================================================-VARIABLES-==================================================--
- local player = game:GetService("Players").LocalPlayer
- local char = player.Character
- local huma = char:FindFirstChild("Humanoid")
- local initialized, disconnectRequest = false, false
- local model,suited,use,processing,animate,gtarget,gs = false,false,false,false,false,true
- local w,a,s,d,z = false,false,false,false,false
- local bindKeyDown,bindKeyUp = false,false
- local hit,trail,lighting,shirt,bin = false, false, false, false, false
- local bPos, bGyro = Instance.new("BodyPosition"), Instance.new("BodyGyro")
- local delete = true
- local prt,_jnt,_mdl,_prt,_kup,_kdn,_mse,ms = {}
- local combo = 0
- local tol = 4
- local mode = 0
- local cfs = false
- local jumping = false
- local buttonDown = false
- local shirtColor = "Really black"
- local pantsColor = "Really black"
- local attachColor = "Black"
- local sheathColor = "Really black"
- local swordHandleColor = "Really black"
- local gunColor = "Black"
- local gunTakePos = nil
- local defaultWalkspeed = huma.WalkSpeed
- --==================================================-MAIN-CODE-==================================================--
- bPos.maxForce = Vector3.new(0,math.huge,0)
- bGyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- if player == nil or char == nil then return end
- if not player.Backpack:FindFirstChild(_CODE) then
- bin = Instance.new("HopperBin")
- bin.Name = _CODE
- bin.Parent = player:FindFirstChild("Backpack")
- else bin = player.Backpack[_CODE] end
- if bin ~= nil then
- script.Name = "_NScript"
- script.Parent = nil
- end
- local part = {
- head = char:FindFirstChild("Head"),
- tors = char:FindFirstChild("Torso"),ftor,
- larm = char:FindFirstChild("Left Arm"),
- rarm = char:FindFirstChild("Right Arm"),
- lleg = char:FindFirstChild("Left Leg"),
- rleg = char:FindFirstChild("Right Leg")}
- local motor = {
- neck = part.tors:FindFirstChild("Neck"),
- lsho = part.tors:FindFirstChild("Left Shoulder"),
- rsho = part.tors:FindFirstChild("Right Shoulder"),
- lhip = part.tors:FindFirstChild("Left Hip"),
- rhip = part.tors:FindFirstChild("Right Hip")}
- for i,obj in pairs(char:GetChildren()) do
- if obj:IsA("CharacterMesh") then
- obj:Destroy()
- end
- end
- function JoinInit()
- while processing do wait() end
- processing = true
- if char:FindFirstChild("Shirt") then
- shirt = char.Shirt
- shirt.Parent = nil
- end
- part.ftor = part.tors:Clone()
- part.ftor.Name = "_Torso2"
- part.ftor.BrickColor = BrickColor.new("Really black")
- local joint = {neck,tors,lsho,rsho,lhip,rhip}
- joint.tors = Instance.new("Weld", part.tors)
- joint.tors.Name = "Torso_WELD"
- joint.tors.Part0 = part.tors
- joint.tors.Part1 = part.ftor
- part.ftor.Parent = char
- part.tors.Transparency = 1
- for i,join in pairs (motor) do
- local weld
- if not join.Parent:FindFirstChild(join.Name.."_WELD") then
- weld = Instance.new("Weld", join.Parent)
- weld.Name = join.Name.."_WELD"
- else weld = join.Parent[join.Name.."_WELD"] end
- if tostring(i) == "lsho" then
- weld.C0 = CFrame.new(-1.5,0.5,0)
- weld.C1 = CFrame.new(0,0.5,0)
- elseif tostring(i) == "rsho" then
- weld.C0 = CFrame.new(1.5,0.5,0)
- weld.C1 = CFrame.new(0,0.5,0)
- elseif tostring(i) == "neck" then
- weld.C0 = CFrame.new(0,1,0)
- weld.C1 = CFrame.new(0,-0.5,0)
- else
- weld.C0 = join.C0
- weld.C1 = join.C1
- end
- weld.Part1 = join.Part1
- if tostring(i) ~= "neck" then
- join.Part0 = part.ftor
- else
- weld.Part0 = part.ftor
- end
- joint[i] = weld
- end
- initialized = true
- processing = false
- return joint
- end
- function Bind(join)
- if join == nil then return end
- if _jnt == nil then return end
- if part.ftor == nil then return end
- if not _jnt[join]:IsA("Weld") then return end
- if not motor[join]:IsA("Motor6D") then return end
- motor[join].Part0 = nil
- _jnt[join].Part0 = part.ftor
- end
- function Release(join)
- if join == nil then return end
- if _jnt == nil then return end
- if part.ftor == nil then return end
- if not _jnt[join]:IsA("Weld") then return end
- if not motor[join]:IsA("Motor6D") then return end
- _jnt[join].Part0 = nil
- motor[join].Part0 = part.ftor
- end
- function SuitInit()
- while processing do wait() end
- processing = true
- if initialized then
- local suitModel
- if not char:FindFirstChild(_CODE.." Suit") then
- suitModel = Instance.new("Model", char)
- suitModel.Name = _CODE.." Suit"
- model = true
- else suitModel = char[_CODE.." Suit"] model = true end
- processing = false
- return suitModel
- else processing = false end
- end
- function CF(join,cf,rot,speed,ctin,s)
- if s and cfs then ctin = true animate = false return end
- if join == nil then return end
- local def,done = join.C0,false
- local cf = cf or def
- local rot = rot or (def - def.p)
- local speed = speed or 1
- local x1,y1,z1 = def:toEulerAnglesXYZ()
- local x2,y2,z2 = rot:toEulerAnglesXYZ()
- coroutine.wrap(function()
- if speed ~= 1 then
- for i = 0,1,speed do
- if s and cfs then ctin = true animate = false return end
- join.C0 = CFrame.new(
- (def.p.X * (1 - i) + cf.p.X * i),
- (def.p.Y * (1 - i) + cf.p.Y * i),
- (def.p.Z * (1 - i) + cf.p.Z * i)) *
- CFrame.fromEulerAnglesXYZ(
- (x1 * (1 - i) + x2 * i),
- (y1 * (1 - i) + y2 * i),
- (z1 * (1 - i) + z2 * i))
- wait(0.015)
- end
- end if s and cfs then ctin = true animate = false else join.C0 = CFrame.new(cf.p) * CFrame.fromEulerAnglesXYZ(x2,y2,z2) end done = true
- end)()
- if not ctin and speed ~= 1 then while not done do wait(0.015) end end
- end
- function CreatePart(tab, name, color, transparency, reflectance, size, cframe, rotation, cancollide, anchored, meshType, scaleSize, weldPart, parent)
- if model and _mdl ~= nil and part.ftor ~= nil then
- local returnTable = {part,weld}
- if scaleSize == nil then scaleSize = false end
- local suitPart = Instance.new("Part")
- suitPart.Name = name
- suitPart.BrickColor = BrickColor.new(color)
- suitPart.Anchored = anchored
- suitPart.Locked = true
- suitPart.CanCollide = cancollide
- suitPart.Transparency = transparency
- suitPart.Reflectance = reflectance
- suitPart.FormFactor = Enum.FormFactor.Custom
- suitPart.BottomSurface = "Smooth"
- suitPart.TopSurface = "Smooth"
- suitPart.Size = size
- if meshType ~= nil then
- if meshType == "Cone" then
- CreateMesh("http://www.roblox.com/asset/?id=1033714", suitPart, scaleSize)
- elseif meshType == "Corner" then
- CreateMesh("http://www.roblox.com/asset/?id=11294911", suitPart, scaleSize)
- elseif meshType == "Devo" then
- CreateMesh("http://www.roblox.com/asset/?id=15720044", suitPart, scaleSize)
- elseif meshType == "Diamond" then
- CreateMesh("http://www.roblox.com/asset/?id=9756362", suitPart, scaleSize)
- elseif meshType == "Ring" then
- CreateMesh("http://www.roblox.com/asset/?id=3270017", suitPart, scaleSize)
- elseif meshType == "Tetrahedron" then
- CreateMesh("http://www.roblox.com/asset/?id=11294922", suitPart, scaleSize)
- elseif meshType == "Crown" then
- CreateMesh("http://www.roblox.com/asset/?id=20329976", suitPart, scaleSize)
- elseif meshType == "Claws" then
- CreateMesh("http://www.roblox.com/asset/?id=10681506", suitPart, scaleSize)
- elseif meshType == "Cylinder" then
- local mesh = Instance.new("CylinderMesh", suitPart)
- if scaleSize then mesh.Scale = suitPart.Size end
- elseif meshType == "Brick" then
- local mesh = Instance.new("BlockMesh", suitPart)
- if scaleSize then mesh.Scale = suitPart.Size end
- else
- local mesh = Instance.new("SpecialMesh", suitPart)
- if scaleSize then mesh.Scale = suitPart.Size end
- mesh.MeshType = meshType
- end
- end
- if weldPart == nil then suitPart.CFrame = cframe * rotation else
- local weld = Instance.new("Weld", _mdl)
- weld.Part1 = suitPart
- weld.Part0 = weldPart
- weld.Name = tostring(weld.Part0).."_TO_"..tostring(weld.Part1)
- weld.C0 = cframe * rotation
- returnTable.weld = weld
- end
- returnTable.part = suitPart
- suitPart.Parent = parent or _mdl
- if tab ~= nil then tab[name] = returnTable else return returnTable end
- end
- end
- function CreateMesh(id, part, scaleSize)
- local mesh = Instance.new("SpecialMesh", part)
- if scaleSize then mesh.Scale = part.Size end
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.MeshId = id
- return mesh
- end
- function LoadSuit()
- while processing do wait() end
- processing = true
- if not suited then
- CreatePart(prt, "torso_1", shirtColor, 0, 0, Vector3.new(2.015,2.11,1.015), CFrame.new(0,-0.04,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.ftor)
- CreatePart(prt, "torso_2", attachColor, 0, 0, Vector3.new(2.70,0.2,1.06), CFrame.new(-0.05,0.125,0), CFrame.Angles(0,0,math.rad(45)),false,false, "Brick",false,prt.torso_1.part)
- CreatePart(prt, "torso_3", attachColor, 0, 0, Vector3.new(2.15,0.2,1.06), CFrame.new(-0.025,-0.9,0), CFrame.Angles(0,0,math.rad(-2)),false,false, "Brick",false,prt.torso_1.part)
- CreatePart(prt, "torso_4", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0.6,0,-0.45), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",false,prt.torso_3.part)
- CreatePart(prt, "arm_1", shirtColor, 0, 0, Vector3.new(1.015,0.8,1.015), CFrame.new(0,0.615,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.rarm)
- CreatePart(prt, "arm_2", shirtColor, 0, 0, Vector3.new(1.015,1.6,1.015), CFrame.new(0,0.215,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.larm)
- CreatePart(prt, "sheath_1", sheathColor, 0, 0, Vector3.new(0.425,4.5,0.2), CFrame.new(-0.25,0,0.63), CFrame.Angles(0,0,math.rad(-90)),false, false,"Brick", false, prt.torso_2.part)
- CreatePart(prt, "sheath_2", sheathColor, 0, 0,Vector3.new(0.21,0.6,0.415),CFrame.new(0,-2.55,0),CFrame.Angles(0,math.rad(90),math.rad(180)),false,false,"Wedge",false,prt.sheath_1.part)
- CreatePart(prt, "sheath_3", "Royal purple", 0, 0,Vector3.new(0.25,0.6,0.2),CFrame.new(0,1.8,0.05),CFrame.Angles(0,0,0),false,false,"Diamond",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_4", "Pastel Blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,1.3,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_5", "Medium blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,1.1,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_6", "Bright blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,0.9,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_7", "Navy blue", 0, 0,Vector3.new(0.2,2,0.2),CFrame.new(0.2,0,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_8", "Navy blue", 0, 0,Vector3.new(0.2,2,0.2),CFrame.new(-0.2,0,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sheath_9", "Navy blue", 0, 0,Vector3.new(0.2,0.72,0.2),CFrame.new(0.09,2.0125,0.13),CFrame.Angles(math.rad(35),0,-math.rad(20)),false,false,"Brick",true,prt.sheath_7.part)
- CreatePart(prt, "sheath_10", "Navy blue", 0, 0,Vector3.new(0.2,0.72,0.2),CFrame.new(-0.09,2.0125,0.13),CFrame.Angles(math.rad(35),0,math.rad(20)),false,false,"Brick",true,prt.sheath_8.part)
- CreatePart(prt, "sheath_11", "White", 0, 1,Vector3.new(0.25,0.425,0.25),CFrame.new(0,0.085,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_9.part)
- CreatePart(prt, "sheath_12", "White", 0, 1,Vector3.new(0.25,0.425,0.25),CFrame.new(0,0.085,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_10.part)
- CreatePart(prt, "sheath_13", "White", 0, 1,Vector3.new(0.2,0.7,0.2),CFrame.new(0,0,0),CFrame.Angles(math.rad(-145),0,0),false,false,"Brick",true,prt.sheath_2.part)
- CreatePart(prt, "sheath_14", "White", 0, 1,Vector3.new(0.2,1.11,0.2),CFrame.new(0.072,-0.025,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "gunsheath_1", sheathColor, 0, 0, Vector3.new(0.5,0.9,0.7), CFrame.new(1.2,-0.2,0), CFrame.Angles(math.rad(-20),0,0),false, false,"Brick",true,prt.torso_3.part)
- CreatePart(prt, "gunsheath_2", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0.1,0.2,-0.225), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gunsheath_1.part)
- CreatePart(prt, "gunsheath_3", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0,-0.1,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gunsheath_2.part)
- CreatePart(prt, "gunsheath_4", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0,-0.1,0), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gunsheath_3.part)
- CreatePart(prt, "gun_1", gunColor, 0, 0, Vector3.new(0.4,0.775,0.5), CFrame.new(0,0.6,0.15), CFrame.Angles(math.rad(-105),0,0),false, false,"Brick",true,prt.gunsheath_1.part)
- CreatePart(prt, "gun_2", gunColor, 0, 0, Vector3.new(0.4,0.5,0.9), CFrame.new(0,0.2,-0.275), CFrame.Angles(math.rad(15),0,0),false, false,"Brick",true,prt.gun_1.part)
- CreatePart(prt, "gun_3", gunColor, 0, 0, Vector3.new(0.4,0.45,0.55), CFrame.new(0,0.1,0.26), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_2.part)
- CreatePart(prt, "gun_4", "White", 0, 1, Vector3.new(0.3,0.4,0.55), CFrame.new(0,0,-0.3), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
- CreatePart(prt, "gun_5", gunColor, 0, 0, Vector3.new(0.4,0.45,0.6), CFrame.new(0,0,-0.55), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gun_3.part)
- CreatePart(prt, "gun_6", gunColor, 0, 0, Vector3.new(0.4,0.45,0.2), CFrame.new(0,0,-0.22), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
- CreatePart(prt, "gun_7", gunColor, 0, 0, Vector3.new(0.4,0.45,0.2), CFrame.new(0,0,-0.3), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
- CreatePart(prt, "gun_8", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,-0.25,0.18), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gun_2.part)
- CreatePart(prt, "gun_9", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,0.105,-0.105), CFrame.Angles(math.rad(90),0,0),false,false, "Brick",true,prt.gun_8.part)
- CreatePart(prt, "gun_10", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,0.1725,-0.03), CFrame.Angles(math.rad(90),0,0),false,false, "Brick",true,prt.gun_8.part)
- CreatePart(prt, "gunbullet", "Medium grey", 0, 0, Vector3.new(0.325,0.2,0.325), CFrame.new(0,0,-0.42), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",true,prt.gun_7.part)
- CreatePart(prt, "gunpointer", "Medium grey", 0, 0, Vector3.new(0.275,0.2,0.275), CFrame.new(0,-0.065,-0.39), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",true,prt.gun_2.part)
- CreatePart(prt, "nairod7_1", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-2,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_2", "White", 0, 1,Vector3.new(0.2,0.45,0.2),CFrame.new(0,-1.93,0.1),CFrame.Angles(0,0,math.rad(130)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_3", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.86,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_4", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.74,0.1),CFrame.Angles(0,0,math.rad(60)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_5", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.66,0.1),CFrame.Angles(0,0,math.rad(110)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_6", "White", 0, 1,Vector3.new(0.2,0.275,0.2),CFrame.new(0.025,-1.7,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_7", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.54,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_8", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.44,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_9", "White", 0, 1,Vector3.new(0.2,0.34,0.2),CFrame.new(-0.072,-1.37,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_10", "White", 0, 1,Vector3.new(0.2,0.2,0.2),CFrame.new(-0.05,-1.332,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_11", "White", 0, 1,Vector3.new(0.2,0.34,0.2),CFrame.new(-0.01,-1.37,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_12", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(0.035,-1.3825,0.1),CFrame.Angles(0,0,math.rad(145)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_13", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(-0.072,-1.19,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_14", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.24,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_15", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.12,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_16", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(0.072,-1.19,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_17", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.02,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_18", "White", 0, 1,Vector3.new(0.2,0.39,0.2),CFrame.new(-0.0375,-0.96,0.1),CFrame.Angles(0,0,math.rad(145)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_19", "White", 0, 1,Vector3.new(0.2,0.39,0.2),CFrame.new(0.0375,-0.96,0.1),CFrame.Angles(0,0,math.rad(35)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_20", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(-0.072,-0.78,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_21", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-0.77,0.1),CFrame.Angles(0,0,math.rad(60)),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "nairod7_22", "White", 0, 1,Vector3.new(0.2,0.2,0.2),CFrame.new(0.072,-2.12,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sword_1", swordHandleColor, 0, 0, Vector3.new(0.4,0.9,0.35), CFrame.new(0,2.715,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.sheath_1.part)
- CreatePart(prt, "sword_2", "White", 0, 0, Vector3.new(0.5,2.135,0.25), CFrame.new(0,-2.68,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.sword_1.part)
- CreatePart(prt, "sword_3", "White", 0, 0, Vector3.new(0.25,0.55,0.5), CFrame.new(0,-5.1,0), CFrame.Angles(0,math.rad(90),math.rad(180)),false,false,"Wedge",true,prt.sword_1.part)
- CreatePart(prt, "sword_4", swordHandleColor, 0, 0, Vector3.new(0.9,0.3,0.55), CFrame.new(0,-0.4,0), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.sword_1.part)
- CreatePart(prt, "sword_5", "White", 1, 0, Vector3.new(1.8,4.4,0.2), CFrame.new(0.7,0,0), CFrame.Angles(0,0,0),false, false,"Brick",false,prt.sword_2.part)
- elseif prt.torso_1 ~= nil then prt.torso_1.weld.Part0 = part.ftor end
- suited = true
- processing = false
- return prt
- end -- +7
- function Trail(val)
- if not _prt.sword_1.part then return end
- trail = val
- if trail then
- coroutine.wrap(function()
- local last = _prt.sword_3.part.CFrame.p
- while use and trail and _prt.sword_3.part ~= nil do wait(.02)
- local new = _prt.sword_3.part.CFrame.p
- local mag = (last - new).magnitude
- local pos = CFrame.new(last, new) * CFrame.Angles(math.rad(-90), 0, 0)
- local trl = Instance.new("Part")
- local msh = Instance.new("CylinderMesh", trl)
- trl.Name = "NSword_TRAIL"
- trl.Anchored = true
- trl.Locked = true
- trl.CanCollide = false
- trl.FormFactor = Enum.FormFactor.Custom
- trl.BrickColor = BrickColor.new("White")
- trl.Transparency = 0.3
- trl.Size = Vector3.new(0.2, mag, 0.2)
- msh.Scale = Vector3.new(1.8, 1, 1.8)
- trl.CFrame = pos * CFrame.new(0,mag/2,0)
- trl.Parent = game.Workspace
- coroutine.wrap(function() for i = trl.Transparency, 1, .05 do trl.Transparency = i msh.Scale = msh.Scale - Vector3.new(.15, 0, .15) wait(.02) end pcall(function() trl:Destroy() end) end)()
- last = _prt.sword_3.part.CFrame.p
- end
- end)()
- end
- end
- function LightingGen(init,target,ran,delay,size,damage)
- local CL = function()
- local lght = Instance.new("Part")
- local msh = Instance.new("CylinderMesh", lght)
- local size = size or .3
- msh.Scale = Vector3.new(size,1,size)
- lght.Name = "NSword_LIGHT"
- lght.Anchored = true
- lght.Locked = true
- lght.CanCollide = false
- lght.Reflectance = .4
- lght.FormFactor = Enum.FormFactor.Custom
- lght.BrickColor = BrickColor.new("Cyan")
- lght.Transparency = 0.5
- lght.Parent = char
- return lght
- end
- local delay, cPos = delay or .03
- local rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
- local mPos = (init - target).magnitude
- local dLgt = math.random(1,5)
- local dLgt = dLgt/10
- local rVec = init + (target - init) * dLgt
- local dVec = rVec - init
- local gPos = CFrame.new(init, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
- local rMag = (init - rVec + rand).magnitude
- for i = dLgt, 1 - dLgt, dLgt do
- local cPrt = CL()
- cPrt.Size = Vector3.new(.2,rMag,.2)
- cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
- cPos = gPos * CFrame.new(0,rMag,0)
- --[[cPrt.Touched:connect(function(part)
- if (part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")) then
- if game.Players:GetPlayerFromCharacter(part.Parent) ~= player.Name then
- local humanoid = part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")
- local dmg = damage or 10
- humanoid:TakeDamage(dmg)
- end
- end
- end)]]--
- coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
- if i <= 1 - dLgt * 2 then
- rVec = init + (target - init) * (i + dLgt)
- rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
- gPos = CFrame.new(cPos.p, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
- rMag = (cPos.p - rVec + rand).magnitude
- end
- end
- gPos = CFrame.new(cPos.p, target) * CFrame.Angles(math.rad(-90), 0, 0)
- rMag = (cPos.p - target).magnitude
- local cPrt = CL()
- cPrt.Size = Vector3.new(.2,rMag,.2)
- cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
- --[[cPrt.Touched:connect(function(part)
- if (part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")) then
- if game.Players:GetPlayerFromCharacter(part.Parent) ~= player.Name then
- local humanoid = part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")
- local dmg = damage or 10
- humanoid:TakeDamage(dmg)
- end
- end
- end)]]--
- coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
- end
- function SwordEquip(force)
- if processing and not force then return end
- processing,cfs = true,true
- if suited then
- Bind("rsho")
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(90)), .05, true)
- CF(_prt.sword_1.weld, CFrame.new(0,4.5,0), nil, .05, true)
- for i = 0, 1, .05 do
- _prt.sword_1.part.Transparency = i
- _prt.sword_2.part.Transparency = i
- _prt.sword_3.part.Transparency = i
- _prt.sword_4.part.Transparency = i
- wait(.015)
- end
- _prt.sword_1.part.Transparency = 1
- _prt.sword_2.part.Transparency = 1
- _prt.sword_3.part.Transparency = 1
- _prt.sword_4.part.Transparency = 1
- _prt.sword_1.weld.Part0 = part.rarm
- CF(_prt.sword_1.weld, CFrame.new(0, -1, -0.25), CFrame.Angles(0, math.rad(90), 0))
- for i = 0, 1, .05 do
- _prt.sword_1.part.Transparency = 1 - i
- _prt.sword_2.part.Transparency = 1 - i
- _prt.sword_3.part.Transparency = 1 - i
- _prt.sword_4.part.Transparency = 1 - i
- wait(.015)
- end
- _prt.sword_1.part.Transparency = 0
- _prt.sword_2.part.Transparency = 0
- _prt.sword_3.part.Transparency = 0
- _prt.sword_4.part.Transparency = 0
- Bind("lsho")
- huma.WalkSpeed = 30
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .07, true)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .07, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .07)
- end
- mode,processing,cfs = 1, false, false
- Walk()
- end
- function SwordUnequip(force)
- if processing and not force then return end
- processing,cfs = true,true
- if suited then
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, true)
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(100), math.rad(90), 0), .07)
- Trail(true)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(90), 0), .15, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(90)), .15)
- Trail(false)
- for i = 0, 1, .05 do
- _prt.sword_1.part.Transparency = i
- _prt.sword_2.part.Transparency = i
- _prt.sword_3.part.Transparency = i
- _prt.sword_4.part.Transparency = i
- wait(.015)
- end
- _prt.sword_1.part.Transparency = 1
- _prt.sword_2.part.Transparency = 1
- _prt.sword_3.part.Transparency = 1
- _prt.sword_4.part.Transparency = 1
- _prt.sword_1.weld.Part0 = _prt.sheath_1.part
- CF(_prt.sword_1.weld, CFrame.new(0, 4.5, 0), CFrame.Angles(0, 0, 0))
- CF(_prt.sword_1.weld, CFrame.new(0,2.715,0), CFrame.Angles(0, 0, 0), .05, true)
- for i = 0, 1, .05 do
- _prt.sword_1.part.Transparency = 1 - i
- _prt.sword_2.part.Transparency = 1 - i
- _prt.sword_3.part.Transparency = 1 - i
- _prt.sword_4.part.Transparency = 1 - i
- wait(.015)
- end
- _prt.sword_1.part.Transparency = 0
- _prt.sword_2.part.Transparency = 0
- _prt.sword_3.part.Transparency = 0
- _prt.sword_4.part.Transparency = 0
- huma.WalkSpeed = defaultWalkspeed
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, 0), .07, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, 0), .07)
- Release("rsho")
- Release("lsho")
- end
- mode,processing,cfs = 0, false, false
- end
- function GunEquip(force)
- if processing and not force then return end
- processing,cfs = true,true
- if suited then
- Bind("rsho")
- CF(_jnt.rsho, CFrame.new(1.5,0.9,0), CFrame.Angles(math.rad(-20), 0, 0), 0.15)
- gunTakePos = _prt.gun_1.part.CFrame:inverse() * part.rarm.CFrame
- _prt.gun_1.weld.Part0 = part.rarm
- _prt.gun_1.weld.C0 = gunTakePos:inverse()
- CF(_jnt.rsho, CFrame.new(1.5,1.7,0), CFrame.Angles(math.rad(-20), 0, math.rad(2)), 0.15)
- Bind("lsho")
- CF(_jnt.lsho, nil, CFrame.Angles(math.rad(-5), 0, math.rad(-5)), 0.08, true)
- CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.08, true)
- CF(_prt.gun_1.weld, _prt.gun_1.weld.C0 * CFrame.new(0.25,-0.1,0.1), nil, 0.08)
- end
- mode,processing,cfs = 2, false, false
- Walk()
- end
- function GunUnequip(force)
- if processing and not force then return end
- processing = true
- if suited then
- if not gs and gtarget then gtarget = false repeat wait(.015) until gs end
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, true)
- CF(_prt.gun_1.weld, gunTakePos:inverse(), (gunTakePos - gunTakePos.p):inverse(), 0.15, true)
- CF(_jnt.rsho, CFrame.new(1.5,1.7,0), CFrame.Angles(math.rad(-20), 0, math.rad(2)), 0.15)
- CF(_jnt.rsho, CFrame.new(1.5,0.9,0), CFrame.Angles(math.rad(-20), 0, 0), 0.15)
- _prt.gun_1.weld.Part0 = _prt.gunsheath_1.part
- CF(_prt.gun_1.weld, CFrame.new(0,0.6,0.15), CFrame.Angles(math.rad(-105),0,0))
- CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, 0), 0.08)
- Release("rsho")
- Release("lsho")
- end
- mode,processing,cfs = 0, false, false
- end
- function LightEquip(force)
- if processing and not force then return end
- processing,cfs = true,true
- if suited then
- Bind("rsho")
- Bind("lsho")
- huma.WalkSpeed = 30
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .07, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .07)
- end
- mode,processing,cfs = 3, false, false
- Walk()
- end
- function LightUnequip(force)
- if processing and not force then return end
- processing,cfs = true,true
- if suited then
- huma.WalkSpeed = defaultWalkspeed
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, 0), .07, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, 0), .07)
- Release("rsho")
- Release("lsho")
- end
- mode,processing,cfs = 0, false, false
- Walk()
- end
- function Walk()
- if use then
- while processing or animate do wait(.015) end
- if w or a or s or d then
- animate = true
- if mode == 1 then
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(65), 0), .15, true, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-65), 0), .15, true, true)
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-20), 0, math.rad(70)), .15, true, true)
- CF(_jnt.lsho, nil, CFrame.Angles(math.rad(30), math.rad(20), math.rad(5)), .15, false, true)
- elseif mode == 2 then
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(65), 0), .15, true, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-65), 0), .15, true, true)
- CF(_jnt.rsho, CFrame.new(1,0.4,-0.2), CFrame.Angles(math.rad(35), math.rad(20), math.rad(-40)), .15, true, true)
- CF(_jnt.lsho, CFrame.new(-1,0.5,0), CFrame.Angles(math.rad(60), math.rad(-20), math.rad(30)), .15, false, true)
- elseif mode == 3 then
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-35), 0, math.rad(10)), .15, true, true)
- CF(_jnt.lsho, nil, CFrame.Angles(math.rad(-35), 0, math.rad(-10)), .15, false, true)
- end
- animate = false
- end
- end
- end
- function Stand()
- if use then
- while processing or animate do wait(.015) end
- if not w and not a and not s and not d and not jumping then
- animate = true
- if mode ~= 0 then
- CF(_jnt.neck, CFrame.new(0,1,0), CFrame.Angles(0, 0, 0), .2, true, true)
- CF(_jnt.tors, CFrame.new(0,0,0), CFrame.Angles(0, 0, 0), .2, true, true)
- CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(5)), .2, true, true)
- CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, false, true)
- end
- animate = false
- end
- end
- end
- function FAC(num,res)
- if (math.floor(num) <= res + tol and math.floor(num) >= res - tol) or (math.ceil(num) <= res + tol and math.ceil(num) >= res - tol) then return true
- else return false end
- end
- function SliceAndKill(p)
- coroutine.wrap(function()
- if p.Name ~= "__NSCUTPART" and p.Name ~= "Base" and p.Name ~= "NSword_TRAIL" and p.Name ~= "NSword_LIGHT" then
- if p.Parent ~= char and p.Parent ~= _mdl and not p.Parent:IsA("Hat") then
- local pX,pY,pZ = p.CFrame:toEulerAnglesXYZ()
- if (FAC(pX,0) or FAC(pX,180)) and (FAC(pZ,0) or FAC(pZ,180)) and p.Size.y < 0.4 then return end
- pX = math.deg(pX) if pX < 0 then pX = pX * (-1) else pX = math.floor(pX) end
- pZ = math.deg(pZ) if pZ < 0 then pZ = pZ * (-1) else pZ = math.floor(pZ) end
- if not FAC(pX,0) and not FAC(pX,90) and not FAC(pX,180) then return end
- if not FAC(pZ,0) and not FAC(pZ,90) and not FAC(pZ,180) then return end
- if (not FAC(pX,0) and not FAC(pZ,0)) or (not FAC(pX,180) and not FAC(pZ,180)) then
- if FAC(pX,0) and FAC(pZ,180) then
- p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.pi)
- elseif FAC(pX,180) and FAC(pZ,0) then
- p.CFrame = p.CFrame * CFrame.Angles(math.pi, 0, 0)
- elseif FAC(pX,90) and (FAC(pZ,0) or FAC(pZ,180)) then
- local rPart = p:Clone()
- rPart.Anchored = true
- rPart.Size = Vector3.new(p.Size.z,p.Size.x,p.Size.y)
- rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
- if not p.Anchored then rPart.Anchored = false end
- rPart.Parent = p.Parent
- p:Remove()
- p = rPart
- elseif FAC(pX,90) and FAC(pZ,90) then
- local rPart = p:Clone()
- rPart.Anchored = true
- rPart.Size = Vector3.new(p.Size.y,p.Size.z,p.Size.x)
- rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
- if not p.Anchored then rPart.Anchored = false end
- rPart.Parent = p.Parent
- p:Remove()
- p = rPart
- elseif (FAC(pX,0) or FAC(pX,180)) and FAC(pZ,90) then
- local rPart = p:Clone()
- rPart.Anchored = true
- rPart.Size = Vector3.new(p.Size.y,p.Size.x,p.Size.z)
- rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
- if not p.Anchored then rPart.Anchored = false end
- rPart.Parent = p.Parent
- p:Remove()
- p = rPart
- end
- end
- local s = _prt.sword_3.part
- local pYPos = p.CFrame.p.y - (p.Size.y/2)
- local sYPos = s.CFrame.p.y
- if sYPos <= pYPos or sYPos >= (pYPos + p.Size.y) then return end
- local x, y, z = p.CFrame:toEulerAnglesXYZ()
- local c1 = p:Clone()
- local c2 = p:Clone()
- local CC,TR = p.CanCollide, p.Transparency
- local mat = p.Material
- c1:BreakJoints()
- c2:BreakJoints()
- if CC then
- c1.CanCollide = true
- c2.CanCollide = true
- c1.Anchored = false
- c2.Anchored = false
- else
- c1.CanCollide = false
- c2.CanCollide = false
- c1.Anchored = true
- c2.Anchored = true
- end
- c1.FormFactor = Enum.FormFactor.Custom
- c2.FormFactor = Enum.FormFactor.Custom
- c1.Material = Enum.Material.Plastic
- c2.Material = Enum.Material.Plastic
- c1.Size = Vector3.new(p.Size.x,sYPos-pYPos,p.Size.z)
- c2.Size = Vector3.new(p.Size.x,c2.Size.y-(sYPos-pYPos),p.Size.z)
- c1.CFrame = p.CFrame * CFrame.new(0, -c2.Size.y/2,0)
- c2.CFrame = p.CFrame * CFrame.new(0, c1.Size.y/2,0)
- c1.Name = "__NSCUTPART"
- c2.Name = "__NSCUTPART"
- c1.Reflectance = 0.5
- c2.Reflectance = 0.5
- c1.Parent = game.Workspace
- c2.Parent = game.Workspace
- p:Remove()
- for i = 1, 20, 1 do wait(0.015)
- c1.Reflectance = c1.Reflectance - 1/20
- c2.Reflectance = c2.Reflectance - 1/20
- end
- if not CC then
- coroutine.wrap(function()
- for i = TR, 1, 0.05 do wait(0.015)
- c1.Transparency = i
- c2.Transparency = i
- end pcall(function() c1:Remove() c2:Remove() end)
- end)()
- end
- c1.Reflectance = 0
- c2.Reflectance = 0
- c1.Material = mat
- c2.Material = mat
- if CC then
- c1.Name = "_NSCUTPART"
- c2.Name = "_NSCUTPART"
- end
- end
- end
- end)()
- end
- function Hit(val)
- hit = val
- if hit then
- coroutine.wrap(function()
- local event = _prt.sword_5.part.Touched:connect(SliceAndKill)
- while use and hit and _prt.sword_2 ~= nil and _prt.sword_3 ~= nil and _prt.sword_5 ~= nil do wait() end
- event:disconnect()
- end)()
- end
- end
- function GunTarget()
- if not ms then return end
- if processing and not gtarget then return end
- processing,cfs,gs = true, true, false
- if not gtarget then gtarget = true
- huma.WalkSpeed = 5
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(-90), 0), .1, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(90), 0), .1, true)
- CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(math.rad(-5), 0, math.rad(-5)), .1, true)
- CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(90)), .1, true)
- pcall(function() bGyro.Parent = part.tors end)
- repeat wait(.015)
- if ms and not disconnectRequest then
- bGyro.cframe = CFrame.new(part.tors.CFrame.p, Vector3.new(ms.Hit.p.X, part.tors.CFrame.p.Y, ms.Hit.p.Z))
- end
- until not gtarget or not ms gtarget = false
- huma.WalkSpeed = defaultWalkspeed
- pcall(function() bGyro.Parent = nil end)
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .1, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .1, true)
- CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .1, true)
- CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(5)), .1)
- end
- processing,cfs,gs = false, false, true
- if not gtarget and not disconnectRequest then Walk() end
- end
- function OnKeyDown(key) key = key:lower()
- if bindKeyDown then
- if key == "w" then w = true Walk() end
- if key == "a" then a = true Walk() end
- if key == "s" then s = true Walk() end
- if key == "d" then d = true Walk() end
- if key == "c" then if mode == 0 then SwordEquip() elseif mode == 1 then SwordUnequip() elseif mode == 2 then GunUnequip() SwordEquip() elseif mode == 3 then LightUnequip() SwordEquip() end end
- if key == "v" then if mode == 0 then GunEquip() elseif mode == 2 then GunUnequip() elseif mode == 1 then SwordUnequip() GunEquip() elseif mode == 3 then LightUnequip() GunEquip() end end
- if key == "x" then if mode == 0 then LightEquip() elseif mode == 3 then LightUnequip() elseif mode == 1 then SwordUnequip() LightEquip() elseif mode == 2 then GunUnequip() LightEquip() end end
- if key == "z" then if mode == 2 and not gtarget then GunTarget() else gtarget = false end end
- end
- end
- function OnKeyUp(key) key = key:lower()
- if bindKeyUp then
- if key == "w" then w = false if not a and not s and not d then Stand() end end
- if key == "a" then a = false if not w and not s and not d then Stand() end end
- if key == "s" then s = false if not w and not a and not d then Stand() end end
- if key == "d" then d = false if not w and not a and not s then Stand() end end
- end
- end
- function OnButton1Down() buttonDown = true combo = combo + 1
- if not ms then end
- if processing and not gtarget then return end
- processing,cfs = true, true
- if mode == 1 then
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(40), 0), .2, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-40), 0), .2, true)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(-90), 0), .2, true)
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-10)), .2, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, math.rad(-20), math.rad(90)), .2)
- pcall(function() bPos.position = Vector3.new(0,part.tors.CFrame.p.Y,0) bPos.Parent = part.tors end)
- Trail(true)
- Hit(true)
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(-50), 0), .15, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(50), 0), .15, true)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(55), math.rad(-90), 0), .15, true)
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .15)
- Trail(false)
- Hit(false)
- if combo > 1 then combo = 2
- if buttonDown then pcall(function() bPos.Parent = nil end) repeat wait(0.015) LightingGen(_prt.sword_4.part.CFrame.p,_prt.sword_3.part.CFrame.p,3,.05) until not buttonDown end
- CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(55), math.rad(90),0), .3)
- Trail(true)
- Hit(true)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(90), 0), .15, true)
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(40), 0), .12, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-40), 0), .15, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, math.rad(-20), math.rad(90)), .15)
- pcall(function() bPos.Parent = nil end)
- Trail(false)
- Hit(false)
- CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .15, true)
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .15, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .15, true)
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-10), 0, 0), .15)
- else
- pcall(function() bPos.Parent = nil end)
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .15, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .15, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .15)
- end
- elseif mode == 2 then
- --> GUN <--
- elseif mode == 3 then
- CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(90), 0), .1, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-90), 0), .1, true)
- CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-20), 0, math.rad(20)), .1, true)
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-90)), .1)
- while ms and buttonDown and not disconnectRequest do wait(.015)
- pcall(function() bGyro.Parent = part.tors end)
- if ms and not disconnectRequest and huma.Health ~= 0 then
- bGyro.cframe = CFrame.new(part.tors.CFrame.p, Vector3.new(ms.Hit.p.X, part.tors.CFrame.p.Y, ms.Hit.p.Z))
- if ms.Target then
- LightingGen((part.larm.CFrame * CFrame.new(0,-1,0)).p, ms.Hit.p, 10, .05, .5)
- end
- end
- end
- pcall(function() bGyro.Parent = nil end)
- CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .1, true)
- CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .1, true)
- CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .1, true)
- CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .1)
- end
- combo = 0
- if not gtarget then processing, cfs = false, false end
- Walk()
- end
- function Disconnection() disconnectRequest = true ms = nil
- while processing do wait(.015) end
- w,a,s,d = false,false,false,false
- processing = true
- if use then
- Hit(false)
- bindKeyUp, bindKeyDown = false, false
- if mode == 1 then SwordUnequip(true) end
- if mode == 2 then GunUnequip(true) end
- if mode == 3 then LightUnequip(true) end
- use = false
- huma.WalkSpeed = defaultWalkspeed
- gunTakePos = nil
- w,a,s,d = false,false,false,false
- w2,a2,s2,d2 = false,false,false,false
- _prt.torso_1.weld.Part0 = part.tors
- if delete then part.tors.Transparency = 0 end
- for i,mtor in pairs (motor) do
- pcall(function() mtor.Part0 = part.tors end)
- end
- if _jnt ~= nil then
- for i,weld in pairs(_jnt) do
- pcall(function() weld:Remove() end)
- end
- end
- if part.ftor ~= nil then part.ftor:Remove() end
- if delete then
- if shirt ~= nil then shirt.Parent = char end
- if _mdl ~= nil then _mdl:Remove() end
- suited = false
- model = false
- prt = {}
- end
- _jnt,_mdl,_prt = nil, nil, nil
- _kup:disconnect()
- _kdn:disconnect()
- _mse:disconnect()
- _ms2:disconnect()
- combo = 0
- _kup,_kdn,_mse,_ms2 = nil,nil,nil,nil
- initialized = false
- end
- disconnectRequest = false
- processing = false
- end
- function _Main(mouse)
- while processing do wait(0.015) end
- ms = mouse
- _jnt = JoinInit()
- _mdl = SuitInit()
- _prt = LoadSuit()
- mode = 0
- _kup = mouse.KeyUp:connect(OnKeyUp)
- _kdn = mouse.KeyDown:connect(OnKeyDown)
- _mse = mouse.Button1Down:connect(OnButton1Down)
- _ms2 = mouse.Button1Up:connect(function() buttonDown = false end)
- use, bindKeyUp, bindKeyDown = true, true, true
- end
- bin.Selected:connect(_Main)
- bin.Deselected:connect(Disconnection)
- end)
- _1.Name = "1"
- _1.Parent = maingui
- _1.BackgroundColor3 = Color3.new(1, 1, 1)
- _1.BackgroundTransparency = 1
- _1.BorderSizePixel = 0
- _1.Position = UDim2.new(0, 0, 0.0671140924, 0)
- _1.Size = UDim2.new(0, 23, 0, 21)
- _1.Visible = false
- _1.Active = true
- Shattervast.Name = "Shattervast"
- Shattervast.Parent = _1
- Shattervast.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Shattervast.BorderSizePixel = 2
- Shattervast.Position = UDim2.new(0.478260875, 0, 0.809523821, 0)
- Shattervast.Size = UDim2.new(0, 100, 0, 25)
- Shattervast.Font = Enum.Font.SourceSansItalic
- Shattervast.Text = "Shattervast"
- Shattervast.TextColor3 = Color3.new(1, 1, 1)
- Shattervast.TextSize = 20
- Shattervast.MouseButton1Down:connect(function()
- -- Have Fun!
- -- IT FUCKING TAKE MY SELF 1 HOUR TO RESCRIPT THIS CAUSE SKISPLOIT CANT RUN THE FUCKING COREGUI
- -- Re script by Alex games #9120
- -- By illremember#3799
- -- Important Loading
- trueSettings = {
- commandPrefix = ";";
- hotkeys = {};
- fchotkeymode = "unfc";
- }
- -- Important Variables
- gsPlayers = game:GetService("Players")
- gsWorkspace = game:GetService("Workspace")
- gsLighting = game:GetService("Lighting")
- gsReplicatedStorage = game:GetService("ReplicatedStorage")
- gsCoreGui = game:GetService("CoreGui")
- gsTween = game:GetService("TweenService")
- gsHttp = game:GetService("HttpService")
- LP = gsPlayers.LocalPlayer
- Mouse = LP:GetMouse()
- defaultSettings = gsHttp:JSONEncode(trueSettings)
- function CreateSave()
- writefile("Shattervast.txt", defaultSettings)
- wait(0.5)
- local content = readfile("Shattervast.txt")
- local trueValue = gsHttp:JSONDecode(content)
- commandPrefix = trueValue.commandPrefix
- hotkeys = trueValue.hotkeys
- fchotkeymode = trueValue.fchotkeymode
- end
- function fullUpdate()
- local updatedSettings = {
- commandPrefix = commandPrefix;
- hotkeys = hotkeys;
- fchotkeymode = fchotkeymode;
- }
- local fullUPDATED = gsHttp:JSONEncode(updatedSettings)
- wait(0.2)
- writefile("Shattervast.txt", fullUPDATED)
- end
- if writefile ~= nil then
- function builder()
- local TESTsave = readfile("Shattervast.txt")
- if TESTsave == nil then
- return false
- else
- return true
- end
- end
- local success, message = pcall(builder)
- if success == true then
- function reader()
- local content = readfile("Shattervast.txt")
- local trueValue = gsHttp:JSONDecode(content)
- commandPrefix = trueValue.commandPrefix
- hotkeys = trueValue.hotkeys
- if trueValue.fchotkeymode == nil then
- fchotkeymode = "unfc"
- fullUpdate()
- else
- fchotkeymode = trueValue.fchotkeymode
- end
- end
- reader()
- elseif success == false then
- CreateSave()
- end
- else
- commandPrefix = ";"
- hotkeys = {}
- fchotkeymode = "unfc"
- end
- CurrentGravity = gsWorkspace.Gravity
- CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed
- CurrentJumppower = LP.Character.Humanoid.JumpPower
- CurrentHipheight = LP.Character.Humanoid.HipHeight
- CurrentNormal = LP.DevCameraOcclusionMode
- gsWorkspace.Camera.Changed:Connect(function()
- gsWorkspace.Camera.FieldOfView = 70
- end)
- -- Important Functions
- function view(plr)
- if plr.Character.Humanoid ~= nil then
- gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
- else
- gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
- end
- end
- function unlockWS()
- for i,part in pairs(gsWorkspace:GetDescendants()) do
- if part:IsA("Part") then
- part.Locked = false
- end
- end
- end
- function lockWS()
- for i,part in pairs(gsWorkspace:GetDescendants()) do
- if part:IsA("Part") then
- part.Locked = true
- end
- end
- end
- function FEGodmode()
- local changeview = false
- if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then
- changeview = true
- end
- LP.Character.Humanoid.Name = 1
- local l = LP.Character["1"]:Clone()
- l.Parent = LP.Character
- l.Name = "Humanoid"
- wait(0.1)
- LP.Character["1"]:Destroy()
- if changeview then
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
- end
- LP.Character.Animate.Disabled = true
- wait(0.1)
- LP.Character.Animate.Disabled = false
- LP.Character.Humanoid.DisplayDistanceType = "None"
- end
- function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name)
- local l = Instance.new("RocketPropulsion")
- l.Parent = LP.Character.HumanoidRootPart
- l.CartoonFactor = 1
- l.MaxThrust = maxthrust
- l.MaxSpeed = maxspeed
- l.ThrustP = thrustp
- l.Name = name
- l.Target = targetplr.Character.HumanoidRootPart
- l:Fire()
- end
- function createIntro(style, msg, length)
- if gsCoreGui:FindFirstChild("Notification") then
- gsCoreGui:FindFirstChild("Notification"):Destroy()
- end
- local info = "http://www.roblox.com/asset/?id=1281284684"
- local warning = "http://www.roblox.com/asset/?id=1281286925"
- if style == "info" then
- style = info
- elseif style == "warning" then
- style = warning
- end
- local Notification = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local IMAGE = Instance.new("ImageLabel")
- Notification.Name = "Notification"
- Notification.Parent = game.Players.LocalPlayer.PlayerGui
- Notification.ResetOnSpawn = false
- Frame.Parent = Notification
- Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, -0.2, 0)
- Frame.Size = UDim2.new(1, 0, 0, 30)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = msg
- TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- IMAGE.Parent = Frame
- IMAGE.BackgroundTransparency = 1
- IMAGE.Size = UDim2.new(0, 50, 0, 50)
- IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
- IMAGE.Image = style
- local Intro = Instance.new("ScreenGui")
- local Frame2 = Instance.new("Frame")
- local IMAGE2 = Instance.new("ImageLabel")
- Intro.Name = "Intro"
- Intro.Parent = game.Players.LocalPlayer.PlayerGui
- Intro.ResetOnSpawn = false
- Frame2.Parent = Intro
- Frame2.BackgroundTransparency = 1
- Frame2.BorderSizePixel = 0
- Frame2.Position = UDim2.new(0, 0, -0.2, 0)
- Frame2.Size = UDim2.new(1, 0, 0, 30)
- IMAGE2.Parent = Frame
- IMAGE2.BackgroundTransparency = 1
- IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
- IMAGE2.Size = UDim2.new(0, 240, 0, 120)
- IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
- IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
- Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
- Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
- wait(length)
- pcall(function()
- Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- end)
- wait(3.01)
- Intro:Destroy()
- Notification:Destroy()
- end
- function Notification(style, msg, length)
- if gsCoreGui:FindFirstChild("Notification") then
- gsCoreGui:FindFirstChild("Notification"):Destroy()
- end
- local info = "http://www.roblox.com/asset/?id=1281284684"
- local warning = "http://www.roblox.com/asset/?id=1281286925"
- if style == "info" then
- style = info
- elseif style == "warning" then
- style = warning
- end
- local Notification = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local IMAGE = Instance.new("ImageLabel")
- Notification.Name = "Notification"
- Notification.Parent = game.Players.LocalPlayer.PlayerGui
- Notification.ResetOnSpawn = false
- Frame.Parent = Notification
- Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, -0.2, 0)
- Frame.Size = UDim2.new(1, 0, 0, 30)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = msg
- TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- IMAGE.Parent = Frame
- IMAGE.BackgroundTransparency = 1
- IMAGE.Size = UDim2.new(0, 50, 0, 50)
- IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
- IMAGE.Image = style
- Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
- wait(length)
- pcall(function()
- Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- end)
- wait(3.01)
- Notification:Destroy()
- end
- function hasTools()
- local a = false
- local b = false
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if v ~= nil then
- a = true
- else
- a = false
- end
- end
- end
- for i,k in pairs(LP.Backpack:GetDescendants()) do
- if k:IsA("Tool") then
- if k ~= nil then
- b = true
- else
- b = false
- end
- end
- end
- return a or b
- end
- Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"}
- function complimentplr(player)
- local plrName = player.Name
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All")
- end
- function createINFO(player)
- local InfoGUIv2 = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local infoguiCLOSE = Instance.new("TextButton")
- local Frame_3 = Instance.new("Frame")
- local playerName = Instance.new("TextLabel")
- local Frame_4 = Instance.new("Frame")
- local playerAvatar = Instance.new("ImageLabel")
- local playerAccAge = Instance.new("TextLabel")
- local playerId = Instance.new("TextLabel")
- local playerOs = Instance.new("TextLabel")
- local playerMembership = Instance.new("TextLabel")
- local Frame_5 = Instance.new("Frame")
- local Frame_6 = Instance.new("Frame")
- InfoGUIv2.Name = "InfoGUIv2"
- InfoGUIv2.Parent = game.Players.LocalPlayer.PlayerGui
- InfoGUIv2.ResetOnSpawn = false
- Frame.Parent = InfoGUIv2
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 1
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.ClipsDescendants = true
- Frame.Position = UDim2.new(0.45, 0, 1, 0)
- Frame.Size = UDim2.new(0, 265, 0, 302)
- Frame.ZIndex = -1
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
- Frame_2.BorderSizePixel = 0
- Frame_2.Size = UDim2.new(0, 260, 0, 20)
- infoguiCLOSE.Name = "infoguiCLOSE"
- infoguiCLOSE.Parent = Frame_2
- infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
- infoguiCLOSE.BackgroundTransparency = 1
- infoguiCLOSE.BorderSizePixel = 0
- infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
- infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
- infoguiCLOSE.Font = Enum.Font.SourceSansBold
- infoguiCLOSE.Text = "X"
- infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
- infoguiCLOSE.TextSize = 20
- Frame_3.Parent = Frame
- Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
- Frame_3.BorderSizePixel = 0
- Frame_3.Position = UDim2.new(0, 0, 0, 20)
- Frame_3.Size = UDim2.new(0, 260, 0, 40)
- playerName.Name = "playerName"
- playerName.Parent = Frame_3
- playerName.BackgroundColor3 = Color3.new(1, 1, 1)
- playerName.BackgroundTransparency = 1
- playerName.Position = UDim2.new(0, 10, 0, 5)
- playerName.Size = UDim2.new(0, 240, 0, 30)
- playerName.Font = Enum.Font.SourceSansLight
- playerName.Text = player.Name
- playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
- playerName.TextScaled = true
- playerName.TextSize = 14
- playerName.TextWrapped = true
- Frame_4.Parent = Frame
- Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Frame_4.BorderSizePixel = 0
- Frame_4.Position = UDim2.new(0, 0, 0, 60)
- Frame_4.Size = UDim2.new(0, 260, 0, 237)
- playerAvatar.Name = "playerAvatar"
- playerAvatar.Parent = Frame_4
- playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
- playerAvatar.Position = UDim2.new(0, 85, 0, 10)
- playerAvatar.Size = UDim2.new(0, 85, 0, 85)
- playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
- playerAccAge.Name = "playerAccAge"
- playerAccAge.Parent = Frame_4
- playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
- playerAccAge.BackgroundTransparency = 1
- playerAccAge.Position = UDim2.new(0, 5, 0, 101)
- playerAccAge.Size = UDim2.new(0, 250, 0, 30)
- playerAccAge.Font = Enum.Font.SourceSans
- playerAccAge.Text = "Account Age: "..player.AccountAge
- playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerAccAge.TextScaled = true
- playerAccAge.TextSize = 14
- playerAccAge.TextWrapped = true
- playerId.Name = "playerId"
- playerId.Parent = Frame_4
- playerId.BackgroundColor3 = Color3.new(1, 1, 1)
- playerId.BackgroundTransparency = 1
- playerId.Position = UDim2.new(0, 5, 0, 131)
- playerId.Size = UDim2.new(0, 250, 0, 30)
- playerId.Font = Enum.Font.SourceSans
- playerId.Text = "Account ID: "..player.UserId
- playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerId.TextScaled = true
- playerId.TextSize = 14
- playerId.TextWrapped = true
- playerOs.Name = "playerOs"
- playerOs.Parent = Frame_4
- playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
- playerOs.BackgroundTransparency = 1
- playerOs.Position = UDim2.new(0, 5, 0, 161)
- playerOs.Size = UDim2.new(0, 250, 0, 30)
- playerOs.Font = Enum.Font.SourceSansLight
- playerOs.Text = "Player OS: "..player.OsPlatform
- playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerOs.TextScaled = true
- playerOs.TextSize = 14
- playerOs.TextWrapped = true
- playerMembership.Name = "playerMembership"
- playerMembership.Parent = Frame_4
- playerMembership.BackgroundColor3 = Color3.new(1, 1, 1)
- playerMembership.BackgroundTransparency = 1
- playerMembership.Position = UDim2.new(0, 5, 0, 191)
- playerMembership.Size = UDim2.new(0, 250, 0, 30)
- playerMembership.Font = Enum.Font.SourceSansLight
- if player.MembershipType == Enum.MembershipType.None then
- playerMembership.Text = "No builder's club."
- elseif player.MembershipType == Enum.MembershipType.BuildersClub then
- playerMembership.Text = "Builder's club!"
- elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
- playerMembership.Text = "Turbo Builder's club!"
- elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- playerMembership.Text = "Outrageous Builder's club!"
- end
- playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerMembership.TextScaled = true
- playerMembership.TextSize = 14
- playerMembership.TextWrapped = true
- Frame_5.Parent = Frame
- Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame_5.BackgroundTransparency = 0.69999998807907
- Frame_5.BorderColor3 = Color3.new(0, 0, 0)
- Frame_5.BorderSizePixel = 0
- Frame_5.ClipsDescendants = true
- Frame_5.Position = UDim2.new(0, 10, 0, 10)
- Frame_5.Selectable = true
- Frame_5.Size = UDim2.new(0, 255, 0, 292)
- Frame_5.ZIndex = -1
- Frame_6.Parent = Frame
- Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame_6.BackgroundTransparency = 0.69999998807907
- Frame_6.BorderColor3 = Color3.new(0, 0, 0)
- Frame_6.BorderSizePixel = 0
- Frame_6.ClipsDescendants = true
- Frame_6.Position = UDim2.new(0, 8, 0, 8)
- Frame_6.Selectable = true
- Frame_6.Size = UDim2.new(0, 255, 0, 292)
- Frame_6.ZIndex = -1
- local closeGet = {}
- closeGet.Size = UDim2.new(0, 0, 0, 0)
- local openGet = {}
- openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
- local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
- local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
- infoguiCLOSE.MouseButton1Click:Connect(function()
- closeFunction:Play()
- Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
- wait(2.01)
- Frame:Destroy()
- end)
- openFunction:Play()
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- Frame.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
- update(input)
- end
- end)
- end
- function clientSided()
- Notification("info", "This command is for the client (you) only, no one else can see!", 6)
- end
- searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"}
- CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168
- local CMDS_GUI_V2 = Instance.new("ScreenGui")
- local CMDSmain = Instance.new("Frame")
- local CMDSframemain = Instance.new("Frame")
- local cmdgui_topframe = Instance.new("Frame")
- local closecmdsgui = Instance.new("TextButton")
- local cmdgui_midframe = Instance.new("Frame")
- local cmdsgui_SearchFunction = Instance.new("TextBox")
- local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
- local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
- local ListofCMDS = Instance.new("ScrollingFrame")
- local cmdTutorial = Instance.new("TextLabel")
- local cmdTutorial_2 = Instance.new("TextLabel")
- local cmdTutorial_3 = Instance.new("TextLabel")
- local CMDS_Shadow = Instance.new("Frame")
- local CMDS_Shadow2 = Instance.new("Frame")
- CMDS_GUI_V2.Name = "CMDS_GUI_V2"
- CMDS_GUI_V2.Parent = game.Players.LocalPlayer.PlayerGui
- CMDS_GUI_V2.ResetOnSpawn = false
- CMDSmain.Name = "CMDSmain"
- CMDSmain.Parent = CMDS_GUI_V2
- CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
- CMDSmain.BackgroundTransparency = 1
- CMDSmain.Position = UDim2.new(0, 695, 0, 297)
- CMDSmain.Size = UDim2.new(0, 440, 0, 367)
- CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
- CMDSmain.Visible = false
- CMDSmain.ClipsDescendants = true
- CMDSframemain.Name = "CMDSframemain"
- CMDSframemain.Parent = CMDSmain
- CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
- CMDSframemain.BorderSizePixel = 0
- CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
- cmdgui_topframe.Name = "cmdgui_topframe"
- cmdgui_topframe.Parent = CMDSframemain
- cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- cmdgui_topframe.BorderSizePixel = 0
- cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
- closecmdsgui.Name = "closecmdsgui"
- closecmdsgui.Parent = cmdgui_topframe
- closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
- closecmdsgui.BackgroundTransparency = 1
- closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
- closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
- closecmdsgui.Font = Enum.Font.SourceSansBold
- closecmdsgui.Text = "X"
- closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
- closecmdsgui.TextSize = 20
- cmdgui_midframe.Name = "cmdgui_midframe"
- cmdgui_midframe.Parent = CMDSframemain
- cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- cmdgui_midframe.BorderSizePixel = 0
- cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
- cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
- cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
- cmdsgui_SearchFunction.Parent = cmdgui_midframe
- cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdsgui_SearchFunction.BackgroundTransparency = 1
- cmdsgui_SearchFunction.BorderSizePixel = 0
- cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
- cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
- cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
- cmdsgui_SearchFunction.Text = ""
- cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- cmdsgui_SearchFunction.TextScaled = true
- cmdsgui_SearchFunction.TextSize = 14
- cmdsgui_SearchFunction.TextWrapped = true
- cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
- cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
- cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
- cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
- cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
- cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
- cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
- cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
- cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
- cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
- cmdsgui_searchDETAILTEXT.Text = "Search"
- cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILTEXT.TextSize = 30
- ListofCMDS.Name = "ListofCMDS"
- ListofCMDS.Parent = CMDSframemain
- ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
- ListofCMDS.BorderSizePixel = 0
- ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
- ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
- ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
- ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
- cmdTutorial.Name = "cmdTutorial"
- cmdTutorial.Parent = ListofCMDS
- cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial.BackgroundTransparency = 1
- cmdTutorial.BorderSizePixel = 0
- cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
- cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial.Font = Enum.Font.SourceSansBold
- cmdTutorial.Text = "\"/\" means OPTIONAL argument after"
- cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial.TextScaled = true
- cmdTutorial.TextSize = 14
- cmdTutorial.TextWrapped = true
- cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
- cmdTutorial_2.Name = "cmdTutorial"
- cmdTutorial_2.Parent = ListofCMDS
- cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial_2.BackgroundTransparency = 1
- cmdTutorial_2.BorderSizePixel = 0
- cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
- cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial_2.Font = Enum.Font.SourceSansBold
- cmdTutorial_2.Text = "\"//\" means another way of running command"
- cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial_2.TextScaled = true
- cmdTutorial_2.TextSize = 14
- cmdTutorial_2.TextWrapped = true
- cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
- cmdTutorial_3.Name = "cmdTutorial"
- cmdTutorial_3.Parent = ListofCMDS
- cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial_3.BackgroundTransparency = 1
- cmdTutorial_3.BorderSizePixel = 0
- cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
- cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial_3.Font = Enum.Font.SourceSansBold
- cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
- cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial_3.TextScaled = true
- cmdTutorial_3.TextSize = 14
- cmdTutorial_3.TextWrapped = true
- cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
- CMDS_Shadow.Name = "CMDS_Shadow"
- CMDS_Shadow.Parent = CMDSmain
- CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
- CMDS_Shadow.BackgroundTransparency = 0.60000002384186
- CMDS_Shadow.BorderSizePixel = 0
- CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
- CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
- CMDS_Shadow.ZIndex = -1
- CMDS_Shadow2.Name = "CMDS_Shadow2"
- CMDS_Shadow2.Parent = CMDSmain
- CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
- CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
- CMDS_Shadow2.BorderSizePixel = 0
- CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
- CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
- CMDS_Shadow2.ZIndex = -1
- closecmdsgui.MouseButton1Click:Connect(function()
- CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
- end)
- function CreateCMDlabel(position, text)
- local sizenow = 15
- local cmdHere = Instance.new("TextLabel")
- cmdHere.Name = "cmdHere"
- cmdHere.TextWrapped = true
- cmdHere.Parent = ListofCMDS
- cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdHere.BackgroundTransparency = 1
- cmdHere.BorderSizePixel = 0
- cmdHere.Position = position
- cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
- cmdHere.Font = Enum.Font.SourceSans
- cmdHere.Text = text
- cmdHere.TextWrapped = true
- cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdHere.TextScaled = false
- cmdHere.TextSize = 20
- cmdHere.TextXAlignment = Enum.TextXAlignment.Left
- end
- for i,_cmds in pairs(searchCmds) do
- CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
- end
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function updateCMDS(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- cmdgui_topframe.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = CMDSmain.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- cmdgui_topframe.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- cmdgui_midframe.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = CMDSmain.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- cmdgui_midframe.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- updateCMDS(input)
- end
- end)
- cmdsgui_SearchFunction.Focused:Connect(function()
- cmdsgui_SearchFunction.TextTransparency = 0
- local searchTween = {}
- searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
- searchTween.TextSize = 18
- searchTween.Position = UDim2.new(0, -70, 0, -15)
- local frameTweenblue = {}
- frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
- local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
- searchTween1:Play()
- local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
- frameTweenblue1:Play()
- end)
- cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
- if not enterPressed then
- cmdsgui_SearchFunction.TextTransparency = 1
- else
- cmdsgui_SearchFunction.Text = " "
- end
- local searchTween = {}
- searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
- searchTween.TextSize = 30
- searchTween.Position = UDim2.new(0, 0, 0, 0)
- local frameTweenblue = {}
- frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
- searchTween1:Play()
- local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
- frameTweenblue1:Play()
- end)
- cmdsgui_SearchFunction.Changed:Connect(function()
- local index = 0
- if cmdsgui_SearchFunction.Text ~= "" then
- for i,v in pairs(ListofCMDS:GetChildren()) do
- if v.Name == "cmdHere" then
- if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
- v.Visible = false
- else
- v.Visible = true
- index = index + 1
- v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
- end
- end
- end
- end
- end)
- -- Command Execution
- LP.Chatted:Connect(function(chat)
- run(chat)
- end)
- function run(msg)
- if string.lower(string.sub(msg, 2, 5)) == "chat" then
- msg = msg
- elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
- msg = msg
- else
- msg = string.lower(msg)
- end
- local cmdPrefix = string.sub(msg, 1, 1)
- if cmdPrefix == commandPrefix then
- msg = string.sub(msg, 2)
- local args = {}
- for arg in string.gmatch(msg,"[^%s]+") do
- table.insert(args,arg)
- end
- local cmdName = args[1]
- table.remove(args,1)
- local doCmd = Commands[cmdName]
- if doCmd ~= nil then
- doCmd(args)
- end
- end
- end
- -- Command bar
- local CommandBar = Instance.new("ScreenGui")
- local CMDBAR = Instance.new("Frame")
- local CMDBARText = Instance.new("TextBox")
- CommandBar.Name = "CommandBar"
- CommandBar.Parent = game.Players.LocalPlayer.PlayerGui
- CommandBar.ResetOnSpawn = false
- CMDBAR.Name = "CMDBAR"
- CMDBAR.Parent = CommandBar
- CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
- CMDBAR.BorderSizePixel = 0
- CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
- CMDBAR.Size = UDim2.new(0, 270, 0, 35)
- CMDBARText.Name = "CMDBARText"
- CMDBARText.Parent = CMDBAR
- CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- CMDBARText.BorderSizePixel = 0
- CMDBARText.Position = UDim2.new(0, 5, 0, 5)
- CMDBARText.Size = UDim2.new(0, 260, 0, 25)
- CMDBARText.Font = Enum.Font.SourceSansLight
- CMDBARText.Text = ""
- CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
- CMDBARText.TextScaled = true
- CMDBARText.TextSize = 14
- CMDBARText.TextWrapped = true
- Mouse.KeyDown:connect(function(Key)
- if Key == string.lower(commandPrefix) then
- CMDBARText:CaptureFocus()
- CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
- end
- end)
- CMDBARText.FocusLost:connect(function(enterPressed)
- CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
- if enterPressed then
- local cmdmsg = CMDBARText.Text
- CMDBARText.Text = ""
- run(commandPrefix..cmdmsg)
- end
- end)
- local Match = Instance.new("Frame")
- Match.Name = "Match"
- Match.Parent = CMDBAR
- Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
- Match.BorderSizePixel = 0
- Match.Position = UDim2.new(0, 0, -4, 0)
- Match.Size = UDim2.new(1, 0, 4, 0)
- Match.Visible = false
- function CreateOption(Text)
- local Option1 = Instance.new("TextLabel")
- Option1.Name = "Option"
- Option1.Parent = Match
- Option1.BackgroundColor3 = Color3.new(1, 1, 1)
- Option1.BackgroundTransparency = 1
- Option1.Position = UDim2.new(-10, 0, 0, 0)
- Option1.Size = UDim2.new(1, 0, 0, 20)
- Option1.Font = Enum.Font.SourceSans
- Option1.Text = Text
- Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
- Option1.TextScaled = true
- Option1.TextWrapped = true
- end
- for i,cmdtext2 in pairs(CMDS) do
- CreateOption(cmdtext2)
- end
- CMDBARText.Changed:Connect(function()
- if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then
- Match.Visible = true
- local PositionMatch = 0
- for i,cmdtext in pairs(Match:GetChildren()) do
- if cmdtext.Name == "Option" then
- if string.find(cmdtext.Text, CMDBARText.Text) then
- cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
- PositionMatch = PositionMatch + 1
- if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
- cmdtext.Position = UDim2.new(-10, 0, 0, 0)
- PositionMatch = PositionMatch - 1
- end
- else
- cmdtext.Position = UDim2.new(-10, 0, 0, 0)
- end
- end
- end
- else
- Match.Visible = false
- end
- end)
- -- Chat
- local ChatLogsv2 = Instance.new("ScreenGui")
- local MainChatFrame = Instance.new("Frame")
- local Framess = Instance.new("Frame")
- local CloseChatGUI = Instance.new("TextButton")
- local Frame_222 = Instance.new("Frame")
- local PrintChat = Instance.new("TextButton")
- local Shadow1 = Instance.new("Frame")
- local Shadow2 = Instance.new("Frame")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- ChatLogsv2.Name = "ChatLogsv2"
- ChatLogsv2.Parent = game.Players.LocalPlayer.PlayerGui
- ChatLogsv2.ResetOnSpawn = false
- MainChatFrame.Name = "MainChatFrame"
- MainChatFrame.Parent = ChatLogsv2
- MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainChatFrame.BackgroundTransparency = 1
- MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
- MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
- MainChatFrame.Visible = false
- Framess.Parent = MainChatFrame
- Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- Framess.BorderSizePixel = 0
- Framess.Size = UDim2.new(0, 525, 0, 15)
- CloseChatGUI.Name = "CloseChatGUI"
- CloseChatGUI.Parent = Framess
- CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseChatGUI.BackgroundTransparency = 1
- CloseChatGUI.BorderSizePixel = 0
- CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
- CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
- CloseChatGUI.Font = Enum.Font.SourceSansBold
- CloseChatGUI.Text = "X"
- CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
- CloseChatGUI.TextSize = 20
- Frame_222.Parent = MainChatFrame
- Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- Frame_222.BorderSizePixel = 0
- Frame_222.Position = UDim2.new(0, 0, 0, 15)
- Frame_222.Size = UDim2.new(0, 525, 0, 50)
- PrintChat.Name = "PrintChat"
- PrintChat.Parent = Frame_222
- PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
- PrintChat.BorderSizePixel = 0
- PrintChat.Position = UDim2.new(0, 15, 0, 0)
- PrintChat.Size = UDim2.new(0, 170, 0, 30)
- PrintChat.Font = Enum.Font.SourceSansLight
- PrintChat.Text = "Print Chat"
- PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
- PrintChat.TextSize = 30
- PrintChat.TextWrapped = true
- Shadow1.Name = "Shadow1"
- Shadow1.Parent = MainChatFrame
- Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
- Shadow1.BackgroundTransparency = 0.5
- Shadow1.Position = UDim2.new(0, 2, 0, 2)
- Shadow1.Size = UDim2.new(0, 525, 0, 337)
- Shadow1.ZIndex = -1
- Shadow2.Name = "Shadow2"
- Shadow2.Parent = MainChatFrame
- Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
- Shadow2.BackgroundTransparency = 0.80000001192093
- Shadow2.Position = UDim2.new(0, 5, 0, 5)
- Shadow2.Size = UDim2.new(0, 525, 0, 337)
- Shadow2.ZIndex = -1
- ScrollingFrame.Parent = MainChatFrame
- ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
- ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
- ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
- ScrollingFrame.ScrollBarThickness = 8
- function CreateChatText(plr, chat)
- for i,v in pairs(ScrollingFrame:GetDescendants()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, 20)
- if v.Position == UDim2.new(0, 5, 0, 10) then
- v:Destroy()
- end
- end
- local Example = Instance.new("TextLabel")
- Example.Name = "Example"
- Example.Parent = ScrollingFrame
- Example.BackgroundColor3 = Color3.new(1, 1, 1)
- Example.BackgroundTransparency = 1
- Example.Position = UDim2.new(0, 5, 0, 650)
- Example.Size = UDim2.new(0, 500, 0, 20)
- Example.Font = Enum.Font.SourceSans
- Example.Text = "["..plr.Name.."]: "..chat
- Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
- Example.TextScaled = true
- Example.TextSize = 20
- Example.TextWrapped = true
- Example.TextXAlignment = Enum.TextXAlignment.Left
- end
- CloseChatGUI.MouseButton1Click:Connect(function()
- MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
- wait(2.01)
- MainChatFrame.Visible = false
- end)
- printingChat = false
- PrintChat.MouseButton1Click:Connect(function()
- if printingChat == false then
- printingChat = true
- PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
- elseif printingChat == true then
- printingChat = false
- PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
- end
- end)
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function updateChat(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- Frame_222.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = MainChatFrame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame_222.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- updateChat(input)
- end
- end)
- function printChat(player, chat)
- print("["..player.Name.."]: "..chat)
- end
- complimentReady = true
- for i,currentPlayersChatting in pairs(game:GetService("Players"):GetPlayers()) do
- currentPlayersChatting.Chatted:connect(function(chat)
- CreateChatText(currentPlayersChatting, chat)
- if printingChat then
- printChat(currentPlayersChatting, chat)
- end
- if copychatACTIVE then
- if currentPlayersChatting == copychatplayer then
- gsReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All")
- end
- end
- if modeFling == true then
- if string.lower(string.sub(chat, 1, 7)) == "!fling " then
- if gsWorkspace:PGSIsEnabled() == false then
- FEGodmode()
- end
- if string.lower(string.sub(chat, 8)) == "me" then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..currentPlayersChatting.Name.." 2000000")
- else
- for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
- if notAll ~= LP then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..notAll.Name.." 2000000")
- end
- end
- end
- end
- end
- if modeCompliment == true then
- if string.lower(string.sub(chat, 1, 3)) == "!c " then
- if complimentReady then
- complimentReady = false
- if string.lower(string.sub(chat, 4)) == "me" then
- complimentplr(currentPlayersChatting)
- else
- for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
- if Others == LP then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
- else
- complimentplr(Others)
- end
- end
- end
- wait(1)
- complimentReady = true
- end
- end
- end
- if modeMove == true then
- if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."unwalk")
- run(commandPrefix.."goto "..currentPlayersChatting.Name)
- elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
- for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
- if getWalkPlayer == LP then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..getWalkPlayer.Name)
- end
- end
- elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
- for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
- if getFollowPlayer == LP then
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..getFollowPlayer.Name)
- end
- end
- end
- end
- if modeInfo == true then
- if infoReady then
- infoReady = false
- if string.lower(string.sub(chat, 1, 5)) == "!age " then
- for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
- if v == LP then
- run(commandPrefix.."age "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."age "..v.Name)
- end
- end
- end
- if string.lower(string.sub(chat, 1, 4)) == "!id " then
- for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
- if a == LP then
- run(commandPrefix.."id "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."id "..a.Name)
- end
- end
- end
- wait(1)
- infoReady = true
- end
- end
- end)
- end
- game:GetService("Players").PlayerAdded:connect(function(plr)
- plr.Chatted:connect(function(chat)
- CreateChatText(plr, chat)
- if printingChat then
- printChat(plr, chat)
- end
- if modeFling == true then
- if string.lower(string.sub(chat, 1, 7)) == "!fling " then
- if gsWorkspace:PGSIsEnabled() == false then
- FEGodmode()
- end
- if string.lower(string.sub(chat, 8)) == "me" then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..plr.Name.." 2000000")
- else
- for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
- if notAll ~= LP then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..notAll.Name.." 2000000")
- end
- end
- end
- end
- end
- if modeCompliment == true then
- if string.lower(string.sub(chat, 1, 3)) == "!c " then
- if complimentReady == true then
- complimentReady = false
- if string.lower(string.sub(chat, 4)) == "me" then
- complimentplr(plr)
- else
- for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
- if Others == LP then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
- else
- complimentplr(Others)
- end
- end
- end
- wait(1)
- complimentReady = true
- end
- end
- end
- if modeMove == true then
- if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."unwalk")
- run(commandPrefix.."goto "..plr.Name)
- elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
- for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
- if getWalkPlayer == LP then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..plr.Name)
- else
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..getWalkPlayer.Name)
- end
- end
- elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
- for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
- if getFollowPlayer == LP then
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..plr.Name)
- else
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..getFollowPlayer.Name)
- end
- end
- end
- end
- if modeInfo == true then
- if infoReady then
- infoReady = false
- if string.lower(string.sub(chat, 1, 5)) == "!age " then
- for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
- if v == LP then
- run(commandPrefix.."age "..plr.Name)
- else
- run(commandPrefix.."age "..v.Name)
- end
- end
- end
- if string.lower(string.sub(chat, 1, 4)) == "!id " then
- for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
- if a == LP then
- run(commandPrefix.."id "..plr.Name)
- else
- run(commandPrefix.."id "..a.Name)
- end
- end
- end
- wait(1)
- infoReady = true
- end
- end
- end)
- end)
- -- Loops
- noclip = false
- following = false
- trailing = false
- annoying = false
- flingnoclip = false
- staring = false
- stopsitting = false
- stareplr = ""
- CBRINGamount = 3
- spawnWS = CurrentWalkspeed
- spawnJP = CurrentJumppower
- spawnHH = CurrentHipheight
- spawningfegod = false
- looptpbypassfly = false
- if game.GameId == 245662005 or game.GameId == 601130232 then
- bypassMODE = true
- else
- bypassMODE = false
- end
- viewplr = ""
- loopview = false
- cmdForward = false
- forwardSpeed = 1
- loopviewfc = false
- spinTOhead = false
- spinObj = ""
- rideACTIVE = false
- ridePLAYER = ""
- LPcurrenthumanoid = LP.Character.Humanoid
- game:GetService('RunService').Stepped:connect(function()
- if LP.Character.Humanoid ~= nil then
- LPcurrenthumanoid = LP.Character.Humanoid
- end
- if noclip then
- if LP.Character then
- if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- LP.Character.Head.CanCollide = false
- LP.Character.Torso.CanCollide = false
- LP.Character["Left Leg"].CanCollide = false
- LP.Character["Right Leg"].CanCollide = false
- LP.Character["Left Arm"].CanCollide = false
- LP.Character["Right Arm"].CanCollide = false
- elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- LP.Character.Head.CanCollide = false
- LP.Character.UpperTorso.CanCollide = false
- LP.Character.LowerTorso.CanCollide = false
- LP.Character.HumanoidRootPart.CanCollide = false
- end
- end
- end
- if following then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum
- end
- if trailing then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * trlnum
- end
- if annoying then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[annplr.Name].Character.HumanoidRootPart.CFrame
- end
- if walkto then
- LP.Character.Humanoid:MoveTo(walkplr.Character.HumanoidRootPart.Position)
- end
- if cbringing then
- CBRINGplr.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
- end
- if cbringingall then
- for i,getbringplrs in pairs(gsPlayers:GetPlayers()) do
- if getbringplrs ~= LP then
- getbringplrs.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
- end
- end
- end
- if staring then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(LP.Character.Torso.Position, gsPlayers[stareplr.Name].Character.Torso.Position)
- end
- if stopsitting then
- LP.Character.Humanoid.Sit = false
- end
- if looptpbypassfly then
- pcall(function()
- LP.Character.Head.Anchored = false
- LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
- LP.Character.Head.Anchored = true
- end)
- end
- if loopview then
- view(viewplr)
- end
- if cmdForward then
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * forwardSpeed
- end
- if loopviewfc then
- pcall(function()
- gsWorkspace.CurrentCamera.CameraSubject = gsWorkspace.rGETpartNUMBER2
- end)
- end
- if spinTOhead then
- pcall(function()
- spinObj.Position = LP.Character.Head.Position
- end)
- end
- if rideACTIVE == true then
- LP.character.HumanoidRootPart.CFrame = ridePLAYER.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
- end
- end)
- spawningatreset = false
- spawnresetpoint = LP.Character.Head.CFrame
- LPcurrenthumanoid.Died:Connect(function()
- flying = false
- doFREECAM = false
- if savingtoolsloop then
- run(commandPrefix.."savealltool")
- end
- if spawningatreset == true then
- spawnresetpoint = LP.Character.Head.CFrame + Vector3.new(0, 5, 0)
- end
- end)
- LP.CharacterAdded:Connect(function()
- wait(0.2)
- LP.Character.Humanoid.WalkSpeed = spawnWS
- LP.Character.Humanoid.JumpPower = spawnJP
- LP.Character.Humanoid.HipHeight = spawnHH
- if spawningfegod then
- FEGodmode()
- end
- if spawningpos and spawnpos ~= nil then
- LP.Character.HumanoidRootPart.CFrame = spawnpos
- end
- if spawningatreset == true then
- LP.Character.HumanoidRootPart.CFrame = spawnresetpoint
- end
- end)
- -- Commands
- Commands = {}
- Commands.print = function(args)
- local msg = table.concat(args," ")
- print(msg)
- end
- Commands.warn = function(args)
- local msg = table.concat(args," ")
- warn(msg)
- end
- Commands.sit = function(args)
- LP.Character.Humanoid.Sit = true
- end
- Commands.god = function(args)
- FEGodmode()
- Notification("warning", "You have enabled FE Godmode, tools will not work. Use "..commandPrefix.."grespawn to remove.", 7)
- end
- Commands.view = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if bypassMODE == false then
- view(v)
- Notification("info", "Now viewing "..v.Name..". Use "..commandPrefix.."unview to stop viewing.", 3)
- elseif bypassMODE == true then
- viewplr = v
- loopview = true
- end
- end
- end
- end
- Commands.unview = function(args)
- view(LP)
- loopview = false
- end
- Commands.gravity = function(args)
- if args[1] then
- gsWorkspace.Gravity = args[1]
- end
- end
- Commands.ungravity = function(args)
- gsWorkspace.Gravity = CurrentGravity
- end
- Commands.goto = function(args)
- if args[1] then
- if bypassMODE == false then
- for i,v in pairs(findPlayer(args[1])) do
- LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- end
- elseif bypassMODE == true then
- for i,v in pairs(findPlayer(args[1])) do
- local TPbypass = {}
- TPbypass.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- local TPFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), TPbypass)
- TPFunction:Play()
- end
- end
- end
- end
- Commands.fecheck = function(args)
- if gsWorkspace.FilteringEnabled == true then
- Notification("warning", "FE is enabled!", 7)
- else
- Notification("warning", "FE is disabled. Consider using a different script.", 7)
- end
- end
- Commands.lockws = function(args)
- lockWS()
- Notification("info", "Workspace locked.", 4)
- end
- Commands.unlockws = function(args)
- unlockWS()
- Notification("info", "Workspace unlocked.", 4)
- end
- Commands.noclip = function(args)
- noclip = true
- Notification("info", "Noclip enabled.", 4)
- end
- Commands.clip = function(args)
- noclip = false
- Notification("info", "Noclip disabled.", 4)
- end
- Commands.follow = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- flwplr = v
- end
- if args[2] then
- flwnum = args[2]
- else
- flwnum = -5
- end
- following = true
- else
- Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
- end
- end
- Commands.unfollow = function(args)
- following = false
- end
- Commands.fling = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- view(v)
- pcall(function()
- LP.Character.HumanoidRootPart.Fling:Destroy()
- end)
- if not args[2] then
- RocketPropulsion(800000,1000,400000,v,"Fling")
- else
- RocketPropulsion(args[2],1500,400000,v,"Fling")
- end
- if noclip ~= true then
- flingnoclip = true
- noclip = true
- end
- end
- end
- else
- Notification("warning", "No player selected to fling! Use: "..commandPrefix.."fling player", 4)
- end
- end
- Commands.unfling = function(args)
- view(LP)
- pcall(function()
- if LP.Character.HumanoidRootPart.Fling then
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v.Name == "Fling" and v:IsA("RocketPropulsion") then
- v:Destroy()
- end
- end
- end
- end)
- if flingnoclip == true then
- noclip = false
- flingnoclip = false
- end
- end
- Commands.trail = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- trlplr = v
- end
- if args[2] then
- trlnum = args[2]
- else
- trlnum = 5
- end
- trailing = true
- else
- Notification("warning", "No player selected to trail! Use: "..commandPrefix.."trail player", 4)
- end
- end
- Commands.untrail = function(args)
- trailing = false
- end
- Commands.annoy = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- annplr = v
- end
- annoying = true
- else
- Notification("warning", "No player selected to annoy! Use: "..commandPrefix.."annoy player", 4)
- end
- end
- Commands.unannoy = function(args)
- annoying = false
- end
- Commands.reset = function(args)
- LP.Character:BreakJoints()
- end
- Commands.grespawn = function(args)
- LP.Character.Humanoid.Health = 0
- wait(1)
- LP.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
- LP.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
- end
- Commands.respawn = function(args)
- local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name
- local hum = Instance.new('Humanoid', mod)
- local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
- LP.Character = mod
- end
- Commands.speed = function(args)
- if args[1] then
- run(commandPrefix.."ws "..args[1])
- end
- end
- bypassingwalkspeed = false
- Commands.ws = function(args)
- if args[1] then
- if bypassMODE == false then
- LP.Character.Humanoid.WalkSpeed = args[1]
- elseif bypassMODE == true then
- if game.GameId == 245662005 then
- bypassingwalkspeed = true
- bypassWalkspeed = args[1]
- end
- end
- end
- end
- game:GetService("RunService").Heartbeat:Connect(function()
- if bypassingwalkspeed then
- LP.Character.Humanoid.WalkSpeed = bypassWalkspeed
- end
- end)
- Commands.jumppower = function(args)
- if args[1] then
- LP.Character.Humanoid.JumpPower = args[1]
- end
- end
- Commands.jp = function(args)
- if args[1] then
- LP.Character.Humanoid.JumpPower = args[1]
- end
- end
- Commands.hipheight = function(args)
- if args[1] then
- LP.Character.Humanoid.HipHeight = args[1]
- end
- end
- Commands.hh = function(args)
- if args[1] then
- LP.Character.Humanoid.HipHeight = args[1]
- end
- end
- Commands.default = function(args)
- LP.Character.Humanoid.WalkSpeed = CurrentWalkspeed
- LP.Character.Humanoid.HipHeight = CurrentHipheight
- LP.Character.Humanoid.JumpPower = CurrentJumppower
- end
- Commands.credits = function(args)
- Notification("info", "Shattervast was made by illremember#3799 , "..commandPrefix.."fullcredits for all credits.", 8)
- end
- Commands.attach = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- end
- end
- end
- end
- end
- Commands.fly = function(args)
- if bypassMODE == false then
- local speedget = 1
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until Mouse
- if args[1] then
- speedfly = args[1]
- else
- speedfly = 1
- end
- local T = LP.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = speedget
- local function fly()
- flying = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not flying
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = speedfly
- elseif KEY:lower() == 's' then
- CONTROL.B = -speedfly
- elseif KEY:lower() == 'a' then
- CONTROL.L = -speedfly
- elseif KEY:lower() == 'd' then
- CONTROL.R = speedfly
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- fly()
- elseif bypassMODE == true then
- if not args[1] then
- run(commandPrefix.."fc")
- else
- run(commandPrefix.."fc "..args[1])
- end
- LP.Character.Head.Anchored = false
- looptpbypassfly = true
- view(LP)
- end
- end
- Commands.unfly = function(args)
- if bypassMODE == false then
- flying = false
- LP.Character.Humanoid.PlatformStand = false
- else
- looptpbypassfly = false
- run(commandPrefix.."unfreecam")
- local goalTP = LP.Character.HumanoidRootPart.CFrame
- if game.GameId == 245662005 then
- for i = 1, 5 do wait(0.2)
- LP.Character.HumanoidRootPart.CFrame = goalTP
- end
- else
- LP.Character.HumanoidRootPart.CFrame = goalTP
- end
- LP.Character.Head.Anchored = false
- end
- end
- Commands.kill = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v == LP then
- LP.Character:BreakJoints()
- else
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000,0,100000))
- wait(0.5)
- tp(LP,game:GetService("Players")[v.Name])
- wait(0.7)
- LP.Character.HumanoidRootPart.CFrame = NOW
- view(LP)
- end
- end
- end
- end
- end
- Commands.bring = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- local NOW = LP.Character.HumanoidRootPart.CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.2)
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.5)
- getout(LP, game:GetService("Players")[v.Name])
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = NOW
- end
- end
- end
- end
- end
- Commands.naked = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Clothing") then
- v:Destroy()
- end
- end
- end
- Commands.nolimbs = function(args)
- LP.Character["Left Arm"]:Destroy()
- LP.Character["Right Arm"]:Destroy()
- LP.Character["Left Leg"]:Destroy()
- LP.Character["Right Leg"]:Destroy()
- end
- Commands.noarms = function(args)
- LP.Character["Left Arm"]:Destroy()
- LP.Character["Right Arm"]:Destroy()
- end
- Commands.nolegs = function(args)
- LP.Character["Left Leg"]:Destroy()
- LP.Character["Right Leg"]:Destroy()
- end
- Commands.headless = function(args)
- local l = LP.Character.Humanoid:Clone()
- LP.Character.Humanoid:Destroy()
- wait(0.2)
- LP.Character.Head.CanCollide = false
- for i,v in pairs(LP.Character:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "Neck" then
- v:Destroy()
- end
- end
- wait(0.2)
- l.Name = "Humanoid"
- l.Parent = LP.Character
- wait(0.1)
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
- LP.Character.Animate:Destroy()
- end
- antiremotes = false
- Commands.antikick = function(args)
- if args[1] then
- if args[1] == "on" then
- antiremotes = true
- wait(0.2)
- for i,v in pairs(LP.Character:GetChildren()) do
- if string.find(string.lower(v.Name), "exploit") and v:IsA("LocalScript") then
- v.Disabled = true
- end
- end
- Notification("warning", "This command disables all remotes incase they are kick remotes, may break game.", 8)
- Notification("info", "Does not prevent serverside kicks, use "..commandPrefix.."antikick off to turn off.", 8)
- elseif args[1] == "off" then
- antiremotes = false
- Notification("warning", "Remote anti-kick turned off.", 8)
- end
- end
- end
- blockedremotes = {}
- Commands.blockremote = function(args)
- local getService = ""
- if args[1] then
- local remoteName = string.lower(tostring(args[1]))
- if args[2] then
- local serviceRemote = string.lower(tostring(args[2]))
- if serviceRemote == "workspace" then
- getService = "Workspace"
- elseif serviceRemote == "replicatedstorage" then
- getService = "ReplicatedStorage"
- elseif serviceRemote == "players" then
- getService = "Players"
- elseif serviceRemote == "lighting" then
- getService = "Lighting"
- elseif serviceRemote == "startergui" then
- getService = "StarterGui"
- elseif serviceRemote == "starterpack" then
- getService = "StarterPack"
- elseif serviceRemote == "starterplayer" then
- getService = "StarterPlayer"
- else
- getService = "ReplicatedStorage"
- end
- else
- getService = "ReplicatedStorage"
- end
- for i,getRemote in pairs(game:GetService(getService):GetDescendants()) do
- if string.lower(getRemote.Name) == remoteName then
- table.insert(blockedremotes, getRemote.Name)
- end
- end
- end
- Notification("warning", "If this command does not work, make sure you type remote name/service fully correct.", 8)
- end
- spyingremotes = false
- Commands.remotespy = function(args)
- if args[1] then
- if args[1] == "on" then
- spyingremotes = true
- Notification("info", "Remotespy turned on.", 4)
- elseif args[1] == "off" then
- spyingremotes = false
- Notification("info", "Remotespy turned off.", 4)
- end
- end
- end
- Commands.bang = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= nil then
- following = true
- flwplr = v
- flwnum = -1
- local bangAnimation = Instance.new("Animation")
- bangAnimation.AnimationId = "rbxassetid://148840371"
- bangTrack = LP.Character.Humanoid:LoadAnimation(bangAnimation)
- if args[2] then
- bangTrack:Play(.1, 1, args[2])
- else
- bangTrack:Play(.1, 1, 1)
- end
- end
- end
- else
- Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
- end
- end
- Commands.unbang = function(args)
- following = false
- bangTrack:Stop()
- end
- spamdelay = 1
- spamtext = "Spam"
- spamming = false
- Commands.spam = function(args)
- if args[1] then
- spamtext = args[1]
- spamming = true
- end
- end
- Commands.spamdelay = function(args)
- if args[1] then
- spamdelay = args[1]
- end
- end
- spawn(function()
- while wait(spamdelay) do
- if spamming then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
- end
- end
- end)
- Commands.unspam = function(args)
- spamming = false
- end
- Commands.info = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- createINFO(v)
- end
- end
- end
- Commands.age = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account Age: "..v.AccountAge.." days!", "All")
- end
- end
- end
- Commands.invisible = function(args)
- local Character = LP.Character
- if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- local Clone = Character.HumanoidRootPart:Clone()
- Character.HumanoidRootPart:Destroy()
- Clone.Parent = Character
- else
- local Clone = Character.LowerTorso.Root:Clone()
- Character.LowerTorso.Root:Destroy()
- Clone.Parent = Character.LowerTorso
- end
- end
- walkto = false
- walkplr = ""
- Commands.walk = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- walkplr = v
- walkto = true
- noclip = true
- end
- end
- end
- Commands.unwalk = function(args)
- walkto = false
- noclip = false
- LP.Character.Humanoid:MoveTo(LP.Character.HumanoidRootPart.Position)
- end
- Commands.glitch = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.2)
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.5)
- local b = Instance.new("BodyForce")
- b.Parent = LP.Character.HumanoidRootPart
- b.Name = "Glitch"
- if args[2] then
- b.Force = Vector3.new(args[2],5000,0)
- else
- b.Force = Vector3.new(100000000,5000,0)
- end
- wait(6)
- b:Destroy()
- end
- end
- end
- end
- Commands.tp = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v == LP then
- if args[2] then
- for i,a in pairs(findSinglePlayer(args[2])) do
- v.Character.HumanoidRootPart.CFrame = a.Character.HumanoidRootPart.CFrame
- end
- end
- else
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,first in pairs(findSinglePlayer(args[1])) do
- if args[2] then
- for i,second in pairs(findSinglePlayer(args[2])) do
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- tp(LP, first)
- wait(0.2)
- tp(LP, first)
- wait(0.5)
- tp(LP, second)
- wait(0.2)
- tp(LP, second)
- wait(0.2)
- getout(LP, first)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- Commands.givetool = function(args)
- if args[1] then
- if args[2] then
- local selectedTool = ""
- for i,allTools in pairs(LP.Character:GetDescendants()) do
- if allTools:IsA("Tool") and string.lower(allTools.Name) == string.lower(args[2]) then
- selectedTool = allTools
- else
- for i,otherTools in pairs(LP.Backpack:GetDescendants()) do
- if otherTools:IsA("Tool") and string.lower(otherTools.Name) == string.lower(args[2]) then
- selectedTool = otherTools
- end
- end
- end
- end
- for i,v in pairs(findSinglePlayer(args[1])) do
- if selectedTool ~= "" then
- selectedTool.Parent = v.Character
- end
- end
- else
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,tool in pairs(LP.Character:GetDescendants()) do
- if tool:IsA("Tool") then
- tool.Parent = plr.Character
- end
- end
- end
- end
- end
- end
- Commands.givealltools = function(args)
- LP.Character.Humanoid:UnequipTools()
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = plr.Character
- end
- end
- for i,a in pairs(LP.Backpack:GetDescendants()) do
- if a:IsA("Tool") then
- a.Parent = plr.Character
- end
- end
- end
- end
- Commands.blockhats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- for i,mesh in pairs(v:GetDescendants()) do
- if mesh.Name == "Mesh" then
- mesh:Destroy()
- end
- end
- end
- end
- end
- Commands.blocktool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- for i,mesh in pairs(v:GetDescendants()) do
- if mesh.Name == "Mesh" then
- mesh:Destroy()
- end
- end
- end
- end
- end
- Commands.orbit = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- view(v)
- RocketPropulsion(5000,100,5000,v,"OrbitMove")
- end
- else
- Notification("warning", "No player selected to orbit! Use: "..commandPrefix.."orbit player", 4)
- end
- end
- Commands.unorbit = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v.Name == "OrbitMove" then
- v:Destroy()
- end
- end
- view(LP)
- end
- Commands.pos = function(args)
- Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9)
- end
- SavedPosition = ""
- Commands.savepos = function(args)
- SavedPosition = LP.Character.HumanoidRootPart.CFrame
- end
- Commands.loadpos = function(args)
- if SavedPosition ~= "" then
- LP.Character.HumanoidRootPart.CFrame = SavedPosition
- end
- end
- Commands.tppos = function(args)
- if args[1] and args[2] and args[3] then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(args[1], args[2], args[3]))
- end
- end
- Commands.pmspam = function(args)
- if args[1] then
- local gotPlayer = ""
- for i,v in pairs(findPlayer(args[1])) do
- gotPlayer = v
- end
- table.remove(args, 1)
- local pmSpamMsg = table.concat(args," ")
- spamtext = "/w "..gotPlayer.Name.." "..pmSpamMsg
- spamming = true
- end
- end
- Commands.unpmspam = function(args)
- spamming = false
- end
- Commands.wsvis = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if v:IsA("Part") or v:IsA("Decal") then
- if tonumber(args[1]) > 1 then
- v.Transparency = 0.5
- else
- v.Transparency = args[1]
- end
- end
- end
- end
- clientSided()
- end
- Commands.bringobj = function(args)
- if args[1] then
- local Object = ""
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(args[1]) then
- Object = v
- end
- end
- if Object == "" then
- Notification("warning", "Object was not found in the workspace.", 6)
- end
- if args[2] then
- Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * args[2]
- else
- Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 3
- end
- clientSided()
- end
- end
- CBRINGplr = ""
- cbringing = false
- cbringingall = false
- Commands.cbring = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "all" or string.lower(tostring(args[1])) == "others" then
- cbringingall = true
- else
- for i,v in pairs(findPlayer(args[1])) do
- CBRINGplr = v
- cbringing = true
- end
- end
- if args[2] then
- CBRINGamount = args[2]
- else
- CBRINGamount = 3
- end
- clientSided()
- end
- end
- Commands.uncbring = function(args)
- cbringing = false
- cbringingall = false
- end
- Commands.cfreeze = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- v.Character.HumanoidRootPart.Anchored = true
- end
- clientSided()
- end
- end
- Commands.uncfreeze = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- v.Character.HumanoidRootPart.Anchored = false
- end
- else
- for i,all in pairs(gsPlayers:GetPlayers()) do
- all.Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- Commands.unattach = function(args)
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- getout(LP, LP)
- end
- currentToolSize = ""
- Commands.reach = function(args)
- if args[1] then
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if string.lower(tostring(args[1])) == "off" then
- v.Handle.Size = currentToolSize
- v.Handle.SelectionBoxCreated:Destroy()
- LP.Character.Humanoid:UnequipTools()
- elseif string.lower(tostring(args[1])) == "on" then
- if args[2] then
- currentToolSize = v.Handle.Size
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Size = Vector3.new(0.5,0.5,args[2])
- v.GripPos = Vector3.new(0,0,0)
- LP.Character.Humanoid:UnequipTools()
- else
- currentToolSize = v.Handle.Size
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Size = Vector3.new(0.5,0.5,60)
- v.GripPos = Vector3.new(0,0,0)
- LP.Character.Humanoid:UnequipTools()
- end
- end
- end
- end
- end
- end
- Commands.droptool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = gsWorkspace
- end
- end
- for i,a in pairs(LP.Backpack:GetDescendants()) do
- if a:IsA("Tool") then
- a.Parent = gsWorkspace
- end
- end
- end
- Commands.drophats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- v.Parent = gsWorkspace
- end
- end
- end
- Commands.hidecmdbar = function(args)
- CMDBAR.Visible = false
- end
- Commands.showcmdbar = function(args)
- CMDBAR.Visible = true
- end
- Commands.prefix = function(args)
- if args[1] then
- commandPrefix = string.sub(tostring(args[1]), 1, 1)
- fullUpdate()
- end
- end
- Commands.removeinvis = function(args)
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- if v.Transparency == 1 then
- v:Destroy()
- end
- end
- end
- clientSided()
- end
- Commands.removefog = function(args)
- gsLighting.FogStart = 0
- gsLighting.FogEnd = 9999999999999
- clientSided()
- end
- Commands.animation = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "gui" then
- loadstring(game:HttpGet(("https://pastebin.com/raw/mdbTSP4d"),true))()
- else
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://".. tostring(args[1])
- local track = LP.Character.Humanoid:LoadAnimation(Anim)
- if args[2] then
- track:Play(.1, 1, args[2])
- else
- track:Play(.1, 1, 1)
- end
- end
- end
- end
- Commands.btools = function(args)
- local Clone_T = Instance.new("HopperBin",LP.Backpack)
- Clone_T.BinType = "Clone"
- local Destruct = Instance.new("HopperBin",LP.Backpack)
- Destruct.BinType = "Hammer"
- local Hold_T = Instance.new("HopperBin",LP.Backpack)
- Hold_T.BinType = "Grab"
- clientSided()
- end
- Commands.esp = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- local espPlayer = v
- for i,createESP in pairs(espPlayer.Character:GetDescendants()) do
- if createESP:IsA("Part") or createESP:IsA("MeshPart") then
- if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then
- local current = true
- local espBOX = Instance.new("BoxHandleAdornment")
- espBOX.Parent = game.Players.LocalPlayer.PlayerGui
- espBOX.Name = "rGET"..espPlayer.Name
- espBOX.Adornee = createESP
- espBOX.AlwaysOnTop = true
- espBOX.ZIndex = 0
- espBOX.Size = createESP.Size
- espBOX.Transparency = 0.3
- local AboveHead = Instance.new("BillboardGui")
- AboveHead.Parent = game.Players.LocalPlayer.PlayerGui
- AboveHead.Adornee = espPlayer.Character.Head
- AboveHead.Name = "rGET"..espPlayer.Name
- AboveHead.Size = UDim2.new(0, 100, 0, 100)
- AboveHead.StudsOffset = Vector3.new(0, 1, 0)
- AboveHead.AlwaysOnTop = true
- local Info = Instance.new("TextLabel")
- Info.Parent = AboveHead
- Info.BackgroundTransparency = 1
- Info.Position = UDim2.new(0, 0, 0, 0)
- Info.Size = UDim2.new(1, 0, 0, 40)
- Info.TextColor3 = Color3.fromRGB(200,200,200)
- Info.TextStrokeTransparency = 0.5
- Info.TextSize = 15
- if espPlayer.TeamColor == LP.TeamColor then
- espBOX.Color = BrickColor.new("Lime green")
- Info.TextStrokeColor3 = Color3.fromRGB(10,100,10)
- else
- espBOX.Color = BrickColor.new("Really red")
- Info.TextStrokeColor3 = Color3.fromRGB(100,10,10)
- end
- game:GetService('RunService').Stepped:connect(function()
- if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then
- Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")"
- end
- end)
- espPlayer.Character.Humanoid.Died:Connect(function()
- current = false
- espBOX:Destroy()
- AboveHead:Destroy()
- end)
- gsPlayers.PlayerRemoving:Connect(function(plr)
- if plr == espPlayer then
- current = false
- espBOX:Destroy()
- AboveHead:Destroy()
- end
- end)
- end
- end
- end
- end
- clientSided()
- end
- end
- Commands.unesp = function(args)
- if not args[1] then
- for i,v in pairs(gsCoreGui:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "rGET" then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(gsCoreGui:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "rGET" then
- for i,a in pairs(findPlayer(args[1])) do
- if string.sub(v.Name, 5) == a.Name then
- v:Destroy()
- end
- end
- end
- end
- end
- end
- Commands.dice = function(args)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("You rolled a dice for ".. tostring(math.random(1, 6)), "All")
- end
- Commands.random = function(args)
- if args[1] and args[2] then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Picking random number between "..args[1].." and "..args[2].."... The number is ".. tostring(math.random(args[1], args[2])), "All")
- end
- end
- Commands.closegame = function(args)
- game:Shutdown()
- end
- Commands.savetool = function(args)
- if args[1] then
- for i,a in pairs(LP.Character:GetDescendants()) do
- if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args[1])) then
- a.Parent = LP
- local oldName = a.Name
- a.Name = "saved "..oldName
- else
- for i,n in pairs(LP.Backpack:GetDescendants()) do
- if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args[1])) then
- n.Parent = LP
- local sOldName = n.Name
- n.Name = "saved "..sOldName
- end
- end
- end
- end
- else
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- end
- end
- Commands.loadtool = function(args)
- if args[1] then
- for i,a in pairs(LP:GetChildren()) do
- if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args[1])) then
- a.Parent = LP.Backpack
- local currentName = a.Name
- a.Name = string.sub(currentName, 7)
- end
- end
- else
- for i,v in pairs(LP:GetChildren()) do
- if string.sub(v.Name, 1, 5) == "saved" then
- v.Parent = LP.Backpack
- local currentName = v.Name
- v.Name = string.sub(currentName, 7)
- end
- end
- end
- end
- Commands.savealltool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- end
- Commands.loadalltool = function(args)
- for i,v in pairs(LP:GetChildren()) do
- if v:IsA("Tool") and string.sub(v.Name, 1, 5) == "saved" then
- v.Parent = LP.Backpack
- local currentName = v.Name
- v.Name = string.sub(currentName, 7)
- end
- end
- end
- Mouse.KeyDown:Connect(function(key)
- if key == clicktpKEY and clicktpACTIVE == true then
- if Mouse.Target then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
- end
- end
- if key == clickdelKEY and clickdelACTIVE == true then
- if Mouse.Target then
- Mouse.Target:Destroy()
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- if clicktpACTIVE == true and clicktpCLICK == true then
- if Mouse.Target then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
- end
- end
- if clickdelACTIVE == true and clickdelCLICK == true then
- if Mouse.Target then
- Mouse.Target:Destroy()
- end
- end
- end)
- clicktpKEY = ""
- clickdelKEY = ""
- clicktpACTIVE = false
- clickdelACTIVE = false
- clicktpCLICK = false
- clickdelCLICK = false
- Commands.clicktp = function(args)
- if args[1] then
- clicktpKEY = string.sub(tostring(args[1]), 1, 1)
- clicktpACTIVE = true
- clicktpCLICK = false
- else
- clicktpKEY = ""
- clicktpACTIVE = true
- clicktpCLICK = true
- end
- clientSided()
- end
- Commands.clickdel = function(args)
- if args[1] then
- clickdelKEY = string.sub(tostring(args[1]), 1, 1)
- clickdelACTIVE = true
- clickdelCLICK = false
- else
- clickdelKEY = ""
- clickdelACTIVE = true
- clickdelCLICK = true
- end
- clientSided()
- end
- Commands.unclicktp = function(args)
- clicktpACTIVE = false
- end
- Commands.unclickdel = function(args)
- clickdelACTIVE = false
- end
- Commands.oof = function(args)
- spawn(function()
- while wait() do
- for i,v in pairs(game:GetService'Players':GetPlayers()) do
- if v.Character ~= nil and v.Character:FindFirstChild'Head' then
- for _,x in pairs(v.Character.Head:GetChildren()) do
- if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true) end
- end
- end
- end
- end
- end)
- end
- Commands.chatlogs = function(args)
- MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
- MainChatFrame.Visible = true
- end
- Commands.stopadmin = function(args)
- commandPrefix = " "
- following = false
- trailing = false
- annoying = false
- CMDBAR.Visible = false
- Match.Visible = false
- flying = false
- end
- Commands.freecam = function(args)
- for i,getFC in pairs(gsWorkspace:GetDescendants()) do
- if getFC.Name == "rGETpartNUMBER2" then
- getFC:Destroy()
- end
- end
- local CameraPart = Instance.new("Part")
- CameraPart.CanCollide = false
- CameraPart.CFrame = LP.Character.Head.CFrame
- CameraPart.Locked = true
- CameraPart.Transparency = 1
- CameraPart.Size = Vector3.new(1, 1, 1)
- CameraPart.Parent = gsWorkspace
- CameraPart.Name = "rGETpartNUMBER2"
- if bypassMODE == true then
- loopviewfc = true
- elseif bypassMODE == false then
- gsWorkspace.CurrentCamera.CameraSubject = CameraPart
- end
- local speedget = 1
- local T = CameraPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = speedget
- if args[1] then
- speedfly = tonumber(args[1])
- else
- speedfly = 1
- end
- local function freecamfly()
- LP.Character.Head.Anchored = true
- doFREECAM = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not doFREECAM
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = speedfly
- elseif KEY:lower() == 's' then
- CONTROL.B = -speedfly
- elseif KEY:lower() == 'a' then
- CONTROL.L = -speedfly
- elseif KEY:lower() == 'd' then
- CONTROL.R = speedfly
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- freecamfly()
- end
- Commands.fc = function(args)
- if args[1] then
- run(commandPrefix.."freecam "..args[1])
- else
- run(commandPrefix.."freecam")
- end
- end
- Commands.unfreecam = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- if gsWorkspace.rGETpartNUMBER2 then
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end
- loopviewfc = false
- end
- Commands.unfc = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- if gsWorkspace.rGETpartNUMBER2 then
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end
- loopviewfc = false
- end
- Commands.gotofc = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- pcall(function()
- LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end)
- loopviewfc = false
- end
- Commands.fctp = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- pcall(function()
- gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame
- end)
- end
- end
- end
- Commands.cmds = function(args)
- CMDSmain.Position = UDim2.new(0, 695, 0, 297)
- CMDSmain.Visible = true
- CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1)
- end
- Commands.fullcredits = function(args)
- Notification("info", "Credit to Autumn, Josh and 3dsboy08 (Help with "..commandPrefix.."remotespy and anti client kick)", 1)
- Notification("info", "Credit to Infinite Yield developers (Assisted in "..commandPrefix.."esp and "..commandPrefix.."fly commands)", 1)
- Notification("info", "Credit to Timeless ("..commandPrefix.."invisible) and Harkinian ("..commandPrefix.."shutdown)", 1)
- Notification("info", "Credit to DEX creators ("..commandPrefix.."explorer) and xFunnieuss ("..commandPrefix.."spinhats)", 1)
- Notification("info", "Only creator is illremember", 2)
- end
- Commands.hotkey = function(args)
- if args[1] then
- local hotkeyKEY = string.sub(tostring(args[1]), 1, 3)
- if args[2] then
- table.remove(args, 1)
- local hotkeyCMD = table.concat(args, " ")
- table.insert(hotkeys, hotkeyCMD.."//"..hotkeyKEY)
- fullUpdate()
- Notification("info", "Hotkey added!", 1)
- end
- end
- end
- Mouse.KeyDown:Connect(function(key)
- for i,v in pairs(hotkeys) do
- local currentKey = string.match(v, "[%a%d]+$")
- if string.len(currentKey) == 1 then
- if key == string.sub(v, #v, #v) then
- local commandtoRUN = string.match(v, "^[%w%s]+")
- if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
- if bypassMODE == true then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- else
- if flying == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- end
- elseif tostring(commandtoRUN) == "noclip" then
- if noclip == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."clip")
- end
- elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- if fchotkeymode == "goto" then
- run(commandPrefix.."gotofc")
- elseif fchotkeymode == "unfc" then
- run(commandPrefix.."unfreecam")
- end
- end
- else
- run(commandPrefix..tostring(commandtoRUN))
- end
- end
- else
- if string.lower(string.sub(tostring(currentKey), 1, 1)) == "f" then
- local commandtoRUN = string.match(v, "^[%w%s]+")
- local hotkeyadjust = tonumber(string.sub(currentKey, 2, 3)) + 25
- if string.byte(key) == hotkeyadjust then
- if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
- if bypassMODE == true then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- else
- if flying == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- end
- elseif tostring(commandtoRUN) == "noclip" then
- if noclip == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."clip")
- end
- elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- if fchotkeymode == "goto" then
- run(commandPrefix.."gotofc")
- elseif fchotkeymode == "unfc" then
- run(commandPrefix.."unfreecam")
- end
- end
- else
- run(commandPrefix..tostring(commandtoRUN))
- end
- end
- end
- end
- end
- end)
- Commands.removeallhotkey = function(args)
- hotkeys = {}
- fullUpdate()
- Notification("warning", "All hotkeys reset/removed", 6)
- end
- Commands.removehotkey = function(args)
- if args[1] then
- for i,v in pairs(hotkeys) do
- local currentKey = string.match(v, "[%a%d]+$")
- if currentKey == string.lower(tostring(args[1])) then
- table.remove(hotkeys, i)
- fullUpdate()
- end
- end
- end
- end
- Commands.printhotkeys = function(args)
- for i,v in pairs(hotkeys) do
- warn("HOTKEYS:")
- print(v)
- end
- end
- Commands.os = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." is on "..v.OsPlatform, "All")
- end
- end
- end
- spinning = false
- Commands.spin = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- run(commandPrefix.."attach "..v.Name)
- annplr = v
- annoying = true
- spinning = true
- end
- end
- end
- Commands.unspin = function(args)
- if spinning then
- annoying = false
- spinning = false
- end
- run(""..commandPrefix.."unattach")
- end
- Commands.explorer = function(args)
- loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
- Notification("info", "Loaded DEX explorer!", 5)
- end
- Commands.maxzoom = function(args)
- if args[1] then
- LP.CameraMaxZoomDistance = args[1]
- end
- end
- Commands.stare = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- stareplr = v
- staring = true
- end
- end
- end
- Commands.unstare = function(args)
- staring = false
- end
- Commands.tempgod = function(args)
- local hu = LP.Character.Humanoid
- local l = Instance.new("Humanoid")
- l.Parent = LP.Character
- l.Name = "Humanoid"
- wait(0.1)
- hu.Parent = LP
- gsWorkspace.CurrentCamera.CameraSubject = LP.Character
- LP.Character.Animate.Disabled = true
- wait(0.1)
- LP.Character.Animate.Disabled = false
- Notification("info", "Enabled Temp FE Godmode", 4)
- end
- Commands.void = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999999999999,0,999999999999999))
- end
- end
- end
- end
- Commands.freefall = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.6)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
- end
- end
- end
- end
- Commands.version = function(args)
- Notification("info", "Current Shattervast Version: V2.8", 7)
- end
- Commands.shiftlockon = function(args)
- LP.DevEnableMouseLock = true
- Notification("info", "Shift lock enabled!", 5)
- end
- for i,needChat in pairs(gsPlayers:GetPlayers()) do
- needChat.Chatted:Connect(function(msg)
- if copychatall then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
- end
- end)
- end
- gsPlayers.PlayerAdded:Connect(function(plr)
- plr.Chatted:Connect(function(msg)
- if copychatall then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
- end
- end)
- end)
- copychatplayer = nil
- copychatall = false
- copychatACTIVE = false
- Commands.copychat = function(args)
- if args[1] then
- if string.lower(args[1]) == "all" or string.lower(args[1]) == "others" then
- copychatall = true
- else
- for i,v in pairs(findPlayer(args[1])) do
- if v ~= LP then
- copychatplayer = v
- copychatACTIVE = true
- end
- end
- end
- end
- end
- Commands.uncopychat = function(args)
- copychatall = false
- copychatACTIVE = false
- end
- Commands.newkill = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(4000000, -10, 200000))
- end
- end
- end
- end
- Commands.newattach = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- end
- end
- end
- end
- Commands.newbring = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = NOW
- end
- end
- end
- end
- Commands.spawn = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "ws" then
- spawnWS = args[2] or CurrentWalkspeed
- LP.Character.Humanoid.WalkSpeed = args[2] or CurrentWalkspeed
- elseif string.lower(tostring(args[1])) == "jp" then
- spawnJP = args[2] or CurrentJumppower
- LP.Character.Humanoid.JumpPower = args[2] or CurrentJumppower
- elseif string.lower(tostring(args[1])) == "hh" then
- spawnHH = args[2] or CurrentHipheight
- LP.Character.Humanoid.HipHeight = args[2] or CurrentHipheight
- elseif string.lower(tostring(args[1])) == "god" then
- spawningfegod = true
- FEGodmode()
- end
- end
- end
- Commands.unspawn = function(args)
- spawnWS = CurrentWalkspeed
- spawnJP = CurrentJumppower
- spawnHH = CurrentHipheight
- spawningfegod = false
- Notification("info", "Reset spawning stats", 5)
- end
- savingtoolsloop = false
- Commands.autosavetool = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- savingtoolsloop = true
- elseif string.lower(tostring(args[1])) == "off" then
- savingtoolsloop = false
- end
- end
- end
- modeFling = false
- modeCompliment = false
- modeMove = false
- modeInfo = false
- Commands.beginbot = function(args)
- if not args[1] then
- print("fling // compliment // move // info")
- Notification("info", ""..commandPrefix.."beginbot Modes printed", 5)
- else
- if string.lower(tostring(args[1])) == "fling" then
- modeFling = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hello! I am Fling-Bot 5000! Say !fling [Player] to fling that player!", "All")
- elseif string.lower(tostring(args[1])) == "compliment" then
- modeCompliment = true
- complimentReady = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Good day, I am Compliment-Bot. Say !c [Player] to give them a compliment.", "All")
- elseif string.lower(tostring(args[1])) == "move" then
- modeMove = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hi, I am movement bot. Commands you can use: !walk [Player], !bringbot, !follow [Player].", "All")
- elseif string.lower(tostring(args[1])) == "info" then
- modeInfo = true
- infoReady = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hey, I'm Info-Bot. Commands you can use: !age [Player], !id [Player].", "All")
- end
- end
- end
- Commands.endbot = function(args)
- if not args[1] then
- modeFling = false
- modeCompliment = false
- modeMove = false
- modeInfo = false
- else
- if string.lower(tostring(args[1])) == "fling" then
- modeFling = false
- elseif string.lower(tostring(args[1])) == "compliment" then
- modeCompliment = false
- elseif string.lower(tostring(args[1])) == "move" then
- modeMove = false
- elseif string.lower(tostring(args[1])) == "info" then
- modeInfo = false
- end
- end
- end
- Commands.stopsit = function(args)
- stopsitting = true
- end
- Commands.gosit = function(args)
- stopsitting = false
- end
- chattingerror = true
- Commands.chaterror = function(args)
- if chattingerror then
- chattingerror = false
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- wait(4)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- wait(3)
- chattingerror = true
- end
- end
- spawnpos = nil
- spawningpos = true
- Commands.spawnpoint = function(args)
- spawnpos = LP.Character.HumanoidRootPart.CFrame
- spawningpos = true
- Notification("info", "Spawn point has been set! Use "..commandPrefix.."nospawn to remove.", 6)
- end
- Commands.nospawn = function(args)
- spawningpos = false
- Notification("info", "Spawn point has been removed. Use "..commandPrefix.."spawnpoint to enable.", 6)
- end
- Commands.bypass = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- bypassMODE = true
- Notification("warning", "Bypass mode turned on, this changes functions of "..commandPrefix.."fly and other commands to bypass most anti-exploits.", 7)
- elseif string.lower(tostring(args[1])) == "off" then
- bypassMODE = false
- Notification("warning", "Bypass mode has been turned off.", 7)
- end
- end
- end
- Commands.fixcam = function(args)
- gsWorkspace.CurrentCamera:Destroy()
- wait(0.1)
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character.Humanoid
- game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
- LP.CameraMinZoomDistance = 0.5
- LP.CameraMaxZoomDistance = 400
- LP.CameraMode = "Classic"
- LP.DevCameraOcclusionMode = CurrentNormal
- end
- Commands.gotoobj = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(tostring(args[1])) then
- LP.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 3, 0)
- end
- end
- end
- end
- Commands.breakcam = function(args)
- gsWorkspace.CurrentCamera.CameraSubject = LP.Character.Head
- end
- Commands.inviscam = function(args)
- LP.DevCameraOcclusionMode = "Invisicam"
- end
- printobjKEY = ""
- printobjCLICKING = false
- printobjACTIVE = false
- Commands.printobj = function(args)
- if args[1] then
- printobjKEY = string.sub(tostring(args[1]), 1, 1)
- printobjACTIVE = true
- printobjCLICKING = false
- else
- printobjKEY = ""
- printobjACTIVE = true
- printobjCLICKING = true
- end
- end
- Mouse.KeyDown:Connect(function(key)
- if key == printobjKEY and printobjACTIVE == true then
- if Mouse.Target then
- local path = Mouse.Target:GetFullName()
- local getPath = "game:GetService(\"Workspace\")"
- local getSpaces = ""
- local separate = {}
- local a = nil
- for v in string.gmatch(string.sub(path, 10), "[^.]+") do
- if string.match(v, " ") then
- a = "["..v.."]"
- table.insert(separate, a)
- else
- a = "."..v
- table.insert(separate, a)
- end
- getSpaces = table.concat(separate, "")
- end
- local fullPath = getPath..getSpaces
- print(fullPath)
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- if printobjCLICKING == true and printobjACTIVE == true then
- if Mouse.Target then
- local path = Mouse.Target:GetFullName()
- local getPath = "game:GetService(\"Workspace\")"
- local getSpaces = ""
- local separate = {}
- local a = nil
- for v in string.gmatch(string.sub(path, 10), "[^.]+") do
- if string.match(v, " ") then
- a = "["..v.."]"
- table.insert(separate, a)
- else
- a = "."..v
- table.insert(separate, a)
- end
- getSpaces = table.concat(separate, "")
- end
- local fullPath = getPath..getSpaces
- print(fullPath)
- end
- end
- end)
- Commands.unprintobj = function(args)
- printobjACTIVE = false
- printobjCLICKING = false
- end
- Commands.hotkeyfc = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "goto" then
- fchotkeymode = "goto"
- elseif string.lower(tostring(args[1])) == "unfc" then
- fchotkeymode = "unfc"
- end
- fullUpdate()
- end
- end
- Commands.carpet = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= nil then
- annoying = true
- annplr = v
- local carpetAnimation = Instance.new("Animation")
- carpetAnimation.AnimationId = "rbxassetid://282574440"
- carpetTrack = LP.Character.Humanoid:LoadAnimation(carpetAnimation)
- carpetTrack:Play(.1, 1, 1)
- end
- end
- end
- end
- Commands.uncarpet = function(args)
- annoying = false
- carpetTrack:Stop()
- end
- Commands.brickcreate = function(args)
- if args[1] then
- local createPosition = LP.Character.HumanoidRootPart.CFrame
- if args[2] and args[3] and args[4] then
- createPosition = CFrame.new(Vector3.new(args[2], args[3], args[4]))
- else
- createPosition = LP.Character.HumanoidRootPart.CFrame
- end
- for i = 1, args[1] do
- LP.Character.HumanoidRootPart.CFrame = createPosition
- run(commandPrefix.."blockhats")
- wait(0.2)
- run(commandPrefix.."drophats")
- wait(0.2)
- run(commandPrefix.."reset")
- wait(6)
- end
- end
- end
- Commands.forward = function(args)
- if args[1] then
- forwardSpeed = args[1]
- else
- forwardSpeed = 1
- end
- cmdForward = true
- end
- Commands.unforward = function(args)
- cmdForward = false
- end
- Commands.id = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account ID: "..v.UserId.."!", "All")
- end
- end
- end
- Commands.spinhats = function(args) -- Credit to xFunnieuss
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
- local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
- if v.Handle.AccessoryWeld then
- v.Handle.AccessoryWeld:Destroy()
- end
- if args[1] then
- spin.AngularVelocity = Vector3.new(0, args[1], 0)
- spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
- else
- spin.AngularVelocity = Vector3.new(0, 100, 0)
- spin.MaxTorque = Vector3.new(0, 200, 0)
- end
- keep.P = 30000
- keep.D = 50
- spinObj = keep
- spinTOhead = true
- end
- end
- end
- Commands.unspinhats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- pcall(function()
- run(commandPrefix.."drophats")
- wait(2)
- v.Handle.spin:Destroy()
- v.Handle.keep:Destroy()
- end)
- end
- end
- end
- savedmap = {}
- Commands.savemap = function(args)
- for i,v in pairs(gsWorkspace:GetChildren()) do
- v.Archivable = true
- if not v:IsA("Terrain") and not v:IsA("Camera") then
- if not gsPlayers:FindFirstChild(v.Name) then
- table.insert(savedmap, v:Clone())
- end
- end
- end
- clientSided()
- end
- Commands.loadmap = function(args)
- for i,v in pairs(gsWorkspace:GetChildren()) do
- if not v:IsA("Terrain") and not v:IsA("Camera") then
- if not gsPlayers:FindFirstChild(v.Name) then
- pcall(function()
- v:Destroy()
- end)
- end
- end
- end
- for i,a in ipairs(savedmap) do
- a:Clone().Parent = gsWorkspace
- end
- clientSided()
- end
- Commands.creatorid = function(args)
- LP.UserId = game.CreatorId
- end
- Commands.gameid = function(args)
- Notification("info", "Current game's ID = "..game.GameId, 8)
- end
- Commands.delobj = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(tostring(args[1])) then
- v:Destroy()
- clientSided()
- end
- end
- end
- end
- Commands.glide = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local goal = {}
- goal.CFrame = v.Character.HumanoidRootPart.CFrame
- local defaultSpeed = 3
- if args[2] then
- if tonumber(args[2]) < 10 then
- defaultSpeed = tonumber(args[2])
- else
- defaultSpeed = 5
- end
- else
- defaultSpeed = 3
- end
- local goalFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(defaultSpeed, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), goal)
- goalFunction:Play()
- end
- end
- end
- stutterON = false
- Commands.stutter = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- stutterON = true
- elseif string.lower(tostring(args[1])) == "off" then
- stutterON = false
- wait(0.4)
- LP.Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- spawn(function()
- while wait(0.1) do
- if stutterON == true then
- LP.Character.HumanoidRootPart.Anchored = false
- wait(0.1)
- LP.Character.HumanoidRootPart.Anchored = true
- end
- end
- end)
- Commands.platform = function(args)
- local a = Instance.new("Part")
- a.Parent = gsWorkspace
- a.Size = Vector3.new(10, 1, 10)
- a.Anchored = true
- a.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- LP.Character.HumanoidRootPart.CFrame = a.CFrame + Vector3.new(0, 2, 0)
- clientSided()
- wait(20)
- a:Destroy()
- end
- Commands.servertime = function(args)
- Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8)
- end
- Commands.ride = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://179224234"
- RIDEtrack = LP.Character.Humanoid:LoadAnimation(Anim)
- rideACTIVE = true
- ridePLAYER = v
- RIDEtrack:Play()
- end
- end
- end
- Commands.unride = function(args)
- RIDEtrack:Stop()
- rideACTIVE = false
- end
- Commands.cmute = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/mute "..v.Name, "All")
- clientSided()
- end
- end
- end
- Commands.uncmute = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/unmute "..v.Name, "All")
- end
- end
- end
- Commands.hat = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://282574440"
- HATtrack = LP.Character.Humanoid:LoadAnimation(Anim)
- rideACTIVE = true
- ridePLAYER = v
- HATtrack:Play()
- view(v)
- end
- end
- end
- Commands.unhat = function(args)
- HATtrack:Stop()
- rideACTIVE = false
- view(LP)
- end
- --[[Commands.spawnreset = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- spawningatreset = true
- elseif string.lower(tostring(args[1])) == "off" then
- spawningatreset = false
- end
- end
- end]]
- Commands.chat = function(args)
- if args[1] then
- local Chatmsg = table.concat(args, " ")
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chatmsg, "All")
- end
- end
- -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname)
- function findPlayer(plr)
- local players = {}
- local find = plr:lower()
- local getAllNames = getmultipleplayers(find)
- for i,mplr in pairs(getAllNames) do
- if mplr == "all" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- table.insert(players,v)
- end
- elseif mplr == "others" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "me" then
- table.insert(players,LP)
- elseif mplr == "noobs" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge <= 3 then
- table.insert(players,v)
- end
- end
- elseif mplr == "veterans" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge >= 365 then
- table.insert(players,v)
- end
- end
- elseif mplr == "oldveterans" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge >= 1500 then
- table.insert(players,v)
- end
- end
- elseif mplr == "friends" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "nofriends" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "default" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then
- table.insert(players,v)
- end
- end
- elseif mplr == "random" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- table.insert(players,v[math.random(1, #v)])
- end
- elseif mplr == "sameteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team == LP.Team then
- table.insert(players,v)
- end
- end
- elseif mplr == "noteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team == nil then
- table.insert(players,v)
- end
- end
- elseif mplr == "otherteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team ~= LP.Team then
- table.insert(players,v)
- end
- end
- elseif string.sub(mplr, 1, 4) == "team" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- local spaceTEAM = {}
- for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do
- spaceTEAM[#spaceTEAM + 1] = teamValues
- end
- local gottrueteam = table.concat(spaceTEAM, " ")
- if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then
- table.insert(players,v)
- end
- end
- else
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then
- table.insert(players,v)
- end
- end
- end
- end
- return players
- end
- function getmultipleplayers(plr)
- local plrsgotten = {}
- for i in string.gmatch(plr,"[^,]+") do
- table.insert(plrsgotten,i)
- end
- return plrsgotten
- end
- function findSinglePlayer(plr)
- local players = {}
- local find = plr:lower()
- if find == "me" then
- table.insert(players,LP)
- else
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if string.lower(v.Name):sub(1, #find) == string.lower(find) then
- table.insert(players,v)
- end
- end
- end
- local oneplayer = {}
- pcall(function()
- table.insert(oneplayer, players[math.random(1, #players)])
- end)
- return oneplayer
- end
- -- Anti Kick
- if getrawmetatable then
- function formatargs(getArgs,v)
- if #getArgs == 0 then
- return ""
- end
- local collectArgs = {}
- for k,v in next,getArgs do
- local argument = ""
- if type(v) == "string" then
- argument = "\""..v.."\""
- elseif type(v) == "table" then
- argument = "{" .. formatargs(v,true) .. "}"
- else
- argument = tostring(v)
- end
- if v and type(k) ~= "number" then
- table.insert(collectArgs,k.."="..argument)
- else
- table.insert(collectArgs,argument)
- end
- end
- return table.concat(collectArgs, ", ")
- end
- kicknum = 0
- local game_meta = getrawmetatable(game)
- local game_namecall = game_meta.__namecall
- local game_index = game_meta.__index
- local w = (setreadonly or fullaccess or make_writeable)
- pcall(w, game_meta, false)
- game_meta.__namecall = function(out, ...)
- local args = {...}
- local Method = args[#args]
- args[#args] = nil
- if Method == "Kick" and out == LP then
- kicknum = kicknum + 1
- warn("Blocked client-kick attempt "..kicknum)
- return
- end
- if antiremotes then
- if Method == "FireServer" or Method == "InvokeServer" then
- if out.Name ~= "CharacterSoundEvent" and out.Name ~= "SayMessageRequest" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Parent ~= "DefaultChatSystemChatEvents" then
- warn("Blocked remote: "..out.Name.." // Method: "..Method)
- return
- end
- end
- else
- if Method == "FireServer" or Method == "InvokeServer" then
- for i,noremote in pairs(blockedremotes) do
- if out.Name == noremote and out.Name ~= "SayMessageRequest" then
- warn("Blocked remote: "..out.Name.." // Method: "..Method)
- return
- end
- end
- end
- end
- if spyingremotes then
- if Method == "FireServer" or Method == "InvokeServer" then
- if out.Name ~= "CharacterSoundEvent" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Name ~= "SayMessageRequest" then
- local arguments = {}
- for i = 1,#args do
- arguments[i] = args[i]
- end
- local getScript = getfenv(2).script
- if getScript == nil then
- getScript = "??? (Not Found) ???"
- end
- warn("<> <> <> A "..out.ClassName.." has been fired! How to fire:\ngame."..out:GetFullName()..":"..Method.."("..formatargs(arguments)..")\n\nFired from script: ".. tostring(getScript:GetFullName()))
- end
- end
- end
- return game_namecall(out, ...)
- end
- end
- -- FE Check
- function FEcheckDefault()
- if gsWorkspace.FilteringEnabled == true then
- createIntro("warning", "FE is enabled! Press "..commandPrefix.." to bring Command Bar.", 7)
- else
- createIntro("warning", "FE is disabled. Consider using a different script.", 7)
- end
- end
- FEcheckDefault()
- end)
- CycBot.Name = "Cyc Bot"
- CycBot.Parent = _1
- CycBot.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- CycBot.BorderSizePixel = 2
- CycBot.Position = UDim2.new(7.00000048, 0, 0.809523821, 0)
- CycBot.Size = UDim2.new(0, 100, 0, 25)
- CycBot.Font = Enum.Font.SourceSansItalic
- CycBot.Text = "Cyc Bot."
- CycBot.TextColor3 = Color3.new(1, 1, 1)
- CycBot.TextSize = 20
- CycBot.MouseButton1Down:connect(function()
- --Script by CyclicaIIy
- --main data
- players = game:GetService("Players"):GetPlayers()
- LocalPlayer = game:GetService("Players").LocalPlayer
- admins = {"destruidorplays", "Persuno"}
- table.insert(admins, LocalPlayer.Name)
- delay = false
- botname = "Cyclic"
- botver = "V2.5"
- delaysec = 1.5
- cmdsec = 6
- announcement = true
- --stuff
- script = ""
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: CyclicaIIy's Bot Remake "..botver.." has been activated! say ;cmds for commands.","All")
- updatelog1 = "Update log 1: 4 new comamnd sections and 10 new commands! the ;age command is now replaced by ;playerinfo"
- updatelog2 = "Update log 2: Some few bug fixes and commands optimization"
- updatelog3 = "Update log 3: Added ;medic, ;dhbot, ;announcement. ;addstack, ;clearstack, ;runstack is soon to be added!"
- --hook admin chat
- mainhook = [[
- for _, player in pairs(players) do
- ]]
- mainchat = [[
- local function shortcutsay()
- if Target == "me" then
- Target = player.Name
- elseif Target == "random" then
- repeat
- Target = players[math.random(1, #players)].Name
- until Target ~= player.Name
- end
- if playername == "me" then
- playername = player.Name
- elseif playername == "random" then
- repeat
- playername = players[math.random(1, #players)].Name
- until playername ~= player.Name
- end
- if TP1 == "me" then
- TP1 = player.Name
- elseif TP1 == "random" then
- repeat
- TP1 = players[math.random(1, #players)].Name
- until TP1 ~= player.Name
- end
- end
- local function fefix()
- local a1 = Instance.new("Model", workspace)
- local a2 = Instance.new("Part", a1)
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth = 100;a3.Health = 100
- LocalPlayer.Character = a1
- a3.Health = 0
- end
- player.Chatted:connect(function(msg)
- players = game:GetService("Players"):GetPlayers()
- ]]
- mainscript = [[
- for i = 1, #admins do
- if player.Name == admins[i] then
- if msg:sub(1, 1) == ";" then
- wait()
- if delay == false then
- --command functions
- if msg:sub(1, 8) == ";namebot" then
- check = msg:sub(10, #msg)
- if string.len(check) > 10 then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot name is too long!","All")
- else
- botname = check
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot name now set!","All")
- end
- end
- if msg:sub(1, 9) == ";botbring" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- game:GetService("Players").LocalPlayer.Character:MoveTo(player.Character.Torso.Position)
- end
- if msg:sub(1, 7) == ";follow" then
- playername = msg:sub(9, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Following "..playername..", the follow cmd will stop soon!","All")
- for i=1, 20 do
- LocalPlayer.Character.Humanoid:MoveTo(game:GetService("Players")[playername].Character.Torso.Position)
- LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
- if i == 20 then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Following "..playername.." has stopped!","All")
- end
- end
- end
- if msg:sub(1, 5) == ";cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Since the command list is too long, I've divided them into sections: ;1cmds, ;2cmds, ;3cmds, ;4cmds, ;5cmds, ;6cmds, ;fencingcmds, ;ownercmds, ;scriptcmds","All")
- end
- if msg:sub(1, 6) == ";1cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 1 out of "..cmdsec.." command list: ;follow [playername], ;floathead, ;dab [speed], ;spam [string], ;kill [playername], ;fix, ;updatelogs","All")
- end
- if msg:sub(1, 6) == ";2cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 2 out of "..cmdsec.." command list: ;levitate, ;slam, ;faint, ;spinarm [speed], ;bowdown, ;armdetach, ;weirdmove, ;dinowalk, ;swim, ;tpbot [Position], ;fegod, ;info","All")
- end
- if msg:sub(1, 6) == ";3cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 3 out of "..cmdsec.." command list: ;trueorfalse [question], ;tpto [playername], ;blockhats, ;drophats, ;dance [speed], ;spin [speed], ;jumpingjacks [speed], ;credits","All")
- end
- if msg:sub(1, 6) == ";4cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 4 out of "..cmdsec.." command list: ;bring, ;namebot [string], ;say [string], ;botbring, ;listadmin, ;get [playername], ;walkbot [position]","All")
- end
- if msg:sub(1, 6) == ";5cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 5 out of "..cmdsec.." command list: ;random [number], ;reversesay [string], ;runscript [script], ;oof, ;attach [playername], ;playerlist, ;orbit [playername]","All")
- end
- if msg:sub(1, 6) == ";6cmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 6 out of "..cmdsec.." command list: ;sitbot, ;jumpbot, ;playerinfo [playername], ;stopanim, ;animid [animationid]","All")
- end
- if msg:sub(1, 13) == ";fencingcmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Fencing command list: ;paintdrop, ;brickdrop, ;jail [playername], ;groundfreeze [playername], ;medic [playername], ;dhbot","All")
- end
- if msg:sub(1, 11) == ";scriptcmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Script command list: ;runstack, ;addstack [script], ;clearstack. --NOTE THIS COMMANDS ARE COMING SOON!","All")
- end
- if msg:sub(1, 13) == ";ownercmds" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Owner command list: ;admin [playername], ;unadmin [playername], ;delayset [number], ;announcement [true/false]","All")
- end
- if msg:sub(1, 11) == ";updatelog1" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog1,"All")
- end
- if msg:sub(1, 11) == ";updatelog2" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog2,"All")
- end
- if msg:sub(1, 11) == ";updatelog3" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog3,"All")
- end
- if msg:sub(1, 11) == ";updatelogs" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Update logs: ;updatelog1, ;updatelog2, ;updatelog3","All")
- end
- if msg:sub(1, 4) == ";say" then
- say = msg:sub(6, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
- end
- if msg:sub(1, 11) == ";playerinfo" then
- playername = msg:sub(13, #msg)
- shortcutsay()
- plrinf = game:GetService("Players")[say]
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Player ID: "..plrinf.UserIsd..", Age: "..plrinf.AccountAge,"All")
- end
- if msg:sub(1, 4) == ";dab" then
- speed = msg:sub(6, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "248263260"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(speed)
- end
- if msg:sub(1, 6) == ";dance" then
- speed = msg:sub(8, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "33796059"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(speed)
- end
- if msg:sub(1, 5) == ";spin" then
- speed = msg:sub(7, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "188632011"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k.Looped = true
- k:Play()
- k:AdjustSpeed(speed)
- end
- if msg:sub(1, 10) == ";floathead" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "121572214"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 13) == ";jumpingjacks" then
- speed = msg:sub(15, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "429681631"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(speed)
- end
- if msg:sub(1, 5) == ";slam" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "184574340"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 6) == ";faint" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "181526230"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 9) == ";levitate" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "313762630"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 8) == ";bowdown" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "204292303"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 8) == ";spinarm" then
- speed = msg:sub(10, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "259438880"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(speed)
- end
- if msg:sub(1, 10) == ";armdetach" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "33169583"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(0.3)
- end
- if msg:sub(1, 10) == ";weirdmove" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "215384594"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 9) == ";dinowalk" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "204328711"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 5) == ";swim" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- AnimationId = "282574440"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 6) == ";tpbot" then
- position = msg:sub(8, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- LocalPlayer.Character:MoveTo(position)
- end
- if msg:sub(1, 8) == ";walkbot" then
- position = msg:sub(10, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- LocalPlayer.Character.Humanoid:MoveTo(position)
- end
- if msg:sub(1, 6) == ";fegod" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- LocalPlayer.Character.Humanoid:Destroy()
- Instance.new("Humanoid", LocalPlayer.Character)
- end
- if msg:sub(1, 10) == ";blockhats" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- for _,v in pairs(LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Accessory")) then
- v.Handle.Mesh:remove()
- end
- end
- end
- if msg:sub(1, 12) == ";trueorfalse" then
- say = msg:sub(14, #msg)
- if math.random(1, 2) == 1 then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: True","All")
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: False","All")
- end
- end
- if msg:sub(1, 5) == ";tpto" then
- playername = msg:sub(7, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting bot to "..playername,"All")
- LocalPlayer.Character:MoveTo(game:GetService("Players")[playername].Character.Torso.Position)
- end
- if msg:sub(1, 8) == ";credits" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: The creator of this bot is CyclicaIIy!","All")
- end
- if msg:sub(1, 5) == ";info" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot version "..botver..", Bot made by CyclicaIIy and has over 200 cmds!","All")
- end
- if msg:sub(1, 5) == ";spam" then
- say = msg:sub(7, #msg)
- for i=1, 5 do
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
- end
- end
- if msg:sub(1, 5) == ";kill" then
- Target = msg:sub(7, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Killing "..Target,"All")
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.2)
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
- wait(0.5)
- fefix()
- end
- if msg:sub(1, 4) == ";fix" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Fixing bot...","All")
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- local a1 = Instance.new("Model", workspace)
- local a2 = Instance.new("Part", a1)
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth = 100;a3.Health = 100
- LocalPlayer.Character = a1
- a3.Health = 0
- end
- if msg:sub(1, 6) == ";bring" then
- TP1 = msg:sub(8, #msg)
- shortcutsay()
- TP2 = player.Name
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting "..TP1.." to "..TP2,"All")
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[TP1].Character.HumanoidRootPart.CFrame
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[TP2].Character.HumanoidRootPart.CFrame
- wait(0.2)
- tp(game.Players.LocalPlayer,game.Players[TP2])
- wait(0.5)
- fefix()
- end
- if msg:sub(1, 10) == ";listadmin" then
- adminlist = table.concat(admins, ", ")
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..adminlist,"All")
- end
- if msg:sub(1, 6) == ";admin" then
- if player.Name == LocalPlayer.Name then
- newadmin = msg:sub(8, #msg)
- for i, player in pairs(players) do
- if player.Name == newadmin then
- table.insert(admins, newadmin)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..newadmin.." is now an admin","All")
- end
- end
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
- end
- end
- if msg:sub(1, 8) == ";unadmin" then
- if player.Name == LocalPlayer.Name then
- playername = msg:sub(10, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Removing "..remove.." from the admin list","All")
- table.remove(admins, remove)
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
- end
- end
- if msg:sub(1, 4) == ";get" then
- Target = msg:sub(6, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting "..Target.." to the bot","All")
- NOW = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- tp(game.Players[Target], game.Players.LocalPlayer)
- wait(0.1)
- tp(game.Players[Target], game.Players.LocalPlayer)
- wait(0.3)
- getout(game.Players.LocalPlayer, game.Players[Target])
- wait(0.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = NOW
- end
- if msg:sub(1, 7) == ";random" then
- rand = math.random(msg:sub(9, #msg))
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..rand,"All")
- end
- if msg:sub(1, 11) == ";reversesay" then
- say = string.reverse(msg:sub(13, #msg))
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
- end
- if msg:sub(1, 10) == ";runscript" then
- script = msg:sub(12, #msg)
- loadstring("LocalPlayer = game.Players.LocalPlayer")()
- loadstring("LocalCharacter = LocalPlayer.Character")()
- loadstring("LocalHumanoid = LocalCharacter.Humanoid")()
- loadstring(script)()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Running script...","All")
- end
- if msg:sub(1, 4) == ";oof" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- for i, v in pairs(players) do
- v.Character.Head.Died.Playing = true
- end
- end
- if msg:sub(1, 7) == ";attach" then
- Target = msg:sub(9, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Attaching to "..Target,"All")
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- end
- if msg:sub(1, 11) == ";playerlist" then
- playertable = {}
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(playertable, player.Name)
- end
- playerlist = table.concat(playertable, ", ")
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..playerlist,"All")
- end
- if msg:sub(1, 8) == ";skydive" then
- Target = msg:sub(10, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Skydiving "..Target,"All")
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.2)
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(game:GetService("Players")[Target].Character.Torso.Position.X, game:GetService("Players")[Target].Character.Torso.Position.Y + 10000, game:GetService("Players")[Target].Character.Torso.Position.Z))
- wait(0.5)
- fefix()
- end
- if msg:sub(1, 6) == ";orbit" then
- Target = msg:sub(8, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Orbitting "..Target,"All")
- rp = Instance.new("RocketPropulsion", LocalPlayer.Character.Torso)
- rp.Target = game:GetService("Players")[Target].Character.Torso
- rp:Fire()
- AnimationId = "181526230"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 10) == ";stoporbit" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Orbit stopped!","All")
- rp:Destroy()
- k:Stop()
- end
- if msg:sub(1, 10) == ";paintdrop" then
- if player.Name == LocalPlayer.Name then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Dropping Spray Paint","All")
- game:GetService('RunService').Stepped:connect(function()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "Spray" then
- v.Parent = workspace
- end
- end
- end)
- local function paint()
- for i,v in pairs(game.Workspace:GetChildren())do
- if v.Name == "Handle" then
- v.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
- v.Transparency = 1
- v.CanCollide = false
- wait()
- v.CFrame = LocalPlayer.Character["Left Leg"].CFrame
- end
- end
- end
- local function equip()
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- if v.Name == "Spray" then
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- end
- end
- paint()
- equip()
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: This command is restricted to the owner due to possible game crash","All")
- end
- end
- if msg:sub(1, 10) == ";brickdrop" then
- if player.Name == LocalPlayer.Name then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Dropping brick","All")
- game:GetService('RunService').Stepped:connect(function()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "Spray" then
- if v.Handle.Mesh then
- v.Handle.Mesh:Destroy()
- end
- v.Parent = workspace
- end
- end
- end)
- local function paint()
- for i,v in pairs(game.Workspace:GetChildren())do
- if v.Name == "Handle" then
- v.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
- v.Transparency = 1
- v.CanCollide = false
- wait()
- v.CFrame = LocalPlayer.Character["Left Leg"].CFrame
- end
- end
- end
- local function equip()
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- if v.Name == "Spray" then
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- end
- end
- paint()
- equip()
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: This command is restricted to the owner due to possible game crash","All")
- end
- end
- if msg:sub(1, 5) == ";jail" then
- Target = msg:sub(7, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Jailing "..Target,"All")
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.2)
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-18, 0, 110))
- wait(0.5)
- fefix()
- end
- if msg:sub(1, 7) == ";sitbot" then
- LocalPlayer.Character.Humanoid.Sit = true
- end
- if msg:sub(1, 8) == ";jumpbot" then
- LocalPlayer.Character.Humanoid.Jump = true
- end
- if msg:sub(1, 9) == ";delayset" then
- if player.Name == LocalPlayer.Name then
- delaysec = msg:sub(11, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: The use of command delay is now set to "..delaysec,"All")
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
- end
- end
- if msg:sub(1, 6) == ";medic" then
- Target = msg:sub(8, #msg)
- shortcutsay()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Healing "..Target,"All")
- NOW = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- LocalPlayer.Character.Humanoid.Name = 1
- local l = LocalPlayer.Character["1"]:Clone()
- l.Parent = LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
- LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- LocalPlayer.Character.Animate.Disabled = false
- LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
- LocalPlayer.Character.Humanoid:EquipTool(v)
- end
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.1)
- LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
- wait(0.2)
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(55, 0, 124))
- wait(0.5)
- game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame = NOW
- wait(0.5)
- fefix()
- end
- if msg:sub(1, 6) == ";dhbot" then
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
- fixdh = game.Workspace.Button.CFrame
- wait(0.1)
- game.Workspace.Button.CanCollide = false
- game.Workspace.Button.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(0.1)
- game.Workspace.Button.CanCollide = true
- game.Workspace.Button.CFrame = fixdh
- end
- if msg:sub(1, 9) == ";stopanim" then
- k:Stop()
- Anim:Destroy()
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Animation stopped!","All")
- end
- if msg:sub(1, 7) == ";animid" then
- AnimationId = msg:sub(9, #msg)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Running animation...","All")
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- end
- if msg:sub(1, 9) == ";meditate" then
- AnimationId = "356220615"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- AnimationId = "330381370"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- AnimationId = "313762630"
- Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Meditating...","All")
- end
- if msg:sub(1, 9) == ";animset1" then
- LocalPlayer.Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://376760331"
- end
- --cmd delay
- delay = true
- wait(delaysec)
- delay = false
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: You must wait "..delaysec.." seconds before running another command!","All")
- end
- end
- end
- end
- ]]
- mainchatfix = [[
- end)
- ]]
- mainfix = [[
- end
- ]]
- mainnew = [[
- game:GetService("Players").PlayerAdded:connect(function(player)
- players = game:GetService("Players"):GetPlayers()
- player.Chatted:connect(function(msg)
- ]]
- mainrunner = mainhook..mainchat..mainscript..mainchatfix..mainfix
- mainnewfix = mainnew..mainscript..mainchatfix..mainchatfix
- loadstring(mainrunner)()
- loadstring(mainnewfix)()
- end)
- Perm100WS.Name = "Perm100WS"
- Perm100WS.Parent = _1
- Perm100WS.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Perm100WS.BorderSizePixel = 2
- Perm100WS.Position = UDim2.new(0.478260875, 0, 3, 0)
- Perm100WS.Size = UDim2.new(0, 100, 0, 25)
- Perm100WS.Font = Enum.Font.SourceSansItalic
- Perm100WS.Text = "100 Walkspeed"
- Perm100WS.TextColor3 = Color3.new(1, 1, 1)
- Perm100WS.TextSize = 20
- Perm100WS.MouseButton1Down:connect(function()
- while true do
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- wait()
- end
- end)
- Perm100WS_2.Name = "Perm100WS"
- Perm100WS_2.Parent = _1
- Perm100WS_2.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
- Perm100WS_2.BorderSizePixel = 2
- Perm100WS_2.Position = UDim2.new(7, 0, 3, 0)
- Perm100WS_2.Size = UDim2.new(0, 100, 0, 25)
- Perm100WS_2.Font = Enum.Font.SourceSansItalic
- Perm100WS_2.Text = "100 Jump power"
- Perm100WS_2.TextColor3 = Color3.new(1, 1, 1)
- Perm100WS_2.TextSize = 20
- Perm100WS_2.MouseButton1Down:connect(function()
- while true do
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
- wait()
- end
- end)
- notice.Name = "notice"
- notice.Parent = maingui
- notice.BackgroundColor3 = Color3.new(1, 1, 1)
- notice.BackgroundTransparency = 1
- notice.Position = UDim2.new(0.640301347, 0, 0.835570455, 0)
- notice.Size = UDim2.new(0, 191, 0, 50)
- notice.Font = Enum.Font.SourceSansItalic
- notice.Text = "Keep in mind, half of these scripts may not work."
- notice.TextColor3 = Color3.new(1, 1, 1)
- notice.TextSize = 12
- notice.TextXAlignment = Enum.TextXAlignment.Left
- notice.TextYAlignment = Enum.TextYAlignment.Bottom
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement