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