SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --The Script is Created by Cohenfan31 |
| 1 | + | --[[ |
| 2 | Vegito - Blue | |
| 3 | - | Player=game:GetService("Players").LocalPlayer
|
| 3 | + | Credits: |
| 4 | - | Character=Player.Character |
| 4 | + | KingAbsalom |
| 5 | - | PlayerGui=Player.PlayerGui |
| 5 | + | VoIquin |
| 6 | - | Backpack=Player.Backpack |
| 6 | + | RevenntOfDespair |
| 7 | - | Torso=Character.Torso |
| 7 | + | Edited by |
| 8 | - | Head=Character.Head |
| 8 | + | iiFootFetish |
| 9 | - | Humanoid=Character.Humanoid |
| 9 | + | ]] |
| 10 | - | m=Instance.new('Model',Character)
|
| 10 | + | |
| 11 | - | LeftArm=Character["Left Arm"] |
| 11 | + | local p = game.Players.LocalPlayer |
| 12 | - | LeftLeg=Character["Left Leg"] |
| 12 | + | local char = p.Character |
| 13 | - | RightArm=Character["Right Arm"] |
| 13 | + | local mouse = p:GetMouse() |
| 14 | - | RightLeg=Character["Right Leg"] |
| 14 | + | local larm = char["Left Arm"] |
| 15 | - | LS=Torso["Left Shoulder"] |
| 15 | + | local rarm = char["Right Arm"] |
| 16 | - | LH=Torso["Left Hip"] |
| 16 | + | local lleg = char["Left Leg"] |
| 17 | - | RS=Torso["Right Shoulder"] |
| 17 | + | local rleg = char["Right Leg"] |
| 18 | - | RH=Torso["Right Hip"] |
| 18 | + | local hed = char.Head |
| 19 | - | Face = Head.face |
| 19 | + | local torso = char.Torso |
| 20 | - | Neck=Torso.Neck |
| 20 | + | local hum = char.Humanoid |
| 21 | - | it=Instance.new |
| 21 | + | local cam = game.Workspace.CurrentCamera |
| 22 | - | attacktype=1 |
| 22 | + | local root = char.HumanoidRootPart |
| 23 | - | vt=Vector3.new |
| 23 | + | local deb = false |
| 24 | - | cf=CFrame.new |
| 24 | + | local shot = 0 |
| 25 | - | euler=CFrame.fromEulerAnglesXYZ |
| 25 | + | local potential = false |
| 26 | - | angles=CFrame.Angles |
| 26 | + | local debris=game:service"Debris" |
| 27 | - | cloaked=false |
| 27 | + | local l = game:GetService("Lighting")
|
| 28 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 28 | + | local rs = game:GetService("RunService").RenderStepped
|
| 29 | - | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 29 | + | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
|
| 30 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 30 | + | math.randomseed(os.time()) |
| 31 | - | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
| 31 | + | for i,v in pairs(char:children()) do |
| 32 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 32 | + | if v:IsA("Accessory") then
|
| 33 | - | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
| 33 | + | v:Destroy() |
| 34 | - | RootPart=Character.HumanoidRootPart |
| 34 | + | |
| 35 | - | RootJoint=RootPart.RootJoint |
| 35 | + | |
| 36 | - | RootCF=euler(-1.57,0,3.14) |
| 36 | + | for i,v in pairs (hed:GetChildren()) do |
| 37 | - | attack = false |
| 37 | + | if v:IsA("Sound") then
|
| 38 | - | attackdebounce = false |
| 38 | + | v:Destroy() |
| 39 | - | deb=false |
| 39 | + | |
| 40 | - | equipped=true |
| 40 | + | |
| 41 | - | hand=false |
| 41 | + | ---------------------------------------------------- |
| 42 | - | MMouse=nil |
| 42 | + | Debounces = {
|
| 43 | - | combo=0 |
| 43 | + | CanAttack = true; |
| 44 | - | mana=0 |
| 44 | + | NoIdl = false; |
| 45 | - | trispeed=.2 |
| 45 | + | Slashing = false; |
| 46 | - | attackmode='none' |
| 46 | + | Slashed = false; |
| 47 | - | local idle=0 |
| 47 | + | RPunch = false; |
| 48 | - | local Anim="Idle" |
| 48 | + | Invisible = false; |
| 49 | - | local Effects={}
|
| 49 | + | RPunched = false; |
| 50 | - | local gun=false |
| 50 | + | LPunch = false; |
| 51 | - | local shoot=false |
| 51 | + | LPunched = false; |
| 52 | - | player=nil |
| 52 | + | } |
| 53 | - | mana=0 |
| 53 | + | local Touche = {char.Name, }
|
| 54 | ---------------------------------------------------- | |
| 55 | - | mouse=Player:GetMouse() |
| 55 | + | hed.face.Texture = "rbxassetid://52823428" |
| 56 | - | --save shoulders |
| 56 | + | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
|
| 57 | - | RSH, LSH=nil, nil |
| 57 | + | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
|
| 58 | - | --welds |
| 58 | + | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
|
| 59 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld")
|
| 59 | + | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
|
| 60 | - | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
| 60 | + | ---------------------------------------------------- |
| 61 | - | LH=Torso["Left Hip"] |
| 61 | + | ypcall(function() |
| 62 | - | RH=Torso["Right Hip"] |
| 62 | + | shirt = Instance.new("Shirt", char)
|
| 63 | - | TorsoColor=Torso.BrickColor |
| 63 | + | shirt.Name = "Shirt" |
| 64 | - | function NoOutline(Part) |
| 64 | + | pants = Instance.new("Pants", char)
|
| 65 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
| 65 | + | pants.Name = "Pants" |
| 66 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=545581529" | |
| 67 | - | player=Player |
| 67 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=243885838" |
| 68 | - | ch=Character |
| 68 | + | |
| 69 | - | RSH=ch.Torso["Right Shoulder"] |
| 69 | + | ---------------------------------------------------- |
| 70 | - | LSH=ch.Torso["Left Shoulder"] |
| 70 | + | ---------------------------------------------------- |
| 71 | - | -- |
| 71 | + | --[[Additional Functions]] |
| 72 | - | RSH.Parent=nil |
| 72 | + | |
| 73 | - | LSH.Parent=nil |
| 73 | + | cf=CFrame.new |
| 74 | - | -- |
| 74 | + | vt=Vector3.new |
| 75 | - | RW.Name="Right Shoulder" |
| 75 | + | |
| 76 | - | RW.Part0=ch.Torso |
| 76 | + | function swait(num) |
| 77 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
| 77 | + | |
| 78 | - | RW.C1=cf(0, 0.5, 0) |
| 78 | + | |
| 79 | - | RW.Part1=ch["Right Arm"] |
| 79 | + | |
| 80 | - | RW.Parent=ch.Torso |
| 80 | + | |
| 81 | - | -- |
| 81 | + | |
| 82 | - | LW.Name="Left Shoulder" |
| 82 | + | |
| 83 | - | LW.Part0=ch.Torso |
| 83 | + | |
| 84 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
| 84 | + | end |
| 85 | - | LW.C1=cf(0, 0.5, 0) |
| 85 | + | |
| 86 | - | LW.Part1=ch["Left Arm"] |
| 86 | + | |
| 87 | - | LW.Parent=ch.Torso |
| 87 | + | |
| 88 | local sou = Instance.new("Sound",par or workspace)
| |
| 89 | - | Player=game:GetService('Players').LocalPlayer
|
| 89 | + | |
| 90 | - | Character=Player.Character |
| 90 | + | |
| 91 | - | Mouse=Player:GetMouse() |
| 91 | + | |
| 92 | - | m=Instance.new('Model',Character)
|
| 92 | + | |
| 93 | sou:play() | |
| 94 | game:GetService("Debris"):AddItem(sou,6)
| |
| 95 | - | local function weldBetween(a, b) |
| 95 | + | |
| 96 | - | local weldd = Instance.new("ManualWeld")
|
| 96 | + | |
| 97 | - | weldd.Part0 = a |
| 97 | + | |
| 98 | - | weldd.Part1 = b |
| 98 | + | ---------------------------------------------------- |
| 99 | - | weldd.C0 = CFrame.new() |
| 99 | + | |
| 100 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 100 | + | function lerp(a, b, t) -- Linear interpolation |
| 101 | - | weldd.Parent = a |
| 101 | + | return a + (b - a)*t |
| 102 | - | return weldd |
| 102 | + | |
| 103 | ||
| 104 | function slerp(a, b, t) --Spherical interpolation | |
| 105 | - | function swait(num) |
| 105 | + | dot = a:Dot(b) |
| 106 | if dot > 0.99999 or dot < -0.99999 then | |
| 107 | return t <= 0.5 and a or b | |
| 108 | else | |
| 109 | r = math.acos(dot) | |
| 110 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 111 | end | |
| 112 | end | |
| 113 | ||
| 114 | function matrixInterpolate(a, b, t) | |
| 115 | - | function nooutline(part) |
| 115 | + | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() |
| 116 | - | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
| 116 | + | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() |
| 117 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 118 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 119 | - | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
| 119 | + | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up |
| 120 | - | local fp=it("Part")
|
| 120 | + | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back |
| 121 | - | fp.formFactor=formfactor |
| 121 | + | local t = v1:Dot(v2) |
| 122 | - | fp.Parent=parent |
| 122 | + | if not (t < 0 or t == 0 or t > 0) then -- Failsafe |
| 123 | - | fp.Reflectance=reflectance |
| 123 | + | return CFrame.new() |
| 124 | - | fp.Transparency=transparency |
| 124 | + | |
| 125 | - | fp.CanCollide=false |
| 125 | + | return CFrame.new( |
| 126 | - | fp.Locked=true |
| 126 | + | v0.x, v0.y, v0.z, |
| 127 | - | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
| 127 | + | v1.x, v1.y, v1.z, |
| 128 | - | fp.Name=name |
| 128 | + | v2.x, v2.y, v2.z, |
| 129 | - | fp.Size=size |
| 129 | + | v3.x, v3.y, v3.z) |
| 130 | - | fp.Position=Character.Torso.Position |
| 130 | + | |
| 131 | - | nooutline(fp) |
| 131 | + | lmod = Instance.new("Model",char)
|
| 132 | - | fp.Material=material |
| 132 | + | ---------------------------------------------------- |
| 133 | - | fp:BreakJoints() |
| 133 | + | function Landing() |
| 134 | - | return fp |
| 134 | + | part=Instance.new('Part',lmod)
|
| 135 | part.Anchored=true | |
| 136 | part.CanCollide=false | |
| 137 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 137 | + | part.FormFactor='Custom' |
| 138 | - | local mesh=it(Mesh) |
| 138 | + | part.Size=Vector3.new(.2,.2,.2) |
| 139 | - | mesh.Parent=part |
| 139 | + | part.CFrame=root.CFrame*CFrame.new(0,-2,0) |
| 140 | - | if Mesh=="SpecialMesh" then |
| 140 | + | part.Transparency=.7 |
| 141 | - | mesh.MeshType=meshtype |
| 141 | + | part.BrickColor=BrickColor.new('Institutional white')
|
| 142 | - | mesh.MeshId=meshid |
| 142 | + | mesh=Instance.new('SpecialMesh',part)
|
| 143 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
| 144 | - | mesh.Offset=offset |
| 144 | + | mesh.Scale=Vector3.new(8,3,8) |
| 145 | - | mesh.Scale=scale |
| 145 | + | |
| 146 | - | return mesh |
| 146 | + | for i,v in pairs(FindNearestTorso(torso.CFrame.p,20))do |
| 147 | if v:FindFirstChild('Humanoid') then
| |
| 148 | v.Humanoid:TakeDamage(math.random(20,30)) | |
| 149 | - | function weld(parent,part0,part1,c0,c1) |
| 149 | + | v.Humanoid.PlatformStand = true |
| 150 | - | local weld=it("Weld")
|
| 150 | + | coroutine.resume(coroutine.create(function() |
| 151 | - | weld.Parent=parent |
| 151 | + | wait(2) |
| 152 | - | weld.Part0=part0 |
| 152 | + | v.Humanoid.PlatformStand = false |
| 153 | - | weld.Part1=part1 |
| 153 | + | end)) |
| 154 | - | weld.C0=c0 |
| 154 | + | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
|
| 155 | - | weld.C1=c1 |
| 155 | + | |
| 156 | - | return weld |
| 156 | + | |
| 157 | ||
| 158 | coroutine.resume(coroutine.create(function() | |
| 159 | for i=0,3.8,0.05 do | |
| 160 | - | local function CFrameFromTopBack(at, top, back) |
| 160 | + | wait() |
| 161 | - | local right = top:Cross(back) |
| 161 | + | part.CFrame=part.CFrame |
| 162 | - | return CFrame.new(at.x, at.y, at.z, |
| 162 | + | part.Transparency=i + 0.5 |
| 163 | - | right.x, top.x, back.x, |
| 163 | + | mesh.Scale=mesh.Scale+Vector3.new(1, -0.1 ,1) |
| 164 | - | right.y, top.y, back.y, |
| 164 | + | |
| 165 | - | right.z, top.z, back.z) |
| 165 | + | part.Parent = nil |
| 166 | end)) | |
| 167 | end | |
| 168 | - | function Triangle(a, b, c) |
| 168 | + | function newRay(start,face,range,wat) |
| 169 | - | local edg1 = (c-a):Dot((b-a).unit) |
| 169 | + | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
| 170 | - | local edg2 = (a-b):Dot((c-b).unit) |
| 170 | + | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) |
| 171 | - | local edg3 = (b-c):Dot((a-c).unit) |
| 171 | + | return rey,hit,pos |
| 172 | - | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
| 172 | + | |
| 173 | - | a, b, c = a, b, c |
| 173 | + | ---------------------------------------------------- |
| 174 | - | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
| 174 | + | partic2 = Instance.new("ParticleEmitter",torso)
|
| 175 | - | a, b, c = b, c, a |
| 175 | + | partic2.Color = ColorSequence.new(Color3.new(100/225,100/255,100/255),Color3.new(100/255,100/255,100/255)) |
| 176 | - | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
| 176 | + | partic2.LightEmission = .95 |
| 177 | - | a, b, c = c, a, b |
| 177 | + | partic2.VelocityInheritance = 0.2 |
| 178 | partic2.Rate = 300 | |
| 179 | - | assert(false, "unreachable") |
| 179 | + | partic2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" |
| 180 | partic2.Lifetime = NumberRange.new(0.1,0.2) | |
| 181 | - | |
| 181 | + | partic2.RotSpeed = NumberRange.new(100,100) |
| 182 | - | local len1 = (c-a):Dot((b-a).unit) |
| 182 | + | partic2.Speed = NumberRange.new(2,6) |
| 183 | - | local len2 = (b-a).magnitude - len1 |
| 183 | + | partic2.Enabled = false |
| 184 | - | local width = (a + (b-a).unit*len1 - c).magnitude |
| 184 | + | partic2.LockedToPart = false |
| 185 | - | |
| 185 | + | -------------------- |
| 186 | - | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
| 186 | + | function Charge() |
| 187 | - | |
| 187 | + | pt=Instance.new('Part',torso)
|
| 188 | - | local list = {}
|
| 188 | + | pt.Anchored=true |
| 189 | pt.CanCollide=false | |
| 190 | - | local TrailColor = ("Dark grey")
|
| 190 | + | pt.Locked = true |
| 191 | - | |
| 191 | + | pt.FormFactor='Custom' |
| 192 | - | if len1 > 0.01 then |
| 192 | + | pt.Size=Vector3.new(1,1,1) |
| 193 | - | local w1 = Instance.new('WedgePart', m)
|
| 193 | + | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) |
| 194 | - | game:GetService("Debris"):AddItem(w1,5)
|
| 194 | + | pt.Transparency=0.2 |
| 195 | - | w1.Material = "SmoothPlastic" |
| 195 | + | pt.BrickColor=BrickColor.new("Dark Indigo")
|
| 196 | - | w1.FormFactor = 'Custom' |
| 196 | + | msh=Instance.new('SpecialMesh',pt)
|
| 197 | - | w1.BrickColor = BrickColor.new(TrailColor) |
| 197 | + | msh.MeshId='http://www.roblox.com/asset/?id=24388358' |
| 198 | - | w1.Transparency = 0 |
| 198 | + | msh.Scale=Vector3.new(6,3,6) |
| 199 | - | w1.Reflectance = 0 |
| 199 | + | pt2=pt:clone() |
| 200 | - | w1.Material = "SmoothPlastic" |
| 200 | + | pt2.Parent = torso |
| 201 | - | w1.CanCollide = false |
| 201 | + | pt2.Transparency=0.4 |
| 202 | - | NoOutline(w1) |
| 202 | + | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) |
| 203 | - | local sz = Vector3.new(0.2, width, len1) |
| 203 | + | pt2.BrickColor=BrickColor.new("Dark Indigo")
|
| 204 | - | w1.Size = sz |
| 204 | + | msh2=msh:clone() |
| 205 | - | local sp = Instance.new("SpecialMesh",w1)
|
| 205 | + | msh2.Parent=pt2 |
| 206 | - | sp.MeshType = "Wedge" |
| 206 | + | msh2.Scale=Vector3.new(8,4,8) |
| 207 | - | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
| 207 | + | pt3=Instance.new('Part',torso)
|
| 208 | - | w1:BreakJoints() |
| 208 | + | pt3.Anchored=true |
| 209 | - | w1.Anchored = true |
| 209 | + | pt3.CanCollide=false |
| 210 | - | w1.Parent = workspace |
| 210 | + | pt3.Locked = true |
| 211 | - | w1.Transparency = 0.7 |
| 211 | + | pt3.FormFactor='Custom' |
| 212 | - | table.insert(Effects,{w1,"Disappear",.01})
|
| 212 | + | pt3.Size=Vector3.new(1,1,1) |
| 213 | - | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
| 213 | + | pt3.CFrame=root.CFrame*CFrame.new(0,-1,0) |
| 214 | - | table.insert(list,w1) |
| 214 | + | pt3.Transparency=0.6 |
| 215 | pt3.BrickColor=BrickColor.new("Dark Indigo")
| |
| 216 | - | |
| 216 | + | msh3=Instance.new('SpecialMesh',pt3)
|
| 217 | - | if len2 > 0.01 then |
| 217 | + | msh3.MeshId='http://www.roblox.com/asset/?id=24388358' |
| 218 | - | local w2 = Instance.new('WedgePart', m)
|
| 218 | + | msh3.Scale=Vector3.new(12,6,12) |
| 219 | - | game:GetService("Debris"):AddItem(w2,5)
|
| 219 | + | pt4=pt:clone() |
| 220 | - | w2.Material = "SmoothPlastic" |
| 220 | + | pt4.Parent = torso |
| 221 | - | w2.FormFactor = 'Custom' |
| 221 | + | pt4.CFrame=root.CFrame*CFrame.new(0,-1,0) |
| 222 | - | w2.BrickColor = BrickColor.new(TrailColor) |
| 222 | + | pt4.Transparency=0.8 |
| 223 | - | w2.Transparency = 0 |
| 223 | + | pt4.BrickColor=BrickColor.new("Dark Indigo")
|
| 224 | - | w2.Reflectance = 0 |
| 224 | + | msh4=msh:clone() |
| 225 | - | w2.Material = "SmoothPlastic" |
| 225 | + | msh4.Parent=pt4 |
| 226 | - | w2.CanCollide = false |
| 226 | + | msh4.Scale=Vector3.new(16,8,16) |
| 227 | - | NoOutline(w2) |
| 227 | + | coroutine.resume(coroutine.create(function() |
| 228 | - | local sz = Vector3.new(0.2, width, len2) |
| 228 | + | for i=1, math.huge, 4 do |
| 229 | - | w2.Size = sz |
| 229 | + | if Charging == true then |
| 230 | - | local sp = Instance.new("SpecialMesh",w2)
|
| 230 | + | wait() |
| 231 | - | sp.MeshType = "Wedge" |
| 231 | + | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.11*math.cos(sine/10)),0) |
| 232 | - | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
| 232 | + | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.12*math.cos(sine/12)),0) |
| 233 | - | w2:BreakJoints() |
| 233 | + | pt3.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.13*math.cos(sine/14)),0) |
| 234 | - | w2.Anchored = true |
| 234 | + | pt4.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.14*math.cos(sine/16)),0) |
| 235 | - | w2.Parent = workspace |
| 235 | + | pt.CFrame = pt.CFrame+Vector3.new(0,0.01,0) |
| 236 | - | w2.Transparency = 0.7 |
| 236 | + | pt2.CFrame = pt2.CFrame+Vector3.new(0,0.01,0) |
| 237 | - | table.insert(Effects,{w2,"Disappear",.01})
|
| 237 | + | pt3.CFrame = pt3.CFrame+Vector3.new(0,0.01,0) |
| 238 | - | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
| 238 | + | pt4.CFrame = pt4.CFrame+Vector3.new(0,0.01,0) |
| 239 | - | table.insert(list,w2) |
| 239 | + | msh.Scale = msh.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/9),0.05) |
| 240 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/7),0.05) | |
| 241 | - | return unpack(list) |
| 241 | + | msh3.Scale = msh3.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/5),0.05) |
| 242 | msh4.Scale = msh4.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/3),0.05) | |
| 243 | elseif Charging == false then | |
| 244 | pt:Remove() | |
| 245 | pt2:Remove() | |
| 246 | pt3:Remove() | |
| 247 | pt4:Remove() | |
| 248 | break | |
| 249 | end | |
| 250 | end | |
| 251 | end)) | |
| 252 | end | |
| 253 | --------------- | |
| 254 | Magik = function() | |
| 255 | Spawn(function() | |
| 256 | - | |
| 256 | + | if Debounces.Invisible == false then |
| 257 | - | function clerp(a,b,t) |
| 257 | + | local function lerp(a,b,c) |
| 258 | - | local qa = {QuaternionFromCFrame(a)}
|
| 258 | + | return a+(b-a)*c |
| 259 | - | local qb = {QuaternionFromCFrame(b)}
|
| 259 | + | end |
| 260 | - | local ax, ay, az = a.x, a.y, a.z |
| 260 | + | local function rndRange(rng) |
| 261 | - | local bx, by, bz = b.x, b.y, b.z |
| 261 | + | return math.random(-rng*1000,rng*1000)/1000 |
| 262 | - | local _t = 1-t |
| 262 | + | end |
| 263 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
| 263 | + | local magik = Instance.new("Part", larm)
|
| 264 | - | end |
| 264 | + | local Colors = {"Bright bluish green", "Teal", "Black"}
|
| 265 | - | |
| 265 | + | magik.Anchored = true |
| 266 | - | function QuaternionFromCFrame(cf) |
| 266 | + | magik.Locked = true |
| 267 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
| 267 | + | magik.FormFactor = "Custom" |
| 268 | - | local trace = m00 + m11 + m22 |
| 268 | + | magik.Size = Vector3.new(1.2, 1.2, 1.2) |
| 269 | - | if trace > 0 then |
| 269 | + | magik.TopSurface = "Smooth" |
| 270 | - | local s = math.sqrt(1 + trace) |
| 270 | + | magik.Transparency = 0 |
| 271 | - | local recip = 0.5/s |
| 271 | + | magik.Material = "Neon" |
| 272 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
| 272 | + | |
| 273 | - | else |
| 273 | + | magik.BottomSurface = "Smooth" |
| 274 | - | local i = 0 |
| 274 | + | magik.CanCollide = false |
| 275 | - | if m11 > m00 then |
| 275 | + | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 276 | - | i = 1 |
| 276 | + | local mr = math.rad |
| 277 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
| 278 | - | if m22 > (i == 0 and m00 or m11) then |
| 278 | + | local cf = lleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' |
| 279 | - | i = 2 |
| 279 | + | magik.CFrame = cf |
| 280 | - | end |
| 280 | + | for i = 0, 1, .05 do |
| 281 | - | if i == 0 then |
| 281 | + | local newTrans = lerp(0.5, 1, i) |
| 282 | - | local s = math.sqrt(m00-m11-m22+1) |
| 282 | + | local ns = lerp(1,1.2,i) |
| 283 | - | local recip = 0.5/s |
| 283 | + | magik.Transparency = newTrans |
| 284 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
| 284 | + | magik.Size = Vector3.new(ns,ns,ns) |
| 285 | - | elseif i == 1 then |
| 285 | + | magik.CFrame = cf |
| 286 | - | local s = math.sqrt(m11-m22-m00+1) |
| 286 | + | rs:wait() |
| 287 | - | local recip = 0.5/s |
| 287 | + | end |
| 288 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
| 288 | + | magik:Destroy() |
| 289 | - | elseif i == 2 then |
| 289 | + | elseif Debounces.Invisible == true then |
| 290 | - | local s = math.sqrt(m22-m00-m11+1) |
| 290 | + | wait() |
| 291 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
| 291 | + | |
| 292 | - | end |
| 292 | + | end) |
| 293 | - | end |
| 293 | + | |
| 294 | ---------------------------------------------------- | |
| 295 | - | |
| 295 | + | Magik2 = function() |
| 296 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
| 296 | + | Spawn(function() |
| 297 | - | local xs, ys, zs = x + x, y + y, z + z |
| 297 | + | if Debounces.Invisible == false then |
| 298 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
| 298 | + | local function lerp(a,b,c) |
| 299 | - | local xx = x*xs |
| 299 | + | return a+(b-a)*c |
| 300 | - | local xy = x*ys |
| 300 | + | end |
| 301 | - | local xz = x*zs |
| 301 | + | local function rndRange(rng) |
| 302 | - | local yy = y*ys |
| 302 | + | return math.random(-rng*1000,rng*1000)/1000 |
| 303 | - | local yz = y*zs |
| 303 | + | end |
| 304 | - | local zz = z*zs |
| 304 | + | local magik2 = Instance.new("Part", larm)
|
| 305 | - | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
| 305 | + | local Colors = {"Bright bluish green", "Teal", "Black"}
|
| 306 | magik2.Anchored = true | |
| 307 | - | |
| 307 | + | magik2.Locked = true |
| 308 | - | function QuaternionSlerp(a, b, t) |
| 308 | + | magik2.FormFactor = "Custom" |
| 309 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
| 309 | + | magik2.Size = Vector3.new(1.2, 1.2, 1.2) |
| 310 | - | local startInterp, finishInterp; |
| 310 | + | magik2.TopSurface = "Smooth" |
| 311 | - | if cosTheta >= 0.0001 then |
| 311 | + | magik2.Transparency = 0 |
| 312 | - | if (1 - cosTheta) > 0.0001 then |
| 312 | + | magik2.Material = "Neon" |
| 313 | - | local theta = math.acos(cosTheta) |
| 313 | + | |
| 314 | - | local invSinTheta = 1/math.sin(theta) |
| 314 | + | magik2.BottomSurface = "Smooth" |
| 315 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
| 315 | + | magik2.CanCollide = false |
| 316 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 316 | + | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) |
| 317 | - | else |
| 317 | + | local mr = math.rad |
| 318 | - | startInterp = 1-t |
| 318 | + | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) |
| 319 | - | finishInterp = t |
| 319 | + | local cf = rleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' |
| 320 | - | end |
| 320 | + | magik2.CFrame = cf |
| 321 | - | else |
| 321 | + | for i = 0, 1, .05 do |
| 322 | - | if (1+cosTheta) > 0.0001 then |
| 322 | + | local newTrans = lerp(0.5, 1, i) |
| 323 | - | local theta = math.acos(-cosTheta) |
| 323 | + | local ns = lerp(1,1.2,i) |
| 324 | - | local invSinTheta = 1/math.sin(theta) |
| 324 | + | magik2.Transparency = newTrans |
| 325 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
| 325 | + | magik2.Size = Vector3.new(ns,ns,ns) |
| 326 | - | finishInterp = math.sin(t*theta)*invSinTheta |
| 326 | + | magik2.CFrame = cf |
| 327 | - | else |
| 327 | + | rs:wait() |
| 328 | - | startInterp = t-1 |
| 328 | + | end |
| 329 | - | finishInterp = t |
| 329 | + | magik2:Destroy() |
| 330 | - | end |
| 330 | + | elseif Debounces.Invisible == true then |
| 331 | - | end |
| 331 | + | wait() |
| 332 | - | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
| 332 | + | |
| 333 | end) | |
| 334 | end | |
| 335 | - | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) |
| 335 | + | ---------------------------------------------------- |
| 336 | function NewPart(prnt,siz,cf,col,mat) | |
| 337 | local prt=Instance.new("Part")
| |
| 338 | - | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
| 338 | + | prt.Parent=prnt |
| 339 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
|
| 339 | + | prt.FormFactor=3 |
| 340 | - | end |
| 340 | + | prt.Name="Part" |
| 341 | prt.Size=siz | |
| 342 | - | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
| 342 | + | prt.CanCollide=false |
| 343 | - | if hit.Parent==nil then |
| 343 | + | prt.Anchored=true |
| 344 | - | return |
| 344 | + | prt.Locked=true |
| 345 | prt.TopSurface=10 | |
| 346 | - | h=hit.Parent:FindFirstChild("Humanoid")
|
| 346 | + | prt.BottomSurface=10 |
| 347 | - | for _,v in pairs(hit.Parent:children()) do |
| 347 | + | prt.FrontSurface=10 |
| 348 | - | if v:IsA("Humanoid") then
|
| 348 | + | prt.BackSurface=10 |
| 349 | - | h=v |
| 349 | + | prt.LeftSurface=10 |
| 350 | prt.RightSurface=10 | |
| 351 | prt:BreakJoints() | |
| 352 | - | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
|
| 352 | + | prt.CFrame=cf or CFrame.new(30,10,30) |
| 353 | - | h=hit.Parent.Parent:FindFirstChild("Humanoid")
|
| 353 | + | prt.Material=mat |
| 354 | prt.BrickColor=BrickColor.new(col) | |
| 355 | - | if hit.Parent.className=="Hat" then |
| 355 | + | m=Instance.new("SpecialMesh",prt)
|
| 356 | - | hit=hit.Parent.Parent:findFirstChild("Head")
|
| 356 | + | m.MeshType=6 |
| 357 | return prt | |
| 358 | - | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
|
| 358 | + | |
| 359 | - | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
|
| 359 | + | ----------------------------------------- |
| 360 | - | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
| 360 | + | |
| 361 | - | return |
| 361 | + | function genWeld(a,b) |
| 362 | - | end]] |
| 362 | + | local w = Instance.new("Weld",a)
|
| 363 | - | -- hs(hit,1.2) |
| 363 | + | w.Part0 = a |
| 364 | - | c=Instance.new("ObjectValue")
|
| 364 | + | w.Part1 = b |
| 365 | - | c.Name="creator" |
| 365 | + | return w |
| 366 | - | c.Value=game:service("Players").LocalPlayer
|
| 366 | + | |
| 367 | - | c.Parent=h |
| 367 | + | function weld(a, b) |
| 368 | - | game:GetService("Debris"):AddItem(c,.5)
|
| 368 | + | local weld = Instance.new("Weld")
|
| 369 | - | Damage=math.random(minim,maxim) |
| 369 | + | weld.Name = "W" |
| 370 | - | -- h:TakeDamage(Damage) |
| 370 | + | weld.Part0 = a |
| 371 | - | blocked=false |
| 371 | + | weld.Part1 = b |
| 372 | - | block=hit.Parent:findFirstChild("Block")
|
| 372 | + | weld.C0 = a.CFrame:inverse() * b.CFrame |
| 373 | - | if block~=nil then |
| 373 | + | weld.Parent = a |
| 374 | - | print(block.className) |
| 374 | + | return weld; |
| 375 | - | if block.className=="NumberValue" then |
| 375 | + | |
| 376 | - | if block.Value>0 then |
| 376 | + | ---------------------------------------------------- |
| 377 | - | blocked=true |
| 377 | + | function Lerp(c1,c2,al) |
| 378 | - | if decreaseblock==nil then |
| 378 | + | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
|
| 379 | - | block.Value=block.Value-1 |
| 379 | + | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
|
| 380 | for i,v in pairs(com1) do | |
| 381 | com1[i] = v+(com2[i]-v)*al | |
| 382 | end | |
| 383 | - | if block.className=="IntValue" then |
| 383 | + | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) |
| 384 | - | if block.Value>0 then |
| 384 | + | |
| 385 | - | blocked=true |
| 385 | + | ---------------------------------------------------- |
| 386 | - | if decreaseblock~=nil then |
| 386 | + | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
| 387 | - | block.Value=block.Value-1 |
| 387 | + | local wld = Instance.new("Weld", wp1)
|
| 388 | wld.Part0 = wp0 | |
| 389 | wld.Part1 = wp1 | |
| 390 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 391 | end | |
| 392 | - | if blocked==false then |
| 392 | + | ---------------------------------------------------- |
| 393 | - | -- h:TakeDamage(Damage) |
| 393 | + | function weld5(part0, part1, c0, c1) |
| 394 | - | h.Health=h.Health-Damage |
| 394 | + | weeld=Instance.new("Weld", part0)
|
| 395 | - | showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
|
| 395 | + | weeld.Part0=part0 |
| 396 | - | else |
| 396 | + | weeld.Part1=part1 |
| 397 | - | h.Health=h.Health-(Damage/2) |
| 397 | + | weeld.C0=c0 |
| 398 | - | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
|
| 398 | + | weeld.C1=c1 |
| 399 | return weeld | |
| 400 | - | if Type=="Knockdown" then |
| 400 | + | |
| 401 | - | hum=hit.Parent.Humanoid |
| 401 | + | ---------------------------------------------------- |
| 402 | - | hum.PlatformStand=true |
| 402 | + | function HasntTouched(plrname) |
| 403 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
| 403 | + | local ret = true |
| 404 | - | swait(1) |
| 404 | + | for _, v in pairs(Touche) do |
| 405 | - | HHumanoid.PlatformStand=false |
| 405 | + | if v == plrname then |
| 406 | - | end),hum) |
| 406 | + | ret = false |
| 407 | - | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
| 407 | + | |
| 408 | - | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
| 408 | + | |
| 409 | - | local bodvol=Instance.new("BodyVelocity")
|
| 409 | + | return ret |
| 410 | - | bodvol.velocity=angle*knockback |
| 410 | + | |
| 411 | - | bodvol.P=5000 |
| 411 | + | ---------------------------------------------------- |
| 412 | - | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 412 | + | newWeld(torso, larm, -1.5, 0.5, 0) |
| 413 | - | bodvol.Parent=hit |
| 413 | + | larm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 414 | - | rl=Instance.new("BodyAngularVelocity")
|
| 414 | + | newWeld(torso, rarm, 1.5, 0.5, 0) |
| 415 | - | rl.P=3000 |
| 415 | + | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) |
| 416 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 416 | + | newWeld(torso, hed, 0, 1.5, 0) |
| 417 | - | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
| 417 | + | newWeld(torso, lleg, -0.5, -1, 0) |
| 418 | - | rl.Parent=hit |
| 418 | + | lleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 419 | - | game:GetService("Debris"):AddItem(bodvol,.5)
|
| 419 | + | newWeld(torso, rleg, 0.5, -1, 0) |
| 420 | - | game:GetService("Debris"):AddItem(rl,.5)
|
| 420 | + | rleg.Weld.C1 = CFrame.new(0, 1, 0) |
| 421 | - | elseif Type=="Normal" then |
| 421 | + | newWeld(root, torso, 0, -1, 0) |
| 422 | - | vp=Instance.new("BodyVelocity")
|
| 422 | + | torso.Weld.C1 = CFrame.new(0, -1, 0) |
| 423 | - | vp.P=500 |
| 423 | + | ------------------------------------------------------music |
| 424 | - | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
| 424 | + | z = Instance.new("Sound", char)
|
| 425 | - | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
| 425 | + | z.SoundId = "rbxassetid://584633532"--552945114 |
| 426 | - | if KnockbackType==1 then |
| 426 | + | z.Looped = true |
| 427 | - | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
| 427 | + | z.Pitch = 0.9 |
| 428 | - | elseif KnockbackType==2 then |
| 428 | + | z.Volume = 10000 |
| 429 | - | vp.velocity=Property.CFrame.lookVector*knockback |
| 429 | + | wait(.1) |
| 430 | z:Play() | |
| 431 | - | if knockback>0 then |
| 431 | + | ---------------------------------------------------- |
| 432 | - | vp.Parent=hit.Parent.Torso |
| 432 | + | local Transforming = false |
| 433 | hum.WalkSpeed = 0 | |
| 434 | - | game:GetService("Debris"):AddItem(vp,.5)
|
| 434 | + | local fx = Instance.new("Part",torso)
|
| 435 | - | elseif Type=="Up" then |
| 435 | + | fx.Anchored = true |
| 436 | - | local bodyVelocity=Instance.new("BodyVelocity")
|
| 436 | + | fx.Material = "Neon" |
| 437 | - | bodyVelocity.velocity=vt(0,60,0) |
| 437 | + | fx.CanCollide = false |
| 438 | - | bodyVelocity.P=5000 |
| 438 | + | fx.Locked = true |
| 439 | - | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
| 439 | + | fx.Transparency = 1 |
| 440 | - | bodyVelocity.Parent=hit |
| 440 | + | fx.Material = "SmoothPlastic" |
| 441 | - | game:GetService("Debris"):AddItem(bodyVelocity,1)
|
| 441 | + | fx.Size = Vector3.new(1,1,1) |
| 442 | - | rl=Instance.new("BodyAngularVelocity")
|
| 442 | + | fx.TopSurface = "SmoothNoOutlines" |
| 443 | - | rl.P=3000 |
| 443 | + | fx.BottomSurface = "SmoothNoOutlines" |
| 444 | - | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
| 444 | + | fx.BrickColor = BrickColor.new("Bright bluish green")
|
| 445 | - | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
| 445 | + | fxm = Instance.new("SpecialMesh",fx)
|
| 446 | - | rl.Parent=hit |
| 446 | + | fxm.MeshType = "Sphere" |
| 447 | - | game:GetService("Debris"):AddItem(rl,.5)
|
| 447 | + | fxm.Scale = Vector3.new(1,1,1) |
| 448 | - | elseif Type=="Snare" then |
| 448 | + | for i = 1, 20 do rs:wait() |
| 449 | - | bp=Instance.new("BodyPosition")
|
| 449 | + | fx.Transparency = fx.Transparency - (1/20) |
| 450 | - | bp.P=2000 |
| 450 | + | fx.CFrame = torso.CFrame |
| 451 | - | bp.D=100 |
| 451 | + | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) |
| 452 | - | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 452 | + | |
| 453 | - | bp.position=hit.Parent.Torso.Position |
| 453 | + | |
| 454 | - | bp.Parent=hit.Parent.Torso |
| 454 | + | ------------------------------------------------ |
| 455 | - | game:GetService("Debris"):AddItem(bp,1)
|
| 455 | + | |
| 456 | - | elseif Type=="Target" then |
| 456 | + | local m = Instance.new("Model")
|
| 457 | - | if Targetting==false then |
| 457 | + | m.Name = "Hair" |
| 458 | - | ZTarget=hit.Parent.Torso |
| 458 | + | p1 = Instance.new("Part", m)
|
| 459 | - | coroutine.resume(coroutine.create(function(Part) |
| 459 | + | p1.BrickColor = BrickColor.new("Teal")
|
| 460 | - | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 460 | + | p1.Transparency = 1 |
| 461 | - | swait(5) |
| 461 | + | p1.FormFactor = Enum.FormFactor.Symmetric |
| 462 | - | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
|
| 462 | + | p1.Size = Vector3.new(1, 1, 1) |
| 463 | - | end),ZTarget) |
| 463 | + | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) |
| 464 | - | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
|
| 464 | + | p1.CanCollide = false |
| 465 | - | targetgui=Instance.new("BillboardGui")
|
| 465 | + | p1.Locked = true |
| 466 | - | targetgui.Parent=ZTarget |
| 466 | + | p1.BottomSurface = Enum.SurfaceType.Smooth |
| 467 | - | targetgui.Size=UDim2.new(10,100,10,100) |
| 467 | + | p1.TopSurface = Enum.SurfaceType.Smooth |
| 468 | - | targ=Instance.new("ImageLabel")
|
| 468 | + | b1 = Instance.new("SpecialMesh", p1)
|
| 469 | - | targ.Parent=targetgui |
| 469 | + | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 470 | - | targ.BackgroundTransparency=1 |
| 470 | + | b1.TextureId = "" |
| 471 | - | targ.Image="rbxassetid://360881766" |
| 471 | + | b1.MeshType = Enum.MeshType.FileMesh |
| 472 | - | targ.Size=UDim2.new(1,0,1,0) |
| 472 | + | b1.Name = "Mesh" |
| 473 | - | cam.CameraType="Scriptable" |
| 473 | + | b1.VertexColor = Vector3.new(0, 0, 0) |
| 474 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 474 | + | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
| 475 | - | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 475 | + | p2 = Instance.new("Part", m)
|
| 476 | - | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 476 | + | p2.BrickColor = BrickColor.new("Pastel brown")
|
| 477 | - | Targetting=true |
| 477 | + | p2.Transparency = 1 |
| 478 | - | RocketTarget=ZTarget |
| 478 | + | p2.Name = "Head" |
| 479 | - | for i=1,Property do |
| 479 | + | p2.FormFactor = Enum.FormFactor.Symmetric |
| 480 | - | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
| 480 | + | p2.Size = Vector3.new(2, 1, 1) |
| 481 | - | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
| 481 | + | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) |
| 482 | - | swait() |
| 482 | + | p2.CanCollide = false |
| 483 | p2.Locked = true | |
| 484 | - | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
| 484 | + | p2.TopSurface = Enum.SurfaceType.Smooth |
| 485 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
| 485 | + | b2 = Instance.new("SpecialMesh", p2)
|
| 486 | - | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
| 486 | + | b2.MeshType = Enum.MeshType.Head |
| 487 | - | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
| 487 | + | b2.Name = "Mesh" |
| 488 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 489 | - | Targetting=false |
| 489 | + | p3 = Instance.new("Part", m)
|
| 490 | - | RocketTarget=nil |
| 490 | + | p3.BrickColor = BrickColor.new("Teal")
|
| 491 | - | targetgui.Parent=nil |
| 491 | + | p3.Transparency = 1 |
| 492 | - | cam.CameraType="Custom" |
| 492 | + | p3.FormFactor = Enum.FormFactor.Symmetric |
| 493 | p3.Size = Vector3.new(2, 2, 2) | |
| 494 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
| 495 | - | debounce=Instance.new("BoolValue")
|
| 495 | + | p3.CanCollide = false |
| 496 | - | debounce.Name="DebounceHit" |
| 496 | + | p3.Locked = true |
| 497 | - | debounce.Parent=hit.Parent |
| 497 | + | p3.BottomSurface = Enum.SurfaceType.Smooth |
| 498 | - | debounce.Value=true |
| 498 | + | p3.TopSurface = Enum.SurfaceType.Smooth |
| 499 | - | game:GetService("Debris"):AddItem(debounce,Delay)
|
| 499 | + | b3 = Instance.new("SpecialMesh", p3)
|
| 500 | - | c=Instance.new("ObjectValue")
|
| 500 | + | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" |
| 501 | - | c.Name="creator" |
| 501 | + | b3.TextureId = "" |
| 502 | - | c.Value=Player |
| 502 | + | b3.MeshType = Enum.MeshType.FileMesh |
| 503 | - | c.Parent=h |
| 503 | + | b3.Name = "Mesh" |
| 504 | - | game:GetService("Debris"):AddItem(c,.5)
|
| 504 | + | b3.VertexColor = Vector3.new(0, 0, 0) |
| 505 | - | CRIT=false |
| 505 | + | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) |
| 506 | - | hitDeb=true |
| 506 | + | p4 = Instance.new("Part", m)
|
| 507 | - | AttackPos=6 |
| 507 | + | p4.BrickColor = BrickColor.new("Teal")
|
| 508 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 509 | p4.Size = Vector3.new(1, 1, 1) | |
| 510 | - | |
| 510 | + | p4.Transparency = 1 |
| 511 | - | showDamage=function(Char,Dealt,du,Color) |
| 511 | + | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) |
| 512 | - | m=Instance.new("Model")
|
| 512 | + | p4.CanCollide = false |
| 513 | - | m.Name=tostring(Dealt) |
| 513 | + | p4.Locked = true |
| 514 | - | h=Instance.new("Humanoid")
|
| 514 | + | p4.BottomSurface = Enum.SurfaceType.Smooth |
| 515 | - | h.Health=0 |
| 515 | + | p4.TopSurface = Enum.SurfaceType.Smooth |
| 516 | - | h.MaxHealth=0 |
| 516 | + | b4 = Instance.new("SpecialMesh", p4)
|
| 517 | - | h.Parent=m |
| 517 | + | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" |
| 518 | - | c=Instance.new("Part")
|
| 518 | + | b4.TextureId = "" |
| 519 | - | c.Transparency=0 |
| 519 | + | b4.MeshType = Enum.MeshType.FileMesh |
| 520 | - | c.BrickColor=Color |
| 520 | + | b4.Name = "Mesh" |
| 521 | - | c.Name="Head" |
| 521 | + | b4.VertexColor = Vector3.new(0, 0, 0) |
| 522 | - | c.TopSurface=0 |
| 522 | + | p5 = Instance.new("Part", m)
|
| 523 | - | c.BottomSurface=0 |
| 523 | + | p5.BrickColor = BrickColor.new("Teal")
|
| 524 | - | c.formFactor="Plate" |
| 524 | + | p5.FormFactor = Enum.FormFactor.Symmetric |
| 525 | - | c.Size=Vector3.new(1,.4,1) |
| 525 | + | p5.Size = Vector3.new(1, 1, 1) |
| 526 | - | ms=Instance.new("CylinderMesh")
|
| 526 | + | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) |
| 527 | - | ms.Scale=Vector3.new(.8,.8,.8) |
| 527 | + | p5.CanCollide = false |
| 528 | - | if CRIT==true then |
| 528 | + | p5.Transparency = 1 |
| 529 | - | ms.Scale=Vector3.new(1,1.25,1) |
| 529 | + | p5.Locked = true |
| 530 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 531 | - | ms.Parent=c |
| 531 | + | p5.TopSurface = Enum.SurfaceType.Smooth |
| 532 | - | c.Reflectance=0 |
| 532 | + | b5 = Instance.new("SpecialMesh", p5)
|
| 533 | - | Instance.new("BodyGyro").Parent=c
|
| 533 | + | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" |
| 534 | - | c.Parent=m |
| 534 | + | b5.TextureId = "" |
| 535 | - | if Char:findFirstChild("Head")~=nil then
|
| 535 | + | b5.MeshType = Enum.MeshType.FileMesh |
| 536 | - | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 536 | + | b5.Name = "Mesh" |
| 537 | - | elseif Char.Parent:findFirstChild("Head")~=nil then
|
| 537 | + | b5.VertexColor = Vector3.new(0, 0, 0) |
| 538 | - | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
| 538 | + | b5.Scale = Vector3.new(1, 0.899999976, 1) |
| 539 | p6 = Instance.new("Part", m)
| |
| 540 | - | f=Instance.new("BodyPosition")
|
| 540 | + | p6.BrickColor = BrickColor.new("Teal")
|
| 541 | - | f.P=2000 |
| 541 | + | p6.FormFactor = Enum.FormFactor.Symmetric |
| 542 | - | f.D=100 |
| 542 | + | p6.Transparency = 1 |
| 543 | - | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
| 543 | + | p6.Size = Vector3.new(1, 1, 1) |
| 544 | - | f.position=c.Position+Vector3.new(0,3,0) |
| 544 | + | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) |
| 545 | - | f.Parent=c |
| 545 | + | p6.CanCollide = false |
| 546 | - | game:GetService("Debris"):AddItem(m,.5+du)
|
| 546 | + | p6.Locked = true |
| 547 | - | c.CanCollide=false |
| 547 | + | p6.BottomSurface = Enum.SurfaceType.Smooth |
| 548 | - | m.Parent=workspace |
| 548 | + | p6.TopSurface = Enum.SurfaceType.Smooth |
| 549 | - | c.CanCollide=false |
| 549 | + | b6 = Instance.new("SpecialMesh", p6)
|
| 550 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
| 551 | b6.TextureId = "" | |
| 552 | - | VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998)) |
| 552 | + | b6.MeshType = Enum.MeshType.FileMesh |
| 553 | - | handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642)) |
| 553 | + | b6.Name = "Mesh" |
| 554 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024)) |
| 554 | + | b6.VertexColor = Vector3.new(0, 0, 0) |
| 555 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0)) |
| 555 | + | p7 = Instance.new("Part", m)
|
| 556 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 556 | + | p7.BrickColor = BrickColor.new("Teal")
|
| 557 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012)) |
| 557 | + | p7.FormFactor = Enum.FormFactor.Symmetric |
| 558 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008)) |
| 558 | + | p7.Transparency = 1 |
| 559 | - | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 559 | + | p7.Size = Vector3.new(1, 1, 1) |
| 560 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998)) |
| 560 | + | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) |
| 561 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046)) |
| 561 | + | p7.CanCollide = false |
| 562 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998)) |
| 562 | + | p7.Locked = true |
| 563 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854)) |
| 563 | + | p7.BottomSurface = Enum.SurfaceType.Smooth |
| 564 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 564 | + | p7.TopSurface = Enum.SurfaceType.Smooth |
| 565 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014)) |
| 565 | + | b7 = Instance.new("SpecialMesh", p7)
|
| 566 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 566 | + | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" |
| 567 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 567 | + | b7.TextureId = "" |
| 568 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014)) |
| 568 | + | b7.MeshType = Enum.MeshType.FileMesh |
| 569 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 569 | + | b7.Name = "Mesh" |
| 570 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 570 | + | b7.VertexColor = Vector3.new(0, 0, 0) |
| 571 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014)) |
| 571 | + | p8 = Instance.new("Part", m)
|
| 572 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 572 | + | p8.BrickColor = BrickColor.new("Bright bluish green")
|
| 573 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 573 | + | p8.FormFactor = Enum.FormFactor.Symmetric |
| 574 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014)) |
| 574 | + | p8.Size = Vector3.new(1, 1, 1) |
| 575 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 575 | + | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) |
| 576 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 576 | + | p8.CanCollide = false |
| 577 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014)) |
| 577 | + | p8.Transparency = 1 |
| 578 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 578 | + | p8.Locked = true |
| 579 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) |
| 579 | + | p8.BottomSurface = Enum.SurfaceType.Smooth |
| 580 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008)) |
| 580 | + | p8.TopSurface = Enum.SurfaceType.Smooth |
| 581 | - | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 581 | + | b8 = Instance.new("SpecialMesh", p8)
|
| 582 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012)) |
| 582 | + | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 583 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008)) |
| 583 | + | b8.TextureId = "" |
| 584 | - | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 584 | + | b8.MeshType = Enum.MeshType.FileMesh |
| 585 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003)) |
| 585 | + | b8.Name = "Mesh" |
| 586 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854)) |
| 586 | + | b8.VertexColor = Vector3.new(0, 0, 0) |
| 587 | - | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 587 | + | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
| 588 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) |
| 588 | + | p9 = Instance.new("Part", m)
|
| 589 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008)) |
| 589 | + | p9.BrickColor = BrickColor.new("Teal")
|
| 590 | - | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 590 | + | p9.FormFactor = Enum.FormFactor.Symmetric |
| 591 | - | FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003)) |
| 591 | + | p9.Size = Vector3.new(2, 1, 2) |
| 592 | - | FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642)) |
| 592 | + | p9.Transparency = 1 |
| 593 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) |
| 593 | + | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) |
| 594 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642)) |
| 594 | + | p9.CanCollide = false |
| 595 | - | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 595 | + | p9.Locked = true |
| 596 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036)) |
| 596 | + | p9.BottomSurface = Enum.SurfaceType.Smooth |
| 597 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927)) |
| 597 | + | p9.TopSurface = Enum.SurfaceType.Smooth |
| 598 | - | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 598 | + | b9 = Instance.new("SpecialMesh", p9)
|
| 599 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003)) |
| 599 | + | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" |
| 600 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212)) |
| 600 | + | b9.TextureId = "" |
| 601 | - | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 601 | + | b9.MeshType = Enum.MeshType.FileMesh |
| 602 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) |
| 602 | + | b9.Name = "Mesh" |
| 603 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139)) |
| 603 | + | b9.VertexColor = Vector3.new(0, 0, 0) |
| 604 | - | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 604 | + | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) |
| 605 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993)) |
| 605 | + | p10 = Instance.new("Part", m)
|
| 606 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015)) |
| 606 | + | p10.BrickColor = BrickColor.new("Teal")
|
| 607 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
|
| 607 | + | p10.Transparency = 1 |
| 608 | - | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024)) |
| 608 | + | p10.FormFactor = Enum.FormFactor.Symmetric |
| 609 | - | Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0)) |
| 609 | + | p10.Size = Vector3.new(1, 1, 1) |
| 610 | - | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
|
| 610 | + | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) |
| 611 | - | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001)) |
| 611 | + | p10.CanCollide = false |
| 612 | - | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1)) |
| 612 | + | p10.Locked = true |
| 613 | - | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
|
| 613 | + | p10.BottomSurface = Enum.SurfaceType.Smooth |
| 614 | - | local Decal1 = Instance.new("Decal",FlagLogo)
|
| 614 | + | p10.TopSurface = Enum.SurfaceType.Smooth |
| 615 | - | Decal1.Texture = "http://www.roblox.com/asset/?id=201788175" |
| 615 | + | b10 = Instance.new("SpecialMesh", p10)
|
| 616 | - | Decal1.Face = "Front" |
| 616 | + | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 617 | - | local Decal2 = Instance.new("Decal",FlagLogo)
|
| 617 | + | b10.TextureId = "" |
| 618 | - | Decal2.Texture = "http://www.roblox.com/asset/?id=201788175" |
| 618 | + | b10.MeshType = Enum.MeshType.FileMesh |
| 619 | - | Decal2.Face = "Back" |
| 619 | + | b10.Name = "Mesh" |
| 620 | - | Humanoid.WalkSpeed = 70 |
| 620 | + | b10.VertexColor = Vector3.new(0, 0, 0) |
| 621 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 622 | - | function ALLAHUAKBAR() |
| 622 | + | p11 = Instance.new("Part", m)
|
| 623 | - | attack = true |
| 623 | + | p11.BrickColor = BrickColor.new("Teal")
|
| 624 | - | local speak = {"FOR ALLAH"}
|
| 624 | + | p11.Transparency = 1 |
| 625 | - | local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
|
| 625 | + | p11.FormFactor = Enum.FormFactor.Symmetric |
| 626 | - | local chat = game:GetService("Chat")
|
| 626 | + | p11.Size = Vector3.new(1, 1, 1) |
| 627 | - | chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] ) |
| 627 | + | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) |
| 628 | - | for i = 0,1,0.05 do |
| 628 | + | p11.CanCollide = false |
| 629 | - | swait() |
| 629 | + | p11.Locked = true |
| 630 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) |
| 630 | + | p11.BottomSurface = Enum.SurfaceType.Smooth |
| 631 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3) |
| 631 | + | p11.TopSurface = Enum.SurfaceType.Smooth |
| 632 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) |
| 632 | + | b11 = Instance.new("SpecialMesh", p11)
|
| 633 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 633 | + | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 634 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 634 | + | b11.TextureId = "" |
| 635 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 635 | + | b11.MeshType = Enum.MeshType.FileMesh |
| 636 | b11.Name = "Mesh" | |
| 637 | - | for i = 0,1,0.05 do |
| 637 | + | b11.VertexColor = Vector3.new(0, 0, 0) |
| 638 | - | swait() |
| 638 | + | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
| 639 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) |
| 639 | + | p12 = Instance.new("Part", m)
|
| 640 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3) |
| 640 | + | p12.BrickColor = BrickColor.new("Bright bluish green")
|
| 641 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3) |
| 641 | + | p12.FormFactor = Enum.FormFactor.Custom |
| 642 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 642 | + | p12.Size = Vector3.new(1, 3.5, 1) |
| 643 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 643 | + | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) |
| 644 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 644 | + | p12.CanCollide = false |
| 645 | p12.Transparency = 1 | |
| 646 | - | for i = 1,20 do |
| 646 | + | p12.Locked = true |
| 647 | - | --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
|
| 647 | + | p12.BottomSurface = Enum.SurfaceType.Smooth |
| 648 | - | so("rbxassetid://134854740",Torso,1,1.3)
|
| 648 | + | p12.TopSurface = Enum.SurfaceType.Smooth |
| 649 | - | so("rbxassetid://324445205",workspace,1,1)
|
| 649 | + | b12 = Instance.new("SpecialMesh", p12)
|
| 650 | - | so("rbxassetid://137994058",Torso,1,1)
|
| 650 | + | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 651 | - | so("rbxassetid://165969964",Torso,1,1)
|
| 651 | + | b12.TextureId = "" |
| 652 | - | local S = Instance.new("Explosion",workspace)
|
| 652 | + | b12.MeshType = Enum.MeshType.FileMesh |
| 653 | - | S.Position = Torso.Position |
| 653 | + | b12.Name = "Mesh" |
| 654 | - | S.BlastPressure = 50 |
| 654 | + | b12.VertexColor = Vector3.new(0, 0, 0) |
| 655 | - | S.BlastRadius = 50000000000000000000000000000 |
| 655 | + | b12.Scale = Vector3.new(1, 3, 1.29999995) |
| 656 | - | S.ExplosionType = 1 |
| 656 | + | p13 = Instance.new("Part", m)
|
| 657 | p13.Transparency = 1 | |
| 658 | - | attack = false |
| 658 | + | p13.BrickColor = BrickColor.new("Teal")
|
| 659 | p13.FormFactor = Enum.FormFactor.Custom | |
| 660 | p13.Size = Vector3.new(1, 2, 1) | |
| 661 | - | mouse.Button1Down:connect(function() |
| 661 | + | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) |
| 662 | - | ALLAHUAKBAR() |
| 662 | + | p13.CanCollide = false |
| 663 | p13.Locked = true | |
| 664 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 665 | - | mouse.KeyDown:connect(function(k) |
| 665 | + | p13.TopSurface = Enum.SurfaceType.Smooth |
| 666 | - | k=k:lower() |
| 666 | + | b13 = Instance.new("SpecialMesh", p13)
|
| 667 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 668 | b13.TextureId = "" | |
| 669 | b13.MeshType = Enum.MeshType.FileMesh | |
| 670 | b13.Name = "Mesh" | |
| 671 | b13.VertexColor = Vector3.new(0, 0, 0) | |
| 672 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
| 673 | p14 = Instance.new("Part", m)
| |
| 674 | p14.Transparency = 1 | |
| 675 | - | while true do |
| 675 | + | p14.BrickColor = BrickColor.new("Teal")
|
| 676 | - | swait() |
| 676 | + | p14.FormFactor = Enum.FormFactor.Custom |
| 677 | p14.Size = Vector3.new(1, 2, 1) | |
| 678 | - | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude |
| 678 | + | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) |
| 679 | - | local velderp=RootPart.Velocity.y |
| 679 | + | p14.CanCollide = false |
| 680 | - | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) |
| 680 | + | p14.Locked = true |
| 681 | - | if equipped==true or equipped==false then |
| 681 | + | p14.BottomSurface = Enum.SurfaceType.Smooth |
| 682 | - | if attack==false then |
| 682 | + | p14.TopSurface = Enum.SurfaceType.Smooth |
| 683 | - | idle=idle+1 |
| 683 | + | b14 = Instance.new("SpecialMesh", p14)
|
| 684 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 685 | - | idle=0 |
| 685 | + | b14.TextureId = "" |
| 686 | b14.MeshType = Enum.MeshType.FileMesh | |
| 687 | - | if idle>=500 then |
| 687 | + | b14.Name = "Mesh" |
| 688 | - | if attack==false then |
| 688 | + | b14.VertexColor = Vector3.new(0, 0, 0) |
| 689 | - | --Sheath() |
| 689 | + | b14.Scale = Vector3.new(1, 3, 1.29999995) |
| 690 | p15 = Instance.new("Part", m)
| |
| 691 | p15.BrickColor = BrickColor.new("Bright bluish green")
| |
| 692 | - | if RootPart.Velocity.y > 1 and hitfloor==nil then |
| 692 | + | p15.FormFactor = Enum.FormFactor.Custom |
| 693 | - | Anim="Jump" |
| 693 | + | p15.Size = Vector3.new(1, 2.5, 1) |
| 694 | - | if attack==false then |
| 694 | + | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) |
| 695 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 695 | + | p15.CanCollide = false |
| 696 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) |
| 696 | + | p15.Transparency = 1 |
| 697 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) |
| 697 | + | p15.Locked = true |
| 698 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) |
| 698 | + | p15.BottomSurface = Enum.SurfaceType.Smooth |
| 699 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) |
| 699 | + | p15.TopSurface = Enum.SurfaceType.Smooth |
| 700 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) |
| 700 | + | b15 = Instance.new("SpecialMesh", p15)
|
| 701 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 702 | - | elseif RootPart.Velocity.y < -1 and hitfloor==nil then |
| 702 | + | b15.TextureId = "" |
| 703 | - | Anim="Fall" |
| 703 | + | b15.MeshType = Enum.MeshType.FileMesh |
| 704 | - | if attack==false then |
| 704 | + | b15.Name = "Mesh" |
| 705 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) |
| 705 | + | b15.VertexColor = Vector3.new(0, 0, 0) |
| 706 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) |
| 706 | + | b15.Scale = Vector3.new(1, 3, 1.29999995) |
| 707 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3) |
| 707 | + | p16 = Instance.new("Part", m)
|
| 708 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) |
| 708 | + | p16.BrickColor = BrickColor.new("Teal")
|
| 709 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
| 709 | + | p16.FormFactor = Enum.FormFactor.Custom |
| 710 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) |
| 710 | + | p16.Size = Vector3.new(1, 2.5, 1) |
| 711 | p16.Transparency = 1 | |
| 712 | - | elseif torvel<1 and hitfloor~=nil then |
| 712 | + | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) |
| 713 | - | Anim="Idle" |
| 713 | + | p16.CanCollide = false |
| 714 | - | if attack==false then |
| 714 | + | p16.Locked = true |
| 715 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3) |
| 715 | + | p16.BottomSurface = Enum.SurfaceType.Smooth |
| 716 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3) |
| 716 | + | p16.TopSurface = Enum.SurfaceType.Smooth |
| 717 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3) |
| 717 | + | b16 = Instance.new("SpecialMesh", p16)
|
| 718 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) |
| 718 | + | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 719 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 719 | + | b16.TextureId = "" |
| 720 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) |
| 720 | + | b16.MeshType = Enum.MeshType.FileMesh |
| 721 | b16.Name = "Mesh" | |
| 722 | - | elseif torvel>2 and hitfloor~=nil then |
| 722 | + | b16.VertexColor = Vector3.new(0, 0, 0) |
| 723 | - | Anim="Walk" |
| 723 | + | b16.Scale = Vector3.new(1, 3, 1.29999995) |
| 724 | - | if attack==false then |
| 724 | + | p17 = Instance.new("Part", m)
|
| 725 | - | change=3 |
| 725 | + | p17.BrickColor = BrickColor.new("Bright bluish green")
|
| 726 | - | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) |
| 726 | + | p17.Transparency = 1 |
| 727 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) |
| 727 | + | p17.FormFactor = Enum.FormFactor.Custom |
| 728 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3) |
| 728 | + | p17.Size = Vector3.new(1, 2.4000001, 1) |
| 729 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3) |
| 729 | + | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) |
| 730 | - | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 730 | + | p17.CanCollide = false |
| 731 | - | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) |
| 731 | + | p17.Locked = true |
| 732 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 733 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 734 | b17 = Instance.new("SpecialMesh", p17)
| |
| 735 | - | if #Effects>0 then |
| 735 | + | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" |
| 736 | - | --table.insert(Effects,{prt,"Block1",delay})
|
| 736 | + | b17.TextureId = "" |
| 737 | - | for e=1,#Effects do |
| 737 | + | b17.MeshType = Enum.MeshType.FileMesh |
| 738 | - | if Effects[e]~=nil then |
| 738 | + | b17.Name = "Mesh" |
| 739 | - | --for j=1,#Effects[e] do |
| 739 | + | b17.VertexColor = Vector3.new(0, 0, 0) |
| 740 | - | local Thing=Effects[e] |
| 740 | + | b17.Scale = Vector3.new(1, 3, 1.29999995) |
| 741 | - | if Thing~=nil then |
| 741 | + | p18 = Instance.new("Part", m)
|
| 742 | - | local Part=Thing[1] |
| 742 | + | p18.BrickColor = BrickColor.new("Teal")
|
| 743 | - | local Mode=Thing[2] |
| 743 | + | p18.FormFactor = Enum.FormFactor.Custom |
| 744 | - | local Delay=Thing[3] |
| 744 | + | p18.Size = Vector3.new(2, 2, 2) |
| 745 | - | local IncX=Thing[4] |
| 745 | + | p18.Transparency = 1 |
| 746 | - | local IncY=Thing[5] |
| 746 | + | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) |
| 747 | - | local IncZ=Thing[6] |
| 747 | + | p18.CanCollide = false |
| 748 | - | if Thing[1].Transparency<=1 then |
| 748 | + | p18.Locked = true |
| 749 | - | if Thing[2]=="Block1" then |
| 749 | + | p18.BottomSurface = Enum.SurfaceType.Smooth |
| 750 | - | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
| 750 | + | p18.TopSurface = Enum.SurfaceType.Smooth |
| 751 | - | Mesh=Thing[1].Mesh |
| 751 | + | b18 = Instance.new("SpecialMesh", p18)
|
| 752 | - | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 752 | + | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" |
| 753 | - | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 753 | + | b18.TextureId = "" |
| 754 | - | elseif Thing[2]=="Cylinder" then |
| 754 | + | b18.MeshType = Enum.MeshType.FileMesh |
| 755 | - | Mesh=Thing[1].Mesh |
| 755 | + | b18.Name = "Mesh" |
| 756 | - | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 756 | + | b18.VertexColor = Vector3.new(0, 0, 0) |
| 757 | - | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 757 | + | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) |
| 758 | - | elseif Thing[2]=="Blood" then |
| 758 | + | w1 = Instance.new("Weld", p1)
|
| 759 | - | Mesh=Thing[7] |
| 759 | + | w1.Name = "Head_Weld" |
| 760 | - | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) |
| 760 | + | w1.Part0 = p1 |
| 761 | - | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) |
| 761 | + | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) |
| 762 | - | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 762 | + | w1.Part1 = p2 |
| 763 | - | elseif Thing[2]=="Elec" then |
| 763 | + | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) |
| 764 | - | Mesh=Thing[1].Mesh |
| 764 | + | w2 = Instance.new("Weld", p2)
|
| 765 | - | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) |
| 765 | + | w2.Name = "Part_Weld" |
| 766 | - | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 766 | + | w2.Part0 = p2 |
| 767 | - | elseif Thing[2]=="Disappear" then |
| 767 | + | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) |
| 768 | - | Thing[1].Transparency=Thing[1].Transparency+Thing[3] |
| 768 | + | w2.Part1 = p3 |
| 769 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 770 | w3 = Instance.new("Weld", p3)
| |
| 771 | - | Part.Parent=nil |
| 771 | + | w3.Name = "Part_Weld" |
| 772 | - | table.remove(Effects,e) |
| 772 | + | w3.Part0 = p3 |
| 773 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 774 | w3.Part1 = p4 | |
| 775 | - | --end |
| 775 | + | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) |
| 776 | w4 = Instance.new("Weld", p4)
| |
| 777 | w4.Name = "Part_Weld" | |
| 778 | w4.Part0 = p4 | |
| 779 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
| 780 | w4.Part1 = p5 | |
| 781 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 782 | w5 = Instance.new("Weld", p5)
| |
| 783 | w5.Name = "Part_Weld" | |
| 784 | w5.Part0 = p5 | |
| 785 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 786 | w5.Part1 = p6 | |
| 787 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 788 | w6 = Instance.new("Weld", p6)
| |
| 789 | w6.Name = "Part_Weld" | |
| 790 | w6.Part0 = p6 | |
| 791 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 792 | w6.Part1 = p7 | |
| 793 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 794 | w7 = Instance.new("Weld", p7)
| |
| 795 | w7.Name = "Part_Weld" | |
| 796 | w7.Part0 = p7 | |
| 797 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 798 | w7.Part1 = p8 | |
| 799 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 800 | w8 = Instance.new("Weld", p8)
| |
| 801 | w8.Name = "Part_Weld" | |
| 802 | w8.Part0 = p8 | |
| 803 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 804 | w8.Part1 = p9 | |
| 805 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 806 | w9 = Instance.new("Weld", p9)
| |
| 807 | w9.Name = "Part_Weld" | |
| 808 | w9.Part0 = p9 | |
| 809 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 810 | w9.Part1 = p10 | |
| 811 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 812 | w10 = Instance.new("Weld", p10)
| |
| 813 | w10.Name = "Part_Weld" | |
| 814 | w10.Part0 = p10 | |
| 815 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 816 | w10.Part1 = p11 | |
| 817 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 818 | w11 = Instance.new("Weld", p11)
| |
| 819 | w11.Name = "Part_Weld" | |
| 820 | w11.Part0 = p11 | |
| 821 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 822 | w11.Part1 = p12 | |
| 823 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 824 | w12 = Instance.new("Weld", p12)
| |
| 825 | w12.Name = "Part_Weld" | |
| 826 | w12.Part0 = p12 | |
| 827 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 828 | w12.Part1 = p13 | |
| 829 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 830 | w13 = Instance.new("Weld", p13)
| |
| 831 | w13.Name = "Part_Weld" | |
| 832 | w13.Part0 = p13 | |
| 833 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 834 | w13.Part1 = p14 | |
| 835 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 836 | w14 = Instance.new("Weld", p14)
| |
| 837 | w14.Name = "Part_Weld" | |
| 838 | w14.Part0 = p14 | |
| 839 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 840 | w14.Part1 = p15 | |
| 841 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 842 | w15 = Instance.new("Weld", p15)
| |
| 843 | w15.Name = "Part_Weld" | |
| 844 | w15.Part0 = p15 | |
| 845 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 846 | w15.Part1 = p16 | |
| 847 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 848 | w16 = Instance.new("Weld", p16)
| |
| 849 | w16.Name = "Part_Weld" | |
| 850 | w16.Part0 = p16 | |
| 851 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 852 | w16.Part1 = p17 | |
| 853 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 854 | w17 = Instance.new("Weld", p17)
| |
| 855 | w17.Name = "Part_Weld" | |
| 856 | w17.Part0 = p17 | |
| 857 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 858 | w17.Part1 = p18 | |
| 859 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
| 860 | m.Parent = char | |
| 861 | m:MakeJoints() | |
| 862 | ||
| 863 | ||
| 864 | ---------------------------------------------------- | |
| 865 | local cor = Instance.new("Part", char.Hair)
| |
| 866 | cor.Name = "Link" | |
| 867 | cor.Locked = true | |
| 868 | cor.BottomSurface = 0 | |
| 869 | cor.CanCollide = false | |
| 870 | cor.Size = Vector3.new(1, 9, 1) | |
| 871 | cor.Transparency = 1 | |
| 872 | cor.TopSurface = 0 | |
| 873 | corw = Instance.new("Weld", cor)
| |
| 874 | corw.Part0 = hed | |
| 875 | corw.Part1 = cor | |
| 876 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 877 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 878 | weld1 = Instance.new("Weld", char.Hair)
| |
| 879 | weld1.Part0 = cor | |
| 880 | weld1.Part1 = char.Hair.Head | |
| 881 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 882 | ----------------------------------------------------betterhair | |
| 883 | pr = Instance.new("Part",hed)
| |
| 884 | pr.BrickColor = BrickColor.new("Bright bluish green")
| |
| 885 | pr.Material = "Metal" | |
| 886 | pr.Reflectance = 0.04 | |
| 887 | pr.Anchored = false | |
| 888 | pr.CanCollide = false | |
| 889 | pr.Archivable = false | |
| 890 | pr.Locked = true | |
| 891 | pr.Size = Vector3.new(1,1,1) | |
| 892 | prm = Instance.new("SpecialMesh",pr)
| |
| 893 | prm.MeshType = "FileMesh" | |
| 894 | prm.MeshId = "rbxassetid://560718478" | |
| 895 | prm.Scale = Vector3.new(6,6,6) | |
| 896 | newWeld(hed, pr, 0, 0, 0) | |
| 897 | pr.Weld.C1 = CFrame.new(0,-.8,-.43) * CFrame.Angles(0,0,0) | |
| 898 | ---------------------------------------------------- | |
| 899 | ||
| 900 | GroundWave1 = function() | |
| 901 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 902 | local Colors = {"Teal", "Bright bluish green"}
| |
| 903 | local wave = Instance.new("Part", torso)
| |
| 904 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 905 | wave.Anchored = true | |
| 906 | wave.CanCollide = false | |
| 907 | wave.Locked = true | |
| 908 | wave.Size = Vector3.new(1, 1, 1) | |
| 909 | wave.TopSurface = "Smooth" | |
| 910 | wave.BottomSurface = "Smooth" | |
| 911 | wave.Transparency = 0.35 | |
| 912 | wave.CFrame = HandCF | |
| 913 | wm = Instance.new("SpecialMesh", wave)
| |
| 914 | wm.MeshId = "rbxassetid://24388358" | |
| 915 | coroutine.wrap(function() | |
| 916 | for i = 1, 30, 1 do | |
| 917 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
| 918 | wave.Size = wm.Scale | |
| 919 | wave.CFrame = HandCF | |
| 920 | wave.Transparency = i/30 | |
| 921 | wait() | |
| 922 | end | |
| 923 | wait() | |
| 924 | wave:Destroy() | |
| 925 | end)() | |
| 926 | end | |
| 927 | ---------------------------------------------------- | |
| 928 | GroundWave = function() | |
| 929 | if Transforming == true then | |
| 930 | local wave = Instance.new("Part", torso)
| |
| 931 | wave.BrickColor = BrickColor.new("Bright bluish green")
| |
| 932 | wave.Anchored = true | |
| 933 | wave.CanCollide = false | |
| 934 | wave.Locked = true | |
| 935 | wave.Size = Vector3.new(1, 1, 1) | |
| 936 | wave.TopSurface = "Smooth" | |
| 937 | wave.BottomSurface = "Smooth" | |
| 938 | wave.Transparency = 0.35 | |
| 939 | wave.CFrame = fx.CFrame | |
| 940 | wm = Instance.new("SpecialMesh", wave)
| |
| 941 | wm.MeshType = "Sphere" | |
| 942 | wm.Scale = Vector3.new(1,1,1) | |
| 943 | coroutine.wrap(function() | |
| 944 | for i = 1, 18, 1 do | |
| 945 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
| 946 | --wave.Size = wm.Scale | |
| 947 | wave.CFrame = fx.CFrame | |
| 948 | wave.Transparency = i/14 | |
| 949 | wait() | |
| 950 | end | |
| 951 | wait() | |
| 952 | wave:Destroy() | |
| 953 | end)() | |
| 954 | elseif Transforming == false then | |
| 955 | wait() | |
| 956 | end | |
| 957 | end | |
| 958 | ||
| 959 | for i = 1, 100 do rs:wait() | |
| 960 | fx.CFrame = torso.CFrame | |
| 961 | end | |
| 962 | ||
| 963 | Spawn(function() | |
| 964 | while wait(1) do | |
| 965 | GroundWave() | |
| 966 | end | |
| 967 | end) | |
| 968 | ||
| 969 | wait(4) | |
| 970 | ||
| 971 | Transforming = false | |
| 972 | ||
| 973 | for i = 1, 20 do rs:wait() | |
| 974 | fx.Transparency = fx.Transparency + (1/20) | |
| 975 | fx.CFrame = torso.CFrame | |
| 976 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
| 977 | rs:wait() | |
| 978 | end | |
| 979 | ||
| 980 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 981 | local wave = Instance.new("Part", torso)
| |
| 982 | wave.BrickColor = BrickColor.new("Institutional white")
| |
| 983 | wave.Anchored = true | |
| 984 | wave.CanCollide = false | |
| 985 | wave.Locked = true | |
| 986 | wave.Size = Vector3.new(1, 1, 1) | |
| 987 | wave.TopSurface = "Smooth" | |
| 988 | wave.BottomSurface = "Smooth" | |
| 989 | wave.Transparency = 0.35 | |
| 990 | wave.CFrame = HandCF | |
| 991 | wm = Instance.new("SpecialMesh", wave)
| |
| 992 | wm.MeshId = "rbxassetid://24388358" | |
| 993 | coroutine.wrap(function() | |
| 994 | for i = 1, 14, 1 do | |
| 995 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 996 | wave.Size = wm.Scale | |
| 997 | wave.CFrame = HandCF | |
| 998 | wave.Transparency = i/14 | |
| 999 | wait() | |
| 1000 | end | |
| 1001 | wait() | |
| 1002 | wave:Destroy() | |
| 1003 | end)() | |
| 1004 | hum.WalkSpeed = 16 | |
| 1005 | ---------------------------------------------------- | |
| 1006 | Blast = function() | |
| 1007 | local Colors = {"Bright bluish green", "Teal"}
| |
| 1008 | local wave = Instance.new("Part", torso)
| |
| 1009 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1010 | wave.Anchored = true | |
| 1011 | wave.CanCollide = false | |
| 1012 | wave.Locked = true | |
| 1013 | wave.Size = Vector3.new(1, 1, 1) | |
| 1014 | wave.TopSurface = "Smooth" | |
| 1015 | wave.BottomSurface = "Smooth" | |
| 1016 | wave.Transparency = 0.35 | |
| 1017 | wave.CFrame = rarm.CFrame | |
| 1018 | wm = Instance.new("SpecialMesh", wave)
| |
| 1019 | wm.MeshType = "Sphere" | |
| 1020 | wm.Scale = Vector3.new(1,1,1) | |
| 1021 | z = Instance.new("Sound",wave)
| |
| 1022 | z.SoundId = "rbxassetid://237035051" | |
| 1023 | z.Volume = 1 | |
| 1024 | z.Pitch = .9 | |
| 1025 | z:Play() | |
| 1026 | coroutine.wrap(function() | |
| 1027 | for i = 1, 30, 1 do | |
| 1028 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 1029 | --wave.Size = wm.Scale | |
| 1030 | wave.CFrame = rarm.CFrame | |
| 1031 | wave.Transparency = (1/14) | |
| 1032 | rs:wait() | |
| 1033 | end | |
| 1034 | rs:wait() | |
| 1035 | wave:Destroy() | |
| 1036 | z:Destroy() | |
| 1037 | end)() | |
| 1038 | end | |
| 1039 | ||
| 1040 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1041 | local a= Part(1,1,1,col1,.5,false,true,game:GetService("Workspace"))
| |
| 1042 | local a2= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace"))
| |
| 1043 | local a3= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace"))
| |
| 1044 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1045 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1046 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1047 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1048 | a.CFrame=cfr | |
| 1049 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1050 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1051 | for i,v in pairs(game:GetService("Workspace"):children()) do
| |
| 1052 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 1053 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then
| |
| 1054 | if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= char.Name then
| |
| 1055 | local hit=v | |
| 1056 | hit.Humanoid.Health=v.Humanoid.Health-dmg | |
| 1057 | hit.Humanoid.PlatformStand=true | |
| 1058 | hit.Torso.Velocity=Vector3.new(math.random(-100,100),100,math.random(- 100,-100)) | |
| 1059 | wait(.1) | |
| 1060 | Spawn(function()wait(2)hit.Humanoid.PlatformStand=false end) | |
| 1061 | end | |
| 1062 | end | |
| 1063 | end | |
| 1064 | end | |
| 1065 | Spawn(function() | |
| 1066 | while wait() do | |
| 1067 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1068 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1069 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 1070 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 1071 | a.Transparency=a.Transparency+0.05 | |
| 1072 | a2.Transparency=a2.Transparency+0.05 | |
| 1073 | a3.Transparency=a3.Transparency+0.05 | |
| 1074 | end | |
| 1075 | end) | |
| 1076 | end | |
| 1077 | ||
| 1078 | ---------------------------------------------------- | |
| 1079 | rarm.Touched:connect(function(ht) | |
| 1080 | hit = ht.Parent | |
| 1081 | if ht and hit:IsA("Model") then
| |
| 1082 | if hit:FindFirstChild("Humanoid") then
| |
| 1083 | if hit.Name ~= p.Name then | |
| 1084 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1085 | Debounces.RPunched = true | |
| 1086 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1087 | if Debounces.ks==true then | |
| 1088 | z = Instance.new("Sound",hed)
| |
| 1089 | z.SoundId = "rbxassetid://169380525" | |
| 1090 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1091 | z.Volume = 1 | |
| 1092 | z:Play() | |
| 1093 | end | |
| 1094 | wait(.2) | |
| 1095 | Debounces.RPunched = false | |
| 1096 | end | |
| 1097 | end | |
| 1098 | end | |
| 1099 | elseif ht and hit:IsA("Hat") then
| |
| 1100 | if hit.Parent.Name ~= p.Name then | |
| 1101 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1102 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1103 | Debounces.RPunched = true | |
| 1104 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1105 | if Debounces.ks==true then | |
| 1106 | z = Instance.new("Sound",hed)
| |
| 1107 | z.SoundId = "rbxassetid://169380525" | |
| 1108 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1109 | z.Volume = 1 | |
| 1110 | z:Play() | |
| 1111 | end | |
| 1112 | wait(.2) | |
| 1113 | Debounces.RPunched = false | |
| 1114 | end | |
| 1115 | end | |
| 1116 | end | |
| 1117 | end | |
| 1118 | end) | |
| 1119 | larm.Touched:connect(function(ht) | |
| 1120 | hit = ht.Parent | |
| 1121 | if ht and hit:IsA("Model") then
| |
| 1122 | if hit:FindFirstChild("Humanoid") then
| |
| 1123 | if hit.Name ~= p.Name then | |
| 1124 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1125 | Debounces.LPunched = true | |
| 1126 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1127 | if Debounces.ks2==true then | |
| 1128 | z = Instance.new("Sound",hed)
| |
| 1129 | z.SoundId = "rbxassetid://169380525" | |
| 1130 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1131 | z.Volume = 1 | |
| 1132 | z:Play() | |
| 1133 | end | |
| 1134 | wait(.2) | |
| 1135 | Debounces.LPunched = false | |
| 1136 | end | |
| 1137 | end | |
| 1138 | end | |
| 1139 | elseif ht and hit:IsA("Hat") then
| |
| 1140 | if hit.Parent.Name ~= p.Name then | |
| 1141 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1142 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1143 | Debounces.LPunched = true | |
| 1144 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1145 | if Debounces.ks2==true then | |
| 1146 | z = Instance.new("Sound",hed)
| |
| 1147 | z.SoundId = "rbxassetid://169380525" | |
| 1148 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1149 | z.Volume = 1 | |
| 1150 | z:Play() | |
| 1151 | end | |
| 1152 | wait(.2) | |
| 1153 | Debounces.LPunched = false | |
| 1154 | end | |
| 1155 | end | |
| 1156 | end | |
| 1157 | end | |
| 1158 | end) | |
| 1159 | ---------------------------------------------------- | |
| 1160 | ||
| 1161 | mod4 = Instance.new("Model",char)
| |
| 1162 | ||
| 1163 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1164 | ||
| 1165 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1166 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1167 | local List = {}
| |
| 1168 | for i,v in pairs(workspace:GetChildren())do | |
| 1169 | if v:IsA("Model")then
| |
| 1170 | if v:findFirstChild("Torso")then
| |
| 1171 | if v ~= char then | |
| 1172 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1173 | table.insert(List,v) | |
| 1174 | end | |
| 1175 | end | |
| 1176 | end | |
| 1177 | end | |
| 1178 | end | |
| 1179 | return List | |
| 1180 | end | |
| 1181 | ||
| 1182 | function Punch() | |
| 1183 | part=Instance.new('Part',mod4)
| |
| 1184 | part.Anchored=true | |
| 1185 | part.CanCollide=false | |
| 1186 | part.FormFactor='Custom' | |
| 1187 | part.Size=Vector3.new(.2,.2,.2) | |
| 1188 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1189 | part.Transparency=.7 | |
| 1190 | part.BrickColor=BrickColor.new('Bright bluish green')
| |
| 1191 | mesh=Instance.new('SpecialMesh',part)
| |
| 1192 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
| 1193 | mesh.Scale=Vector3.new(3,3,3) | |
| 1194 | part2=Instance.new('Part',mod4)
| |
| 1195 | part2.Anchored=true | |
| 1196 | part2.CanCollide=false | |
| 1197 | part2.FormFactor='Custom' | |
| 1198 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1199 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1200 | part2.Transparency=.7 | |
| 1201 | part2.BrickColor=BrickColor.new('Bright bluish green')
| |
| 1202 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1203 | mesh2.MeshId='http://www.roblox.com/asset/?id=24388358' | |
| 1204 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1205 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1206 | if v:FindFirstChild('Humanoid') then
| |
| 1207 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 1208 | end | |
| 1209 | end | |
| 1210 | coroutine.resume(coroutine.create(function() | |
| 1211 | for i=0,0.62,0.4 do | |
| 1212 | wait() | |
| 1213 | part.CFrame=part.CFrame | |
| 1214 | part.Transparency=i | |
| 1215 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1216 | part2.CFrame=part2.CFrame | |
| 1217 | part2.Transparency=i | |
| 1218 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1219 | end | |
| 1220 | part.Parent=nil | |
| 1221 | part2.Parent=nil | |
| 1222 | end)) | |
| 1223 | end | |
| 1224 | ---------------------------------------------------- | |
| 1225 | rarm.Touched:connect(function(ht) | |
| 1226 | hit = ht.Parent | |
| 1227 | if ht and hit:IsA("Model") then
| |
| 1228 | if hit:FindFirstChild("Humanoid") then
| |
| 1229 | if hit.Name ~= p.Name then | |
| 1230 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1231 | Debounces.RPunched = true | |
| 1232 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1233 | if Debounces.ks==true then | |
| 1234 | z = Instance.new("Sound",hed)
| |
| 1235 | z.SoundId = "rbxassetid://169380525" | |
| 1236 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1237 | z.Volume = 1 | |
| 1238 | z:Play() | |
| 1239 | end | |
| 1240 | wait(.2) | |
| 1241 | Debounces.RPunched = false | |
| 1242 | end | |
| 1243 | end | |
| 1244 | end | |
| 1245 | elseif ht and hit:IsA("Hat") then
| |
| 1246 | if hit.Parent.Name ~= p.Name then | |
| 1247 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1248 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1249 | Debounces.RPunched = true | |
| 1250 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1251 | if Debounces.ks==true then | |
| 1252 | z = Instance.new("Sound",hed)
| |
| 1253 | z.SoundId = "rbxassetid://169380525" | |
| 1254 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1255 | z.Volume = 1 | |
| 1256 | z:Play() | |
| 1257 | end | |
| 1258 | wait(.2) | |
| 1259 | Debounces.RPunched = false | |
| 1260 | end | |
| 1261 | end | |
| 1262 | end | |
| 1263 | end | |
| 1264 | end) | |
| 1265 | larm.Touched:connect(function(ht) | |
| 1266 | hit = ht.Parent | |
| 1267 | if ht and hit:IsA("Model") then
| |
| 1268 | if hit:FindFirstChild("Humanoid") then
| |
| 1269 | if hit.Name ~= p.Name then | |
| 1270 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1271 | Debounces.LPunched = true | |
| 1272 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1273 | if Debounces.ks2==true then | |
| 1274 | z = Instance.new("Sound",hed)
| |
| 1275 | z.SoundId = "rbxassetid://169380525" | |
| 1276 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1277 | z.Volume = 1 | |
| 1278 | z:Play() | |
| 1279 | end | |
| 1280 | wait(.2) | |
| 1281 | Debounces.LPunched = false | |
| 1282 | end | |
| 1283 | end | |
| 1284 | end | |
| 1285 | elseif ht and hit:IsA("Hat") then
| |
| 1286 | if hit.Parent.Name ~= p.Name then | |
| 1287 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1288 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1289 | Debounces.LPunched = true | |
| 1290 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1291 | if Debounces.ks2==true then | |
| 1292 | z = Instance.new("Sound",hed)
| |
| 1293 | z.SoundId = "rbxassetid://169380525" | |
| 1294 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1295 | z.Volume = 1 | |
| 1296 | z:Play() | |
| 1297 | end | |
| 1298 | wait(.2) | |
| 1299 | Debounces.LPunched = false | |
| 1300 | end | |
| 1301 | end | |
| 1302 | end | |
| 1303 | end | |
| 1304 | end) | |
| 1305 | ---------------------------------------------------- | |
| 1306 | local player = game.Players.LocalPlayer | |
| 1307 | local pchar = player.Character | |
| 1308 | local mouse = player:GetMouse() | |
| 1309 | local cam = workspace.CurrentCamera | |
| 1310 | ||
| 1311 | local rad = math.rad | |
| 1312 | ||
| 1313 | local keysDown = {}
| |
| 1314 | local flySpeed = 0 | |
| 1315 | local MAX_FLY_SPEED = 150 | |
| 1316 | ||
| 1317 | local canFly = false | |
| 1318 | local flyToggled = false | |
| 1319 | ||
| 1320 | local forward, side = 0, 0 | |
| 1321 | local lastForward, lastSide = 0, 0 | |
| 1322 | ||
| 1323 | local floatBP = Instance.new("BodyPosition")
| |
| 1324 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1325 | local flyBV = Instance.new("BodyVelocity")
| |
| 1326 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1327 | local turnBG = Instance.new("BodyGyro")
| |
| 1328 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1329 | ||
| 1330 | mouse.KeyDown:connect(function(key) | |
| 1331 | keysDown[key] = true | |
| 1332 | ||
| 1333 | if key == "f" then | |
| 1334 | flyToggled = not flyToggled | |
| 1335 | ||
| 1336 | if not flyToggled then | |
| 1337 | stanceToggle = "Normal" | |
| 1338 | floatBP.Parent = nil | |
| 1339 | flyBV.Parent = nil | |
| 1340 | turnBG.Parent = nil | |
| 1341 | root.Velocity = Vector3.new() | |
| 1342 | pchar.Humanoid.PlatformStand = false | |
| 1343 | end | |
| 1344 | end | |
| 1345 | ||
| 1346 | end) | |
| 1347 | mouse.KeyUp:connect(function(key) | |
| 1348 | keysDown[key] = nil | |
| 1349 | end) | |
| 1350 | ||
| 1351 | local function updateFly() | |
| 1352 | ||
| 1353 | if not flyToggled then return end | |
| 1354 | ||
| 1355 | lastForward = forward | |
| 1356 | lastSide = side | |
| 1357 | ||
| 1358 | forward = 0 | |
| 1359 | side = 0 | |
| 1360 | ||
| 1361 | if keysDown.w then | |
| 1362 | forward = forward + 1 | |
| 1363 | end | |
| 1364 | if keysDown.s then | |
| 1365 | forward = forward - 1 | |
| 1366 | end | |
| 1367 | if keysDown.a then | |
| 1368 | side = side - 1 | |
| 1369 | end | |
| 1370 | if keysDown.d then | |
| 1371 | side = side + 1 | |
| 1372 | end | |
| 1373 | ||
| 1374 | canFly = (forward ~= 0 or side ~= 0) | |
| 1375 | ||
| 1376 | if canFly then | |
| 1377 | stanceToggle = "Floating" | |
| 1378 | turnBG.Parent = root | |
| 1379 | floatBP.Parent = nil | |
| 1380 | flyBV.Parent = root | |
| 1381 | ||
| 1382 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1383 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1384 | else | |
| 1385 | floatBP.position = root.Position | |
| 1386 | floatBP.Parent = root | |
| 1387 | ||
| 1388 | flySpeed = flySpeed - 1 | |
| 1389 | if flySpeed < 0 then flySpeed = 0 end | |
| 1390 | end | |
| 1391 | ||
| 1392 | local camCF = cam.CoordinateFrame | |
| 1393 | local in_forward = canFly and forward or lastForward | |
| 1394 | local in_side = canFly and side or lastSide | |
| 1395 | ||
| 1396 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1397 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1398 | ||
| 1399 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1400 | 0) | |
| 1401 | end | |
| 1402 | ||
| 1403 | game:service'RunService'.RenderStepped:connect(function() | |
| 1404 | if flyToggled then | |
| 1405 | pchar.Humanoid.PlatformStand = true | |
| 1406 | end | |
| 1407 | updateFly() | |
| 1408 | end) | |
| 1409 | ------------------------------- | |
| 1410 | ---------------------------------------------------- | |
| 1411 | pt = {0.7, 0.8, 0.9}
| |
| 1412 | mouse.KeyDown:connect(function(key) | |
| 1413 | if key == "h" then | |
| 1414 | if Debounces.CanJoke == true then | |
| 1415 | Debounces.CanJoke = false | |
| 1416 | u = Instance.new("Sound")
| |
| 1417 | u.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
| 1418 | u.Parent = char | |
| 1419 | u.Looped = false | |
| 1420 | u.Pitch = 1 | |
| 1421 | u.Volume = 1 | |
| 1422 | u2 = Instance.new("Sound")
| |
| 1423 | u2.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
| 1424 | u2.Parent = char | |
| 1425 | u2.Looped = false | |
| 1426 | u2.Pitch = 1 | |
| 1427 | u2.Volume = 1 | |
| 1428 | wait(.01) | |
| 1429 | u:Play() | |
| 1430 | u2:Play() | |
| 1431 | wait(6) | |
| 1432 | u:Destroy() | |
| 1433 | u2:Destroy() | |
| 1434 | if Debounces.CanJoke == false then | |
| 1435 | Debounces.CanJoke = true | |
| 1436 | end | |
| 1437 | end | |
| 1438 | end | |
| 1439 | end) | |
| 1440 | ---------------------------------------------------- | |
| 1441 | ---------------------------------------------------- | |
| 1442 | mouse.KeyDown:connect(function(key) | |
| 1443 | if key == "j" then | |
| 1444 | if Debounces.CanJoke == true then | |
| 1445 | Debounces.CanJoke = false | |
| 1446 | u = Instance.new("Sound")
| |
| 1447 | u.SoundId = "http://www.roblox.com/asset/?id=154733167" | |
| 1448 | u.Parent = hed | |
| 1449 | u.Looped = false | |
| 1450 | u.Pitch = 1 | |
| 1451 | u.Volume = 1 | |
| 1452 | wait(.01) | |
| 1453 | u:Play() | |
| 1454 | wait(10) | |
| 1455 | u:Destroy() | |
| 1456 | if Debounces.CanJoke == false then | |
| 1457 | Debounces.CanJoke = true | |
| 1458 | end | |
| 1459 | end | |
| 1460 | end | |
| 1461 | end) | |
| 1462 | ---------------------------------------------------- | |
| 1463 | ||
| 1464 | ---------------------------------------------------- | |
| 1465 | mouse.KeyDown:connect(function(key) | |
| 1466 | if key == "g" then | |
| 1467 | hum.WalkSpeed = 0 | |
| 1468 | if Debounces.CanAttack == true then | |
| 1469 | Debounces.CanAttack = false | |
| 1470 | Debounces.on = true | |
| 1471 | Debounces.NoIdl = true | |
| 1472 | wait(.1) | |
| 1473 | so("http://www.roblox.com/asset/?id=169445572",hed,1.5,1.5)
| |
| 1474 | so("http://www.roblox.com/asset/?id=169380495",hed,1.5,1.5)
| |
| 1475 | for i = 1, 20 do | |
| 1476 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
| 1477 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
| 1478 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
| 1479 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
| 1480 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
| 1481 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
| 1482 | if Debounces.on == false then break end | |
| 1483 | wait() | |
| 1484 | end | |
| 1485 | wait(0.5) | |
| 1486 | local rng = Instance.new("Part", char)
| |
| 1487 | rng.Anchored = true | |
| 1488 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 1489 | rng.CanCollide = false | |
| 1490 | rng.FormFactor = 3 | |
| 1491 | rng.Name = "Ring" | |
| 1492 | rng.Size = Vector3.new(1, 1, 1) | |
| 1493 | rng.Transparency = 0.5 | |
| 1494 | rng.TopSurface = 0 | |
| 1495 | rng.BottomSurface = 0 | |
| 1496 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 1497 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1498 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1499 | rngm.MeshId = "http://www.roblox.com/asset/?id=156292355" | |
| 1500 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1501 | x = Instance.new("Sound",torso)
| |
| 1502 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1503 | x.Looped = false | |
| 1504 | x.Pitch = .7 | |
| 1505 | x.Volume = 2 | |
| 1506 | x:Play() | |
| 1507 | partic2.Enabled = true | |
| 1508 | coroutine.wrap(function() | |
| 1509 | for i = 1, 60, 8 do | |
| 1510 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
| 1511 | rng.Transparency = i/60 | |
| 1512 | wait() | |
| 1513 | end | |
| 1514 | wait() | |
| 1515 | rng:Destroy() | |
| 1516 | end)() | |
| 1517 | hum.WalkSpeed = 50 | |
| 1518 | BV = Instance.new("BodyVelocity", torso)
| |
| 1519 | BV.maxForce = Vector3.new(0,200000,0) | |
| 1520 | BV.P = 100000 | |
| 1521 | BV.velocity = Vector3.new(0,150,0) | |
| 1522 | for i = 1, 20 do | |
| 1523 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
| 1524 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 1525 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 1526 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
| 1527 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 1528 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 1529 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3) | |
| 1530 | if Debounces.on == false then break end | |
| 1531 | wait() | |
| 1532 | end | |
| 1533 | x:Destroy() | |
| 1534 | BV:Destroy() | |
| 1535 | ||
| 1536 | coroutine.resume(coroutine.create(function() | |
| 1537 | for i = 1, 2880, 48 do | |
| 1538 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
| 1539 | rs:wait(4) | |
| 1540 | end | |
| 1541 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1542 | end)) | |
| 1543 | ||
| 1544 | for i = 1, 30 do | |
| 1545 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 1546 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
| 1547 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1548 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1549 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 1550 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 1551 | if Debounces.on == false then break end | |
| 1552 | wait() | |
| 1553 | end | |
| 1554 | ||
| 1555 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 1556 | for i = 1, 30 do | |
| 1557 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
| 1558 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
| 1559 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 1560 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
| 1561 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 1562 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
| 1563 | if Debounces.on == false then break end | |
| 1564 | wait() | |
| 1565 | end | |
| 1566 | end | |
| 1567 | local ry,ht,ps=nil,nil,nil | |
| 1568 | while ht==nil do | |
| 1569 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 1570 | wait() | |
| 1571 | end | |
| 1572 | Landing() | |
| 1573 | z = Instance.new("Sound",torso)
| |
| 1574 | z.SoundId = "rbxassetid://142070127" | |
| 1575 | z.Volume = 2 | |
| 1576 | wait(.1) | |
| 1577 | z:Play() | |
| 1578 | partic2.Enabled = false | |
| 1579 | hum.WalkSpeed = 0 | |
| 1580 | for i = 1, 25 do | |
| 1581 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2) | |
| 1582 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2) | |
| 1583 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2) | |
| 1584 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
| 1585 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
| 1586 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
| 1587 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 229.5, 0), 0.3) | |
| 1588 | if Debounces.on == false then break end | |
| 1589 | wait() | |
| 1590 | end | |
| 1591 | wait(0.2) | |
| 1592 | Debounces.on = false | |
| 1593 | Debounces.NoIdl = false | |
| 1594 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
| 1595 | ||
| 1596 | if Debounces.CanAttack == false then | |
| 1597 | Debounces.CanAttack = true | |
| 1598 | hum.WalkSpeed = 14 | |
| 1599 | end | |
| 1600 | end | |
| 1601 | end | |
| 1602 | end) | |
| 1603 | ---------------------------------------------------- | |
| 1604 | ---------------------------------------------------- | |
| 1605 | ------------------------------- | |
| 1606 | mouse.KeyDown:connect(function(key) | |
| 1607 | if key == "q" then | |
| 1608 | if Debounces.CanAttack == true then | |
| 1609 | Debounces.CanAttack = false | |
| 1610 | Debounces.NoIdl = true | |
| 1611 | Debounces.on = true | |
| 1612 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1613 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1614 | local List = {}
| |
| 1615 | for i,v in pairs(workspace:GetChildren())do | |
| 1616 | if v:IsA("Model")then
| |
| 1617 | if v:findFirstChild("Torso")then
| |
| 1618 | if v ~= char then | |
| 1619 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1620 | table.insert(List,v) | |
| 1621 | end | |
| 1622 | end | |
| 1623 | end | |
| 1624 | end | |
| 1625 | end | |
| 1626 | return List | |
| 1627 | end | |
| 1628 | z = Instance.new("Sound",hed)
| |
| 1629 | z.SoundId = "rbxassetid://232213955" | |
| 1630 | z.Pitch = 1 | |
| 1631 | z.Volume = 1 | |
| 1632 | wait(0.2) | |
| 1633 | z:Play() | |
| 1634 | sp = Instance.new("Part",rarm)
| |
| 1635 | sp.Anchored = true | |
| 1636 | sp.CanCollide = false | |
| 1637 | sp.Locked = true | |
| 1638 | sp.Transparency = 0 | |
| 1639 | sp.Material = "Neon" | |
| 1640 | sp.Size = Vector3.new(1,1,1) | |
| 1641 | sp.TopSurface = "SmoothNoOutlines" | |
| 1642 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1643 | sp.BrickColor = BrickColor.new("Teal")
| |
| 1644 | spm = Instance.new("SpecialMesh",sp)
| |
| 1645 | spm.MeshType = "Sphere" | |
| 1646 | spm.Scale = Vector3.new(21,21,21) | |
| 1647 | sp2 = Instance.new("Part", rarm)
| |
| 1648 | sp2.Name = "Energy" | |
| 1649 | sp2.BrickColor = BrickColor.new("Teal")
| |
| 1650 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1651 | sp2.Shape = "Ball" | |
| 1652 | sp2.CanCollide = false | |
| 1653 | sp2.Anchored = true | |
| 1654 | sp2.Locked = true | |
| 1655 | sp2.TopSurface = 0 | |
| 1656 | sp2.BottomSurface = 0 | |
| 1657 | sp2.Transparency = 1 | |
| 1658 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1659 | spm2.MeshId = "rbxassetid://9982590" | |
| 1660 | spm2.Scale = Vector3.new(2,2,2) | |
| 1661 | for i = 1, 20 do | |
| 1662 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1663 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1664 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 1665 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 1666 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1667 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1668 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1669 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1670 | if Debounces.on == false then break end | |
| 1671 | rs:wait() | |
| 1672 | end | |
| 1673 | for i = 1, 100, 20 do rs:wait() | |
| 1674 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1675 | end | |
| 1676 | for i = 1, 20 do | |
| 1677 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1678 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1679 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 1680 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1681 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1682 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1683 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1684 | if Debounces.on == false then break end | |
| 1685 | rs:wait() | |
| 1686 | end | |
| 1687 | sp.Transparency = 1 | |
| 1688 | for i = 1, 20 do | |
| 1689 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1690 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 1691 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1692 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1693 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1694 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1695 | if Debounces.on == false then break end | |
| 1696 | rs:wait() | |
| 1697 | end | |
| 1698 | wait(1) | |
| 1699 | sp.Transparency = 0 | |
| 1700 | sp2.Transparency = 0.84 | |
| 1701 | for i = 1, 20 do | |
| 1702 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1703 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1704 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1705 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1706 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1707 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1708 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1709 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1710 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1711 | if Debounces.on == false then break end | |
| 1712 | rs:wait() | |
| 1713 | end | |
| 1714 | for i = 1, 2880, 50 do | |
| 1715 | rs:wait() | |
| 1716 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1717 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1718 | rs:wait() | |
| 1719 | end | |
| 1720 | sp:Destroy() | |
| 1721 | sp2:Destroy() | |
| 1722 | local X = Instance.new("Part",char)
| |
| 1723 | local O = Instance.new("ObjectValue",X)
| |
| 1724 | O.Name = "creator" | |
| 1725 | X.Locked = true | |
| 1726 | X.Name = "Shell" | |
| 1727 | X.Anchored = false | |
| 1728 | X.CanCollide = false | |
| 1729 | X.Transparency = 0 | |
| 1730 | X.Reflectance = 0 | |
| 1731 | X.BottomSurface = 0 | |
| 1732 | X.TopSurface = 0 | |
| 1733 | X.Shape = 0 | |
| 1734 | local V = Instance.new("ObjectValue",X)
| |
| 1735 | V.Value = char | |
| 1736 | V.Name = "creator" | |
| 1737 | X.BrickColor = BrickColor.new("Teal")
| |
| 1738 | X.Size = Vector3.new(2,2,2) | |
| 1739 | X.Material = "Neon" | |
| 1740 | local Z = Instance.new("SpecialMesh",X)
| |
| 1741 | Z.MeshType = "Sphere" | |
| 1742 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1743 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1744 | local bv = Instance.new("BodyVelocity",X)
| |
| 1745 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1746 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1747 | bv.velocity = X.CFrame.lookVector*65 | |
| 1748 | ||
| 1749 | Explode = X.Touched:connect(function(hit) | |
| 1750 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1751 | local cf = X.CFrame | |
| 1752 | bv:Destroy() | |
| 1753 | X.Anchored = true | |
| 1754 | Z:Remove() | |
| 1755 | Explode:disconnect() | |
| 1756 | X.Size = Vector3.new(3,3,3) | |
| 1757 | X.Touched:connect(function(hit) end) | |
| 1758 | X.CanCollide = false | |
| 1759 | local part3 = Instance.new("Part", rarm)
| |
| 1760 | part3.Anchored=true | |
| 1761 | part3.CanCollide=false | |
| 1762 | part3.Locked = true | |
| 1763 | part3.TopSurface = "SmoothNoOutlines" | |
| 1764 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1765 | part3.FormFactor='Custom' | |
| 1766 | part3.Size=Vector3.new(1,1, 1) | |
| 1767 | part3.CFrame=X.CFrame | |
| 1768 | part3.Transparency=0 | |
| 1769 | part3.BrickColor=BrickColor.new("Teal")
| |
| 1770 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1771 | mesh3.MeshType = "Sphere" | |
| 1772 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1773 | --debris:AddItem(X,8) | |
| 1774 | local part4 = Instance.new("Part", rarm)
| |
| 1775 | part4.Material = "Neon" | |
| 1776 | part4.Anchored=true | |
| 1777 | part4.CanCollide=false | |
| 1778 | part4.Locked = true | |
| 1779 | part4.TopSurface = "SmoothNoOutlines" | |
| 1780 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1781 | part4.FormFactor='Custom' | |
| 1782 | part4.Size=Vector3.new(1,1, 1) | |
| 1783 | part4.CFrame=X.CFrame | |
| 1784 | part4.Transparency=0 | |
| 1785 | part4.BrickColor=BrickColor.new("Hot pink")
| |
| 1786 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1787 | mesh4.MeshType = "Sphere" | |
| 1788 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1789 | local part7 = Instance.new("Part", rarm)
| |
| 1790 | part7.Material = "Neon" | |
| 1791 | part7.Anchored=true | |
| 1792 | part7.CanCollide=false | |
| 1793 | part7.Locked = true | |
| 1794 | part7.TopSurface = "SmoothNoOutlines" | |
| 1795 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1796 | part7.FormFactor='Custom' | |
| 1797 | part7.Size=Vector3.new(1,1, 1) | |
| 1798 | part7.CFrame=X.CFrame | |
| 1799 | part7.Transparency=0 | |
| 1800 | part7.BrickColor=BrickColor.new("Teal")
| |
| 1801 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1802 | mesh7.MeshType = "Sphere" | |
| 1803 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1804 | --[[X.Touched:connect(function(ht) | |
| 1805 | hit = ht.Parent | |
| 1806 | if ht and hit:IsA("Model") then
| |
| 1807 | if hit:FindFirstChild("Humanoid") then
| |
| 1808 | if hit.Name ~= p.Name then | |
| 1809 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1810 | wait(.3) | |
| 1811 | end | |
| 1812 | end | |
| 1813 | elseif ht and hit:IsA("Hat") then
| |
| 1814 | if hit.Parent.Name ~= p.Name then | |
| 1815 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1816 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1817 | wait(.3) | |
| 1818 | end | |
| 1819 | end | |
| 1820 | end | |
| 1821 | end) | |
| 1822 | part3.Touched:connect(function(ht) | |
| 1823 | hit = ht.Parent | |
| 1824 | if ht and hit:IsA("Model") then
| |
| 1825 | if hit:FindFirstChild("Humanoid") then
| |
| 1826 | if hit.Name ~= p.Name then | |
| 1827 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1828 | wait(.3) | |
| 1829 | end | |
| 1830 | end | |
| 1831 | elseif ht and hit:IsA("Hat") then
| |
| 1832 | if hit.Parent.Name ~= p.Name then | |
| 1833 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1834 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1835 | wait(.3) | |
| 1836 | end | |
| 1837 | end | |
| 1838 | end | |
| 1839 | end)]]-- | |
| 1840 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1841 | if v:FindFirstChild('Humanoid') then
| |
| 1842 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 1843 | v.Humanoid.PlatformStand = true | |
| 1844 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1845 | end | |
| 1846 | end | |
| 1847 | ||
| 1848 | local acos = math.acos | |
| 1849 | local sqrt = math.sqrt | |
| 1850 | local Vec3 = Vector3.new | |
| 1851 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1852 | ||
| 1853 | local function toAxisAngle(CFr) | |
| 1854 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1855 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1856 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1857 | A = A == 0 and 0.00001 or A | |
| 1858 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1859 | B = B == 0 and 0.00001 or B | |
| 1860 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1861 | C = C == 0 and 0.00001 or C | |
| 1862 | local x = (R21-R12)/sqrt(A) | |
| 1863 | local y = (R02-R20)/sqrt(B) | |
| 1864 | local z = (R10-R01)/sqrt(C) | |
| 1865 | return Vec3(x,y,z),Angle | |
| 1866 | end | |
| 1867 | ||
| 1868 | function ApplyTrig(Num,Func) | |
| 1869 | local Min,Max = Func(0),Func(1) | |
| 1870 | local i = Func(Num) | |
| 1871 | return (i-Min)/(Max-Min) | |
| 1872 | end | |
| 1873 | ||
| 1874 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1875 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1876 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1877 | end | |
| 1878 | ||
| 1879 | function Crater(Torso,Radius) | |
| 1880 | Spawn(function() | |
| 1881 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1882 | local Ignore = {}
| |
| 1883 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1884 | if v.Character ~= nil then | |
| 1885 | Ignore[#Ignore+1] = v.Character | |
| 1886 | end | |
| 1887 | end | |
| 1888 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1889 | if Hit == nil then return end | |
| 1890 | local Parts = {}
| |
| 1891 | for i = 1,360,10 do | |
| 1892 | local P = Instance.new("Part",Torso.Parent)
| |
| 1893 | P.Anchored = true | |
| 1894 | P.FormFactor = "Custom" | |
| 1895 | P.BrickColor = Hit.BrickColor | |
| 1896 | P.Material = Hit.Material | |
| 1897 | P.TopSurface = "Smooth" | |
| 1898 | P.BottomSurface = "Smooth" | |
| 1899 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1900 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1901 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 1902 | if math.random(0,5) == 0 then -- rubble | |
| 1903 | local P = Instance.new("Part",Torso.Parent)
| |
| 1904 | P.Anchored = true | |
| 1905 | P.FormFactor = "Custom" | |
| 1906 | P.BrickColor = Hit.BrickColor | |
| 1907 | P.Material = Hit.Material | |
| 1908 | P.TopSurface = "Smooth" | |
| 1909 | P.BottomSurface = "Smooth" | |
| 1910 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1911 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1912 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 1913 | end | |
| 1914 | end | |
| 1915 | for i = 0,1,0.05 do | |
| 1916 | for i2,v in pairs(Parts) do | |
| 1917 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1918 | end | |
| 1919 | wait(0.02) | |
| 1920 | end | |
| 1921 | for i,v in pairs(Parts) do | |
| 1922 | if v[1].Size.X > 2.1 then | |
| 1923 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1924 | end | |
| 1925 | v[1].Anchored = false | |
| 1926 | end | |
| 1927 | for i = 0,1,0.05 do | |
| 1928 | for i2,v in pairs(Parts) do | |
| 1929 | v[1].Transparency = i | |
| 1930 | if i == 1 then | |
| 1931 | v[1]:Destroy() | |
| 1932 | elseif i >= 0.25 then | |
| 1933 | v[1].CanCollide = false | |
| 1934 | end | |
| 1935 | end | |
| 1936 | wait(0.02) | |
| 1937 | end | |
| 1938 | Parts = nil | |
| 1939 | end) | |
| 1940 | end | |
| 1941 | ||
| 1942 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1943 | for i = 1, 360, 360/t do | |
| 1944 | local c = Instance.new("Part", game.Workspace)
| |
| 1945 | c.FormFactor = 3 | |
| 1946 | c.TopSurface = 0 | |
| 1947 | c.BottomSurface = 0 | |
| 1948 | c.Size = s | |
| 1949 | c.Anchored = true | |
| 1950 | c.CanCollide = wt | |
| 1951 | c.Material=workspace.Base.Material | |
| 1952 | c.Transparency = trans | |
| 1953 | c.BrickColor = workspace.Base.BrickColor | |
| 1954 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 1955 | c.Locked=true | |
| 1956 | game.Debris:AddItem(c,15) | |
| 1957 | end | |
| 1958 | end | |
| 1959 | ||
| 1960 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 1961 | local p = Instance.new('Part',parent or Weapon)
| |
| 1962 | p.formFactor = 'Custom' | |
| 1963 | p.Size = Vector3.new(x,y,z) | |
| 1964 | p.BrickColor = BrickColor.new(color) | |
| 1965 | p.CanCollide = cc | |
| 1966 | p.Transparency = tr | |
| 1967 | p.Anchored = an | |
| 1968 | p.TopSurface,p.BottomSurface = 0,0 | |
| 1969 | p.Locked=true | |
| 1970 | p:BreakJoints() | |
| 1971 | return p end | |
| 1972 | ||
| 1973 | Mesh = function(par,num,x,y,z) | |
| 1974 | local msh = _ | |
| 1975 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 1976 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 1977 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 1978 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 1979 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 1980 | end msh.Scale = Vector3.new(x,y,z) | |
| 1981 | return msh end | |
| 1982 | ||
| 1983 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1984 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 1985 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1986 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1987 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1988 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1989 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1990 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1991 | a.CFrame=cfr | |
| 1992 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1993 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1994 | ||
| 1995 | Spawn(function() | |
| 1996 | while wait() do | |
| 1997 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1998 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1999 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 2000 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 2001 | a.Transparency=a.Transparency+0.05 | |
| 2002 | a2.Transparency=a2.Transparency+0.05 | |
| 2003 | a3.Transparency=a3.Transparency+0.05 | |
| 2004 | end | |
| 2005 | end) | |
| 2006 | end | |
| 2007 | ||
| 2008 | Crater(X,20) | |
| 2009 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 2010 | z = Instance.new("Sound",X)
| |
| 2011 | z.SoundId = "rbxassetid://231917744" | |
| 2012 | z.Pitch = .5 | |
| 2013 | z.Volume = 10 | |
| 2014 | z1 = Instance.new("Sound",X)
| |
| 2015 | z1.SoundId = "rbxassetid://231917744" | |
| 2016 | z1.Pitch = .5 | |
| 2017 | z1.Volume = 10 | |
| 2018 | z2 = Instance.new("Sound",X)
| |
| 2019 | z2.SoundId = "rbxassetid://231917744" | |
| 2020 | z2.Pitch = .5 | |
| 2021 | z2.Volume = 10 | |
| 2022 | z3 = Instance.new("Sound",X)
| |
| 2023 | z3.SoundId = "rbxassetid://245537790" | |
| 2024 | z3.Pitch = .7 | |
| 2025 | z3.Volume = 1 | |
| 2026 | z4 = Instance.new("Sound",X)
| |
| 2027 | z4.SoundId = "rbxassetid://245537790" | |
| 2028 | z4.Pitch = .7 | |
| 2029 | z4.Volume = 1 | |
| 2030 | wait(0.1) | |
| 2031 | z:Play() | |
| 2032 | z1:Play() | |
| 2033 | z2:Play() | |
| 2034 | z3:Play() | |
| 2035 | z4:Play() | |
| 2036 | ||
| 2037 | local part=Instance.new('Part',rarm)
| |
| 2038 | part.Anchored=true | |
| 2039 | part.CanCollide=false | |
| 2040 | part.Locked = true | |
| 2041 | part.FormFactor='Custom' | |
| 2042 | part.Size=Vector3.new(1,1,1) | |
| 2043 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 2044 | part.Transparency=0 | |
| 2045 | part.BrickColor=BrickColor.new('Teal')
| |
| 2046 | local mesh=Instance.new('SpecialMesh',part)
| |
| 2047 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
| 2048 | mesh.Scale=Vector3.new(2,2,2) | |
| 2049 | local part2=part:clone() | |
| 2050 | part2.Parent = rarm | |
| 2051 | part2.BrickColor=BrickColor.new("Teal")
| |
| 2052 | local part5=part:clone() | |
| 2053 | part5.Parent = rarm | |
| 2054 | part5.BrickColor=BrickColor.new("Magenta")
| |
| 2055 | local part6=part:clone() | |
| 2056 | part6.Parent = rarm | |
| 2057 | part6.BrickColor=BrickColor.new("Black")
| |
| 2058 | local mesh2=mesh:clone() | |
| 2059 | mesh2.Parent=part2 | |
| 2060 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 2061 | local mesh5=mesh:clone() | |
| 2062 | mesh5.Parent=part5 | |
| 2063 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 2064 | local mesh6=mesh:clone() | |
| 2065 | mesh6.Parent=part6 | |
| 2066 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 2067 | local blast = Instance.new("Part", rarm)
| |
| 2068 | blast.BrickColor = BrickColor.new("Teal")
| |
| 2069 | blast.Anchored = true | |
| 2070 | blast.CanCollide = false | |
| 2071 | blast.Locked = true | |
| 2072 | blast.Size = Vector3.new(1, 1, 1) | |
| 2073 | blast.TopSurface = "Smooth" | |
| 2074 | blast.BottomSurface = "Smooth" | |
| 2075 | blast.Transparency = 0 | |
| 2076 | blast.CFrame = HandCF | |
| 2077 | local bm = Instance.new("SpecialMesh", blast)
| |
| 2078 | bm.Scale = Vector3.new(5,1,5) | |
| 2079 | bm.MeshId = "rbxassetid://24388358" | |
| 2080 | local blast2 = Instance.new("Part", rarm)
| |
| 2081 | blast2.BrickColor = BrickColor.new("Teal")
| |
| 2082 | blast2.Anchored = true | |
| 2083 | blast2.CanCollide = false | |
| 2084 | blast2.Locked = true | |
| 2085 | blast2.Size = Vector3.new(1, 1, 1) | |
| 2086 | blast2.TopSurface = "Smooth" | |
| 2087 | blast2.BottomSurface = "Smooth" | |
| 2088 | blast2.Transparency = 0 | |
| 2089 | blast2.CFrame = HandCF | |
| 2090 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 2091 | bm2.Scale = Vector3.new(3,1,3) | |
| 2092 | bm2.MeshId = "rbxassetid://24388358" | |
| 2093 | local blast3 = Instance.new("Part", rarm)
| |
| 2094 | blast3.BrickColor = BrickColor.new("Teal")
| |
| 2095 | blast3.Anchored = true | |
| 2096 | blast3.CanCollide = false | |
| 2097 | blast3.Locked = true | |
| 2098 | blast3.Size = Vector3.new(1, 1, 1) | |
| 2099 | blast3.TopSurface = "Smooth" | |
| 2100 | blast3.BottomSurface = "Smooth" | |
| 2101 | blast3.Transparency = 0 | |
| 2102 | blast3.CFrame = HandCF | |
| 2103 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 2104 | bm3.Scale = Vector3.new(3,1,3) | |
| 2105 | bm3.MeshId = "rbxassetid://24388358" | |
| 2106 | for i = 1,120 do rs:wait() | |
| 2107 | X.Transparency = X.Transparency + (1/120) | |
| 2108 | part.Transparency = part.Transparency + (1/120) | |
| 2109 | part2.Transparency = part2.Transparency + (1/120) | |
| 2110 | part3.Transparency = part3.Transparency + (1/120) | |
| 2111 | part4.Transparency = part4.Transparency + (1/120) | |
| 2112 | part5.Transparency = part5.Transparency + (1/120) | |
| 2113 | part6.Transparency = part6.Transparency + (1/120) | |
| 2114 | part7.Transparency = part7.Transparency + (1/120) | |
| 2115 | blast.Transparency = blast.Transparency + (1/120) | |
| 2116 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 2117 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 2118 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 2119 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 2120 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 2121 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 2122 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 2123 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 2124 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 2125 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 2126 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 2127 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 2128 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 2129 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 2130 | X.CFrame = cf | |
| 2131 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 2132 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2133 | part3.CFrame=X.CFrame | |
| 2134 | part4.CFrame=X.CFrame | |
| 2135 | part7.CFrame=X.CFrame | |
| 2136 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 2137 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 2138 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2139 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 2140 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 2141 | rs:wait() | |
| 2142 | end | |
| 2143 | X:Destroy() | |
| 2144 | part:Destroy() | |
| 2145 | part2:Destroy() | |
| 2146 | part3:Destroy() | |
| 2147 | part4:Destroy() | |
| 2148 | part5:Destroy() | |
| 2149 | part6:Destroy() | |
| 2150 | blast:Destroy() | |
| 2151 | blast2:Destroy() | |
| 2152 | blast3:Destroy() | |
| 2153 | z:Destroy() | |
| 2154 | z1:Destroy() | |
| 2155 | z2:Destroy() | |
| 2156 | z3:Destroy() | |
| 2157 | z4:Destroy() | |
| 2158 | end | |
| 2159 | end) | |
| 2160 | for i = 1, 20 do | |
| 2161 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 2162 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 2163 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2164 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 2165 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 2166 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 2167 | if Debounces.on == false then break end | |
| 2168 | rs:wait() | |
| 2169 | end | |
| 2170 | if Debounces.CanAttack == false then | |
| 2171 | Debounces.CanAttack = true | |
| 2172 | Debounces.NoIdl = false | |
| 2173 | Debounces.on = false | |
| 2174 | end | |
| 2175 | end | |
| 2176 | end | |
| 2177 | end) | |
| 2178 | ---------------------------------------------------- | |
| 2179 | mouse.KeyDown:connect(function(key) | |
| 2180 | if key == "e" then | |
| 2181 | if Debounces.CanAttack == true then | |
| 2182 | Debounces.CanAttack = false | |
| 2183 | Debounces.on = true | |
| 2184 | Debounces.NoIdl = true | |
| 2185 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2186 | z = Instance.new("Sound", rarm)
| |
| 2187 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2188 | z.Volume = .6 | |
| 2189 | z.Pitch = pt[math.random(1,#pt)] | |
| 2190 | z.Looped = false | |
| 2191 | z:Play() | |
| 2192 | Debounces.RPunch = true | |
| 2193 | Debounces.LPunch = true | |
| 2194 | Debounces.ks = true | |
| 2195 | Debounces.ks2 = true | |
| 2196 | for i = 1, 3 do | |
| 2197 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2198 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2199 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2200 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2201 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2202 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2203 | if Debounces.on == false then break end | |
| 2204 | wait() | |
| 2205 | end | |
| 2206 | z2 = Instance.new("Sound", larm)
| |
| 2207 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2208 | z2.Volume = .6 | |
| 2209 | z2.Pitch = pt[math.random(1,#pt)] | |
| 2210 | z2.Looped = false | |
| 2211 | z2:Play() | |
| 2212 | for i = 1, 3 do | |
| 2213 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2214 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2215 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2216 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2217 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2218 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2219 | if Debounces.on == false then break end | |
| 2220 | wait() | |
| 2221 | end | |
| 2222 | z3 = Instance.new("Sound", rarm)
| |
| 2223 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2224 | z3.Volume = 0.6 | |
| 2225 | z3.Pitch = pt[math.random(1,#pt)] | |
| 2226 | z3.Looped = false | |
| 2227 | z3:Play() | |
| 2228 | for i = 1, 3 do | |
| 2229 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2230 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2231 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2232 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2233 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2234 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2235 | if Debounces.on == false then break end | |
| 2236 | wait() | |
| 2237 | end | |
| 2238 | z4 = Instance.new("Sound", larm)
| |
| 2239 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2240 | z4.Volume = .6 | |
| 2241 | z4.Pitch = pt[math.random(1,#pt)] | |
| 2242 | z4.Looped = false | |
| 2243 | z4:Play() | |
| 2244 | for i = 1, 3 do | |
| 2245 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2246 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2247 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2248 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2249 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2250 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2251 | if Debounces.on == false then break end | |
| 2252 | wait() | |
| 2253 | end | |
| 2254 | z5 = Instance.new("Sound", rarm)
| |
| 2255 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2256 | z5.Volume = .6 | |
| 2257 | z5.Pitch = pt[math.random(1,#pt)] | |
| 2258 | z5.Looped = false | |
| 2259 | z5:Play() | |
| 2260 | for i = 1, 3 do | |
| 2261 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2262 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2263 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2264 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2265 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2266 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2267 | if Debounces.on == false then break end | |
| 2268 | wait() | |
| 2269 | end | |
| 2270 | z6 = Instance.new("Sound", larm)
| |
| 2271 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2272 | z6.Volume = .6 | |
| 2273 | z6.Pitch = pt[math.random(1,#pt)] | |
| 2274 | z6.Looped = false | |
| 2275 | z6:Play() | |
| 2276 | for i = 1, 3 do | |
| 2277 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2278 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2279 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2280 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2281 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2282 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2283 | if Debounces.on == false then break end | |
| 2284 | wait() | |
| 2285 | end | |
| 2286 | z7 = Instance.new("Sound", rarm)
| |
| 2287 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2288 | z7.Volume = .6 | |
| 2289 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2290 | z7.Looped = false | |
| 2291 | z7:Play() | |
| 2292 | for i = 1, 3 do | |
| 2293 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2294 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2295 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2296 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2297 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2298 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2299 | if Debounces.on == false then break end | |
| 2300 | wait() | |
| 2301 | end | |
| 2302 | z8 = Instance.new("Sound", larm)
| |
| 2303 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2304 | z8.Volume = .6 | |
| 2305 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2306 | z8.Looped = false | |
| 2307 | z8:Play() | |
| 2308 | for i = 1, 3 do | |
| 2309 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2310 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2311 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2312 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2313 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2314 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2315 | if Debounces.on == false then break end | |
| 2316 | wait() | |
| 2317 | end | |
| 2318 | z9 = Instance.new("Sound", rarm)
| |
| 2319 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2320 | z9.Volume = 0.6 | |
| 2321 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2322 | z9.Looped = false | |
| 2323 | z9:Play() | |
| 2324 | for i = 1, 3 do | |
| 2325 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2326 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2327 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2328 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2329 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2331 | if Debounces.on == false then break end | |
| 2332 | wait() | |
| 2333 | end | |
| 2334 | z10 = Instance.new("Sound", larm)
| |
| 2335 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2336 | z10.Volume = .6 | |
| 2337 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2338 | z10.Looped = false | |
| 2339 | z10:Play() | |
| 2340 | for i = 1, 3 do | |
| 2341 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2342 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2345 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2346 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2347 | if Debounces.on == false then break end | |
| 2348 | wait() | |
| 2349 | end | |
| 2350 | z11 = Instance.new("Sound", rarm)
| |
| 2351 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2352 | z11.Volume = .6 | |
| 2353 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2354 | z11.Looped = false | |
| 2355 | z11:Play() | |
| 2356 | for i = 1, 3 do | |
| 2357 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2358 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2359 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2360 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2361 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2362 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2363 | if Debounces.on == false then break end | |
| 2364 | wait() | |
| 2365 | end | |
| 2366 | z12 = Instance.new("Sound", larm)
| |
| 2367 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2368 | z12.Volume = .6 | |
| 2369 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2370 | z12.Looped = false | |
| 2371 | z12:Play() | |
| 2372 | for i = 1, 3 do | |
| 2373 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2374 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2376 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2377 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2378 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2379 | if Debounces.on == false then break end | |
| 2380 | wait() | |
| 2381 | end | |
| 2382 | z13 = Instance.new("Sound", rarm)
| |
| 2383 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2384 | z13.Volume = 0.6 | |
| 2385 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2386 | z13.Looped = false | |
| 2387 | z13:Play() | |
| 2388 | for i = 1, 3 do | |
| 2389 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2390 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2391 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2392 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2393 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2394 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2395 | if Debounces.on == false then break end | |
| 2396 | wait() | |
| 2397 | end | |
| 2398 | z14 = Instance.new("Sound", larm)
| |
| 2399 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2400 | z14.Volume = .6 | |
| 2401 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2402 | z14.Looped = false | |
| 2403 | z14:Play() | |
| 2404 | for i = 1, 3 do | |
| 2405 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2406 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2407 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2408 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2409 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2410 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2411 | if Debounces.on == false then break end | |
| 2412 | wait() | |
| 2413 | end | |
| 2414 | z15 = Instance.new("Sound", rarm)
| |
| 2415 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2416 | z15.Volume = .6 | |
| 2417 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2418 | z15.Looped = false | |
| 2419 | z15:Play() | |
| 2420 | for i = 1, 3 do | |
| 2421 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2422 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2423 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2424 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2425 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2426 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2427 | if Debounces.on == false then break end | |
| 2428 | wait() | |
| 2429 | end | |
| 2430 | z16 = Instance.new("Sound", larm)
| |
| 2431 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2432 | z16.Volume = .6 | |
| 2433 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2434 | z16.Looped = false | |
| 2435 | z16:Play() | |
| 2436 | for i = 1, 3 do | |
| 2437 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2438 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2439 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2440 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2441 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2442 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2443 | if Debounces.on == false then break end | |
| 2444 | wait() | |
| 2445 | end | |
| 2446 | z17 = Instance.new("Sound", rarm)
| |
| 2447 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2448 | z17.Volume = .6 | |
| 2449 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2450 | z17.Looped = false | |
| 2451 | z17:Play() | |
| 2452 | for i = 1, 3 do | |
| 2453 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2454 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2455 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2456 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2457 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2458 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2459 | if Debounces.on == false then break end | |
| 2460 | wait() | |
| 2461 | end | |
| 2462 | z18 = Instance.new("Sound", larm)
| |
| 2463 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2464 | z18.Volume = .6 | |
| 2465 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2466 | z18.Looped = false | |
| 2467 | z18:Play() | |
| 2468 | for i = 1, 3 do | |
| 2469 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2470 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2473 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2474 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2475 | if Debounces.on == false then break end | |
| 2476 | wait() | |
| 2477 | end | |
| 2478 | z19 = Instance.new("Sound", rarm)
| |
| 2479 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2480 | z19.Volume = 0.6 | |
| 2481 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2482 | z19.Looped = false | |
| 2483 | z19:Play() | |
| 2484 | for i = 1, 3 do | |
| 2485 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2486 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2487 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2488 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2489 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2490 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2491 | if Debounces.on == false then break end | |
| 2492 | wait() | |
| 2493 | end | |
| 2494 | z20 = Instance.new("Sound", larm)
| |
| 2495 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2496 | z20.Volume = .6 | |
| 2497 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2498 | z20.Looped = false | |
| 2499 | z20:Play() | |
| 2500 | for i = 1, 3 do | |
| 2501 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2502 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2503 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2504 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2505 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2506 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2507 | if Debounces.on == false then break end | |
| 2508 | wait() | |
| 2509 | end | |
| 2510 | z:Destroy() | |
| 2511 | z2:Destroy() | |
| 2512 | z3:Destroy() | |
| 2513 | z4:Destroy() | |
| 2514 | z5:Destroy() | |
| 2515 | z6:Destroy() | |
| 2516 | z7:Destroy() | |
| 2517 | z8:Destroy() | |
| 2518 | z9:Destroy() | |
| 2519 | z10:Destroy() | |
| 2520 | z11:Destroy() | |
| 2521 | z12:Destroy() | |
| 2522 | z13:Destroy() | |
| 2523 | z14:Destroy() | |
| 2524 | z15:Destroy() | |
| 2525 | z16:Destroy() | |
| 2526 | z17:Destroy() | |
| 2527 | z18:Destroy() | |
| 2528 | z19:Destroy() | |
| 2529 | z20:Destroy() | |
| 2530 | Debounces.LPunch = false | |
| 2531 | Debounces.RPunch = false | |
| 2532 | Debounces.ks = false | |
| 2533 | Debounces.ks2 = false | |
| 2534 | if Debounces.CanAttack == false then | |
| 2535 | Debounces.CanAttack = true | |
| 2536 | Debounces.on = false | |
| 2537 | Debounces.NoIdl = false | |
| 2538 | end | |
| 2539 | end | |
| 2540 | end | |
| 2541 | end) | |
| 2542 | ------------------------------- | |
| 2543 | mouse.KeyDown:connect(function(key) | |
| 2544 | if key == "t" then | |
| 2545 | if Debounces.CanAttack == true then | |
| 2546 | Debounces.CanAttack = false | |
| 2547 | Debounces.NoIdl = true | |
| 2548 | Debounces.on = true | |
| 2549 | Debounces.ks = true | |
| 2550 | kik = rleg.Touched:connect(function(ht) | |
| 2551 | hit = ht.Parent | |
| 2552 | if ht and hit:IsA("Model") then
| |
| 2553 | if hit:FindFirstChild("Humanoid") then
| |
| 2554 | if hit.Name ~= p.Name then | |
| 2555 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2556 | Debounces.Slashed = true]]-- | |
| 2557 | if Debounces.ks==true then | |
| 2558 | z = Instance.new("Sound",hed)
| |
| 2559 | z.SoundId = "rbxassetid://169380525" | |
| 2560 | z.Volume = 1 | |
| 2561 | z:Play() | |
| 2562 | Debounces.ks=false | |
| 2563 | end | |
| 2564 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2565 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2566 | --Debounces.Slashed = false | |
| 2567 | --end | |
| 2568 | end | |
| 2569 | end | |
| 2570 | elseif ht and hit:IsA("Hat") then
| |
| 2571 | if hit.Parent.Name ~= p.Name then | |
| 2572 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2573 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2574 | Debounces.Slashed = true]]-- | |
| 2575 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2576 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2577 | --Debounces.Slashed = false | |
| 2578 | --end | |
| 2579 | end | |
| 2580 | end | |
| 2581 | end | |
| 2582 | end) | |
| 2583 | for i = 1,20 do | |
| 2584 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 2585 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
| 2586 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2587 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2588 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2589 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2590 | if Debounces.on == false then break end | |
| 2591 | rs:wait() | |
| 2592 | end | |
| 2593 | kik:disconnect() | |
| 2594 | if Debounces.CanAttack == false then | |
| 2595 | Debounces.CanAttack = true | |
| 2596 | Debounces.NoIdl = false | |
| 2597 | Debounces.on = false | |
| 2598 | end | |
| 2599 | end | |
| 2600 | end | |
| 2601 | end) | |
| 2602 | ---------------------------------------------------- | |
| 2603 | mouse.KeyDown:connect(function(key) | |
| 2604 | if key == "y" then | |
| 2605 | if Debounces.CanAttack == true then | |
| 2606 | Debounces.CanAttack = false | |
| 2607 | Debounces.on = true | |
| 2608 | Debounces.NoIdl = true | |
| 2609 | for i = 1, 15 do | |
| 2610 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90+1), math.rad(0), math.rad(-60)), 0.2) | |
| 2611 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(93),math.rad(0),math.rad(10)), 0.2) | |
| 2612 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-20),math.rad(-10),0), 0.2) | |
| 2613 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(10), 0), 0.2) | |
| 2614 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 2615 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 2616 | if Debounces.on == false then break end if Debounces.on == false then break end | |
| 2617 | rs:wait(2.7) | |
| 2618 | end | |
| 2619 | x = Instance.new("Sound",char)
| |
| 2620 | x.SoundId = "rbxassetid://228343271" | |
| 2621 | x.Pitch = 1 | |
| 2622 | x.Volume = .8 | |
| 2623 | wait(.1) | |
| 2624 | x:Play() | |
| 2625 | Debounces.on = false | |
| 2626 | Debounces.Here = false | |
| 2627 | shot = shot + 1 | |
| 2628 | local rng = Instance.new("Part", larm)
| |
| 2629 | rng.Anchored = true | |
| 2630 | rng.BrickColor = BrickColor.new("Teal")
| |
| 2631 | rng.CanCollide = false | |
| 2632 | rng.FormFactor = 3 | |
| 2633 | rng.Name = "Ring" | |
| 2634 | rng.Size = Vector3.new(1, 1, 1) | |
| 2635 | rng.Transparency = 0.35 | |
| 2636 | rng.TopSurface = 0 | |
| 2637 | rng.BottomSurface = 0 | |
| 2638 | rng2 = rng:clone() | |
| 2639 | rng3 = rng2:clone() | |
| 2640 | rng4 = rng2:clone() | |
| 2641 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2642 | rngm.MeshId = "http://www.roblox.com/asset/?id=1125473" -- 1125473 | |
| 2643 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2644 | rngm2 = rngm:clone() | |
| 2645 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2646 | rngm3=rngm2:clone() | |
| 2647 | rngm3.Parent = rng3 | |
| 2648 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2649 | rngm4 = rngm2:clone() | |
| 2650 | rngm4.Parent = rng4 | |
| 2651 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2652 | local bem = Instance.new("Part", larm)
| |
| 2653 | bem.Anchored = true | |
| 2654 | bem.BrickColor = BrickColor.new("Teal")
| |
| 2655 | bem.CanCollide = false | |
| 2656 | bem.FormFactor = 3 | |
| 2657 | bem.Name = "Beam" .. shot | |
| 2658 | bem.Size = Vector3.new(1, 1, 1) | |
| 2659 | bem.Transparency = 0.35 | |
| 2660 | bem.TopSurface = 0 | |
| 2661 | bem.BottomSurface = 0 | |
| 2662 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2663 | bemm.MeshType = 4 | |
| 2664 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2665 | local out = Instance.new("Part", larm)
| |
| 2666 | out.Anchored = true | |
| 2667 | out.BrickColor = BrickColor.new("Teal")
| |
| 2668 | out.CanCollide = false | |
| 2669 | out.FormFactor = 3 | |
| 2670 | out.Name = "Out" | |
| 2671 | out.Size = Vector3.new(4, 4, 4) | |
| 2672 | out.Transparency = 0.35 | |
| 2673 | out.TopSurface = 0 | |
| 2674 | out.BottomSurface = 0 | |
| 2675 | local outm = Instance.new("SpecialMesh", out)
| |
| 2676 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
| 2677 | outm.Scale = Vector3.new(6, 4, 6) | |
| 2678 | local bnd = Instance.new("Part", larm)
| |
| 2679 | bnd.Anchored = true | |
| 2680 | bnd.BrickColor = BrickColor.new("Bright bluish green")
| |
| 2681 | bnd.CanCollide = false | |
| 2682 | bnd.FormFactor = 3 | |
| 2683 | bnd.Name = "Bend" | |
| 2684 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2685 | bnd.Transparency = 1 | |
| 2686 | bnd.TopSurface = 0 | |
| 2687 | bnd.BottomSurface = 0 | |
| 2688 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2689 | bndm.MeshType = 3 | |
| 2690 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2691 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2692 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2693 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2694 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2695 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2696 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2697 | Debounces.Shewt = true | |
| 2698 | coroutine.wrap(function() | |
| 2699 | for i = 1, 20, 0.2 do | |
| 2700 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2701 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2702 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2703 | rng.Transparency = i/20 | |
| 2704 | rng3.Transparency = 1/24 | |
| 2705 | rng4.Transparency = i/26 | |
| 2706 | wait() | |
| 2707 | end | |
| 2708 | wait() | |
| 2709 | rng:Destroy() | |
| 2710 | end)() | |
| 2711 | if Debounces.Shewt == true then | |
| 2712 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2713 | hit = ht.Parent | |
| 2714 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2715 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2716 | deb = true | |
| 2717 | coroutine.wrap(function() | |
| 2718 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2719 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2720 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 2721 | end)() | |
| 2722 | table.insert(Touche, hit.Name) | |
| 2723 | deb = false | |
| 2724 | end | |
| 2725 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2726 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2727 | deb = true | |
| 2728 | coroutine.wrap(function() | |
| 2729 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2730 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2731 | wait(1) | |
| 2732 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2733 | end)() | |
| 2734 | table.insert(Touche, hit.Parent.Name) | |
| 2735 | deb = false | |
| 2736 | for i, v in pairs(Touche) do | |
| 2737 | print(v) | |
| 2738 | end | |
| 2739 | end | |
| 2740 | end | |
| 2741 | end) | |
| 2742 | end | |
| 2743 | for i = 0, 260, 8 do | |
| 2744 | bem.Size = Vector3.new(i, 3, 3) | |
| 2745 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2746 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2747 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2748 | bnd.Size = Vector3.new(1,1,1) | |
| 2749 | bndm.Scale = Vector3.new(8,8,8) | |
| 2750 | if i % 10 == 0 then | |
| 2751 | local newRng = rng2:Clone() | |
| 2752 | newRng.Parent = larm | |
| 2753 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2754 | local newRngm = rngm2:clone() | |
| 2755 | newRngm.Parent=newRng | |
| 2756 | coroutine.wrap(function() | |
| 2757 | for i = 1, 10, 0.2 do | |
| 2758 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 2759 | newRng.Transparency = i/10 | |
| 2760 | wait() | |
| 2761 | end | |
| 2762 | wait() | |
| 2763 | newRng:Destroy() | |
| 2764 | end)() | |
| 2765 | end | |
| 2766 | wait() | |
| 2767 | end | |
| 2768 | wait() | |
| 2769 | Debounces.Shewt = false | |
| 2770 | bem:Destroy() | |
| 2771 | out:Destroy() | |
| 2772 | bnd:Destroy() | |
| 2773 | Debounces.Ready = false | |
| 2774 | for i, v in pairs(Touche) do | |
| 2775 | table.remove(Touche, i) | |
| 2776 | end | |
| 2777 | wait() | |
| 2778 | table.insert(Touche, char.Name) | |
| 2779 | Debounces.NoIdl = false | |
| 2780 | if Debounces.CanAttack == false then | |
| 2781 | Debounces.CanAttack = true | |
| 2782 | end | |
| 2783 | end | |
| 2784 | end | |
| 2785 | end) | |
| 2786 | ---------------------------------------------------- | |
| 2787 | mouse.KeyDown:connect(function(key) | |
| 2788 | if key == "x" then | |
| 2789 | if Debounces.CanAttack == true then | |
| 2790 | Debounces.CanAttack = false | |
| 2791 | Debounces.NoIdl = true | |
| 2792 | Debounces.on = true | |
| 2793 | hed.Anchored=true | |
| 2794 | local shell = Instance.new("Part",torso)
| |
| 2795 | shell.BrickColor = BrickColor.new("Bright bluish green")
| |
| 2796 | shell.Anchored = false | |
| 2797 | shell.CanCollide = false | |
| 2798 | shell.Locked = true | |
| 2799 | shell.Material = "Neon" | |
| 2800 | shell.TopSurface = "SmoothNoOutlines" | |
| 2801 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2802 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2803 | shell.FormFactor = 3 | |
| 2804 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2805 | shellm.MeshType = "Sphere" | |
| 2806 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2807 | local Omega = function() | |
| 2808 | local X = Instance.new("Part",char)
| |
| 2809 | local O = Instance.new("ObjectValue",X)
| |
| 2810 | O.Name = "creator" | |
| 2811 | X.Locked = true | |
| 2812 | X.Name = "Shell" | |
| 2813 | X.Anchored = false | |
| 2814 | X.CanCollide = false | |
| 2815 | X.Transparency = 0.5 | |
| 2816 | X.Reflectance = 0 | |
| 2817 | X.BottomSurface = 0 | |
| 2818 | X.TopSurface = 0 | |
| 2819 | X.Shape = 0 | |
| 2820 | local V = Instance.new("ObjectValue",X)
| |
| 2821 | V.Value = char | |
| 2822 | V.Name = "creator" | |
| 2823 | X.BrickColor = BrickColor.new("Bright bluish green")
| |
| 2824 | X.Size = Vector3.new(100,40,100) | |
| 2825 | X.CFrame=torso.CFrame*CFrame.new(0,0,-40) | |
| 2826 | X.Material = "Neon" | |
| 2827 | b = Instance.new("Sound")
| |
| 2828 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
| 2829 | b.Parent = char.Head | |
| 2830 | b.Looped = false | |
| 2831 | b.Pitch = 1 | |
| 2832 | b.Volume = 1 | |
| 2833 | wait(.1) | |
| 2834 | b:Play() | |
| 2835 | local Z = Instance.new("SpecialMesh",X)
| |
| 2836 | Z.MeshType = "Sphere" | |
| 2837 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 2838 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2839 | local bv = Instance.new("BodyVelocity",X)
| |
| 2840 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2841 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2842 | bv.velocity = root.CFrame.lookVector*10 | |
| 2843 | Explode = X.Touched:connect(function(hit) | |
| 2844 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart") then
| |
| 2845 | local cf = X.CFrame | |
| 2846 | bv:Destroy() | |
| 2847 | X.Anchored = true | |
| 2848 | Z:Remove() | |
| 2849 | Explode:disconnect() | |
| 2850 | X.Size = Vector3.new(3,3,3) | |
| 2851 | X.Touched:connect(function(hit) end) | |
| 2852 | X.CanCollide = false | |
| 2853 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 2854 | if v:FindFirstChild('Humanoid') then
| |
| 2855 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 2856 | end | |
| 2857 | end | |
| 2858 | for i = 1, (40) do rs:wait() | |
| 2859 | X.Transparency = X.Transparency + (1/40) | |
| 2860 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2861 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 2862 | end | |
| 2863 | X:Destroy() | |
| 2864 | end | |
| 2865 | end) | |
| 2866 | end | |
| 2867 | --Omega() | |
| 2868 | local function wat() | |
| 2869 | local sweld=Instance.new('ManualWeld',shell)
| |
| 2870 | sweld.Part0=shell | |
| 2871 | sweld.Part1=rarm | |
| 2872 | sweld.C0=CFrame.new(0,1,0) | |
| 2873 | return sweld | |
| 2874 | end | |
| 2875 | local watweld=wat() | |
| 2876 | for i = 1,200 do | |
| 2877 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
| 2878 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2879 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2880 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2881 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2882 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2883 | if Debounces.on == false then break end | |
| 2884 | rs:wait() | |
| 2885 | end | |
| 2886 | b = Instance.new("Sound")
| |
| 2887 | b.SoundId = "http://www.roblox.com/asset/?id=245537790" | |
| 2888 | b.Parent = char.Head | |
| 2889 | b.Looped = false | |
| 2890 | b.Pitch = 1 | |
| 2891 | b.Volume = 1 | |
| 2892 | wait(.1) | |
| 2893 | b:Play() | |
| 2894 | watweld.Part1=torso | |
| 2895 | watweld.C0=CFrame.new(0,-4,0) | |
| 2896 | for i = 1,30 do | |
| 2897 | watweld.C0=watweld.C0*CFrame.new(0,-1,0) | |
| 2898 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
| 2899 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
| 2900 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2901 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2902 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2903 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2904 | if Debounces.on == false then break end | |
| 2905 | rs:wait() | |
| 2906 | end | |
| 2907 | local shelbx=true | |
| 2908 | --Experimental Damagefunction | |
| 2909 | coroutine.resume(coroutine.create(function() while shelbx do wait() | |
| 2910 | for _,v in pairs(game.workspace:GetChildren()) do | |
| 2911 | if v:IsA'Model' and v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' and v~=pchar then | |
| 2912 | local mag=(v.Torso.CFrame.p-shell.CFrame.p).magnitude | |
| 2913 | if mag <= shell.Size.x then | |
| 2914 | v.Humanoid.Health=v.Humanoid.Health-(v.Humanoid.MaxHealth/7) | |
| 2915 | end | |
| 2916 | end | |
| 2917 | end | |
| 2918 | end end)) | |
| 2919 | for i = 1,40 do | |
| 2920 | --shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 2921 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2922 | local watweld=wat() | |
| 2923 | watweld.C0=CFrame.new(0,-14-i,0) | |
| 2924 | watweld.Part1=torso | |
| 2925 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
| 2926 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
| 2927 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2928 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2931 | if Debounces.on == false then break end | |
| 2932 | rs:wait() | |
| 2933 | end | |
| 2934 | for i = 1,40 do | |
| 2935 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 2936 | local watweld=wat() | |
| 2937 | watweld.Part1=torso | |
| 2938 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,40),1) | |
| 2939 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
| 2940 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
| 2941 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2942 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2945 | if Debounces.on == false then break end | |
| 2946 | rs:wait() | |
| 2947 | end | |
| 2948 | for i = 1,60 do | |
| 2949 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2950 | local watweld=wat() | |
| 2951 | watweld.Part1=torso | |
| 2952 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,60),1) | |
| 2953 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
| 2954 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
| 2955 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2956 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2957 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2958 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2959 | if Debounces.on == false then break end | |
| 2960 | rs:wait() | |
| 2961 | end | |
| 2962 | for i = 1,60 do | |
| 2963 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2964 | --shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2965 | shell.Size=shell.Size+Vector3.new(1,1,1) | |
| 2966 | local watweld=wat() | |
| 2967 | watweld.Part1=torso | |
| 2968 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,62),1) | |
| 2969 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
| 2970 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
| 2971 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2972 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2973 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2974 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2975 | if Debounces.on == false then break end | |
| 2976 | rs:wait() | |
| 2977 | end | |
| 2978 | coroutine.resume(coroutine.create(function() | |
| 2979 | for i=0,1,.1 do wait() shell.Transparency=i end | |
| 2980 | shell:Destroy() | |
| 2981 | shelbx=false | |
| 2982 | end)) | |
| 2983 | hed.Anchored=false | |
| 2984 | if Debounces.CanAttack == false then | |
| 2985 | Debounces.CanAttack = true | |
| 2986 | Debounces.NoIdl = false | |
| 2987 | Debounces.on = false | |
| 2988 | b:Destroy() | |
| 2989 | ||
| 2990 | end | |
| 2991 | end | |
| 2992 | end | |
| 2993 | end) | |
| 2994 | ---------------------------------------------------- | |
| 2995 | mouse.KeyDown:connect(function(key) | |
| 2996 | if key == "z" then | |
| 2997 | if Debounces.CanAttack == true then | |
| 2998 | Debounces.CanAttack = false | |
| 2999 | Debounces.NoIdl = true | |
| 3000 | char.Humanoid.WalkSpeed = .01 | |
| 3001 | Debounces.on = true | |
| 3002 | for i = 1, 20 do | |
| 3003 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.3) | |
| 3004 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.3) | |
| 3005 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.3) | |
| 3006 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.3) | |
| 3007 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.3) | |
| 3008 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.3) | |
| 3009 | if Debounces.on == false then | |
| 3010 | break | |
| 3011 | end | |
| 3012 | wait() | |
| 3013 | end | |
| 3014 | for i = 1, 20 do | |
| 3015 | wait() | |
| 3016 | end | |
| 3017 | x = Instance.new("Sound")
| |
| 3018 | x.SoundId = "http://www.roblox.com/asset/?id=235097614" | |
| 3019 | x.Parent = char | |
| 3020 | x.Looped = false | |
| 3021 | x.Pitch = .7 | |
| 3022 | x.Volume = .6 | |
| 3023 | wait(.1) | |
| 3024 | x:Play() | |
| 3025 | Debounces.on = false | |
| 3026 | Debounces.Here = false | |
| 3027 | shot = shot + 1 | |
| 3028 | for i = 1, 6 do | |
| 3029 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
| 3030 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.4) | |
| 3031 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
| 3032 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
| 3033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
| 3034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 3) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
| 3035 | wait() | |
| 3036 | end | |
| 3037 | local rng = Instance.new("Part", char)
| |
| 3038 | rng.Anchored = true | |
| 3039 | rng.BrickColor = BrickColor.new("Teal")
| |
| 3040 | rng.CanCollide = false | |
| 3041 | rng.FormFactor = 3 | |
| 3042 | rng.Name = "Ring" | |
| 3043 | rng.Size = Vector3.new(1, 1, 1) | |
| 3044 | rng.Transparency = 0.35 | |
| 3045 | rng.TopSurface = 0 | |
| 3046 | rng.BottomSurface = 0 | |
| 3047 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 3048 | rngm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
| 3049 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 3050 | local bem = Instance.new("Part", char)
| |
| 3051 | bem.Anchored = true | |
| 3052 | bem.BrickColor = BrickColor.new("Teal")
| |
| 3053 | bem.CanCollide = false | |
| 3054 | bem.FormFactor = 3 | |
| 3055 | bem.Name = "Beam" .. shot | |
| 3056 | bem.Size = Vector3.new(1, 1, 1) | |
| 3057 | bem.Transparency = 0.35 | |
| 3058 | bem.TopSurface = 0 | |
| 3059 | bem.BottomSurface = 0 | |
| 3060 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 3061 | bemm.MeshType = 4 | |
| 3062 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 3063 | local out = Instance.new("Part", char)
| |
| 3064 | out.Anchored = true | |
| 3065 | out.BrickColor = BrickColor.new("Teal")
| |
| 3066 | out.CanCollide = false | |
| 3067 | out.FormFactor = 3 | |
| 3068 | out.Name = "Out" | |
| 3069 | out.Size = Vector3.new(4, 4, 4) | |
| 3070 | out.Transparency = 0.35 | |
| 3071 | out.TopSurface = 0 | |
| 3072 | out.BottomSurface = 0 | |
| 3073 | local outm = Instance.new("SpecialMesh", out)
| |
| 3074 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" --24388358 | |
| 3075 | outm.Scale = Vector3.new(4, 4, 4) | |
| 3076 | local bnd = Instance.new("Part", char)
| |
| 3077 | bnd.Anchored = true | |
| 3078 | bnd.BrickColor = BrickColor.new("Teal")
| |
| 3079 | bnd.CanCollide = false | |
| 3080 | bnd.FormFactor = 3 | |
| 3081 | bnd.Name = "Bend" | |
| 3082 | bnd.Size = Vector3.new(1, 1, 1) | |
| 3083 | bnd.Transparency = 1 | |
| 3084 | bnd.TopSurface = 0 | |
| 3085 | bnd.BottomSurface = 0 | |
| 3086 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 3087 | bndm.MeshType = 3 | |
| 3088 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 3089 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
| 3090 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3091 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 3092 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 3093 | Debounces.Shewt = true | |
| 3094 | coroutine.wrap(function() | |
| 3095 | for i = 1, 20, 0.2 do | |
| 3096 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 3097 | rng.Transparency = i/20 | |
| 3098 | wait() | |
| 3099 | end | |
| 3100 | wait() | |
| 3101 | rng:Destroy() | |
| 3102 | end)() | |
| 3103 | if Debounces.Shewt == true then | |
| 3104 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 3105 | hit = ht.Parent | |
| 3106 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 3107 | if HasntTouched(hit.Name) == true and deb == false then | |
| 3108 | deb = true | |
| 3109 | coroutine.wrap(function() | |
| 3110 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3111 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3112 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 3113 | end)() | |
| 3114 | table.insert(Touche, hit.Name) | |
| 3115 | deb = false | |
| 3116 | end | |
| 3117 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 3118 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 3119 | deb = true | |
| 3120 | coroutine.wrap(function() | |
| 3121 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3122 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 3123 | wait(1) | |
| 3124 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 3125 | end)() | |
| 3126 | table.insert(Touche, hit.Parent.Name) | |
| 3127 | deb = false | |
| 3128 | for i, v in pairs(Touche) do | |
| 3129 | print(v) | |
| 3130 | end | |
| 3131 | end | |
| 3132 | end | |
| 3133 | end) | |
| 3134 | end | |
| 3135 | for i = 0, 260, 8 do | |
| 3136 | bem.Size = Vector3.new(i, 2, 2) | |
| 3137 | bem.CFrame = rarm.CFrame * CFrame.new(0, -3.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3138 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 3139 | bnd.Size = Vector3.new(1,1,1) | |
| 3140 | bndm.Scale = Vector3.new(8,8,8) | |
| 3141 | wait() | |
| 3142 | end | |
| 3143 | wait() | |
| 3144 | Debounces.Shewt = false | |
| 3145 | bem:Destroy() | |
| 3146 | out:Destroy() | |
| 3147 | bnd:Destroy() | |
| 3148 | char.Humanoid.WalkSpeed = 10 | |
| 3149 | Debounces.Ready = false | |
| 3150 | for i, v in pairs(Touche) do | |
| 3151 | table.remove(Touche, i) | |
| 3152 | end | |
| 3153 | wait() | |
| 3154 | table.insert(Touche, char.Name) | |
| 3155 | Debounces.NoIdl = false | |
| 3156 | if Debounces.CanAttack == false then | |
| 3157 | Debounces.CanAttack = true | |
| 3158 | for i = 1, 20 do | |
| 3159 | wait() | |
| 3160 | hum.WalkSpeed = 5 | |
| 3161 | end | |
| 3162 | end | |
| 3163 | end | |
| 3164 | end | |
| 3165 | end) | |
| 3166 | ||
| 3167 | ---------------------------------------------------- | |
| 3168 | Charging = false | |
| 3169 | mouse.KeyDown:connect(function(key) | |
| 3170 | if key == "r" then | |
| 3171 | if Charging == false then | |
| 3172 | Charging = true | |
| 3173 | if Debounces.CanAttack == true then | |
| 3174 | Debounces.CanAttack = false | |
| 3175 | Debounces.NoIdl = true | |
| 3176 | Debounces.on = true | |
| 3177 | ||
| 3178 | for i = 1,20 do | |
| 3179 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 3180 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 3181 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 3182 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 3183 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 3184 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 3185 | if Debounces.on == false then break end | |
| 3186 | rs:wait() | |
| 3187 | end | |
| 3188 | ||
| 3189 | ||
| 3190 | pt=Instance.new('Part',torso)
| |
| 3191 | pt.Anchored=true | |
| 3192 | pt.CanCollide=false | |
| 3193 | pt.Locked = true | |
| 3194 | pt.FormFactor='Custom' | |
| 3195 | pt.Size=Vector3.new(1,1,1) | |
| 3196 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3197 | pt.Transparency=.6 | |
| 3198 | pt.BrickColor=BrickColor.new('Teal')
| |
| 3199 | msh=Instance.new('SpecialMesh',pt)
| |
| 3200 | msh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
| 3201 | msh.Scale=Vector3.new(8,4,8) | |
| 3202 | pt2=pt:clone() | |
| 3203 | pt2.Parent = torso | |
| 3204 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3205 | pt2.BrickColor=BrickColor.new("Teal")
| |
| 3206 | msh2=msh:clone() | |
| 3207 | msh2.Parent=pt2 | |
| 3208 | msh2.Scale=Vector3.new(10,5,10) | |
| 3209 | particle = Instance.new("ParticleEmitter", pt)
| |
| 3210 | particle.Size = NumberSequence.new(1.2) | |
| 3211 | particle.LightEmission = 0.2 | |
| 3212 | particle.EmissionDirection = "Top" | |
| 3213 | particle.Lifetime = NumberRange.new(5,10) | |
| 3214 | particle.Rotation = NumberRange.new(5,10) | |
| 3215 | particle.RotSpeed = NumberRange.new(5) | |
| 3216 | particle.Speed = NumberRange.new(15) | |
| 3217 | particle.VelocitySpread = 500 | |
| 3218 | particle.Rate = 150 | |
| 3219 | if potential then | |
| 3220 | particle.Color = ColorSequence.new(Color3.new(.5,0,.5)) | |
| 3221 | else | |
| 3222 | particle.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 3223 | end | |
| 3224 | ------------------ | |
| 3225 | ||
| 3226 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 3227 | ||
| 3228 | bl = Instance.new("Part", char)
| |
| 3229 | bl.Locked = true | |
| 3230 | bl.Name = "Shell" | |
| 3231 | bl.BrickColor = BrickColor.new("Teal")
| |
| 3232 | bl.Anchored = true | |
| 3233 | bl.CanCollide = false | |
| 3234 | bl.Transparency = 0 | |
| 3235 | bl.Reflectance = 0 | |
| 3236 | bl.BottomSurface = 0 | |
| 3237 | bl.TopSurface = 0 | |
| 3238 | bl.Shape = 0 | |
| 3239 | blm = Instance.new("SpecialMesh",bl)
| |
| 3240 | blm.MeshType = "Sphere" | |
| 3241 | blm.Scale = Vector3.new(1,1,1) | |
| 3242 | blm.MeshId = "rbxassetid://9982590" | |
| 3243 | -- | |
| 3244 | b = Instance.new("Sound")
| |
| 3245 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
| 3246 | b.Parent = char.Head | |
| 3247 | b.Looped = true | |
| 3248 | b.Pitch = 1 | |
| 3249 | b.Volume = 1 | |
| 3250 | wait(.1) | |
| 3251 | b:Play() | |
| 3252 | -- | |
| 3253 | coroutine.resume(coroutine.create(function() | |
| 3254 | for i=1, math.huge, 4 do | |
| 3255 | if Charging == true then | |
| 3256 | rs:wait() | |
| 3257 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3258 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 3259 | bl.Transparency = bl.Transparency + 0.005 | |
| 3260 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 3261 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3262 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 3263 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 3264 | elseif Charging == false then break | |
| 3265 | end | |
| 3266 | end | |
| 3267 | end)) | |
| 3268 | ||
| 3269 | repeat | |
| 3270 | local p = Instance.new('Part',torso)
| |
| 3271 | p.formFactor = 'Custom' | |
| 3272 | p.Size = Vector3.new(1,1,1) | |
| 3273 | p.BrickColor = workspace.Base.BrickColor | |
| 3274 | p.CanCollide = false | |
| 3275 | p.Transparency = 0 | |
| 3276 | p.Anchored = true | |
| 3277 | p.Locked=true | |
| 3278 | p.Material = workspace.Base.Material | |
| 3279 | s = math.random(1,40)/10 | |
| 3280 | local m = Instance.new("BlockMesh",p)
| |
| 3281 | m.Scale = Vector3.new(s,s,s) | |
| 3282 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 3283 | --[[coroutine.wrap(function() | |
| 3284 | wait(2) | |
| 3285 | while Charging == true do | |
| 3286 | wait(2) | |
| 3287 | GroundWave1() | |
| 3288 | wait(2) | |
| 3289 | end | |
| 3290 | end)()]]-- | |
| 3291 | Spawn(function() | |
| 3292 | while rs:wait() do | |
| 3293 | if Charging == true then | |
| 3294 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 3295 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 3296 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 3297 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 3298 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 3299 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 3300 | elseif Charging == false then break | |
| 3301 | end | |
| 3302 | end | |
| 3303 | end) | |
| 3304 | Spawn(function() | |
| 3305 | while rs:wait() do | |
| 3306 | if p.Transparency >= 1 then p:Destroy() break end | |
| 3307 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 3308 | p.Transparency = p.Transparency+0.01 | |
| 3309 | end | |
| 3310 | end) | |
| 3311 | wait(.3) | |
| 3312 | until Charging == false | |
| 3313 | end | |
| 3314 | end | |
| 3315 | end | |
| 3316 | end) | |
| 3317 | ---------------------------------------------------- | |
| 3318 | mouse.KeyUp:connect(function(key) | |
| 3319 | if key == "r" then | |
| 3320 | if Charging == true then | |
| 3321 | Charging = false | |
| 3322 | pt:Destroy() | |
| 3323 | pt2:Destroy() | |
| 3324 | bl:Destroy() | |
| 3325 | particle:Destroy() | |
| 3326 | if Debounces.CanAttack == false then | |
| 3327 | Debounces.CanAttack = true | |
| 3328 | Debounces.NoIdl = false | |
| 3329 | Debounces.on = false | |
| 3330 | end | |
| 3331 | end | |
| 3332 | b:Stop() | |
| 3333 | end | |
| 3334 | end) | |
| 3335 | ---------------------------------------------------- | |
| 3336 | ||
| 3337 | ---------------------------------------------------- | |
| 3338 | Search = false | |
| 3339 | mouse.KeyDown:connect(function(key) | |
| 3340 | if key == "n" then | |
| 3341 | if Search == false then | |
| 3342 | Search = true | |
| 3343 | for i,v in pairs(game.Players:getPlayers()) do | |
| 3344 | if v.Name~=char.Name then | |
| 3345 | for j,k in pairs(v.Character:GetChildren()) do | |
| 3346 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 3347 | bawx=Instance.new("SelectionBox",cam)
| |
| 3348 | bawx.Color = BrickColor.new("Bright red")
| |
| 3349 | bawx.Transparency = .5 | |
| 3350 | bawx.Adornee = k | |
| 3351 | end | |
| 3352 | end | |
| 3353 | end | |
| 3354 | end | |
| 3355 | elseif Search == true then | |
| 3356 | Search = false | |
| 3357 | for i, v in pairs(cam:GetChildren()) do | |
| 3358 | if v:IsA("SelectionBox") then
| |
| 3359 | v:Destroy() | |
| 3360 | end | |
| 3361 | end | |
| 3362 | end | |
| 3363 | end | |
| 3364 | end) | |
| 3365 | ---------------------------------------------------- | |
| 3366 | ||
| 3367 | ---------------------------------------------------- | |
| 3368 | mouse.KeyDown:connect(function(key) | |
| 3369 | if string.byte(key) == 52 then | |
| 3370 | char.Humanoid.WalkSpeed = 60 | |
| 3371 | end | |
| 3372 | end) | |
| 3373 | mouse.KeyUp:connect(function(key) | |
| 3374 | if string.byte(key) == 52 then | |
| 3375 | char.Humanoid.WalkSpeed = 8 | |
| 3376 | end | |
| 3377 | end) | |
| 3378 | ------------------------------- | |
| 3379 | local animpose = "Idle" | |
| 3380 | local lastanimpose = "Idle" | |
| 3381 | local sine = 0 | |
| 3382 | local change = 1 | |
| 3383 | local val = 0 | |
| 3384 | local ffing = false | |
| 3385 | ------------------------------- | |
| 3386 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3387 | --[[if char.Humanoid.Jump == true then | |
| 3388 | jump = true | |
| 3389 | else | |
| 3390 | jump = false | |
| 3391 | end]] | |
| 3392 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3393 | if f then | |
| 3394 | ffing = true | |
| 3395 | else | |
| 3396 | ffing = false | |
| 3397 | end | |
| 3398 | end) | |
| 3399 | sine = sine + change | |
| 3400 | if jumpn == true then | |
| 3401 | animpose = "Jumping" | |
| 3402 | elseif ffing == true then | |
| 3403 | animpose = "Freefalling" | |
| 3404 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3405 | animpose = "Idle" | |
| 3406 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3407 | animpose = "Walking" | |
| 3408 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3409 | animpose = "Running" | |
| 3410 | end | |
| 3411 | if animpose ~= lastanimpose then | |
| 3412 | sine = 0 | |
| 3413 | if Debounces.NoIdl == false then | |
| 3414 | if animpose == "Idle" then | |
| 3415 | for i = 1, 2 do | |
| 3416 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 3417 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 3418 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 3419 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3420 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 3421 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 3422 | end | |
| 3423 | elseif animpose == "Walking" then | |
| 3424 | for i = 1, 2 do | |
| 3425 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3426 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3427 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3428 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3429 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3430 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3431 | end | |
| 3432 | elseif animpose == "Running" then | |
| 3433 | for i = 1, 2 do | |
| 3434 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 3435 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 3436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 3437 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 3438 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 3439 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 3440 | wait() | |
| 3441 | end | |
| 3442 | end | |
| 3443 | else | |
| 3444 | end | |
| 3445 | end | |
| 3446 | lastanimpose = animpose | |
| 3447 | if Debounces.NoIdl == false then | |
| 3448 | if animpose == "Idle" then | |
| 3449 | change = 0.5 | |
| 3450 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4) | |
| 3451 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4) | |
| 3452 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2) | |
| 3453 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3454 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05) | |
| 3455 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4) | |
| 3456 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4) | |
| 3457 | elseif animpose == "Walking" then | |
| 3458 | change = 1 | |
| 3459 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3460 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3461 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3462 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3463 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3464 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3465 | elseif animpose == "Running" then | |
| 3466 | change = 1 | |
| 3467 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
| 3468 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
| 3469 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3470 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
| 3471 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
| 3472 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
| 3473 | end | |
| 3474 | end | |
| 3475 | end) | |
| 3476 | ||
| 3477 | hum.MaxHealth = 9001 | |
| 3478 | wait(3) | |
| 3479 | hum.Health = 9001 | |
| 3480 | Spawn(function() | |
| 3481 | while wait(.1) do | |
| 3482 | Magik() | |
| 3483 | end | |
| 3484 | end) | |
| 3485 | ||
| 3486 | Spawn(function() | |
| 3487 | while wait(.1) do | |
| 3488 | Magik2() | |
| 3489 | end | |
| 3490 | end) | |
| 3491 | ----------------------------------------------- | |
| 3492 | ||
| 3493 | LocalPlayer = game:GetService("Players").LocalPlayer
| |
| 3494 | local lastCF=char.Torso.Position | |
| 3495 | local x1=Instance.new("Part",game.Workspace)
| |
| 3496 | x1.Name="Lightning" | |
| 3497 | x1.Size=Vector3.new(1,1,1) | |
| 3498 | x1.CanCollide=false | |
| 3499 | x1.Anchored=true | |
| 3500 | x1.Transparency=1 | |
| 3501 | Spawn(function() | |
| 3502 | while true do | |
| 3503 | wait(-1) | |
| 3504 | x1.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(50,360)))*CFrame.new(0,0,2.6) | |
| 3505 | end | |
| 3506 | end) | |
| 3507 | for i = 1,math.huge do | |
| 3508 | local dist2 = (lastCF-x1.Position).magnitude | |
| 3509 | local x2=Instance.new("Part",game.Workspace)
| |
| 3510 | x2.Name="Lightning2" | |
| 3511 | x2.Size=Vector3.new(1,1,1) | |
| 3512 | x2.Material="Neon" | |
| 3513 | x2.BrickColor=BrickColor.new("Teal")
| |
| 3514 | x2.CFrame=CFrame.new(lastCF,x1.Position)*CFrame.new(0,0,-dist2/2) | |
| 3515 | x2.CanCollide=false | |
| 3516 | x2.Anchored=true | |
| 3517 | local m = Instance.new("BlockMesh",x2)
| |
| 3518 | m.Scale = Vector3.new(0.5,0.5,dist2) | |
| 3519 | lastCF=x1.Position | |
| 3520 | spawn(function() | |
| 3521 | for i = 1,20 do | |
| 3522 | xx=m.Scale.x/2 | |
| 3523 | y=m.Scale.x/2 | |
| 3524 | m.Scale=m.Scale-Vector3.new(xx,y,0) | |
| 3525 | wait() | |
| 3526 | end | |
| 3527 | end) | |
| 3528 | game.Debris:AddItem(x2,1.5) | |
| 3529 | wait() | |
| 3530 | end |