Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --i used stravants Beautifier so it might look a bit wonky
- Meshes = {
- Blast = '20329976',
- Crown = '1323306',
- Ring = '3270017',
- Claw = '10681506',
- Crystal = '9756362',
- Coil = '9753878',
- Cloud = '1095708',
- }
- clangsounds = {
- '199149119',
- '199149109',
- '199149072',
- '199149025',
- '199148971'
- }
- hitsounds = {
- '199149137',
- '199149186',
- '199149221',
- '199149235',
- '199149269',
- '199149297'
- }
- blocksounds = {
- '199148933',
- '199148947'
- }
- armorsounds = {
- '199149321',
- '199149338',
- '199149367',
- '199149409',
- '199149452'
- }
- woosh = {
- Heavy1 = '320557353',
- Heavy2 = '320557382',
- Heavy3 = '320557453',
- Heavy4 = '199144226',
- Heavy5 = '203691447',
- Heavy6 = '203691467',
- Heavy7 = '203691492',
- Light1 = '320557413',
- Light2 = '320557487',
- Light3 = '199145095',
- Light4 = '199145146',
- Light5 = '199145887',
- Light6 = '199145913',
- Light7 = '199145841',
- Medium1 = '320557518',
- Medium2 = '320557537',
- Medium3 = '320557563',
- Medium4 = '199145204'
- }
- music = {--i like music a lot
- Breaking = '179281636',
- FinalReckoning = '357375770',
- NotDeadYet = '346175829',
- Intense = '151514610',
- JumpP1 = '160536628',
- JumpP2 = '60536666',
- SonsOfWar = '158929777',
- WrathOfSea = '165520893',
- ProtecTorsofEarth = '160542922',
- SkyTitans = '179282324',
- ArchAngel = '144043274',
- Anticipation = '168614529',
- TheMartyred = '186849544',
- AwakeP1 = '335631255',
- AwakeP2 = '335631297',
- ReadyAimFireP1 = '342455387',
- ReadyAimFireP2 = '342455399',
- DarkLordP1 = '209567483',
- DarkLordP2 = '209567529',
- BloodDrainP1 = '162914123',
- BloodDrainP2 = '162914203',
- DanceOfSwords = '320473062',
- Opal = '286415112',
- Calamity = '190454307',
- Hypnotica = '155968128',
- Nemisis = '160453802',
- Breathe = '276963903',
- GateToTheRift = '270655227',
- InfernalBeserking = '244143404',
- Trust = '246184492',
- AwakeningTheProject = '245121821',
- BloodPain = '242545577',
- Chaos = '247241693',
- NightmareFictionHighStake = '248062278',
- TheWhiteWeapon = '247236446',
- Gale = '256851659',
- ImperialCode = '256848383',
- Blitzkrieg = '306431437',
- RhapsodyRage = '348690251',
- TheGodFist = '348541501',
- BattleForSoul = '321185592',
- TheDarkColossus = '305976780',
- EmpireOfAngels = '302580452',
- Kronos = '302205297',
- Exorcist = '299796054',
- CrimsonFlames = '297799220',
- UltimatePower = '295753229',
- DrivingInTheDark = '295753229',
- AscendToPower = '293860654',
- GodOfTheSun = '293612495',
- DarkRider = '293861765',
- Vengeance = '293375555',
- SoundOfWar = '293376196',
- HellsCrusaders = '293012202',
- Legend = '293011823',
- RisingSouls = '290524959'
- }
- misc = {
- GroundSlam = '199145477',
- LaserSlash = '199145497',
- RailGunFire = '199145534',
- Charge1 = '199145659',
- Charge2 = '169380469',
- Charge3 = '169380479',
- EmptyGun = '203691822',
- GunShoot = '203691837',
- Stomp1 = '200632875',
- Stomp2 = '200632561',
- TelsaCannonCharge = '169445572',
- TelsaCannonShoot = '169445602',
- AncientHymm = '245313442'
- }
- wait(1 / 60)
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new('Model', Character)
- m.Name = "WeaponModel"
- local Effects = {}
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- --cam.CameraSubject = Head
- local equipped = false
- local attack = false
- local Anim = 'Idle'
- local idle = 0
- local sprint = false
- local battlestance = false
- local attacktype = 1
- local state = 'none'
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local on = false
- local grabbed = false
- local skill1 = false
- local skill2 = false
- local skill3 = false
- local skill4 = false
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local co1 = 10--how long it will take for skill to cooldown
- local co2 = 15
- local co3 = 15
- local co4 = 25
- local inputserv = game:GetService('UserInputService')
- local typing = false
- local crit = false
- local critchance = 2--critical chance percentage
- local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
- local critdamageaddmax = 7--maximum amount
- local maxstamina = 100--max amount of stamina
- local stamina = 0--stamina you start out with
- local skill1stam = 10--how much stamina is needed for a skill
- local skill2stam = 10
- local skill3stam = 20
- local skill4stam = 30
- local recovermana = 3--how much mana per second
- local defensevalue = 1--how much defense this character has
- local speedvalue = 1--how much speed this character has
- --speed is 16*speedvalue
- local mindamage = 5--self explanatory
- local maxdamage = 7--self explanatory
- local damagevalue = 1--how much damage this character has
- --damage is math.random(mindamage,maxdamage)*damagevalue
- --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
- --asd
- local cn = CFrame.new-- make things easier :)
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
- --asd
- local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Humanoid.Animator:Destroy()
- Character.Animate:Destroy()
- --Angles For RootJoint `~`
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- --Save Shoulders/Hips
- RSH, LSH = nil, nil
- RHS, LHS = nil, nil
- --Shoulders
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- --Hips
- RH = Instance.new("Weld")
- LH = Instance.new("Weld")
- --
- Player = Player
- ch = Character
- LHS = Torso["Left Hip"]
- RHS = Torso["Right Hip"]
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- --
- RSH.Parent = nil
- LSH.Parent = nil
- --
- LHS.Parent = nil
- RHS.Parent = nil
- --
- RW.Name = "RW"
- RW.Part0 = ch.Torso
- RW.C0 = cn(1.5, 0.5, 0)
- RW.C1 = cn(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- --
- LW.Name = "LW"
- LW.Part0 = ch.Torso
- LW.C0 = cn(-1.5, 0.5, 0)
- LW.C1 = cn(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- --
- LH.Name = "LH"
- LH.Part0 = ch.Torso
- LH.C0 = cn(-0.5, -2, 0)
- LH.Part1 = ch["Left Leg"]
- LH.Parent = ch.Torso
- --
- RH.Name = "RH"
- RH.Part0 = ch.Torso
- RH.C0 = cn(0.5, -2, 0)
- RH.Part1 = ch["Right Leg"]
- RH.Parent = ch.Torso
- local scrn = Instance.new('ScreenGui', Player.PlayerGui)
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new('Frame', par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new('TextLabel', par)
- label.BackgroundTransparency = 1
- label.Size = ud(1, 0, 1, 0)
- label.Position = ud(0, 0, 0, 0)
- label.TextColor3 = c3(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansBold
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- text1 = makelabel(framesk1, '[3] Skill3')
- text2 = makelabel(framesk2, '[4] Skill4')
- text3 = makelabel(framesk3, "[2] Skill2")
- text4 = makelabel(framesk4, '[1] Skill1')
- staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
- staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
- staminatext = makelabel(staminabar, 'Mana')
- healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
- healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
- healthtext = makelabel(healthbar, 'Health')
- local stats = Instance.new('Folder', Character)
- stats.Name = 'Stats'
- local block = Instance.new('BoolValue', stats)
- block.Name = 'Block'
- block.Value = false
- local stun = Instance.new('BoolValue', stats)
- stun.Name = 'Stun'
- stun.Value = false
- local defense = Instance.new('NumberValue', stats)
- defense.Name = 'Defence'
- defense.Value = defensevalue
- local speed = Instance.new('NumberValue', stats)
- speed.Name = 'Speed'
- speed.Value = speedvalue
- local damagea = Instance.new('NumberValue', stats)
- damagea.Name = 'Damage'
- damagea.Value = damagevalue
- gyro = Instance.new("BodyGyro")
- gyro.Parent = nil
- gyro.P = 1e7
- gyro.D = 1e3
- gyro.MaxTorque = Vector3.new(0,1e7,0)
- function atktype(s, e)
- coroutine.resume(coroutine.create(function()
- attacktype = e
- wait(1.5)
- attacktype = s
- end))
- end
- function turncrit()
- coroutine.resume(coroutine.create(function()
- print'CRITICAL!'
- crit = true
- wait(.25)
- crit = false
- end))
- end
- function subtractstamina(k)
- if stamina >= k then
- stamina = stamina - k
- end
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- function randomizer(percent)
- local randomized = math.random(0, 100)
- if randomized <= percent then
- return true
- elseif randomized >= percent then
- return false
- end
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- formFactor = FormFactor,
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end
- function rayCast(pos, dir, maxl, ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
- end
- --Effects
- function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
- local p = Instance.new('Part', par or workspace)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'SmoothPlastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = trans
- p.FormFactor = 'Custom'
- RemoveOutlines(p)
- local mesh = Instance.new('SpecialMesh', p)
- mesh.Scale = size
- if id ~= nil and type == nil then
- mesh.MeshId = 'rbxassetid://'..id
- elseif id == nil and type ~= nil then
- mesh.MeshType = type
- elseif id == nil and type == nil then
- mesh.MeshType = 'Brick'
- end
- coroutine.wrap(function()
- for i = 0, delay1, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + howmuch
- p.Transparency = p.Transparency + trans1
- end
- p:Destroy()
- end)()
- return p
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name = 'clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh = Instance.new('BlockMesh', part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- function circle(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.35
- p.FormFactor = 'Custom'
- local mesh = Instance.new('CylinderMesh', p)
- mesh.Scale = Vector3.new(0, 0, 0)
- coroutine.wrap(function()
- for i = 0, 5, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function firespaz1(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.5
- p.FormFactor = 'Custom'
- local mesh = Instance.new('BlockMesh', p)
- mesh.Scale = Vector3.new(1, 1, 1)
- coroutine.wrap(function()
- for i = 0, 15, .1 do
- wait(1 / 30)
- p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
- mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function pickrandom(tablesa)
- local randomized = tablesa[math.random(1, #tablesa)]
- return randomized
- end
- function sound(id, pitch, volume, par, last)
- local s = Instance.new('Sound', par or Torso)
- s.SoundId = 'rbxassetid://'..id
- s.Pitch = pitch or 1
- s.Volume = volume or 1
- wait()
- s:play()
- game.Debris:AddItem(s, last or 120)
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name = 'clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh = Instance.new('BlockMesh', part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- --Effects
- so = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- wait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end))
- end
- local function getclosest(obj, distance)
- local last, lastx = distance + 1
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
- local t = v.Torso
- local dist = (t.Position - obj.Position).magnitude
- if dist <= distance then
- if dist < last then
- last = dist
- lastx = v
- end
- end
- end
- end
- return lastx
- end
- function makegui(cframe, text)
- local a = math.random(-10, 10) / 100
- local c = Instance.new("Part")
- c.Transparency = 1
- Instance.new("BodyGyro").Parent = c
- c.Parent = m
- c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
- local 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(c, .5 + 6)
- c.CanCollide = false
- c.CanCollide = false
- local bg = Instance.new('BillboardGui', m)
- bg.Adornee = c
- bg.Size = UDim2.new(1, 0, 1, 0)
- bg.StudsOffset = Vector3.new(0, 0, 0)
- bg.AlwaysOnTop = false
- local tl = Instance.new('TextLabel', bg)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = text
- tl.Font = 'SourceSansBold'
- tl.FontSize = 'Size42'
- if crit == true then
- tl.TextColor3 = Color3.new(180 / 255, 0, 0)
- else
- tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
- end
- tl.TextStrokeTransparency = 0
- tl.TextScaled = true
- tl.TextWrapped = true
- coroutine.wrap(function()
- wait(2)
- for i = 1, 10 do
- wait()
- tl.TextTransparency = tl.TextTransparency + .1
- end
- end)()
- end
- function tag(hum, Player)
- local creator = Instance.new('ObjectValue', hum)
- creator.Value = Player
- creator.Name = 'creator'
- end
- function untag(hum)
- if hum ~= nil then
- local tag = hum:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function tagPlayer(h)
- coroutine.wrap(function()
- tag(h, Player)
- wait(1)
- untag(h)
- end)()
- end
- function CheckClose(Obj,Dist)
- for _,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Character then
- local DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
- if DistFromTorso < Dist then
- return v
- end
- end
- end
- end
- function damage(hit, mind, maxd, knock, type, prop)
- --[[
- to apply it to a Player directly, make the first arg go to the Players Torso
- 1 - normal type(damage and knockback)
- 2 - drain type(damage no knockback)
- 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
- 4 - heal(heals target)
- 5 - subtracts enemies defense
- 6 - subtracts enemies speed
- 7 -
- ]]
- if hit.Name:lower() == 'Hitbox' then
- local pos = CFrame.new(0, 1, -1)
- sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
- coroutine.wrap(function()
- for i = 1, 4 do
- clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
- end
- end)()
- end
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for i, 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:IsA('Hat') then
- hit = hit.Parent.Parent:findFirstChild('Head')
- end
- local D = math.random(mind, maxd) * damagea.Value
- if h.Parent:FindFirstChild('Stats') then
- D = D / h.Parent:FindFirstChild('Stats').Defence.Value
- elseif not h.Parent:FindFirstChild('Stats') then
- D = D
- end
- if h then
- makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if type == 1 then
- tagPlayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local vp = Instance.new('BodyVelocity')
- vp.P = 500
- vp.maxForce = Vector3.new(math.huge, 0, math.huge)
- vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
- if knock > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif type == 2 then
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- tagPlayer(h)
- elseif type == 3 then
- tagPlayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- Character.Humanoid.Health = Character.Humanoid.Health + D / 2
- so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
- for i = 1, 10 do
- firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
- end
- elseif type == 4 then
- h.Health = h.Health + D
- so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
- circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
- end
- end
- end
- function subtrackstamina(k)
- if stamina >= k then
- stamina = stamina - k
- end
- end
- 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
- it=Instance.new
- 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
- HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "HandleB", Vector3.new(1.01999998, 0.410000026, 1.01999998))
- HandleBweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, 0.00579214096, -0.000717163086, -0.99999702, 1.30612687e-009, 2.74129752e-006, 1.1281549e-009, 1.00000882, -9.4532792e-005, -2.29434954e-006, -9.45326028e-005, -1.00000536))
- FConnectorB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB1", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB1weld = weld(m, HandleB, FConnectorB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410011292, -1.09512377, -0.40996933, -0.999990344, 9.75173589e-006, -4.76017885e-006, -9.75114472e-006, -1.00001204, 2.27628334e-007, -4.34698632e-006, 2.29010766e-007, 1.00000203))
- FConnectorB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB2weld = weld(m, HandleB, FConnectorB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, -1.09513116, -0.129657745, -0.999986649, 9.75185594e-006, -5.20708772e-006, -9.75106377e-006, -1.00000668, 5.36027073e-007, -3.48685307e-006, 5.38973836e-007, 0.999993324))
- FConnectorB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB3", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB3weld = weld(m, HandleB, FConnectorB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409965515, -1.08497524, 0.140300751, -0.999993324, 9.75177409e-006, -3.97838994e-006, -9.75137755e-006, -1.00000334, 5.61856723e-007, -3.11826261e-006, 5.63341018e-007, 0.999996662))
- FConnectorB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB4", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB4weld = weld(m, HandleB, FConnectorB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409957886, -1.08498001, 0.410175323, -0.999991894, 9.75470903e-006, -3.12404359e-006, -9.75422699e-006, -1.00000405, 5.46198862e-007, -2.07960943e-006, 5.47988748e-007, 0.999995947))
- FConnectorB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB5", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB5weld = weld(m, HandleB, FConnectorB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409980774, -1.09494543, -0.409542084, -0.999974728, 9.75853163e-006, -6.0076236e-006, -9.75704006e-006, -1.00001264, 6.99823431e-007, -2.75148182e-006, 7.05331331e-007, 0.999987364))
- HitboxB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "HitboxB", Vector3.new(1.22000003, 1.00999999, 1.01999998))
- HitboxBweld = weld(m, HandleB, HitboxB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.100006104, 0.889988422, -8.01086426e-005, 0.999965847, -7.24100557e-010, 3.32365107e-006, -7.63507535e-010, 1.00002456, 3.05735739e-008, 3.58721138e-007, -2.40979716e-008, 0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, 0.714781284, 0.405288696, 0.999982476, 1.32186387e-010, 7.77321588e-007, 5.98021299e-010, -1.00001609, -0.000257281994, -1.25018551e-006, 0.00025728374, -0.99999851))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.28881836e-005, 0.285013676, -0.000282287598, 0.999967337, -1.5549535e-009, 5.20209369e-006, 1.61488642e-010, 1.00001812, 7.64994184e-008, -1.3707679e-006, -6.97400537e-008, 0.999985218))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409980774, -0.0147089958, -0.000305175781, 0.999965847, -2.17003437e-009, 4.9788764e-006, 3.62124303e-010, 1.00002444, 0.000246998534, -1.29649527e-006, -0.000247000571, 0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.714772701, -0.000305175781, 0.999984264, 5.30370525e-010, 7.77336254e-007, -9.50127754e-010, 1.00000787, 0.00022139927, 1.25007e-006, -0.000221399358, 0.999992192))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, 0.0146970749, 0.40537262, 0.999965847, -2.17019336e-009, 4.97882229e-006, -3.70234204e-010, -1.00002444, -0.000240876077, 1.29644116e-006, 0.00024087794, -0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.200000003, 0.819999993))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.05175781e-005, 0.904989719, 0.000244140625, 0.999978065, -7.79672504e-009, 3.02157605e-006, 6.82267665e-009, 1.00001097, -1.16917363e-007, -1.95484972e-007, 1.21617632e-007, 0.999989033))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.620000005, 0.200000003, 0.819999993))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.914862633, 0.000553131104, 0.999978065, -2.87229418e-009, 2.06913091e-006, 1.8980213e-009, 1.00001097, -5.95959136e-007, 7.56950044e-007, 6.00666681e-007, 0.999989033))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 1))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685016155, 0.60004425, -0.000576019287, 1.07880278e-005, 1.0000155, 0.000307261536, -0.999969006, 1.0787875e-005, 2.61563605e-006, 6.60559135e-006, -0.000307264534, 0.999984682))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684755325, 0.600059509, -0.400756836, 1.0788599e-005, 1.00000787, 0.000307488954, -0.999984264, 1.07877813e-005, 3.72219597e-006, 5.74624983e-006, -0.000307490496, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685072899, 0.600067139, 0.399261475, 1.07872711e-005, 1.0000155, 0.00030746602, -0.999969006, 1.07870783e-005, 2.73933233e-006, 6.729284e-006, -0.000307469018, 0.999984682))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.399326324, 0.684971809, 0.599990845, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.202000037, 0.219999999, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.714713573, 0.404712677, 0.999982774, 2.57471877e-010, 7.7719352e-007, -7.87075238e-010, 1.00001347, 0.000235129759, 1.25028396e-006, -0.000235130938, 0.999996126))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.0146975517, 0.4047966, 0.999982774, 6.53486099e-010, 7.77193463e-007, -1.11419485e-009, 1.00001299, 0.000259818073, 1.25028328e-006, -0.000259819906, 0.99999553))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400676727, 0.684971809, 0.600036621, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.19600004, 0.219999999, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000675201416, 0.684971809, 0.600013733, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.646000028, 0.638000011, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.714962482, 0.599998474, -0.400279999, 1.07917776e-005, 1.00000787, 0.000307536626, -0.999984264, 1.07909609e-005, 3.72180239e-006, 5.74585465e-006, -0.000307538168, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0853996277, 0.600074768, 0.399375916, 1.07918922e-005, 1.00001574, 0.000307276874, -0.999968529, 1.07916239e-005, 3.00816009e-006, 7.05953335e-006, -0.000307279872, 0.999984324))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602294922, -0.221727371, -0.222377777, 0.999968529, -2.77844325e-008, 1.5804543e-006, -1.73086164e-006, 0.707148612, -0.707064986, 1.76833453e-006, 0.707087159, 0.707126319))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0850524902, 0.600036621, -0.400672913, 1.07914002e-005, 1.00001574, 0.0003071838, -0.999968529, 1.07914666e-005, 1.92046173e-006, 5.97185317e-006, -0.000307186769, 0.999984324))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221570969, 0.602279663, -0.532333374, -9.16450119e-007, 0.707201421, -0.707024872, -0.99998188, -4.39811004e-007, -1.23922871e-006, 3.05380581e-007, 0.707037866, 0.707188487))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221664429, 0.602294922, 0.0677280426, -5.32410468e-007, 0.707169592, -0.707043946, -0.999968529, 4.26314045e-007, -2.87682087e-006, 1.1334331e-006, 0.707066119, 0.707147479))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602279663, -0.222204208, 0.221616745, 0.999968529, -2.7891728e-008, 1.5804543e-006, 1.76886238e-006, 0.706902444, 0.707310975, 1.7303239e-006, -0.707333207, 0.706880331))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.71464777, 0.599990845, 0.399719238, 1.07905635e-005, 1.00000787, 0.000307468435, -0.999984264, 1.07897467e-005, 3.7218565e-006, 5.74590968e-006, -0.000307469978, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222238541, 0.602272034, 0.531747818, 3.61345883e-006, 0.706890404, 0.707323194, -0.999984264, 2.18690184e-006, 8.96424808e-007, 5.20473066e-007, -0.70733428, 0.706879318))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222442627, 0.602287292, -0.0682048798, 2.74106606e-006, 0.706903875, 0.707309544, -0.999968529, 1.72691671e-006, -1.90388391e-006, 3.00002284e-007, -0.707331777, 0.706881762))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949707031, 0.014693737, 0.405315399, 0.999965847, -2.00778438e-009, 5.06809101e-006, -1.86809165e-010, -1.00002444, -0.000240532332, 1.38570761e-006, 0.000240534195, -0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.99999994, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599967957, -0.314879894, -0.000305175781, 0.999968529, -1.52550794e-009, 3.47273135e-006, 2.76023454e-010, 1.00001574, 0.000246752985, 5.82059499e-007, -0.000246754033, 0.999984324))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, 0.71477747, 0.405269623, 0.999983668, 2.62990379e-010, 7.77281798e-007, 6.87050083e-010, -1.00001037, -0.00025712885, -1.25016015e-006, 0.000257130014, -0.99999398))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.610000014, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.690003395, 0, 0.999978065, -3.37791017e-009, 2.19185767e-006, 2.40435716e-009, 1.00001097, 5.20303729e-008, 6.34224364e-007, -4.73301043e-008, 0.999989033))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, -0.714709282, 0.404720306, 0.999984264, 2.45380903e-011, 7.7730283e-007, -4.26871205e-010, 1.00000787, 0.000235340878, 1.25010342e-006, -0.000235341198, 0.999992192))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.0147390366, 0.404838562, 0.999983072, 5.45701151e-010, 7.77317439e-007, -1.05576647e-009, 1.0000155, 0.000272982696, 1.25019938e-006, -0.000272984529, 0.999998391))
- FHandleB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB1", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB1weld = weld(m, FConnectorB1, FHandleB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.100004435, 3.81469727e-006, 0.999987125, 9.48046641e-010, -8.29304327e-007, -1.90026062e-009, 1.00000644, -2.25118129e-008, -8.29517148e-007, 1.97178451e-008, 0.999993563))
- FHandleB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB2", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB2weld = weld(m, FConnectorB2, FHandleB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999953747, -1.90734863e-005, 0.999986887, 1.7767473e-009, -8.2923782e-007, -2.74682477e-009, 1.00000656, -3.37167876e-008, -8.60301839e-007, 3.08791641e-008, 0.999993443))
- FHandleB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB3", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB3weld = weld(m, FConnectorB3, FHandleB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, -0.110008478, -6.48498535e-005, 0.999993801, 1.65772562e-009, -1.46104639e-007, -2.11578732e-009, 1.0000031, -3.14466888e-008, -6.52590643e-007, 3.01006366e-008, 0.999996901))
- FHandleB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB4", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB4weld = weld(m, FConnectorB4, FHandleB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.110030413, -4.57763672e-005, 0.999992371, -3.29658301e-010, -1.30871194e-006, -2.33423003e-010, 1.00000381, -5.04951458e-009, 3.25705969e-007, 3.39059625e-009, 0.999996185))
- FHandleB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really red", "FHandleB5", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB5weld = weld(m, FConnectorB5, FHandleB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -0.0900087357, -0.000114440918, 0.999993801, 3.53735596e-009, -1.22842721e-006, -3.99611277e-009, 1.0000031, -1.37908501e-007, 4.29716692e-007, 1.36555173e-007, 0.999996901))
- HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "hl/https://noligate-rpfeltz.rhcloud.com/rbxsb/get.php?key=*CLGb,70l3,ZzJm!$ani", "HandleB", Vector3.new(1.01999998, 0.410000026, 1.01999998))
- HandleBweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, 0.00579214096, -0.000717163086, -0.99999702, 1.30612687e-009, 2.74129752e-006, 1.1281549e-009, 1.00000882, -9.4532792e-005, -2.29434954e-006, -9.45326028e-005, -1.00000536))
- FConnectorB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB1", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB1weld = weld(m, HandleB, FConnectorB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410011292, -1.09512377, -0.40996933, -0.999990344, 9.75173589e-006, -4.76017885e-006, -9.75114472e-006, -1.00001204, 2.27628334e-007, -4.34698632e-006, 2.29010766e-007, 1.00000203))
- FConnectorB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB2weld = weld(m, HandleB, FConnectorB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, -1.09513116, -0.129657745, -0.999986649, 9.75185594e-006, -5.20708772e-006, -9.75106377e-006, -1.00000668, 5.36027073e-007, -3.48685307e-006, 5.38973836e-007, 0.999993324))
- FConnectorB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB3", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB3weld = weld(m, HandleB, FConnectorB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409965515, -1.08497524, 0.140300751, -0.999993324, 9.75177409e-006, -3.97838994e-006, -9.75137755e-006, -1.00000334, 5.61856723e-007, -3.11826261e-006, 5.63341018e-007, 0.999996662))
- FConnectorB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "FConnectorB4", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB4weld = weld(m, HandleB, FConnectorB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409957886, -1.08498001, 0.410175323, -0.999991894, 9.75470903e-006, -3.12404359e-006, -9.75422699e-006, -1.00000405, 5.46198862e-007, -2.07960943e-006, 5.47988748e-007, 0.999995947))
- FConnectorB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Dark blue", "FConnectorB5", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- FConnectorB5weld = weld(m, HandleB, FConnectorB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409980774, -1.09494543, -0.409542084, -0.999974728, 9.75853163e-006, -6.0076236e-006, -9.75704006e-006, -1.00001264, 6.99823431e-007, -2.75148182e-006, 7.05331331e-007, 0.999987364))
- HitboxB = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Really black", "HitboxB", Vector3.new(1.22000003, 1.00999999, 1.01999998))
- HitboxBweld = weld(m, HandleB, HitboxB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.100006104, 0.889988422, -8.01086426e-005, 0.999965847, -7.24100557e-010, 3.32365107e-006, -7.63507535e-010, 1.00002456, 3.05735739e-008, 3.58721138e-007, -2.40979716e-008, 0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, 0.714781284, 0.405288696, 0.999982476, 1.32186387e-010, 7.77321588e-007, 5.98021299e-010, -1.00001609, -0.000257281994, -1.25018551e-006, 0.00025728374, -0.99999851))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.28881836e-005, 0.285013676, -0.000282287598, 0.999967337, -1.5549535e-009, 5.20209369e-006, 1.61488642e-010, 1.00001812, 7.64994184e-008, -1.3707679e-006, -6.97400537e-008, 0.999985218))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409980774, -0.0147089958, -0.000305175781, 0.999965847, -2.17003437e-009, 4.9788764e-006, 3.62124303e-010, 1.00002444, 0.000246998534, -1.29649527e-006, -0.000247000571, 0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.714772701, -0.000305175781, 0.999984264, 5.30370525e-010, 7.77336254e-007, -9.50127754e-010, 1.00000787, 0.00022139927, 1.25007e-006, -0.000221399358, 0.999992192))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410003662, 0.0146970749, 0.40537262, 0.999965847, -2.17019336e-009, 4.97882229e-006, -3.70234204e-010, -1.00002444, -0.000240876077, 1.29644116e-006, 0.00024087794, -0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(1.01999998, 0.200000003, 0.819999993))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.05175781e-005, 0.904989719, 0.000244140625, 0.999978065, -7.79672504e-009, 3.02157605e-006, 6.82267665e-009, 1.00001097, -1.16917363e-007, -1.95484972e-007, 1.21617632e-007, 0.999989033))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.620000005, 0.200000003, 0.819999993))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.914862633, 0.000553131104, 0.999978065, -2.87229418e-009, 2.06913091e-006, 1.8980213e-009, 1.00001097, -5.95959136e-007, 7.56950044e-007, 6.00666681e-007, 0.999989033))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 1))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685016155, 0.60004425, -0.000576019287, 1.07880278e-005, 1.0000155, 0.000307261536, -0.999969006, 1.0787875e-005, 2.61563605e-006, 6.60559135e-006, -0.000307264534, 0.999984682))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684755325, 0.600059509, -0.400756836, 1.0788599e-005, 1.00000787, 0.000307488954, -0.999984264, 1.07877813e-005, 3.72219597e-006, 5.74624983e-006, -0.000307490496, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.600000024, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.685072899, 0.600067139, 0.399261475, 1.07872711e-005, 1.0000155, 0.00030746602, -0.999969006, 1.07870783e-005, 2.73933233e-006, 6.729284e-006, -0.000307469018, 0.999984682))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.399326324, 0.684971809, 0.599990845, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.202000037, 0.219999999, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.714713573, 0.404712677, 0.999982774, 2.57471877e-010, 7.7719352e-007, -7.87075238e-010, 1.00001347, 0.000235129759, 1.25028396e-006, -0.000235130938, 0.999996126))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, -0.0146975517, 0.4047966, 0.999982774, 6.53486099e-010, 7.77193463e-007, -1.11419485e-009, 1.00001299, 0.000259818073, 1.25028328e-006, -0.000259819906, 0.99999553))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400676727, 0.684971809, 0.600036621, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.19600004, 0.219999999, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000675201416, 0.684971809, 0.600013733, -4.03382401e-005, 9.44945641e-005, 0.999991834, -9.62037007e-007, 1.00000787, -9.44897838e-005, -0.999983966, -9.65175104e-007, -4.23658821e-005))
- mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.646000028, 0.638000011, 1.35599995))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.714962482, 0.599998474, -0.400279999, 1.07917776e-005, 1.00000787, 0.000307536626, -0.999984264, 1.07909609e-005, 3.72180239e-006, 5.74585465e-006, -0.000307538168, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0853996277, 0.600074768, 0.399375916, 1.07918922e-005, 1.00001574, 0.000307276874, -0.999968529, 1.07916239e-005, 3.00816009e-006, 7.05953335e-006, -0.000307279872, 0.999984324))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602294922, -0.221727371, -0.222377777, 0.999968529, -2.77844325e-008, 1.5804543e-006, -1.73086164e-006, 0.707148612, -0.707064986, 1.76833453e-006, 0.707087159, 0.707126319))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0850524902, 0.600036621, -0.400672913, 1.07914002e-005, 1.00001574, 0.0003071838, -0.999968529, 1.07914666e-005, 1.92046173e-006, 5.97185317e-006, -0.000307186769, 0.999984324))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221570969, 0.602279663, -0.532333374, -9.16450119e-007, 0.707201421, -0.707024872, -0.99998188, -4.39811004e-007, -1.23922871e-006, 3.05380581e-007, 0.707037866, 0.707188487))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.221664429, 0.602294922, 0.0677280426, -5.32410468e-007, 0.707169592, -0.707043946, -0.999968529, 4.26314045e-007, -2.87682087e-006, 1.1334331e-006, 0.707066119, 0.707147479))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.602279663, -0.222204208, 0.221616745, 0.999968529, -2.7891728e-008, 1.5804543e-006, 1.76886238e-006, 0.706902444, 0.707310975, 1.7303239e-006, -0.707333207, 0.706880331))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.71464777, 0.599990845, 0.399719238, 1.07905635e-005, 1.00000787, 0.000307468435, -0.999984264, 1.07897467e-005, 3.7218565e-006, 5.74590968e-006, -0.000307469978, 0.999992192))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000036))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222238541, 0.602272034, 0.531747818, 3.61345883e-006, 0.706890404, 0.707323194, -0.999984264, 2.18690184e-006, 8.96424808e-007, 5.20473066e-007, -0.70733428, 0.706879318))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.222442627, 0.602287292, -0.0682048798, 2.74106606e-006, 0.706903875, 0.707309544, -0.999968529, 1.72691671e-006, -1.90388391e-006, 3.00002284e-007, -0.707331777, 0.706881762))
- mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949707031, 0.014693737, 0.405315399, 0.999965847, -2.00778438e-009, 5.06809101e-006, -1.86809165e-010, -1.00002444, -0.000240532332, 1.38570761e-006, 0.000240534195, -0.999989808))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.200000003, 0.99999994, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599967957, -0.314879894, -0.000305175781, 0.999968529, -1.52550794e-009, 3.47273135e-006, 2.76023454e-010, 1.00001574, 0.000246752985, 5.82059499e-007, -0.000246754033, 0.999984324))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(0.810000002, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0949478149, 0.71477747, 0.405269623, 0.999983668, 2.62990379e-010, 7.77281798e-007, 6.87050083e-010, -1.00001037, -0.00025712885, -1.25016015e-006, 0.000257130014, -0.99999398))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "Part", Vector3.new(1.01999998, 0.610000014, 1.01999998))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.57763672e-005, 0.690003395, 0, 0.999978065, -3.37791017e-009, 2.19185767e-006, 2.40435716e-009, 1.00001097, 5.20303729e-008, 6.34224364e-007, -4.73301043e-008, 0.999989033))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410049438, -0.714709282, 0.404720306, 0.999984264, 2.45380903e-011, 7.7730283e-007, -4.26871205e-010, 1.00000787, 0.000235340878, 1.25010342e-006, -0.000235341198, 0.999992192))
- Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.399999917, 0.210000008))
- Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.410041809, -0.0147390366, 0.404838562, 0.999983072, 5.45701151e-010, 7.77317439e-007, -1.05576647e-009, 1.0000155, 0.000272982696, 1.25019938e-006, -0.000272984529, 0.999998391))
- FHandleB1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB1", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB1weld = weld(m, FConnectorB1, FHandleB1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.100004435, 3.81469727e-006, 0.999987125, 9.48046641e-010, -8.29304327e-007, -1.90026062e-009, 1.00000644, -2.25118129e-008, -8.29517148e-007, 1.97178451e-008, 0.999993563))
- FHandleB2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB2", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB2weld = weld(m, FConnectorB2, FHandleB2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0999953747, -1.90734863e-005, 0.999986887, 1.7767473e-009, -8.2923782e-007, -2.74682477e-009, 1.00000656, -3.37167876e-008, -8.60301839e-007, 3.08791641e-008, 0.999993443))
- FHandleB3 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB3", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB3weld = weld(m, FConnectorB3, FHandleB3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, -0.110008478, -6.48498535e-005, 0.999993801, 1.65772562e-009, -1.46104639e-007, -2.11578732e-009, 1.0000031, -3.14466888e-008, -6.52590643e-007, 3.01006366e-008, 0.999996901))
- FHandleB4 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB4", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB4weld = weld(m, FConnectorB4, FHandleB4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-005, -0.110030413, -4.57763672e-005, 0.999992371, -3.29658301e-010, -1.30871194e-006, -2.33423003e-010, 1.00000381, -5.04951458e-009, 3.25705969e-007, 3.39059625e-009, 0.999996185))
- FHandleB5 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark blue", "FHandleB5", Vector3.new(0.200000003, 0.400000006, 0.200000003))
- FHandleB5weld = weld(m, FConnectorB5, FHandleB5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, -0.0900087357, -0.000114440918, 0.999993801, 3.53735596e-009, -1.22842721e-006, -3.99611277e-009, 1.0000031, -1.37908501e-007, 4.29716692e-007, 1.36555173e-007, 0.999996901))
- local lasrs = {}
- local lasrspd = 6
- local maxTravelDistance = 100
- local maxRebounds = 5
- function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
- collidedlist = collidedlist or {Character}
- startpos = startpos or pos
- distleft = distleft or dir.unit * dir.magnitude
- endpos = endpos or pos + distleft
- local ray = Ray.new(pos, distleft)
- local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
- if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
- if hitz.CanCollide == false then
- table.insert(collidedlist, hitz)
- local newpos = enz
- local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
- if newdistleft then
- return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
- end
- end
- end
- return hitz, enz, ray
- end
- function FindSurface(part, position)
- local obj = part.CFrame:pointToObjectSpace(position)
- local siz = part.Size/2
- for i,v in pairs(Enum.NormalId:GetEnumItems()) do
- local vec = Vector3.FromNormalId(v)
- local wvec = part.CFrame:vectorToWorldSpace(vec)
- local vz = (obj)/(siz*vec)
- if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then
- return wvec,vec
- end
- end
- if part.className == "WedgePart" then
- local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
- local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
- local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
- return wvec,vec
- elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
- return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
- end
- end
- function Reflect(direction, normal)
- return direction - 2 * normal:Dot(direction) * normal
- end
- function ReflectShot(mouse,asd)
- local dir = (mouse.Hit.p - Torso.Position).unit
- local tabl
- local tablnum = 0
- for i, v in pairs(lasrs) do
- if not v[1] then
- tabl = v
- tablnum = i
- break
- end
- end
- if not tabl then
- tablnum = #lasrs + 1
- tabl = {false,nil,nil,0,0,1,{},{},{},{}}
- for i = 1, 2 do
- for j = 1, 6 do
- local p = Instance.new("Part")
- p.FormFactor = "Custom"
- p.CanCollide = false
- p.Anchored = true
- p.Locked = true
- p.BrickColor = BarrelA.BrickColor
- p.TopSurface = 10
- p.BottomSurface = 10
- p.RightSurface = 10
- p.LeftSurface = 10
- p.FrontSurface = 10
- p.BackSurface = 10
- p.Size = Vector3.new(.5,.5,.5)
- p.Material = "Neon"
- p.Transparency = i == 1 and 0 or 0.6
- local mesh = Instance.new("CylinderMesh",p)
- table.insert(tabl[6+i],p)
- table.insert(tabl[8+i],mesh)
- end
- end
- table.insert(lasrs,tabl)
- end
- -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
- tabl[4],tabl[5] = 0,0
- tabl[3] = asd.Position
- tabl[2] = dir
- tabl[1] = true
- end
- gun = false
- shoot = false
- gunidle = false
- local GunA = true
- local GunB = false
- function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- Effects[#Effects + 1] = {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3
- } --part, type, delay
- end
- function Shoot(asd, spread1, spread2)
- local MainPos = asd.Position
- local MainPos2 = mouse.Hit.p
- local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
- local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
- num = 30
- coroutine.resume(coroutine.create(function(Spreaded)
- repeat
- wait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
- local TheHit = mouse.Hit.p
- local mag = (MainPos - pos).magnitude
- CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
- MainPos = MainPos + (MouseLook.lookVector * 10)
- num = num - 1
- if hit ~= nil then
- num = 0
- local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = cn(pos)
- damage(hit.Parent:WaitForChild("Torso"), math.random(1,3), math.random(3,5), 5, 1, RootPart)
- game:GetService("Debris"):AddItem(ref, 5)
- end
- until num <= 0
- end))
- end
- function GunStance()
- attack=true
- gun=true
- Humanoid.WalkSpeed = 0
- gyro.Parent = RootPart
- if GunA == true then
- for i=0,1,0.2 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- end
- for i=0,1,0.1 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- end
- elseif GunB == true then
- for i=0,1,0.2 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
- end
- for i=0,1,0.1 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- end
- end
- local offset = nil
- gunidle=true
- while gun==true do
- wait()
- local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
- offset = (Torso.Position.y - mouse.Hit.p.y) / 60
- local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
- offset = offset / mag
- if GunA == true and GunB == false then
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
- elseif GunB == true and GunA == false then
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
- end
- end
- if shoot==true then
- gunidle=false
- if GunA == true then
- so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
- so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
- so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
- GunA = false
- Shoot(BarrelA, 0, 0)
- for i=0,1,0.15 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
- end
- GunB = true
- elseif GunB == true then
- so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
- so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
- so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
- GunB = false
- Shoot(BarrelB, 0, 0)
- for i=0,1,0.15 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
- RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
- end
- GunA = true
- end
- end
- gyro.Parent = nil
- Humanoid.WalkSpeed = 12
- gun=false
- gunidle=false
- shoot=false
- attack=false
- end
- function Jikishi()
- attack = true
- gyro.Parent = RootPart
- for i = 0,1,0.1 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(10)), .3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
- end
- for i = 1,2 do
- for i = 0,1,0.3 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- end
- ReflectShot(mouse,BarrelA)
- so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
- so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
- so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
- --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
- for i = 0,1,0.35 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- end
- for i = 0,1,0.3 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- end
- ReflectShot(mouse,BarrelB)
- so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
- so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
- so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
- --so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
- for i = 0,1,0.35 do
- wait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
- end
- end
- gyro.Parent = nil
- attack = false
- end
- mouse.Button1Down:connect(function()
- if gun==true and shoot==false then
- shoot=true
- gun=false
- end
- end)
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k=='e' and gun==false and shoot==false and attack==false then
- GunStance()
- end
- if k=='e'and shoot==false then
- if gun==true then
- gun=false
- end
- end
- if k=='q' and gun==false and shoot==false and attack==false then
- Jikishi()
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
- elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
- elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
- elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Slash then
- local fin = nil
- typing = true
- fin = inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
- typing = false
- fin:disconnect()
- end
- end)
- end
- end)
- local ReboundCount = 0
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 1 / 30
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 1 / 30
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 1 / 30
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 1 / 30
- end
- if stamina <= maxstamina then
- stamina = stamina + recovermana / 30
- end
- end
- game:GetService'RunService'.Heartbeat:connect(function()
- updateskills()
- gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100)
- healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
- staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
- bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
- bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
- bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
- bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
- 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, Character)
- Character.Humanoid.WalkSpeed = 16 * speed.Value
- if equipped == true or equipped == false then
- if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
- Anim = "Jump"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25)
- RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
- Anim = "Fall"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25)
- RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
- Anim = "Idle"
- if attack == false then
- change = 1
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25)
- RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- elseif Torsovelocity > 2 and Torsovelocity < 18 and hit ~= nil and stun.Value ~= true then
- Anim = "Walk"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25)
- RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25)
- FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- elseif Torsovelocity >= 18 and hit ~= nil and stun.Value ~= true then
- Anim = "Run"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- elseif stun.Value == true then
- if attack == false then
- Character.Humanoid.WalkSpeed = 0
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
- RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
- end
- end
- end
- if sprint == true and stun.Value ~= true and equipped == false and on == false then
- Character.Humanoid.WalkSpeed = 20
- elseif sprint == false and stun.Value ~= true then
- Character.Humanoid.WalkSpeed = 16
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- 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 * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(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
- for _, lasr in pairs(lasrs) do
- for i, v in pairs(lasr[9]) do
- if lasr[7][i].Parent then
- v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
- lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
- if v.Scale.x < 0.1 then
- lasr[7][i].Parent = nil
- lasr[8][i].Parent = nil
- end
- end
- end
- if lasr[1] then
- local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
- lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
- lasr[7][lasr[6]].Parent = m
- lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
- lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
- lasr[8][lasr[6]].Parent = m
- lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
- lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
- lasr[3] = enz
- lasr[6] = lasr[6]%#lasr[7] + 1
- if hitz then
- lasr[4] = lasr[4] + 1
- if lasr[4] == maxRebounds then
- lasr[1] = false
- so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
- damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
- print(ReboundCount)
- else
- local norm = FindSurface(hitz,enz)
- lasr[2] = Reflect(lasr[2],norm)
- so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
- damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
- print(ReboundCount)
- end
- end
- if lasr[5] > maxTravelDistance then
- lasr[1] = false
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement