SHOW:
|
|
- or go back to the newest paste.
| 1 | - | ply = game.Players.TxrreIl |
| 1 | + | ply = game.Players.666FISHMAN666 |
| 2 | char = ply.Character | |
| 3 | torso = char.Torso | |
| 4 | rs = torso["Right Shoulder"] | |
| 5 | rarm = char["Right Arm"] | |
| 6 | rw = Instance.new("Weld")
| |
| 7 | attacking = false | |
| 8 | ||
| 9 | function lock(a) | |
| 10 | if a == 1 then | |
| 11 | rw.Parent = torso | |
| 12 | rw.C0,rw.C1 = rs.C0,rs.C1 | |
| 13 | rw.Part0,rw.Part1 = rs.Part0,rs.Part1 | |
| 14 | rs.Parent = nil | |
| 15 | elseif a == 0 then | |
| 16 | rs.Parent = torso | |
| 17 | rw.Parent = nil | |
| 18 | end | |
| 19 | end | |
| 20 | ||
| 21 | function infect(hit) | |
| 22 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 23 | if v:IsA("Humanoid") then
| |
| 24 | if v:FindFirstChild("poison") == nil then
| |
| 25 | Instance.new("BoolValue",v).Name = "poison"
| |
| 26 | ||
| 27 | coroutine.resume(coroutine.create(function() | |
| 28 | for i = 1,30 do | |
| 29 | wait() | |
| 30 | v.Health = v.Health - 1 | |
| 31 | ||
| 32 | local c = p1:Clone() | |
| 33 | c.Parent = m | |
| 34 | c.Size = Vector3.new(0.5,0.5,0.5) | |
| 35 | c.CFrame = v.Torso.CFrame + Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) | |
| 36 | c.Anchored = true | |
| 37 | c.Transparency = 0.5 | |
| 38 | c.Color = Color3.new(0,0.3,0) | |
| 39 | ||
| 40 | delay(0.1,function() | |
| 41 | for i = 0.5,1,0.05 do | |
| 42 | wait() | |
| 43 | c.Transparency = i | |
| 44 | end | |
| 45 | c:Remove() | |
| 46 | end) | |
| 47 | ||
| 48 | end | |
| 49 | v:FindFirstChild("poison"):Remove()
| |
| 50 | end)) | |
| 51 | ||
| 52 | end | |
| 53 | end | |
| 54 | end | |
| 55 | end | |
| 56 | ||
| 57 | ||
| 58 | function damage(hit) | |
| 59 | for i,v in pairs(hit.Parent:GetChildren()) do | |
| 60 | if v:IsA("Humanoid") then
| |
| 61 | v.Health = v.Health - 1000000000 | |
| 62 | end | |
| 63 | end | |
| 64 | end | |
| 65 | ||
| 66 | ---WEP START--- | |
| 67 | m = Instance.new("Model",char)
| |
| 68 | ||
| 69 | hdl = Instance.new("Part",m)
| |
| 70 | hdl.TopSurface,hdl.BottomSurface = 0,0 | |
| 71 | hdl.formFactor = "Custom" | |
| 72 | hdl.CanCollide = false | |
| 73 | hdl.Size = Vector3.new(0.3,1.5,0.3) | |
| 74 | hdl.Color = Color3.new(0,5,0) | |
| 75 | ||
| 76 | p1 = hdl:Clone() | |
| 77 | p1.Parent = m | |
| 78 | p1.Size = Vector3.new(1,4,0.2) | |
| 79 | p1.Color = Color3.new(0,0,0) | |
| 80 | p1.CanCollide = True | |
| 81 | ||
| 82 | w = Instance.new("Weld",m)
| |
| 83 | w.Part0,w.Part1 = p1,hdl | |
| 84 | w.C1 = CFrame.new(0,hdl.Size.y/2+p1.Size.y/2-0.05,0) | |
| 85 | ||
| 86 | for i = -p1.Size.y/2,p1.Size.y/2,0.25 do | |
| 87 | c = Instance.new("WedgePart",m)
| |
| 88 | c.TopSurface,c.BottomSurface = 0,0 | |
| 89 | c.formFactor = "Custom" | |
| 90 | c.Parent = m | |
| 91 | c.Size = Vector3.new(0.1,0.1,0.2) | |
| 92 | c.BrickColor = BrickColor.new("Royal purple")
| |
| 93 | c.CanCollide = True | |
| 94 | ||
| 95 | w = Instance.new("Weld",m)
| |
| 96 | w.Part0,w.Part1 = c,p1 | |
| 97 | w.C1 = CFrame.new(-p1.Size.x/2-c.Size.x/2+0.05,i*0.95,0) * CFrame.Angles(0,math.pi/2,0) | |
| 98 | end | |
| 99 | ||
| 100 | ||
| 101 | p2 = Instance.new("WedgePart",m)
| |
| 102 | p2.TopSurface,p2.BottomSurface = 0,0 | |
| 103 | p2.formFactor = "Custom" | |
| 104 | p2.Size = Vector3.new(0.2,1,2) | |
| 105 | p2.Color = p1.Color | |
| 106 | p2.CanCollide = True | |
| 107 | ||
| 108 | ||
| 109 | w = Instance.new("Weld",m)
| |
| 110 | w.Part0,w.Part1 = p2,p1 | |
| 111 | w.C1 = CFrame.new(0,p1.Size.y/2+p2.Size.z/2-0.05,0) * CFrame.Angles(math.pi/2,0,math.pi/2) | |
| 112 | ||
| 113 | for i = -p2.Size.z/2+0.25,p2.Size.z/2-0.25,0.2 do | |
| 114 | if i ~= 2 then | |
| 115 | ||
| 116 | c = Instance.new("WedgePart",m)
| |
| 117 | c.TopSurface,c.BottomSurface = 0,0 | |
| 118 | c.formFactor = "Custom" | |
| 119 | c.Parent = m | |
| 120 | c.Size = Vector3.new(0.2,0.1,0.2) | |
| 121 | c.BrickColor = BrickColor.new("Royal purple")
| |
| 122 | c.CanCollide = True | |
| 123 | ||
| 124 | w = Instance.new("Weld",m)
| |
| 125 | w.Part0,w.Part1 = c,p2 | |
| 126 | w.C1 = CFrame.new(0,i/2+0.2,i+0.18) * CFrame.Angles(math.pi/2-math.rad(22),0,0) | |
| 127 | ||
| 128 | end | |
| 129 | end | |
| 130 | ||
| 131 | hw = Instance.new("Weld",m)
| |
| 132 | hw.Part0,hw.Part1 = hdl,rarm | |
| 133 | hw.Name = "hw" | |
| 134 | hw.C1 = CFrame.new(0,-rarm.Size.y/2-0.15,0) * CFrame.Angles(math.pi/2,-math.pi/2,math.pi) | |
| 135 | ||
| 136 | for i,v in pairs(m:GetChildren()) do | |
| 137 | if v:IsA("BasePart") and v ~= hdl then
| |
| 138 | v.Touched:connect(damage) | |
| 139 | v.Touched:connect(infect) | |
| 140 | end | |
| 141 | end | |
| 142 | ||
| 143 | hdl.Name = "Handle" | |
| 144 | ||
| 145 | ||
| 146 | h = Instance.new("HopperBin",ply.Backpack)
| |
| 147 | h.Name = "Genchei" | |
| 148 | ||
| 149 | s = 20 | |
| 150 | ||
| 151 | function ang(x,y,z) | |
| 152 | return CFrame.Angles(math.rad(x)*s,math.rad(y)*s,math.rad(z)*s) | |
| 153 | end | |
| 154 | ||
| 155 | hold = false | |
| 156 | function lightning(mouse) | |
| 157 | attacking = true | |
| 158 | r = 4 | |
| 159 | if mouse.Target ~= nil then | |
| 160 | c = Instance.new("Part",m)
| |
| 161 | c.formFactor = "Custom" | |
| 162 | c.Size = Vector3.new(3,0.5,3) | |
| 163 | c.Anchored = true | |
| 164 | c.TopSurface,c.BottomSurface = 0,0 | |
| 165 | c.CanCollide = false | |
| 166 | c.BrickColor = BrickColor.new("Really red")
| |
| 167 | ||
| 168 | Instance.new("CylinderMesh",c)
| |
| 169 | hold = true | |
| 170 | while hold == true do | |
| 171 | wait() | |
| 172 | c.CFrame = CFrame.new(mouse.hit.p) | |
| 173 | end | |
| 174 | ||
| 175 | for i = 1,90,s do | |
| 176 | wait() | |
| 177 | rw.C0 = rw.C0 * ang(0,0,1) | |
| 178 | end | |
| 179 | ||
| 180 | r = 5 | |
| 181 | for i = 1,360,60 do | |
| 182 | wait() | |
| 183 | c2 = Instance.new("Part",c)
| |
| 184 | c2.Size = Vector3.new(1,5,1) | |
| 185 | c2.CanCollide = false | |
| 186 | c2.Touched:connect(damage) | |
| 187 | c2.TopSurface,c2.BottomSurface = 0,0 | |
| 188 | c2.Transparency = 1 | |
| 189 | c2.Color = Color3.new(1,1,1) | |
| 190 | c2.CFrame = c.CFrame + Vector3.new(math.cos(math.rad(i))*r,0,math.sin(math.rad(i))*r) | |
| 191 | c2.CFrame = CFrame.new(c2.Position,c.Position) | |
| 192 | c2.Anchored = true | |
| 193 | ||
| 194 | Instance.new("FileMesh",c2).MeshId = "rbxasset://fonts/sword.mesh"
| |
| 195 | ||
| 196 | for i = 1,0.5,-0.1 do | |
| 197 | wait() | |
| 198 | c2.Transparency = i | |
| 199 | end | |
| 200 | ||
| 201 | end | |
| 202 | ||
| 203 | for i = 1,50 do | |
| 204 | wait() | |
| 205 | local p = Instance.new("Part",m)
| |
| 206 | p.Size = Vector3.new(1,50,1) | |
| 207 | p.Anchored = true | |
| 208 | p.CFrame = c.CFrame + Vector3.new(math.random(-r,r),p.Size.y/2-1,math.random(-r,r)) | |
| 209 | p.CanCollide = false | |
| 210 | p.BrickColor = BrickColor.new("Really red")
| |
| 211 | Instance.new("CylinderMesh",p)
| |
| 212 | ||
| 213 | for i,v in pairs(Workspace:GetChildren()) do | |
| 214 | if v:IsA("Model") and v ~= char then
| |
| 215 | for i,o in pairs(v:GetChildren()) do | |
| 216 | if o:IsA("Humanoid") then
| |
| 217 | if (o.Torso.Position-(p.CFrame * CFrame.new(0,-p.Size.y/2,0)).p).magnitude <= 10 then | |
| 218 | o.Health = o.Health - 1.25 | |
| 219 | ||
| 220 | end | |
| 221 | end | |
| 222 | end | |
| 223 | end | |
| 224 | end | |
| 225 | ||
| 226 | delay(0,function() | |
| 227 | for i = 0,1,0.1 do | |
| 228 | wait() | |
| 229 | p.Transparency = i | |
| 230 | end | |
| 231 | p:Remove() | |
| 232 | end) | |
| 233 | end | |
| 234 | ||
| 235 | for i = 1,90,s do | |
| 236 | wait() | |
| 237 | rw.C0 = rw.C0 * ang(0,0,-1) | |
| 238 | end | |
| 239 | ||
| 240 | c:Remove() | |
| 241 | end | |
| 242 | attacking = false | |
| 243 | end | |
| 244 | ||
| 245 | ||
| 246 | function wave() | |
| 247 | attacking = true | |
| 248 | s = 10 | |
| 249 | ||
| 250 | for i = 1,140,s do | |
| 251 | wait() | |
| 252 | rw.C0 = rw.C0 * ang(0,0,-1) | |
| 253 | end | |
| 254 | s = 20 | |
| 255 | for i = 1,220,s do | |
| 256 | wait() | |
| 257 | rw.C0 = rw.C0 * ang(0,0,1) | |
| 258 | end | |
| 259 | ||
| 260 | bp = Instance.new("BodyPosition",torso)
| |
| 261 | bp.maxForce = Vector3.new() * math.huge | |
| 262 | bp.position = torso.Position + Vector3.new(0,50,0) | |
| 263 | ||
| 264 | while (torso.Position-bp.position).magnitude > 1 do wait() end | |
| 265 | ||
| 266 | bp.position = bp.position - Vector3.new(0,50,0) | |
| 267 | ||
| 268 | while (torso.Position-bp.position).magnitude > 10 do wait() end | |
| 269 | bp:Remove() | |
| 270 | ||
| 271 | for i = 1,(220-140)+80,s do | |
| 272 | wait() | |
| 273 | rw.C0 = rw.C0 * ang(0,0,-1) | |
| 274 | end | |
| 275 | ||
| 276 | r = 4 | |
| 277 | coroutine.resume(coroutine.create(function() | |
| 278 | ||
| 279 | for o = 2,16,2 do | |
| 280 | for i = 1,360,10 do | |
| 281 | local c = p1:Clone() | |
| 282 | c.Parent = m | |
| 283 | c.Size = Vector3.new(1,o,1) | |
| 284 | c.Anchored = true | |
| 285 | c.CFrame = CFrame.new((p2.CFrame * CFrame.new(0,p2.Size.y/2,0)).p) + Vector3.new(math.cos(math.rad(i))*r,-c.Size.y,math.sin(math.rad(i))*r) | |
| 286 | ||
| 287 | coroutine.resume(coroutine.create(function() | |
| 288 | for i = 1,c.Size.y do | |
| 289 | wait() | |
| 290 | c.CFrame = c.CFrame + Vector3.new(0,1,0) | |
| 291 | end | |
| 292 | for i = 1,c.Size.y do | |
| 293 | wait() | |
| 294 | c.CFrame = c.CFrame - Vector3.new(0,1,0) | |
| 295 | end | |
| 296 | c:Remove() | |
| 297 | end)) | |
| 298 | ||
| 299 | end | |
| 300 | r = r+3 | |
| 301 | end | |
| 302 | ||
| 303 | end)) | |
| 304 | ||
| 305 | for i = 1,80,s do | |
| 306 | wait() | |
| 307 | rw.C0 = rw.C0 * ang(0,0,1) | |
| 308 | end | |
| 309 | ||
| 310 | attacking = false | |
| 311 | end | |
| 312 | ||
| 313 | function Guard() | |
| 314 | r = 20 | |
| 315 | ||
| 316 | h = 30 | |
| 317 | ||
| 318 | for o = h,100,10 do | |
| 319 | for i = 0,360,30 do | |
| 320 | local c = p1:Clone() | |
| 321 | c.Parent = Workspace | |
| 322 | c.Size = Vector3.new(8,o,8) | |
| 323 | c.Anchored = true | |
| 324 | c.Material = "Slate" | |
| 325 | c.CanCollide = true | |
| 326 | c.BrickColor = BrickColor.new("Really red")
| |
| 327 | c.CFrame = torso.CFrame + Vector3.new(math.cos(math.rad(i))*r,0,math.sin(math.rad(i))*r) - Vector3.new(0,c.Size.y,0) | |
| 328 | ||
| 329 | coroutine.resume(coroutine.create(function() | |
| 330 | for i = 1,c.Size.y,2 do | |
| 331 | wait() | |
| 332 | c.CFrame = c.CFrame + Vector3.new(0,2,0) | |
| 333 | end | |
| 334 | ||
| 335 | delay(3,function() | |
| 336 | for i = 1,c.Size.y do | |
| 337 | wait() | |
| 338 | c.CFrame = c.CFrame - Vector3.new(0,1,0) | |
| 339 | end | |
| 340 | c:Remove() | |
| 341 | end) | |
| 342 | ||
| 343 | ||
| 344 | end)) | |
| 345 | ||
| 346 | end | |
| 347 | r = r+10 | |
| 348 | end | |
| 349 | end | |
| 350 | ||
| 351 | function Raise() | |
| 352 | local c = hdl:Clone() | |
| 353 | c.Parent = m | |
| 354 | c.CanCollide = true | |
| 355 | c.Material = "Slate" | |
| 356 | c.BrickColor = BrickColor.new("Really red")
| |
| 357 | c.Size = Vector3.new(10,50,10) | |
| 358 | c.Anchored = true | |
| 359 | c.CFrame = torso.CFrame - Vector3.new(0,c.Size.y/2,0) | |
| 360 | ||
| 361 | for i = 1,c.Size.y-3 do | |
| 362 | wait() | |
| 363 | c.CFrame = c.CFrame + Vector3.new(0,1,0) | |
| 364 | end | |
| 365 | end | |
| 366 | ||
| 367 | function slash(a) | |
| 368 | attacking = true | |
| 369 | for i = 1,70,s do | |
| 370 | wait() | |
| 371 | rw.C0 = rw.C0 * ang(0,1,0) | |
| 372 | end | |
| 373 | for i = 1,90,s do | |
| 374 | wait() | |
| 375 | rw.C0 = rw.C0 * ang(0,0,-1) | |
| 376 | end | |
| 377 | for i = 1,90,s do | |
| 378 | wait() | |
| 379 | rw.C0 = rw.C0 * ang(0,0,1) | |
| 380 | end | |
| 381 | for i = 1,70,s do | |
| 382 | wait() | |
| 383 | rw.C0 = rw.C0 * ang(0,-1,0) | |
| 384 | end | |
| 385 | attacking = false | |
| 386 | end | |
| 387 | ||
| 388 | function wield(a) | |
| 389 | s = 17 | |
| 390 | if a == 1 then | |
| 391 | for i = 1,85,s do | |
| 392 | wait() | |
| 393 | rw.C0 = rw.C0 * ang(-0.1,0,1) | |
| 394 | end | |
| 395 | elseif a == 0 then | |
| 396 | for i = 1,85,s do | |
| 397 | wait() | |
| 398 | rw.C0 = rw.C0 * ang(0.1,0,-1) | |
| 399 | end | |
| 400 | end | |
| 401 | s = 20 | |
| 402 | end | |
| 403 | ||
| 404 | function freeze(m) | |
| 405 | local trg = m.Target | |
| 406 | if (trg==nil) then return end | |
| 407 | local phit = game.Players:findFirstChild(trg.Parent.Name) | |
| 408 | if (phit~=nil) then | |
| 409 | if (phit==p) then return end | |
| 410 | local char = trg.Parent | |
| 411 | if (char:findFirstChild("Torso")==nil) then return end
| |
| 412 | if (char:findFirstChild("fr_block")==nil) then
| |
| 413 | local pa = Instance.new("Part")
| |
| 414 | local bl = Instance.new("BlockMesh")
| |
| 415 | bl.Parent = pa | |
| 416 | pa.Anchored = true | |
| 417 | pa.Name = "fr_block" | |
| 418 | pa.Transparency = 1 | |
| 419 | pa.BrickColor = BrickColor.New("Royal purple")
| |
| 420 | pa.FormFactor = "Custom" | |
| 421 | pa.Size = Vector3.new(6,7,6) | |
| 422 | pa.CFrame = char["Torso"].CFrame | |
| 423 | pa.Parent = char | |
| 424 | char.Humanoid.WalkSpeed = 0 | |
| 425 | if (char.Humanoid.Health<char.Humanoid.MaxHealth/4) then | |
| 426 | char.Humanoid.Health = 0 | |
| 427 | else | |
| 428 | char.Humanoid.Health = char.Humanoid.Health - char.Humanoid.MaxHealth/4 | |
| 429 | end | |
| 430 | local g = char:GetChildren() | |
| 431 | for i = 1,#g do | |
| 432 | if (g[i]:IsA("Part")) then
| |
| 433 | g[i].Anchored = true | |
| 434 | g[i].Reflectance = .3 | |
| 435 | end | |
| 436 | end | |
| 437 | for i = 1,10 do | |
| 438 | pa.Transparency = pa.Transparency - .06 | |
| 439 | pa.Reflectance = pa.Reflectance + .01 | |
| 440 | wait(.01) | |
| 441 | end | |
| 442 | else | |
| 443 | if (phit~=nil) then | |
| 444 | local fr = char["fr_block"] | |
| 445 | local char = trg.Parent | |
| 446 | for i = 1,10 do | |
| 447 | fr.Transparency = fr.Transparency + .06 | |
| 448 | fr.Reflectance = fr.Reflectance - .01 | |
| 449 | wait(.01) | |
| 450 | end | |
| 451 | local g = char:GetChildren() | |
| 452 | for i = 1,#g do | |
| 453 | if (g[i]:IsA("Part")) then
| |
| 454 | g[i].Anchored = false | |
| 455 | g[i].Reflectance = 0 | |
| 456 | end | |
| 457 | end | |
| 458 | char.Humanoid.WalkSpeed = 16 | |
| 459 | fr:remove() | |
| 460 | end | |
| 461 | end | |
| 462 | end | |
| 463 | end | |
| 464 | ||
| 465 | function explode(m) | |
| 466 | local t = m.Hit.p | |
| 467 | local trg = m.Target | |
| 468 | if (trg==nil) then return end | |
| 469 | local e = Instance.new("Explosion")
| |
| 470 | e.BlastRadius = 20 | |
| 471 | e.BlastPressure = 20 | |
| 472 | e.Position = t | |
| 473 | e.Parent = game.Workspace | |
| 474 | end | |
| 475 | ||
| 476 | function fire(m) | |
| 477 | local trg = m.Target | |
| 478 | if (trg==nil) then return end | |
| 479 | local phit = game.Players:findFirstChild(trg.Parent.Name) | |
| 480 | if (phit~=nil) then | |
| 481 | local char = trg.Parent | |
| 482 | if (char:findFirstChild("Torso")==nil) then return end
| |
| 483 | local f = Instance.new("Fire")
| |
| 484 | f.Color = Color3.new(0,0,0) | |
| 485 | f.SecondaryColor = Color3.new(0,5,0) | |
| 486 | f.Parent = char.Torso | |
| 487 | f.Name = "BurnFire" | |
| 488 | coroutine.resume(coroutine.create(function() | |
| 489 | while (char.Humanoid.Health>0) do | |
| 490 | if (char.Humanoid.Health<2) then | |
| 491 | char.Humanoid.Health = 0 | |
| 492 | char:BreakJoints() | |
| 493 | else | |
| 494 | char.Humanoid.Health = char.Humanoid.Health - 2 | |
| 495 | end | |
| 496 | wait(.05) | |
| 497 | end | |
| 498 | end)) | |
| 499 | end | |
| 500 | end | |
| 501 | ||
| 502 | local rls = {nil, nil}
| |
| 503 | ||
| 504 | doArms=function(Com) | |
| 505 | if Com==true then | |
| 506 | Torso=p.Character.Torso | |
| 507 | RA=Torso:FindFirstChild("Right Shoulder")
| |
| 508 | if RA==nil then | |
| 509 | return | |
| 510 | end | |
| 511 | LA=Torso:FindFirstChild("Left Shoulder")
| |
| 512 | if LA==nil then | |
| 513 | return | |
| 514 | end | |
| 515 | rls[1]=Instance.new("Motor")
| |
| 516 | local RightS = rls[1] | |
| 517 | RightS.Name="Right_Shoulder" | |
| 518 | RightS.C0=RA.C0 | |
| 519 | RightS.C1=RA.C1 | |
| 520 | RightS.Part0=RA.Part0 | |
| 521 | RightS.Part1=RA.Part1 | |
| 522 | RightS.MaxVelocity=.35 | |
| 523 | RightS.Parent=Torso | |
| 524 | rls[2]=Instance.new("Motor")
| |
| 525 | local LeftS = rls[2] | |
| 526 | LeftS.Name="Left_Shoulder" | |
| 527 | LeftS.C0=LA.C0 | |
| 528 | LeftS.C1=LA.C1 | |
| 529 | LeftS.Part0=LA.Part0 | |
| 530 | LeftS.Part1=LA.Part1 | |
| 531 | LeftS.MaxVelocity=.35 | |
| 532 | LeftS.Parent=Torso | |
| 533 | RA.Parent=nil | |
| 534 | LA.Parent=nil | |
| 535 | RA.Part1=nil | |
| 536 | LA.Part1=nil | |
| 537 | else | |
| 538 | if (rls[1]==nil) or (rls[2]==nil) then return end | |
| 539 | local RightS = rls[1] | |
| 540 | local LeftS = rls[2] | |
| 541 | RightS.Part1=nil | |
| 542 | LeftS.Part1=nil | |
| 543 | RightS.Parent=nil | |
| 544 | LeftS.Parent=nil | |
| 545 | Torso=p.Character.Torso | |
| 546 | RA.Parent=Torso | |
| 547 | LA.Parent=Torso | |
| 548 | RA.Part1=nil | |
| 549 | LA.Part1=nil | |
| 550 | RA.Part1=p.Character["Right Arm"] | |
| 551 | LA.Part1=p.Character["Left Arm"] | |
| 552 | wait(.2) | |
| 553 | RA.Part0=Torso | |
| 554 | LA.Part0=Torso | |
| 555 | RA.Part1=p.Character["Right Arm"] | |
| 556 | LA.Part1=p.Character["Left Arm"] | |
| 557 | end | |
| 558 | end | |
| 559 | ||
| 560 | function ReturnAngles() | |
| 561 | local RightS = rls[1] | |
| 562 | local LeftS = rls[2] | |
| 563 | RightS.DesiredAngle = 0 | |
| 564 | LeftS.DesiredAngle = 0 | |
| 565 | wait(1) | |
| 566 | doArms(false) | |
| 567 | end | |
| 568 | ||
| 569 | ||
| 570 | function kd(key,mouse) | |
| 571 | if attacking == false then | |
| 572 | ||
| 573 | if key == "f" then lightning(mouse) | |
| 574 | elseif key == "g" then wave() | |
| 575 | elseif key == "r" then Guard() | |
| 576 | elseif key == "t" then Raise() | |
| 577 | elseif key == "z" then freeze(mouse) | |
| 578 | elseif key == "x" then explode(mouse) | |
| 579 | elseif key == "c" then fire(mouse) | |
| 580 | ||
| 581 | end | |
| 582 | ||
| 583 | end | |
| 584 | end | |
| 585 | ||
| 586 | klist = {"f"}
| |
| 587 | ||
| 588 | function select(mouse) | |
| 589 | lock(1) | |
| 590 | wield(1) | |
| 591 | ||
| 592 | mouse.KeyUp:connect(function(hit) for i,v in pairs(klist) do if hit == v then hold = false end end end) | |
| 593 | mouse.KeyDown:connect(function(key) kd(key,mouse) end) | |
| 594 | mouse.Button1Down:connect(function() if attacking == false then slash() end end) | |
| 595 | end | |
| 596 | ||
| 597 | h.Selected:connect(select) | |
| 598 | ||
| 599 | h.Deselected:connect(function() wield(0) lock(0) end) | |
| 600 | ||
| 601 | for i,v in pairs(char:GetChildren()) do | |
| 602 | if v:IsA("BasePart") then Instance.new("ForceField",v)
| |
| 603 | end end | |
| 604 | ||
| 605 | Instance.new("ForceField",m)
| |
| 606 | ||
| 607 | ||
| 608 | ||
| 609 | jun = script.Parent.Parent | |
| 610 | Stuff = false | |
| 611 | --password | |
| 612 | function ssj() | |
| 613 | if Stuff == false then | |
| 614 | Stuff = true | |
| 615 | for u, c in pairs (jun.Character:GetChildren()) do | |
| 616 | if c.className == "Hat" and c.Name ~= "Bandana" and c.Name ~= "Batwings" then | |
| 617 | c.Handle.Transparency = 1 | |
| 618 | end | |
| 619 | end | |
| 620 | Hair22 = Instance.new("Part")
| |
| 621 | Hair22.Parent = jun.Character | |
| 622 | Hair22.Name = "Hair" | |
| 623 | Hair22.formFactor = "Symmetric" | |
| 624 | Hair22.Size = Vector3.new(1, 1, 1) | |
| 625 | Hair22.CFrame = jun.Character.Head.CFrame | |
| 626 | Hair22:BreakJoints() | |
| 627 | Hair22.CanCollide = false | |
| 628 | Hair22.TopSurface = "Smooth" | |
| 629 | Hair22.BottomSurface = "Smooth" | |
| 630 | Hair22.BrickColor = BrickColor.new("Royal purple")
| |
| 631 | Weld = Instance.new("Weld")
| |
| 632 | Weld.Part0 = jun.Character.Head | |
| 633 | Weld.Part1 = Hair22 | |
| 634 | Weld.Parent = jun.Character.Head | |
| 635 | Weld.C0 = CFrame.new(-0.12, 0, 0.11)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 636 | Mesh = Instance.new("SpecialMesh")
| |
| 637 | Mesh.Parent = Hair22 | |
| 638 | Mesh.MeshType = "FileMesh" | |
| 639 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 640 | Mesh.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
| 641 | Hair4 = Instance.new("Part")
| |
| 642 | Hair4.Parent = jun.Character | |
| 643 | Hair4.Name = "Hair" | |
| 644 | Hair4.CanCollide = false | |
| 645 | Hair4.Locked = true | |
| 646 | Hair4.TopSurface = "Smooth" | |
| 647 | Hair4.BottomSurface = "Smooth" | |
| 648 | Hair4.formFactor = "Symmetric" | |
| 649 | Hair4.BrickColor = BrickColor.new("Really red")
| |
| 650 | Hair4.CFrame = jun.Character.Torso.CFrame | |
| 651 | Hair4.Size = Vector3.new(1, 1, 1) | |
| 652 | Weld = Instance.new("Weld")
| |
| 653 | Weld.Parent = jun.Character.Head | |
| 654 | Weld.Part0 = jun.Character.Head | |
| 655 | Weld.Part1 = Hair4 | |
| 656 | Weld.C0 = CFrame.new(0, 1, 0) | |
| 657 | Mesh = Instance.new("SpecialMesh")
| |
| 658 | Mesh.Parent = Hair4 | |
| 659 | Mesh.Scale = Vector3.new(1.15, 1.9, 1.26) | |
| 660 | Mesh.MeshType = "FileMesh" | |
| 661 | Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 662 | Mesh.TextureId = "" | |
| 663 | Effect = Instance.new("Part")
| |
| 664 | Effect.Parent = jun.Character | |
| 665 | Effect.Anchored = true | |
| 666 | Effect.CanCollide = false | |
| 667 | Effect.Size = Vector3.new(1, 1, 1) | |
| 668 | Effect.formFactor = "Symmetric" | |
| 669 | Effect.Transparency = 0.5 | |
| 670 | Effect.BrickColor = BrickColor.new("Royal purple")
| |
| 671 | Effect.TopSurface = "Smooth" | |
| 672 | Effect.BottomSurface = "Smooth" | |
| 673 | EffectMesh = Instance.new("SpecialMesh")
| |
| 674 | EffectMesh.Parent = Effect | |
| 675 | EffectMesh.MeshType = "Sphere" | |
| 676 | EffectMesh.Scale = Vector3.new(10, 10, 10) | |
| 677 | jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0) | |
| 678 | for i = 1 , 20 do | |
| 679 | Effect.CFrame = CFrame.new(jun.Character.Torso.Position) | |
| 680 | EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2, 2, 2) | |
| 681 | Effect.Transparency = Effect.Transparency + 0.025 | |
| 682 | wait(0.06) | |
| 683 | end | |
| 684 | Effect:Remove() | |
| 685 | if jun.Character.Torso:findFirstChild("PwnFire") == nil then
| |
| 686 | pie = Instance.new("Fire")
| |
| 687 | pie.Name = "PwnFire" | |
| 688 | pie.Parent = jun.Character.Torso | |
| 689 | pie.Size = 9 | |
| 690 | pie.Color = Color3.new(0,5,0) | |
| 691 | pie.SecondaryColor = Color3.new(0,0,0) | |
| 692 | pie.Size = 8 | |
| 693 | end | |
| 694 | if jun.Character.Torso:findFirstChild("PwnSparkles") == nil then
| |
| 695 | pie = Instance.new("Sparkles")
| |
| 696 | pie.Name = "PwnSparkles" | |
| 697 | pie.Parent = jun.Character.Torso | |
| 698 | pie.SparkleColor = Color3.new(0,0,0) | |
| 699 | end | |
| 700 | jun.Character.Humanoid.MaxHealth = jun.Character.Humanoid.MaxHealth*3 | |
| 701 | wait(0.3) | |
| 702 | jun.Character.Humanoid.Health = jun.Character.Humanoid.Health*3 | |
| 703 | end | |
| 704 | end | |
| 705 | function nossj() | |
| 706 | if Stuff == true then | |
| 707 | Stuff = false | |
| 708 | if jun.Character.Torso:findFirstChild("PwnFire") ~= nil then
| |
| 709 | jun.Character.Torso:findFirstChild("PwnFire"):Remove()
| |
| 710 | end | |
| 711 | if jun.Character.Torso:findFirstChild("PwnSparkles") ~= nil then
| |
| 712 | jun.Character.Torso:findFirstChild("PwnSparkles"):Remove()
| |
| 713 | end | |
| 714 | p = Instance.new("Part")
| |
| 715 | p.Parent = jun.Character | |
| 716 | p.Anchored = true | |
| 717 | p.CanCollide = false | |
| 718 | p.Transparency = 0.1 | |
| 719 | p.formFactor = "Symmetric" | |
| 720 | p.Size = Vector3.new(22, 22, 22) | |
| 721 | p.TopSurface = "Smooth" | |
| 722 | p.BottomSurface = "Smooth" | |
| 723 | p.Name = "Sharingan" | |
| 724 | p.Shape = "Ball" | |
| 725 | p.CFrame = jun.Character.Torso.CFrame | |
| 726 | p.BrickColor = BrickColor.new("Royal purple")
| |
| 727 | for i = 1 , 10 do | |
| 728 | wait(0.05) | |
| 729 | p.Size = p.Size + Vector3.new(-4, -4, -4) | |
| 730 | p.Transparency = p.Transparency + 0.1 | |
| 731 | p.CFrame = jun.Character.Torso.CFrame | |
| 732 | end | |
| 733 | p:Remove() | |
| 734 | for u, c in pairs (jun.Character:GetChildren()) do | |
| 735 | if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then | |
| 736 | c.Handle.Transparency = 0 | |
| 737 | end | |
| 738 | if c.Name == "Hair" then | |
| 739 | c:Remove() | |
| 740 | end | |
| 741 | end | |
| 742 | jun.Character.Humanoid.Health = jun.Character.Humanoid.Health/3 | |
| 743 | wait(0.3) | |
| 744 | jun.Character.Humanoid.MaxHealth = jun.Character.Humanoid.MaxHealth/3 | |
| 745 | end | |
| 746 | end | |
| 747 | jun.Chatted:connect(function(Msg) | |
| 748 | msg = Msg:lower() | |
| 749 | if string.sub(msg, 1, 7) == "toxic" then | |
| 750 | wait(0.1) | |
| 751 | ssj() | |
| 752 | end | |
| 753 | if string.sub(msg, 1, 13) == "tssj" then | |
| 754 | wait(0.1) | |
| 755 | ssj() | |
| 756 | end | |
| 757 | if string.sub(msg, 1, 10) == "pwned" then | |
| 758 | wait(0.1) | |
| 759 | nossj() | |
| 760 | end | |
| 761 | if string.sub(msg, 1, 3) == "off" then | |
| 762 | wait(0.1) | |
| 763 | nossj() | |
| 764 | end | |
| 765 | end) | |
| 766 | function OnDeath() | |
| 767 | wait() | |
| 768 | nossj() | |
| 769 | end | |
| 770 | jun.Character.Humanoid.Died:connect(OnDeath) | |
| 771 | jun = script.Parent.Parent | |
| 772 | Stuff = false | |
| 773 | --mediafire--- |