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