SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --MADE BY CoolLegend (NOT THE SCRIPT) All you got to do is create local and run it. |
| 1 | + | ------------ |
| 2 | - | function Part(Par, Anc, Colli, Tran, Ref, Col, Siz) |
| 2 | + | --John Doe-- |
| 3 | - | local p = Instance.new("Part")
|
| 3 | + | ------------ |
| 4 | - | p.formFactor = "Custom" |
| 4 | + | -----by----- |
| 5 | - | p.TopSurface = 0 |
| 5 | + | --CKbackup-- |
| 6 | - | p.BottomSurface = 0 |
| 6 | + | ------------ |
| 7 | - | p.Transparency = Tran |
| 7 | + | |
| 8 | - | p.Reflectance = Ref |
| 8 | + | --Player Stuff-- |
| 9 | - | p.Anchored = Anc |
| 9 | + | player = game:GetService("Players").battleman22222
|
| 10 | - | p.CanCollide = Colli |
| 10 | + | chara = player.Character |
| 11 | - | p.BrickColor = Col |
| 11 | + | |
| 12 | - | p.Size = Siz |
| 12 | + | ch = chara:GetChildren() |
| 13 | - | p.Locked = true |
| 13 | + | for i = 1, #ch do |
| 14 | - | p.Parent = Par |
| 14 | + | if ch[i].Name == "Torso" then |
| 15 | - | p:BreakJoints() |
| 15 | + | ch[i].roblox.Transparency = 1 |
| 16 | - | return p |
| 16 | + | elseif ch[i].Name == "Head" then |
| 17 | ch[i].face.Transparency = 1 | |
| 18 | - | function Weld(P0, P1, C0, C1) |
| 18 | + | ch[i].Transparency = 1 |
| 19 | - | local w = Instance.new("Weld")
|
| 19 | + | elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then |
| 20 | - | w.Part0 = P0 |
| 20 | + | ch[i]:Destroy() |
| 21 | - | w.Part1 = P1 |
| 21 | + | |
| 22 | - | if C0 then |
| 22 | + | |
| 23 | - | w.C0 = C0 |
| 23 | + | |
| 24 | - | end |
| 24 | + | chara["Left Arm"].BrickColor = BrickColor.new("Cool yellow")
|
| 25 | - | if C1 then |
| 25 | + | chara["Right Arm"].BrickColor = BrickColor.new("Cool yellow")
|
| 26 | - | w.C1 = C1 |
| 26 | + | chara["Left Leg"].BrickColor = BrickColor.new("Medium blue")
|
| 27 | - | end |
| 27 | + | chara["Right Leg"].BrickColor = BrickColor.new("Medium blue")
|
| 28 | - | w.Parent = P0 |
| 28 | + | chara.Torso.BrickColor = BrickColor.new("Bright yellow")
|
| 29 | - | return w |
| 29 | + | |
| 30 | --Outfit-- | |
| 31 | - | V3 = Vector3.new |
| 31 | + | New = function(Object, Parent, Name, Data) |
| 32 | - | C3 = Color3.new |
| 32 | + | local Object = Instance.new(Object) |
| 33 | - | BN = BrickColor.new |
| 33 | + | for Index, Value in pairs(Data or {}) do
|
| 34 | - | CN = CFrame.new |
| 34 | + | Object[Index] = Value |
| 35 | - | CA = CFrame.Angles |
| 35 | + | end |
| 36 | - | MR = math.rad |
| 36 | + | Object.Parent = Parent |
| 37 | - | MRA = math.random |
| 37 | + | Object.Name = Name |
| 38 | - | MP = math.pi |
| 38 | + | return Object |
| 39 | - | MH = math.huge |
| 39 | + | |
| 40 | - | UD = UDim2.new |
| 40 | + | |
| 41 | - | Asset = "http://www.roblox.com/asset/?id=" |
| 41 | + | function ScatterEff(part) |
| 42 | - | Noob = nil |
| 42 | + | local eff1 = Instance.new("ParticleEmitter",part)
|
| 43 | - | function MakeMotor(torso, p1, c0, c1) |
| 43 | + | eff1.Size = NumberSequence.new(.1) |
| 44 | - | local mot = Instance.new("Motor6D")
|
| 44 | + | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
|
| 45 | - | mot.C0 = c0 |
| 45 | + | eff1.LightEmission = 1 |
| 46 | - | mot.C1 = c1 |
| 46 | + | eff1.Lifetime = NumberRange.new(1) |
| 47 | - | mot.Part0 = torso |
| 47 | + | eff1.Speed = NumberRange.new(1) |
| 48 | - | mot.Part1 = p1 |
| 48 | + | eff1.Rate = 100 |
| 49 | - | mot.Parent = torso |
| 49 | + | eff1.VelocitySpread = 10000 |
| 50 | - | return mot |
| 50 | + | eff1.Texture = "rbxassetid://347504241" |
| 51 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
| 52 | - | function Set(tab) |
| 52 | + | local eff2 = Instance.new("ParticleEmitter",part)
|
| 53 | - | for _,v in pairs(tab) do |
| 53 | + | eff2.Size = NumberSequence.new(.1) |
| 54 | - | local motor = v[1] |
| 54 | + | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
|
| 55 | - | local vel = v[2] |
| 55 | + | eff2.LightEmission = 1 |
| 56 | - | local des = v[3] |
| 56 | + | eff2.Lifetime = NumberRange.new(1) |
| 57 | - | motor.MaxVelocity = vel |
| 57 | + | eff2.Speed = NumberRange.new(1) |
| 58 | - | motor.DesiredAngle = des |
| 58 | + | eff2.Rate = 100 |
| 59 | - | end |
| 59 | + | eff2.VelocitySpread = 10000 |
| 60 | eff2.Texture = "rbxassetid://347504259" | |
| 61 | - | function Animate(Hum, RSH, LSH, RH, LH) |
| 61 | + | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 62 | - | local pose = "Standing" |
| 62 | + | |
| 63 | - | local function sit() |
| 63 | + | |
| 64 | - | pose = "Seated" |
| 64 | + | function BurningEff(part) |
| 65 | - | end |
| 65 | + | local eff1 = Instance.new("ParticleEmitter",part)
|
| 66 | - | local function jump() |
| 66 | + | eff1.Size = NumberSequence.new(.1) |
| 67 | - | pose = "Jumping" |
| 67 | + | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
|
| 68 | - | end |
| 68 | + | eff1.LightEmission = 1 |
| 69 | - | local function died() |
| 69 | + | eff1.Lifetime = NumberRange.new(1) |
| 70 | - | pose = "Dead" |
| 70 | + | eff1.Speed = NumberRange.new(0) |
| 71 | - | end |
| 71 | + | eff1.Rate = 100 |
| 72 | - | local function falling() |
| 72 | + | eff1.Texture = "rbxassetid://347504241" |
| 73 | - | pose = "Falling" |
| 73 | + | eff1.Acceleration = Vector3.new(0,10,0) |
| 74 | - | end |
| 74 | + | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 75 | - | local function climbing() |
| 75 | + | local eff2 = Instance.new("ParticleEmitter",part)
|
| 76 | - | pose = "Climbing" |
| 76 | + | eff2.Size = NumberSequence.new(.1) |
| 77 | - | end |
| 77 | + | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
|
| 78 | - | local function run(speed) |
| 78 | + | eff2.LightEmission = 1 |
| 79 | - | if speed > 0.5 then |
| 79 | + | eff2.Lifetime = NumberRange.new(1) |
| 80 | - | pose = "Running" |
| 80 | + | eff2.Speed = NumberRange.new(0) |
| 81 | - | else |
| 81 | + | eff2.Rate = 100 |
| 82 | - | pose = "Standing" |
| 82 | + | eff2.Texture = "rbxassetid://347504259" |
| 83 | - | end |
| 83 | + | eff2.Acceleration = Vector3.new(0,10,0) |
| 84 | - | end |
| 84 | + | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 85 | - | local function move() |
| 85 | + | local eff3 = Instance.new("ParticleEmitter",part)
|
| 86 | - | if pose == "Seated" then |
| 86 | + | eff3.Size = NumberSequence.new(1) |
| 87 | - | Set({{RSH, 0.15, math.pi/2}, {LSH, 0.15, -math.pi/2}, {LH, 0.15, math.pi/2}, {RH, 0.15, -math.pi/2}})
|
| 87 | + | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
|
| 88 | - | return |
| 88 | + | eff3.LightEmission = 1 |
| 89 | - | end |
| 89 | + | eff3.Lifetime = NumberRange.new(1) |
| 90 | - | if pose == "Jumping" then |
| 90 | + | eff3.Speed = NumberRange.new(0) |
| 91 | - | Set({{RSH, 0.3, math.pi}, {LSH, 0.3, -math.pi}, {LH, 0.3, 0}, {RH, 0.3, 0}})
|
| 91 | + | eff3.Rate = 100 |
| 92 | - | return |
| 92 | + | eff3.Texture = "rbxasset://textures/particles/fire_main.dds" |
| 93 | - | end |
| 93 | + | eff3.Acceleration = Vector3.new(0,10,0) |
| 94 | - | if pose == "Standing" then |
| 94 | + | eff3.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 95 | - | Set({{RSH, 0.25, 0}, {LSH, 0.25, 0}, {LH, 0.25, 0}, {RH, 0.25, 0}})
|
| 95 | + | |
| 96 | - | return |
| 96 | + | |
| 97 | - | end |
| 97 | + | FakeHead = New("Model",chara,"FakeHead",{})
|
| 98 | - | if pose == "Falling" then |
| 98 | + | MainPart = New("Part",FakeHead,"MainPart",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(2.29537678, 7.81603718, 0.746068954, 0.00980896503, 0.00110200304, 0.999957919, -0.000536994543, 1.00000548, -0.00109680078, -0.99994874, -0.0005262224, 0.00980964955),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,})
|
| 99 | - | Set({{RSH, 0.35, math.pi}, {LSH, 0.35, -math.pi}, {LH, 0.35, 0}, {RH, 0.35, 0}})
|
| 99 | + | Mesh = New("SpecialMesh",MainPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
|
| 100 | - | return |
| 100 | + | face = New("Decal",MainPart,"face",{Texture = "rbxasset://textures/face.png",})
|
| 101 | - | end |
| 101 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, 0.00980896503, -0.000536994543, -0.99994874, 0.00110200304, 1.00000548, -0.0005262224, 0.999957919, -0.00109680078, 0.00980964955),C1 = CFrame.new(5.96046448e-008, -8.58306885e-006, 0, 0.00980896503, -0.000536994543, -0.99994874, 0.00110200304, 1.00000548, -0.0005262224, 0.999957919, -0.00109680078, 0.00980964955),})
|
| 102 | - | if pose == "Running" then |
| 102 | + | FakeHead.MainPart.BrickColor = BrickColor.new("Cool yellow")
|
| 103 | - | Set({{RSH, 0.2, -0.8}, {LSH, 0.2, 0.8}, {LH, 0.2, 0}, {RH, 0.2, 0}})
|
| 103 | + | EyeFire = New("Part",FakeHead,"EyeFire",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(1.69668579, 8.11665249, 0.640022159, -0.00107900088, 0.999958038, -0.00980941113, -1.0000056, -0.00107390946, 0.000525554642, 0.000515007298, 0.00981007144, 0.999948859),CanCollide = false,Color = Color3.new(1, 0, 0),})
|
| 104 | - | elseif pose == "Climbing" then |
| 104 | + | Mesh = New("CylinderMesh",EyeFire,"Mesh",{Offset = Vector3.new(0.0500000007, 0, -0.0399999991),Scale = Vector3.new(1, 0.150000006, 1),})
|
| 105 | - | Set({{RSH, 0.35, 2.8}, {LSH, 0.35, -2.8}, {LH, 0.35, 0.1}, {RH, 0.35, 0.1}})
|
| 105 | + | Weld = New("ManualWeld",EyeFire,"Weld",{Part0 = EyeFire,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0010790003, -0.999999344, 0.000515000196, 0.999951363, -0.0010738963, 0.00981000345, -0.00980944186, 0.000525560055, 0.99995178),C1 = CFrame.new(0.100008011, 0.300009251, -0.600027919, 0.00980899762, -0.000536999898, -0.99995178, 0.00110200245, 0.999999344, -0.000526215415, 0.999951363, -0.00109678751, 0.00980958249),})
|
| 106 | - | end |
| 106 | + | Chest = New("Model",chara,"Chest",{})
|
| 107 | - | end |
| 107 | + | MainPart = New("Part",Chest,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(2.2937007, 6.31611967, 0.746871948, 0.00980956201, 0.00110224239, 0.999954581, -0.000537135813, 1.00000238, -0.00109703222, -0.99995023, -0.000526354474, 0.00981019717),CanCollide = false,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,})
|
| 108 | - | Hum.Jumping:connect(jump) |
| 108 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Torso,C0 = CFrame.new(0, 0, 0, 0.009809535, -0.000537137908, -0.99994725, 0.00110225554, 1.00000858, -0.000526368851, 0.999961257, -0.00109705783, 0.00981026888),C1 = CFrame.new(5.96046448e-008, -9.05990601e-006, -2.38418579e-007, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),})
|
| 109 | - | Hum.Running:connect(run) |
| 109 | + | CorruptedPart = New("Part",Chest,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.400000006, 0.800000072, 1),CFrame = CFrame.new(2.28977966, 7.11656427, 1.34486222, -0.00110228383, -0.00980954897, -0.9999578, -1.00000536, 0.000536905834, 0.00109708123, 0.000526248943, 0.99994868, -0.00981033035),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 110 | - | Hum.Seated:connect(sit) |
| 110 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 111 | - | Hum.Died:connect(died) |
| 111 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0011022957, -0.999999225, 0.000526249292, -0.00980958622, 0.000536918582, 0.99995172, -0.999951243, 0.0010970803, -0.00981026702),C1 = CFrame.new(-0.598430753, 0.800122261, 0.00106739998, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),})
|
| 112 | - | Hum.FreeFalling:connect(falling) |
| 112 | + | CorruptedPart = New("Part",Chest,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.400000006, 0.400000066, 1),CFrame = CFrame.new(2.29174757, 6.71645212, 1.54485857, -0.00110228383, -0.00980954897, -0.9999578, -1.00000536, 0.000536905834, 0.00109708123, 0.000526248943, 0.99994868, -0.00981033035),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 113 | - | Hum.Climbing:connect(climbing) |
| 113 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 114 | - | coroutine.resume(coroutine.create(function() |
| 114 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0011022957, -0.999999225, 0.000526249292, -0.00980958622, 0.000536918582, 0.99995172, -0.999951243, 0.0010970803, -0.00981026702),C1 = CFrame.new(-0.798183441, 0.399908543, 0.00543618202, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),})
|
| 115 | - | while pose ~= "Dead" do |
| 115 | + | LeftArm = New("Model",chara,"LeftArm",{})
|
| 116 | - | wait(0.04) |
| 116 | + | MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(1.90889204, 6.31596565, 3.24640989, -0.0484240092, -0.0324009918, 0.998301268, -0.00117100019, 0.999474883, 0.0323822871, -0.998826265, 0.000399069104, -0.0484365262),CanCollide = false,})
|
| 117 | - | move() |
| 117 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),C1 = CFrame.new(0, -8.10623169e-006, -2.38418579e-007, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 118 | - | end |
| 118 | + | CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(1.48370504, 6.50245714, 2.8663168, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 119 | - | end)) |
| 119 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 120 | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(0.400017738, 0.200018406, -0.400015235, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
| |
| 121 | - | function MakeNoob(pos, scale) |
| 121 | + | CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.51924801, 6.60332775, 3.66543078, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 122 | - | local Nub = Instance.new("Model")
|
| 122 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 123 | - | Nub.Name = "Cannoneer nub" |
| 123 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.399997473, 0.300003052, -0.399972558, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 124 | - | local Torso = Part(Nub, false, false, 0, 0, BN("Bright blue"), V3(2*scale, 2*scale, 1*scale))
|
| 124 | + | EffCorruptedPart = New("Part",LeftArm,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(1.92512023, 5.81624889, 3.24619365, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 125 | - | Torso.Name = "Torso" |
| 125 | + | Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 126 | - | local Head = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(2*scale, 1*scale, 1*scale))
|
| 126 | + | Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(1.52587891e-005, -0.49998045, 2.90870667e-005, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 127 | - | Head.Name = "Head" |
| 127 | + | CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000072, 0.200000003),CFrame = CFrame.new(2.31463432, 6.72918367, 3.62673688, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 128 | - | local Neck = MakeMotor(Torso, Head, CN(0, 1*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CN(0, -0.5*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)) |
| 128 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 129 | - | local HeadMesh = Instance.new("SpecialMesh",Head)
|
| 129 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.400012016, 0.400006294, 0.400012136, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 130 | - | HeadMesh.Scale = V3(1.25, 1.25, 1.25) |
| 130 | + | CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.50631011, 6.40297413, 3.26581192, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 131 | - | local Face = Instance.new("Decal",Head)
|
| 131 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 132 | - | Face.Face = "Front" |
| 132 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(1.3589859e-005, 0.100014687, -0.400020242, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 133 | - | Face.Texture = Asset..(13038247) |
| 133 | + | CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(1.92179501, 6.51633835, 3.64602208, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 134 | - | local Rarm = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(1*scale, 2*scale, 1*scale))
|
| 134 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 135 | - | Rarm.Name = "Right Arm" |
| 135 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.40000248, 0.200008869, 1.37090683e-005, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),})
|
| 136 | - | local Larm = Part(Nub, false, false, 0, 0, BN("Bright yellow"), V3(1*scale, 2*scale, 1*scale))
|
| 136 | + | BurningEff(EffCorruptedPart) |
| 137 | - | Larm.Name = "Left Arm" |
| 137 | + | LeftLeg = New("Model",chara,"LeftLeg",{})
|
| 138 | - | local Rleg = Part(Nub, false, false, 0, 0, BN("Br. yellowish green"), V3(1*scale, 2*scale, 1*scale))
|
| 138 | + | MainPart = New("Part",LeftLeg,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.2865479, 1.31659603, 1.24781799, 0.00980953407, 0.00110225566, 0.999961138, -0.000537137908, 1.00000858, -0.00109705783, -0.99994719, -0.000526368851, 0.00981026888),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,})
|
| 139 | - | Rleg.Name = "Right Leg" |
| 139 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Leg"],C0 = CFrame.new(0, 0, 0, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),C1 = CFrame.new(0, -8.58306885e-006, -2.38418579e-007, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 140 | - | local Lleg = Part(Nub, false, false, 0, 0, BN("Br. yellowish green"), V3(1*scale, 2*scale, 1*scale))
|
| 140 | + | EffCorruptedPart = New("Part",LeftLeg,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.200000048, 1),CFrame = CFrame.new(2.28007793, 0.400032878, 1.25993299, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 141 | - | Lleg.Name = "Left Leg" |
| 141 | + | Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 142 | - | local RSH = MakeMotor(Torso, Rarm, CN(1*scale, 0.5*scale, 0) * CA(0, MR(90), 0), CN(-0.5*scale, 0.5*scale, 0) * CA(0, MR(90), 0)) |
| 142 | + | Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.0116856098, -0.916567385, -0.00534534454, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 143 | - | local LSH = MakeMotor(Torso, Larm, CN(-1*scale, 0.5*scale, 0) * CA(0, MR(-90), 0), CN(0.5*scale, 0.5*scale, 0) * CA(0, MR(-90), 0)) |
| 143 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.88013697, 0.800038397, 0.859943509, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 144 | - | local RH = MakeMotor(Torso, Rleg, CN(0.5*scale, -1*scale, 0) * CA(0, MR(-90), 0), CN(0, 1*scale, 0) * CA(0, MR(-90), 0)) |
| 144 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 145 | - | local LH = MakeMotor(Torso, Lleg, CN(-0.5*scale, -1*scale, 0) * CA(0, MR(90), 0), CN(0, 1*scale, 0) * CA(0, MR(90), 0)) |
| 145 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(0.3841483, -0.516796231, -0.40962553, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 146 | - | local Hum = Instance.new("Humanoid")
|
| 146 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000012, 0.200000003),CFrame = CFrame.new(2.69002914, 0.915953577, 0.851962805, 0.999971032, 0.0011022269, -0.00980960391, -0.00109704852, 1.00001776, 0.000537177373, 0.00981036108, -0.000526409131, 0.999942601),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 147 | - | local Speed = 14+(2*scale) |
| 147 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 148 | - | Hum.Parent = Nub |
| 148 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999951303, -0.0010970087, 0.00981015898, 0.00110222446, 0.999999166, -0.000526388001, -0.00980970077, 0.00053719338, 0.99995172),C1 = CFrame.new(0.400011122, -0.399985313, 0.400013685, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 149 | - | Hum.Died:connect(function() |
| 149 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000012, 0.200000003),CFrame = CFrame.new(1.88013721, 0.900040269, 1.65993917, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 150 | - | wait(6) |
| 150 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 151 | - | Nub:remove() |
| 151 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.415866137, -0.41721642, -0.40188694, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 152 | - | wait(5) |
| 152 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.88013721, 0.600035727, 1.25993288, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 153 | - | MakeNoob(pos, scale) |
| 153 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 154 | - | end) |
| 154 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.0157161951, -0.717007458, -0.405481935, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 155 | - | Nub.Parent = workspace |
| 155 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.28007793, 0.700037479, 1.65993929, 1.00001967, -3.84054147e-007, 3.90969217e-006, 6.35045581e-007, 1.00001717, -5.60838998e-007, -6.19795173e-006, 9.32147486e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 156 | - | Nub:MakeJoints() |
| 156 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 157 | - | Hum.MaxHealth = 50+(scale*70) |
| 157 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 6.5424797e-007, -6.48946025e-006, -3.64865258e-007, 0.999998629, 9.58411874e-007, 3.61912225e-006, -5.34497644e-007, 0.999998629),C1 = CFrame.new(-0.411835551, -0.616776347, -0.00175023079, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 158 | - | Hum.Health = 50+(scale*70) |
| 158 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(2.68018699, 1.10004401, 1.65993941, 1.00001967, -3.84054147e-007, 3.90969217e-006, 6.35045581e-007, 1.00001717, -5.60838998e-007, -6.19795173e-006, 9.32147486e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 159 | - | Nub:MoveTo(pos) |
| 159 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 160 | - | coroutine.resume(coroutine.create(function() |
| 160 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 6.5424797e-007, -6.48946025e-006, -3.64865258e-007, 0.999998629, 9.58411874e-007, 3.61912225e-006, -5.34497644e-007, 0.999998629),C1 = CFrame.new(-0.408125639, -0.216332912, 0.397896528, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 161 | - | repeat wait() |
| 161 | + | CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(2.68596959, 0.816166699, 1.25195313, 0.999971032, 0.0011022269, -0.00980960391, -0.00109704852, 1.00001776, 0.000537177373, 0.00981036108, -0.000526409131, 0.999942601),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 162 | - | Hum.Health = Hum.MaxHealth |
| 162 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 163 | - | until Hum.Health >= Hum.MaxHealth-1 |
| 163 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999951303, -0.0010970087, 0.00981015898, 0.00110222446, 0.999999166, -0.000526388001, -0.00980970077, 0.00053719338, 0.99995172),C1 = CFrame.new(5.20944595e-005, -0.499986172, 0.399987936, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),})
|
| 164 | - | end)) |
| 164 | + | ScatterEff(EffCorruptedPart) |
| 165 | - | Animate(Hum,RSH,LSH,RH,LH) |
| 165 | + | RightArm = New("Model",chara,"RightArm",{})
|
| 166 | - | local Char = Nub |
| 166 | + | MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.011096, 6.31690788, -3.92582893, 0.00918400101, -0.262283146, 0.964947343, 0.259330034, 0.932596445, 0.251021653, -0.965745091, 0.247934431, 0.0765828639),CanCollide = false,})
|
| 167 | - | local necko = CN(0, 1*scale, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 167 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),C1 = CFrame.new(-2.86102295e-006, -9.05990601e-006, -2.38418579e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 168 | - | local ShootColors = {"Bright yellow", "New Yeller", "Bright orange", "Neon orange", "Really red", "Bright red"}
|
| 168 | + | Hitbox = New("Part",RightArm,"Hitbox",{BrickColor = BrickColor.new("Really black"),Transparency = 1,Transparency = 1,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(22.2733669, 5.0842762, -22.1737366, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 169 | - | local Attacking = false |
| 169 | + | Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945257, -0.251027077, -0.0765930116, -0.262290984, 0.93259424, 0.247935042, 0.00919180829, 0.259333313, -0.965744138),C1 = CFrame.new(-1.52587891e-005, -1.00003147, -1.71661377e-005, 0.0091838371, 0.259330064, -0.965745151, -0.262283117, 0.932596445, 0.247934505, 0.964947283, 0.251021653, 0.0765827149),})
|
| 170 | - | local Accuracy = 5 |
| 170 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.011096, 6.3169179, -3.92581391, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 171 | - | local Debounce = true |
| 171 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 172 | - | local Hurt = false |
| 172 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945138, -0.251027018, -0.0765930042, -0.262290984, 0.932594121, 0.247935027, 0.00919180084, 0.259333313, -0.965744197),C1 = CFrame.new(-1.1920929e-005, 1.28746033e-005, 3.57627869e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 173 | - | local Damage = {15,42}
|
| 173 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.600000024, 0.400000036),CFrame = CFrame.new(2.14866924, 6.03215551, -4.72580194, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 174 | - | local Selected = false |
| 174 | + | Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,})
|
| 175 | - | local ContentProvider = game:GetService("ContentProvider")
|
| 175 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.699988842, -0.499982834, 7.62939453e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 176 | - | local function RC(Pos, Dir, Max, Ignore) |
| 176 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1.20000005, 0.600000024),CFrame = CFrame.new(2.63876629, 4.02682734, -4.32773018, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 177 | - | return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore) |
| 177 | + | Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,})
|
| 178 | - | end |
| 178 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(-0.199987888, -2.39999342, 3.02791595e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 179 | - | local function RayC(Start, En, MaxDist, Ignore) |
| 179 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 0.600000024),CFrame = CFrame.new(1.62134135, 7.81954479, -3.94021821, 0.964945078, -0.262291819, -0.00918725226, 0.251029015, 0.932593465, -0.259333432, 0.0765890032, 0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 180 | - | return RC(Start, (En - Start), MaxDist, Ignore) |
| 180 | + | Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,})
|
| 181 | - | end |
| 181 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.964944899, 0.251028955, 0.0765889958, -0.262291819, 0.932593465, 0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.399995804, 1.5000124, -2.38418579e-007, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 182 | - | local function ComputePos(pos1, pos2) |
| 182 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.600000024, 0.400000036),CFrame = CFrame.new(2.35483098, 5.18234444, -4.53787422, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 183 | - | return CN(pos1, V3(pos2.x, pos1.y, pos2.z)) |
| 183 | + | Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,})
|
| 184 | - | end |
| 184 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.300010204, -1.29999256, 1.40666962e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 185 | - | local function DetectSurface(pos, part) |
| 185 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 0.600000024),CFrame = CFrame.new(1.88730097, 6.99068737, -4.57445002, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 186 | - | local surface = nil |
| 186 | + | Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,})
|
| 187 | - | local pospos = part.CFrame |
| 187 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.799996853, 0.50001812, 4.29153442e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 188 | - | local pos2 = pospos:pointToObjectSpace(pos) |
| 188 | + | CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.800000072, 0.600000024),CFrame = CFrame.new(2.37646794, 4.9594202, -4.07979012, -0.964945316, -0.262290984, 0.00918756705, -0.251028091, 0.932593942, 0.259333163, -0.0765890256, 0.247935995, -0.965744197),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 189 | - | local siz = part.Size |
| 189 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 190 | - | local shaep = part.Shape |
| 190 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945138, -0.251028031, -0.0765890107, -0.262290955, 0.932593882, 0.247935966, 0.0091875596, 0.259333193, -0.965744257),C1 = CFrame.new(-0.199994564, -1.39999104, 1.52587891e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),})
|
| 191 | - | if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then |
| 191 | + | RightLeg = New("Model",chara,"RightLeg",{})
|
| 192 | - | surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)}
|
| 192 | + | MainPart = New("Part",RightLeg,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.29641008, 1.31540966, 0.248092994, 0.00933599845, 0.00110999751, 0.999955773, -0.0030579993, 0.999994755, -0.00108149007, -0.99995178, -0.0030477671, 0.00933934376),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,})
|
| 193 | - | else |
| 193 | + | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Leg"],C0 = CFrame.new(0, 0, 0, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),C1 = CFrame.new(2.98023224e-008, -8.58306885e-006, 2.38418579e-007, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 194 | - | if pos2.Y > ((siz.Y/2)-0.04) then |
| 194 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(2.70045996, 1.61376095, -0.149078026, 0.999955833, 0.00111049914, -0.0093326522, -0.00108199986, 0.999994755, 0.00305823679, 0.00933599938, -0.00304800388, 0.999951839),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 195 | - | surface = {"Top", CA(0, 0, 0)}
|
| 195 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 196 | - | elseif pos2.Y < -((siz.Y/2)-0.04) then |
| 196 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955893, -0.00108199986, 0.00933599938, 0.00111049926, 0.999994755, -0.00304800388, -0.0093326522, 0.00305823679, 0.99995178),C1 = CFrame.new(0.400011688, 0.300008655, 0.400000095, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 197 | - | surface = {"Bottom", CA(-MP, 0, 0)}
|
| 197 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.90071809, 1.81462395, -0.157150015, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 198 | - | elseif pos2.X > ((siz.X/2)-0.04) then |
| 198 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 199 | - | surface = {"Right", CA(0, 0, MR(-90))}
|
| 199 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(0.400002658, 0.50000751, -0.399999142, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 200 | - | elseif pos2.X < -((siz.X/2)-0.04) then |
| 200 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(1.896873, 1.71584904, 0.243133992, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 201 | - | surface = {"Left", CA(0, 0, MR(90))}
|
| 201 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 202 | - | elseif pos2.Z > ((siz.Z/2)-0.04) then |
| 202 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(4.14252281e-006, 0.400008917, -0.399998784, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 203 | - | surface = {"Back", CA(MR(90), 0, 0)}
|
| 203 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000072, 0.200000003),CFrame = CFrame.new(1.89314091, 1.71706903, 0.643112063, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 204 | - | elseif pos2.Z < -((siz.Z/2)-0.04) then |
| 204 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 205 | - | surface = {"Front", CA(MR(-90), 0, 0)}
|
| 205 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(-0.399993181, 0.400005698, -0.399996519, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 206 | - | end |
| 206 | + | EffCorruptedPart = New("Part",RightLeg,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1.20000005, 1),CFrame = CFrame.new(2.29597116, 0.915416002, 0.249298006, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 207 | - | end |
| 207 | + | Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 208 | - | return surface |
| 208 | + | Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(1.41263008e-005, -0.399995744, 5.00679016e-006, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 209 | - | end |
| 209 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.300596, 1.71419013, -0.153122023, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 210 | - | local function waitChild(n, p) |
| 210 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 211 | - | local c = p:findFirstChild(n) |
| 211 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(0.400015235, 0.400005817, 7.39097595e-006, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 212 | - | if c then return c end |
| 212 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(2.69322205, 1.81620288, 0.650299072, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 213 | - | while true do |
| 213 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 214 | - | c = p.ChildAdded:wait() |
| 214 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(-0.400013447, 0.500005245, 0.400009155, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 215 | - | if c.Name == n then return c end |
| 215 | + | CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.69684124, 1.71498096, 0.250625998, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
|
| 216 | - | end |
| 216 | + | Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),})
|
| 217 | - | end |
| 217 | + | Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(-1.63316727e-005, 0.400005937, 0.400005102, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),})
|
| 218 | - | local function Notime(func) |
| 218 | + | ScatterEff(EffCorruptedPart) |
| 219 | - | coroutine.resume(coroutine.create(function() |
| 219 | + | |
| 220 | - | func() |
| 220 | + | sa = RightArm:GetChildren() |
| 221 | - | end)) |
| 221 | + | for i = 1, #sa do |
| 222 | - | end |
| 222 | + | ScatterEff(sa[i]) |
| 223 | - | RSH.Part0 = Torso |
| 223 | + | |
| 224 | - | LSH.Part0 = Torso |
| 224 | + | |
| 225 | - | RH.Part0 = Torso |
| 225 | + | local eff1 = Instance.new("ParticleEmitter",EyeFire)
|
| 226 | - | LH.Part0 = Torso |
| 226 | + | eff1.Size = NumberSequence.new(.1) |
| 227 | - | local Add = {
|
| 227 | + | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
|
| 228 | - | Mesh = function(P, ID, Scale, Tex) |
| 228 | + | eff1.LightEmission = 1 |
| 229 | - | local m = Instance.new("SpecialMesh")
|
| 229 | + | eff1.Lifetime = NumberRange.new(.5) |
| 230 | - | m.MeshType = "FileMesh" |
| 230 | + | eff1.Speed = NumberRange.new(1) |
| 231 | - | m.MeshId = ID or "" |
| 231 | + | eff1.EmissionDirection = "Front" |
| 232 | - | m.Scale = Scale or V3(1, 1, 1) |
| 232 | + | eff1.Rate = 100 |
| 233 | - | m.TextureId = Tex or "" |
| 233 | + | eff1.Texture = "rbxassetid://347504241" |
| 234 | - | m.Parent = P |
| 234 | + | eff1.Acceleration = Vector3.new(0,10,0) |
| 235 | - | return m |
| 235 | + | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 236 | - | end, |
| 236 | + | local eff2 = Instance.new("ParticleEmitter",EyeFire)
|
| 237 | - | Sphere = function(P, Scale) |
| 237 | + | eff2.Size = NumberSequence.new(.1) |
| 238 | - | local m = Instance.new("SpecialMesh")
|
| 238 | + | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
|
| 239 | - | m.MeshType = "Sphere" |
| 239 | + | eff2.LightEmission = 1 |
| 240 | - | m.Scale = Scale or V3(1, 1, 1) |
| 240 | + | eff2.Lifetime = NumberRange.new(.5) |
| 241 | - | m.Parent = P |
| 241 | + | eff2.Speed = NumberRange.new(1) |
| 242 | - | return m |
| 242 | + | eff2.EmissionDirection = "Front" |
| 243 | - | end |
| 243 | + | eff2.Rate = 100 |
| 244 | - | } |
| 244 | + | eff2.Texture = "rbxassetid://347504259" |
| 245 | - | local Sounds = {
|
| 245 | + | eff2.Acceleration = Vector3.new(0,10,0) |
| 246 | - | Shoot = {Id = "http://www.roblox.com/asset/?id=2697431", Pitch = 0.3, Volume = 0.5},
|
| 246 | + | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 247 | - | Boom = {Id = "http://www.roblox.com/asset/?id=2692806", Pitch = 0.55, Volume = 0.4},
|
| 247 | + | local eff3 = Instance.new("ParticleEmitter",EyeFire)
|
| 248 | - | Slash = {Id = "rbxasset://sounds//swordslash.wav", Pitch = 0.5, Volume = 0.5},
|
| 248 | + | eff3.Size = NumberSequence.new(.1) |
| 249 | - | Hit = {Id = "http://www.roblox.com/asset/?id=2801263", Pitch = 0.85, Volume = 0.35},
|
| 249 | + | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
|
| 250 | - | Reload = {Id = "rbxasset://sounds\\metal.ogg", Pitch = 1, Volume = 0.45},
|
| 250 | + | eff3.LightEmission = 1 |
| 251 | - | } |
| 251 | + | eff3.Lifetime = NumberRange.new(.5) |
| 252 | - | for _,v in pairs(Sounds) do |
| 252 | + | eff3.Speed = NumberRange.new(1) |
| 253 | - | ContentProvider:Preload(v.Id) |
| 253 | + | eff3.EmissionDirection = "Front" |
| 254 | - | end |
| 254 | + | eff3.Rate = 100 |
| 255 | - | local function PlaySound(Sound, bool) |
| 255 | + | eff3.Texture = "rbxasset://textures/particles/fire_main.dds" |
| 256 | - | local s = Instance.new("Sound")
|
| 256 | + | eff3.Acceleration = Vector3.new(0,10,0) |
| 257 | - | s.Looped = false |
| 257 | + | eff3.Color = ColorSequence.new(Color3.new(1,0,0)) |
| 258 | - | s.Volume = Sound.Volume |
| 258 | + | |
| 259 | - | s.SoundId = Sound.Id |
| 259 | + | --Sounds-- |
| 260 | - | if bool then |
| 260 | + | slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5})
|
| 261 | - | s.Pitch = MRA((Sound.Pitch*0.75)*1000, (Sound.Pitch*1.15)*1000)/1000 |
| 261 | + | hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5})
|
| 262 | - | else |
| 262 | + | telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5})
|
| 263 | - | s.Pitch = Sound.Pitch |
| 263 | + | burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5})
|
| 264 | - | end |
| 264 | + | music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true})
|
| 265 | - | s.Parent = Torso |
| 265 | + | music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true})
|
| 266 | - | s:play() |
| 266 | + | deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
|
| 267 | - | Notime(function() |
| 267 | + | deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
|
| 268 | - | wait(0.5) |
| 268 | + | music1:Play() |
| 269 | - | s:remove() |
| 269 | + | music2:Play() |
| 270 | - | end) |
| 270 | + | |
| 271 | - | end |
| 271 | + | --Animations-- |
| 272 | - | local function GetParts(pos, dist) |
| 272 | + | swinganim = chara.Humanoid:LoadAnimation(New("Animation",chara,"Swing",{AnimationId = "rbxassetid://186934658"}))
|
| 273 | - | local parts = {}
|
| 273 | + | |
| 274 | - | local function o(p) |
| 274 | + | --Name Tag-- |
| 275 | - | for _,v in pairs(p:children()) do |
| 275 | + | local naeeym = Instance.new("BillboardGui",chara)
|
| 276 | - | if v:IsA("BasePart") then
|
| 276 | + | naeeym.Size = UDim2.new(0,100,0,40) |
| 277 | - | if (pos - v.Position).magnitude <= dist then |
| 277 | + | naeeym.StudsOffset = Vector3.new(0,2,0) |
| 278 | - | table.insert(parts, {v, (pos - v.Position).magnitude, v.Anchored})
|
| 278 | + | naeeym.Adornee = chara.Head |
| 279 | - | end |
| 279 | + | local tecks = Instance.new("TextLabel",naeeym)
|
| 280 | - | end |
| 280 | + | tecks.BackgroundTransparency = 1 |
| 281 | - | o(v) |
| 281 | + | tecks.BorderSizePixel = 0 |
| 282 | - | end |
| 282 | + | tecks.Text = "John Doe" |
| 283 | - | end |
| 283 | + | tecks.Font = "Fantasy" |
| 284 | - | o(workspace) |
| 284 | + | tecks.FontSize = "Size24" |
| 285 | - | return parts |
| 285 | + | tecks.TextStrokeTransparency = 0 |
| 286 | - | end |
| 286 | + | tecks.TextStrokeColor3 = Color3.new(0,0,0) |
| 287 | - | local function GetHum(P) |
| 287 | + | tecks.TextColor3 = Color3.new(0,0,0) |
| 288 | - | for _,v in pairs(P:children()) do |
| 288 | + | tecks.Size = UDim2.new(1,0,0.5,0) |
| 289 | - | if v:IsA("Humanoid") then
|
| 289 | + | |
| 290 | - | if v.Health > 0 then |
| 290 | + | --Skybox-- |
| 291 | - | return v |
| 291 | + | skybox = Instance.new("Part",chara)
|
| 292 | - | end |
| 292 | + | skybox.Size = Vector3.new(0,0,0) |
| 293 | - | end |
| 293 | + | skybox.Anchored = true |
| 294 | - | end |
| 294 | + | skybox.CanCollide = true |
| 295 | - | end |
| 295 | + | skyboxmesh = Instance.new("SpecialMesh",skybox)
|
| 296 | - | local function GetGroup(Pos, Distance, Hit) |
| 296 | + | skyboxmesh.MeshId = "http://www.roblox.com/asset/?id=1527559" |
| 297 | - | local tab = {}
|
| 297 | + | skyboxmesh.TextureId = "http://www.roblox.com/asset/?id=1529455" |
| 298 | - | for _,v in pairs(workspace:children()) do |
| 298 | + | skyboxmesh.VertexColor = Vector3.new(1,0,0) |
| 299 | - | local h = GetHum(v) |
| 299 | + | skyboxmesh.Scale = Vector3.new(-3000,-1000,-3000) |
| 300 | - | local t = v:findFirstChild("Torso")
|
| 300 | + | |
| 301 | - | if h and t and v ~= Hit.Parent then |
| 301 | + | --Soul Steal-- |
| 302 | - | if (t.Position - Pos).magnitude <= Distance then |
| 302 | + | function SoulSteal(pos) |
| 303 | - | table.insert(tab, {h, v, (t.Position - Pos).magnitude})
|
| 303 | + | local soulst = coroutine.wrap(function() |
| 304 | - | end |
| 304 | + | local soul = Instance.new("Part",chara)
|
| 305 | - | end |
| 305 | + | soul.Size = Vector3.new(0,0,0) |
| 306 | - | end |
| 306 | + | soul.CanCollide = false |
| 307 | - | if Hit then |
| 307 | + | soul.Anchored = false |
| 308 | - | local h = GetHum(Hit.Parent) |
| 308 | + | soul.Position = pos |
| 309 | - | if h then |
| 309 | + | soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) |
| 310 | - | table.insert(tab, {h, Hit.Parent, 0})
|
| 310 | + | soul.Transparency = 1 |
| 311 | - | end |
| 311 | + | local ptc = Instance.new("ParticleEmitter",soul)
|
| 312 | - | end |
| 312 | + | ptc.Texture = "http://www.roblox.com/asset/?id=413366101" |
| 313 | - | return tab |
| 313 | + | ptc.Size = NumberSequence.new(.5) |
| 314 | - | end |
| 314 | + | ptc.LockedToPart = true |
| 315 | - | local Model = Instance.new("Model")
|
| 315 | + | ptc.Speed = NumberRange.new(0) |
| 316 | - | Model.Name = "Hand Cannon" |
| 316 | + | ptc.Lifetime = NumberRange.new(9999) |
| 317 | - | local FTorso = Part(Model, false, false, 1, 0, Torso.BrickColor, V3(2*scale, 2*scale, 1*scale)) |
| 317 | + | local bodpos = Instance.new("BodyPosition",soul)
|
| 318 | - | local FW = Weld(Torso, FTorso) |
| 318 | + | bodpos.Position = pos |
| 319 | - | local RAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
|
| 319 | + | wait(2) |
| 320 | - | local LAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
|
| 320 | + | soul.Touched:connect(function(hit) |
| 321 | - | local RLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
|
| 321 | + | if hit.Parent == chara then |
| 322 | - | local LLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
|
| 322 | + | soul:Destroy() |
| 323 | - | local RABW = Weld(Torso, RAB, CN(), CN(-1.5*scale, -0.5*scale, 0)) |
| 323 | + | |
| 324 | - | local LABW = Weld(Torso, LAB, CN(), CN(1.5*scale, -0.5*scale, 0)) |
| 324 | + | end) |
| 325 | - | local RLBW = Weld(Torso, RLB, CN(), CN(-0.5*scale, 1*scale, 0)) |
| 325 | + | while soul do |
| 326 | - | local LLBW = Weld(Torso, LLB, CN(), CN(0.5*scale, 1*scale, 0)) |
| 326 | + | wait(.1) |
| 327 | - | local RAW = Weld(RAB, nil, CN(), CN(0, 0.5*scale, 0)) |
| 327 | + | bodpos.Position = chara.Torso.Position |
| 328 | - | local LAW = Weld(LAB, nil, CN(), CN(0, 0.5*scale, 0)) |
| 328 | + | |
| 329 | - | local RLW = Weld(RLB, nil, CN(), CN(0, 1*scale, 0)) |
| 329 | + | end) |
| 330 | - | local LLW = Weld(LLB, nil, CN(), CN(0, 1*scale, 0)) |
| 330 | + | soulst() |
| 331 | - | local TW = Weld(Torso, nil, CN(0.7*scale, 0.8*scale, 1.2*scale), CA(0, MR(180), MR(55))) |
| 331 | + | |
| 332 | - | local Weapon = Instance.new("Model")
|
| 332 | + | |
| 333 | - | Weapon.Name = "Cannon" |
| 333 | + | --Death of a Mortal-- |
| 334 | - | local HB = Part(Weapon, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2))
|
| 334 | + | function KillMortal(hitdude) |
| 335 | - | local HBW = Weld(Rarm, HB, CN(0, -0.7*scale, 0), CA(0, MR(90), MR(90))) |
| 335 | + | local torsy = nil |
| 336 | - | local HW = Weld(HB, nil) |
| 336 | + | if hitdude:FindFirstChild("Torso")~=nil then
|
| 337 | - | local Handle = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(0.5*scale, 0.5*scale, 0.3*scale))
|
| 337 | + | torsy = hitdude.Torso |
| 338 | - | Add.Mesh(Handle, "http://www.roblox.com/asset/?id=3270017", V3(1*scale, 0.7*scale, 2.2*scale), "") |
| 338 | + | elseif hitdude:FindFirstChild("UpperTorso")~=nil then
|
| 339 | - | TW.Part1 = Handle |
| 339 | + | torsy = hitdude.UpperTorso |
| 340 | - | local Main = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(1.5*scale, 1.5*scale, 3*scale))
|
| 340 | + | |
| 341 | - | Add.Mesh(Main, "http://www.roblox.com/asset/?id=3270017", V3(1.6*scale, 1.6*scale, 15*scale), "") |
| 341 | + | local val = Instance.new("ObjectValue",hitdude)
|
| 342 | - | Weld(Handle, Main, CA(0, MR(90), MR(90)), CN(1*scale, 0, 0.2*scale)) |
| 342 | + | val.Name = "HasBeenHit" |
| 343 | - | local Main2 = Part(Weapon, false, false, 0, 0, BN("Gun metallic"), V3(1*scale, 1*scale, 1.5*scale))
|
| 343 | + | hitdude:BreakJoints() |
| 344 | - | Add.Mesh(Main2, "http://www.roblox.com/asset/?id=3270017", V3(1.2*scale, 1.2*scale, 8*scale), "") |
| 344 | + | hitdude.Humanoid:Destroy() |
| 345 | - | Weld(Main, Main2, CN(), CN(0, 0, 1.7*scale)) |
| 345 | + | SoulSteal(torsy.Position) |
| 346 | - | local Handle2 = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(0.5*scale, 0.5*scale, 0.3*scale))
|
| 346 | + | local chi = hitdude:GetChildren() |
| 347 | - | Add.Mesh(Handle2, "http://www.roblox.com/asset/?id=3270017", V3(0.7*scale, 0.8*scale, 2.2*scale), "") |
| 347 | + | for i = 1, #chi do |
| 348 | - | Weld(Main2, Handle2, CA(0, MR(90), MR(90)), CN(-0.65*scale, 0, 0)) |
| 348 | + | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then |
| 349 | - | local Tip = Part(Weapon, false, false, 0, 0, BN("Earth yellow"), V3(1.6*scale, 1.6*scale, 0.6*scale))
|
| 349 | + | local bodpos = Instance.new("BodyPosition",chi[i])
|
| 350 | - | Add.Sphere(Tip, V3(1.05, 1.05, 1)) |
| 350 | + | bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) |
| 351 | - | Weld(Main, Tip, CN(), CN(0, 0, -1.15*scale)) |
| 351 | + | ScatterEff(chi[i]) |
| 352 | - | local Tip4 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(1.2*scale, 1.2*scale, 0.3*scale))
|
| 352 | + | chi[i].BrickColor = BrickColor.new("Really black")
|
| 353 | - | Add.Mesh(Tip4, "http://www.roblox.com/asset/?id=3270017", V3(1.7*scale, 1.7*scale, 10*scale), "") |
| 353 | + | |
| 354 | - | Weld(Main, Tip4, CN(), CN(0, 0, -0.15*scale)) |
| 354 | + | |
| 355 | - | for i = 1.3, 1.45, 0.1 do |
| 355 | + | for i = 1, 4 do |
| 356 | - | local Tip3 = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(1.2*scale, 1.2*scale, 0.3*scale))
|
| 356 | + | for i = 1, #chi do |
| 357 | - | Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=3270017", V3(i*scale, i*scale, 2*scale), "") |
| 357 | + | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then |
| 358 | - | Weld(Main2, Tip3, CN(), CN(0, 0, 0.6*scale)) |
| 358 | + | chi[i].Transparency = chi[i].Transparency + .25 |
| 359 | - | end |
| 359 | + | wait(.01) |
| 360 | - | for i = -0.95, 0.66, 1.55 do |
| 360 | + | |
| 361 | - | local Tip3 = Part(Weapon, false, false, 0, 0, BN("Dark Curry"), V3(1.2*scale, 1.2*scale, 0.3*scale))
|
| 361 | + | |
| 362 | - | Add.Mesh(Tip3, "http://www.roblox.com/asset/?id=3270017", V3(1.65*scale, 1.65*scale, 3*scale), "") |
| 362 | + | |
| 363 | - | Weld(Main, Tip3, CN(), CN(0, 0, i*scale)) |
| 363 | + | for i = 1, #chi do |
| 364 | - | end |
| 364 | + | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then |
| 365 | - | for i = 1.3, 1.5, 0.1 do |
| 365 | + | chi[i]:Destroy() |
| 366 | - | local Tip2 = Part(Weapon, false, false, 0, 0, BN("Earth yellow"), V3(1.6*scale, 1.6*scale, 0.6*scale))
|
| 366 | + | |
| 367 | - | Add.Mesh(Tip2, "http://www.roblox.com/asset/?id=3270017", V3(i*scale, i*scale, 2*scale), "") |
| 367 | + | |
| 368 | - | Weld(Main, Tip2, CN(), CN(0, 0, 1.1*scale)) |
| 368 | + | |
| 369 | - | end |
| 369 | + | |
| 370 | - | for i = -0.3, 1, 0.15 do |
| 370 | + | --Arm Touch-- |
| 371 | - | local p = Part(Weapon, false, false, 0.7, 0, BN("Black"), V3(0.2, 0.2, 0.2))
|
| 371 | + | bladeactive = false |
| 372 | - | Add.Sphere(p, V3(6*scale, 6*scale, 2*scale)) |
| 372 | + | Hitbox.Touched:connect(function(hit) |
| 373 | - | Weld(Main2, p, CN(0, 0, i*scale)) |
| 373 | + | if bladeactive == true then |
| 374 | - | end |
| 374 | + | if hit.Parent:FindFirstChild("Humanoid")~= nil and hit.Parent:FindFirstChild("HasBeenHit")== nil and hit.Parent ~= chara then
|
| 375 | - | Weapon.Parent = Model |
| 375 | + | hitsnd:Play() |
| 376 | - | Model.Parent = Char |
| 376 | + | KillMortal(hit.Parent) |
| 377 | - | |
| 377 | + | |
| 378 | - | local function Show_Damage(P, D) |
| 378 | + | |
| 379 | - | local mo = Instance.new("Model")
|
| 379 | + | end) |
| 380 | - | mo.Name = "- "..D |
| 380 | + | |
| 381 | - | local p = Part(mo, false, false, 0, 0, BN("Bright red"), V3(0.2, 0.2, 0.2))
|
| 381 | + | --Teleport-- |
| 382 | - | p.Name = "Head" |
| 382 | + | function Teleport(pos) |
| 383 | - | local m = Instance.new("SpecialMesh")
|
| 383 | + | telesnd:Play() |
| 384 | - | m.MeshType = "Brick" |
| 384 | + | local ch = chara:GetChildren() |
| 385 | - | m.Scale = Vector3.new(4.5, 2.3, 4.5) |
| 385 | + | for i = 1, #ch do |
| 386 | - | m.Parent = p |
| 386 | + | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then |
| 387 | - | local bp = Instance.new("BodyPosition", p)
|
| 387 | + | local trace = Instance.new("Part",game.Workspace)
|
| 388 | - | bp.maxForce = V3(MH, MH, MH) |
| 388 | + | trace.Size = ch[i].Size |
| 389 | - | bp.P = 9001 |
| 389 | + | trace.Material = "Neon" |
| 390 | - | bp.position = CN(P) * CN(0, 1.5, 0).p |
| 390 | + | trace.BrickColor = BrickColor.new("Really black")
|
| 391 | - | local h = Instance.new("Humanoid")
|
| 391 | + | trace.Transparency = .3 |
| 392 | - | h.Health = 0 |
| 392 | + | trace.CanCollide = false |
| 393 | - | h.MaxHealth = 0 |
| 393 | + | trace.Anchored = true |
| 394 | - | h.Name = "asd" |
| 394 | + | trace.CFrame = ch[i].CFrame |
| 395 | - | h.Parent = mo |
| 395 | + | if ch[i].Name == "Head" then |
| 396 | - | local nah = true |
| 396 | + | mehs = Instance.new("CylinderMesh",trace)
|
| 397 | - | mo.Parent = workspace |
| 397 | + | mehs.Scale = Vector3.new(1.25,1.25,1.25) |
| 398 | - | p.CFrame = CN(P) |
| 398 | + | |
| 399 | - | Notime(function() |
| 399 | + | tracedisappear = coroutine.wrap(function() |
| 400 | - | wait(1.5) |
| 400 | + | wait(1) |
| 401 | - | for i = 0, 1, 0.05 do |
| 401 | + | for i = 1, 7 do |
| 402 | - | p.Transparency = i |
| 402 | + | wait(.1) |
| 403 | - | if nah then mo.Name = "" nah = false else mo.Name = "- "..D nah = true end |
| 403 | + | trace.Transparency = trace.Transparency + .1 |
| 404 | - | wait() |
| 404 | + | |
| 405 | - | end |
| 405 | + | trace:Destroy() |
| 406 | - | mo:remove() |
| 406 | + | end) |
| 407 | - | end) |
| 407 | + | tracedisappear() |
| 408 | - | end |
| 408 | + | |
| 409 | - | local function Kill(hit) |
| 409 | + | |
| 410 | - | if Debounce and Hurt then |
| 410 | + | chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) |
| 411 | - | local Hu = GetHum(hit.Parent) |
| 411 | + | |
| 412 | - | if Hu then |
| 412 | + | |
| 413 | - | Debounce = false |
| 413 | + | --Grab-- |
| 414 | - | local Dmg = MRA(Damage[1], Damage[2]) |
| 414 | + | function Grab(mouse) |
| 415 | - | Hu.Health = Hu.Health - Dmg |
| 415 | + | local hit = mouse.Target |
| 416 | - | pcall(function() Show_Damage(Tip.Position, Dmg) end) |
| 416 | + | if hit ~= nil then |
| 417 | - | PlaySound(Sounds.Hit, true) |
| 417 | + | if hit.Parent:FindFirstChild("Humanoid")~=nil then
|
| 418 | - | local chance = MRA(1, 10) |
| 418 | + | local torsy = nil |
| 419 | - | if chance >=5 then |
| 419 | + | if hit.Parent:FindFirstChild("Torso")~=nil then
|
| 420 | - | Hu.PlatformStand = true |
| 420 | + | torsy = hit.Parent.Torso |
| 421 | - | wait(0.1) |
| 421 | + | elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then
|
| 422 | - | hit.Velocity = (CN(Torso.CFrame * CN(0, 0.5, 0).p, hit.Position).lookVector * 45) |
| 422 | + | torsy = hit.Parent.UpperTorso |
| 423 | - | hit.RotVelocity = V3(MRA(-10, 10), MRA(-10, 10), MRA(-10, 10)) |
| 423 | + | |
| 424 | - | wait(0.3) |
| 424 | + | local bodpos = Instance.new("BodyPosition",torsy)
|
| 425 | - | Hu.PlatformStand = false |
| 425 | + | bodpos.Position = torsy.Position |
| 426 | - | end |
| 426 | + | wait(1) |
| 427 | - | end |
| 427 | + | burnsnd:Play() |
| 428 | - | end |
| 428 | + | hit.Parent.Humanoid.MaxHealth = 100 |
| 429 | - | end |
| 429 | + | bodpos.Position = bodpos.Position + Vector3.new(0,4,0) |
| 430 | - | Main.Touched:connect(Kill) |
| 430 | + | for i = 1, 10 do |
| 431 | - | local function Attach(t) |
| 431 | + | wait(.1) |
| 432 | - | RSH.Part0 = t |
| 432 | + | BurningEff(torsy) |
| 433 | - | LSH.Part0 = t |
| 433 | + | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 |
| 434 | - | RH.Part0 = t |
| 434 | + | |
| 435 | - | LH.Part0 = t |
| 435 | + | KillMortal(hit.Parent) |
| 436 | - | RABW.Part0 = t |
| 436 | + | |
| 437 | - | LABW.Part0 = t |
| 437 | + | else end |
| 438 | - | LLBW.Part0 = t |
| 438 | + | |
| 439 | - | RLBW.Part0 = t |
| 439 | + | |
| 440 | - | if t == Torso then |
| 440 | + | --Button1Down-- |
| 441 | - | FTorso.Transparency = 1 |
| 441 | + | dell = false |
| 442 | - | else |
| 442 | + | function onButton1Down() |
| 443 | - | Torso.Transparency = 1 |
| 443 | + | if dell == false then |
| 444 | - | end |
| 444 | + | dell = true |
| 445 | - | t.Transparency = 0 |
| 445 | + | swinganim:Play() |
| 446 | - | end |
| 446 | + | bladeactive = true |
| 447 | - | local function SelectAnim() |
| 447 | + | slashsnd:Play() |
| 448 | - | RAW.Part1 = Rarm |
| 448 | + | wait(.7) |
| 449 | - | for i = 0.25, 1, 0.25 do |
| 449 | + | bladeactive = false |
| 450 | - | RAW.C0 = CA(MR(-10*i), 0, MR(-5*i)) |
| 450 | + | dell = false |
| 451 | - | wait() |
| 451 | + | swinganim:Stop() |
| 452 | - | end |
| 452 | + | |
| 453 | - | for i = 0.1, 1, 0.1 do |
| 453 | + | |
| 454 | - | RAW.C0 = CA(MR(-10-90*i), 0, MR(-5-30*i)) |
| 454 | + | |
| 455 | - | wait() |
| 455 | + | --KeyDowns-- |
| 456 | - | end |
| 456 | + | function onKeyDown(key) |
| 457 | - | for i = 0.5, 1, 0.5 do |
| 457 | + | if key == "z" then |
| 458 | - | RAW.C0 = CA(MR(-100-5*i), 0, MR(-35)) |
| 458 | + | Teleport(Mouse.Hit.p + Vector3.new(0,2,0)) |
| 459 | - | wait() |
| 459 | + | elseif key == "x" then |
| 460 | - | end |
| 460 | + | Grab(Mouse) |
| 461 | - | HW.Part1 = Handle |
| 461 | + | |
| 462 | - | HW.C0 = CA(MR(50), 0, MR(-37)) |
| 462 | + | |
| 463 | - | TW.Part1 = nil |
| 463 | + | |
| 464 | - | Attach(FTorso) |
| 464 | + | --Mouse Functions-- |
| 465 | - | LAW.Part1 = Larm |
| 465 | + | Mouse = player:GetMouse() |
| 466 | - | for i = 0.25, 1, 0.25 do |
| 466 | + | if Mouse then |
| 467 | - | RAW.C0 = CA(MR(-105+10*i), 0, MR(-35+5*i)) |
| 467 | + | Mouse.Button1Down:connect(onButton1Down) |
| 468 | - | LAW.C0 = CA(MR(15*i), 0, MR(5*i)) |
| 468 | + | Mouse.KeyDown:connect(onKeyDown) |
| 469 | - | FW.C0 = CA(0, MR(-5*i), 0) |
| 469 | + | |
| 470 | - | HW.C0 = CA(MR(50-5*i), 0, MR(-37)) |
| 470 | + | |
| 471 | - | wait() |
| 471 | + | --Death-- |
| 472 | - | end |
| 472 | + | chara.Humanoid.Died:connect(function() |
| 473 | - | for i = 0.06, 1, 0.06 do |
| 473 | + | local pat = Instance.new("Part",game.Workspace)
|
| 474 | - | RAW.C0 = CA(MR(-95+95*i), MR(35*i), MR(-30+50*i)) |
| 474 | + | pat.Transparency = 1 |
| 475 | - | LAW.C0 = CA(MR(15+25*i), 0, MR(5+15*i)) * CN(0, (-0.4*scale)*i, 0) |
| 475 | + | pat.Anchored = true |
| 476 | - | FW.C0 = CA(0, MR(-5-30*i), 0) |
| 476 | + | pat.CFrame = chara.Torso.CFrame |
| 477 | - | HW.C0 = CA(MR(45), 0, MR(-37+15*i)) |
| 477 | + | naeeym.Parent = pat |
| 478 | - | wait() |
| 478 | + | naeeym.Adornee = pat |
| 479 | - | end |
| 479 | + | skybox.Parent = game.Workspace |
| 480 | - | Hum.WalkSpeed = Speed-3 |
| 480 | + | tecks.Text = "BAD CHOICE" |
| 481 | - | for i = 0.1, 1, 0.1 do |
| 481 | + | tecks.FontSize = "Size48" |
| 482 | - | RAW.C0 = CA(MR(15*i), MR(35+10*i), MR(20+8*i)) |
| 482 | + | tecks.TextColor3 = Color3.new(1,0,0) |
| 483 | - | LAW.C0 = CA(MR(40+7*i), 0, MR(20+6*i)) * CN(0, (-0.4*scale)-(0.2*scale)*i, 0) |
| 483 | + | music1:Stop() |
| 484 | - | FW.C0 = CA(0, MR(-35-10*i), 0) |
| 484 | + | music2:Stop() |
| 485 | - | HW.C0 = CA(MR(45-11*i), 0, MR(-22+15*i)) |
| 485 | + | deathmus.Parent = game.Workspace |
| 486 | - | wait() |
| 486 | + | deathex.Parent = game.Workspace |
| 487 | - | end |
| 487 | + | deathmus:Play() |
| 488 | - | for i = 0.25, 1, 0.25 do |
| 488 | + | deathex:Play() |
| 489 | - | RAW.C0 = CA(MR(15+5*i), MR(45+5*i), MR(28+2*i)) |
| 489 | + | game.Lighting.OutdoorAmbient = Color3.new(0,0,0) |
| 490 | - | LAW.C0 = CA(MR(47+3*i), 0, MR(26+4*i)) * CN(0, -0.6*scale, 0) |
| 490 | + | game.Lighting.TimeOfDay = "00:00:00" |
| 491 | - | FW.C0 = CA(0, MR(-45-5*i), 0) |
| 491 | + | game.Lighting.FogColor = Color3.new(0,0,0) |
| 492 | - | HW.C0 = CA(MR(34-4*i), 0, MR(-7+7*i)) |
| 492 | + | game.Lighting.FogEnd = 1000 |
| 493 | - | wait() |
| 493 | + | local ex = Instance.new("Explosion",game.Workspace)
|
| 494 | - | end |
| 494 | + | ex.Position = chara.Torso.Position |
| 495 | - | end |
| 495 | + | ex.Visible = false |
| 496 | - | local function DeselAnim() |
| 496 | + | ex.BlastRadius = 999999999999999999999999 |
| 497 | - | for i = 0.25, 1, 0.25 do |
| 497 | + | ex.BlastPressure = 9999999999999999999999999 |
| 498 | - | RAW.C0 = CA(MR(20-5*i), MR(50-5*i), MR(30-5*i)) |
| 498 | + | end) |
| 499 | - | LAW.C0 = CA(MR(50-5*i), 0, MR(30-5*i)) * CN(0, -((0.6+0.1)*scale)*i, 0) |
| 499 | + | |
| 500 | - | FW.C0 = CA(0, MR(-50+5*i), 0) |
| 500 | + | --Loop Function-- |
| 501 | - | HW.C0 = CA(MR(30+5*i), 0, MR(-10*i)) |
| 501 | + | while true do |
| 502 | - | wait() |
| 502 | + | wait(.01) |
| 503 | - | end |
| 503 | + | chance = math.random(0,100) |
| 504 | - | for i = 0.15, 1, 0.15 do |
| 504 | + | if chance < 10 then |
| 505 | - | RAW.C0 = CA(MR(15-30*i), MR(45-10*i), MR(25-5*i)) |
| 505 | + | sel = math.random(1,3) |
| 506 | - | LAW.C0 = CA(MR(45-20*i), 0, MR(25-15*i)) * CN(0, -0.5+0.2*i, 0) |
| 506 | + | if sel == 1 then |
| 507 | - | FW.C0 = CA(0, MR(-45+10*i), 0) |
| 507 | + | tecks.Text = "NOHOPE" |
| 508 | - | HW.C0 = CA(MR(35+10*i), 0, MR(-10-15*i)) |
| 508 | + | elseif sel == 2 then |
| 509 | - | wait() |
| 509 | + | tecks.Text = "GIVEUP" |
| 510 | - | end |
| 510 | + | elseif sel == 3 then |
| 511 | - | for i = 0.12, 1, 0.12 do |
| 511 | + | tecks.Text = "BURNINHELL" |
| 512 | - | RAW.C0 = CA(MR(-15-70*i), MR(35-30*i), MR(20-30*i)) |
| 512 | + | |
| 513 | - | LAW.C0 = CA(MR(25-25*i), 0, MR(10-10*i)) * CN(0, -0.3+0.3*i, 0) |
| 513 | + | else tecks.Text = "John Doe" |
| 514 | - | FW.C0 = CA(0, MR(-35+20*i), 0) |
| 514 | + | |
| 515 | - | HW.C0 = CA(MR(45+5*i), 0, MR(-25-12*i)) |
| 515 | + | if chara.Humanoid.Health > 0 then |
| 516 | - | wait() |
| 516 | + | chara.Humanoid.MaxHealth = math.huge |
| 517 | - | end |
| 517 | + | chara.Humanoid.Health = math.huge |
| 518 | - | LAW.Part1 = nil |
| 518 | + | game.Lighting.OutdoorAmbient = Color3.new(1,0,0) |
| 519 | - | HW.C0 = CA(MR(50), 0, MR(-37)) |
| 519 | + | game.Lighting.Ambient = Color3.new(1,0,0) |
| 520 | - | for i = 0.25, 1, 0.25 do |
| 520 | + | chara["Left Arm"].BrickColor = BrickColor.new("Cool yellow")
|
| 521 | - | RAW.C0 = CA(MR(-85-20*i), MR(5-5*i), MR(-10-25*i)) |
| 521 | + | chara["Right Arm"].BrickColor = BrickColor.new("Cool yellow")
|
| 522 | - | FW.C0 = CA(0, MR(-15+15*i), 0) |
| 522 | + | chara["Left Leg"].BrickColor = BrickColor.new("Medium blue")
|
| 523 | - | wait() |
| 523 | + | chara["Right Leg"].BrickColor = BrickColor.new("Medium blue")
|
| 524 | - | end |
| 524 | + | chara.Torso.BrickColor = BrickColor.new("Bright yellow")
|
| 525 | - | Attach(Torso) |
| 525 | + | chara["Left Arm"].Anchored = false |
| 526 | - | HW.Part1 = nil |
| 526 | + | chara["Right Arm"].Anchored = false |
| 527 | - | TW.Part1 = Handle |
| 527 | + | chara["Left Leg"].Anchored = false |
| 528 | - | Hum.WalkSpeed = 16 |
| 528 | + | chara["Right Leg"].Anchored = false |
| 529 | - | for i = 0.15, 1, 0.15 do |
| 529 | + | chara.Torso.Anchored = false |
| 530 | - | RAW.C0 = CA(MR(-105+95*i), 0, MR(-35+30*i)) |
| 530 | + | ch = chara:GetChildren() |
| 531 | - | wait() |
| 531 | + | for i = 1, #ch do |
| 532 | - | end |
| 532 | + | if ch[i].ClassName == "Accessory" or ch[i].ClassName == "Hat" then |
| 533 | - | for i = 0.33, 1, 0.33 do |
| 533 | + | ch[i]:Destroy() |
| 534 | - | RAW.C0 = CA(MR(-10+10*i), 0, MR(-5+5*i)) |
| 534 | + | |
| 535 | - | wait() |
| 535 | + | |
| 536 | - | end |
| 536 | + | tools = player.Backpack:GetChildren() |
| 537 | - | RAW.Part1 = nil |
| 537 | + | for i = 1, #tools do |
| 538 | - | end |
| 538 | + | if tools[i].ClassName == "HopperBin" then |
| 539 | - | local function Explode(Par, Pos, surface) |
| 539 | + | tools[i]:Destroy() |
| 540 | - | Notime(function() |
| 540 | + | |
| 541 | - | local cf = CN(Pos) * CA(Par.CFrame:toEulerAnglesXYZ()) * surface[2] * CN(0, 1, 0) |
| 541 | + | |
| 542 | - | local col = Par.BrickColor.Color |
| 542 | + | skybox.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(1),0) |
| 543 | - | local r, g, b = col.r, col.g, col.b |
| 543 | + | tecks.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) |
| 544 | - | local col1, col2, col3 = C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100), C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100), C3(MRA(r*60, r*100)/100, MRA(g*60, g*100)/100, MRA(b*60, b*100)/100) |
| 544 | + | local jtrace = Instance.new("Part",game.Workspace)
|
| 545 | - | local p = Part(workspace, true, false, 0, 0, BN(col1.r, col1.g, col1.b), V3(0.2, 0.2, 0.2)) |
| 545 | + | jtrace.Name = "JDTrace" |
| 546 | - | local p2 = Part(workspace, true, false, 0, 0, BN(col2.r, col2.g, col2.b), V3(0.2, 0.2, 0.2)) |
| 546 | + | jtrace.Size = Vector3.new(10,0,10) |
| 547 | - | local p3 = Part(workspace, true, false, 0, 0, BN(col3.r, col3.g, col3.b), V3(0.2, 0.2, 0.2)) |
| 547 | + | jtrace.Position = chara.Torso.Position |
| 548 | - | p.CFrame = cf |
| 548 | + | jtrace.CFrame = chara.Torso.CFrame - Vector3.new(0,3,0) |
| 549 | - | p2.CFrame = cf |
| 549 | + | jtrace.Anchored = true |
| 550 | - | p3.CFrame = cf |
| 550 | + | jtrace.CanCollide = false |
| 551 | - | local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1)) |
| 551 | + | jtrace.BrickColor = BrickColor.new("Really black")
|
| 552 | - | local m2 = Add.Mesh(p2, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1)) |
| 552 | + | jtrace.Material = "Granite" |
| 553 | - | local m3 = Add.Mesh(p3, "http://www.roblox.com/asset/?id=20329976", V3(1, 1, 1)) |
| 553 | + | BurningEff(jtrace) |
| 554 | - | for i = -0.2, 1, 0.12 do |
| 554 | + | game.Debris:AddItem(jtrace,1) |
| 555 | - | p2.Transparency = i+0.1 |
| 555 | + | |
| 556 | - | p.Transparency = i |
| 556 | + |