Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Login = Instance.new("Frame")
- local Lbar1 = Instance.new("Frame")
- local Lbar2 = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local submit = Instance.new("TextButton")
- local username = Instance.new("TextBox")
- local password = Instance.new("TextBox")
- local main = Instance.new("Frame")
- local Mbar1 = Instance.new("Frame")
- local Mbar2 = Instance.new("Frame")
- local Mbar3 = Instance.new("Frame")
- local Mbar4 = Instance.new("Frame")
- local CreditsFor = Instance.new("TextLabel")
- local paid = Instance.new("TextButton")
- local free = Instance.new("TextButton")
- local PScripts = Instance.new("Frame")
- local PBar1 = Instance.new("Frame")
- local PBar2 = Instance.new("Frame")
- local jihadscript = Instance.new("TextButton")
- local robxingscript = Instance.new("TextButton")
- local SWORDBURST2 = Instance.new("TextButton")
- local Fscripts = Instance.new("Frame")
- local sgun = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Login.Name = "Login"
- Login.Parent = ScreenGui
- Login.BackgroundColor3 = Color3.new(0.85098, 0, 0)
- Login.Position = UDim2.new(0.0662589222, 0, 0.234251991, 0)
- Login.Size = UDim2.new(0, 231, 0, 304)
- Login.Visible = true
- Lbar1.Name = "Lbar1"
- Lbar1.Parent = Login
- Lbar1.BackgroundColor3 = Color3.new(0.764706, 0, 0)
- Lbar1.Size = UDim2.new(0, 231, 0, 19)
- Lbar2.Name = "Lbar2"
- Lbar2.Parent = Login
- Lbar2.BackgroundColor3 = Color3.new(0.741176, 0, 0)
- Lbar2.BorderSizePixel = 0
- Lbar2.Position = UDim2.new(0, 0, 0.0625, 0)
- Lbar2.Size = UDim2.new(0, 231, 0, 8)
- Title.Name = "Title"
- Title.Parent = Login
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0.0649350658, 0, 0.128289476, 0)
- Title.Size = UDim2.new(0, 200, 0, 21)
- Title.Font = Enum.Font.SciFi
- Title.Text = "Kektimers"
- Title.TextColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- Title.TextSize = 50
- Title.TextWrapped = true
- submit.Name = "submit"
- submit.Parent = Login
- submit.BackgroundColor3 = Color3.new(0, 0, 0)
- submit.BackgroundTransparency = 1
- submit.BorderColor3 = Color3.new(0, 0, 0)
- submit.Position = UDim2.new(0.0649350658, 0, 0.914473712, 0)
- submit.Size = UDim2.new(0, 200, 0, 15)
- submit.Font = Enum.Font.SciFi
- submit.Text = "Login"
- submit.TextColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- submit.TextSize = 30
- submit.TextWrapped = true
- submit.MouseButton1Down:connect(function()
- if username.Text == "Kektimers" and password.text == "Kektimers" then
- Login.Visible = false
- main.Visible = true
- main.Active = true
- end
- username.Name = "username"
- username.Parent = Login
- username.BackgroundColor3 = Color3.new(1, 1, 1)
- username.BackgroundTransparency = 1
- username.Position = UDim2.new(0.0649350658, 0, 0.296052635, 0)
- username.Size = UDim2.new(0, 200, 0, 50)
- username.Font = Enum.Font.SciFi
- username.Text = "Username"
- username.TextColor3 = Color3.new(0, 0, 0)
- username.TextScaled = true
- username.TextSize = 14
- username.TextWrapped = true
- password.Name = "password"
- password.Parent = Login
- password.BackgroundColor3 = Color3.new(1, 1, 1)
- password.BackgroundTransparency = 1
- password.Position = UDim2.new(0.0649350658, 0, 0.572368443, 0)
- password.Size = UDim2.new(0, 200, 0, 51)
- password.Font = Enum.Font.SciFi
- password.Text = "Password"
- password.TextColor3 = Color3.new(0, 0, 0)
- password.TextScaled = true
- password.TextSize = 14
- password.TextWrapped = true
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.new(1, 1, 1)
- main.Position = UDim2.new(0, 417, 0, 79)
- main.Size = UDim2.new(0, 420, 0, 333)
- main.Visible = false
- main.Draggable = true
- Mbar1.Name = "Mbar1"
- Mbar1.Parent = main
- Mbar1.BackgroundColor3 = Color3.new(0.760784, 0, 0)
- Mbar1.BorderSizePixel = 0
- Mbar1.Size = UDim2.new(0, 420, 0, 20)
- Mbar2.Name = "Mbar2"
- Mbar2.Parent = main
- Mbar2.BackgroundColor3 = Color3.new(0.760784, 0, 0)
- Mbar2.BorderSizePixel = 0
- Mbar2.Position = UDim2.new(0, 404, 0, 0)
- Mbar2.Size = UDim2.new(0, 16, 0, 333)
- Mbar3.Name = "Mbar3"
- Mbar3.Parent = main
- Mbar3.BackgroundColor3 = Color3.new(0.760784, 0, 0)
- Mbar3.BorderSizePixel = 0
- Mbar3.Position = UDim2.new(0, 0, 0, 318)
- Mbar3.Size = UDim2.new(0, 420, 0, 15)
- Mbar4.Name = "Mbar4"
- Mbar4.Parent = main
- Mbar4.BackgroundColor3 = Color3.new(0.760784, 0, 0)
- Mbar4.BorderSizePixel = 0
- Mbar4.Position = UDim2.new(0, 0, 0, 13)
- Mbar4.Size = UDim2.new(0, 17, 0, 320)
- CreditsFor.Name = "Credits/For"
- CreditsFor.Parent = main
- CreditsFor.BackgroundColor3 = Color3.new(1, 1, 1)
- CreditsFor.BackgroundTransparency = 1
- CreditsFor.BorderSizePixel = 0
- CreditsFor.Position = UDim2.new(0, 0, 0, 318)
- CreditsFor.Size = UDim2.new(0, 420, 0, 15)
- CreditsFor.Font = Enum.Font.SourceSans
- CreditsFor.Text = "Made by CaptinLeet for: @Dude"
- CreditsFor.TextColor3 = Color3.new(0, 0, 0)
- CreditsFor.TextSize = 20
- CreditsFor.TextWrapped = true
- paid.Name = "paid"
- paid.Parent = main
- paid.BackgroundColor3 = Color3.new(0.654902, 0.0627451, 0.0117647)
- paid.Position = UDim2.new(0, 35, 0, 136)
- paid.Size = UDim2.new(0, 112, 0, 32)
- paid.Text = "Paid scripts."
- paid.TextColor3 = Color3.new(0.443137, 0.443137, 0.443137)
- paid.TextScaled = true
- paid.TextSize = 14
- paid.TextWrapped = true
- paid.MouseButton1Down:connect(function()
- main.Visible = false
- PScripts.Visible = true
- end)
- free.Name = "free"
- free.Parent = main
- free.BackgroundColor3 = Color3.new(0.654902, 0.0627451, 0.0117647)
- free.Position = UDim2.new(0, 241, 0, 136)
- free.Size = UDim2.new(0, 112, 0, 32)
- free.Text = "Free scripts."
- free.TextColor3 = Color3.new(0.443137, 0.443137, 0.443137)
- free.TextScaled = true
- free.TextSize = 14
- free.TextWrapped = true
- free.MouseButton1Down:connect(function()
- main.Visible = false
- Fscripts.Visible = true
- end)
- PScripts.Name = "PScripts"
- PScripts.Parent = ScreenGui
- PScripts.BackgroundColor3 = Color3.new(0.741176, 0.0666667, 0.0431373)
- PScripts.Position = UDim2.new(0, 192, 0, 165)
- PScripts.Size = UDim2.new(0, 421, 0, 297)
- PScripts.Visible = false
- PBar1.Name = "PBar1"
- PBar1.Parent = PScripts
- PBar1.BackgroundColor3 = Color3.new(0.854902, 0.0156863, 0.0156863)
- PBar1.BorderSizePixel = 0
- PBar1.Size = UDim2.new(0, 421, 0, 20)
- PBar2.Name = "PBar2"
- PBar2.Parent = PScripts
- PBar2.BackgroundColor3 = Color3.new(0.741176, 0.00784314, 0.00784314)
- PBar2.BorderSizePixel = 0
- PBar2.Position = UDim2.new(0, 0, 0, 20)
- PBar2.Size = UDim2.new(0, 421, 0, 8)
- jihadscript.Name = "jihad script"
- jihadscript.Parent = PScripts
- jihadscript.BackgroundColor3 = Color3.new(0.54902, 0, 0)
- jihadscript.Position = UDim2.new(0, 10, 0, 110)
- jihadscript.Size = UDim2.new(0, 150, 0, 50)
- jihadscript.Font = Enum.Font.SourceSans
- jihadscript.Text = "Jihad Paid script."
- jihadscript.TextColor3 = Color3.new(0, 0, 0)
- jihadscript.TextSize = 14
- jihadscript.MouseButton1Down:connect(function()
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- 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"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- 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)
- LHC1=cf(-0.5,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)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m=Instance.new('Model',Character)
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,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.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- 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,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- local TrailColor = ("Dark grey")
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new(TrailColor)
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "SmoothPlastic"
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new(TrailColor)
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "SmoothPlastic"
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- 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
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- 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
- showDamage=function(Char,Dealt,du,Color)
- 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=Color
- 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
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- 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
- VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
- handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
- FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
- Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
- handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
- mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
- local Decal1 = Instance.new("Decal",FlagLogo)
- Decal1.Texture = "http://www.roblox.com/asset/?id=147337085"
- Decal1.Face = "Front"
- local Decal2 = Instance.new("Decal",FlagLogo)
- Decal2.Texture = "http://www.roblox.com/asset/?id=147337085"
- Decal2.Face = "Back"
- Humanoid.WalkSpeed = 50
- function ALLAHUAKBAR()
- attack = true
- local speak = {"ALLAHUAKBAR"}
- local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
- local chat = game:GetService("Chat")
- chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
- for i = 0,1,0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- end
- for i = 0,1,0.05 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- end
- for i = 1,20 do
- --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
- so("rbxassetid://134854740",Torso,1,1.3)
- so("rbxassetid://247893371",workspace,1,1)
- so("rbxassetid://137994058",Torso,1,1)
- so("rbxassetid://165969964",Torso,1,1)
- local S = Instance.new("Explosion",workspace)
- S.Position = Torso.Position
- S.BlastPressure = 5
- S.BlastRadius = 50
- S.ExplosionType = 2
- end
- attack = false
- end
- mouse.Button1Down:connect(function()
- ALLAHUAKBAR()
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- end)
- local sine = 0
- local change = 1
- local val = 0
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- --Sheath()
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- end
- elseif torvel>2 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- change=3
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- end
- end
- end
- if #Effects>0 then
- --table.insert(Effects,{prt,"Block1",delay})
- for e=1,#Effects do
- if Effects[e]~=nil then
- --for j=1,#Effects[e] do
- local Thing=Effects[e]
- if Thing~=nil then
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects,e)
- end
- end
- --end
- end
- end
- end
- end
- end)
- robxingscript.Name = "robxing script"
- robxingscript.Parent = PScripts
- robxingscript.BackgroundColor3 = Color3.new(0.631373, 0.0588235, 0.027451)
- robxingscript.Position = UDim2.new(0, 254, 0, 110)
- robxingscript.Size = UDim2.new(0, 156, 0, 50)
- robxingscript.Font = Enum.Font.SourceSans
- robxingscript.Text = "ro.boxing paid script"
- robxingscript.TextColor3 = Color3.new(0, 0, 0)
- robxingscript.TextSize = 14
- roboxingscript.MouseButton1Down:connect(function()
- -- if you leak this your double hella gay
- spawn (function()
- while true do
- wait(0.1)
- spawn (function()
- while true do
- game.Workspace.Rope_Training.bottom.Position = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- game.Workspace.Rope_Training.top.Position = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Rope_Training.top.CFrame
- wait(0.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Give_Energy.CFrame
- end
- end)
- end
- end)
- end)
- SWORDBURST2.Name = "SWORDBURST 2"
- SWORDBURST2.Parent = PScripts
- SWORDBURST2.BackgroundColor3 = Color3.new(0.631373, 0.0588235, 0.027451)
- SWORDBURST2.Position = UDim2.new(0, 132, 0, 218)
- SWORDBURST2.Size = UDim2.new(0, 156, 0, 50)
- SWORDBURST2.Font = Enum.Font.SourceSans
- SWORDBURST2.Text = "SWORDBURST 2 paid script"
- SWORDBURST2.TextColor3 = Color3.new(0, 0, 0)
- SWORDBURST2.TextSize = 14
- SWORDBURST2.MouseButton1Down:connect(function()
- --[[
- Removed shittily scripted whitelist and fixed it up "a bit". - Mudock Yatho
- Yuno sucks literal ass.
- https://cdn.discordapp.com/attachments/382740911194374156/383425567116099585/image.png print(1,2) thanks was so hard
- https://cdn.discordapp.com/attachments/226781703253917696/383407340428197888/image.png raising price and remaking people buy for broken scripts
- https://cdn.discordapp.com/attachments/226781703253917696/383407301509382184/image.png broken scripts are good
- https://cdn.discordapp.com/attachments/226781703253917696/383407892868366336/image.png (script isnt working)
- https://cdn.discordapp.com/attachments/226781703253917696/383419099725955083/image.png banned 4x4 for "modifying his script"
- ]]--
- local function log(text)
- BG.Output.Text = "Output: "..text
- end
- local loader = game.CoreGui:WaitForChild("Yuno's SBO 2 Loader V1")
- local GUI = game.CoreGui["Yuno's SBO 2 Loader V1"]:WaitForChild("Yuno's SBO 2 GUI")
- GUI.Parent = game.Players.LocalPlayer.PlayerGui
- local BG = GUI.BG
- local StarterFrane = BG.StarterFrame
- local AutoBuyFrame = BG.AutoBuyFrame
- local AutoDismantleFrame = BG.AutoDismantleFrame
- local AutoUpgradeFrame = BG.AutoUpgradeFrame
- local AutoFarmFrame = BG.AutoFarmFrame
- local output = BG.Output
- local pageNumber = 1
- local farming = false
- local autobuying = false
- local introFrame = GUI.Intro
- introFrame.ImageLabel.Visible = true
- introFrame.ImageLabel:TweenSize(UDim2.new(1,0,1,0), "Out", "Quad", 2)
- wait(2)
- introFrame.Parent.BG.Visible = true
- wait(1)
- for i=0,1,0.1 do
- wait(.001)
- introFrame.ImageLabel.ImageTransparency = i
- end
- local function changePage(direction)
- if direction == "Backwards" and pageNumber >= 2 then
- pageNumber = pageNumber - 1
- for _,v in pairs(BG:GetChildren()) do
- if v:IsA'Frame'and v:FindFirstChild'Page'then
- if v.Page.Value == pageNumber then
- v.Visible = true
- else
- v.Visible = false
- end
- end
- end
- elseif direction == "Forwards" and pageNumber <= 2 then
- pageNumber = pageNumber + 1
- for _,v in pairs(BG:GetChildren()) do
- if v:IsA("Frame") and v:FindFirstChild("Page") then
- if v.Page.Value == pageNumber then
- v.Visible = true
- else
- v.Visible = false
- end
- end
- end
- end
- BG.PageNumber.Text = "Page: "..pageNumber
- end
- local function farm()
- local bossname = AutoFarmFrame.MobName.Text
- local function safetyCheck()
- for _,v in pairs(workspace.Mobs:GetChildren()) do
- if not v:FindFirstChild("HumanoidRootPart") then
- v:Destroy()
- end
- end
- end safetyCheck()
- function _G.getCombatKey()
- do
- if #_G.cKeys > 0 then
- newKey = _G.cKeys[#_G.cKeys]
- table.remove(_G.cKeys, #_G.cKeys)
- if #_G.cKeys < 15 then
- spawn(refillCKeys)
- end
- return newKey
- end
- return -1
- end
- end
- function refillCKeys()
- repeat
- wait()
- until _G.rpcKey
- newKey = nil
- if #_G.cKeys > 0 then
- newKey = _G.cKeys[#_G.cKeys]
- table.remove(_G.cKeys, #_G.cKeys)
- else
- newKey = "00"
- end
- new = game.ReplicatedStorage.Function:InvokeServer("Combat", _G.rpcKey, {"RefillKeys", newKey})
- for i,v in ipairs(new) do
- table.insert(_G.cKeys, v)
- end
- end
- _G.bossSpawned = false
- workspace.Mobs.ChildAdded:connect(function(boss)
- if boss.Name == bossname then
- _G.bossSpawned = true
- end
- end)
- game:GetService'RunService'.RenderStepped:connect(function()
- if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character.Parent then
- if not game.Players.LocalPlayer.Character:FindFirstChild("IgnoreTeleport") then
- local ff = Instance.new("IntValue", game.Players.LocalPlayer.Character)
- ff.Name = "IgnoreTeleport"
- end
- end
- end)
- while wait() do
- for _,v in pairs(workspace.Mobs:GetChildren()) do
- if _G.bossSpawned == false then
- while wait(0.1) do
- if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Entity").Health.Value > 0 then
- if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("HumanoidRootPart") then
- local oldHealth = v.Entity.Health.Value
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0,20,0))
- game.ReplicatedStorage.Event:FireServer("Combat", _G.rpcKey, {"Attack", nil, v, _G.getCombatKey()})
- --[[if (oldHealth - v.Entity.Health.Value) <= 5 then
- break
- end]]
- else
- break
- end
- else
- break
- end
- end
- v:Destroy()
- else
- local boss = workspace.Mobs[bossname]
- while wait(0.1) do
- if boss:FindFirstChild("Entity") and boss.Entity.Health.Value > 1 then
- if workspace:FindFirstChild(game.Players.LocalPlayer.Name) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and boss:FindFirstChild("HumanoidRootPart") then
- local oldHealth = boss.Entity.Health.Value
- workspace:FindFirstChild(game.Players.LocalPlayer.Name):FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(boss.HumanoidRootPart.Position + Vector3.new(0,20,0))
- game.ReplicatedStorage.Event:FireServer("Combat", _G.rpcKey, {"Attack", nil, boss, _G.getCombatKey()})
- --[[if (oldHealth - v.Entity.Health.Value) <= 5 then
- break
- end]]
- else
- break
- end
- else
- break
- end
- end
- _G.bossSpawned = false
- boss:Destroy()
- end
- end
- end
- end
- local function autoBuy(item, amount, shop)
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "Model" then
- if v.Name == "Beginner Shop Clerk" then
- local shop = v.Head.ShopDialog.Shop
- end
- end
- end
- if shop and shop:FindFirstChild(item) then
- log("AutoBuy is purchasing "..item.. " "..amount.." times")
- for i=1,amount, 1 do
- wait(0.1)
- game.ReplicatedStorage.Function:InvokeServer("Shop", {"BuyItem", shop, shop:FindFirstChild(item)})
- end
- else
- log("Error finding item in Beginner Shop")
- end
- autobuying = false
- end
- BG.Forwards.MouseButton1Click:connect(function()
- changePage("Forwards")
- end)
- BG.Backwards.MouseButton1Click:connect(function()
- changePage("Backwards")
- end)
- AutoFarmFrame.FarmButton.MouseButton1Click:connect(function()
- if not farming then
- farming = true
- log("Auto farm started")
- farm()
- else
- log("Auto farm has already started")
- end
- end)
- AutoBuyFrame.AutoBuyButton.MouseButton1Click:connect(function()
- if not autobuying then
- autobuying = true
- log("Auto buy has started")
- autoBuy(AutoBuyFrame.ItemName.Text, AutoBuyFrame.Amount.Text, nil)
- else
- log("Auto buy is currently in progress")
- end
- end)
- spawn(function()
- while wait()do
- if pageNumber > 1 then
- BG.Backwards.Visible = true
- else
- BG.Backwards.Visible = false
- end
- if pageNumber < 3 then
- BG.Forwards.Visible = true
- else
- BG.Forwards.Visible = false
- end
- end
- end)
- end)
- Fscripts.Name = "Fscripts"
- Fscripts.Parent = ScreenGui
- Fscripts.BackgroundColor3 = Color3.new(0.780392, 0.0235294, 0.0235294)
- Fscripts.Position = UDim2.new(0, 246, 0, 137)
- Fscripts.Size = UDim2.new(0, 527, 0, 271)
- Fscripts.Visible = false
- sgun.Name = "sgun"
- sgun.Parent = Fscripts
- sgun.BackgroundColor3 = Color3.new(1, 1, 1)
- sgun.BackgroundTransparency = 1
- sgun.Size = UDim2.new(0, 527, 0, 271)
- sgun.Font = Enum.Font.SourceSans
- sgun.Text = "Suicide gun"
- sgun.TextColor3 = Color3.new(0, 0, 0)
- sgun.TextScaled = true
- sgun.TextSize = 14
- sgun.TextWrapped = true
- sgun.MouseButton1Down:connect(function()
- --Left Click to kill yourself
- local player = game.Players.LocalPlayer
- repeat wait() until player.Character.Humanoid
- local humanoid = player.Character.Humanoid
- local mouse = player:GetMouse()
- --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
- local player=game.Players.LocalPlayer;
- local char=game.Players.LocalPlayer.Character;
- local humanoid = player.Character.Humanoid;
- Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
- Tool.GripRight=Vector3.new(-0.816, 0, 0.577);
- Tool.GripUp=Vector3.new(-0.027, 0.996, -0.089);
- Tool.GripPos=Vector3.new(-0.3, -0.4, 0.4);
- Tool.GripForward=Vector3.new(-1, 0, -0); --0.485, 0.14, -0.863
- Tool.Name='kys';
- Handle=Instance.new('Part', Tool);
- Handle.Name = 'Handle';
- Handle.BrickColor=BrickColor.new('Really black')
- Handle.Size=Vector3.new(0.26, 1.11, 4.85);
- Handle.Position=Vector3.new(-18.53, 0.555, -16.825)
- gunfire=Instance.new('Part', Tool)
- gunfire.Name='GunFire'
- gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
- gunfire.Transparency=1
- gunfire.Position=Vector3.new(-18.56, 1.1, -19.35)
- gunfirefx=Instance.new('BillboardGui', gunfire)
- gunfirefx.Enabled=false
- gunfirefx.Adornee = gunfire
- gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
- gunfirefx2=Instance.new('ImageLabel', gunfirefx)
- gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
- gunfirefx2.BackgroundTransparency=1
- gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
- shootsound=Instance.new('Sound', char.Torso)
- shootsound.Volume=8
- shootsound.SoundId='rbxassetid://230622620'
- c4mesh=Instance.new('SpecialMesh', Handle);
- c4mesh.MeshType = 'FileMesh';
- c4mesh.MeshId='http://www.roblox.com/asset/?id=95356090';
- c4mesh.TextureId='http://www.roblox.com/asset/?id=95387789';
- c4mesh.Scale=Vector3.new(1.8, 1.8, 1.8);
- local anim5 = Instance.new("Animation", player.Character)
- anim5.AnimationId = "http://www.roblox.com/asset/?id=95383474"
- local playAnim10 = humanoid:LoadAnimation(anim5)
- Tool.GripRight=Vector3.new(-0.816, 0, 0.577)
- function equipped()
- wait()
- playAnim10:Play()
- end
- function unequipped()
- wait()
- playAnim10:Stop()
- end
- Tool.Equipped:connect(equipped)
- Tool.Unequipped:connect(unequipped)
- light=Instance.new('PointLight', Handle);
- light.Color = Color3.new(255, 255, 0)
- light.Range=10;
- light.Enabled=false;
- function Shoot()
- shootsound:Play()
- light.Enabled=true
- wait(0.1)
- light.Enabled=false
- player.Character.Humanoid.Health=0
- wait()
- Tool:Destroy()
- end
- Tool.Activated:connect(Shoot)
- --ragdoll
- print("Loaded.")
- --You don't need to edit this!
- Character = player.Character
- Humanoid = Character.Humanoid
- Torso = Character.Torso
- mode = Instance.new("Model")
- mode.Name = ""
- mode.Parent = game.Workspace
- function OnDeath()
- print("Death")
- wait(0.00000001)
- Humanoid.Parent = nil
- if Torso then
- zam=Torso:Clone()
- zam.Parent=mode
- x=Character:GetChildren()
- for i=1,#x do
- if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- if x[i].Name=="Head" then
- local zem=x[i]:Clone()
- zem.Parent=mode --Made by MatrixComplexity
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = zam
- Neck.Part1 = zem
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = zam
- end
- if x[i].Name=="Right Arm" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Left Arm" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Right Leg" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- if x[i].Name=="Left Leg" then
- local Limb=x[i]:Clone()
- Limb.Parent=mode
- Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = zam
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = zam
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = mode
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- bland=Instance.new("Humanoid")
- bland.Health = 0
- bland.MaxHealth = 0
- bland.Parent=mode
- if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- --[
- if (x[i].ClassName=="CharacterMesh") then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- if (x[i].ClassName=="Hat") then
- local zor=x[i]:Clone()
- zor.Parent=mode
- end
- local cam = Instance.new("Camera")
- cam.Parent = game.Players:FindFirstChild(Character.Name)
- cam.CameraSubject = mode.Humanoid
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = mode
- local Weld = Instance.new("Weld")
- Weld.Part0 = zam
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = zam
- --]]
- end
- end
- wait()
- Character:Remove()
- wait(6)
- mode:Destroy()
- end
- Humanoid.Died:connect(OnDeath)
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement