Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ContentProvider = game:GetService("ContentProvider")
- local function LoadAssets(AssetList)
- -- Takes an asset list and preloads it. Will not wait for them to load.
- for _, AssetId in pairs(AssetList) do
- ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
- end
- end
- LoadAssets({11442510,30956707})
- local Gibs = game.Workspace
- function Kill(Character)
- Character.Humanoid.Health = 0
- local poo = Instance.new("IntValue",Character)
- poo.Name = "haha nope"
- local svch = Character
- local hum = Character:findFirstChild("Humanoid")
- Character.Archivable = true
- local chrclone = Character:clone()
- Character.Archivable = false
- local ch = chrclone:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
- ch[i]:remove()
- end
- end
- local function Scan(ch)
- local e
- for e = 1,#ch do
- Scan(ch[e]:GetChildren())
- if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
- ch[e]:remove()
- end
- end
- end
- Scan(chrclone:GetChildren())
- local hum2 = chrclone:findFirstChild("Humanoid")
- if hum2 ~= nil then
- hum2.Name = "Humanoid2"
- hum2.PlatformStand = true
- hum2.Sit = true
- hum2.MaxHealth = 0
- hum2.Health = 0
- end
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- wait(0.2)
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- Character = chrclone
- local Torso = Character.Torso
- local movevector = Vector3.new()
- if Torso then
- local Head = Character:FindFirstChild("Head")
- local Limb = Character:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- 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 = Torso
- 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 = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- 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 = Torso
- 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 = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Right Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- 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 = Torso
- 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 = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- 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 = Torso
- 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 = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[
- 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 = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = Character
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- end
- Character.Parent = Gibs
- game.Debris:AddItem(Character, 12)
- if movevector ~= Vector3.new() then
- for i = 1,10 do
- wait()
- Torso.Velocity = Vector3.new(0,0,-100)
- Head.Velocity = movevector * 200
- end
- end
- local duh = Torso
- ee = Instance.new("Part")
- ee.Anchored = false
- ee.CanCollide = false
- ee.Parent = duh
- ee.Transparency =1
- ee.Size = Vector3.new(0.15, 0.15, 0.15)
- wee = Instance.new("Weld")
- wee.Parent = duh
- wee.Part0 = duh
- wee.Part1 = ee
- wee.C0 = CFrame.new(0, 1, 0)
- ge = Instance.new('ParticleEmitter')
- ge.Parent = ee
- ge.Texture = "rbxassetid://29712167"
- ge.Size = NumberSequence.new(0.2,0.05)
- ge.Acceleration = Vector3.new(0, -20, 0)
- ge.Rate = 100000
- ge.Speed = NumberRange.new(7,8)
- ge.Lifetime = NumberRange.new(3,4)
- ge.VelocitySpread = 10
- ge.VelocityInheritance = 0.3
- ea = Instance.new("Part")
- ea.Anchored = false
- ea.CanCollide = false
- ea.Parent = Character.Head
- ea.Transparency =1
- ea.Size = Vector3.new(0.15, 0.15, 0.15)
- wea = Instance.new("Weld")
- wea.Parent = Character.Head
- wea.Part0 = Character.Head
- wea.Part1 = ea
- wea.C0 = CFrame.new(0, -0.7, 0)
- ga = Instance.new('ParticleEmitter')
- ga.Parent = ea
- ga.Texture = "rbxassetid://29712167"
- ga.Size = NumberSequence.new(0.2,0.05)
- ga.Acceleration = Vector3.new(0, -20, 0)
- ga.Rate = 100000
- ga.Speed = NumberRange.new(7,8)
- ga.Lifetime = NumberRange.new(3,4)
- ga.VelocitySpread = 10
- ga.VelocityInheritance = 0.3
- ga.EmissionDirection = Enum.NormalId.Bottom
- end
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local mouse = plr:GetMouse()
- local intro = coroutine.wrap(function()
- local gui = Instance.new('ScreenGui',plr.PlayerGui)
- gui.Name = "Intro"
- local fr = Instance.new('Frame',gui)
- fr.Size = UDim2.new(0.4,0,0,0)
- fr.Position = UDim2.new(0.3,0,-0.1,0)
- fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
- fr.BorderSizePixel = 5
- fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
- local title = Instance.new('TextLabel',fr)
- title.Size = UDim2.new(1,0,0.4,0)
- title.Position = UDim2.new(0,0,0.1,0)
- title.BackgroundTransparency = 1
- title.TextColor3 = Color3.fromRGB(198, 45, 45)
- title.TextScaled = true
- title.Text = 'Deadpool Script'
- local desc = Instance.new('TextLabel',fr)
- desc.Size = UDim2.new(1,0,0.5,0)
- desc.Position = UDim2.new(0,0,0.5,0)
- desc.BackgroundTransparency = 1
- desc.TextColor3 = Color3.fromRGB(198, 45, 45)
- desc.TextScaled = true
- desc.Text = ''
- wait(1)
- fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
- wait(2)
- local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
- local leng = string.len(str)
- for i = 1,leng do
- desc.Text = string.sub(str,1,i)
- wait()
- end
- wait(2)
- fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
- wait(2)
- gui:Destroy()
- end)
- intro()
- wait(2)
- local tors = chr.Torso
- chr.Head.Transparency = 1
- for i,v in pairs(chr:GetChildren()) do
- if v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local humroot = chr.HumanoidRootPart:Clone()
- local torsclone = tors:Clone()
- local anim = chr.Animate:Clone()
- local hum = chr.Humanoid:Clone()
- local head = chr.Head:Clone()
- local neck = chr.Torso.Neck:Clone()
- local rightarm = chr["Right Arm"]:Clone()
- local leftarm = chr["Left Arm"]:Clone()
- local leftleg = chr["Left Leg"]:Clone()
- local rightleg = chr["Right Leg"]:Clone()
- local rightshoulder = tors["Right Shoulder"]:Clone()
- local leftshoulder = tors["Left Shoulder"]:Clone()
- local righthip = tors["Right Hip"]:Clone()
- local lefthip = tors["Left Hip"]:Clone()
- local shirt = nil
- local pants = nil
- local hats = {}
- local lastpos = CFrame.new(0,0,0)
- local on = true
- local doing = false
- local stabbing = false
- local slicing = false
- local toolz = Instance.new('Tool',plr.Backpack)
- toolz.Name = "Katana"
- toolz.RequiresHandle = false
- toolz.CanBeDropped = false
- local partz = Instance.new('Part',toolz)
- partz.Size = Vector3.new(0.2,0.2,3)
- partz.CanCollide = false
- local meshz = Instance.new('SpecialMesh',partz)
- meshz.MeshId = 'rbxassetid://11442510'
- meshz.TextureId = 'rbxassetid://30956707'
- meshz.VertexColor = Vector3.new(0,0,0)
- toolz.Equipped:connect(function(mouse)
- if chr:FindFirstChild('Right Arm') then
- local weld = Instance.new('Weld',partz)
- weld.Part0 = partz
- weld.Part1 = chr["Right Arm"]
- weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
- end
- mouse.KeyDown:connect(function(key)
- if doing == false then
- if key == 'z' then
- if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
- doing = true
- local weld = Instance.new('Weld',chr["Right Arm"])
- weld.Part0 = chr["Right Arm"]
- weld.Part1 = chr.Torso
- weld.C0 = CFrame.new(-1.5,0,0)
- for i=1,25 do
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
- wait()
- end
- wait()
- stabbing = true
- for i=1,10 do
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
- wait()
- end
- wait()
- for i=1,25 do
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
- wait()
- end
- chr["Right Arm"]:Destroy()
- doing = false
- stabbing = false
- end
- elseif key == 'x' then
- if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
- doing = true
- local weld = Instance.new('Weld',chr["Right Arm"])
- weld.Part0 = chr["Right Arm"]
- weld.Part1 = chr.Torso
- weld.C0 = CFrame.new(-1.5,0,0)
- for i=1,25 do
- weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
- wait()
- end
- wait()
- slicing = true
- for i=1,5 do
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
- wait()
- end
- wait()
- for i=1,12.5 do
- weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
- wait()
- end
- chr["Right Arm"]:Destroy()
- doing = false
- slicing = false
- end
- end
- end
- end)
- end)
- partz.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
- hit.Parent.Humanoid.Health = 0
- elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
- local he = Instance.new('IntValue',hit.Parent)
- he.Name = "heck"
- Kill(hit.Parent)
- end
- end)
- toolz.Unequipped:connect(function(mouse)
- if partz:FindFirstChildOfClass('Weld') then
- partz:FindFirstChildOfClass('Weld'):Destroy()
- end
- end)
- toolz.AncestryChanged:connect(function(child, parent)
- if parent ~= chr and parent ~= plr.Backpack then
- wait()
- toolz.Parent = plr.Backpack
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "n" then
- wait()
- toolz:Equip()
- end
- end)
- if chr:FindFirstChildOfClass('Shirt') then
- shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
- end
- if chr:FindFirstChildOfClass('Pants') then
- pants = chr:FindFirstChildOfClass('Pants'):Clone()
- end
- for i,v in pairs(chr:GetChildren()) do
- if v.ClassName == "Accessory" then
- table.insert(hats,v:Clone())
- end
- end
- local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
- chr.Humanoid:Destroy()
- local gui = Instance.new('ScreenGui')
- gui.Parent = game.Players.LocalPlayer.PlayerGui
- gui.Name = "Deadpool"
- gui.ResetOnSpawn = false
- local frame = Instance.new('Frame',gui)
- frame.Size = UDim2.new(0.2,0,0.2,0)
- frame.Position = UDim2.new(0,0,0.9,0)
- frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
- frame.BorderSizePixel = 4
- frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
- frame.Active = true
- frame.Draggable = true
- local txt = Instance.new('TextLabel',frame)
- txt.Text = "Demon Gui"
- txt.TextColor3 = Color3.fromRGB(198, 45, 45)
- txt.Size = UDim2.new(1,0,0.3,0)
- txt.TextScaled = true
- txt.BackgroundTransparency = 1
- local but = Instance.new('TextButton',frame)
- but.Text = "Toggle Suit"
- but.TextColor3 = Color3.fromRGB(38, 38, 38)
- but.Size = UDim2.new(0.7,0,0.3,0)
- but.Position = UDim2.new(0.15,0,0.5,0)
- but.BorderSizePixel = 0
- but.TextScaled = true
- but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
- but.MouseButton1Down:connect(function()
- on = not on
- end)
- game:GetService('RunService').Stepped:connect(function()
- if chr.Parent == nil then
- chr.RobloxLocked = false
- chr.Parent = game.Workspace
- end
- if chr:FindFirstChildOfClass('Humanoid') == nil then
- hum:Clone().Parent = chr
- chr.Animate:Destroy()
- anim:Clone().Parent = chr
- end
- if chr:FindFirstChild('HumanoidRootPart') == nil then
- humroot:Clone().Parent = chr
- humroot.CFrame = lastpos
- chr.Humanoid:Destroy()
- hum:Clone().Parent = chr
- chr.Animate:Destroy()
- anim:Clone().Parent = chr
- chr.HumanoidRootPart.RootJoint:Destroy()
- end
- if chr:FindFirstChild('Torso') == nil then
- chr.Humanoid:Destroy()
- local tor = tors:Clone()
- tor.Parent = chr
- hum:Clone().Parent = chr
- chr.Animate:Destroy()
- anim:Clone().Parent = chr
- end
- if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
- local rtj = rootjoint:Clone()
- rtj.Parent = chr.HumanoidRootPart
- rtj.Part0 = chr.HumanoidRootPart
- rtj.Part1 = chr.Torso
- end
- if chr:FindFirstChild('Head') == nil then
- chr.Humanoid:Destroy()
- head:Clone().Parent = chr
- hum:Clone().Parent = chr
- chr.Animate:Destroy()
- anim:Clone().Parent = chr
- end
- if chr.Torso:FindFirstChild('Neck') == nil then
- chr.Humanoid:Destroy()
- local hec = neck:Clone()
- hec.Parent = chr.Torso
- hec.Part0 = chr.Torso
- hec.Part1 = chr.Head
- hum:Clone().Parent = chr
- chr.Animate:Destroy()
- anim:Clone().Parent = chr
- end
- if chr:FindFirstChild('Right Leg') == nil then
- rightleg:Clone().Parent = chr
- local fi = righthip:Clone()
- fi.Parent = chr.Torso
- fi.Part0 = chr.Torso
- fi.Part1 = chr["Right Leg"]
- end
- if chr:FindFirstChild('Right Arm') == nil then
- rightarm:Clone().Parent = chr
- local fi = rightshoulder:Clone()
- fi.Parent = chr.Torso
- fi.Part0 = chr.Torso
- fi.Part1 = chr["Right Arm"]
- end
- if chr:FindFirstChild('Left Leg') == nil then
- leftleg:Clone().Parent = chr
- local fi = lefthip:Clone()
- fi.Parent = chr.Torso
- fi.Part0 = chr.Torso
- fi.Part1 = chr["Left Leg"]
- end
- if chr:FindFirstChild('Left Arm') == nil then
- leftarm:Clone().Parent = chr
- local fi = leftshoulder:Clone()
- fi.Parent = chr.Torso
- fi.Part0 = chr.Torso
- fi.Part1 = chr["Left Arm"]
- end
- for i,v in pairs(chr:GetChildren()) do
- if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
- v:Destroy()
- end
- end
- chr.Humanoid.Health = chr.Humanoid.MaxHealth
- if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
- local weld = Instance.new('Weld',partz)
- weld.Part0 = partz
- weld.Part1 = chr["Right Arm"]
- weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
- end
- lastpos = chr.HumanoidRootPart.CFrame
- local kat = Instance.new('Part',chr)
- kat.Size = Vector3.new(0.4,3,0.2)
- kat.Name = "KatanaHolder"
- kat.Material = Enum.Material.SmoothPlastic
- kat.BrickColor = BrickColor.new('Really black')
- kat.CanCollide = false
- local we = Instance.new('Weld',kat)
- we.Part0 = kat
- we.Part1 = chr.Torso
- we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
- if on == true then
- local shirt = Instance.new('Shirt',chr)
- shirt.ShirtTemplate = 'rbxassetid://1873349518'
- local pants = Instance.new('Pants',chr)
- pants.PantsTemplate = 'rbxassetid://1035284728'
- else
- chr.Head.Transparency = 0
- if shirt ~= nil then
- shirt:Clone().Parent = chr
- end
- if pants ~= nil then
- pants:Clone().Parent = chr
- end
- for i,v in pairs(hats) do
- v:Clone().Parent = chr
- end
- end
- end)
- --------------------------------------------------------------------------------
- --A Really Mad Guy with a Knife, a Tec-9 and a Sawed-Off! THOSE KIDS WILL PAY!--
- --------------------------------------------------------------------------------
- --By CKbackup (Sugarie Saffron) --
- --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
- --Discord: Sugarie Saffron#4705 --
- ----------------------------------------------------------------
- wait(1/60)
- Effects = { }
- local Player = game:service'Players'.localPlayer
- local chara = Player.Character
- local Humanoid = chara:FindFirstChildOfClass("Humanoid")
- local Mouse = Player:GetMouse()
- local LeftArm = chara["Left Arm"]
- local RightArm = chara["Right Arm"]
- local LeftLeg = chara["Left Leg"]
- local RightLeg = chara["Right Leg"]
- local Head = chara.Head
- local Torso = chara.Torso
- local Camera = workspace.CurrentCamera
- local RootPart = chara.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- local debby = game:GetService("Debris")
- Humanoid.WalkSpeed = 80
- Humanoid.Animator.Parent = nil
- chara.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function so(id,par,pit,vol)
- local sou = Instance.new("Sound", par or workspace)
- if par == chara then
- sou.Parent = chara.Torso
- end
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "rbxassetid://" .. id
- sou.PlayOnRemove = true
- sou:Destroy()
- end
- --This is just for builds--
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- Naifu = New("Part",chara,"Naifu",{BrickColor = BrickColor.new("Dark stone grey"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000018, 0.200000003, 2.09999967),CFrame = CFrame.new(-46.1688423, 1.71234488, -46.3381615, -0.556669891, -0.663414657, 0.499999702, -0.766044796, 0.642787278, 7.3450633e-07, -0.321393907, -0.383021802, -0.866025567),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",Naifu,"Mesh",{Scale = Vector3.new(0.5, 0.699999988, 0.5),VertexColor = Vector3.new(0.5, 0.5, 0.5),MeshId = "rbxassetid://54430772",TextureId = "rbxassetid://54430066",MeshType = Enum.MeshType.FileMesh,})
- Weld = New("ManualWeld",Naifu,"Weld",{Part0 = Naifu,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.556669891, -0.766044796, -0.321393907, -0.663414657, 0.642787278, -0.383021802, 0.499999702, 7.3450633e-07, -0.866025567),C1 = CFrame.new(-0.0408859253, -1.28767514, 0.650009155, -0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, -0.866025388),})
- TEC9 = New("Part",chara,"TEC9",{BrickColor = BrickColor.new("Dark stone grey"),Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000018, 1.20000005, 1.79999959),CFrame = CFrame.new(-56.3000031, 1.29999971, -46.6999931, -1, -1.00172471e-07, -1.61844298e-08, 5.16190539e-08, -8.19882651e-09, 1, -1.29974794e-07, 1, -4.67569983e-08),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",TEC9,"Mesh",{Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012),MeshId = "rbxassetid://742046473",TextureId = "rbxassetid://742046691",MeshType = Enum.MeshType.FileMesh,})
- Weld = New("ManualWeld",TEC9,"Weld",{Part0 = TEC9,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, -1, 5.16190539e-08, -1.29974794e-07, -1.00172471e-07, -8.19882651e-09, 1, -1.61844298e-08, 1, -4.67569983e-08),C1 = CFrame.new(-0.0999984741, -1.70001817, -7.62939453e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- DBarrel = New("Part",chara,"DBarrel",{BrickColor = BrickColor.new("Dark stone grey"),Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000018, 0.799999952, 2.09999967),CFrame = CFrame.new(-42.2655792, 3.62635231, -28.7166176, 0.99998486, 0.00129485771, -0.00535738515, -0.00132099993, 0.999987245, -0.0048789978, 0.00535099953, 0.00488600042, 0.999973774),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
- Mesh = New("SpecialMesh",DBarrel,"Mesh",{Scale = Vector3.new(0.00700000022, 0.00700000022, 0.00700000022),MeshId = "rbxassetid://438826329",TextureId = "rbxassetid://438826340",MeshType = Enum.MeshType.FileMesh,})
- Weld = New("ManualWeld",DBarrel,"Weld",{Part0 = DBarrel,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0.99998486, -0.00132099993, 0.00535099953, 0.00129485771, 0.999987245, 0.00488600042, -0.00535738515, -0.0048789978, 0.999973774),C1 = CFrame.new(0.00952529907, -1.46699142, -0.100050688, -0.868691146, -0.00176300027, 0.495351046, -0.495353371, 0.00488599995, -0.868677914, -0.000888805604, -0.999986589, -0.00511773303),})
- local att1 = Instance.new("Attachment",Naifu)
- att1.Position = Vector3.new(0,.2,-.2)
- local att2 = Instance.new("Attachment",Naifu)
- att2.Position = Vector3.new(0,.1,1.5)
- local tr1 = Instance.new("Trail",Naifu)
- tr1.Color = ColorSequence.new(Color3.new(.5,.5,.5),Color3.new(1,1,1))
- tr1.Transparency = NumberSequence.new(0,1)
- tr1.Lifetime = .5
- tr1.Enabled = false
- tr1.Attachment0 = att1
- tr1.Attachment1 = att2
- if chara:FindFirstChild("FakeHeadM") then
- local CorruptFace = New("Decal",chara.FakeHeadM.FakeHead,"Corrupt",{Texture = "rbxassetid://1000657824",})
- chara.FakeHeadM.FakeHead.Normal:Destroy()
- chara.FakeHeadM.FakeHead.Lood:Destroy()
- chara.FakeHeadM.FakeHead.Rooped:Destroy()
- chara.FaysG:Destroy()
- chara.FakeHeadM.Ahoge:Destroy()
- for i,v in pairs(chara:GetDescendants()) do
- if v.Name == "SpecPart" or v.Name == "Ears1Part" then
- v:Destroy()
- elseif v.Name == "Ears2Part" then
- v.Transparency = 0
- end
- end
- end
- for i, v in pairs(chara:children()) do
- if v:IsA("Shirt") or v:IsA("Pants") then
- v:Destroy()
- elseif v.Name == "Chest" then
- for a, b in pairs(v:children()) do
- if b.Name ~= "Tail" then
- b.Transparency = 1
- end
- end
- end
- end
- local sh = Instance.new("Shirt",chara)
- local pn = Instance.new("Pants",chara)
- sh.ShirtTemplate = "rbxassetid://567462542"
- pn.PantsTemplate = "rbxassetid://1521666087"
- ---------------------------
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetDescendants()) do
- if v:IsA("Model") then
- if v:findFirstChild("Head") then
- if v ~= chara then
- if (v.Head.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- EffectModel = Create("Model"){
- Parent = chara,
- Name = "Effects",
- }
- --Effect Functions--
- Effects = {
- Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("BlockMesh",p)
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- if spin == true then
- p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- end
- end
- p:Destroy()
- end)()
- return p
- end,
- Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshType = "Sphere"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("CylinderMesh",p)
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://20329976"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
- end
- p:Destroy()
- end)()
- return p
- end,
- Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://3270017"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- end
- p:Destroy()
- end)()
- return p
- end,
- Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = Vector3.new()
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = cf
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = meshid
- m.TextureId = textid
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
- end
- p:Destroy()
- end)()
- return p
- end,
- Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
- local p = Instance.new("Part",EffectModel)
- p.BrickColor = BrickColor.new(colour)
- p.Size = partsize
- p.Anchored = true
- p.CanCollide = false
- p.Material = matr
- p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- if inverse == true then
- p.Transparency = 1
- else
- p.Transparency = 0
- end
- local m = Instance.new("SpecialMesh",p)
- m.MeshType = "Sphere"
- m.Scale = meshstart
- coroutine.wrap(function()
- for i=0,1,factor do
- swait()
- if inverse == true then
- p.Transparency = 1-i
- else
- p.Transparency = i
- end
- m.Scale = m.Scale + meshadd
- p.CFrame = p.CFrame * CFrame.new(0,move,0)
- end
- p:Destroy()
- end)()
- return p
- end,
- }
- function chatfunc(text)
- coroutine.wrap(function()
- if chara:FindFirstChild("TalkingBillBoard")~= nil then
- chara:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",chara)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = chara.Head
- naeeym2.Name = "BLABLABLA"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Antique"
- tecks2.FontSize = "Size24"
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(1,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)coroutine.wrap(function()
- while tecks2 ~= nil do
- swait()
- tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
- end
- end)()
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- swait()
- end
- swait(30)
- for i = 1, 5 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
- tecks2.TextTransparency = tecks2.TextTransparency + .2
- end
- naeeym2:Destroy()
- end)()
- end
- function GetDudesTorso(c)
- local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
- if torsy ~= nil then
- return torsy
- end
- end
- function BodyVel(part,faws)
- local bodyvel = Instance.new("BodyVelocity",part)
- local pep = 10000000
- bodyvel.P = pep
- bodyvel.MaxForce = Vector3.new(pep,pep,pep)
- bodyvel.Velocity = faws
- debby:AddItem(bodyvel,.2)
- end
- function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
- if dude and dude ~= chara and dude.Name ~= "CKbackup" and dude.Name ~= "Nebula_Zorua" and dude.Name ~= "Salvo_Starly" then
- if dude:FindFirstChild("HITO") then return end
- local debounce = Instance.new("BoolValue",dude)
- debounce.Name = "HITO"
- debby:AddItem(debounce,toim)
- local hum = dude:FindFirstChildOfClass("Humanoid")
- local dam = dmg+math.random(-env,env)
- local teksu = "-"..dam
- if hum then
- local finhel = hum.Health - dam
- if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
- Instance.new("BoolValue",dude).Name = "DEATHED"
- local soaa = Instance.new("Sound",dude.Head)
- local cho = math.random(1,5)
- if cho == 1 then
- soaa.SoundId = "rbxassetid://111896685"
- elseif cho == 2 then
- soaa.SoundId = "rbxassetid://535528169"
- elseif cho == 3 then
- soaa.SoundId = "rbxassetid://1080363252"
- elseif cho == 4 then
- soaa.SoundId = "rbxassetid://147758746"
- elseif cho == 5 then
- soaa.SoundId = "rbxassetid://626777433"
- soaa.Volume = .2
- soaa.TimePosition = 1
- end
- game:service'Debris':AddItem(soaa,6)
- soaa:Play()
- end
- hum.Health = hum.Health - dam
- end
- coroutine.wrap(function()
- local naeeym2 = Instance.new("BillboardGui",dude)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = dude:FindFirstChild("Head")
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = teksu
- tecks2.Font = "Antique"
- tecks2.TextSize = 24
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(1,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- swait(10)
- for i = 0,1,.05 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
- tecks2.TextStrokeTransparency = i
- tecks2.TextTransparency = i
- end
- naeeym2:Destroy()
- end)()
- local torsy = GetDudesTorso(dude)
- if torsy then
- for i=1,dam/5 do
- local blp = Instance.new("Part",EffectModel)
- blp.Size = Vector3.new(.3,.3,.3)
- blp.BrickColor = BrickColor.new("Crimson")
- blp.CFrame = torsy.CFrame
- blp.Velocity = torsy.CFrame.lookVector*5
- coroutine.wrap(function()
- swait(10)
- blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
- for i=0,1,.1 do
- swait()
- blp.Transparency = i
- blp.Size = blp.Size + Vector3.new(.02,-.02,.02)
- end
- blp:Destroy()
- end)()
- end
- if efftyp == "Blunt" then
- puncheff(torsy)
- elseif efftyp == "Sharp" then
- slasheff(torsy)
- end
- if faws ~= 0 then
- BodyVel(torsy,faws)
- end
- if trip == true then
- torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
- torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- end
- end
- end
- end
- function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
- for _, c in pairs(workspace:GetDescendants()) do
- local hum = c:FindFirstChildOfClass("Humanoid")
- if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil and c.Name ~= "CKbackup" and c.Name ~= "Nebula_Zorua" and c.Name ~= "Salvo_Starly" then
- local head = GetDudesTorso(c)
- if head ~= nil then
- local targ = head.Position - par.Position
- local mag = targ.magnitude
- if magni >= mag and c ~= chara then
- Dmg(c,dmg,env,faws,trip,efftyp,toim)
- end
- end
- end
- end
- end
- function puncheff(par)
- if par.Parent:FindFirstChild("DebounceHit")==nil then
- so(386946017,par,math.random(80,120)/100,1)
- Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(2,2,2),"Neon","White",false,.1)
- end
- end
- function slasheff(par)
- if par.Parent:FindFirstChild("DebounceHit")==nil then
- local cho = math.random(1,3)
- if cho == 1 then
- so(444667824,par,1,1)
- elseif cho == 2 then
- so(444667844,par,1,1)
- elseif cho == 3 then
- so(444667859,par,1,1)
- end
- --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
- Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(0,5,0),"Neon","Really red",false,.1)
- end
- end
- local mus = Instance.new("Sound",Head)
- mus.Name = "mus"
- mus.SoundId = "rbxassetid://581195737"
- mus.Looped = true
- mus.Volume = 1
- mus:Play()
- coroutine.wrap(function()
- chatfunc("I'm tired of all of this crap..")
- swait(90)
- chatfunc("Now the day of reckoning has begun..")
- swait(90)
- chatfunc("This shall be my finest hour..")
- swait(90)
- chatfunc("ICH BIN GOTT! BERZERKER!")
- end)()
- function smek()
- attack = true
- Humanoid.WalkSpeed = 16
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0506498702, -5.11459177e-07, -0.0829713419, 0.76604414, 0, 0.642788053, -2.68192082e-07, 1.00000834, 3.19618522e-07, -0.642793417, -4.17232513e-07, 0.766050518),
- CFrame.new(0.0446723551, 1.46553934, 0.0211830139, 0.735023618, 0.242944986, -0.633023083, -0.171009988, 0.969846427, 0.173647657, 0.656122029, -0.0193818808, 0.754406095),
- CFrame.new(1.40946591, -0.0135071278, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
- CFrame.new(-1.55299187, 0.416839302, -0.457236975, 0.68952775, 0.492403448, -0.53112185, -0.633021951, 0.766044736, -0.11161866, 0.35190171, 0.413175911, 0.839911342),
- CFrame.new(0.499983132, -2.00001597, -9.13441181e-06, 0.76604414, 0, -0.642788053, 0, 1, 0, 0.642788053, 0, 0.76604414),
- CFrame.new(-0.500005186, -2.00001597, -1.22189522e-06, 0.98480773, 0, 0.173648447, 0, 1, 0, -0.173648447, 0, 0.98480773),
- }, .3, false)
- end
- Humanoid.WalkSpeed = 2
- tr1.Enabled = true
- so(536642316,Naifu,1,1)
- for i=0,1.4,.2 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0327370502, 1.24810251e-09, 0.00299140904, 0.64278698, 0, -0.766044974, 3.19616191e-07, 1, 2.68189382e-07, 0.766044974, -4.17229018e-07, 0.64278698),
- CFrame.new(-0.0331632644, 1.46557713, -0.11364907, 0.656121135, -0.0193833038, 0.754413188, -0.171011418, 0.969854534, 0.173649102, -0.735024333, -0.24294585, 0.633027315),
- CFrame.new(1.24921072, -0.104290992, 0.29409039, 0.93969059, 0.26200676, 0.21985054, -0.342026025, 0.719844162, 0.604022086, -2.68220901e-07, -0.642788291, 0.766043901),
- CFrame.new(-0.663761616, 0.985711455, -0.487553686, 0.383021712, -0.64278698, -0.663414836, -0.866025984, 0, -0.499998987, 0.321392834, 0.766044974, -0.556670249),
- CFrame.new(0.500005841, -2.00003386, -4.52250242e-06, 0.984807551, 0, -0.173649341, 0, 1, 0, 0.173649341, 0, 0.984807551),
- CFrame.new(-0.499993563, -2.00003386, -1.44541264e-06, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698),
- }, .5, false)
- MagnitudeDmg(Naifu,3,40,3,RootPart.CFrame.lookVector*5,false,"Sharp",.5)
- end
- swait(5)
- Humanoid.WalkSpeed = 8
- tr1.Enabled = false
- attack = false
- end
- zhold = true
- function shoot()
- attack = true
- so(169799883,TEC9,1,1)
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.0838357508, 1.42719412, -0.166348219, 0.857789159, 0.297403604, -0.419224113, -0.141315028, 0.920631945, 0.363959879, 0.49419412, -0.252958179, 0.83173573),
- CFrame.new(1.22406256, -0.130654663, 0.277106255, 0.941511214, 0.33170712, 0.0593906641, -0.33170709, 0.881204426, 0.336822212, 0.0593910143, -0.336822152, 0.939693391),
- CFrame.new(-1.43159902, 0, 0.187939197, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.499998897, -1.99999988, -1.49011612e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
- CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- }, .3, false)
- end
- Humanoid.WalkSpeed = 2
- local ref = Instance.new("Part",chara)
- ref.Size = Vector3.new(0,0,0)
- ref.Anchored = true
- ref.CanCollide = false
- ref.Transparency = 1
- TEC9.Transparency = 0
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0438226089, 0, -0.0217384323, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.0674266815, 1.48262143, -0.0571227223, 0.939692736, 0.0593910702, -0.33682391, 0, 0.984807849, 0.173647985, 0.342019886, -0.163175747, 0.925416768),
- CFrame.new(1.62663007, 0.722141325, -0.273156077, 0.883022428, -0.342019916, 0.321393609, 0.342019916, 0, -0.939692736, 0.321393609, 0.939692736, 0.116977602),
- CFrame.new(-1.34998989, 0, 0.259806901, 0.866024911, 0, 0.500000954, 0, 1, 0, -0.500000954, 0, 0.866024852),
- CFrame.new(0.499997795, -1.99999917, -1.51991844e-06, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
- CFrame.new(-0.500000119, -1.99999917, 1.50501728e-06, 0.939692438, 0, 0.342020929, 0, 1, 0, -0.342020959, 0, 0.939692438),
- }, .3, false)
- end
- swait(5)
- local shots = 20
- repeat
- so(745308042,TEC9,1,1)
- ref.CFrame = Mouse.Hit
- MagnitudeDmg(ref,2,12,2,RootPart.CFrame.lookVector*3,false,"Shot",.1)
- local hitpt = Instance.new("Part",EffectModel)
- hitpt.Size = Vector3.new(0,0,.3)
- hitpt.CFrame = TEC9.CFrame * CFrame.new(0,.465,.1)-- * CFrame.Angles(math.rad(90),0,0)
- hitpt.Velocity = RootPart.CFrame.rightVector*10+Vector3.new(0,5,0)
- local hitm = Instance.new("SpecialMesh",hitpt)
- hitm.MeshId = "rbxassetid://94295100"
- hitm.TextureId = "rbxassetid://94287792"
- hitm.Scale = Vector3.new(3,3,3.5)
- coroutine.wrap(function()
- swait(30)
- for i = 0,1,.1 do
- swait()
- hitpt.Transparency = i
- end
- hitpt:Destroy()
- end)()
- Effects.Block(TEC9.CFrame*CFrame.new(-.05,.465,-.9),Vector3.new(1,1,1),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1)
- shots = shots - 1
- for i=0,1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0438226089, 0, -0.0217384323, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.0674266815, 1.48262143, -0.0571227223, 0.939692736, 0.0593910702, -0.33682391, 0, 0.984807849, 0.173647985, 0.342019886, -0.163175747, 0.925416768),
- CFrame.new(1.62663007, 0.722141325, -0.273156077, 0.883022428, -0.342019916, 0.321393609, 0.342019916, 0, -0.939692736, 0.321393609, 0.939692736, 0.116977602)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),
- CFrame.new(-1.34998989, 0, 0.259806901, 0.866024911, 0, 0.500000954, 0, 1, 0, -0.500000954, 0, 0.866024852),
- CFrame.new(0.499997795, -1.99999917, -1.51991844e-06, 0.866025686, 0, -0.499999642, 0, 1, 0, 0.499999642, 0, 0.866025686),
- CFrame.new(-0.500000119, -1.99999917, 1.50501728e-06, 0.939692438, 0, 0.342020929, 0, 1, 0, -0.342020959, 0, 0.939692438),
- }, .3, false)
- end
- until zhold == false or shots == 0
- swait(5)
- ref:Destroy()
- for i=0,1,.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.44842434, -0.192443371, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
- CFrame.new(1.39502811, 0.908103704, 0.515749812, -0.213331953, -0.84539932, -0.489683062, 0.875778735, 0.056671422, -0.479374528, 0.433013916, -0.531119943, 0.728292942),
- CFrame.new(-1.5091548, 0.323206276, -0.384231716, 0.750000238, 0.433013409, -0.499999136, -0.500000179, 0.866025388, 6.10661004e-07, 0.433012158, 0.249999225, 0.866025925),
- CFrame.new(0.50000149, -1.99999857, -2.11596489e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
- CFrame.new(-0.500000834, -1.99999857, 1.63912773e-06, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
- }, .4, false)
- end
- so(1159825801,TEC9,1,1)
- swait(15)
- so(211134014,TEC9,1,1)
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.0838357508, 1.42719412, -0.166348219, 0.857789159, 0.297403604, -0.419224113, -0.141315028, 0.920631945, 0.363959879, 0.49419412, -0.252958179, 0.83173573),
- CFrame.new(1.22406256, -0.130654663, 0.277106255, 0.941511214, 0.33170712, 0.0593906641, -0.33170709, 0.881204426, 0.336822212, 0.0593910143, -0.336822152, 0.939693391),
- CFrame.new(-1.43159902, 0, 0.187939197, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.499998897, -1.99999988, -1.49011612e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
- CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- }, .3, false)
- end
- TEC9.Transparency = 1
- Humanoid.WalkSpeed = 8
- attack = false
- end
- function dbshoot()
- attack = true
- so(169799883,DBarrel,1,1)
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.0838357508, 1.42719412, -0.166348219, 0.857789159, 0.297403604, -0.419224113, -0.141315028, 0.920631945, 0.363959879, 0.49419412, -0.252958179, 0.83173573),
- CFrame.new(1.22406256, -0.130654663, 0.277106255, 0.941511214, 0.33170712, 0.0593906641, -0.33170709, 0.881204426, 0.336822212, 0.0593910143, -0.336822152, 0.939693391),
- CFrame.new(-1.43159902, 0, 0.187939197, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.499998897, -1.99999988, -1.49011612e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
- CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- }, .3, false)
- end
- Humanoid.WalkSpeed = 2
- DBarrel.Transparency = 0
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.0149096567, 0.133909225, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
- CFrame.new(0, 1.43158329, -0.187937319, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
- CFrame.new(1.0840646, 0.399937928, -0.718070745, 0.868691146, 0.495353371, 0.000888805604, -0.0877529308, 0.15565595, -0.983905911, -0.487519473, 0.854632378, 0.17868565),
- CFrame.new(-1.35562694, -0.0255649146, 0.396688521, 0.939692378, -0.116977789, 0.321394831, -2.60770321e-07, 0.939692855, 0.342019856, -0.342021167, -0.321393549, 0.883021951),
- CFrame.new(0.499995321, -2.00755072, 0.218008161, 0.939692736, 0, -0.342019886, 0.0593910702, 0.984807849, 0.163175747, 0.33682391, -0.173647985, 0.925416768),
- CFrame.new(-0.499996126, -2.00755, 0.218011439, 0.939692736, 0, 0.342019886, -0.0593910702, 0.984807849, 0.163175747, -0.33682391, -0.173647985, 0.925416768),
- }, .3, false)
- end
- swait(5)
- so(132455829,DBarrel,1,1)
- local ref = Instance.new("Part",chara)
- ref.Size = Vector3.new(0,0,0)
- ref.Anchored = true
- ref.CanCollide = false
- ref.Transparency = 1
- ref.CFrame = RootPart.CFrame*CFrame.new(0,0,-6)
- MagnitudeDmg(ref,4,100,0,RootPart.CFrame.lookVector*12,true,"Shot",.1)
- Effects.Block(DBarrel.CFrame*CFrame.new(.1,.3,1.1),Vector3.new(1,1,1),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.05)
- Effects.Block(DBarrel.CFrame*CFrame.new(-.1,.3,1.1),Vector3.new(1,1,1),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.05)
- ref:Destroy()
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.0149102025, 0.133909985, 1, 0, 0, 0, 0.984812796, -0.173648849, 0, 0.173648849, 0.984812796),
- CFrame.new(0, 1.43158948, 0.0120660895, 1, 0, 0, 0, 1.00000262, -1.1920929e-07, 0, 1.1920929e-07, 1.00000262),
- CFrame.new(1.20370889, 0.765974879, -0.570772648, 0.868689418, 0.319091678, -0.378892303, -0.0877506882, -0.653664529, -0.751683295, -0.48752436, 0.686227262, -0.539830863),
- CFrame.new(-1.49794042, 0.21531868, 0.355185598, 0.923031092, 0.211469814, 0.321394384, -0.321394086, 0.883024752, 0.342021078, -0.211472049, -0.418990374, 0.883024335),
- CFrame.new(0.499998927, -2.00757003, 0.218012124, 0.939692736, 0, -0.342019886, 0.0593913682, 0.984812796, 0.163176581, 0.336825609, -0.173648849, 0.925421476),
- CFrame.new(-0.500004649, -2.00756979, 0.218013197, 0.939692736, 0, 0.342019886, -0.0593913682, 0.984812796, 0.163176581, -0.336825609, -0.173648849, 0.925421476),
- }, .3, false)
- end
- swait(10)
- for i=0,1,.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.44842434, -0.192443371, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
- CFrame.new(1.39502811, 0.908103704, 0.515749812, -0.213331953, -0.84539932, -0.489683062, 0.875778735, 0.056671422, -0.479374528, 0.433013916, -0.531119943, 0.728292942),
- CFrame.new(-1.5091548, 0.323206276, -0.384231716, 0.750000238, 0.433013409, -0.499999136, -0.500000179, 0.866025388, 6.10661004e-07, 0.433012158, 0.249999225, 0.866025925),
- CFrame.new(0.50000149, -1.99999857, -2.11596489e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
- CFrame.new(-0.500000834, -1.99999857, 1.63912773e-06, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
- }, .4, false)
- end
- for i=1,2 do
- so(1159825801,DBarrel,1,1)
- local hitpt = Instance.new("Part",EffectModel)
- hitpt.Size = Vector3.new(0,0,.3)
- hitpt.CFrame = TEC9.CFrame * CFrame.Angles(math.rad(90),0,0)
- hitpt.Velocity = RootPart.CFrame.rightVector*10+Vector3.new(0,5,0)
- local hitm = Instance.new("SpecialMesh",hitpt)
- hitm.MeshId = "rbxassetid://94248124"
- hitm.TextureId = "rbxassetid://94219470"
- hitm.Scale = Vector3.new(1.2,1.2,1.2)
- coroutine.wrap(function()
- swait(30)
- for i = 0,1,.1 do
- swait()
- hitpt.Transparency = i
- end
- hitpt:Destroy()
- end)()
- swait()
- end
- swait(15)
- so(211134014,DBarrel,1,1)
- for i=0,1,.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.0838357508, 1.42719412, -0.166348219, 0.857789159, 0.297403604, -0.419224113, -0.141315028, 0.920631945, 0.363959879, 0.49419412, -0.252958179, 0.83173573),
- CFrame.new(1.22406256, -0.130654663, 0.277106255, 0.941511214, 0.33170712, 0.0593906641, -0.33170709, 0.881204426, 0.336822212, 0.0593910143, -0.336822152, 0.939693391),
- CFrame.new(-1.43159902, 0, 0.187939197, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- CFrame.new(0.499998897, -1.99999988, -1.49011612e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736),
- CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
- }, .3, false)
- end
- DBarrel.Transparency = 1
- Humanoid.WalkSpeed = 8
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false then
- smek()
- end
- end)
- local sprintt = 0
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k=='m' then
- if mus.IsPlaying == true then
- mus:Stop()
- elseif mus.IsPaused == true then
- mus:Play()
- end
- end
- if attack == false then
- if k == 'z' then
- zhold = true
- shoot()
- elseif k == 'x' then
- dbshoot()
- end
- end
- end)
- Mouse.KeyUp:connect(function(k)
- k = k:lower()
- if k == 'z' then
- zhold = false
- end
- end)
- coroutine.wrap(function()
- while 1 do
- swait()
- if doe <= 360 then
- doe = doe + 2
- else
- doe = 0
- end
- end
- end)()
- while true do
- swait()
- while true do
- swait()
- if Head:FindFirstChild("mus")==nil then
- mus = Instance.new("Sound",Head)
- mus.Name = "mus"
- mus.SoundId = "rbxassetid://581195737"
- mus.Looped = true
- mus.Volume = 1
- mus:Play()
- end
- if sprintt >= 1 then
- sprintt = sprintt - 1
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
- CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
- CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012),
- CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012),
- CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
- CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
- CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
- CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
- CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
- CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
- CFrame.new(0, 1.48262823, -0.0984786302, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
- CFrame.new(1.20945334, -0.213505104, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
- CFrame.new(-1.37076354, 0, -0.304326713, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
- CFrame.new(0.499997705, -2, -2.77906656e-06, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
- CFrame.new(-0.50000149, -2, -2.11596489e-06, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- Humanoid.WalkSpeed = 8
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
- CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
- CFrame.new(-1.37076354, 0, -0.304326713, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
- CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
- CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
- }, .3, false)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement