Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 char = player.Character
- local mouse = player:GetMouse()
- Effects = {}
- local m = Instance.new('Model', char)
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = char.HumanoidRootPart
- cam.CameraSubject = hed
- 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
- function weld(part0, part1, c0)
- local wld = Instance.new("Weld", part1)
- wld.Part0 = part0
- wld.Part1 = part1
- wld.C0 = c0
- return wld
- end
- weld(torso, larm, cn(-1.5, .5, 0))
- weld(torso, rarm, cn(1.5, .5, 0))
- rarm.Weld.C1=cn(0, 0.5, 0)
- larm.Weld.C1=cn(0, 0.5, 0)
- weld(torso, hed, cn(0, 1.5, 0))
- weld(torso, lleg, cn(-0.5, -2, 0))
- weld(torso, rleg, cn(0.5, -2, 0))
- lleg.Weld.C1=cn(0, 0.5, 0)
- rleg.Weld.C1=cn(0, 0.5, 0)
- weld(RootPart, torso, cn(0, 0, 0))
- 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, '[LMB] Fusion Cannons')
- text2 = makelabel(framesk2, '[Q] Self Destruct/Call Mech')
- text3 = makelabel(framesk3, "[2] Defense Matrix")
- text4 = makelabel(framesk4, '[Shift] Rocket Boosters')
- 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',char)
- 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
- 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 swait(num)
- if num == 0 or num == nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i = 0, num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- Ssongs = {
- 378387996;203275374;303592872;179281636;357375770;346175829;151514610;160536628;60536666;158929777;165520893;160542922;179282324;144043274;168614529;186849544;335631255;335631297;342455387;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;
- }
- BackgroundSound = 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 10
- sou.SoundId = id
- swait()
- sou:play()
- end
- ))
- end
- --BackgroundSound("http://roblox.com/asset/?id="..Ssongs[math.random(1,#Ssongs)], Hitbox, 10, 1)
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RemoveOutlines = function(part)
- part.TopSurface = 10
- end
- function NoOutline(Part)
- Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function nooutline(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
- RemoveOutlines(Part)
- nooutline(Part)
- return Part
- end
- CreateMesh = function(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
- CreateWeld = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- rayCast = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- end
- end
- end
- SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.new(x1, y1, z1)
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- DV1 = function(brickcolor, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- end
- end
- end
- DV2 = function(brickcolor, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- DV3 = function(brickcolor, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(x1, y1, z1)
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- 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, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://420077883", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- BreakEffect = function(brickcolor, cframe, x1, y1, z1)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
- end
- Clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- local walk = 0
- local walkforw = false
- updateskills = function()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.033333333333333
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.033333333333333
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.033333333333333
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.033333333333333
- end
- end
- function randomizer(percent)
- local randomized = math.random(0, 100)
- if randomized <= percent then
- return true
- elseif randomized >= percent then
- return false
- end
- end
- function begoneoutlines(part)
- part.BottomSurface, part.TopSurface, part.FrontSurface, part.BackSurface, part.RightSurface, part.LeftSurface = 10, 10, 10, 10, 10, 10
- 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 = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = trans
- p.FormFactor = 'Custom'
- begoneoutlines(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 10
- 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
- function getclosest(obj,dis, player)
- if player then
- return (player.Torso.CFrame.p - obj).magnitude < dis
- end
- local list = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Torso") then
- if v ~= char then
- if (v.Torso.Position - obj).magnitude <= dis then
- table.insert(list, v)
- end
- end
- end
- elseif v:IsA'Part' and v.Name:lower()=='hitbox' and v.Parent.Parent~=char then
- if (v.Position - obj).magnitude <= dis 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
- end
- end
- return list
- 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
- m.Parent = workspace
- 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
- swait()
- 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
- 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
- Main=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Mint","Handle",Vector3.new(3.54000044, 3.54000044, 3.54000044))
- Mainweld=weld(m,Character["Torso"],Main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.052148819, -0.412535667, 1.19913101, 0.99931711, 0.0246520042, -0.0275240038, -0.0292850267, 0.982650757, -0.183138952, 0.0225317441, 0.18381995, 0.982701659))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.819999933, 0.75, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.47722244, -0.0601978302, 2.35140228, -0.127897799, -0.322967172, -0.937728345, -0.236903191, 0.928072333, -0.287330031, 0.963077903, 0.185401946, -0.195210338))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.74000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0684165955, -1.75495911, -2.61610603, 0.0425367951, 0.99812007, 0.0441257209, -0.399144292, -0.0235108882, 0.916586637, 0.915900946, -0.0566011891, 0.397393912))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.440000176, 2.54999995, 3.17999983))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29299164, -0.20546627, -0.880943298, 0.949435115, 0.311450541, 0.0396447666, -0.312780559, 0.949237883, 0.0334023088, -0.0272291414, -0.0441134125, 0.998655438))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(2.49000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.36615372, 1.61013412, 0.257944107, -3.48687172e-006, 0.0366442949, 0.999328375, -1, 3.8924627e-006, -3.63774598e-006, -4.0223822e-006, -0.999328434, 0.0366442651))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.76000011, 0.200000003, 1.01999986))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0723400116, -1.6295166, -0.230056763, 0.87628758, -0.377705783, 0.299095929, 0.481752187, 0.679320455, -0.55356884, 0.00590416417, 0.629175723, 0.777240753))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.700000167, 0.720000088, 2.73999977))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.08762646, 1.55342102, -0.367752075, 0.996371984, -0.0193096008, 0.0828855708, 1.1062948e-005, 0.973949611, 0.226765126, -0.0851050913, -0.225941449, 0.970416188))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Mint","Part",Vector3.new(0.250000179, 0.980000079, 1.71999967))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.21400738, 0.846963882, 0.131256104, 0.999616742, -0.00628687674, 0.0269624926, 0.00508912187, 0.999006987, 0.0442638844, -0.0272139926, -0.0441096872, 0.998656034))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.250000179, 2.43000007, 1.97999978))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.947192192, -1.86398888, -1.70136261, 0.999616742, -0.00628687674, 0.0269624926, -0.014042574, 0.724172831, 0.689475596, -0.0238601491, -0.689589918, 0.723806858))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(3.6400001, 0.720000088, 2.68999982))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.741691589, 1.48814774, 0.0370721817, 0.0272204652, 0.0441332459, -0.998654842, 0.00508750882, 0.999005973, 0.0442874581, 0.999616444, -0.00628618756, 0.0269688778))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.74000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0712881088, -3.06365204, 0.632720947, 0.0423964709, 0.99806118, 0.0455680639, -0.401411116, -0.0247500092, 0.915563464, 0.914916337, -0.0571081862, 0.399583548))
- RightHip=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Bright red","RightHip",Vector3.new(1, 0.400000006, 1))
- RightHipweld=weld(m,Main,RightHip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.34013367, -0.975976944, 3.21089554, 0.0684053153, -0.185102925, 0.980335534, 0.935235798, 0.354022026, 0.00158663094, -0.347354054, 0.916736305, 0.197331876))
- mesh("BlockMesh",RightHip,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Support=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Bright red","Support",Vector3.new(1, 0.400000006, 1))
- Supportweld=weld(m,Main,Support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.34019089, 1.19148445, -3.13812351, -0.0684072971, 0.185102955, -0.980335355, 0.91670084, -0.376085788, -0.134977922, -0.39367494, -0.907907724, -0.143957049))
- mesh("BlockMesh",Support,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Support=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,1,"Bright red","Support",Vector3.new(1, 1, 1))
- Supportweld=weld(m,Main,Support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.3401413, 2.13898373, 0.890328407, -0.0684053153, 0.185102925, -0.980335534, 0.394291371, 0.907654583, 0.143866986, 0.916436017, -0.376696557, -0.135072872))
- mesh("BlockMesh",Support,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Support=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Bright red","Support",Vector3.new(1, 0.400000006, 1))
- Supportweld=weld(m,Main,Support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.34012222, 1.37566566, -3.2106657, 0.0683923066, -0.185102776, 0.980336428, -0.935211897, -0.354084939, -0.00161252171, 0.347420841, -0.916712046, -0.197327033))
- mesh("BlockMesh",Support,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Support=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,1,"Bright red","Support",Vector3.new(1, 1, 1))
- Supportweld=weld(m,Main,Support,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.34030533, 2.20916414, -1.07686996, -0.0684053153, 0.185102925, -0.980335534, -0.346718371, 0.91697669, 0.197332919, 0.935471654, 0.353398949, 0.00145252794))
- mesh("BlockMesh",Support,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.200000003, 1.95999968, 0.830000043))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0486717224, -2.62864161, -3.17083359, 0.0548805669, 0.990891218, -0.122973874, -0.991491437, 0.0395214781, -0.124027357, -0.118037507, 0.128734306, 0.984629273))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.200000003, 0.649999976, 2))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.692259789, -0.355125427, 2.97722626, -0.994323015, 0.104895256, -0.017856231, 0.0945576206, 0.794135094, -0.600340188, -0.0487925783, -0.598620474, -0.799545407))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.200000003, 0.649999976, 2))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.741931438, -0.384391785, 3.11048317, -0.994167447, 0.0438882858, -0.098512888, 0.0945461169, 0.794134617, -0.600342512, 0.051884491, -0.606155097, -0.793652415))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.200000003, 1.95999968, 0.830000043))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0219764709, -2.62083626, -3.19422913, 0.0101273656, -0.991353631, 0.130826414, 0.999648392, 0.00683084782, -0.0256218631, 0.0245066732, 0.131039888, 0.991074204))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Wedge",Vector3.new(2, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0966272354, 0.639877319, 1.50647688, 0.997350574, -0.0116932057, -0.0718004405, -0.0684053227, 0.185102925, -0.980335534, 0.0247537326, 0.982649565, 0.183812633))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.491643906, -2.04000473, -3.13821411, 0.916689754, -0.37610656, -0.134996027, 0.0684229657, -0.185103372, 0.980334222, -0.393698364, -0.907899022, -0.143948033))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.34068298, -1.20457315, 1.40005016, 0.0684053153, -0.185102925, 0.980335534, -0.0246520042, -0.982650757, -0.18381995, 0.997353077, -0.0115929749, -0.0717816949))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.34045029, -1.2025032, 1.59833527, -0.0684053153, 0.185102925, -0.980335534, -0.0251259729, -0.982645154, -0.183785811, -0.997341216, 0.0120599587, 0.0718690455))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.674982071, -2.03948975, -3.21154022, 0.935083508, 0.354423493, 0.00169026107, 0.0683256909, -0.184940606, 0.980371714, 0.347779363, -0.916613936, -0.197151169))
- LeftHip=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Bright red","LeftHip",Vector3.new(1, 0.400000006, 1))
- LeftHipweld=weld(m,Main,LeftHip,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.34049606, -0.791521072, 3.13805389, -0.0683602691, 0.185141712, -0.980331302, -0.916709185, 0.376076221, 0.134948134, 0.393663794, 0.90790385, 0.144012481))
- mesh("BlockMesh",LeftHip,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.60383415, 0.098613739, 2.34027863, -0.0246520042, -0.982650757, -0.18381995, -0.997353077, 0.0115929749, 0.0717816949, -0.0684053227, 0.185102925, -0.980335534))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.400000006, 0, 0.400000006),Vector3.new(1.5, 1.39999998, 1.5))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.67369652, -0.0978126526, 0.464889526, 0.00266207568, -0.981080055, 0.193583935, 0.997383356, -0.0113805961, -0.0713922158, 0.0722445995, 0.19326742, 0.978482723))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.400000006, 0, 0.400000006),Vector3.new(1.5, 1.5, 1.5))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(2, 0.800000012, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0514163971, 0.20390892, -1.34023666, 0.997353077, -0.0115929749, -0.0717816949, 0.0246520042, 0.982650757, 0.18381995, 0.0684053227, -0.185102925, 0.980335534))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, -0.5, 0),Vector3.new(2, 1.60000002, 2))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 2))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.34022141, 0.803842068, -0.0985946655, -0.0684053153, 0.185102925, -0.980335534, 0.0246520042, 0.982650757, 0.18381995, 0.997353077, -0.0115929749, -0.0717816949))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.67358589, -0.0977773666, 1.46490097, 0.00266107265, -0.981080174, 0.193583921, 0.997383118, -0.011382075, -0.0713945702, 0.0722471848, 0.193267331, 0.978482604))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.5, 0, 1.70000005),Vector3.new(3, 1.39999998, 3))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0978078842, -1.16485977, -1.67370224, -0.997383237, 0.011382414, 0.0713935569, -0.0722463727, -0.193228304, -0.978490353, 0.00265767332, -0.981087863, 0.193544999))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -0.300000012, -0.300000012),Vector3.new(1.39999998, 3, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0979366302, -1.20285797, -1.81867218, -0.997383237, 0.0113833956, 0.0713937432, -0.0722467229, -0.193235785, -0.978488922, 0.00265729614, -0.981086373, 0.193552479))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -0.300000012, 0),Vector3.new(1, 3, 1.29999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.491779327, -3.33265877, 1.22960663, 0.916695714, -0.37608245, -0.135021865, -0.3401604, -0.911767185, 0.230155721, -0.209665999, -0.165053666, -0.963741422))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.491609573, 0.240486145, 2.13807774, 0.916708648, -0.376070529, -0.134967387, -0.0683768839, 0.185153082, -0.980327964, 0.393662125, 0.90790385, 0.144016936))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, -1),Vector3.new(0.899999976, 1, 0.899999976))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0594520569, -1.19158268, 2.13807964, -0.0683601201, 0.185147613, -0.980330229, -0.916708231, 0.376077771, 0.134950638, 0.393666118, 0.907901883, 0.144017637))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.200000003, -0.699999988, 0.200000003),Vector3.new(1, 2.79999995, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.491765976, -1.92963028, 3.63264275, -0.916695118, 0.376082927, 0.135025069, 0.209667176, 0.165047377, 0.963742256, 0.340161502, 0.911768019, -0.230150372))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, -1, 0.200000003),Vector3.new(0.899999976, 1, 0.899999976))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.675960541, 0.240196228, 2.21089602, 0.935236931, 0.354019195, 0.00158046931, -0.0684111863, 0.185103074, -0.980335116, -0.347350001, 0.916737378, 0.197334111))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, -1),Vector3.new(0.899999976, 1, 0.899999976))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0598754883, -1.37594223, 2.21088052, 0.0684072971, -0.185102955, 0.980335355, 0.935237825, 0.354016572, 0.0015835613, -0.347348064, 0.916738391, 0.197332591))
- mesh("CylinderMesh",Part,"","",Vector3.new(0.200000003, -0.699999988, 0.200000003),Vector3.new(1, 2.79999995, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.675128937, -1.90133667, 3.70075226, -0.935149491, -0.354249567, -0.00162807852, -0.0656015277, 0.168655291, 0.983489692, -0.348126233, 0.919816673, -0.180957228))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, -1, 0.200000003),Vector3.new(0.899999976, 1, 0.899999976))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.67509079, -3.40074348, 1.20137405, 0.935149491, 0.354249567, 0.00162807852, 0.34812662, -0.919817686, 0.180950612, 0.0655992106, -0.168649167, -0.983490825))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.250000179, 1.95000005, 1.84999979))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14030743, 0.153139114, -1.5992012, 0.999616742, -0.00628687674, 0.0269624926, 0.00508912187, 0.999006987, 0.0442638844, -0.0272139926, -0.0441096872, 0.998656034))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Bright yellow","Part",Vector3.new(0.74000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.35136032, 0.0149784088, 2.23666573, -0.0934702903, -0.316152602, -0.944092572, -0.236895919, 0.928073049, -0.287334055, 0.96702826, 0.19679451, -0.161642551))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.30000025, 0.990000069, 0.799999774))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.45767593, 0.519645691, -0.0510492325, -4.96394932e-006, 0.196322352, 0.980539501, -1.34119764e-005, 0.980539382, -0.196322352, -1, -1.41263008e-005, -2.23703682e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.819999933, 0.75, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13386631, -1.74436951, -2.63955975, 0.0425367951, 0.99812007, 0.0441257209, -0.399144292, -0.0235108882, 0.916586637, 0.915900946, -0.0566011891, 0.397393912))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.740000188, 0.200000003, 1.12999988))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0835571289, -1.62133408, -0.163125992, 0.931009233, 0.280207187, -0.233892873, -0.364948124, 0.724994659, -0.584119439, 0.00589661486, 0.629179299, 0.777237833))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Mint","Part",Vector3.new(0.250000179, 1.21000004, 1.57999969))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25683784, 0.943570137, 0.153495789, 0.999616742, -0.00628687674, 0.0269624926, 0.00508912187, 0.999006987, 0.0442638844, -0.0272139926, -0.0441096872, 0.998656034))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.819999933, 0.75, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.7954216, 0.992963791, -1.67180061, 0.0871070623, -0.274271667, -0.957699001, -0.236899063, 0.928072214, -0.287333995, 0.967621446, 0.251906842, 0.0158669502))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Bright yellow","Part",Vector3.new(0.74000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.59316254, 0.982383728, -1.64830208, 0.0871070623, -0.274271667, -0.957699001, -0.236899063, 0.928072214, -0.287333995, 0.967621446, 0.251906842, 0.0158669502))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.700000167, 0.720000088, 2.73999977))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02168274, 1.53379703, -0.290473938, 0.999616742, -0.00628589699, 0.026962677, 8.04278534e-006, 0.973950207, 0.226762086, -0.0276857018, -0.226674944, 0.973576963))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(2.49000001, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25370026, -1.82392979, 0.371809006, -3.48687172e-006, 0.0366442949, 0.999328375, -1, 3.8924627e-006, -3.63774598e-006, -4.0223822e-006, -0.999328434, 0.0366442651))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.490000188, 1.74000001, 2.21999955))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.75498199, 0.0223226547, -1.70982742, 0.0126128709, 0.733176112, 0.679921925, -0.99884516, 0.0407648124, -0.0254286267, -0.0463605449, -0.678815961, 0.732843518))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.250000179, 2.62000012, 2.15999985))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.970186234, -1.77041817, -1.86458969, 0.999616742, -0.00628687674, 0.0269624926, -0.014042574, 0.724172831, 0.689475596, -0.0238601491, -0.689589918, 0.723806858))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.420000196, 2.4199996, 3.24999976))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.27800608, -0.294101715, -0.885204315, 0.927559733, -0.373571843, 0.00878762826, 0.372681826, 0.92655164, 0.0510922521, -0.0272288062, -0.0441160798, 0.998655319))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.490000188, 1.72000003, 3.27999973))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.66258049, -0.01009655, -0.875564575, 0.0395864472, 0.998194754, 0.0451693237, -0.998845339, 0.0407627858, -0.0254256949, -0.0272210147, -0.044110626, 0.998655796))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.700000167, 0.720000088, 2.73999977))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.808151245, 1.59053159, -0.043636322, 1.58473849e-005, -0.226788342, 0.973944187, -2.95101199e-006, 0.973944128, 0.226788372, -1, -6.46850094e-006, 1.47614628e-005))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999952, 0.75, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.263545036, -3.05304337, 0.609293938, 0.0423964709, 0.99806118, 0.0455680639, -0.401411116, -0.0247500092, 0.915563464, 0.914916337, -0.0571081862, 0.399583548))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(0.250000179, 1.63000011, 1.84999979))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2418623, 0.313138008, -1.58658981, 0.999616742, -0.00628687674, 0.0269624926, 0.00508912187, 0.999006987, 0.0442638844, -0.0272139926, -0.0441096872, 0.998656034))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(0.490000188, 1.84000003, 2.5199995))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76708221, 0.0399122238, -1.20563316, 0.0453945808, 0.627453387, -0.777329743, -0.99884516, 0.0407709777, -0.0254207011, 0.0157421902, 0.777585924, 0.628579497))
- Main=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Handle",Vector3.new(0.620000005, 1.25, 0.809999704))
- Mainweld=weld(m,Character["Right Arm"],Main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0332336426, -0.0328521729, -0.0159416199, 0.885399759, -0.410061896, -0.218898192, 0.401704341, 0.911950827, -0.0835427046, 0.233882084, -0.0139636397, 0.97216475))
- Trigger=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Trigger",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Triggerweld=weld(m,Main,Trigger,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.70031357, -0.377246857, 0.0695436001, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(2.45000005, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04929352, -0.590713501, -0.0670456886, 1.3820827e-005, -0.458585203, 0.888650537, 1.65672973e-005, -0.888650537, -0.458585203, 0.99999994, 2.10534781e-005, -4.69014049e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71730423, -0.839035034, 0.04666996, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.70994568, -0.539264679, -0.333050966, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Smoky grey","Part",Vector3.new(1.09000003, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.08165741, -0.598489761, -0.0671532154, 1.3820827e-005, -0.458585203, 0.888650537, 1.65672973e-005, -0.888650537, -0.458585203, 0.99999994, 2.10534781e-005, -4.69014049e-006))
- Main=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Handle",Vector3.new(0.620000005, 1.25, 0.809999704))
- Mainweld=weld(m,Character["Left Arm"],Main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0332336426, -0.0328521729, -0.0159416199, 0.885399759, -0.410061896, -0.218898192, 0.401704341, 0.911950827, -0.0835427046, 0.233882084, -0.0139636397, 0.97216475))
- Trigger=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Trigger",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Triggerweld=weld(m,Main,Trigger,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.70031357, -0.377246857, 0.0695436001, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(2.45000005, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04929352, -0.590713501, -0.0670456886, 1.3820827e-005, -0.458585203, 0.888650537, 1.65672973e-005, -0.888650537, -0.458585203, 0.99999994, 2.10534781e-005, -4.69014049e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71730423, -0.839035034, 0.04666996, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.430000097, 0.310000002, 0.290000021))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.70994568, -0.539264679, -0.333050966, 1.47074461e-005, -0.458584815, 0.888650775, 1.30040571e-005, -0.888650835, -0.458584845, 1, 1.83321536e-005, -7.10040331e-006))
- Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Smoky grey","Part",Vector3.new(1.09000003, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.08165741, -0.598489761, -0.0671532154, 1.3820827e-005, -0.458585203, 0.888650537, 1.65672973e-005, -0.888650537, -0.458585203, 0.99999994, 2.10534781e-005, -4.69014049e-006))
- Main=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Handle",Vector3.new(1, 0.800000012, 1))
- Mainweld=weld(m,Character["Right Leg"],Main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.149253845, -2.17634678, -1.94832706, -8.74177931e-005, 0.000177467169, 1, 0.371649772, -0.928372979, 0.000197244561, 0.928373098, 0.371649742, 1.52006905e-005))
- mesh("CylinderMesh",Main,"","",Vector3.new(-0.100000001, -1, -0.5),Vector3.new(1.79999995, 3, 1.79999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00027657, -0.884281158, 1.0561924, -0.000167542908, -6.85699831e-007, 0.999993443, -0.928453505, 0.371423513, -0.000154808789, -0.371424973, -0.928457439, -6.42400628e-005))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, -0.200000003, 0.600000024),Vector3.new(0.899999976, 2, 0.899999976))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, -0.599999666, 1.23977661e-005, 1, 2.07674748e-006, 4.97529982e-008, -2.07674748e-006, 1.00000024, -1.12952159e-006, -4.97557266e-008, 1.13547674e-006, 1.00000024))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.100000001, -2.5, -0.5),Vector3.new(1.79999995, 3, 1.60000002))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999968052, -0.999992371, 1.39999771, -3.28016176e-006, 1.00000012, -5.21245784e-006, -8.35423634e-007, -5.18876732e-006, -1.00000012, -1, -3.28014721e-006, 8.35440005e-007))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.100000001, 0, 1),Vector3.new(1.79999995, 1, 1.79999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.800000012, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.899998665, 0.0999996662, 1, 6.23028609e-006, 1.49237167e-007, 1.49246262e-007, -1.13545707e-006, -1.00000024, -6.23028609e-006, 1.00000024, -1.12958469e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0.100000001, 0),Vector3.new(1, 1.29999995, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.999874115, -0.812648773, 0.314390182, 8.90902083e-006, -8.16596075e-005, -1.00000024, -0.928506494, 0.371316224, -3.86103347e-005, 0.371316165, 0.928506613, -7.25542486e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, -0.300000012),Vector3.new(1.20000005, 1.39999998, 1.70000005))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.800000012, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00029755, 0.284294128, -1.05618477, -0.000167746155, -5.0666813e-006, 0.999999344, 0.928461671, -0.371425867, 0.000153795627, 0.371425956, 0.928462207, 6.71607049e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.999962807, -1.09983063, 1.09924686, 1.76061294e-005, -0.000462114345, -1.00000012, -1, -0.000202432915, -1.75125861e-005, -0.000202424795, 1, -0.000462114898))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -1, -0.5),Vector3.new(1.10000002, 4.5, 2.0999999))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999996185, -0.60000062, 1.39999771, 8.35418177e-007, 7.39413917e-006, 1.00000012, -3.28019087e-006, 1.00000012, -7.41782969e-006, -1, -3.28016176e-006, 8.35447281e-007))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0.899999976),Vector3.new(1, 5, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.184280396, 1.00030422, 2.05618763, 0.928461969, -0.371425956, 0.000153795641, -0.000167749648, -5.09648453e-006, 0.999999642, -0.371426016, -0.928462386, -6.71309099e-005))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0.200000003),Vector3.new(1.29999995, 1, 1.29999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00027466, 1.35618782, -1.58427048, 0.000167556704, 7.15504882e-007, -0.999993324, -0.371424913, -0.92845732, -6.42698651e-005, -0.928453147, 0.371423453, -0.000154793874))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -0.300000012, -0.600000024),Vector3.new(0.800000012, 2, 1.39999998))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999998093, -0.700008392, 0.0999968052, 8.35409082e-007, 9.688918e-006, 1.00000012, 1, 7.41043186e-006, -8.35469109e-007, -7.41043186e-006, 1.00000012, -9.71267127e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.0992527, 0.699813843, -0.999962807, -0.000194137989, 1, -0.000457674207, 1, 0.00019414608, 1.76081121e-005, 1.76969588e-005, -0.000457673799, -1.00000012))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.81570816, 1.00028896, 2.05618382, 0.928462565, -0.371426165, 0.000153840345, -0.000167756676, -5.15609054e-006, 1, -0.371426105, -0.928462744, -6.70713052e-005))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.600000024, 0, -0.200000003),Vector3.new(1.10000002, 0.800000012, 1.10000002))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999970436, -0.599477291, -6.10351563e-005, -4.03289887e-005, -0.000118916229, 0.999995232, 2.94905476e-005, 0.999995828, 0.000120017401, -0.999993563, 2.74418417e-005, -4.03662052e-005))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999926567, -0.699970245, -0.0999863148, -7.37449591e-006, 0.000183881886, 1.00000012, -1, -9.27625442e-005, -7.35744106e-006, 9.27611909e-005, -1.00000024, 0.000183938348))
- Main=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Handle",Vector3.new(1, 0.800000012, 1))
- Mainweld=weld(m,Character["Left Leg"],Main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.129558563, -2.10619307, -1.7728014, -3.83777442e-005, -6.02480322e-005, -0.999998331, -0.371803671, -0.928305686, 6.66969936e-005, -0.928300858, 0.371803969, 1.52394305e-005))
- mesh("CylinderMesh",Main,"","",Vector3.new(0.100000001, -1, -0.5),Vector3.new(1.79999995, 3, 1.79999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, -0.599986553, 3.33786011e-006, 1, 1.140832e-007, 4.06628396e-006, -1.14116503e-007, 1, 8.16473948e-006, -4.0662826e-006, -8.16473948e-006, 1))
- mesh("CylinderMesh",Part,"","",Vector3.new(0.100000001, -2.5, -0.5),Vector3.new(1.79999995, 3, 1.60000002))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00017262, -0.812351227, 0.314325333, -5.04584896e-005, 9.48184515e-006, 1, 0.928399503, 0.37158379, 4.33223286e-005, -0.371583819, 0.928399384, -2.75524962e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, -0.300000012),Vector3.new(1.20000005, 1.39999998, 1.70000005))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999983311, -1.09979248, 1.09984064, 2.56156327e-005, 4.8726306e-005, 1, 1, -0.000127016887, -2.56094427e-005, 0.000127015635, 1, -4.87295583e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -1, -0.5),Vector3.new(1.10000002, 4.5, 2.0999999))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09983158, 0.699794769, 0.999993801, 0.000134281159, 1, -5.27829106e-005, -1, 0.000134282513, 2.56099538e-005, 2.56170406e-005, 5.27794655e-005, 1))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.800000012, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14440918e-005, -0.89997673, 0.100011826, 1, -1.06622117e-007, -1.43079939e-008, -1.43073127e-008, 4.20129118e-006, -1, 1.06622267e-007, 1, 4.20129163e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0.100000001, 0),Vector3.new(1, 1.29999995, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013256, 0.999974728, 1.40000534, 3.53006726e-006, 1, 1.0370004e-005, -6.16798434e-006, -1.03699813e-005, 1, 1, -3.53013115e-006, 6.16794796e-006))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.100000001, 0, 1),Vector3.new(1.79999995, 1, 1.79999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.999987125, -0.700012207, 0.100011349, 8.24153176e-006, 1.23964055e-005, -1, -1, 7.15629994e-006, -8.24144354e-006, 7.15619763e-006, 1, 1.23964646e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.184749603, -1.00002766, 2.05679131, -0.928372204, -0.371652126, -6.34051394e-005, 5.59746295e-005, 3.07811133e-005, -1, 0.371652126, -0.928372145, -7.7732393e-006))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0.200000003),Vector3.new(1.29999995, 1, 1.29999995))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.999973774, -0.599978447, 1.40000153, 6.16794068e-006, 6.28702037e-006, -1, 3.53005998e-006, 1, 6.28704265e-006, 1, -3.53009887e-006, 6.16791885e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0.899999976),Vector3.new(1, 5, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Part",Vector3.new(1, 0.800000012, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00004673, 0.284748077, -1.05678177, 5.88851472e-005, 3.07510963e-005, -1, -0.928372264, -0.371651947, -6.60960286e-005, -0.371651947, 0.928372204, 6.66368442e-006))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00001717, 1.35680008, -1.5847168, -6.22080697e-005, -3.68603905e-005, 1, 0.371651888, -0.928372204, -1.11004156e-005, 0.928372264, 0.371651888, 7.14514681e-005))
- mesh("BlockMesh",Part,"","",Vector3.new(0, -0.300000012, -0.600000024),Vector3.new(0.800000012, 2, 1.39999998))
- Part=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00003052, -0.884731293, 1.05680084, 6.01321008e-005, 3.48339636e-005, -1, 0.928372204, 0.371652067, 6.87710781e-005, 0.371652067, -0.928372145, -9.9906656e-006))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, -0.200000003, 0.600000024),Vector3.new(0.899999976, 2, 0.899999976))
- Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1, 1))
- Partweld=weld(m,Main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.81526947, -1.00003862, 2.05678177, -0.928372204, -0.371652126, -6.34226089e-005, 5.59934451e-005, 3.07811133e-005, -1, 0.371652126, -0.928372145, -7.76624711e-006))
- mesh("CylinderMesh",Part,"","",Vector3.new(-0.600000024, 0, -0.200000003),Vector3.new(1.10000002, 0.800000012, 1.10000002))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00009966, -0.699577332, -0.0999474525, 3.88291737e-005, -6.64338295e-005, -1, 1, -4.69847473e-005, 3.88322951e-005, -4.69873266e-005, -1, 6.64320105e-005))
- Wedge=part(Enum.FormFactor.Plate,m,Enum.Material.SmoothPlastic,0,0,"Carnation pink","Wedge",Vector3.new(1, 0.400000006, 1))
- Wedgeweld=weld(m,Main,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0000639, -0.60001421, -0.000591278076, 6.60727092e-005, 2.32104976e-005, -1, 4.033613e-005, 1, 2.32131624e-005, 1, -4.03376653e-005, 6.60717706e-005))
- 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)
- ]]
- 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 then
- if h.Parent:FindFirstChild('Stats') then
- D=D/h.Parent:FindFirstChild('Stats').Defence.Value
- elseif not h.Parent:FindFirstChild('Stats') then
- D=D
- end
- end
- if h and h.Parent.Head then
- makegui(h.Parent.Head.CFrame, tostring(math.floor(D+.5)))
- end
- if h ~= nil and hit.Parent.Name ~= char.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
- char.Humanoid.Health = char.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
- mouse.Button1Down:connect(function()
- end)
- local sou = Instance.new("Sound", Main)
- sou.Volume = 10
- sou.SoundId = "http://roblox.com/asset/?id=467917777"
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if string.byte(k) == 48 then
- print(cooldown1)
- if cooldown1>=co1 and stamina>=skill1stam then
- subtractstamina(skill1stam)--subtracts stamina
- cooldown1=0 -- resets skill back to zero if the skill reached or reached over the max
- end
- end
- if k == "q" then
- print(cooldown4)
- if cooldown4>=co4 and stamina>=skill4stam then
- sou:play()
- local torso = Game.Players.LocalPlayer.Character.Torso
- for i = 1,5 do
- DV1(BrickColor.new("Lime"), "Neon", 1.002, 1.002, 1.002, .5, .5, .5, 0.02)
- DV1(BrickColor.new("Lime"), "Neon", 1.002, 1.002, 1.002, .5, .5, .5, 0.02)
- DV2(BrickColor.new("Lime"), "Neon", 1.002, 1.002, 1.002, .5, .5, .5, 0.02)
- DV3(BrickColor.new("Lime"), "Neon", 1.002, 1.002, 1.002, .5, .5, .5, 0.02)
- end
- subtractstamina(skill4stam)--subtracts stamina
- cooldown4=0 -- resets skill back to zero if the skill reached or reached over the max
- end
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown1 >= co1 and stamina>=skill1stam then
- elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown2 >= 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 cooldown4 >= 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)
- 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<=skill1stam then
- bar4.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar4.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill2stam then
- bar3.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar3.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill3stam then
- bar1.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar1.BackgroundColor3=skillcolorscheme
- end
- if stamina<=skill4stam then
- bar2.BackgroundColor3=c3(104/255,104/255,104/255)
- else
- bar2.BackgroundColor3=skillcolorscheme
- end
- if stamina <= maxstamina then
- stamina = stamina + recovermana / 30
- end
- end
- char.Humanoid.Died:connect(function()
- for i,v in pairs(char:GetChildren()) do
- if v:IsA'Model' then
- v:destroy()
- end
- end
- end)
- lleg.Transparency = 1
- rleg.Transparency = 1
- larm.Transparency = 1
- rarm.Transparency = 1
- hed.Transparency = 1
- torso.Transparency = 1
- local sine = 0
- local change = 1
- local count = 0
- game:GetService'RunService'.Heartbeat:connect(function()
- local t = tick()
- local Smooth = 1
- ---------------------------
- local llD=CFrame.new(-0.5,-1,0)
- local rlD=CFrame.new(0.5,-1,0)
- count = (count % 100) + (1)*(char.Humanoid.WalkSpeed)/(5*1.3)--countspeed
- angle = math.pi * math.sin(math.pi*2/100*count)
- t = t+0.2*Smooth
- updateskills()
- healthcover:TweenSize(ud(1 * (char.Humanoid.Health / char.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, char)
- char.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
- torso.Weld.C0 = Clerp(torso.Weld.C0, cn(0, 3, 0) * angles(0, 0, 0), 0.2)
- hed.Weld.C0 = Clerp(hed.Weld.C0, cn(0, -0.1, 0) * angles(0, 0, 0), 0.2)
- rarm.Weld.C0 = Clerp(rarm.Weld.C0, cn(1.5, .5, 0) * angles(0,0,0), 0.2)
- larm.Weld.C0 = Clerp(larm.Weld.C0, cn(-1.5, .5, 0) * angles(0,0,0), 0.2)
- lleg.Weld.C0 = Clerp(lleg.Weld.C0, cn(-.5, -1.5, 0) * angles(0,0,0), 0.3)
- rleg.Weld.C0 = Clerp(rleg.Weld.C0, cn(.5, -1.5, 0) * angles(0,0,0), 0.3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value~=true then
- Anim = "Fall"
- if attack == false then
- torso.Weld.C0 = Clerp(torso.Weld.C0, cn(0, 3, 0) * angles(0, 0, 0), 0.2)
- hed.Weld.C0 = Clerp(hed.Weld.C0, cn(0, -0.1, 0) * angles(0, 0, 0), 0.2)
- rarm.Weld.C0 = Clerp(rarm.Weld.C0, cn(1.5, .5, 0) * angles(0,0,0), 0.2)
- larm.Weld.C0 = Clerp(larm.Weld.C0, cn(-1.5, .5, 0) * angles(0,0,0), 0.2)
- lleg.Weld.C0 = Clerp(lleg.Weld.C0, cn(-.5, -1.5, 0) * angles(0,0,0), 0.3)
- rleg.Weld.C0 = Clerp(rleg.Weld.C0, cn(.5, -1.5, 0) * angles(0,0,0), 0.3)
- end
- elseif torsovelocity < 1 and hit ~= nil and stun.Value~=true then
- Anim = "Idle"
- if attack == false then
- change = 1
- torso.Weld.C0 = Clerp(torso.Weld.C0, cn(0, 3, 0) * angles(0, 0, 0), 0.2)
- hed.Weld.C0 = Clerp(hed.Weld.C0, cn(0, -0.1, 0) * angles(0, 0, 0), 0.2)
- rarm.Weld.C0 = Clerp(rarm.Weld.C0, cn(2, .5, 0) * angles(math.rad(0),math.rad(-35),math.rad(90)), 0.2)
- larm.Weld.C0 = Clerp(larm.Weld.C0, cn(-2, .5, 0) * angles(math.rad(0),math.rad(35),math.rad(-90)), 0.2)
- lleg.Weld.C0 = Clerp(lleg.Weld.C0, cn(-.5, -1.5, 0) * angles(0,0,0), 0.3)
- rleg.Weld.C0 = Clerp(rleg.Weld.C0, cn(.5, -1.5, 0) * angles(0,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
- change = 0.5
- torso.Weld.C0 = Clerp(torso.Weld.C0, cn(0, 3, 0) * angles(0, 0, 0), 0.2)
- hed.Weld.C0 = Clerp(hed.Weld.C0, cn(0, -0.1,0) * angles(0, 0, 0), .3)
- rarm.Weld.C0 = Clerp(rarm.Weld.C0, cn(2, .5, 0) * angles(math.rad(0),math.rad(-35),math.rad(90)), 0.2)
- larm.Weld.C0 = Clerp(larm.Weld.C0, cn(-2, .5, 0) * angles(math.rad(0),math.rad(35),math.rad(-90)), 0.2)
- lleg.Weld.C0 = Clerp(lleg.Weld.C0, llD*cn(0,0-(0.2*math.cos(sine/6+1.1)),0)*angles(math.rad(-3-(20*math.cos(sine/6))),0,0),0.4)
- rleg.Weld.C0 = Clerp(rleg.Weld.C0, rlD*cn(0,0+(0.2*math.cos(sine/6+1.1)),0)*angles(math.rad(-3+(20*math.cos(sine/6))),0,0),0.4)
- end
- elseif torsovelocity >= 18 and hit ~= nil and stun.Value~=true then
- Anim = "Run"
- if attack == false then
- torso.Weld.C0 = Clerp(torso.Weld.C0, cn(0, 3, 0) * angles(0, 0, 0), 0.2)
- hed.Weld.C0 = Clerp(hed.Weld.C0, cn(0, -0.1, 0) * angles(0, 0, 0), 0.2)
- rarm.Weld.C0 = Clerp(rarm.Weld.C0, cn(1.5, .5, 0) * angles(0,0,0), 0.2)
- larm.Weld.C0 = Clerp(larm.Weld.C0, cn(-1.5, .5, 0) * angles(0,0,0), 0.2)
- lleg.Weld.C0 = Clerp(lleg.Weld.C0, cn(-.5, -1.5, 0) * angles(0,0,0), 0.2)
- rleg.Weld.C0 = Clerp(rleg.Weld.C0, cn(.5, -1.5, 0) * angles(0,0,0), 0.2)
- end
- end
- end
- end)
- if 0 < #Effects 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))
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- --[[CreateSound = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end
- ))
- end
- CreateSound("http://roblox.com/asset/?id=467917777", Main, 1, 0.8)
- NerfThis = function()
- attack = true
- Humanoid.WalkSpeed = 0
- CreateSound("http://roblox.com/asset/?id=467917777", Main, 1, 0.8)
- for i = 0, 1, 0.1 do
- swait()
- end
- Humanoid.WalkSpeed = 15
- attack = false
- end]]
Add Comment
Please, Sign In to add comment