SHOW:
|
|
- or go back to the newest paste.
| 1 | --God Slayer | |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | --[[wait(0.1) | |
| 7 | ------------------------------- | |
| 8 | local p=game:service("Players").LocalPlayer
| |
| 9 | if p.Name=="Reruderu" then | |
| 10 | p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
| |
| 11 | elseif p.Name=="Rerumu" then | |
| 12 | p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
| |
| 13 | end]] | |
| 14 | local p=game:service("Players").LocalPlayer
| |
| 15 | local char=p.Character | |
| 16 | script.Parent=char | |
| 17 | local torso=char.Torso | |
| 18 | local hed=char.Head | |
| 19 | local larm=char:FindFirstChild("Left Arm")
| |
| 20 | local rarm=char:FindFirstChild("Right Arm")
| |
| 21 | local lleg=char:FindFirstChild("Left Leg")
| |
| 22 | local rleg=char:FindFirstChild("Right Leg")
| |
| 23 | local hum=char.Humanoid | |
| 24 | local cam=workspace.CurrentCamera | |
| 25 | local root=char.HumanoidRootPart | |
| 26 | local mouse=p:GetMouse() | |
| 27 | local hb=game:service("RunService").Heartbeat
| |
| 28 | local rs=game:service("RunService").Stepped
| |
| 29 | hum.MaxHealth=math.huge | |
| 30 | hum.Health=hum.MaxHealth | |
| 31 | local pgui=Instance.new("ScreenGui",p.PlayerGui)
| |
| 32 | random={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}
| |
| 33 | local run = 30 | |
| 34 | local normal = 16 | |
| 35 | local color = "Really black" | |
| 36 | local color2 = "Really red" | |
| 37 | local righteyebrickcolor = "Really red" | |
| 38 | local NumCol = 0,0,255 | |
| 39 | local GodSlayer = true | |
| 40 | local Full = false | |
| 41 | hum.WalkSpeed = 50 | |
| 42 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 43 | ------------------- | |
| 44 | local drinks="10722059" | |
| 45 | local m="41707332" | |
| 46 | local tx="41708701" | |
| 47 | local ragesong="590156873" | |
| 48 | local breaks="368270172" | |
| 49 | local scream="527276541" | |
| 50 | local Shirt = "rbxassetid://427841675" | |
| 51 | local Pants = "rbxassetid://428282416" | |
| 52 | ------------------- | |
| 53 | ||
| 54 | ||
| 55 | function swait(num) | |
| 56 | if num==0 or num==nil then | |
| 57 | game:service'RunService'.Stepped:wait(0) | |
| 58 | else | |
| 59 | for i=0,num do | |
| 60 | game:service'RunService'.Stepped:wait(0) | |
| 61 | end | |
| 62 | end | |
| 63 | end | |
| 64 | ||
| 65 | function chatfunc(text) | |
| 66 | local chat = coroutine.wrap(function() | |
| 67 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 68 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 69 | end | |
| 70 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 71 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 72 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 73 | naeeym2.Adornee = char.Head | |
| 74 | naeeym2.Name = "TalkingBillBoard" | |
| 75 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 76 | tecks2.BackgroundTransparency = 1 | |
| 77 | tecks2.BorderSizePixel = 0 | |
| 78 | tecks2.Text = "" | |
| 79 | tecks2.Font = "Fantasy" | |
| 80 | tecks2.TextSize = 30 | |
| 81 | tecks2.TextStrokeTransparency = 0 | |
| 82 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 83 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 84 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 85 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 86 | tecks3.BackgroundTransparency = 1 | |
| 87 | tecks3.BorderSizePixel = 0 | |
| 88 | tecks3.Text = "" | |
| 89 | tecks3.Font = "Fantasy" | |
| 90 | tecks3.TextSize = 30 | |
| 91 | tecks3.TextStrokeTransparency = 0 | |
| 92 | tecks3.TextColor3 = Color3.new(0,0,255) | |
| 93 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 94 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 95 | for i = 1,string.len(text),1 do | |
| 96 | tecks2.Text = string.sub(text,1,i) | |
| 97 | tecks3.Text = string.sub(text,1,i) | |
| 98 | wait(0.01) | |
| 99 | end | |
| 100 | wait(2) | |
| 101 | for i = 1, 50 do | |
| 102 | swait() | |
| 103 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 104 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 105 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 106 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 107 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 108 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 109 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 110 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 111 | end | |
| 112 | naeeym2:Destroy() | |
| 113 | end) | |
| 114 | chat() | |
| 115 | end | |
| 116 | function onChatted(msg) | |
| 117 | chatfunc(msg) | |
| 118 | end | |
| 119 | p.Chatted:connect(onChatted) | |
| 120 | coroutine.resume(coroutine.create(function() | |
| 121 | wait(2) | |
| 122 | chatfunc("Allow me to show you what happens when I break my limiter..")
| |
| 123 | end)) | |
| 124 | ||
| 125 | ||
| 126 | local s0=Instance.new("Sound",char)
| |
| 127 | s0.SoundId="rbxassetid://"..ragesong | |
| 128 | s0.Volume=1999 | |
| 129 | s0.Pitch=1 | |
| 130 | s0.Looped=true | |
| 131 | ||
| 132 | ||
| 133 | local s02=Instance.new("Sound",char)
| |
| 134 | s02.SoundId="rbxassetid://978788235" | |
| 135 | s02.Volume=1999 | |
| 136 | s02.Pitch=1 | |
| 137 | s02.Looped=false | |
| 138 | s02:Play() | |
| 139 | ||
| 140 | function Sound(ID,Parent,Vol,Pitch,Loop) | |
| 141 | local S0 = Instance.new("Sound",Parent)
| |
| 142 | S0.SoundId = ID | |
| 143 | S0.Volume = Vol | |
| 144 | S0.Looped = Loop | |
| 145 | S0.Pitch = Pitch | |
| 146 | wait(.1) | |
| 147 | S0:Play() | |
| 148 | end | |
| 149 | function weld(a, b, acf) | |
| 150 | local w = Instance.new("Weld", a)
| |
| 151 | w.Part0 = a | |
| 152 | w.Part1 = b | |
| 153 | w.C0 = acf | |
| 154 | end | |
| 155 | ||
| 156 | ||
| 157 | wait(9) | |
| 158 | char.Head.face:Destroy() | |
| 159 | local reye = Instance.new("Part", char)
| |
| 160 | reye.CanCollide = false | |
| 161 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 162 | reye.Material = "Neon" | |
| 163 | reye.Size = Vector3.new(.15,.15,.15) | |
| 164 | weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
| 165 | m1 = Instance.new("SpecialMesh", reye)
| |
| 166 | m1.MeshType = "Sphere" | |
| 167 | m1.Scale = Vector3.new(0.9,0.9,0.9) | |
| 168 | reye.Locked = true | |
| 169 | reye.Name = "re" | |
| 170 | ||
| 171 | local leye = Instance.new("Part", char)
| |
| 172 | leye.CanCollide = false | |
| 173 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 174 | leye.Material = "Neon" | |
| 175 | leye.Size = Vector3.new(.15,.15,.15) | |
| 176 | weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0)) | |
| 177 | local m = Instance.new("SpecialMesh", leye)
| |
| 178 | m.MeshType = "Sphere" | |
| 179 | m.Scale = Vector3.new(0.9,0.9,0.9) | |
| 180 | leye.Locked = true | |
| 181 | leye.Name = "le" | |
| 182 | ||
| 183 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 184 | while Part.Parent~=nil do | |
| 185 | wait(2) | |
| 186 | for i=0,1,0.2 do | |
| 187 | wait() | |
| 188 | m.Scale = Vector3.new(.9,.9-.8*i,.5) | |
| 189 | end | |
| 190 | for i=0,1,0.2 do | |
| 191 | wait() | |
| 192 | m.Scale = Vector3.new(.9,.9+.8*i,.5) | |
| 193 | end | |
| 194 | end | |
| 195 | end),leye,weld) | |
| 196 | ||
| 197 | coroutine.resume(coroutine.create(function(Part,Weld) | |
| 198 | while Part.Parent~=nil do | |
| 199 | wait(2) | |
| 200 | for z=0,1,0.2 do | |
| 201 | wait() | |
| 202 | m1.Scale = Vector3.new(.9,.9-.8*z,.5) | |
| 203 | end | |
| 204 | for z=0,1,0.2 do | |
| 205 | wait() | |
| 206 | m1.Scale = Vector3.new(.9,.9+.8*z,.5) | |
| 207 | end | |
| 208 | end | |
| 209 | end),reye,weld) | |
| 210 | ||
| 211 | ||
| 212 | ||
| 213 | function fnt(pos,dist,splr) | |
| 214 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
| 215 | local list = {}
| |
| 216 | for i,v in pairs(workspace:GetChildren())do | |
| 217 | if v:IsA("Model")then
| |
| 218 | if v:findFirstChild("Torso")then
| |
| 219 | if v ~= char then | |
| 220 | if(v.Torso.Position -pos).magnitude <= dist then | |
| 221 | table.insert(list,v) | |
| 222 | end | |
| 223 | end | |
| 224 | end | |
| 225 | end | |
| 226 | end | |
| 227 | return list | |
| 228 | end | |
| 229 | function fnp(pos,dist,splr) | |
| 230 | if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end | |
| 231 | local list = {}
| |
| 232 | for i,v in pairs(workspace:GetChildren())do | |
| 233 | if v:IsA("Part")then
| |
| 234 | if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then | |
| 235 | if(v.Position -pos).magnitude <= dist then | |
| 236 | table.insert(list,v) | |
| 237 | end | |
| 238 | end | |
| 239 | end | |
| 240 | end | |
| 241 | return list | |
| 242 | end | |
| 243 | fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld | |
| 244 | local wld = Instance.new("Weld", wp1)
| |
| 245 | wld.Part0 = wp0 | |
| 246 | wld.Part1 = wp1 | |
| 247 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 248 | end | |
| 249 | local trans=false | |
| 250 | ------------------------------------ | |
| 251 | ------------------------------------ | |
| 252 | anim="idle" | |
| 253 | local sine=0 | |
| 254 | local add=0 | |
| 255 | local value=0 | |
| 256 | local ffing=false | |
| 257 | local msgs=0 | |
| 258 | attack=false | |
| 259 | NoAnims=false | |
| 260 | ----preparing character---- | |
| 261 | ||
| 262 | ||
| 263 | ||
| 264 | ||
| 265 | ||
| 266 | ||
| 267 | function NoOutline(Part) | |
| 268 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 269 | end | |
| 270 | function lerp(a, b, t) -- Linear interpolation | |
| 271 | return a + (b - a)*t | |
| 272 | end | |
| 273 | ||
| 274 | function slerp(a, b, t) --Spherical interpolation | |
| 275 | dot = a:Dot(b) | |
| 276 | if dot > 0.99999 or dot < -0.99999 then | |
| 277 | return t <= 0.5 and a or b | |
| 278 | else | |
| 279 | r = math.acos(dot) | |
| 280 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 281 | end | |
| 282 | end | |
| 283 | ||
| 284 | function matrixInterpolate(a, b, t) | |
| 285 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 286 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 287 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 288 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 289 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 290 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 291 | local t = v1:Dot(v2) | |
| 292 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 293 | return CFrame.new() | |
| 294 | end | |
| 295 | return CFrame.new( | |
| 296 | v0.x, v0.y, v0.z, | |
| 297 | v1.x, v1.y, v1.z, | |
| 298 | v2.x, v2.y, v2.z, | |
| 299 | v3.x, v3.y, v3.z) | |
| 300 | end | |
| 301 | ---------------------------------------------------- | |
| 302 | function genWeld(a,b) | |
| 303 | local w = Instance.new("Weld",a)
| |
| 304 | w.Part0 = a | |
| 305 | w.Part1 = b | |
| 306 | return w | |
| 307 | end | |
| 308 | function weld(a, b) | |
| 309 | local weld = Instance.new("Weld")
| |
| 310 | weld.Name = "W" | |
| 311 | weld.Part0 = a | |
| 312 | weld.Part1 = b | |
| 313 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 314 | weld.Parent = a | |
| 315 | return weld; | |
| 316 | end | |
| 317 | ---------------------------------------------------- | |
| 318 | function Lerp(c1,c2,al) | |
| 319 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 320 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 321 | for i,v in pairs(com1) do | |
| 322 | com1[i] = v+(com2[i]-v)*al | |
| 323 | end | |
| 324 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 325 | end | |
| 326 | ---------------------------------------------------- | |
| 327 | ||
| 328 | ||
| 329 | ||
| 330 | fw(torso, larm, -1.5, 0.5, 0) | |
| 331 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 332 | fw(torso, rarm, 1.5, 0.5, 0) | |
| 333 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 334 | fw(torso, hed, 0, 1.5, 0) | |
| 335 | fw(torso, lleg, -0.5, -1, 0) | |
| 336 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 337 | fw(torso, rleg, 0.5, -1, 0) | |
| 338 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 339 | fw(root, torso, 0, -1, 0) | |
| 340 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 341 | --------------rot------------ | |
| 342 | local r=0 | |
| 343 | local radd=0.04 | |
| 344 | coroutine.wrap(function() | |
| 345 | while rs:wait() do | |
| 346 | r=r+radd | |
| 347 | end | |
| 348 | end)() | |
| 349 | attack = false | |
| 350 | ----------------------------- | |
| 351 | ||
| 352 | ----------------------------- | |
| 353 | ||
| 354 | ||
| 355 | if trans == false then | |
| 356 | attack=true | |
| 357 | NoAnims=true | |
| 358 | hum.WalkSpeed=50 | |
| 359 | - | hum.WalkSpeed=0 |
| 359 | + | |
| 360 | local fx = Instance.new("Sound",char)
| |
| 361 | fx.SoundId="rbxassetid://"..drinks | |
| 362 | fx.Volume=0 | |
| 363 | fx.Pitch=1 | |
| 364 | fx:Play() | |
| 365 | ||
| 366 | ||
| 367 | ||
| 368 | ||
| 369 | fx.SoundId="rbxassetid://"..breaks | |
| 370 | fx.Volume=10 | |
| 371 | fx:Play() | |
| 372 | ||
| 373 | ||
| 374 | ||
| 375 | ||
| 376 | print("drinked")
| |
| 377 | ||
| 378 | ||
| 379 | ||
| 380 | coroutine.wrap(function() | |
| 381 | while trans == false do | |
| 382 | wait(0.2) | |
| 383 | local ef = Instance.new("Part",char)
| |
| 384 | ef.Name="pulse" | |
| 385 | ef.BrickColor=BrickColor.new(color2) | |
| 386 | ef.Material="Neon" | |
| 387 | ef.Shape="Ball" | |
| 388 | ef.CanCollide=false | |
| 389 | ef.Anchored=true | |
| 390 | ef.Size=Vector3.new(1,1,1) | |
| 391 | ef.CFrame=root.CFrame | |
| 392 | ||
| 393 | local ef2 = ef:Clone() | |
| 394 | ef2.Parent=ef | |
| 395 | ef2.BrickColor=BrickColor.new(color) | |
| 396 | ef2.Name="call" | |
| 397 | ef2.Size=Vector3.new(1,1,1) | |
| 398 | local em=Instance.new("SpecialMesh",ef2)
| |
| 399 | em.MeshId="rbxassetid://3270017" | |
| 400 | em.Scale=Vector3.new(1,1,0.0001) | |
| 401 | ||
| 402 | local ef3 = ef2:Clone() | |
| 403 | ef3.Parent=ef | |
| 404 | ef3.Name="aura" | |
| 405 | ef3.CFrame=root.CFrame | |
| 406 | local em2=ef3.Mesh | |
| 407 | em2.MeshId="rbxassetid://20329976" | |
| 408 | em2.Scale=Vector3.new(1,0.4,1) | |
| 409 | ||
| 410 | local ef4 = ef3:Clone() | |
| 411 | ef4.Parent=ef | |
| 412 | local em3=ef4.Mesh | |
| 413 | ||
| 414 | local ef5 = ef2:Clone() | |
| 415 | ef5.Parent=ef | |
| 416 | local em4=ef5.Mesh | |
| 417 | ||
| 418 | coroutine.wrap(function() | |
| 419 | for i = 1, 60 do | |
| 420 | rs:wait() | |
| 421 | ef.Size=ef.Size+Vector3.new(1,1,1) | |
| 422 | ef.Transparency=ef.Transparency+1/60 | |
| 423 | ef2.Size=ef2.Size+Vector3.new(1,0.3,1) | |
| 424 | ef2.Transparency=ef2.Transparency+1/60 | |
| 425 | em.Scale=em.Scale+Vector3.new(1,1,0) | |
| 426 | ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r) | |
| 427 | ef3.Size=ef3.Size+Vector3.new(1,0.3,1) | |
| 428 | ef3.Transparency=ef3.Transparency+1/60 | |
| 429 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
| 430 | em2.Scale=em2.Scale+Vector3.new(1,0.3,1) | |
| 431 | ef4.Size=ef4.Size+Vector3.new(1,0.3,1) | |
| 432 | ef4.Transparency=ef4.Transparency+1/60 | |
| 433 | ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0) | |
| 434 | em3.Scale=em3.Scale+Vector3.new(1,0.3,1) | |
| 435 | ef5.Transparency=ef5.Transparency+1/60 | |
| 436 | em4.Scale=em4.Scale+Vector3.new(1,1,0) | |
| 437 | ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r) | |
| 438 | end | |
| 439 | ef:Destroy() | |
| 440 | ef2:Destroy() | |
| 441 | ef3:Destroy() | |
| 442 | ef4:Destroy() | |
| 443 | ef5:Destroy() | |
| 444 | end)() | |
| 445 | end | |
| 446 | local ef = Instance.new("Part",char)
| |
| 447 | ef.Name="pulse" | |
| 448 | ef.BrickColor=BrickColor.new(color2) | |
| 449 | ef.Material="Neon" | |
| 450 | ef.Shape="Ball" | |
| 451 | ef.CanCollide=false | |
| 452 | ef.Anchored=true | |
| 453 | ef.Size=Vector3.new(1,1,1) | |
| 454 | ef.CFrame=root.CFrame | |
| 455 | local em=Instance.new("SpecialMesh",ef)
| |
| 456 | em.MeshId="rbxassetid://9982590" | |
| 457 | em.Scale=Vector3.new(1,0.3,1) | |
| 458 | ||
| 459 | local ef2 = ef:Clone() | |
| 460 | ef2.Parent=ef | |
| 461 | ef2.Name="aura" | |
| 462 | ef2.CFrame=root.CFrame | |
| 463 | ef2.Mesh:Destroy() | |
| 464 | ||
| 465 | local ef3 = ef:Clone() | |
| 466 | ef3.Parent=ef | |
| 467 | ef3.Name="aura" | |
| 468 | ef3.CFrame=root.CFrame | |
| 469 | ef3.Mesh:Destroy() | |
| 470 | local em2=Instance.new("SpecialMesh",ef3)
| |
| 471 | em2.MeshId="rbxassetid://20329976" | |
| 472 | em2.Scale=Vector3.new(1,0.3,1) | |
| 473 | ||
| 474 | coroutine.wrap(function() | |
| 475 | for i = 1, 250 do | |
| 476 | ef.Size=ef.Size+Vector3.new(2,2,2) | |
| 477 | ef.Transparency=ef.Transparency+1/160 | |
| 478 | em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6) | |
| 479 | ef.CFrame=root.CFrame*CFrame.Angles(r,r,r) | |
| 480 | ef3.Transparency=ef3.Transparency+1/160 | |
| 481 | ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0) | |
| 482 | em2.Scale=em2.Scale+Vector3.new(2,0.8,2) | |
| 483 | ef2.Size=ef2.Size+Vector3.new(2,2,2) | |
| 484 | ef2.Transparency=ef2.Transparency+1/160 | |
| 485 | rs:wait() | |
| 486 | end | |
| 487 | ef:Destroy() | |
| 488 | ef2:Destroy() | |
| 489 | ef3:Destroy() | |
| 490 | s02:Destroy() | |
| 491 | ||
| 492 | end)() | |
| 493 | end)() | |
| 494 | ||
| 495 | for i = 1, 270 do | |
| 496 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
| 497 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25) | |
| 498 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25) | |
| 499 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25) | |
| 500 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25) | |
| 501 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
| 502 | rs:wait() | |
| 503 | end | |
| 504 | wait(8.7) | |
| 505 | s0:Play() | |
| 506 | trans=true | |
| 507 | print("screamed")
| |
| 508 | for i,v in pairs(char:GetChildren()) do | |
| 509 | if v:FindFirstChild("Handle") then
| |
| 510 | v.Handle.Transparency=1 | |
| 511 | end | |
| 512 | end | |
| 513 | hum.WalkSpeed=normal | |
| 514 | NoAnims=false | |
| 515 | attack=false | |
| 516 | end | |
| 517 | ||
| 518 | ||
| 519 | ------effects------ | |
| 520 | ||
| 521 | ypcall(function() | |
| 522 | shirt = Instance.new("Shirt", char)
| |
| 523 | shirt.Name = "Shirt" | |
| 524 | pants = Instance.new("Pants", char)
| |
| 525 | pants.Name = "Pants" | |
| 526 | char.Shirt.ShirtTemplate = Shirt | |
| 527 | char.Pants.PantsTemplate = Pants | |
| 528 | end) | |
| 529 | ||
| 530 | char["Body Colors"].HeadColor = BrickColor.new("brown")
| |
| 531 | char["Body Colors"].TorsoColor = BrickColor.new("brown")
| |
| 532 | char["Body Colors"].LeftArmColor = BrickColor.new("brown")
| |
| 533 | char["Body Colors"].RightArmColor = BrickColor.new("brown")
| |
| 534 | ||
| 535 | ||
| 536 | ||
| 537 | hum = char.Humanoid | |
| 538 | ||
| 539 | function CreateMesh(parent, id, x, y, z, texture) | |
| 540 | local m=Instance.new("SpecialMesh", parent)
| |
| 541 | m.MeshType = "FileMesh" | |
| 542 | m.MeshId=id | |
| 543 | if texture ~= nil then | |
| 544 | m.TextureId=texture | |
| 545 | end | |
| 546 | m.Scale = Vector3.new(x,y,z) | |
| 547 | end | |
| 548 | ||
| 549 | local euler = CFrame.fromEulerAnglesXYZ | |
| 550 | ||
| 551 | Hat=function() | |
| 552 | hat = Instance.new("Part", char)
| |
| 553 | CreateMesh(hat, "rbxassetid://673406953", 1.1, 1.1, 1.1,"rbxassetid://") | |
| 554 | - | CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015") |
| 554 | + | |
| 555 | hat.Locked = true | |
| 556 | hat.BrickColor = BrickColor.new("Dark red")
| |
| 557 | hat.CanCollide=true | |
| 558 | hat.Size=Vector3.new(1,1,1) | |
| 559 | hatw = Instance.new("Weld",hat)
| |
| 560 | hatw.Part0=hat | |
| 561 | hatw.Part1=char['Head'] | |
| 562 | hatw.C0=CFrame.new(-0.1,-0.4,0) | |
| 563 | hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 564 | end | |
| 565 | ||
| 566 | ||
| 567 | Hat2=function() | |
| 568 | hat2 = Instance.new("Part", char)
| |
| 569 | CreateMesh(hat2, "rbxassetid://", 0.5, 0.5, 0.5,"rbxassetid://") | |
| 570 | - | CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208") |
| 570 | + | |
| 571 | hat2.Locked = true | |
| 572 | hat2.BrickColor = BrickColor.new("Dark indigo")
| |
| 573 | hat2.CanCollide=true | |
| 574 | hat2.Size=Vector3.new(1,1,1) | |
| 575 | hat2w = Instance.new("Weld",hat2)
| |
| 576 | hat2w.Part0=hat2 | |
| 577 | hat2w.Part1=char['Head'] | |
| 578 | hat2w.C0=CFrame.new(0,0.5,0) | |
| 579 | hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 580 | end | |
| 581 | ||
| 582 | Hat() | |
| 583 | Hat2() | |
| 584 | ||
| 585 | hum.MaxHealth=math.huge | |
| 586 | hum.Health=hum.MaxHealth | |
| 587 | ||
| 588 | ||
| 589 | Debounces = {
| |
| 590 | CanAttack = true; | |
| 591 | NoIdl = false; | |
| 592 | Slashing = false; | |
| 593 | Slashed = false; | |
| 594 | RPunch = false; | |
| 595 | RPunched = false; | |
| 596 | LPunch = false; | |
| 597 | LPunched = false; | |
| 598 | } | |
| 599 | local Touche = {char.Name, }
| |
| 600 | ||
| 601 | ||
| 602 | ||
| 603 | ||
| 604 | ||
| 605 | CV="Really red" | |
| 606 | ||
| 607 | local txt = Instance.new("BillboardGui", char)
| |
| 608 | txt.Adornee = char .Head | |
| 609 | txt.Name = "_status" | |
| 610 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 611 | txt.StudsOffset = Vector3.new(-9, 11, 0) | |
| 612 | local text = Instance.new("TextLabel", txt)
| |
| 613 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 614 | text.FontSize = "Size24" | |
| 615 | text.TextScaled = true | |
| 616 | text.TextTransparency = 0 | |
| 617 | text.BackgroundTransparency = 1 | |
| 618 | text.TextTransparency = 0 | |
| 619 | text.TextStrokeTransparency = 0 | |
| 620 | text.Font = "Antique" | |
| 621 | text.TextStrokeColor3 = Color3.new(0,0,255) | |
| 622 | ||
| 623 | v=Instance.new("Part")
| |
| 624 | v.Name = "ColorBrick" | |
| 625 | v.Parent=p.Character | |
| 626 | v.FormFactor="Symmetric" | |
| 627 | v.Anchored=true | |
| 628 | v.CanCollide=false | |
| 629 | v.BottomSurface="Smooth" | |
| 630 | v.TopSurface="Smooth" | |
| 631 | v.Size=Vector3.new(10,5,3) | |
| 632 | v.Transparency=1 | |
| 633 | v.CFrame=char.Torso.CFrame | |
| 634 | v.BrickColor=BrickColor.new(CV) | |
| 635 | v.Transparency=1 | |
| 636 | text.TextColor3 = Color3.new(0,0,0) | |
| 637 | v.Shape="Block" | |
| 638 | text.Text = "God Slayer Red" | |
| 639 | - | text.Text = "God Slayer" |
| 639 | + | |
| 640 | ||
| 641 | ||
| 642 | ||
| 643 | ||
| 644 | ||
| 645 | ||
| 646 | rarm.Touched:connect(function(ht) | |
| 647 | hit = ht.Parent | |
| 648 | if ht and hit:IsA("Model") then
| |
| 649 | if hit:FindFirstChild("Humanoid") then
| |
| 650 | if hit.Name ~= p.Name then | |
| 651 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 652 | Debounces.RPunched = true | |
| 653 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 654 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 655 | if Debounces.ks==true then | |
| 656 | z = Instance.new("Sound",hed)
| |
| 657 | z.SoundId = "rbxassetid://588693156" | |
| 658 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 659 | z.Volume = 20 | |
| 660 | z:Play() | |
| 661 | end | |
| 662 | wait(.2) | |
| 663 | Debounces.RPunched = false | |
| 664 | end | |
| 665 | end | |
| 666 | end | |
| 667 | elseif ht and hit:IsA("Hat") then
| |
| 668 | if hit.Parent.Name ~= p.Name then | |
| 669 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 670 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 671 | Debounces.RPunched = true | |
| 672 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 673 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 674 | if Debounces.ks==true then | |
| 675 | z = Instance.new("Sound",hed)
| |
| 676 | z.SoundId = "rbxassetid://588693156" | |
| 677 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 678 | z.Volume = 20 | |
| 679 | z:Play() | |
| 680 | end | |
| 681 | wait(.2) | |
| 682 | Debounces.RPunched = false | |
| 683 | end | |
| 684 | end | |
| 685 | end | |
| 686 | end | |
| 687 | end) | |
| 688 | larm.Touched:connect(function(ht) | |
| 689 | hit = ht.Parent | |
| 690 | if ht and hit:IsA("Model") then
| |
| 691 | if hit:FindFirstChild("Humanoid") then
| |
| 692 | if hit.Name ~= p.Name then | |
| 693 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 694 | Debounces.LPunched = true | |
| 695 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 696 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 697 | if Debounces.ks2==true then | |
| 698 | z = Instance.new("Sound",hed)
| |
| 699 | z.SoundId = "rbxassetid://588693156" | |
| 700 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 701 | z.Volume = 20 | |
| 702 | z:Play() | |
| 703 | end | |
| 704 | wait(.2) | |
| 705 | Debounces.LPunched = false | |
| 706 | end | |
| 707 | end | |
| 708 | end | |
| 709 | elseif ht and hit:IsA("Hat") then
| |
| 710 | if hit.Parent.Name ~= p.Name then | |
| 711 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 712 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 713 | Debounces.LPunched = true | |
| 714 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 715 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
| |
| 716 | if Debounces.ks2==true then | |
| 717 | z = Instance.new("Sound",hed)
| |
| 718 | z.SoundId = "rbxassetid://588693156" | |
| 719 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 720 | z.Volume = 20 | |
| 721 | z:Play() | |
| 722 | end | |
| 723 | wait(.2) | |
| 724 | Debounces.LPunched = false | |
| 725 | end | |
| 726 | end | |
| 727 | end | |
| 728 | end | |
| 729 | end) | |
| 730 | ||
| 731 | ||
| 732 | ||
| 733 | ||
| 734 | ||
| 735 | ||
| 736 | ||
| 737 | ||
| 738 | local attacktype = 1 | |
| 739 | local attack = false | |
| 740 | ||
| 741 | ||
| 742 | ||
| 743 | function attackone() | |
| 744 | Debounces.RPunch = true | |
| 745 | Debounces.LPunch = true | |
| 746 | attack = true | |
| 747 | NoAnims = true | |
| 748 | for i = 1, 3 do | |
| 749 | 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) | |
| 750 | 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) | |
| 751 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 752 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 753 | 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) | |
| 754 | 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) | |
| 755 | if Debounces.on == false then break end | |
| 756 | wait() | |
| 757 | end | |
| 758 | attack = false | |
| 759 | NoAnims = false | |
| 760 | Debounces.RPunch = false | |
| 761 | Debounces.LPunch = false | |
| 762 | end | |
| 763 | ||
| 764 | function attacktwo() | |
| 765 | Debounces.RPunch = true | |
| 766 | Debounces.LPunch = true | |
| 767 | NoAnims = true | |
| 768 | attack = true | |
| 769 | for i = 1, 3 do | |
| 770 | 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) | |
| 771 | 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) | |
| 772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 774 | 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) | |
| 775 | 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) | |
| 776 | if Debounces.on == false then break end | |
| 777 | wait() | |
| 778 | end | |
| 779 | attack = false | |
| 780 | NoAnims = false | |
| 781 | Debounces.RPunch = false | |
| 782 | Debounces.LPunch = false | |
| 783 | ||
| 784 | end | |
| 785 | ||
| 786 | ||
| 787 | function attackthree() | |
| 788 | Debounces.RPunch = true | |
| 789 | Debounces.LPunch = true | |
| 790 | NoAnims = true | |
| 791 | attack = true | |
| 792 | for i = 1, 3 do | |
| 793 | 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) | |
| 794 | 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) | |
| 795 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 796 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 797 | 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) | |
| 798 | 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) | |
| 799 | if Debounces.on == false then break end | |
| 800 | wait() | |
| 801 | end | |
| 802 | attack = false | |
| 803 | NoAnims = false | |
| 804 | Debounces.RPunch = false | |
| 805 | Debounces.LPunch = false | |
| 806 | end | |
| 807 | ||
| 808 | ||
| 809 | function attackfour() | |
| 810 | Debounces.RPunch = true | |
| 811 | Debounces.LPunch = true | |
| 812 | NoAnims = true | |
| 813 | attack = true | |
| 814 | for i = 1, 3 do | |
| 815 | 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) | |
| 816 | 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) | |
| 817 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 818 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 819 | 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) | |
| 820 | 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) | |
| 821 | if Debounces.on == false then break end | |
| 822 | wait() | |
| 823 | end | |
| 824 | attack = false | |
| 825 | NoAnims = false | |
| 826 | Debounces.RPunch = false | |
| 827 | Debounces.LPunch = false | |
| 828 | end | |
| 829 | ||
| 830 | ||
| 831 | mouse.Button1Down:connect(function() | |
| 832 | if attack == false and attacktype == 1 then | |
| 833 | attacktype = 2 | |
| 834 | attackone() | |
| 835 | elseif attack == false and attacktype == 2 then | |
| 836 | attacktype = 3 | |
| 837 | attacktwo() | |
| 838 | elseif attack == false and attacktype == 3 then | |
| 839 | attacktype = 4 | |
| 840 | attackthree() | |
| 841 | elseif attack == false and attacktype == 4 then | |
| 842 | attacktype = 1 | |
| 843 | attackfour() | |
| 844 | end | |
| 845 | end) | |
| 846 | ||
| 847 | ||
| 848 | --[[function Transformation() | |
| 849 | hum.WalkSpeed = 50 | |
| 850 | - | hum.WalkSpeed = 0 |
| 850 | + | |
| 851 | local prt1 = Instance.new("Model",Portal)
| |
| 852 | local prt2 = Instance.new("Model",Portal)
| |
| 853 | local prt3 = Instance.new("Model",Portal)
| |
| 854 | for i = 1,7 do | |
| 855 | local p = Instance.new("Part",prt1)
| |
| 856 | p.Locked = true | |
| 857 | p.Anchored = true | |
| 858 | p.Transparency = 1 | |
| 859 | p.CanCollide = false | |
| 860 | p.BrickColor = BrickColor.new("Really red")
| |
| 861 | p.TopSurface = 0 | |
| 862 | p.Material = "Neon" | |
| 863 | p.BottomSurface = 0 | |
| 864 | p.Size = Vector3.new(1,1,1) | |
| 865 | local m = Instance.new("SpecialMesh",p)
| |
| 866 | m.Name = 'm' | |
| 867 | m.Scale = Vector3.new(1,1,1) | |
| 868 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 869 | end for i = 1,7 do | |
| 870 | local p = Instance.new("Part",prt2)
| |
| 871 | p.Locked = true | |
| 872 | p.Anchored = true | |
| 873 | p.CanCollide = false | |
| 874 | p.Transparency = 1 | |
| 875 | p.BrickColor = BrickColor.new("Really black")
| |
| 876 | p.TopSurface = 0 | |
| 877 | p.Material = "Neon" | |
| 878 | p.BottomSurface = 0 | |
| 879 | p.Size = Vector3.new(1,1,1) | |
| 880 | local m = Instance.new("SpecialMesh",p)
| |
| 881 | m.Name = 'm' | |
| 882 | m.Scale = Vector3.new(1,1,1) | |
| 883 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 884 | end for i = 1,7 do | |
| 885 | local p = Instance.new("Part",prt3)
| |
| 886 | p.Locked = true | |
| 887 | p.Anchored = true | |
| 888 | p.CanCollide = false | |
| 889 | p.Transparency = 1 | |
| 890 | p.BrickColor = BrickColor.new("Really red")
| |
| 891 | p.TopSurface = 0 | |
| 892 | p.Material = "Neon" | |
| 893 | p.BottomSurface = 0 | |
| 894 | p.Size = Vector3.new(1,1,1) | |
| 895 | local m = Instance.new("SpecialMesh",p)
| |
| 896 | m.Name = 'm' | |
| 897 | m.Scale = Vector3.new(1,1,1) | |
| 898 | m.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 899 | end | |
| 900 | local Rot,Rate,Dist,Size = 0,65,65,1 | |
| 901 | coroutine.wrap(function() | |
| 902 | while wait()do | |
| 903 | if _DEBOUNCE then break end | |
| 904 | for i,v in pairs(prt1:GetChildren())do | |
| 905 | v.Transparency = v.Transparency -0.035 | |
| 906 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist) | |
| 907 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 908 | end for i,v in pairs(prt2:GetChildren())do | |
| 909 | v.Transparency = v.Transparency -0.035 | |
| 910 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist) | |
| 911 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 912 | end for i,v in pairs(prt3:GetChildren())do | |
| 913 | v.Transparency = v.Transparency -0.035 | |
| 914 | v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0) | |
| 915 | v.m.Scale = Vector3.new(Size,Size,Size) | |
| 916 | end | |
| 917 | Rot = Rot >= 360 and 0 or Rot +Rate | |
| 918 | end end)() | |
| 919 | wait(0.75) | |
| 920 | for i = 1,90 do | |
| 921 | Rate = Rate -(2.3/3) | |
| 922 | Dist = Dist -(1.5/3) | |
| 923 | wait() | |
| 924 | end | |
| 925 | wait(1) | |
| 926 | for i = 1,30 do | |
| 927 | Rate = Rate -(2.3/3) | |
| 928 | Dist = Dist +0.5 | |
| 929 | wait() | |
| 930 | end | |
| 931 | wait(2) | |
| 932 | for i = 1,30 do | |
| 933 | Rate = Rate +(9.2/3) | |
| 934 | Dist = Dist -1.75 | |
| 935 | wait() | |
| 936 | end | |
| 937 | wait(0.75) | |
| 938 | for i = 1,6 do | |
| 939 | Rate = Rate -4 | |
| 940 | Dist = Dist +0.5 | |
| 941 | wait() | |
| 942 | end | |
| 943 | Rate = 0 | |
| 944 | Dist = 6 | |
| 945 | wait(2) | |
| 946 | for i = 1,90 do | |
| 947 | Rate = Rate +0.5 | |
| 948 | Dist = Dist +0.2 | |
| 949 | wait() | |
| 950 | end | |
| 951 | wait(1) | |
| 952 | for i = 1,30 do | |
| 953 | Dist = Dist -(24/30) | |
| 954 | Size = Size +0.05 | |
| 955 | wait() | |
| 956 | end | |
| 957 | -- Scream in pain | |
| 958 | ||
| 959 | ||
| 960 | coroutine.resume(coroutine.create(function() | |
| 961 | wait(2) | |
| 962 | game.Lighting.TimeOfDay = "00:00:00" | |
| 963 | ||
| 964 | hat.Transparency = 1 | |
| 965 | Hat3=function() | |
| 966 | hat3 = Instance.new("Part", char)
| |
| 967 | CreateMesh(hat3, "rbxassetid://673406953", 1.1, 1.1, 1.1) | |
| 968 | - | CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1) |
| 968 | + | |
| 969 | hat3.Locked = true | |
| 970 | hat3.BrickColor = BrickColor.new("Maroon")
| |
| 971 | hat3.CanCollide=true | |
| 972 | hat3.Size=Vector3.new(1,1,1) | |
| 973 | hat3w = Instance.new("Weld",hat3)
| |
| 974 | hat3w.Part0=hat3 | |
| 975 | hat3w.Part1=char['Head'] | |
| 976 | hat3w.C0=CFrame.new(-0.1,-0.4,0) | |
| 977 | hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0)) | |
| 978 | end | |
| 979 | ||
| 980 | ||
| 981 | ||
| 982 | ypcall(function() | |
| 983 | shirt = Instance.new("Shirt", char)
| |
| 984 | shirt.Name = "Shirt" | |
| 985 | pants = Instance.new("Pants", char)
| |
| 986 | pants.Name = "Pants" | |
| 987 | char.Shirt.ShirtTemplate = "rbxassetid://519769931" | |
| 988 | char.Pants.PantsTemplate = "rbxassetid://519770250" | |
| 989 | end) | |
| 990 | ||
| 991 | ragesong2 = "492913801" | |
| 992 | s02=Instance.new("Sound",char)
| |
| 993 | s02.SoundId="rbxassetid://"..ragesong2 | |
| 994 | s02.Volume=1999 | |
| 995 | s02.Pitch=1 | |
| 996 | s02.Looped=true | |
| 997 | righteyebrickcolor = "Really red" | |
| 998 | s0:Stop() | |
| 999 | wait(0.01) | |
| 1000 | s02:Play() | |
| 1001 | reye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 1002 | leye.BrickColor = BrickColor.new(righteyebrickcolor) | |
| 1003 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
| 1004 | hat.BrickColor = BrickColor.new("Maroon")
| |
| 1005 | Hat3() | |
| 1006 | end)) | |
| 1007 | ||
| 1008 | ||
| 1009 | tran = 0 | |
| 1010 | for i,v in pairs(char:GetChildren()) do | |
| 1011 | if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then | |
| 1012 | Glow1 = Color3.new(.6,0,.1) | |
| 1013 | Glow2 = Color3.new(0,0,0) | |
| 1014 | ||
| 1015 | GlowParticle = Instance.new("ParticleEmitter",v)
| |
| 1016 | GlowParticle.LightEmission = 1 | |
| 1017 | GlowParticle.Color = ColorSequence.new(Glow1,Glow2) | |
| 1018 | GlowParticle.Size = NumberSequence.new(0,2) | |
| 1019 | ||
| 1020 | GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845" | |
| 1021 | GlowParticle.Transparency = NumberSequence.new(tran,1) | |
| 1022 | GlowParticle.LockedToPart = true | |
| 1023 | GlowParticle.Lifetime = NumberRange.new(0.5) | |
| 1024 | GlowParticle.Rate= 300 | |
| 1025 | GlowParticle.Speed =NumberRange.new(0) | |
| 1026 | end end | |
| 1027 | ||
| 1028 | ||
| 1029 | ||
| 1030 | ||
| 1031 | ||
| 1032 | ||
| 1033 | ||
| 1034 | ||
| 1035 | ||
| 1036 | ||
| 1037 | ||
| 1038 | ||
| 1039 | ||
| 1040 | coroutine.wrap(function() | |
| 1041 | for i = 1,3 do | |
| 1042 | wait() | |
| 1043 | end end)() | |
| 1044 | wait(1.65) | |
| 1045 | _DEBOUNCE = true | |
| 1046 | wait() | |
| 1047 | Portal:Destroy() | |
| 1048 | coroutine.wrap(function() | |
| 1049 | local Pos = char.Torso.Position | |
| 1050 | local BOOSH = Instance.new("Sound",Workspace)
| |
| 1051 | BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159" | |
| 1052 | BOOSH.Volume = 1 | |
| 1053 | BOOSH.Pitch = 0.675 | |
| 1054 | local Fuse = Instance.new("Sound",Workspace)
| |
| 1055 | Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908" | |
| 1056 | Fuse.Volume = 1 | |
| 1057 | Fuse.Pitch = 0.25 | |
| 1058 | local BOOSH2 = Instance.new("Sound",Workspace)
| |
| 1059 | BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793" | |
| 1060 | BOOSH2.Volume = 1 | |
| 1061 | BOOSH2.Pitch = 0.25 | |
| 1062 | local dsound = true | |
| 1063 | local PewPew = Instance.new("Sound",Workspace)
| |
| 1064 | PewPew.Name = "PewPew" | |
| 1065 | PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534" | |
| 1066 | PewPew.Volume = 1 | |
| 1067 | PewPew.Pitch = 0.32 | |
| 1068 | local function GetHumanoids() | |
| 1069 | local Characters = {}
| |
| 1070 | for i,v in pairs(Workspace:GetChildren())do | |
| 1071 | if v:IsA("Model")then
| |
| 1072 | local Hu = v:findFirstChild("Humanoid")
| |
| 1073 | local Torso = v:findFirstChild("Torso")
| |
| 1074 | if Hu and Torso and v.Name ~= p.Name then | |
| 1075 | table.insert(Characters,Torso) | |
| 1076 | end end end | |
| 1077 | return Characters | |
| 1078 | end | |
| 1079 | local function Boom() | |
| 1080 | for i = 1,25 do | |
| 1081 | for _,v in pairs(GetHumanoids())do | |
| 1082 | if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then | |
| 1083 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1084 | if h then | |
| 1085 | local Moar =(Pos - v.Position).unit | |
| 1086 | ||
| 1087 | ||
| 1088 | end end end | |
| 1089 | local p = Instance.new("Part",char)
| |
| 1090 | p.Name = "BlastRing" | |
| 1091 | p.TopSurface = 0 | |
| 1092 | p.BottomSurface = 0 | |
| 1093 | p.CanCollide = false | |
| 1094 | p.Anchored = true | |
| 1095 | p.BrickColor = BrickColor.new("Really red")
| |
| 1096 | p.Size = Vector3.new(1,1,1) | |
| 1097 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
| 1098 | local rm = Instance.new("SpecialMesh",p)
| |
| 1099 | rm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1100 | rm.Name = "BlastMesh" | |
| 1101 | rm.Scale = Vector3.new(1,1,1) | |
| 1102 | coroutine.wrap(function() | |
| 1103 | for n = 1,15 do | |
| 1104 | rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2 | |
| 1105 | if 2 +i/5 == 1.2 then | |
| 1106 | rm.Scale = rm.Scale + Vector3.new(0,0.9,0) | |
| 1107 | end | |
| 1108 | p.Transparency = n/15 | |
| 1109 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0) | |
| 1110 | wait() | |
| 1111 | end | |
| 1112 | p:Destroy() | |
| 1113 | end)() | |
| 1114 | local p = Instance.new("Part",char)
| |
| 1115 | p.TopSurface = 0 | |
| 1116 | p.BottomSurface = 0 | |
| 1117 | p.formFactor = "Symmetric" | |
| 1118 | p.Size = Vector3.new(1,1,1) | |
| 1119 | p.Anchored = true | |
| 1120 | p.CanCollide = false | |
| 1121 | p.BrickColor = BrickColor.new("Really red")
| |
| 1122 | p.CFrame = CFrame.new(Pos) | |
| 1123 | local m = Instance.new("BlockMesh",p)
| |
| 1124 | coroutine.wrap(function() | |
| 1125 | for x = 1,48 do | |
| 1126 | m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2 | |
| 1127 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50) | |
| 1128 | p.Transparency = x/48 | |
| 1129 | Wait() | |
| 1130 | end | |
| 1131 | p:Destroy() | |
| 1132 | end)() | |
| 1133 | Game:GetService("Debris"):AddItem(p,5)
| |
| 1134 | local p = Instance.new("Part",char)
| |
| 1135 | p.Name = "BlastRing" | |
| 1136 | p.TopSurface = 0 | |
| 1137 | p.BottomSurface = 0 | |
| 1138 | p.CanCollide = false | |
| 1139 | p.Anchored = true | |
| 1140 | p.BrickColor = BrickColor.new("Really black")
| |
| 1141 | p.Size = Vector3.new(1,1,1) | |
| 1142 | p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1143 | local m = Instance.new("SpecialMesh",p)
| |
| 1144 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1145 | m.Scale = Vector3.new(1,0.25,1) | |
| 1146 | coroutine.wrap(function() | |
| 1147 | for n = 1,13 do | |
| 1148 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
| 1149 | if 1 +i/5 == 1.2 then | |
| 1150 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1151 | end | |
| 1152 | p.Transparency = n/13 | |
| 1153 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
| 1154 | Wait() | |
| 1155 | end | |
| 1156 | p:Destroy() | |
| 1157 | end)() | |
| 1158 | Wait(0.1) | |
| 1159 | end for i = 10,19 do | |
| 1160 | local p = Instance.new("Part",char)
| |
| 1161 | p.Name = "BlastRing" | |
| 1162 | p.TopSurface = 0 | |
| 1163 | p.BottomSurface = 0 | |
| 1164 | p.CanCollide = false | |
| 1165 | p.Anchored = true | |
| 1166 | p.BrickColor = BrickColor.new("Really red")
| |
| 1167 | p.Size = Vector3.new(1,1,1) | |
| 1168 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 1169 | local m = Instance.new("SpecialMesh",p)
| |
| 1170 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1171 | m.Scale = Vector3.new(1,0.25,1) | |
| 1172 | coroutine.wrap(function() | |
| 1173 | for n = 1,13 do | |
| 1174 | m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2 | |
| 1175 | if 1 +i/5 == 1.2 then | |
| 1176 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1177 | end | |
| 1178 | p.Transparency = n/13 | |
| 1179 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0) | |
| 1180 | Wait() | |
| 1181 | end | |
| 1182 | p:Destroy() | |
| 1183 | end)() | |
| 1184 | local p = Instance.new("Part",char)
| |
| 1185 | p.Name = "BlastRing" | |
| 1186 | p.TopSurface = 0 | |
| 1187 | p.BottomSurface = 0 | |
| 1188 | p.CanCollide = false | |
| 1189 | p.Anchored = true | |
| 1190 | p.BrickColor = BrickColor.new("Really black")
| |
| 1191 | p.Size = Vector3.new(1,1,1) | |
| 1192 | p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30) | |
| 1193 | p.Parent = workspace | |
| 1194 | local m = Instance.new("SpecialMesh",p)
| |
| 1195 | m.Name = "BlastMesh" | |
| 1196 | m.Scale = Vector3.new(0.1,0.1,0.1) | |
| 1197 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1198 | coroutine.wrap(function() | |
| 1199 | for n = 1,15 do | |
| 1200 | m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2 | |
| 1201 | if 3+i/5 == 1.2 then | |
| 1202 | m.Scale = m.Scale + Vector3.new(0,0.9,0) | |
| 1203 | end | |
| 1204 | p.Transparency = n/15 | |
| 1205 | p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0) | |
| 1206 | Wait() | |
| 1207 | end | |
| 1208 | p:Destroy() | |
| 1209 | end)() | |
| 1210 | for _,v in pairs(GetHumanoids())do | |
| 1211 | if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then | |
| 1212 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1213 | if h then | |
| 1214 | local Moar =(Pos - v.Position).unit | |
| 1215 | ||
| 1216 | ||
| 1217 | end end end | |
| 1218 | Wait(0.1) | |
| 1219 | end for i = 30,37 do | |
| 1220 | for _,v in pairs(GetHumanoids())do | |
| 1221 | if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then | |
| 1222 | local h = v.Parent:findFirstChild("Humanoid")
| |
| 1223 | if h then | |
| 1224 | local Moar =(Pos - v.Position).unit | |
| 1225 | ||
| 1226 | ||
| 1227 | end end end end | |
| 1228 | dsound = false | |
| 1229 | wait(6.5) | |
| 1230 | for i = 1,30 do | |
| 1231 | BOOSH.Volume = BOOSH.Volume -0.033 | |
| 1232 | BOOSH2.Volume = BOOSH.Volume | |
| 1233 | Fuse.Volume = BOOSH.Volume | |
| 1234 | Wait() | |
| 1235 | end | |
| 1236 | BOOSH:Stop() | |
| 1237 | BOOSH2:Stop() | |
| 1238 | Fuse:Stop() | |
| 1239 | end | |
| 1240 | BOOSH2:Play() | |
| 1241 | Fuse:Play() | |
| 1242 | BOOSH:Play() | |
| 1243 | Boom() | |
| 1244 | end)() | |
| 1245 | hum.WalkSpeed = 50 | |
| 1246 | - | hum.WalkSpeed = 5 |
| 1246 | + | |
| 1247 | ||
| 1248 | ||
| 1249 | GroundWave = function() | |
| 1250 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1251 | local Colors = {"Really red", "Really red"}
| |
| 1252 | local wave = Instance.new("Part", torso)
| |
| 1253 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1254 | wave.Anchored = true | |
| 1255 | wave.CanCollide = false | |
| 1256 | wave.Locked = true | |
| 1257 | wave.Size = Vector3.new(1, 1, 1) | |
| 1258 | wave.TopSurface = "Smooth" | |
| 1259 | wave.BottomSurface = "Smooth" | |
| 1260 | wave.Transparency = 0.35 | |
| 1261 | wave.CFrame = HandCF | |
| 1262 | wm = Instance.new("SpecialMesh", wave)
| |
| 1263 | wm.MeshId = "rbxassetid://3270017" | |
| 1264 | coroutine.wrap(function() | |
| 1265 | for i = 1, 14, 1 do | |
| 1266 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 1267 | wave.Size = wm.Scale | |
| 1268 | wave.CFrame = HandCF | |
| 1269 | wave.Transparency = i/14 | |
| 1270 | wait() | |
| 1271 | end | |
| 1272 | wait() | |
| 1273 | wave:Destroy() | |
| 1274 | end)() | |
| 1275 | end | |
| 1276 | ||
| 1277 | ||
| 1278 | ||
| 1279 | function BurningEff(part) | |
| 1280 | local eff1 = Instance.new("ParticleEmitter",part)
| |
| 1281 | eff1.Size = NumberSequence.new(.1) | |
| 1282 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1283 | eff1.LightEmission = 1 | |
| 1284 | eff1.Lifetime = NumberRange.new(1) | |
| 1285 | eff1.Speed = NumberRange.new(0) | |
| 1286 | eff1.Rate = 100 | |
| 1287 | eff1.Texture = "rbxassetid://284205403" | |
| 1288 | eff1.Acceleration = Vector3.new(0,10,0) | |
| 1289 | eff1.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1290 | local eff2 = Instance.new("ParticleEmitter",part)
| |
| 1291 | eff2.Size = NumberSequence.new(.1) | |
| 1292 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1293 | eff2.LightEmission = 1 | |
| 1294 | eff2.Lifetime = NumberRange.new(0.2) | |
| 1295 | eff2.Speed = NumberRange.new(0) | |
| 1296 | eff2.Rate = 100 | |
| 1297 | eff2.Texture = "rbxassetid://347504259" | |
| 1298 | eff2.Acceleration = Vector3.new(0,10,0) | |
| 1299 | eff2.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1300 | local eff3 = Instance.new("ParticleEmitter",part)
| |
| 1301 | eff3.Size = NumberSequence.new(0.2) | |
| 1302 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1303 | eff3.LightEmission = 1 | |
| 1304 | eff3.Lifetime = NumberRange.new(1) | |
| 1305 | eff3.Speed = NumberRange.new(0) | |
| 1306 | eff3.Rate = 100 | |
| 1307 | eff3.Texture = "rbxassetid://284205403" | |
| 1308 | eff3.Acceleration = Vector3.new(0,10,0) | |
| 1309 | eff3.Color = ColorSequence.new(Color3.new(0,0,255)) | |
| 1310 | end | |
| 1311 | ||
| 1312 | ||
| 1313 | function FullPower() | |
| 1314 | NoAnims = true | |
| 1315 | attack = true | |
| 1316 | ||
| 1317 | ||
| 1318 | ||
| 1319 | Full = true | |
| 1320 | ||
| 1321 | ||
| 1322 | for i = 1, 40 do | |
| 1323 | wait() | |
| 1324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head | |
| 1325 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1326 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm | |
| 1327 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm | |
| 1328 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg | |
| 1329 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg | |
| 1330 | end | |
| 1331 | ||
| 1332 | ||
| 1333 | ||
| 1334 | ||
| 1335 | ||
| 1336 | ||
| 1337 | ||
| 1338 | ||
| 1339 | ||
| 1340 | for i = 1, 20 do | |
| 1341 | wait() | |
| 1342 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
| 1343 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1344 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm | |
| 1345 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm | |
| 1346 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 1347 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg | |
| 1348 | end | |
| 1349 | ||
| 1350 | s0:Destroy() | |
| 1351 | ragesong = "397952612" | |
| 1352 | wait(0.001) | |
| 1353 | s02 = Instance.new("Sound",char)
| |
| 1354 | s02.Volume = 90 | |
| 1355 | s02.SoundId = "rbxassetid://"..ragesong | |
| 1356 | s02.Looped = true | |
| 1357 | s02.Pitch = 1 | |
| 1358 | wait(0.001) | |
| 1359 | s02:Play() | |
| 1360 | ||
| 1361 | ||
| 1362 | local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
| |
| 1363 | selectionBoxOfTorso.Adornee = torso | |
| 1364 | selectionBoxOfTorso.Color = BrickColor.new("Really red")
| |
| 1365 | selectionBoxOfTorso.LineThickness = 0.01 | |
| 1366 | selectionBoxOfTorso.Transparency = 0 | |
| 1367 | ||
| 1368 | local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
| |
| 1369 | selectionBoxOfRightArm.Adornee = char["Right Arm"] | |
| 1370 | selectionBoxOfRightArm.Color = BrickColor.new("Really red")
| |
| 1371 | selectionBoxOfRightArm.LineThickness = 0.01 | |
| 1372 | selectionBoxOfRightArm.Transparency = 0 | |
| 1373 | ||
| 1374 | local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
| |
| 1375 | selectionBoxOfRightLeg.Adornee = char["Right Leg"] | |
| 1376 | selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
| |
| 1377 | selectionBoxOfRightLeg.LineThickness = 0.01 | |
| 1378 | selectionBoxOfRightLeg.Transparency = 0 | |
| 1379 | ||
| 1380 | local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
| |
| 1381 | selectionBoxOfLeftArm.Adornee = char["Left Arm"] | |
| 1382 | selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
| |
| 1383 | selectionBoxOfLeftArm.LineThickness = 0.01 | |
| 1384 | selectionBoxOfLeftArm.Transparency = 0 | |
| 1385 | ||
| 1386 | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
| |
| 1387 | selectionBoxOfLeftLeg.Adornee = char["Left Leg"] | |
| 1388 | selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
| |
| 1389 | selectionBoxOfLeftLeg.LineThickness = 0.01 | |
| 1390 | selectionBoxOfLeftLeg.Transparency = 0 | |
| 1391 | ||
| 1392 | BurningEff(reye) | |
| 1393 | ||
| 1394 | LightOnBody = Instance.new("PointLight", hed)
| |
| 1395 | LightOnBody.Brightness = 3000 | |
| 1396 | LightOnBody.Range = 20 | |
| 1397 | LightOnBody.Color = Color3.new(0, 0, 255) | |
| 1398 | ||
| 1399 | r = game:GetService("RunService").RenderStepped
| |
| 1400 | Activated = true | |
| 1401 | 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}
| |
| 1402 | Debri = coroutine.wrap(function() | |
| 1403 | repeat | |
| 1404 | local p = Instance.new('Part',torso)
| |
| 1405 | p.formFactor = 'Custom' | |
| 1406 | p.Size = Vector3.new(1,1,1) | |
| 1407 | p.BrickColor = workspace.Base.BrickColor | |
| 1408 | p.CanCollide = false | |
| 1409 | p.Transparency = 0 | |
| 1410 | p.Anchored = true | |
| 1411 | p.Locked=true | |
| 1412 | p.Material = workspace.Base.Material | |
| 1413 | s = math.random(1,40)/10 | |
| 1414 | local m = Instance.new("BlockMesh",p)
| |
| 1415 | m.Scale = Vector3.new(s,s,s) | |
| 1416 | 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()) | |
| 1417 | --[[coroutine.wrap(function() | |
| 1418 | wait(2) | |
| 1419 | while Charging == true do | |
| 1420 | wait(2) | |
| 1421 | GroundWave1() | |
| 1422 | wait(2) | |
| 1423 | end | |
| 1424 | end)()]]-- | |
| 1425 | ||
| 1426 | spawn(function() | |
| 1427 | while r:wait() do | |
| 1428 | if p.Transparency >= 1 then p:Destroy() break end | |
| 1429 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 1430 | p.Transparency = p.Transparency+0.01 | |
| 1431 | end | |
| 1432 | end) | |
| 1433 | wait(.3) | |
| 1434 | until Activated == false | |
| 1435 | end) | |
| 1436 | Debri() | |
| 1437 | ||
| 1438 | l = game.Lighting | |
| 1439 | l.TimeOfDay = 1 | |
| 1440 | game.Lighting.Ambient = Color3.new(0,0,0) | |
| 1441 | l.Brightness = 0.1 | |
| 1442 | ||
| 1443 | ||
| 1444 | spawn(function() | |
| 1445 | while wait(2) | |
| 1446 | do | |
| 1447 | GroundWave() | |
| 1448 | end | |
| 1449 | end) | |
| 1450 | ||
| 1451 | ||
| 1452 | local eColors = {"Really red", "Really red"}
| |
| 1453 | coroutine.resume(coroutine.create(function() | |
| 1454 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 1455 | local magz = (Part0 - Part1).magnitude | |
| 1456 | local curpos = Part0 | |
| 1457 | local trz = {-Offset,Offset}
| |
| 1458 | for i=1,Times do | |
| 1459 | local li = Instance.new("Part", torso)
| |
| 1460 | li.Name = "Lightning" | |
| 1461 | li.TopSurface =0 | |
| 1462 | li.Material = "Neon" | |
| 1463 | li.BottomSurface = 0 | |
| 1464 | li.Anchored = true | |
| 1465 | li.Locked = true | |
| 1466 | li.Transparency = Trans or 0.4 | |
| 1467 | li.BrickColor = BrickColor.new(Color) | |
| 1468 | li.formFactor = "Custom" | |
| 1469 | li.CanCollide = false | |
| 1470 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 1471 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 1472 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 1473 | if Times == i then | |
| 1474 | local magz2 = (curpos - Part1).magnitude | |
| 1475 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 1476 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 1477 | else | |
| 1478 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 1479 | end | |
| 1480 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 1481 | game.Debris:AddItem(li,.1) | |
| 1482 | end | |
| 1483 | end | |
| 1484 | ||
| 1485 | BodyParts = {}
| |
| 1486 | for _, v in pairs(char:GetChildren()) do | |
| 1487 | if v:IsA("Part") then
| |
| 1488 | table.insert(BodyParts, v) | |
| 1489 | end | |
| 1490 | end | |
| 1491 | ||
| 1492 | Bounding = {} -- Calculate the bounding boxes
| |
| 1493 | for _, v in pairs(BodyParts) do | |
| 1494 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 1495 | temp.X = v.Size.X/2 * 10 | |
| 1496 | temp.Y = v.Size.Y/2 * 10 | |
| 1497 | temp.Z = v.Size.Z/2 * 10 | |
| 1498 | Bounding[v.Name] = temp | |
| 1499 | end | |
| 1500 | ||
| 1501 | while wait(lightspeed) do | |
| 1502 | lightspeed = math.random(0.1,0.2) | |
| 1503 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 1504 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 1505 | local Pos1 = Vector3.new( | |
| 1506 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 1507 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 1508 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 1509 | ) | |
| 1510 | local Pos2 = Vector3.new( | |
| 1511 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 1512 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 1513 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 1514 | ) | |
| 1515 | local SPos1 = Body1.Position + Pos1 | |
| 1516 | local SPos2 = Body2.Position + Pos2 | |
| 1517 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
| 1518 | end | |
| 1519 | end)) | |
| 1520 | for i = 1, 20 do | |
| 1521 | wait() | |
| 1522 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head | |
| 1523 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso | |
| 1524 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm | |
| 1525 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm | |
| 1526 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg | |
| 1527 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg | |
| 1528 | end | |
| 1529 | ||
| 1530 | ||
| 1531 | attack = false | |
| 1532 | NoAnims = false | |
| 1533 | end | |
| 1534 | ||
| 1535 | function weld5(part0, part1, c0, c1) | |
| 1536 | weeld=Instance.new("Weld", part0)
| |
| 1537 | weeld.Part0=part0 | |
| 1538 | weeld.Part1=part1 | |
| 1539 | weeld.C0=c0 | |
| 1540 | weeld.C1=c1 | |
| 1541 | return weeld | |
| 1542 | end | |
| 1543 | ||
| 1544 | ||
| 1545 | ||
| 1546 | Grab = false | |
| 1547 | ||
| 1548 | ||
| 1549 | ||
| 1550 | ||
| 1551 | ||
| 1552 | fat = Instance.new("BindableEvent",script)
| |
| 1553 | fat.Name = "Heartbeat" | |
| 1554 | ||
| 1555 | script:WaitForChild("Heartbeat")
| |
| 1556 | ||
| 1557 | frame = 1/30 | |
| 1558 | tf = 0 | |
| 1559 | allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
| 1560 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
| 1561 | lastframe = tick() | |
| 1562 | script.Heartbeat:Fire() --ayy lmao | |
| 1563 | ||
| 1564 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
| |
| 1565 | tf = tf + s | |
| 1566 | if tf >= frame then | |
| 1567 | if allowframeloss then | |
| 1568 | script.Heartbeat:Fire() | |
| 1569 | lastframe=tick() | |
| 1570 | else | |
| 1571 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
| |
| 1572 | for i=1, math.floor(tf/frame) do | |
| 1573 | script.Heartbeat:Fire() | |
| 1574 | end | |
| 1575 | lastframe=tick() | |
| 1576 | end | |
| 1577 | if tossremainder then | |
| 1578 | tf = 0 | |
| 1579 | else | |
| 1580 | tf = tf - frame * math.floor(tf/frame) | |
| 1581 | end | |
| 1582 | end | |
| 1583 | end) | |
| 1584 | ||
| 1585 | function Swait(NUMBER) | |
| 1586 | if NUMBER == 0 or NUMBER == nil then | |
| 1587 | fat.Event:wait() | |
| 1588 | else | |
| 1589 | for i = 1, NUMBER do | |
| 1590 | fat.Event:wait() | |
| 1591 | end | |
| 1592 | end | |
| 1593 | end | |
| 1594 | ||
| 1595 | ||
| 1596 | ||
| 1597 | ||
| 1598 | ||
| 1599 | function GrabAndDrag() | |
| 1600 | NoAnims = true | |
| 1601 | attack = true | |
| 1602 | ||
| 1603 | if Grab == false then | |
| 1604 | ||
| 1605 | for i = 1, 20 do | |
| 1606 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 1607 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
| 1608 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
| 1609 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
| 1610 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 1611 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 1612 | if Debounces.on == false then break end | |
| 1613 | rs:wait(2) | |
| 1614 | end | |
| 1615 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 1616 | ht = hit.Parent | |
| 1617 | hum1=ht:FindFirstChild('Humanoid')
| |
| 1618 | if hum1 ~= nil then | |
| 1619 | ||
| 1620 | ||
| 1621 | ||
| 1622 | ||
| 1623 | z = Instance.new("Sound",char)
| |
| 1624 | z.SoundId = "rbxassetid://227194112" | |
| 1625 | z.Volume = 90 | |
| 1626 | wait(.1) | |
| 1627 | z:Play() | |
| 1628 | hum1.PlatformStand=true | |
| 1629 | gp = ht | |
| 1630 | Grab = true | |
| 1631 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
| |
| 1632 | asd.Parent = larm | |
| 1633 | asd.Name = "asd" | |
| 1634 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
| 1635 | ||
| 1636 | ||
| 1637 | --[[ elseif hum1 == nil then | |
| 1638 | con1:disconnect() | |
| 1639 | wait() return]] | |
| 1640 | end | |
| 1641 | end) | |
| 1642 | ||
| 1643 | ||
| 1644 | for i = 1, 20 do | |
| 1645 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 1646 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
| 1647 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
| 1648 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
| 1649 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 1650 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 1651 | if Debounces.on == false then break end | |
| 1652 | rs:wait(2) | |
| 1653 | end | |
| 1654 | con1:disconnect() | |
| 1655 | ||
| 1656 | if gp == nil then | |
| 1657 | attack = false | |
| 1658 | NoAnims = false | |
| 1659 | return end | |
| 1660 | ||
| 1661 | ||
| 1662 | ||
| 1663 | --[[for i = 1, 16 do | |
| 1664 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
| 1665 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
| 1666 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
| 1667 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 1668 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
| 1669 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 1670 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
| 1671 | if Debounces.on == false then end | |
| 1672 | rs:wait() | |
| 1673 | end]]-- | |
| 1674 | for i = 1, 16 do | |
| 1675 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 1676 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3) | |
| 1677 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
| 1678 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
| 1679 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
| 1680 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
| 1681 | if Debounces.on == false then end | |
| 1682 | rs:wait() | |
| 1683 | end | |
| 1684 | ||
| 1685 | ||
| 1686 | coroutine.resume(coroutine.create(function() | |
| 1687 | local BF = Instance.new("BodyVelocity",hed)
| |
| 1688 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1689 | BF.velocity = root.CFrame.lookVector*120 | |
| 1690 | wait(2.5) | |
| 1691 | BF:remove() | |
| 1692 | end)) | |
| 1693 | ||
| 1694 | ||
| 1695 | ||
| 1696 | z = Instance.new("Sound",char)
| |
| 1697 | z.SoundId = "rbxassetid://138223085" | |
| 1698 | z.Volume = 90 | |
| 1699 | wait(.1) | |
| 1700 | z:Play() | |
| 1701 | ||
| 1702 | coroutine.resume(coroutine.create(function() | |
| 1703 | for i=1,78 do | |
| 1704 | wait() | |
| 1705 | MagicBlock(BrickColor.new("Really red"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
| |
| 1706 | wait(0.01) | |
| 1707 | MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
| |
| 1708 | end | |
| 1709 | end)) | |
| 1710 | ||
| 1711 | coroutine.resume(coroutine.create(function() | |
| 1712 | Grabee = gp:FindFirstChild("Torso")
| |
| 1713 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 1714 | wait(0.01) | |
| 1715 | for i = 1,78 do | |
| 1716 | wait(0.01) | |
| 1717 | for i=1, 5 do | |
| 1718 | p=Instance.new("Part")
| |
| 1719 | p.FrontSurface=par.TopSurface | |
| 1720 | p.Material=par.Material | |
| 1721 | p.BottomSurface=0 | |
| 1722 | p.Anchored=true p.CanCollide=false | |
| 1723 | p.BrickColor=par.BrickColor | |
| 1724 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
| 1725 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
| 1726 | p.Parent=char | |
| 1727 | game:GetService("Debris"):AddItem(p,2+i*.1)
| |
| 1728 | if math.random(1,5)==5 then | |
| 1729 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
| |
| 1730 | end | |
| 1731 | end | |
| 1732 | end | |
| 1733 | ||
| 1734 | end)) | |
| 1735 | ||
| 1736 | coroutine.resume(coroutine.create(function() | |
| 1737 | Grabee = gp:FindFirstChild("Torso")
| |
| 1738 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 1739 | wait(0.01) | |
| 1740 | ||
| 1741 | for i=1, 78 do | |
| 1742 | wait(0.01) | |
| 1743 | for i=1, 1 do | |
| 1744 | p=Instance.new("Part")
| |
| 1745 | p.TopSurface=par.TopSurface | |
| 1746 | p.BottomSurface=par.BottomSurface | |
| 1747 | p.Material=par.Material | |
| 1748 | p.BottomSurface=0 | |
| 1749 | p.Anchored=false p.CanCollide=false | |
| 1750 | p.BrickColor=par.BrickColor | |
| 1751 | p.formFactor="Custom" | |
| 1752 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
| 1753 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
| 1754 | p.Parent=char | |
| 1755 | game:GetService("Debris"):AddItem(p,3+i*.1)
| |
| 1756 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
| 1757 | p.RotVelocity=p.Velocity | |
| 1758 | if math.random(1,5)==5 then | |
| 1759 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
| |
| 1760 | end | |
| 1761 | end | |
| 1762 | Swait(.025) | |
| 1763 | end | |
| 1764 | ||
| 1765 | end)) | |
| 1766 | for i = 1, 100 do | |
| 1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
| 1768 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3) | |
| 1769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
| 1770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
| 1771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
| 1772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
| 1773 | if Debounces.on == false then end | |
| 1774 | rs:wait() | |
| 1775 | end | |
| 1776 | asd:Destroy() | |
| 1777 | gp = nil | |
| 1778 | hum1.Health = 0 | |
| 1779 | attack = false | |
| 1780 | ht = nil | |
| 1781 | NoAnims = false | |
| 1782 | Grab = false | |
| 1783 | end | |
| 1784 | end | |
| 1785 | ||
| 1786 | ||
| 1787 | ||
| 1788 | ||
| 1789 | ||
| 1790 | ||
| 1791 | ||
| 1792 | ||
| 1793 | ||
| 1794 | ||
| 1795 | ||
| 1796 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1797 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1798 | local List = {}
| |
| 1799 | for i,v in pairs(workspace:GetChildren())do | |
| 1800 | if v:IsA("Model")then
| |
| 1801 | if v:findFirstChild("Torso")then
| |
| 1802 | if v ~= char then | |
| 1803 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1804 | table.insert(List,v) | |
| 1805 | end | |
| 1806 | end | |
| 1807 | end | |
| 1808 | end | |
| 1809 | end | |
| 1810 | return List | |
| 1811 | end | |
| 1812 | ||
| 1813 | ||
| 1814 | ||
| 1815 | function Ring() | |
| 1816 | ||
| 1817 | ||
| 1818 | local effspwn = Instance.new("Part")
| |
| 1819 | local model = Instance.new("Model")
| |
| 1820 | game.Debris:AddItem(model, 20) | |
| 1821 | model.Name = "smasheffects" | |
| 1822 | model.Parent = workspace | |
| 1823 | effspwn.Name = "spwnr" | |
| 1824 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 1825 | effspwn.Anchored = true | |
| 1826 | effspwn.CanCollide = false | |
| 1827 | effspwn.Transparency = 1 | |
| 1828 | effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 1829 | effspwn.Parent = model | |
| 1830 | ||
| 1831 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 1832 | if v:FindFirstChild('Humanoid') then
| |
| 1833 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 1834 | v.Humanoid.PlatformStand = true | |
| 1835 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
| |
| 1836 | end | |
| 1837 | end | |
| 1838 | coroutine.resume(coroutine.create(function() | |
| 1839 | local shok = Instance.new("Part")
| |
| 1840 | shok.Name = "wring1" | |
| 1841 | shok.BrickColor = BrickColor.new("Really red")
| |
| 1842 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1843 | shok.Size = Vector3.new(1, 1, 1) | |
| 1844 | shok.Anchored = true | |
| 1845 | shok.Material = "Neon" | |
| 1846 | shok.Transparency = 0.25 | |
| 1847 | shok.CanCollide = false | |
| 1848 | shok.Parent = model | |
| 1849 | game.Debris:AddItem(shok, 12) | |
| 1850 | local mesh = Instance.new("SpecialMesh")
| |
| 1851 | mesh.MeshType = "FileMesh" | |
| 1852 | mesh.MeshId = "rbxassetid://3270017" | |
| 1853 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 1854 | mesh.Parent = shok | |
| 1855 | for e = 1, 30 do | |
| 1856 | wait() | |
| 1857 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 1858 | shok.Transparency = shok.Transparency + 0.002 | |
| 1859 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1860 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1861 | end | |
| 1862 | for e = 1, 38 do | |
| 1863 | wait() | |
| 1864 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1865 | shok.Transparency = shok.Transparency + 0.002 | |
| 1866 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1867 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1868 | end | |
| 1869 | for e = 1, 24 do | |
| 1870 | wait() | |
| 1871 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1872 | shok.Transparency = shok.Transparency + 0.03 | |
| 1873 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1874 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1875 | end | |
| 1876 | end)) | |
| 1877 | coroutine.resume(coroutine.create(function() | |
| 1878 | local shok = Instance.new("Part")
| |
| 1879 | shok.Name = "wring2" | |
| 1880 | shok.BrickColor = BrickColor.new("Really red")
| |
| 1881 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1882 | shok.Size = Vector3.new(1, 1, 1) | |
| 1883 | shok.Anchored = true | |
| 1884 | shok.Material = "Neon" | |
| 1885 | shok.Transparency = 0.25 | |
| 1886 | shok.CanCollide = false | |
| 1887 | shok.Parent = model | |
| 1888 | game.Debris:AddItem(shok, 12) | |
| 1889 | local mesh = Instance.new("SpecialMesh")
| |
| 1890 | mesh.MeshType = "FileMesh" | |
| 1891 | mesh.MeshId = "rbxassetid://3270017" | |
| 1892 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 1893 | mesh.Parent = shok | |
| 1894 | for e = 1, 30 do | |
| 1895 | wait() | |
| 1896 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 1897 | shok.Transparency = shok.Transparency + 0.002 | |
| 1898 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1899 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1900 | end | |
| 1901 | for e = 1, 38 do | |
| 1902 | wait() | |
| 1903 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1904 | shok.Transparency = shok.Transparency + 0.002 | |
| 1905 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1906 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1907 | end | |
| 1908 | for e = 1, 24 do | |
| 1909 | wait() | |
| 1910 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1911 | shok.Transparency = shok.Transparency + 0.03 | |
| 1912 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1913 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1914 | end | |
| 1915 | end)) | |
| 1916 | ||
| 1917 | coroutine.resume(coroutine.create(function() | |
| 1918 | local shok = Instance.new("Part")
| |
| 1919 | shok.Name = "shokwve" | |
| 1920 | shok.BrickColor = BrickColor.new("Really black")
| |
| 1921 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
| 1922 | shok.Size = Vector3.new(1, 1, 1) | |
| 1923 | shok.Anchored = true | |
| 1924 | shok.Material = "Neon" | |
| 1925 | shok.Transparency = 0.6 | |
| 1926 | shok.CanCollide = false | |
| 1927 | shok.Parent = model | |
| 1928 | game.Debris:AddItem(shok, 12) | |
| 1929 | local mesh = Instance.new("SpecialMesh")
| |
| 1930 | mesh.MeshType = "FileMesh" | |
| 1931 | mesh.MeshId = "rbxassetid://489415447" | |
| 1932 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 1933 | mesh.Parent = shok | |
| 1934 | for e = 1, 12 do | |
| 1935 | wait() | |
| 1936 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 1937 | shok.Transparency = shok.Transparency + 0.002 | |
| 1938 | end | |
| 1939 | for e = 1, 32 do | |
| 1940 | wait() | |
| 1941 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1942 | shok.Transparency = shok.Transparency + 0.002 | |
| 1943 | end | |
| 1944 | for e = 1, 24 do | |
| 1945 | wait() | |
| 1946 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1947 | shok.Transparency = shok.Transparency + 0.03 | |
| 1948 | end | |
| 1949 | end)) | |
| 1950 | coroutine.resume(coroutine.create(function() | |
| 1951 | local shok = Instance.new("Part")
| |
| 1952 | shok.Name = "shock2" | |
| 1953 | shok.BrickColor = BrickColor.new("Really black")
| |
| 1954 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1955 | shok.Size = Vector3.new(1, 1, 1) | |
| 1956 | shok.Anchored = true | |
| 1957 | shok.Material = "Neon" | |
| 1958 | shok.Transparency = 0.35 | |
| 1959 | shok.CanCollide = false | |
| 1960 | shok.Parent = model | |
| 1961 | game.Debris:AddItem(shok, 12) | |
| 1962 | local mesh = Instance.new("SpecialMesh")
| |
| 1963 | mesh.MeshType = "FileMesh" | |
| 1964 | mesh.MeshId = "rbxassetid://489415447" | |
| 1965 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1966 | mesh.Parent = shok | |
| 1967 | for e = 1, 15 do | |
| 1968 | wait() | |
| 1969 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1970 | shok.Transparency = shok.Transparency + 0.004 | |
| 1971 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1972 | end | |
| 1973 | for e = 1, 16 do | |
| 1974 | wait() | |
| 1975 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1976 | shok.Transparency = shok.Transparency + 0.004 | |
| 1977 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1978 | end | |
| 1979 | for e = 1, 12 do | |
| 1980 | wait() | |
| 1981 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1982 | shok.Transparency = shok.Transparency + 0.06 | |
| 1983 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1984 | end | |
| 1985 | end)) | |
| 1986 | coroutine.resume(coroutine.create(function() | |
| 1987 | local shok = Instance.new("Part")
| |
| 1988 | shok.Name = "shock3" | |
| 1989 | shok.BrickColor = BrickColor.new("Really red")
| |
| 1990 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1991 | shok.Size = Vector3.new(1, 1, 1) | |
| 1992 | shok.Anchored = true | |
| 1993 | shok.Material = "Neon" | |
| 1994 | shok.Transparency = 0.35 | |
| 1995 | shok.CanCollide = false | |
| 1996 | shok.Parent = model | |
| 1997 | game.Debris:AddItem(shok, 12) | |
| 1998 | local mesh = Instance.new("SpecialMesh")
| |
| 1999 | mesh.MeshType = "FileMesh" | |
| 2000 | mesh.MeshId = "rbxassetid://489415447" | |
| 2001 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 2002 | mesh.Parent = shok | |
| 2003 | for e = 1, 15 do | |
| 2004 | wait() | |
| 2005 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 2006 | shok.Transparency = shok.Transparency + 0.004 | |
| 2007 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2008 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2009 | end | |
| 2010 | for e = 1, 16 do | |
| 2011 | wait() | |
| 2012 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 2013 | shok.Transparency = shok.Transparency + 0.004 | |
| 2014 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2015 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2016 | end | |
| 2017 | for e = 1, 12 do | |
| 2018 | wait() | |
| 2019 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 2020 | shok.Transparency = shok.Transparency + 0.06 | |
| 2021 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 2022 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 2023 | end | |
| 2024 | end)) | |
| 2025 | ||
| 2026 | end | |
| 2027 | ||
| 2028 | ||
| 2029 | ||
| 2030 | ||
| 2031 | ||
| 2032 | ||
| 2033 | ||
| 2034 | it=Instance.new | |
| 2035 | vt=Vector3.new | |
| 2036 | cf=CFrame.new | |
| 2037 | ||
| 2038 | function NoOutline(Part) | |
| 2039 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 2040 | end | |
| 2041 | ||
| 2042 | ||
| 2043 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 2044 | local fp=it("Part")
| |
| 2045 | fp.formFactor=formfactor | |
| 2046 | fp.Parent=parent | |
| 2047 | fp.Reflectance=reflectance | |
| 2048 | fp.Transparency=transparency | |
| 2049 | fp.CanCollide=false | |
| 2050 | fp.Locked=true | |
| 2051 | fp.BrickColor=brickcolor | |
| 2052 | fp.Name=name | |
| 2053 | fp.Size=size | |
| 2054 | fp.Position=torso.Position | |
| 2055 | NoOutline(fp) | |
| 2056 | fp.Material="SmoothPlastic" | |
| 2057 | fp:BreakJoints() | |
| 2058 | return fp | |
| 2059 | end | |
| 2060 | ||
| 2061 | ||
| 2062 | ||
| 2063 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 2064 | local mesh=it(Mesh) | |
| 2065 | mesh.Parent=part | |
| 2066 | if Mesh=="SpecialMesh" then | |
| 2067 | mesh.MeshType=meshtype | |
| 2068 | if meshid~="nil" then | |
| 2069 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 2070 | end | |
| 2071 | end | |
| 2072 | mesh.Offset=offset | |
| 2073 | mesh.Scale=scale | |
| 2074 | return mesh | |
| 2075 | end | |
| 2076 | ||
| 2077 | function weld(parent,part0,part1,c0) | |
| 2078 | local weld=it("Weld")
| |
| 2079 | weld.Parent=parent | |
| 2080 | weld.Part0=part0 | |
| 2081 | weld.Part1=part1 | |
| 2082 | weld.C0=c0 | |
| 2083 | return weld | |
| 2084 | end | |
| 2085 | ||
| 2086 | ||
| 2087 | function swait(num) | |
| 2088 | if num==0 or num==nil then | |
| 2089 | game:service'RunService'.Stepped:wait(0) | |
| 2090 | else | |
| 2091 | for i=0,num do | |
| 2092 | game:service'RunService'.Stepped:wait(0) | |
| 2093 | end | |
| 2094 | end | |
| 2095 | end | |
| 2096 | ||
| 2097 | ||
| 2098 | ||
| 2099 | ||
| 2100 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2101 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2102 | end | |
| 2103 | ||
| 2104 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 2105 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2106 | prt.Anchored=true | |
| 2107 | prt.CFrame=cframe | |
| 2108 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 2109 | --http://www.roblox.com/asset/?id=4770560 | |
| 2110 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2111 | CF=prt.CFrame | |
| 2112 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 2113 | for i=0,1,0.2 do | |
| 2114 | wait() | |
| 2115 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 2116 | end | |
| 2117 | for i=0,1,delay do | |
| 2118 | wait() | |
| 2119 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 2120 | Mesh.Scale=Mesh.Scale | |
| 2121 | end | |
| 2122 | for i=0,1,0.1 do | |
| 2123 | wait() | |
| 2124 | Part.Transparency=i | |
| 2125 | end | |
| 2126 | Part.Parent=nil | |
| 2127 | end),prt,msh,CF) | |
| 2128 | end | |
| 2129 | ||
| 2130 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2131 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2132 | prt.Anchored=true | |
| 2133 | prt.Material = "SmoothPlastic" | |
| 2134 | prt.CFrame=cframe | |
| 2135 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2136 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2137 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2138 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2139 | for i=0,1,delay do | |
| 2140 | swait() | |
| 2141 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2142 | Part.Transparency=i | |
| 2143 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2144 | end | |
| 2145 | Part.Parent=nil | |
| 2146 | end),prt,msh) | |
| 2147 | end | |
| 2148 | ||
| 2149 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
| 2150 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2151 | prt.Anchored=true | |
| 2152 | prt.Material = "Neon" | |
| 2153 | prt.CFrame=cframe | |
| 2154 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2155 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2156 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2157 | local rtype = rottype | |
| 2158 | for i=0,1,delay do | |
| 2159 | swait() | |
| 2160 | if rtype == 1 then | |
| 2161 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
| 2162 | elseif rtype == 2 then | |
| 2163 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
| 2164 | end | |
| 2165 | Part.Transparency=i | |
| 2166 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2167 | end | |
| 2168 | Part.Parent=nil | |
| 2169 | end),prt,msh) | |
| 2170 | end | |
| 2171 | ||
| 2172 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2173 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2174 | prt.Anchored=true | |
| 2175 | prt.CFrame=cframe | |
| 2176 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2177 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2178 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2179 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2180 | for i=0,1,delay do | |
| 2181 | wait() | |
| 2182 | Part.Transparency=i | |
| 2183 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2184 | end | |
| 2185 | Part.Parent=nil | |
| 2186 | end),prt,msh) | |
| 2187 | end | |
| 2188 | ||
| 2189 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2190 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2191 | prt.Anchored=false | |
| 2192 | prt.CFrame=cframe | |
| 2193 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2194 | local wld=weld(prt,prt,Parent,cframe) | |
| 2195 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2196 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2197 | for i=0,1,delay do | |
| 2198 | wait() | |
| 2199 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 2200 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2201 | Part.Transparency=i | |
| 2202 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2203 | end | |
| 2204 | Part.Parent=nil | |
| 2205 | end),prt,msh,wld) | |
| 2206 | end | |
| 2207 | ||
| 2208 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 2209 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2210 | prt.Anchored=false | |
| 2211 | prt.CFrame=cframe | |
| 2212 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2213 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 2214 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2215 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 2216 | for i=0,1,delay do | |
| 2217 | wait() | |
| 2218 | Weld.C0=euler(i*20,0,0) | |
| 2219 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2220 | Part.Transparency=i | |
| 2221 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2222 | end | |
| 2223 | Part.Parent=nil | |
| 2224 | end),prt,msh,wld) | |
| 2225 | end | |
| 2226 | ||
| 2227 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2228 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2229 | prt.Anchored=true | |
| 2230 | prt.CFrame=cframe | |
| 2231 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2232 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2233 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2234 | for i=0,1,delay do | |
| 2235 | wait() | |
| 2236 | Part.CFrame=Part.CFrame | |
| 2237 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2238 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2239 | prt2.Anchored=true | |
| 2240 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2241 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 2242 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 2243 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2244 | for i=0,1,0.1 do | |
| 2245 | wait() | |
| 2246 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 2247 | end | |
| 2248 | Part.Parent=nil | |
| 2249 | end),prt2,msh2) | |
| 2250 | end | |
| 2251 | for i=0,1,delay*2 do | |
| 2252 | wait() | |
| 2253 | Part.CFrame=Part.CFrame | |
| 2254 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 2255 | end | |
| 2256 | Part.Parent=nil | |
| 2257 | end),prt,msh) | |
| 2258 | end | |
| 2259 | ||
| 2260 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2261 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2262 | prt.Anchored=true | |
| 2263 | prt.CFrame=cframe | |
| 2264 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2265 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2266 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2267 | for i=0,1,delay do | |
| 2268 | wait() | |
| 2269 | Part.CFrame=Part.CFrame | |
| 2270 | Part.Transparency=i | |
| 2271 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2272 | end | |
| 2273 | Part.Parent=nil | |
| 2274 | end),prt,msh) | |
| 2275 | end | |
| 2276 | ||
| 2277 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 2278 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2279 | prt.Anchored=true | |
| 2280 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 2281 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 2282 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2283 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 2284 | CF=Part.CFrame | |
| 2285 | Numbb=0 | |
| 2286 | randnumb=math.random()/10 | |
| 2287 | rand1=math.random()/10 | |
| 2288 | for i=0,1,rand1 do | |
| 2289 | wait() | |
| 2290 | CF=CF*cf(0,math.random()/2,0) | |
| 2291 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 2292 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 2293 | Part.Transparency=i | |
| 2294 | Numbb=Numbb+randnumb | |
| 2295 | end | |
| 2296 | Part.Parent=nil | |
| 2297 | end),prt,CF,Numbb,randnumb) | |
| 2298 | end | |
| 2299 | ||
| 2300 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2301 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2302 | prt.Anchored=true | |
| 2303 | prt.CFrame=cframe | |
| 2304 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 2305 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2306 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2307 | for i=0,1,delay do | |
| 2308 | wait() | |
| 2309 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 2310 | Part.Transparency=i | |
| 2311 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2312 | end | |
| 2313 | Part.Parent=nil | |
| 2314 | end),prt,msh) | |
| 2315 | end | |
| 2316 | ||
| 2317 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 2318 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2319 | prt.Anchored=true | |
| 2320 | prt.CFrame=cframe | |
| 2321 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 2322 | game:GetService("Debris"):AddItem(prt,2)
| |
| 2323 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 2324 | for i=0,1,delay do | |
| 2325 | wait() | |
| 2326 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 2327 | Part.Transparency=i | |
| 2328 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 2329 | end | |
| 2330 | Part.Parent=nil | |
| 2331 | end),prt,msh) | |
| 2332 | end | |
| 2333 | ||
| 2334 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 2335 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 2336 | prt.Anchored=true | |
| 2337 | prt.CFrame=cframe*cf(x,y,z) | |
| 2338 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 2339 | game:GetService("Debris"):AddItem(prt,5)
| |
| 2340 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 2341 | local num=math.random() | |
| 2342 | local num2=math.random(-3,2)+math.random() | |
| 2343 | local numm=0 | |
| 2344 | for i=0,1,delay*2 do | |
| 2345 | swait() | |
| 2346 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 2347 | Part.Transparency=i | |
| 2348 | numm=numm+0.01 | |
| 2349 | end | |
| 2350 | Part.Parent=nil | |
| 2351 | Mesh.Parent=nil | |
| 2352 | end),prt,msh,x,y,z) | |
| 2353 | end | |
| 2354 | ||
| 2355 | ||
| 2356 | ||
| 2357 | function newRay(start,face,range,wat) | |
| 2358 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 2359 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 2360 | return rey,hit,pos | |
| 2361 | end | |
| 2362 | ||
| 2363 | function Landing() | |
| 2364 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2365 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2366 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2367 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2368 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2369 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2370 | ||
| 2371 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2372 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2373 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2374 | end | |
| 2375 | ||
| 2376 | ||
| 2377 | ||
| 2378 | ||
| 2379 | ||
| 2380 | ||
| 2381 | ||
| 2382 | ||
| 2383 | ||
| 2384 | ||
| 2385 | function nooutline(part) | |
| 2386 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 2387 | end | |
| 2388 | ||
| 2389 | ||
| 2390 | ||
| 2391 | ||
| 2392 | function debris(cfremz, thepart, amt) | |
| 2393 | for j = 1, amt do | |
| 2394 | do | |
| 2395 | local pr = Instance.new("Part")
| |
| 2396 | nooutline(pr) | |
| 2397 | pr.Name = "debrisobeb" | |
| 2398 | pr.Anchored = true | |
| 2399 | pr.BrickColor = thepart.BrickColor | |
| 2400 | pr.CanCollide = true | |
| 2401 | pr.Material = thepart.Material | |
| 2402 | pr.Transparency = thepart.Transparency | |
| 2403 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
| 2404 | pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
| 2405 | pr.Parent = workspace | |
| 2406 | game.Debris:AddItem(pr, 25) | |
| 2407 | delay(15, function() | |
| 2408 | if pr then | |
| 2409 | pr.CanCollide = false | |
| 2410 | pr.Anchored = false | |
| 2411 | end | |
| 2412 | end) | |
| 2413 | end | |
| 2414 | end | |
| 2415 | for c = 1, amt do | |
| 2416 | do | |
| 2417 | local pr2 = Instance.new("Part")
| |
| 2418 | nooutline(pr2) | |
| 2419 | pr2.Name = "moredebr" | |
| 2420 | pr2.Anchored = false | |
| 2421 | pr2.BrickColor = thepart.BrickColor | |
| 2422 | pr2.CanCollide = false | |
| 2423 | pr2.Material = thepart.Material | |
| 2424 | pr2.Transparency = thepart.Transparency | |
| 2425 | pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18)) | |
| 2426 | pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
| 2427 | pr2.Parent = workspace | |
| 2428 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
| 2429 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
| 2430 | game.Debris:AddItem(pr2, 45) | |
| 2431 | delay(2, function() | |
| 2432 | pr2.CanCollide = true | |
| 2433 | wait(10) | |
| 2434 | if pr2 then | |
| 2435 | pr2.CanCollide = false | |
| 2436 | end | |
| 2437 | end) | |
| 2438 | end | |
| 2439 | end | |
| 2440 | end | |
| 2441 | ||
| 2442 | ||
| 2443 | ||
| 2444 | ||
| 2445 | ||
| 2446 | ||
| 2447 | ||
| 2448 | ||
| 2449 | ||
| 2450 | ||
| 2451 | function AirSlam() | |
| 2452 | NoAnims = true | |
| 2453 | attack = true | |
| 2454 | for i = 1, 20 do | |
| 2455 | 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) | |
| 2456 | 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) | |
| 2457 | 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) | |
| 2458 | 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) | |
| 2459 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
| 2460 | 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) | |
| 2461 | if Debounces.on == false then break end | |
| 2462 | wait() | |
| 2463 | end | |
| 2464 | wait(0.5) | |
| 2465 | ||
| 2466 | ||
| 2467 | coroutine.resume(coroutine.create(function() | |
| 2468 | MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
| |
| 2469 | MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
| |
| 2470 | MagicBlock(BrickColor.new("Really red"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
| |
| 2471 | end)) | |
| 2472 | ||
| 2473 | Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
| |
| 2474 | ||
| 2475 | hum.WalkSpeed = 50 | |
| 2476 | BV = Instance.new("BodyVelocity", torso)
| |
| 2477 | BV.maxForce = Vector3.new(0,200000,0) | |
| 2478 | BV.P = 100000 | |
| 2479 | BV.velocity = Vector3.new(0,150,0) | |
| 2480 | for i = 1, 20 do | |
| 2481 | 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) | |
| 2482 | 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) | |
| 2483 | 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) | |
| 2484 | 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) | |
| 2485 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 2486 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 2487 | if Debounces.on == false then break end | |
| 2488 | wait() | |
| 2489 | end | |
| 2490 | BV:Destroy() | |
| 2491 | ||
| 2492 | coroutine.resume(coroutine.create(function() | |
| 2493 | for i = 1, 2880, 48 do | |
| 2494 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
| 2495 | rs:wait(4) | |
| 2496 | end | |
| 2497 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 2498 | end)) | |
| 2499 | ||
| 2500 | for i = 1, 30 do | |
| 2501 | 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) | |
| 2502 | 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) | |
| 2503 | 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) | |
| 2504 | 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) | |
| 2505 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 2506 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 2507 | if Debounces.on == false then break end | |
| 2508 | wait() | |
| 2509 | end | |
| 2510 | ||
| 2511 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 2512 | for i = 1, 20 do | |
| 2513 | 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) | |
| 2514 | 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) | |
| 2515 | 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) | |
| 2516 | 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) | |
| 2517 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 2518 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
| 2519 | if Debounces.on == false then break end | |
| 2520 | wait() | |
| 2521 | end | |
| 2522 | end | |
| 2523 | local ry,ht,ps=nil,nil,nil | |
| 2524 | while ht==nil do | |
| 2525 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 2526 | wait() | |
| 2527 | end | |
| 2528 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
| 2529 | if par then | |
| 2530 | local cfremz = CFrame.new(loc) | |
| 2531 | debris(cfremz, par, 50) | |
| 2532 | end | |
| 2533 | coroutine.resume(coroutine.create(function() | |
| 2534 | Ring() | |
| 2535 | end)) | |
| 2536 | Landing() | |
| 2537 | Sound("rbxassetid://514867425",char,90,1,false)
| |
| 2538 | hum.WalkSpeed = 50 | |
| 2539 | - | hum.WalkSpeed = 5 |
| 2539 | + | |
| 2540 | 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) | |
| 2541 | 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) | |
| 2542 | 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) | |
| 2543 | 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) | |
| 2544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
| 2545 | 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) | |
| 2546 | if Debounces.on == false then break end | |
| 2547 | wait() | |
| 2548 | end | |
| 2549 | wait(0.2) | |
| 2550 | attack = false | |
| 2551 | NoAnims = false | |
| 2552 | end | |
| 2553 | ||
| 2554 | ||
| 2555 | ||
| 2556 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
| 2557 | local p = Instance.new("Part")
| |
| 2558 | p.Parent = parent | |
| 2559 | p.Size = Vector3.new(1,1,1) | |
| 2560 | p.Transparency = transparency | |
| 2561 | p.Reflectance = reflectance | |
| 2562 | p.CanCollide = false | |
| 2563 | p.BrickColor = brickcolor | |
| 2564 | p.Material = material | |
| 2565 | return p | |
| 2566 | end | |
| 2567 | ||
| 2568 | ||
| 2569 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 2570 | local weld = Instance.new("Weld")
| |
| 2571 | weld.Parent = parent | |
| 2572 | weld.Part0 = part0 | |
| 2573 | weld.Part1 = part1 | |
| 2574 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 2575 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 2576 | return weld | |
| 2577 | end | |
| 2578 | ||
| 2579 | ||
| 2580 | ||
| 2581 | --[[HandleR = Instance.new("Part")
| |
| 2582 | HandleR.BrickColor = BrickColor.new("Really red")
| |
| 2583 | HandleR.Material = "Neon" | |
| 2584 | HandleR.Transparency = 0.3 | |
| 2585 | HandleR.Size = Vector3.new(1,0.8,4) | |
| 2586 | HandleR.CFrame = sorb.CFrame | |
| 2587 | HandleRM = Instance.new("SpecialMesh",HandleR)
| |
| 2588 | HandleRM.MeshId = "rbxasset://fonts/sword.mesh" | |
| 2589 | HandleRM.Scale = Vector3.new(1,1,1) | |
| 2590 | ||
| 2591 | HandleL = Instance.new("Part")
| |
| 2592 | HandleL.BrickColor = BrickColor.new("Really red")
| |
| 2593 | HandleL.Material = "Neon" | |
| 2594 | HandleL.Transparency = 0.3 | |
| 2595 | HandleL.Size = Vector3.new(1,0.8,4) | |
| 2596 | HandleL.CFrame = sorb2.CFrame | |
| 2597 | HandleLM = Instance.new("SpecialMesh",HandleL)
| |
| 2598 | HandleLM.MeshId = "rbxasset://fonts/sword.mesh" | |
| 2599 | HandleLM.Scale = Vector3.new(1,1,1)]] | |
| 2600 | ||
| 2601 | ||
| 2602 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
| |
| 2603 | CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 2604 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really red"))
| |
| 2605 | CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 2606 | ||
| 2607 | ||
| 2608 | v3 = Vector3.new | |
| 2609 | rad=math.rad | |
| 2610 | ||
| 2611 | kiblade = Instance.new("Part",char)
| |
| 2612 | kiblade.Name = "Blade" | |
| 2613 | kiblade.Size = v3(1,5,1) | |
| 2614 | kiblade.Transparency = 1 | |
| 2615 | kiblade.BrickColor = BrickColor.new("Really red")
| |
| 2616 | kiblade.Position = v3(999,999,999) | |
| 2617 | kiblade.CanCollide = false | |
| 2618 | kiblademesh = Instance.new("SpecialMesh",kiblade)
| |
| 2619 | kiblademesh.MeshType = "FileMesh" | |
| 2620 | kiblademesh.MeshId = "rbxassetid://898849476" | |
| 2621 | kiblademesh.Scale = v3(0.01,0.008,0.01) | |
| 2622 | kiweld7 = Instance.new("Weld",kiblade)
| |
| 2623 | kiweld7.Part0 = rarm | |
| 2624 | kiweld7.Part1 = kiblade | |
| 2625 | kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
| 2626 | kiblade1 = Instance.new("Part",char)
| |
| 2627 | kiblade1.Name = "Blade" | |
| 2628 | kiblade1.Transparency = 1 | |
| 2629 | kiblade1.Size = v3(0.1,0.1,0.1) | |
| 2630 | kiblade1.Position = v3(999,999,999) | |
| 2631 | kiblade1.CanCollide = false | |
| 2632 | kiblademesh = Instance.new("SpecialMesh",kiblade1)
| |
| 2633 | kiblademesh.MeshType = "Sphere" | |
| 2634 | kiblademesh.Scale = v3(1,1,1) | |
| 2635 | kiweld = Instance.new("Weld",kiblade1)
| |
| 2636 | kiweld.Part0 = rarm | |
| 2637 | kiweld.Part1 = kiblade1 | |
| 2638 | kiweld.C0 = CFrame.new(0,-1,0) | |
| 2639 | kiblade2 = Instance.new("Part",char)
| |
| 2640 | kiblade2.Name = "Blade" | |
| 2641 | kiblade2.Size = v3(0.1,0.1,0.1) | |
| 2642 | kiblade2.Transparency = 1 | |
| 2643 | kiblade2.Position = v3(999,999,999) | |
| 2644 | kiblade2.CanCollide = false | |
| 2645 | kiblademesh = Instance.new("SpecialMesh",kiblade2)
| |
| 2646 | kiblademesh.MeshType = "Sphere" | |
| 2647 | kiblademesh.Scale = v3(1,1,1) | |
| 2648 | kiweld = Instance.new("Weld",kiblade2)
| |
| 2649 | kiweld.Part0 = rarm | |
| 2650 | kiweld.Part1 = kiblade2 | |
| 2651 | kiweld.C0 = CFrame.new(0,-4.5,0) | |
| 2652 | torso = game.Players.LocalPlayer.Character.Torso | |
| 2653 | head = game.Players.LocalPlayer.Character.Head | |
| 2654 | torso1 = Instance.new("Attachment",kiblade1)
| |
| 2655 | head1 = Instance.new("Attachment",kiblade2)
| |
| 2656 | trail = Instance.new("Trail",torso)
| |
| 2657 | trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
| 2658 | trail.Attachment0 = torso1 | |
| 2659 | trail.Attachment1 = head1 | |
| 2660 | trail.Lifetime = 0.5 | |
| 2661 | trail.Enabled = false | |
| 2662 | ||
| 2663 | ||
| 2664 | ||
| 2665 | ||
| 2666 | kiblade2 = Instance.new("Part",char)
| |
| 2667 | kiblade2.Name = "Blade" | |
| 2668 | kiblade2.Size = v3(1,5,1) | |
| 2669 | kiblade2.Transparency = 1 | |
| 2670 | kiblade2.BrickColor = BrickColor.new("Really red")
| |
| 2671 | kiblade2.Position = v3(999,999,999) | |
| 2672 | kiblade2.CanCollide = false | |
| 2673 | kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
| |
| 2674 | kiblademesh2.MeshType = "FileMesh" | |
| 2675 | kiblademesh2.MeshId = "rbxassetid://898849476" | |
| 2676 | kiblademesh2.Scale = v3(0.01,0.008,0.01) | |
| 2677 | kiweld72 = Instance.new("Weld",kiblade2)
| |
| 2678 | kiweld72.Part0 = larm | |
| 2679 | kiweld72.Part1 = kiblade2 | |
| 2680 | kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0)) | |
| 2681 | kiblade12 = Instance.new("Part",char)
| |
| 2682 | kiblade12.Name = "Blade" | |
| 2683 | kiblade12.Transparency = 1 | |
| 2684 | kiblade12.Size = v3(0.1,0.1,0.1) | |
| 2685 | kiblade12.Position = v3(999,999,999) | |
| 2686 | kiblade12.CanCollide = false | |
| 2687 | kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
| |
| 2688 | kiblademesh2.MeshType = "Sphere" | |
| 2689 | kiblademesh2.Scale = v3(1,1,1) | |
| 2690 | kiweld2 = Instance.new("Weld",kiblade12)
| |
| 2691 | kiweld2.Part0 = larm | |
| 2692 | kiweld2.Part1 = kiblade12 | |
| 2693 | kiweld2.C0 = CFrame.new(0,-1,0) | |
| 2694 | kiblade22 = Instance.new("Part",char)
| |
| 2695 | kiblade22.Name = "Blade" | |
| 2696 | kiblade22.Size = v3(0.1,0.1,0.1) | |
| 2697 | kiblade22.Transparency = 1 | |
| 2698 | kiblade22.Position = v3(999,999,999) | |
| 2699 | kiblade22.CanCollide = false | |
| 2700 | kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
| |
| 2701 | kiblademesh2.MeshType = "Sphere" | |
| 2702 | kiblademesh2.Scale = v3(1,1,1) | |
| 2703 | kiweld2 = Instance.new("Weld",kiblade22)
| |
| 2704 | kiweld2.Part0 = larm | |
| 2705 | kiweld2.Part1 = kiblade22 | |
| 2706 | kiweld2.C0 = CFrame.new(0,-4.5,0) | |
| 2707 | torso2 = game.Players.LocalPlayer.Character.Torso | |
| 2708 | head2 = game.Players.LocalPlayer.Character.Head | |
| 2709 | torso12 = Instance.new("Attachment",kiblade12)
| |
| 2710 | head12 = Instance.new("Attachment",kiblade22)
| |
| 2711 | trail2 = Instance.new("Trail",torso2)
| |
| 2712 | trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255)) | |
| 2713 | trail2.Attachment0 = torso12 | |
| 2714 | trail2.Attachment1 = head12 | |
| 2715 | trail2.Lifetime = 0.5 | |
| 2716 | trail2.Enabled = false | |
| 2717 | ||
| 2718 | ||
| 2719 | ||
| 2720 | local Gibs = game.Workspace | |
| 2721 | ||
| 2722 | ||
| 2723 | ||
| 2724 | ||
| 2725 | ||
| 2726 | ||
| 2727 | ||
| 2728 | ||
| 2729 | ||
| 2730 | ||
| 2731 | ||
| 2732 | ||
| 2733 | function Kill(Character) | |
| 2734 | Character.Humanoid.Health = 0 | |
| 2735 | local poo = Instance.new("IntValue",Character)
| |
| 2736 | poo.Name = "haha nope" | |
| 2737 | local svch = Character | |
| 2738 | local hum = Character:findFirstChild("Humanoid")
| |
| 2739 | Character.Archivable = true | |
| 2740 | local chrclone = Character:clone() | |
| 2741 | Character.Archivable = false | |
| 2742 | ||
| 2743 | local ch = chrclone:GetChildren() | |
| 2744 | local i | |
| 2745 | for i = 1,#ch do | |
| 2746 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
| 2747 | ch[i]:remove() | |
| 2748 | end | |
| 2749 | end | |
| 2750 | local function Scan(ch) | |
| 2751 | local e | |
| 2752 | for e = 1,#ch do | |
| 2753 | Scan(ch[e]:GetChildren()) | |
| 2754 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
| 2755 | ch[e]:remove() | |
| 2756 | end | |
| 2757 | end | |
| 2758 | end | |
| 2759 | Scan(chrclone:GetChildren()) | |
| 2760 | ||
| 2761 | local hum2 = chrclone:findFirstChild("Humanoid")
| |
| 2762 | ||
| 2763 | ||
| 2764 | if hum2 ~= nil then | |
| 2765 | hum2.Name = "Humanoid2" | |
| 2766 | hum2.PlatformStand = true | |
| 2767 | hum2.Sit = true | |
| 2768 | hum2.MaxHealth = 0 | |
| 2769 | hum2.Health = 0 | |
| 2770 | end | |
| 2771 | ||
| 2772 | local ch = Character:GetChildren() | |
| 2773 | local i | |
| 2774 | for i = 1,#ch do | |
| 2775 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 2776 | ch[i]:remove() | |
| 2777 | end | |
| 2778 | end | |
| 2779 | ||
| 2780 | wait(0.2) | |
| 2781 | ||
| 2782 | local ch = Character:GetChildren() | |
| 2783 | local i | |
| 2784 | for i = 1,#ch do | |
| 2785 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
| 2786 | ch[i]:remove() | |
| 2787 | end | |
| 2788 | end | |
| 2789 | Character = chrclone | |
| 2790 | local Torso = Character.Torso | |
| 2791 | local movevector = Vector3.new() | |
| 2792 | ||
| 2793 | if Torso then | |
| 2794 | local Head = Character:FindFirstChild("Head")
| |
| 2795 | local Limb = Character:FindFirstChild("Right Arm")
| |
| 2796 | if Limb then | |
| 2797 | ||
| 2798 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
| 2799 | local Joint = Instance.new("Glue")
| |
| 2800 | Joint.Name = "RightShoulder" | |
| 2801 | Joint.Part0 = Torso | |
| 2802 | Joint.Part1 = Limb | |
| 2803 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2804 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2805 | Joint.Parent = Torso | |
| 2806 | ||
| 2807 | local B = Instance.new("Part")
| |
| 2808 | B.TopSurface = 0 | |
| 2809 | B.BottomSurface = 0 | |
| 2810 | B.formFactor = "Symmetric" | |
| 2811 | B.Size = Vector3.new(1, 1, 1) | |
| 2812 | B.Transparency = 1 | |
| 2813 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2814 | B.Parent = Character | |
| 2815 | local W = Instance.new("Weld")
| |
| 2816 | W.Part0 = Limb | |
| 2817 | W.Part1 = B | |
| 2818 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2819 | W.Parent = Limb | |
| 2820 | ||
| 2821 | end | |
| 2822 | local Limb = Character:FindFirstChild("Left Arm")
| |
| 2823 | if Limb then | |
| 2824 | ||
| 2825 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
| 2826 | local Joint = Instance.new("Glue")
| |
| 2827 | Joint.Name = "LeftShoulder" | |
| 2828 | Joint.Part0 = Torso | |
| 2829 | Joint.Part1 = Limb | |
| 2830 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2831 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2832 | Joint.Parent = Torso | |
| 2833 | ||
| 2834 | local B = Instance.new("Part")
| |
| 2835 | B.TopSurface = 0 | |
| 2836 | B.BottomSurface = 0 | |
| 2837 | B.formFactor = "Symmetric" | |
| 2838 | B.Size = Vector3.new(1, 1, 1) | |
| 2839 | B.Transparency = 1 | |
| 2840 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2841 | B.Parent = Character | |
| 2842 | local W = Instance.new("Weld")
| |
| 2843 | W.Part0 = Limb | |
| 2844 | W.Part1 = B | |
| 2845 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2846 | W.Parent = Limb | |
| 2847 | ||
| 2848 | end | |
| 2849 | local Limb = Character:FindFirstChild("Right Leg")
| |
| 2850 | if Limb then | |
| 2851 | ||
| 2852 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
| 2853 | local Joint = Instance.new("Glue")
| |
| 2854 | Joint.Name = "RightHip" | |
| 2855 | Joint.Part0 = Torso | |
| 2856 | Joint.Part1 = Limb | |
| 2857 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2858 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2859 | Joint.Parent = Torso | |
| 2860 | ||
| 2861 | local B = Instance.new("Part")
| |
| 2862 | B.TopSurface = 0 | |
| 2863 | B.BottomSurface = 0 | |
| 2864 | B.formFactor = "Symmetric" | |
| 2865 | B.Size = Vector3.new(1, 1, 1) | |
| 2866 | B.Transparency = 1 | |
| 2867 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2868 | B.Parent = Character | |
| 2869 | local W = Instance.new("Weld")
| |
| 2870 | W.Part0 = Limb | |
| 2871 | W.Part1 = B | |
| 2872 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2873 | W.Parent = Limb | |
| 2874 | ||
| 2875 | end | |
| 2876 | local Limb = Character:FindFirstChild("Left Leg")
| |
| 2877 | if Limb then | |
| 2878 | ||
| 2879 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
| 2880 | local Joint = Instance.new("Glue")
| |
| 2881 | Joint.Name = "LeftHip" | |
| 2882 | Joint.Part0 = Torso | |
| 2883 | Joint.Part1 = Limb | |
| 2884 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2885 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2886 | Joint.Parent = Torso | |
| 2887 | ||
| 2888 | local B = Instance.new("Part")
| |
| 2889 | B.TopSurface = 0 | |
| 2890 | B.BottomSurface = 0 | |
| 2891 | B.formFactor = "Symmetric" | |
| 2892 | B.Size = Vector3.new(1, 1, 1) | |
| 2893 | B.Transparency = 1 | |
| 2894 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 2895 | B.Parent = Character | |
| 2896 | local W = Instance.new("Weld")
| |
| 2897 | W.Part0 = Limb | |
| 2898 | W.Part1 = B | |
| 2899 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 2900 | W.Parent = Limb | |
| 2901 | ||
| 2902 | end | |
| 2903 | --[ | |
| 2904 | local Bar = Instance.new("Part")
| |
| 2905 | Bar.TopSurface = 0 | |
| 2906 | Bar.BottomSurface = 0 | |
| 2907 | Bar.formFactor = "Symmetric" | |
| 2908 | Bar.Size = Vector3.new(1, 1, 1) | |
| 2909 | Bar.Transparency = 1 | |
| 2910 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
| 2911 | Bar.Parent = Character | |
| 2912 | local Weld = Instance.new("Weld")
| |
| 2913 | Weld.Part0 = Torso | |
| 2914 | Weld.Part1 = Bar | |
| 2915 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 2916 | Weld.Parent = Torso | |
| 2917 | --]] | |
| 2918 | end | |
| 2919 | Character.Parent = Gibs | |
| 2920 | game.Debris:AddItem(Character, 12) | |
| 2921 | if movevector ~= Vector3.new() then | |
| 2922 | for i = 1,10 do | |
| 2923 | wait() | |
| 2924 | Torso.Velocity = Vector3.new(0,0,-100) | |
| 2925 | Head.Velocity = movevector * 200 | |
| 2926 | end | |
| 2927 | end | |
| 2928 | end | |
| 2929 | ||
| 2930 | ||
| 2931 | ||
| 2932 | function SpinSlice() | |
| 2933 | NoAnims = true | |
| 2934 | attack = true | |
| 2935 | ||
| 2936 | ||
| 2937 | Sound("rbxassetid://588738949",char,90,1,false)
| |
| 2938 | kiblade.Transparency = 0 | |
| 2939 | kiblade2.Transparency = 0 | |
| 2940 | trail.Enabled = true | |
| 2941 | trail2.Enabled = true | |
| 2942 | ||
| 2943 | hum.WalkSpeed = 50 | |
| 2944 | - | hum.WalkSpeed = 0 |
| 2944 | + | |
| 2945 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 2946 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 2947 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 2948 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm | |
| 2949 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 2950 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 2951 | if Debounces.on == false then break end | |
| 2952 | wait() | |
| 2953 | end | |
| 2954 | ||
| 2955 | ||
| 2956 | coroutine.resume(coroutine.create(function() | |
| 2957 | local BF = Instance.new("BodyVelocity",hed)
| |
| 2958 | BF.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2959 | BF.velocity = root.CFrame.lookVector*120 | |
| 2960 | wait(2.0) | |
| 2961 | BF:remove() | |
| 2962 | end)) | |
| 2963 | ||
| 2964 | coroutine.resume(coroutine.create(function() | |
| 2965 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2966 | wait(.1) | |
| 2967 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2968 | wait(.1) | |
| 2969 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2970 | wait(.1) | |
| 2971 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2972 | wait(.1) | |
| 2973 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2974 | wait(.1) | |
| 2975 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2976 | wait(.1) | |
| 2977 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2978 | wait(.1) | |
| 2979 | Sound("rbxassetid://588734356",char,90,1,false)
| |
| 2980 | end)) | |
| 2981 | local HitBox = Instance.new("Part",rarm)
| |
| 2982 | HitBox.Size = Vector3.new(1,5,1) | |
| 2983 | HitBox.CanCollide = false | |
| 2984 | HitBox.Transparency = 1 | |
| 2985 | local HitBox2 = Instance.new("Weld",HitBox)
| |
| 2986 | HitBox2.Part0 = rarm | |
| 2987 | HitBox2.Part1 = HitBox | |
| 2988 | HitBox2.C0 = CFrame.new(0,-1.8,0) | |
| 2989 | HitBox.Touched:connect(function(hit) | |
| 2990 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
| |
| 2991 | Kill(hit.Parent) | |
| 2992 | hit.Parent.Humanoid.PlatformStand = true | |
| 2993 | end | |
| 2994 | end) | |
| 2995 | ||
| 2996 | local HitBox2 = Instance.new("Part",larm)
| |
| 2997 | HitBox2.Size = Vector3.new(1,5,1) | |
| 2998 | HitBox2.CanCollide = false | |
| 2999 | HitBox2.Transparency = 1 | |
| 3000 | local HitBox22 = Instance.new("Weld",HitBox2)
| |
| 3001 | HitBox22.Part0 = larm | |
| 3002 | HitBox22.Part1 = HitBox2 | |
| 3003 | HitBox22.C0 = CFrame.new(0,-1.8,0) | |
| 3004 | HitBox2.Touched:connect(function(hit) | |
| 3005 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
| |
| 3006 | Kill(hit.Parent) | |
| 3007 | hit.Parent.Humanoid.PlatformStand = true | |
| 3008 | end | |
| 3009 | end) | |
| 3010 | ||
| 3011 | for i = 1,40 do | |
| 3012 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3013 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 3014 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 3015 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm | |
| 3016 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 3017 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3018 | root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0) | |
| 3019 | if Debounces.on == false then break end | |
| 3020 | wait() | |
| 3021 | end | |
| 3022 | kiblade.Transparency = 1 | |
| 3023 | kiblade2.Transparency = 1 | |
| 3024 | trail.Enabled = false | |
| 3025 | trail2.Enabled = false | |
| 3026 | HitBox:Destroy() | |
| 3027 | HitBox2:Destroy() | |
| 3028 | hum.WalkSpeed = 50 | |
| 3029 | - | hum.WalkSpeed = 5 |
| 3029 | + | |
| 3030 | NoAnims = false | |
| 3031 | end | |
| 3032 | ||
| 3033 | ||
| 3034 | ||
| 3035 | ||
| 3036 | function hito(partoz, magn, dmg, debtim) | |
| 3037 | for _, guy in pairs(workspace:GetChildren()) do | |
| 3038 | if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
| |
| 3039 | do | |
| 3040 | local humz = guy:FindFirstChildOfClass("Humanoid")
| |
| 3041 | local hed = guy:FindFirstChild("Head")
| |
| 3042 | humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints() | |
| 3043 | local db = Instance.new("StringValue")
| |
| 3044 | db.Name = "alabo" | |
| 3045 | db.Parent = hed | |
| 3046 | delay(debtim, function() | |
| 3047 | db:Destroy() | |
| 3048 | end) | |
| 3049 | end | |
| 3050 | end | |
| 3051 | end | |
| 3052 | end | |
| 3053 | end | |
| 3054 | ||
| 3055 | ||
| 3056 | ||
| 3057 | ang = CFrame.Angles | |
| 3058 | rd = math.rad | |
| 3059 | rd2 = math.random | |
| 3060 | ov = false | |
| 3061 | ||
| 3062 | ||
| 3063 | ||
| 3064 | nooutline = function(i) | |
| 3065 | i.TopSurface = 10 | |
| 3066 | end | |
| 3067 | makepart = function(l, m, n, o, p, q, r) | |
| 3068 | local s = Instance.new("Part")
| |
| 3069 | s.BrickColor = BrickColor.new(l) | |
| 3070 | s.Name = m | |
| 3071 | s.Transparency = o | |
| 3072 | nooutline(s) | |
| 3073 | s.Reflectance = n | |
| 3074 | s.Material = p | |
| 3075 | s.Anchored = true | |
| 3076 | s.CanCollide = false | |
| 3077 | s.Locked = true | |
| 3078 | s.CFrame = r | |
| 3079 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 3080 | s.Parent = q | |
| 3081 | return s | |
| 3082 | end | |
| 3083 | ||
| 3084 | makemesh = function(t, u, v, w) | |
| 3085 | local x = Instance.new("SpecialMesh")
| |
| 3086 | x.MeshType = t | |
| 3087 | x.Scale = u | |
| 3088 | if t == "FileMesh" then | |
| 3089 | x.MeshId = v | |
| 3090 | end | |
| 3091 | x.Parent = w | |
| 3092 | return x | |
| 3093 | end | |
| 3094 | ||
| 3095 | local H = {}
| |
| 3096 | ||
| 3097 | ||
| 3098 | Barrage = function() | |
| 3099 | modz = Instance.new("Model")
| |
| 3100 | modz.Name = "efx" | |
| 3101 | modz.Parent = char | |
| 3102 | ov = true | |
| 3103 | hum.AutoRotate = false | |
| 3104 | local aN = nil | |
| 3105 | local a9 = true | |
| 3106 | local aa = {}
| |
| 3107 | local ab = {}
| |
| 3108 | local b7 = {}
| |
| 3109 | for j = 1, 16 do | |
| 3110 | local ac = Instance.new("Part")
| |
| 3111 | nooutline(ac) | |
| 3112 | ac.Anchored = true | |
| 3113 | ac.Locked = true | |
| 3114 | ac.CanCollide = false | |
| 3115 | ac.Material = "Neon" | |
| 3116 | ac.Size = Vector3.new(1, 1, 1) | |
| 3117 | ac.Transparency = 1 | |
| 3118 | ac.CFrame = CFrame.new(0, 1000, 0) | |
| 3119 | ac.Parent = modz | |
| 3120 | ac.BrickColor = BrickColor.new("Really red")
| |
| 3121 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
| |
| 3122 | table.insert(aa, ac) | |
| 3123 | end | |
| 3124 | for j = 1, 40 do | |
| 3125 | local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 3126 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 3127 | table.insert(ab, a3) | |
| 3128 | end | |
| 3129 | for j = 1, 30 do | |
| 3130 | local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 3131 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
| |
| 3132 | table.insert(b7, a3) | |
| 3133 | end | |
| 3134 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 3135 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 3136 | for I,aO in pairs(H) do | |
| 3137 | if aO.Parent == rarm or aO.Parent == larm then | |
| 3138 | aN = aO.Transparency | |
| 3139 | aO.Transparency = 1 | |
| 3140 | end | |
| 3141 | end | |
| 3142 | local a8 = Instance.new("BodyGyro")
| |
| 3143 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 3144 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
| 3145 | a8.P = 580000 | |
| 3146 | a8.D = 250 | |
| 3147 | a8.Parent = root | |
| 3148 | coroutine.resume(coroutine.create(function() | |
| 3149 | while a8 do | |
| 3150 | swait() | |
| 3151 | a8.CFrame = CFrame.new(root.Position, mouse.Hit.p) | |
| 3152 | end | |
| 3153 | end)) | |
| 3154 | local af = 0 | |
| 3155 | local ag = 0 | |
| 3156 | repeat | |
| 3157 | ag = ag + 1 | |
| 3158 | if af == 0 then | |
| 3159 | af = 1 | |
| 3160 | else | |
| 3161 | af = af % 14 + 1 | |
| 3162 | end | |
| 3163 | coroutine.resume(coroutine.create(function() | |
| 3164 | local ah = aa[af] | |
| 3165 | local ai = ab[af] | |
| 3166 | local aj = ab[af + 14] | |
| 3167 | local ba = b7[af] | |
| 3168 | ah.Size = Vector3.new(1, 1, 2) | |
| 3169 | ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
| 3170 | ah.Transparency = 0.25 | |
| 3171 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
| |
| 3172 | ai.Transparency = 0.35 | |
| 3173 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
| |
| 3174 | aj.Transparency = 0.45 | |
| 3175 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 3176 | aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90)) | |
| 3177 | if af % 2 == 1 then | |
| 3178 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 3179 | else | |
| 3180 | if af % 2 == 0 then | |
| 3181 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 3182 | end | |
| 3183 | end | |
| 3184 | ba.CFrame = ah.CFrame * cf(0, 0, -8) | |
| 3185 | ba.Transparency = 0.4 | |
| 3186 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 3187 | local bb = ah.CFrame * cf(0, 0, -5) | |
| 3188 | local bc = aj.CFrame * cf(0, -0.1, 0) | |
| 3189 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
| 3190 | local ak = false | |
| 3191 | for j = 1, 12 do | |
| 3192 | swait() | |
| 3193 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
| 3194 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
| |
| 3195 | if a1 and ak == false then | |
| 3196 | ak = true | |
| 3197 | local a3 = makepart("Really red", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
| |
| 3198 | do | |
| 3199 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 3200 | game.Debris:AddItem(a3, 0.5) | |
| 3201 | local a5 = rd2(1, 12) | |
| 3202 | if a5 == 6 then | |
| 3203 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
| 3204 | else | |
| 3205 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
| 3206 | end | |
| 3207 | coroutine.resume(coroutine.create(function() | |
| 3208 | for I = 1, 4 do | |
| 3209 | swait() | |
| 3210 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
| 3211 | a3.Transparency = a3.Transparency + 0.2 | |
| 3212 | end | |
| 3213 | a3:Destroy() | |
| 3214 | end)) | |
| 3215 | end | |
| 3216 | end | |
| 3217 | ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5) | |
| 3218 | ah.CFrame = ah.CFrame:lerp(bb, 1) | |
| 3219 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
| |
| 3220 | ah.Transparency = ah.Transparency + 0.0725 | |
| 3221 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
| |
| 3222 | ai.Transparency = ai.Transparency + 0.06 | |
| 3223 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
| |
| 3224 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
| 3225 | aj.Transparency = aj.Transparency + 0.05 | |
| 3226 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
| |
| 3227 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
| 3228 | ba.Transparency = ba.Transparency + 0.06 | |
| 3229 | end | |
| 3230 | end)) | |
| 3231 | swait() | |
| 3232 | until ov == false | |
| 3233 | for I,aO in pairs(H) do | |
| 3234 | if aO.Parent == rarm or aO.Parent == larm then | |
| 3235 | aO.Transparency = aN | |
| 3236 | end | |
| 3237 | end | |
| 3238 | b8:Destroy() | |
| 3239 | b9:Destroy() | |
| 3240 | a8:Destroy() | |
| 3241 | hum.AutoRotate = true | |
| 3242 | ov = false | |
| 3243 | wait(1) | |
| 3244 | for I,al in pairs(aa) do | |
| 3245 | al:Destroy() | |
| 3246 | end | |
| 3247 | for I,am in pairs(ab) do | |
| 3248 | am:Destroy() | |
| 3249 | end | |
| 3250 | for I,be in pairs(b7) do | |
| 3251 | be:Destroy() | |
| 3252 | end | |
| 3253 | end | |
| 3254 | ||
| 3255 | ||
| 3256 | ||
| 3257 | ||
| 3258 | ||
| 3259 | ||
| 3260 | function Kneel() | |
| 3261 | ||
| 3262 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 3263 | if v:FindFirstChild('Humanoid') then
| |
| 3264 | ||
| 3265 | hum2 = v:FindFirstChild('Humanoid')
| |
| 3266 | hum2.PlatformStand=true | |
| 3267 | ||
| 3268 | end | |
| 3269 | end | |
| 3270 | end | |
| 3271 | ||
| 3272 | --[[mouse.KeyDown:connect(function(key) | |
| 3273 | if key == "l" and Trans == false and Strength then | |
| 3274 | Transformation() | |
| 3275 | Trans = true | |
| 3276 | end | |
| 3277 | end)]] | |
| 3278 | ||
| 3279 | ||
| 3280 | ||
| 3281 | mouse.KeyDown:connect(function(key) | |
| 3282 | if key == "z" then | |
| 3283 | GrabAndDrag() | |
| 3284 | end | |
| 3285 | end) | |
| 3286 | ||
| 3287 | ||
| 3288 | mouse.KeyDown:connect(function(key) | |
| 3289 | if key == "x" then | |
| 3290 | AirSlam() | |
| 3291 | end | |
| 3292 | end) | |
| 3293 | ||
| 3294 | ||
| 3295 | ||
| 3296 | mouse.KeyDown:connect(function(key) | |
| 3297 | if key == "c" then | |
| 3298 | SpinSlice() | |
| 3299 | end | |
| 3300 | end) | |
| 3301 | ||
| 3302 | ||
| 3303 | mouse.KeyDown:connect(function(key) | |
| 3304 | if key == "p" and Full == false then | |
| 3305 | FullPower() | |
| 3306 | end | |
| 3307 | end) | |
| 3308 | ||
| 3309 | mouse.KeyDown:connect(function(key) | |
| 3310 | if key == "1" then | |
| 3311 | Sound("rbxassetid://966268002",char,90,1,false)
| |
| 3312 | Kneel() | |
| 3313 | end | |
| 3314 | end) | |
| 3315 | ||
| 3316 | mouse.KeyDown:connect(function(key) | |
| 3317 | if key == "v" then | |
| 3318 | if ov == false then | |
| 3319 | hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0) | |
| 3320 | wait() | |
| 3321 | local ChatService = game:GetService("Chat")
| |
| 3322 | wait() | |
| 3323 | local ChatService = game:GetService("Chat")
| |
| 3324 | coroutine.resume(coroutine.create(function() | |
| 3325 | s = 0 | |
| 3326 | repeat | |
| 3327 | s = s + 1 | |
| 3328 | Barrage() | |
| 3329 | wait() | |
| 3330 | until not ov | |
| 3331 | end)) | |
| 3332 | if Full == true then | |
| 3333 | coroutine.resume(coroutine.create(function() | |
| 3334 | s = 0 | |
| 3335 | repeat | |
| 3336 | s = s + 1 | |
| 3337 | Barrage() | |
| 3338 | wait() | |
| 3339 | until not ov | |
| 3340 | end)) | |
| 3341 | end | |
| 3342 | mouse.KeyUp:connect(function(key) | |
| 3343 | if key == "v" then | |
| 3344 | wait(0.4) | |
| 3345 | ov = false | |
| 3346 | wait(0.1) | |
| 3347 | end | |
| 3348 | end) | |
| 3349 | end | |
| 3350 | end | |
| 3351 | end) | |
| 3352 | ||
| 3353 | ||
| 3354 | ||
| 3355 | ||
| 3356 | ||
| 3357 | -----animations----- | |
| 3358 | ||
| 3359 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3360 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3361 | if f then | |
| 3362 | ffing = true | |
| 3363 | else | |
| 3364 | ffing = false | |
| 3365 | end | |
| 3366 | end) | |
| 3367 | sine = sine + add | |
| 3368 | if ffing==true then | |
| 3369 | anim="jump" | |
| 3370 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3371 | anim="idle" | |
| 3372 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3373 | anim = "walk" | |
| 3374 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3375 | anim = "run" | |
| 3376 | end | |
| 3377 | ||
| 3378 | if NoAnims==false then | |
| 3379 | if anim=="idle" then | |
| 3380 | add=0.5 | |
| 3381 | if trans == false then | |
| 3382 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3383 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
| 3384 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
| 3385 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1) | |
| 3386 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
| 3387 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25) | |
| 3388 | else | |
| 3389 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3390 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25) | |
| 3391 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25) | |
| 3392 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm | |
| 3393 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm | |
| 3394 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3395 | end | |
| 3396 | ||
| 3397 | elseif anim=="walk" then | |
| 3398 | add=0.5 | |
| 3399 | if trans == false then | |
| 3400 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
| 3401 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25) | |
| 3402 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25) | |
| 3403 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1) | |
| 3404 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1) | |
| 3405 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25) | |
| 3406 | else | |
| 3407 | change = 0.5 | |
| 3408 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2) | |
| 3409 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2) | |
| 3410 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2) | |
| 3411 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 3412 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4) | |
| 3413 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2) | |
| 3414 | end | |
| 3415 | ||
| 3416 | elseif anim=="run" then | |
| 3417 | add=0.5 | |
| 3418 | if trans == false then | |
| 3419 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025) | |
| 3420 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25) | |
| 3421 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25) | |
| 3422 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25) | |
| 3423 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25) | |
| 3424 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25) | |
| 3425 | else | |
| 3426 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25) | |
| 3427 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25) | |
| 3428 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25) | |
| 3429 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25) | |
| 3430 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25) | |
| 3431 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25) | |
| 3432 | end | |
| 3433 | ||
| 3434 | elseif anim=="jump" then | |
| 3435 | add=0.5 | |
| 3436 | torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05) | |
| 3437 | rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25) | |
| 3438 | lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25) | |
| 3439 | rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25) | |
| 3440 | larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25) | |
| 3441 | hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25) | |
| 3442 | ||
| 3443 | end | |
| 3444 | end | |
| 3445 | ||
| 3446 | end) | |
| 3447 | ||
| 3448 | ||
| 3449 | --[[l = game.Lighting | |
| 3450 | l.TimeOfDay = 1 | |
| 3451 | game.Lighting.Ambient = Color3.new(0,0,0) | |
| 3452 | l.Brightness = 0.1]]-- |