Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Made by Cronizete
- Cronnie#8709
- --]]
- plr = game:service'Players'.LocalPlayer
- char = plr.Character
- local RenderStepped=game:service'RunService'.RenderStepped
- local oldpos
- local bg = Instance.new("BodyGyro", script)
- bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bg.P = 10000
- bg.D = 100
- --// Gunbai
- m = Instance.new('Model', char)
- m.Name = "Gumbai"
- Bar = Instance.new("Part",m)
- Bar.TopSurface = "Smooth"
- Bar.BottomSurface = "Smooth"
- Bar.FormFactor = "Custom"
- Bar.Size = Vector3.new(1,1,1)
- Bar.CanCollide = true
- Bar.BrickColor = BrickColor.new("Really black")
- BarMesh = Instance.new("SpecialMesh", Bar)
- BarMesh.MeshType = "Cylinder"
- BarMesh.Scale = Vector3.new(1, 1, 0.4)
- BarWeld = Instance.new("Weld",m)
- BarWeld.Part0 = char.Torso
- BarWeld.Part1 = Bar
- BarWeld.C1 = CFrame.new(-3, 0, -0.7)*CFrame.fromEulerAnglesXYZ(0, 0, -1)
- oldpos = BarWeld.C1
- Bar2 = Instance.new("Part",m)
- Bar2.TopSurface = "Smooth"
- Bar2.BottomSurface = "Smooth"
- Bar2.FormFactor = "Custom"
- Bar2.Size = Vector3.new(3,1,1)
- Bar2.CanCollide = true
- Bar2.BrickColor = BrickColor.new("Institutional white")
- Bar2Mesh = Instance.new("SpecialMesh", Bar2)
- Bar2Mesh.MeshType = "Cylinder"
- Bar2Mesh.Scale = Vector3.new(3, 1, 0.3)
- Bar2Weld = Instance.new("Weld",m)
- Bar2Weld.Part0 = Bar
- Bar2Weld.Part1 = Bar2
- Bar2Weld.C1 = CFrame.new(2.2, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Bar3 = Instance.new("Part",m)
- Bar3.TopSurface = "Smooth"
- Bar3.BottomSurface = "Smooth"
- Bar3.FormFactor = "Custom"
- Bar3.Size = Vector3.new(1,1,1)
- Bar3.CanCollide = true
- Bar3.BrickColor = BrickColor.new("Really black")
- Bar3Mesh = Instance.new("SpecialMesh", Bar3)
- Bar3Mesh.MeshType = "Cylinder"
- Bar3Mesh.Scale = Vector3.new(0.1, 1, 0.4)
- Bar3Weld = Instance.new("Weld",m)
- Bar3Weld.Part0 = Bar
- Bar3Weld.Part1 = Bar3
- Bar3Weld.C1 = CFrame.new(-2.3, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Bar4 = Instance.new("Part",m)
- Bar4.TopSurface = "Smooth"
- Bar4.BottomSurface = "Smooth"
- Bar4.FormFactor = "Custom"
- Bar4.Size = Vector3.new(0.8,2.8,2.8)
- Bar4.CanCollide = true
- Bar4.BrickColor = BrickColor.new("Institutional white")
- Bar4Mesh = Instance.new("SpecialMesh", Bar4)
- Bar4Mesh.MeshType = "Cylinder"
- Bar4Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar4Weld = Instance.new("Weld",m)
- Bar4Weld.Part0 = Bar
- Bar4Weld.Part1 = Bar4
- Bar4Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar5 = Instance.new("Part",m)
- Bar5.TopSurface = "Smooth"
- Bar5.BottomSurface = "Smooth"
- Bar5.FormFactor = "Custom"
- Bar5.Size = Vector3.new(0.8,3,3)
- Bar5.CanCollide = true
- Bar5.BrickColor = BrickColor.new("Institutional white")
- Bar5Mesh = Instance.new("SpecialMesh", Bar5)
- Bar5Mesh.MeshType = "Cylinder"
- Bar5Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar5Weld = Instance.new("Weld",m)
- Bar5Weld.Part0 = Bar
- Bar5Weld.Part1 = Bar5
- Bar5Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar6 = Instance.new("Part",m)
- Bar6.TopSurface = "Smooth"
- Bar6.BottomSurface = "Smooth"
- Bar6.FormFactor = "Custom"
- Bar6.Size = Vector3.new(0.7,2.9,2.9)
- Bar6.CanCollide = true
- Bar6.BrickColor = BrickColor.new("Really black")
- Bar6Mesh = Instance.new("SpecialMesh", Bar6)
- Bar6Mesh.MeshType = "Cylinder"
- Bar6Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar6Weld = Instance.new("Weld",m)
- Bar6Weld.Part0 = Bar
- Bar6Weld.Part1 = Bar6
- Bar6Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar7 = Instance.new("Part",m)
- Bar7.TopSurface = "Smooth"
- Bar7.BottomSurface = "Smooth"
- Bar7.FormFactor = "Custom"
- Bar7.Size = Vector3.new(0.7,3.1,3.1)
- Bar7.CanCollide = true
- Bar7.BrickColor = BrickColor.new("Really black")
- Bar7Mesh = Instance.new("SpecialMesh", Bar7)
- Bar7Mesh.MeshType = "Cylinder"
- Bar7Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar7Weld = Instance.new("Weld",m)
- Bar7Weld.Part0 = Bar
- Bar7Weld.Part1 = Bar7
- Bar7Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar8 = Instance.new("Part",m)
- Bar8.TopSurface = "Smooth"
- Bar8.BottomSurface = "Smooth"
- Bar8.FormFactor = "Custom"
- Bar8.Size = Vector3.new(1,1,1)
- Bar8.CanCollide = true
- Bar8.BrickColor = BrickColor.new("Really black")
- Bar8Mesh = Instance.new("SpecialMesh", Bar8)
- Bar8Mesh.MeshType = "Cylinder"
- Bar8Mesh.Scale = Vector3.new(0.1, 1, 0.4)
- Bar8Weld = Instance.new("Weld",m)
- Bar8Weld.Part0 = Bar
- Bar8Weld.Part1 = Bar8
- Bar8Weld.C1 = CFrame.new(6.7, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Bar9 = Instance.new("Part",m)
- Bar9.TopSurface = "Smooth"
- Bar9.BottomSurface = "Smooth"
- Bar9.FormFactor = "Custom"
- Bar9.Size = Vector3.new(0.9,0.3,0.3)
- Bar9.CanCollide = true
- Bar9.BrickColor = BrickColor.new("Bright red")
- Bar9Mesh = Instance.new("SpecialMesh", Bar9)
- Bar9Mesh.MeshType = "Cylinder"
- Bar9Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar9Weld = Instance.new("Weld",m)
- Bar9Weld.Part0 = Bar
- Bar9Weld.Part1 = Bar9
- Bar9Weld.C1 = CFrame.new(0.02, 0.5, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar10 = Instance.new("Part",m)
- Bar10.TopSurface = "Smooth"
- Bar10.BottomSurface = "Smooth"
- Bar10.FormFactor = "Custom"
- Bar10.Size = Vector3.new(0.9,0.3,0.3)
- Bar10.CanCollide = true
- Bar10.BrickColor = BrickColor.new("Bright red")
- Bar10Mesh = Instance.new("SpecialMesh", Bar10)
- Bar10Mesh.MeshType = "Cylinder"
- Bar10Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar10Weld = Instance.new("Weld",m)
- Bar10Weld.Part0 = Bar
- Bar10Weld.Part1 = Bar10
- Bar10Weld.C1 = CFrame.new(0.02, 0.9, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar11 = Instance.new("Part",m)
- Bar11.TopSurface = "Smooth"
- Bar11.BottomSurface = "Smooth"
- Bar11.FormFactor = "Custom"
- Bar11.Size = Vector3.new(0.9,0.3,0.3)
- Bar11.CanCollide = true
- Bar11.BrickColor = BrickColor.new("Bright red")
- Bar11Mesh = Instance.new("SpecialMesh", Bar11)
- Bar11Mesh.MeshType = "Cylinder"
- Bar11Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar11Weld = Instance.new("Weld",m)
- Bar11Weld.Part0 = Bar
- Bar11Weld.Part1 = Bar11
- Bar11Weld.C1 = CFrame.new(0.02, 0.9, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar12 = Instance.new("Part",m)
- Bar12.TopSurface = "Smooth"
- Bar12.BottomSurface = "Smooth"
- Bar12.FormFactor = "Custom"
- Bar12.Size = Vector3.new(0.9,0.3,0.3)
- Bar12.CanCollide = true
- Bar12.BrickColor = BrickColor.new("Bright red")
- Bar12Mesh = Instance.new("SpecialMesh", Bar12)
- Bar12Mesh.MeshType = "Cylinder"
- Bar12Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar12Weld = Instance.new("Weld",m)
- Bar12Weld.Part0 = Bar
- Bar12Weld.Part1 = Bar12
- Bar12Weld.C1 = CFrame.new(0.02, -0.9, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar13 = Instance.new("Part",m)
- Bar13.TopSurface = "Smooth"
- Bar13.BottomSurface = "Smooth"
- Bar13.FormFactor = "Custom"
- Bar13.Size = Vector3.new(0.9,0.3,0.3)
- Bar13.CanCollide = true
- Bar13.BrickColor = BrickColor.new("Bright red")
- Bar13Mesh = Instance.new("SpecialMesh", Bar13)
- Bar13Mesh.MeshType = "Cylinder"
- Bar13Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar13Weld = Instance.new("Weld",m)
- Bar13Weld.Part0 = Bar
- Bar13Weld.Part1 = Bar13
- Bar13Weld.C1 = CFrame.new(0.02, -0.5, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar14 = Instance.new("Part",m)
- Bar14.TopSurface = "Smooth"
- Bar14.BottomSurface = "Smooth"
- Bar14.FormFactor = "Custom"
- Bar14.Size = Vector3.new(0.9,0.3,0.3)
- Bar14.CanCollide = true
- Bar14.BrickColor = BrickColor.new("Bright red")
- Bar14Mesh = Instance.new("SpecialMesh", Bar14)
- Bar14Mesh.MeshType = "Cylinder"
- Bar14Mesh.Scale = Vector3.new(0.2, 1, 3)
- Bar14Weld = Instance.new("Weld",m)
- Bar14Weld.Part0 = Bar
- Bar14Weld.Part1 = Bar14
- Bar14Weld.C1 = CFrame.new(0.02, -0.5, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
- Bar15 = Instance.new("Part",m)
- Bar15.TopSurface = "Smooth"
- Bar15.BottomSurface = "Smooth"
- Bar15.FormFactor = "Custom"
- Bar15.Size = Vector3.new(1,1,1)
- Bar15.CanCollide = true
- Bar15.BrickColor = BrickColor.new("Bright red")
- Bar15Mesh = Instance.new("SpecialMesh", Bar15)
- Bar15Mesh.MeshType = "Wedge"
- Bar15Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar15Weld = Instance.new("Weld",m)
- Bar15Weld.Part0 = Bar12
- Bar15Weld.Part1 = Bar15
- Bar15Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
- Bar16 = Instance.new("Part",m)
- Bar16.TopSurface = "Smooth"
- Bar16.BottomSurface = "Smooth"
- Bar16.FormFactor = "Custom"
- Bar16.Size = Vector3.new(1,1,1)
- Bar16.CanCollide = true
- Bar16.BrickColor = BrickColor.new("Bright red")
- Bar16Mesh = Instance.new("SpecialMesh", Bar16)
- Bar16Mesh.MeshType = "Wedge"
- Bar16Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar16Weld = Instance.new("Weld",m)
- Bar16Weld.Part0 = Bar13
- Bar16Weld.Part1 = Bar16
- Bar16Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
- Bar17 = Instance.new("Part",m)
- Bar17.TopSurface = "Smooth"
- Bar17.BottomSurface = "Smooth"
- Bar17.FormFactor = "Custom"
- Bar17.Size = Vector3.new(1,1,1)
- Bar17.CanCollide = true
- Bar17.BrickColor = BrickColor.new("Bright red")
- Bar17Mesh = Instance.new("SpecialMesh", Bar17)
- Bar17Mesh.MeshType = "Wedge"
- Bar17Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar17Weld = Instance.new("Weld",m)
- Bar17Weld.Part0 = Bar14
- Bar17Weld.Part1 = Bar17
- Bar17Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
- Bar18 = Instance.new("Part",m)
- Bar18.TopSurface = "Smooth"
- Bar18.BottomSurface = "Smooth"
- Bar18.FormFactor = "Custom"
- Bar18.Size = Vector3.new(1,1,1)
- Bar18.CanCollide = true
- Bar18.BrickColor = BrickColor.new("Bright red")
- Bar18Mesh = Instance.new("SpecialMesh", Bar18)
- Bar18Mesh.MeshType = "Wedge"
- Bar18Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar18Weld = Instance.new("Weld",m)
- Bar18Weld.Part0 = Bar9
- Bar18Weld.Part1 = Bar18
- Bar18Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
- Bar19 = Instance.new("Part",m)
- Bar19.TopSurface = "Smooth"
- Bar19.BottomSurface = "Smooth"
- Bar19.FormFactor = "Custom"
- Bar19.Size = Vector3.new(1,1,1)
- Bar19.CanCollide = true
- Bar19.BrickColor = BrickColor.new("Bright red")
- Bar19Mesh = Instance.new("SpecialMesh", Bar19)
- Bar19Mesh.MeshType = "Wedge"
- Bar19Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar19Weld = Instance.new("Weld",m)
- Bar19Weld.Part0 = Bar10
- Bar19Weld.Part1 = Bar19
- Bar19Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
- Bar20 = Instance.new("Part",m)
- Bar20.TopSurface = "Smooth"
- Bar20.BottomSurface = "Smooth"
- Bar20.FormFactor = "Custom"
- Bar20.Size = Vector3.new(1,1,1)
- Bar20.CanCollide = true
- Bar20.BrickColor = BrickColor.new("Bright red")
- Bar20Mesh = Instance.new("SpecialMesh", Bar20)
- Bar20Mesh.MeshType = "Wedge"
- Bar20Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
- Bar20Weld = Instance.new("Weld",m)
- Bar20Weld.Part0 = Bar11
- Bar20Weld.Part1 = Bar20
- Bar20Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
- for _, a in pairs(m:children()) do
- if a:IsA'Weld' then
- a.Name = plr.Name.."Weld"
- end
- end
- for _, a in pairs(m:children()) do
- if a:IsA'Part' then
- a.CanCollide = false
- end
- end
- --// Body Parts
- human = char:FindFirstChildOfClass'Humanoid'
- torso = char.Torso
- root = char.HumanoidRootPart
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- head = char.Head
- ground = ""
- mouse = plr:GetMouse()
- parent = script
- ff = Instance.new('ForceField', script)
- ff.Visible = false
- for _, a in pairs(workspace:children()) do
- if a:IsA'Part' then
- ground = a
- end
- end
- --// Config
- speed = 4
- cooldown = true
- sprint = false
- fire = false
- gthr = false
- out = false
- block = false
- --// Head
- neck = torso.Neck
- ncf = neck.C0
- --// torso
- torsojoint = root.RootJoint
- torsoC0 = torsojoint.C0
- --// Legs
- lhip = torso["Left Hip"]
- rhip = torso["Right Hip"]
- lle = lhip.C0
- rle = rhip.C0
- --// rad,random,sin,cos,and floor
- rad = math.rad
- random = math.random
- sin = math.sin
- cos = math.cos
- floor = math.floor
- --// Body Color
- bc = char:FindFirstChild('Body Colors')
- bc.HeadColor = BrickColor.new('Cool yellow')
- bc.LeftArmColor = BrickColor.new('Cool yellow')
- bc.RightArmColor = BrickColor.new('Cool yellow')
- bc.LeftLegColor = BrickColor.new('Cool yellow')
- bc.RightLegColor = BrickColor.new('Cool yellow')
- bc.TorsoColor = BrickColor.new('Cool yellow')
- --// Arms
- lshold = torso["Left Shoulder"]
- rshold = torso["Right Shoulder"]
- lsho = lshold.C0
- rsho = rshold.C0
- --// Remove animations
- char.Animate.Parent = nil
- human.Animator.Parent = nil
- for i,v in pairs(human:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- --// sfx
- s1 = Instance.new('Sound', char['Right Arm'])
- s1.SoundId = "rbxassetid://385470847"
- s1.Volume = 4
- s2 = Instance.new('Sound', char.Head)
- s2.SoundId = "rbxassetid://134269592"
- s2.Volume = 4
- s3 = Instance.new('Sound', char.Head)
- s3.SoundId = "rbxassetid://405596045"
- s3.Volume = 4
- s4 = Instance.new('Sound', char["Right Arm"])
- s4.Volume = 6
- s4.SoundId = "rbxassetid://873073853"
- s4.Looped = false
- s5 = Instance.new('Sound', char["Right Arm"])
- s5.Volume = 6
- s5.SoundId = "rbxassetid://898385136"
- s5.Looped = false
- s6 = Instance.new('Sound', char["Right Arm"])
- s6.Volume = 8
- s6.SoundId = "rbxassetid://138210320"
- s6.Looped = false
- --// char
- for _, a in pairs(char:children()) do
- if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Shirt' or a:IsA'Pants' then
- a:Destroy()
- end
- end
- Hair = Instance.new("Part")
- Hair.Parent = char
- Hair.Name = "Hair"
- Hair.CanCollide = false
- Hair.Locked = true
- Hair.TopSurface = "Smooth"
- Hair.BottomSurface = "Smooth"
- Hair.formFactor = "Symmetric"
- Hair.Material = "Neon"
- Hair.BrickColor = BrickColor.new("Really black")
- Hair.CFrame = char.Torso.CFrame
- Hair.Size = Vector3.new(1, 1, 1)
- Hair.Transparency = 0
- Mesh = Instance.new("SpecialMesh", Hair)
- Mesh.Scale = Vector3.new(0.07, 0.07, 0.07)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "rbxassetid://522871165"
- Mesh.TextureId = "rbxassetid://522871173"
- local s = Instance.new('Shirt', char)
- s.ShirtTemplate = "http://www.roblox.com/asset/?id=179195327"
- local p = Instance.new('Pants', char)
- p.PantsTemplate = "http://www.roblox.com/asset/?id=215937603"
- local rad = math.rad
- Weld = Instance.new("Weld", Hair)
- Weld.Name = plr.Name.."Weld"
- Weld.Part0 = char.Head
- Weld.Part1 = Hair
- Weld.C0 = CFrame.new(0,0.2,0.07) * CFrame.Angles(0,rad(180),0)
- char.Head.face.Texture = ""
- --// functionns
- function scan(p)
- for _,v in pairs(p:GetChildren()) do
- if v:IsA("Weld") and v.Name ~= plr.Name.."Weld" then
- v:Destroy()
- elseif v:IsA'BodyVelocity' or v:IsA'BodyGyro' or v:IsA'BodyPosition' then
- v:Destroy()
- end
- scan(v)
- end
- end
- controlled = {
- }
- function smooth(a)
- a.BottomSurface = 0
- a.TopSurface = 0
- end
- function control()
- if mouse.Target and mouse.Target.Parent then
- local targ = mouse.Target
- local humtarg = targ.Parent:FindFirstChildOfClass'Humanoid'
- table.insert(controlled,targ.Parent.Name)
- local p = Instance.new('Part', char)
- smooth(p)
- p.Anchored = true
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.CanCollide = false
- p.Material = 'Neon'
- p.Shape = "Ball"
- p.BrickColor = BrickColor.new('Royal purple')
- s2:Play()
- for i = 1,25 do
- wait()
- p.Size = p.Size + Vector3.new(2,2,2)
- p.Transparency = p.Transparency + 0.04
- p.CFrame = char.Torso.CFrame
- end
- end
- end
- function kamui()
- s2:Play()
- local mpos = mouse.Hit
- local k = Instance.new('Part', char)
- k.Anchored = true
- k.CanCollide = false
- k.Name = "Kamui"
- k.Transparency = 1
- k.Position = char.Torso.Position + Vector3.new(0,5,0) +char.Torso.CFrame.lookVector * 8
- k.Size = Vector3.new(19, 19, 1)
- local k1 = k:Clone()
- k1.Parent = char
- k1.Position = mpos.p + Vector3.new(0,8,0)
- k.Touched:connect(function(hit)
- if hit and hit.Parent then
- ypcall(function()
- hit.CFrame = k1.CFrame
- hit.Anchored = false
- hit.CanCollide = true
- end)
- end
- end)
- local d = Instance.new('Decal', k)
- d.Texture = "http://www.roblox.com/asset/?id=21315275"
- d.Color3 = Color3.new(0,0,0)
- d.Face = "Back"
- d.Transparency = 1
- local d1 = d:Clone()
- d1.Parent = k
- d1.Face = "Front"
- local d2 = d:Clone()
- d2.Parent = k1
- d1:Clone().Parent = k1
- local pos = k.Position
- local pos1 = k1.Position
- for i = 1,200 do
- wait()
- for _, a in pairs(k:children()) do
- if a:IsA'Decal' then
- a.Transparency = a.Transparency - 0.1
- end
- end
- for _, b in pairs(k1:children()) do
- if b:IsA'Decal' then
- b.Transparency = b.Transparency - 0.1
- end
- end
- k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
- k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
- k.Position = pos
- k1.Position = pos1
- end
- for i = 1,200 do
- wait()
- k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
- k.Size = k.Size - Vector3.new(0.1,0.1,0.1)
- k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
- k1.Size = k1.Size - Vector3.new(0.1,0.1,0.1)
- k1.Position = pos1
- k.Position = pos
- end
- k1:Destroy()
- k:Destroy()
- end
- function debris(a, b, c)
- for j = 1, c do
- local pr = Instance.new("Part")
- pr.Name = ""
- pr.Anchored = true
- pr.BrickColor = b.BrickColor
- pr.CanCollide = true
- pr.Material = b.Material
- pr.Transparency = b.Transparency
- pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
- pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
- pr.Parent = workspace
- game.Debris:AddItem(pr, 15)
- end
- end
- function hit(b)
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-char:FindFirstChild('HumanoidRootPart').Position).magnitude <=b then
- v:FindFirstChildOfClass'Humanoid':TakeDamage(v:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
- end
- end
- end
- end
- function smash()
- human.WalkSpeed = 0
- for i = 0,1,0.1 do
- wait()
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-19.538), 0, 0),i)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(154.928)),i)
- end
- wait(.05)
- debris(char:FindFirstChild('HumanoidRootPart').CFrame,ground,30)
- s6:Play()
- hit(50)
- for i = 0,1,0.2 do
- wait()
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(23.549), 0, 0),i)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(-19.767)),i)
- end
- wait(.5)
- for i = 0,1,0.2 do
- wait()
- neck.C0 = neck.C0:lerp(ncf,i)
- rshold.C0 = rshold.C0:lerp(rsho,i)
- end
- human.WalkSpeed = 16
- end
- function stop()
- local p = Instance.new('Part', char)
- smooth(p)
- p.Anchored = true
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.CanCollide = false
- p.Material = 'Neon'
- p.Shape = "Ball"
- p.BrickColor = BrickColor.new('Royal purple')
- p.Touched:connect(function(hit)
- if hit.Name ~= "HumanoidRootPart" then
- hit.Transparency = 0
- end
- end)
- s2:Play()
- for _, a in pairs(game:service'Players':players()) do
- for _, b in pairs(a.Character:children()) do
- if b:IsA'Part' and b.Name == "Part" and b:FindFirstChildOfClass'BodyVelocity' then
- b.Anchored = true
- b.Parent = char
- b:FindFirstChildOfClass'BodyVelocity':Destroy()
- b:FindFirstChildOfClass'BodyGyro':Destroy()
- b.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg.Parent:BreakJoints()
- end
- end)
- local BodyVel=Instance.new('BodyVelocity',b)
- BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- local BodyGyro=Instance.new('BodyGyro',b)
- BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- BodyGyro.P=2e4
- coroutine.wrap(function()
- RenderStepped:connect(function()
- BodyGyro.cframe=CFrame.new(b.Position,mouse.Hit.p)
- BodyVel.velocity = b.CFrame.lookVector*50
- end)
- end)()
- b.Anchored = false
- end
- end
- end
- for i = 1,25 do
- wait()
- p.Size = p.Size + Vector3.new(8,8,8)
- p.Transparency = p.Transparency + 0.07
- p.CFrame = char.Torso.CFrame
- end
- end
- function explo()
- for _, a in pairs(game:service'Players':players()) do
- for _, b in pairs(a.Character:children()) do
- if a.Name ~= plr.Name then
- if b:IsA'ForceField' then
- b:Destroy()
- end
- end
- end
- end
- human.WalkSpeed = 0
- for i = 0,1,0.02 do
- wait()
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(0.057), math.rad(-0.745), math.rad(-85.428)),i)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-0.229), math.rad(-2.063), math.rad(83.881)),i)
- end
- s1:Play()
- for i = 0,1,0.2 do
- wait()
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(-0.217, -0.017, -0.265) * CFrame.Angles(math.rad(5.5), math.rad(-50.306), math.rad(-82.85)),i)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0.206, -0.022, -0.234) * CFrame.Angles(math.rad(6.875), math.rad(48.186), math.rad(80.844)),i)
- end
- human.WalkSpeed = 16
- wait(.1)
- local mp = mouse.Hit
- local p = Instance.new('Part', char)
- p.Anchored = true
- p.CanCollide = false
- p.BrickColor = BrickColor.new('Really black')
- p.Size = Vector3.new(0.2,0.2,0.2)
- p.BottomSurface = 0
- p.TopSurface = 0
- p.Material = 'Neon'
- p.Shape = "Ball"
- p.Touched:connect(function(hit)
- if hit:IsA'Part' then
- hit.Anchored = false
- end
- end)
- local Ex = Instance.new("Explosion", char)
- Ex.Position = mp.p
- Ex.BlastRadius = 19
- Ex.Visible = false
- Ex.DestroyJointRadiusPercent = .3
- for i = 1,25 do
- wait()
- p.Size = p.Size + Vector3.new(3.5,3.5,3.5)
- p.Transparency = p.Transparency + 0.04
- p.CFrame = mp
- end
- p:Destroy()
- end
- function gout()
- human.WalkSpeed = 0
- for i = 0,1,0.09 do
- wait()
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
- end
- wait(0.5)
- s4:Play()
- BarWeld.Part0 = char["Right Arm"]
- BarWeld.Part1 = Bar
- BarWeld.C0 = CFrame.new(0,-0.34,-3) * CFrame.fromEulerAnglesXYZ(rad(75),rad(60),rad(50))
- for i = 0,1,0.1 do
- wait()
- neck.C0 = neck.C0:lerp(ncf,i)
- rshold.C0 = rshold.C0:lerp(rsho,i)
- end
- human.WalkSpeed = 16
- end
- function around()
- for i = 0,1,0.1 do
- wait()
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0, -0.356, 0.425) * CFrame.Angles(math.rad(-84.225), 0, 0),i)
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0, -0.403, 0.234) * CFrame.Angles(math.rad(-78.839), 0, 0),i)
- end
- bg.Parent = char.Torso
- wait(6)
- bg.Parent = script
- end
- function gin()
- human.WalkSpeed = 0
- for i = 0,1,0.1 do
- wait()
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
- end
- wait(0.5)
- s5:Play()
- BarWeld.Part0 = char.Torso
- BarWeld.Part1 = Bar
- BarWeld.C0 = CFrame.new(0,0,-0.1)*CFrame.fromEulerAnglesXYZ(0, 0, rad(-1))
- for i = 0,1,0.1 do
- wait()
- neck.C0 = neck.C0:lerp(ncf,i)
- rshold.C0 = rshold.C0:lerp(rsho,i)
- end
- human.WalkSpeed = 16
- end
- --// keys
- char['Left Leg'].Touched:connect(function(hit)
- if hit:IsA'Part' then
- ground = hit
- end
- end)
- mouse.Button1Down:connect(function()
- gthr = true
- end)
- mouse.Button1Up:connect(function()
- gthr = false
- end)
- mouse.KeyDown:connect(function(key)
- if key == "e" and cooldown then
- cooldown = false
- cooldown = true
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" and cooldown then
- cooldown = false
- cooldown = true
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "q" and cooldown and not out then
- human.WalkSpeed = 0
- cooldown = false
- fire = true
- explo()
- cooldown = true
- fire = false
- human.WalkSpeed = 16
- elseif key == "q" and cooldown and out then
- cooldown = false
- fire = true
- smash()
- cooldown = true
- fire = false
- elseif key == "z" and cooldown then
- cooldown = false
- control()
- cooldown = true
- elseif key == "x" and cooldown then
- cooldown = false
- s3:Play()
- controlled = {}
- cooldown = true
- elseif key == "t" and cooldown then
- cooldown = false
- kamui()
- cooldown = true
- elseif key == "g" then
- if out == false and cooldown then
- out = true
- cooldown = false
- fire = true
- gout()
- fire = false
- cooldown = true
- elseif out and cooldown then
- out = false
- cooldown = false
- fire = true
- gin()
- fire = false
- cooldown = true
- end
- end
- end)
- --// Go through
- game:GetService('RunService').RenderStepped:connect(function()
- human = char:FindFirstChildOfClass'Humanoid'
- if gthr then
- human.MaxHealth = math.huge
- human:ChangeState(11)
- human.Health = human.MaxHealth
- ff.Parent = char
- human.Name = math.random(1,50)
- elseif not gthr then
- human.MaxHealth = 1000
- ff.Parent = script
- human.Name = "Humanoid"
- end
- end)
- --// control
- game:GetService('RunService').RenderStepped:connect(function()
- bg.cframe = bg.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(0),0.1 , 0 )
- if #controlled >= 1 then
- for _, a in pairs(controlled) do
- if game:service'Players':FindFirstChild(a) then
- game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid':MoveTo(mouse.Hit.p)
- game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid'.WalkSpeed = 20
- end
- end
- end
- end)
- --// Animations
- local ang = -5
- local ang2 = -5
- local sine = 0
- local change = 0.5
- arm = 0
- local t = math.huge
- game:GetService('RunService').RenderStepped:connect(function()
- sine = change+sine
- ang = ang+0.08
- ang2 = ang2+0.01
- rad = math.rad
- sin = math.sin
- arm = arm + 0.06
- if fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
- neck.C0 = neck.C0:lerp(CFrame .new(0,0,0) * ncf * CFrame.Angles(0, 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(CFrame.new(-1,-0.95+0.1*-math.cos(tick()*speed),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*4)), rad(-90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- rhip.C0 = rhip.C0:lerp(CFrame.new(1,-0.95+0.1*math.cos(tick()*speed),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*4)), rad(90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- elseif fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
- torsojoint.C0 = torsojoint.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * torsoC0 * CFrame.Angles(0, 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle * CFrame.Angles(-0.07, 0, 0), 0.1)
- rhip.C0 = rhip.C0:lerp(rle * CFrame.Angles(-0.07, 0, 0), 0.1)
- elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
- torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle*CFrame.Angles(math.rad(-5.386), math.rad(-3.667), math.rad(22.861)), 0.1)
- rhip.C0 = rhip.C0:lerp(rle*CFrame.Angles(math.rad(-7.047), math.rad(4.813), math.rad(-21.028)), 0.1)
- lshold.C0 = lshold.C0:lerp(sho*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(45)), 0.1)
- rshold.C0 = rshold.C0:lerp(rshlo*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(-45)), 0.1)
- elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
- torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle*CFrame.new(-0.557, 0.4, 0) * CFrame.Angles(0, 0, math.rad(-14.439)), 0.1)
- rhip.C0 = rhip.C0:lerp(rle*CFrame.new(0.104, 0.064, 0.016) * CFrame.Angles(0, math.rad(-8.537), math.rad(4.756)), 0.1)
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-9.511), 0, 0), 0.1)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-9.912), 0, 0), 0.1)
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(10.371), math.rad(-0.401), math.rad(0.057)), 0.1)
- end
- end)
- while wait(.05) do
- if gthr then
- scan(char)
- end
- end
Add Comment
Please, Sign In to add comment