SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Made by OpTic Null-- |
| 1 | + | |
| 2 | - | -- based off of light titan-- |
| 2 | + | |
| 3 | local mouse = p:GetMouse() | |
| 4 | local larm = char["Left Arm"] | |
| 5 | local rarm = char["Right Arm"] | |
| 6 | local lleg = char["Left Leg"] | |
| 7 | local rleg = char["Right Leg"] | |
| 8 | local hed = char.Head | |
| 9 | local torso = char.Torso | |
| 10 | local hum = char.Humanoid | |
| 11 | local cam = game.Workspace.CurrentCamera | |
| 12 | local root = char.HumanoidRootPart | |
| 13 | local deb = false | |
| 14 | local shot = 0 | |
| 15 | local l = game:GetService("Lighting")
| |
| 16 | local rs = game:GetService("RunService").RenderStepped
| |
| 17 | local stanceToggle = "Normal" | |
| 18 | math.randomseed(os.time()) | |
| 19 | hum.WalkSpeed = 7 | |
| 20 | char.Health:Destroy() | |
| 21 | hum.MaxHealth = 50000 | |
| 22 | wait(0.1) | |
| 23 | hum.Health = 50000 | |
| 24 | ---------------------------------------------------- | |
| 25 | pcall(function()char.Shirt:Destroy() | |
| 26 | char.Pants:Destroy() | |
| 27 | end) | |
| 28 | shirt = Instance.new("Shirt", char)
| |
| 29 | shirt.Name = "Shirt" | |
| 30 | pants = Instance.new("Pants", char)
| |
| 31 | pants.Name = "Pants" | |
| 32 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=499988140" | |
| 33 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=500194559" | |
| 34 | ---------------------------------------------------- | |
| 35 | Debounces = {
| |
| 36 | on = false; | |
| 37 | ks = false; | |
| 38 | CanAttack = true; | |
| 39 | CanJoke = true; | |
| 40 | NoIdl = false; | |
| 41 | Slashing = false; | |
| 42 | Slashed = false; | |
| 43 | Grabbing = false; | |
| 44 | Grabbed = false; | |
| 45 | } | |
| 46 | local Touche = {char.Name, }
| |
| 47 | ---------------------------------------------------- | |
| 48 | function lerp(a, b, t) -- Linear interpolation | |
| 49 | return a + (b - a)*t | |
| 50 | end | |
| 51 | ||
| 52 | function slerp(a, b, t) --Spherical interpolation | |
| 53 | dot = a:Dot(b) | |
| 54 | if dot > 0.99999 or dot < -0.99999 then | |
| 55 | return t <= 0.5 and a or b | |
| 56 | else | |
| 57 | r = math.acos(dot) | |
| 58 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 59 | end | |
| 60 | end | |
| 61 | ||
| 62 | function matrixInterpolate(a, b, t) | |
| 63 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 64 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 65 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 66 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 67 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 68 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 69 | local t = v1:Dot(v2) | |
| 70 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 71 | return CFrame.new() | |
| 72 | end | |
| 73 | return CFrame.new( | |
| 74 | v0.x, v0.y, v0.z, | |
| 75 | v1.x, v1.y, v1.z, | |
| 76 | v2.x, v2.y, v2.z, | |
| 77 | v3.x, v3.y, v3.z) | |
| 78 | end | |
| 79 | ---------------------------------------------------- | |
| 80 | function genWeld(a,b) | |
| 81 | local w = Instance.new("Weld",a)
| |
| 82 | w.Part0 = a | |
| 83 | w.Part1 = b | |
| 84 | return w | |
| 85 | end | |
| 86 | function weld(a, b) | |
| 87 | local weld = Instance.new("Weld")
| |
| 88 | weld.Name = "W" | |
| 89 | weld.Part0 = a | |
| 90 | weld.Part1 = b | |
| 91 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 92 | weld.Parent = a | |
| 93 | return weld; | |
| 94 | end | |
| 95 | ---------------------------------------------------- | |
| 96 | function Lerp(c1,c2,al) | |
| 97 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 98 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 99 | for i,v in pairs(com1) do | |
| 100 | com1[i] = v+(com2[i]-v)*al | |
| 101 | end | |
| 102 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 103 | end | |
| 104 | ---------------------------------------------------- | |
| 105 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 106 | local wld = Instance.new("Weld", wp1)
| |
| 107 | wld.Part0 = wp0 | |
| 108 | wld.Part1 = wp1 | |
| 109 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 110 | end | |
| 111 | ---------------------------------------------------- | |
| 112 | for i,v in pairs(char:children()) do | |
| 113 | if v:IsA("Hat") then
| |
| 114 | v:Destroy() | |
| 115 | end | |
| 116 | end | |
| 117 | for i,v in pairs(hed:children()) do | |
| 118 | if v:IsA("Sound") then
| |
| 119 | v:Destroy() | |
| 120 | end | |
| 121 | end | |
| 122 | ---------------------------------------------------- | |
| 123 | function HasntTouched(plrname) | |
| 124 | local ret = true | |
| 125 | for _, v in pairs(Touche) do | |
| 126 | if v == plrname then | |
| 127 | ret = false | |
| 128 | end | |
| 129 | end | |
| 130 | return ret | |
| 131 | end | |
| 132 | ---------------------------------------------------- | |
| 133 | larm.Size = larm.Size * 2 | |
| 134 | rarm.Size = rarm.Size * 2 | |
| 135 | lleg.Size = lleg.Size * 2 | |
| 136 | rleg.Size = rleg.Size * 2 | |
| 137 | torso.Size = torso.Size * 2 | |
| 138 | hed.Size = hed.Size * 2 | |
| 139 | root.Size = root.Size * 2 | |
| 140 | ---------------------------------------------------- | |
| 141 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 142 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 143 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 144 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 145 | newWeld(torso, hed, 0, 1.5, 0) | |
| 146 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 147 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 148 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 149 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 150 | newWeld(root, torso, 0, -1, 0) | |
| 151 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 152 | ---------------------------------------------------- | |
| 153 | game:service'InsertService':LoadAsset(498751331):children()[1].Parent=char | |
| 154 | char["Football"].Handle.Mesh.Scale = char["Football"].Handle.Mesh.Scale * 2.2 | |
| 155 | char["Football"].Handle.Mesh.VertexColor = Vector3.new(1,1,1) | |
| 156 | hed.face.Texture = "rbxassetid://127498555" | |
| 157 | z=Instance.new('Decal',hed)
| |
| 158 | z.Face = 'Front' | |
| 159 | z.Texture='rbxassetid://36527091' | |
| 160 | hed.BrickColor = BrickColor.new("Really black")
| |
| 161 | lite = Instance.new("PointLight", torso)
| |
| 162 | lite.Brightness = 14 | |
| 163 | lite.Range = 10 | |
| 164 | lite.Color = Color3.new(1, 0, 0) | |
| 165 | --[[local hed2 = hed:Clone() | |
| 166 | hed2.CanCollide = false | |
| 167 | hed2.Parent = char | |
| 168 | hed2:ClearAllChildren() | |
| 169 | hed2.Transparency = 1 | |
| 170 | hed2.Name = "DARP" | |
| 171 | local w = Instance.new("Weld",hed2)
| |
| 172 | w.Part0 = hed | |
| 173 | w.Part1 = hed2 | |
| 174 | w.C0 = CFrame.new(0,0,-0.175) | |
| 175 | z=Instance.new("SurfaceGui",hed2)
| |
| 176 | z.Enabled = true | |
| 177 | z.Face = "Front" | |
| 178 | z.Adornee = hed2 | |
| 179 | z.CanvasSize = Vector2.new(100,100) | |
| 180 | local face = Instance.new("ImageLabel",z)
| |
| 181 | face.Size = UDim2.new(1,-30,1,0) | |
| 182 | face.Position = UDim2.new(0,15,0,0) | |
| 183 | face.BackgroundTransparency = 1 | |
| 184 | face.Image='rbxassetid://46282671']]-- | |
| 185 | ---------------------------------------------------- | |
| 186 | ---------------------------------------------------- | |
| 187 | ||
| 188 | z = Instance.new("Sound", char)
| |
| 189 | z.SoundId = "rbxassetid://274504661 "--242463565 | |
| 190 | z.Looped = true | |
| 191 | z.Pitch = 1 | |
| 192 | z.Volume = 10 | |
| 193 | wait(.01) | |
| 194 | z:Play() | |
| 195 | ---------------------------------------------------- | |
| 196 | local m = Instance.new("Model")
| |
| 197 | m.Name = "Absolution" | |
| 198 | p1 = Instance.new("Part", m)
| |
| 199 | p1.BrickColor = BrickColor.new("Bright Orange")
| |
| 200 | p1.FormFactor = Enum.FormFactor.Custom | |
| 201 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
| 202 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
| 203 | p1.CanCollide = false | |
| 204 | p1.Locked = true | |
| 205 | p1.Elasticity = 0 | |
| 206 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 207 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 208 | b1 = Instance.new("SpecialMesh", p1)
| |
| 209 | b1.MeshType = Enum.MeshType.Wedge | |
| 210 | b1.Name = "Mesh" | |
| 211 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 212 | p2 = Instance.new("Part", m)
| |
| 213 | p2.BrickColor = BrickColor.new("Really black")
| |
| 214 | p2.FormFactor = Enum.FormFactor.Custom | |
| 215 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
| 216 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
| 217 | p2.CanCollide = false | |
| 218 | p2.Locked = true | |
| 219 | p2.Elasticity = 0 | |
| 220 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 221 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 222 | b2 = Instance.new("BlockMesh", p2)
| |
| 223 | b2.Name = "Mesh" | |
| 224 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 225 | p3 = Instance.new("Part", m)
| |
| 226 | p3.BrickColor = BrickColor.new("Bright Orange")
| |
| 227 | p3.FormFactor = Enum.FormFactor.Custom | |
| 228 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
| 229 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
| 230 | p3.CanCollide = false | |
| 231 | p3.Locked = true | |
| 232 | p3.Elasticity = 0 | |
| 233 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 234 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 235 | b3 = Instance.new("SpecialMesh", p3)
| |
| 236 | b3.MeshType = Enum.MeshType.Wedge | |
| 237 | b3.Name = "Mesh" | |
| 238 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 239 | p4 = Instance.new("Part", m)
| |
| 240 | p4.BrickColor = BrickColor.new("Bright Orange")
| |
| 241 | p4.FormFactor = Enum.FormFactor.Custom | |
| 242 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
| 243 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
| 244 | p4.CanCollide = false | |
| 245 | p4.Locked = true | |
| 246 | p4.Elasticity = 0 | |
| 247 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 248 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 249 | b4 = Instance.new("SpecialMesh", p4)
| |
| 250 | b4.MeshType = Enum.MeshType.Wedge | |
| 251 | b4.Name = "Mesh" | |
| 252 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 253 | p5 = Instance.new("Part", m)
| |
| 254 | p5.BrickColor = BrickColor.new("Bright Orange")
| |
| 255 | p5.FormFactor = Enum.FormFactor.Custom | |
| 256 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
| 257 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
| 258 | p5.CanCollide = false | |
| 259 | p5.Locked = true | |
| 260 | p5.Elasticity = 0 | |
| 261 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 262 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 263 | b5 = Instance.new("SpecialMesh", p5)
| |
| 264 | b5.MeshType = Enum.MeshType.Wedge | |
| 265 | b5.Name = "Mesh" | |
| 266 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 267 | p6 = Instance.new("Part", m)
| |
| 268 | p6.Name = "Handle" | |
| 269 | p6.BrickColor = BrickColor.new("Really black")
| |
| 270 | p6.FormFactor = Enum.FormFactor.Custom | |
| 271 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
| 272 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
| 273 | p6.CanCollide = false | |
| 274 | p6.Locked = true | |
| 275 | p6.Elasticity = 0 | |
| 276 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 277 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 278 | b6 = Instance.new("BlockMesh", p6)
| |
| 279 | b6.Name = "Mesh" | |
| 280 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 281 | p7 = Instance.new("Part", m)
| |
| 282 | p7.BrickColor = BrickColor.new("Bright Orange")
| |
| 283 | p7.FormFactor = Enum.FormFactor.Custom | |
| 284 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
| 285 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
| 286 | p7.CanCollide = false | |
| 287 | p7.Locked = true | |
| 288 | p7.Elasticity = 0 | |
| 289 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 290 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 291 | b7 = Instance.new("SpecialMesh", p7)
| |
| 292 | b7.MeshType = Enum.MeshType.Wedge | |
| 293 | b7.Name = "Mesh" | |
| 294 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 295 | p8 = Instance.new("Part", m)
| |
| 296 | p8.BrickColor = BrickColor.new("Bright Orange")
| |
| 297 | p8.FormFactor = Enum.FormFactor.Custom | |
| 298 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
| 299 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
| 300 | p8.CanCollide = false | |
| 301 | p8.Locked = true | |
| 302 | p8.Elasticity = 0 | |
| 303 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 304 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 305 | b8 = Instance.new("SpecialMesh", p8)
| |
| 306 | b8.MeshType = Enum.MeshType.Wedge | |
| 307 | b8.Name = "Mesh" | |
| 308 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 309 | p9 = Instance.new("Part", m)
| |
| 310 | p9.BrickColor = BrickColor.new("Really black")
| |
| 311 | p9.FormFactor = Enum.FormFactor.Custom | |
| 312 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
| 313 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
| 314 | p9.CanCollide = false | |
| 315 | p9.Locked = true | |
| 316 | p9.Elasticity = 0 | |
| 317 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 318 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 319 | b9 = Instance.new("BlockMesh", p9)
| |
| 320 | b9.Name = "Mesh" | |
| 321 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
| 322 | p10 = Instance.new("Part", m)
| |
| 323 | p10.BrickColor = BrickColor.new("Really black")
| |
| 324 | p10.FormFactor = Enum.FormFactor.Custom | |
| 325 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
| 326 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
| 327 | p10.CanCollide = false | |
| 328 | p10.Locked = true | |
| 329 | p10.Elasticity = 0 | |
| 330 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 331 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 332 | b10 = Instance.new("BlockMesh", p10)
| |
| 333 | b10.Name = "Mesh" | |
| 334 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 335 | p11 = Instance.new("Part", m)
| |
| 336 | p11.BrickColor = BrickColor.new("Really black")
| |
| 337 | p11.FormFactor = Enum.FormFactor.Custom | |
| 338 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
| 339 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
| 340 | p11.CanCollide = false | |
| 341 | p11.Locked = true | |
| 342 | p11.Elasticity = 0 | |
| 343 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 344 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 345 | b11 = Instance.new("BlockMesh", p11)
| |
| 346 | b11.Name = "Mesh" | |
| 347 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
| 348 | p12 = Instance.new("Part", m)
| |
| 349 | p12.Name = "BladeCenter" | |
| 350 | p12.BrickColor = BrickColor.new("Dark stone grey")
| |
| 351 | p12.Material = Enum.Material.Concrete | |
| 352 | p12.FormFactor = Enum.FormFactor.Symmetric | |
| 353 | p12.Size = Vector3.new(1, 2, 2) | |
| 354 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
| 355 | p12.CanCollide = false | |
| 356 | p12.Locked = true | |
| 357 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 358 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 359 | b12 = Instance.new("SpecialMesh", p12)
| |
| 360 | b12.MeshType = Enum.MeshType.Brick | |
| 361 | b12.Name = "Mesh" | |
| 362 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
| 363 | p13 = Instance.new("Part", m)
| |
| 364 | p13.BrickColor = BrickColor.new("Really black")
| |
| 365 | p13.FormFactor = Enum.FormFactor.Custom | |
| 366 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
| 367 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
| 368 | p13.CanCollide = false | |
| 369 | p13.Locked = true | |
| 370 | p13.Elasticity = 0 | |
| 371 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 372 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 373 | b13 = Instance.new("BlockMesh", p13)
| |
| 374 | b13.Name = "Mesh" | |
| 375 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
| 376 | p14 = Instance.new("Part", m)
| |
| 377 | p14.BrickColor = BrickColor.new("Really black")
| |
| 378 | p14.FormFactor = Enum.FormFactor.Custom | |
| 379 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
| 380 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
| 381 | p14.CanCollide = false | |
| 382 | p14.Locked = true | |
| 383 | p14.Elasticity = 0 | |
| 384 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 385 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 386 | b14 = Instance.new("BlockMesh", p14)
| |
| 387 | b14.Name = "Mesh" | |
| 388 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 389 | p15 = Instance.new("Part", m)
| |
| 390 | p15.BrickColor = BrickColor.new("Really black")
| |
| 391 | p15.FormFactor = Enum.FormFactor.Custom | |
| 392 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
| 393 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
| 394 | p15.CanCollide = false | |
| 395 | p15.Locked = true | |
| 396 | p15.Elasticity = 0 | |
| 397 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 398 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 399 | b15 = Instance.new("BlockMesh", p15)
| |
| 400 | b15.Name = "Mesh" | |
| 401 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
| 402 | p16 = Instance.new("Part", m)
| |
| 403 | p16.BrickColor = BrickColor.new("Really black")
| |
| 404 | p16.FormFactor = Enum.FormFactor.Custom | |
| 405 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
| 406 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
| 407 | p16.CanCollide = false | |
| 408 | p16.Locked = true | |
| 409 | p16.Elasticity = 0 | |
| 410 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 411 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 412 | b16 = Instance.new("BlockMesh", p16)
| |
| 413 | b16.Name = "Mesh" | |
| 414 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
| 415 | p17 = Instance.new("Part", m)
| |
| 416 | p17.BrickColor = BrickColor.new("Really black")
| |
| 417 | p17.FormFactor = Enum.FormFactor.Custom | |
| 418 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
| 419 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
| 420 | p17.CanCollide = false | |
| 421 | p17.Locked = true | |
| 422 | p17.Elasticity = 0 | |
| 423 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 424 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 425 | b17 = Instance.new("BlockMesh", p17)
| |
| 426 | b17.Name = "Mesh" | |
| 427 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
| 428 | p18 = Instance.new("WedgePart", m)
| |
| 429 | p18.BrickColor = BrickColor.new("Dark stone grey")
| |
| 430 | p18.Name = "BladePart1" | |
| 431 | p18.Material = Enum.Material.Concrete | |
| 432 | p18.Name = "Wedge" | |
| 433 | p18.FormFactor = Enum.FormFactor.Symmetric | |
| 434 | p18.Size = Vector3.new(1, 4, 2) | |
| 435 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
| 436 | p18.CanCollide = false | |
| 437 | p18.Locked = true | |
| 438 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 439 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 440 | b18 = Instance.new("SpecialMesh", p18)
| |
| 441 | b18.MeshType = Enum.MeshType.Wedge | |
| 442 | b18.Name = "Mesh" | |
| 443 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
| 444 | p19 = Instance.new("WedgePart", m)
| |
| 445 | p19.BrickColor = BrickColor.new("Dark stone grey")
| |
| 446 | p19.Name = "BladePart2" | |
| 447 | p19.Material = Enum.Material.Concrete | |
| 448 | p19.Name = "Wedge" | |
| 449 | p19.FormFactor = Enum.FormFactor.Symmetric | |
| 450 | p19.Size = Vector3.new(1, 4, 2) | |
| 451 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
| 452 | p19.CanCollide = false | |
| 453 | p19.Locked = true | |
| 454 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
| 455 | p19.TopSurface = Enum.SurfaceType.Smooth | |
| 456 | b19 = Instance.new("SpecialMesh", p19)
| |
| 457 | b19.MeshType = Enum.MeshType.Wedge | |
| 458 | b19.Name = "Mesh" | |
| 459 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
| 460 | p20 = Instance.new("Part", m)
| |
| 461 | p20.BrickColor = BrickColor.new("Really black")
| |
| 462 | p20.FormFactor = Enum.FormFactor.Custom | |
| 463 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
| 464 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
| 465 | p20.CanCollide = false | |
| 466 | p20.Locked = true | |
| 467 | p20.Elasticity = 0 | |
| 468 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
| 469 | p20.TopSurface = Enum.SurfaceType.Smooth | |
| 470 | b20 = Instance.new("BlockMesh", p20)
| |
| 471 | b20.Name = "Mesh" | |
| 472 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 473 | p21 = Instance.new("Part", m)
| |
| 474 | p21.BrickColor = BrickColor.new("Bright Orange")
| |
| 475 | p21.FormFactor = Enum.FormFactor.Custom | |
| 476 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
| 477 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
| 478 | p21.CanCollide = false | |
| 479 | p21.Locked = true | |
| 480 | p21.Elasticity = 0 | |
| 481 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
| 482 | p21.TopSurface = Enum.SurfaceType.Smooth | |
| 483 | b21 = Instance.new("SpecialMesh", p21)
| |
| 484 | b21.MeshType = Enum.MeshType.Wedge | |
| 485 | b21.Name = "Mesh" | |
| 486 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 487 | w1 = Instance.new("Weld", p1)
| |
| 488 | w1.Name = "Part_Weld" | |
| 489 | w1.Part0 = p1 | |
| 490 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
| 491 | w1.Part1 = p2 | |
| 492 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
| 493 | w2 = Instance.new("Weld", p2)
| |
| 494 | w2.Name = "Part_Weld" | |
| 495 | w2.Part0 = p2 | |
| 496 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
| 497 | w2.Part1 = p3 | |
| 498 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
| 499 | w3 = Instance.new("Weld", p3)
| |
| 500 | w3.Name = "Part_Weld" | |
| 501 | w3.Part0 = p3 | |
| 502 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
| 503 | w3.Part1 = p4 | |
| 504 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
| 505 | w4 = Instance.new("Weld", p4)
| |
| 506 | w4.Name = "Part_Weld" | |
| 507 | w4.Part0 = p4 | |
| 508 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
| 509 | w4.Part1 = p5 | |
| 510 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
| 511 | w5 = Instance.new("Weld", p5)
| |
| 512 | w5.Name = "Part_Weld" | |
| 513 | w5.Part0 = p5 | |
| 514 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
| 515 | w5.Part1 = p6 | |
| 516 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
| 517 | w6 = Instance.new("Weld", p6)
| |
| 518 | w6.Name = "Part_Weld" | |
| 519 | w6.Part0 = p6 | |
| 520 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
| 521 | w6.Part1 = p7 | |
| 522 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
| 523 | w7 = Instance.new("Weld", p7)
| |
| 524 | w7.Name = "Part_Weld" | |
| 525 | w7.Part0 = p7 | |
| 526 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
| 527 | w7.Part1 = p8 | |
| 528 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
| 529 | w8 = Instance.new("Weld", p8)
| |
| 530 | w8.Name = "Part_Weld" | |
| 531 | w8.Part0 = p8 | |
| 532 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
| 533 | w8.Part1 = p9 | |
| 534 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
| 535 | w9 = Instance.new("Weld", p9)
| |
| 536 | w9.Name = "Part_Weld" | |
| 537 | w9.Part0 = p9 | |
| 538 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
| 539 | w9.Part1 = p10 | |
| 540 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
| 541 | w10 = Instance.new("Weld", p10)
| |
| 542 | w10.Name = "Part_Weld" | |
| 543 | w10.Part0 = p10 | |
| 544 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
| 545 | w10.Part1 = p11 | |
| 546 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
| 547 | w11 = Instance.new("Weld", p11)
| |
| 548 | w11.Name = "Part_Weld" | |
| 549 | w11.Part0 = p11 | |
| 550 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
| 551 | w11.Part1 = p12 | |
| 552 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
| 553 | w12 = Instance.new("Weld", p12)
| |
| 554 | w12.Name = "Part_Weld" | |
| 555 | w12.Part0 = p12 | |
| 556 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
| 557 | w12.Part1 = p13 | |
| 558 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
| 559 | w13 = Instance.new("Weld", p13)
| |
| 560 | w13.Name = "Part_Weld" | |
| 561 | w13.Part0 = p13 | |
| 562 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
| 563 | w13.Part1 = p14 | |
| 564 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
| 565 | w14 = Instance.new("Weld", p14)
| |
| 566 | w14.Name = "Part_Weld" | |
| 567 | w14.Part0 = p14 | |
| 568 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
| 569 | w14.Part1 = p15 | |
| 570 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
| 571 | w15 = Instance.new("Weld", p15)
| |
| 572 | w15.Name = "Part_Weld" | |
| 573 | w15.Part0 = p15 | |
| 574 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
| 575 | w15.Part1 = p16 | |
| 576 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
| 577 | w16 = Instance.new("Weld", p16)
| |
| 578 | w16.Name = "Part_Weld" | |
| 579 | w16.Part0 = p16 | |
| 580 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
| 581 | w16.Part1 = p17 | |
| 582 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
| 583 | w17 = Instance.new("Weld", p17)
| |
| 584 | w17.Name = "Wedge_Weld" | |
| 585 | w17.Part0 = p17 | |
| 586 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
| 587 | w17.Part1 = p18 | |
| 588 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
| 589 | w18 = Instance.new("Weld", p18)
| |
| 590 | w18.Name = "Wedge_Weld" | |
| 591 | w18.Part0 = p18 | |
| 592 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
| 593 | w18.Part1 = p19 | |
| 594 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
| 595 | w19 = Instance.new("Weld", p19)
| |
| 596 | w19.Name = "Part_Weld" | |
| 597 | w19.Part0 = p19 | |
| 598 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
| 599 | w19.Part1 = p20 | |
| 600 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
| 601 | w20 = Instance.new("Weld", p20)
| |
| 602 | w20.Name = "Part_Weld" | |
| 603 | w20.Part0 = p20 | |
| 604 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
| 605 | w20.Part1 = p21 | |
| 606 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
| 607 | m.Parent = char | |
| 608 | m:MakeJoints() | |
| 609 | ---------------------------------------------------- | |
| 610 | local cor = Instance.new("Part", char.Absolution)
| |
| 611 | cor.Name = "Thingy" | |
| 612 | cor.Locked = true | |
| 613 | cor.BottomSurface = 0 | |
| 614 | cor.CanCollide = false | |
| 615 | cor.Size = Vector3.new(1, 13, 1) | |
| 616 | cor.Transparency = 1 | |
| 617 | cor.TopSurface = 0 | |
| 618 | corw = Instance.new("Weld", cor)
| |
| 619 | corw.Part0 = rarm | |
| 620 | corw.Part1 = cor | |
| 621 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 622 | corw.C1 = CFrame.new(0, 0, 0) | |
| 623 | weld1 = Instance.new("Weld", char.Absolution)
| |
| 624 | weld1.Part0 = cor | |
| 625 | weld1.Part1 = p6 | |
| 626 | weld1.C0 = CFrame.new(0, 0, 0) | |
| 627 | ---------------------------------------------------- | |
| 628 | hitb = Instance.new("Part", char.Absolution)
| |
| 629 | hitb.Name = "Thingy2" | |
| 630 | hitb.Locked = true | |
| 631 | hitb.BottomSurface = 0 | |
| 632 | hitb.CanCollide = false | |
| 633 | hitb.Size = Vector3.new(0, 8, 6) | |
| 634 | hitb.Transparency = 1 | |
| 635 | hitb.TopSurface = 0 | |
| 636 | weld2 = Instance.new("Weld", char.Absolution)
| |
| 637 | weld2.Part0 = hitb | |
| 638 | weld2.Part1 = p12 | |
| 639 | weld2.C0 = CFrame.new(0, .6, 1) | |
| 640 | ---------------------------------------------------- | |
| 641 | local m = Instance.new("Model")
| |
| 642 | m.Name = "Claw" | |
| 643 | p1 = Instance.new("Part", m)
| |
| 644 | p1.BrickColor = BrickColor.new("Really black")
| |
| 645 | p1.FormFactor = Enum.FormFactor.Custom | |
| 646 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 647 | p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691) | |
| 648 | p1.CanCollide = false | |
| 649 | p1.Locked = true | |
| 650 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 651 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 652 | b1 = Instance.new("BlockMesh", p1)
| |
| 653 | b1.Name = "Mesh" | |
| 654 | p2 = Instance.new("WedgePart", m)
| |
| 655 | p2.BrickColor = BrickColor.new("Really black")
| |
| 656 | p2.Name = "Wedge" | |
| 657 | p2.FormFactor = Enum.FormFactor.Custom | |
| 658 | p2.Size = Vector3.new(3, 1, 0.5) | |
| 659 | p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0) | |
| 660 | p2.CanCollide = false | |
| 661 | p2.Locked = true | |
| 662 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 663 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 664 | p3 = Instance.new("Part", m)
| |
| 665 | p3.BrickColor = BrickColor.new("Really black")
| |
| 666 | p3.FormFactor = Enum.FormFactor.Custom | |
| 667 | p3.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 668 | p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008) | |
| 669 | p3.CanCollide = false | |
| 670 | p3.Locked = true | |
| 671 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 672 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 673 | b2 = Instance.new("BlockMesh", p3)
| |
| 674 | b2.Name = "Mesh" | |
| 675 | p4 = Instance.new("WedgePart", m)
| |
| 676 | p4.BrickColor = BrickColor.new("Really black")
| |
| 677 | p4.Name = "Wedge" | |
| 678 | p4.FormFactor = Enum.FormFactor.Custom | |
| 679 | p4.Size = Vector3.new(3, 1, 0.5) | |
| 680 | p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008) | |
| 681 | p4.CanCollide = false | |
| 682 | p4.Locked = true | |
| 683 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 684 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 685 | p5 = Instance.new("Part", m)
| |
| 686 | p5.BrickColor = BrickColor.new("Really black")
| |
| 687 | p5.FormFactor = Enum.FormFactor.Custom | |
| 688 | p5.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 689 | p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008) | |
| 690 | p5.CanCollide = false | |
| 691 | p5.Locked = true | |
| 692 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 693 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 694 | b3 = Instance.new("BlockMesh", p5)
| |
| 695 | b3.Name = "Mesh" | |
| 696 | p6 = Instance.new("Part", m)
| |
| 697 | p6.BrickColor = BrickColor.new("Really black")
| |
| 698 | p6.FormFactor = Enum.FormFactor.Custom | |
| 699 | p6.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 700 | p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051) | |
| 701 | p6.CanCollide = false | |
| 702 | p6.Locked = true | |
| 703 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 704 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 705 | b4 = Instance.new("BlockMesh", p6)
| |
| 706 | b4.Name = "Mesh" | |
| 707 | p7 = Instance.new("Part", m)
| |
| 708 | p7.BrickColor = BrickColor.new("Really black")
| |
| 709 | p7.FormFactor = Enum.FormFactor.Custom | |
| 710 | p7.Size = Vector3.new(3, 1, 1.20000005) | |
| 711 | p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008) | |
| 712 | p7.CanCollide = false | |
| 713 | p7.Locked = true | |
| 714 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 715 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 716 | b5 = Instance.new("BlockMesh", p7)
| |
| 717 | b5.Name = "Mesh" | |
| 718 | p8 = Instance.new("Part", m)
| |
| 719 | p8.BrickColor = BrickColor.new("Bright Orange")
| |
| 720 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 721 | p8.Size = Vector3.new(1, 1, 1) | |
| 722 | p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159) | |
| 723 | p8.CanCollide = false | |
| 724 | p8.Locked = true | |
| 725 | b6 = Instance.new("SpecialMesh", p8)
| |
| 726 | b6.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 727 | b6.TextureId = "" | |
| 728 | b6.MeshType = Enum.MeshType.FileMesh | |
| 729 | b6.Name = "Mesh" | |
| 730 | b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
| 731 | p9 = Instance.new("Part", m)
| |
| 732 | p9.BrickColor = BrickColor.new("Really black")
| |
| 733 | p9.FormFactor = Enum.FormFactor.Custom | |
| 734 | p9.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 735 | p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264) | |
| 736 | p9.CanCollide = false | |
| 737 | p9.Locked = true | |
| 738 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 739 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 740 | b7 = Instance.new("BlockMesh", p9)
| |
| 741 | b7.Name = "Mesh" | |
| 742 | p10 = Instance.new("Part", m)
| |
| 743 | p10.BrickColor = BrickColor.new("Bright Orange")
| |
| 744 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 745 | p10.Size = Vector3.new(1, 1, 1) | |
| 746 | p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702) | |
| 747 | p10.CanCollide = false | |
| 748 | p10.Locked = true | |
| 749 | b8 = Instance.new("SpecialMesh", p10)
| |
| 750 | b8.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 751 | b8.TextureId = "" | |
| 752 | b8.MeshType = Enum.MeshType.FileMesh | |
| 753 | b8.Name = "Mesh" | |
| 754 | b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
| 755 | p11 = Instance.new("Part", m)
| |
| 756 | p11.BrickColor = BrickColor.new("Really black")
| |
| 757 | p11.FormFactor = Enum.FormFactor.Custom | |
| 758 | p11.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 759 | p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868) | |
| 760 | p11.CanCollide = false | |
| 761 | p11.Locked = true | |
| 762 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 763 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 764 | b9 = Instance.new("BlockMesh", p11)
| |
| 765 | b9.Name = "Mesh" | |
| 766 | p12 = Instance.new("Part", m)
| |
| 767 | p12.BrickColor = BrickColor.new("Really black")
| |
| 768 | p12.FormFactor = Enum.FormFactor.Custom | |
| 769 | p12.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 770 | p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008) | |
| 771 | p12.CanCollide = false | |
| 772 | p12.Locked = true | |
| 773 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 774 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 775 | b10 = Instance.new("BlockMesh", p12)
| |
| 776 | b10.Name = "Mesh" | |
| 777 | p13 = Instance.new("Part", m)
| |
| 778 | p13.BrickColor = BrickColor.new("Really black")
| |
| 779 | p13.FormFactor = Enum.FormFactor.Custom | |
| 780 | p13.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 781 | p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008) | |
| 782 | p13.CanCollide = false | |
| 783 | p13.Locked = true | |
| 784 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 785 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 786 | b11 = Instance.new("BlockMesh", p13)
| |
| 787 | b11.Name = "Mesh" | |
| 788 | p14 = Instance.new("Part", m)
| |
| 789 | p14.BrickColor = BrickColor.new("Bright Orange")
| |
| 790 | p14.FormFactor = Enum.FormFactor.Symmetric | |
| 791 | p14.Size = Vector3.new(1, 1, 1) | |
| 792 | p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777) | |
| 793 | p14.CanCollide = false | |
| 794 | p14.Locked = true | |
| 795 | b12 = Instance.new("SpecialMesh", p14)
| |
| 796 | b12.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 797 | b12.TextureId = "" | |
| 798 | b12.MeshType = Enum.MeshType.FileMesh | |
| 799 | b12.Name = "Mesh" | |
| 800 | b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
| 801 | p15 = Instance.new("Part", m)
| |
| 802 | p15.BrickColor = BrickColor.new("Medium stone grey")
| |
| 803 | p15.Transparency = 1 | |
| 804 | p15.Name = "ArmPart" | |
| 805 | p15.FormFactor = Enum.FormFactor.Custom | |
| 806 | p15.Size = Vector3.new(2, 1, 1) | |
| 807 | p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008) | |
| 808 | p15.CanCollide = false | |
| 809 | p15.Locked = true | |
| 810 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 811 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 812 | b13 = Instance.new("BlockMesh", p15)
| |
| 813 | b13.Name = "Mesh" | |
| 814 | p16 = Instance.new("Part", m)
| |
| 815 | p16.BrickColor = BrickColor.new("Really black")
| |
| 816 | p16.FormFactor = Enum.FormFactor.Custom | |
| 817 | p16.Size = Vector3.new(3, 1, 2.4000001) | |
| 818 | p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008) | |
| 819 | p16.CanCollide = false | |
| 820 | p16.Locked = true | |
| 821 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 822 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 823 | b14 = Instance.new("BlockMesh", p16)
| |
| 824 | b14.Name = "Mesh" | |
| 825 | p17 = Instance.new("Part", m)
| |
| 826 | p17.BrickColor = BrickColor.new("Really black")
| |
| 827 | p17.FormFactor = Enum.FormFactor.Custom | |
| 828 | p17.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 829 | p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783) | |
| 830 | p17.CanCollide = false | |
| 831 | p17.Locked = true | |
| 832 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 833 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 834 | b15 = Instance.new("BlockMesh", p17)
| |
| 835 | b15.Name = "Mesh" | |
| 836 | p18 = Instance.new("Part", m)
| |
| 837 | p18.BrickColor = BrickColor.new("Bright Orange")
| |
| 838 | p18.FormFactor = Enum.FormFactor.Symmetric | |
| 839 | p18.Size = Vector3.new(1, 1, 1) | |
| 840 | p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101) | |
| 841 | p18.CanCollide = false | |
| 842 | p18.Locked = true | |
| 843 | b16 = Instance.new("SpecialMesh", p18)
| |
| 844 | b16.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 845 | b16.TextureId = "" | |
| 846 | b16.MeshType = Enum.MeshType.FileMesh | |
| 847 | b16.Name = "Mesh" | |
| 848 | b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
| 849 | p19 = Instance.new("Part", m)
| |
| 850 | p19.BrickColor = BrickColor.new("Bright Orange")
| |
| 851 | p19.FormFactor = Enum.FormFactor.Symmetric | |
| 852 | p19.Size = Vector3.new(1, 1, 1) | |
| 853 | p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855) | |
| 854 | p19.CanCollide = false | |
| 855 | p19.Locked = true | |
| 856 | b17 = Instance.new("SpecialMesh", p19)
| |
| 857 | b17.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 858 | b17.TextureId = "" | |
| 859 | b17.MeshType = Enum.MeshType.FileMesh | |
| 860 | b17.Name = "Mesh" | |
| 861 | b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988) | |
| 862 | p20 = Instance.new("Part", m)
| |
| 863 | p20.BrickColor = BrickColor.new("Really black")
| |
| 864 | p20.FormFactor = Enum.FormFactor.Custom | |
| 865 | p20.Size = Vector3.new(3, 1, 2.4000001) | |
| 866 | p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008) | |
| 867 | p20.CanCollide = false | |
| 868 | p20.Locked = true | |
| 869 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
| 870 | p20.TopSurface = Enum.SurfaceType.Smooth | |
| 871 | b18 = Instance.new("BlockMesh", p20)
| |
| 872 | b18.Name = "Mesh" | |
| 873 | p21 = Instance.new("Part", m)
| |
| 874 | p21.BrickColor = BrickColor.new("Really black")
| |
| 875 | p21.FormFactor = Enum.FormFactor.Custom | |
| 876 | p21.Size = Vector3.new(3, 1, 1.19999993) | |
| 877 | p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008) | |
| 878 | p21.CanCollide = false | |
| 879 | p21.Locked = true | |
| 880 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
| 881 | p21.TopSurface = Enum.SurfaceType.Smooth | |
| 882 | b19 = Instance.new("BlockMesh", p21)
| |
| 883 | b19.Name = "Mesh" | |
| 884 | p22 = Instance.new("WedgePart", m)
| |
| 885 | p22.BrickColor = BrickColor.new("Really black")
| |
| 886 | p22.Name = "Wedge" | |
| 887 | p22.FormFactor = Enum.FormFactor.Custom | |
| 888 | p22.Size = Vector3.new(3, 1, 0.5) | |
| 889 | p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008) | |
| 890 | p22.CanCollide = false | |
| 891 | p22.Locked = true | |
| 892 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
| 893 | p22.TopSurface = Enum.SurfaceType.Smooth | |
| 894 | p23 = Instance.new("Part", m)
| |
| 895 | p23.BrickColor = BrickColor.new("Really black")
| |
| 896 | p23.FormFactor = Enum.FormFactor.Custom | |
| 897 | p23.Size = Vector3.new(1.5, 0.5, 0.5) | |
| 898 | p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682) | |
| 899 | p23.CanCollide = false | |
| 900 | p23.Locked = true | |
| 901 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
| 902 | p23.TopSurface = Enum.SurfaceType.Smooth | |
| 903 | b20 = Instance.new("BlockMesh", p23)
| |
| 904 | b20.Name = "Mesh" | |
| 905 | p24 = Instance.new("WedgePart", m)
| |
| 906 | p24.BrickColor = BrickColor.new("Really black")
| |
| 907 | p24.Name = "Wedge" | |
| 908 | p24.FormFactor = Enum.FormFactor.Custom | |
| 909 | p24.Size = Vector3.new(3, 1, 0.5) | |
| 910 | p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215) | |
| 911 | p24.CanCollide = false | |
| 912 | p24.Locked = true | |
| 913 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
| 914 | p24.TopSurface = Enum.SurfaceType.Smooth | |
| 915 | p25 = Instance.new("Part", m)
| |
| 916 | p25.BrickColor = BrickColor.new("Bright Orange")
| |
| 917 | p25.FormFactor = Enum.FormFactor.Symmetric | |
| 918 | p25.Size = Vector3.new(1, 1, 1) | |
| 919 | p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466) | |
| 920 | p25.CanCollide = false | |
| 921 | p25.Locked = true | |
| 922 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
| 923 | p25.TopSurface = Enum.SurfaceType.Smooth | |
| 924 | b21 = Instance.new("SpecialMesh", p25)
| |
| 925 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 926 | b21.TextureId = "" | |
| 927 | b21.MeshType = Enum.MeshType.FileMesh | |
| 928 | b21.Name = "Mesh" | |
| 929 | b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024) | |
| 930 | p26 = Instance.new("Part", m)
| |
| 931 | p26.BrickColor = BrickColor.new("Really black")
| |
| 932 | p26.FormFactor = Enum.FormFactor.Symmetric | |
| 933 | p26.Size = Vector3.new(1, 1, 1) | |
| 934 | p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902) | |
| 935 | p26.CanCollide = false | |
| 936 | p26.Locked = true | |
| 937 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
| 938 | p26.TopSurface = Enum.SurfaceType.Smooth | |
| 939 | b22 = Instance.new("SpecialMesh", p26)
| |
| 940 | b22.MeshType = Enum.MeshType.Brick | |
| 941 | b22.Name = "Mesh" | |
| 942 | w1 = Instance.new("Weld", p1)
| |
| 943 | w1.Name = "Wedge_Weld" | |
| 944 | w1.Part0 = p1 | |
| 945 | w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691) | |
| 946 | w1.Part1 = p2 | |
| 947 | w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008) | |
| 948 | w2 = Instance.new("Weld", p2)
| |
| 949 | w2.Name = "Part_Weld" | |
| 950 | w2.Part0 = p2 | |
| 951 | w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0) | |
| 952 | w2.Part1 = p3 | |
| 953 | w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008) | |
| 954 | w3 = Instance.new("Weld", p3)
| |
| 955 | w3.Name = "Wedge_Weld" | |
| 956 | w3.Part0 = p3 | |
| 957 | w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008) | |
| 958 | w3.Part1 = p4 | |
| 959 | w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008) | |
| 960 | w4 = Instance.new("Weld", p4)
| |
| 961 | w4.Name = "Part_Weld" | |
| 962 | w4.Part0 = p4 | |
| 963 | w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008) | |
| 964 | w4.Part1 = p5 | |
| 965 | w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008) | |
| 966 | w5 = Instance.new("Weld", p5)
| |
| 967 | w5.Name = "Part_Weld" | |
| 968 | w5.Part0 = p5 | |
| 969 | w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008) | |
| 970 | w5.Part1 = p6 | |
| 971 | w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252) | |
| 972 | w6 = Instance.new("Weld", p6)
| |
| 973 | w6.Name = "Part_Weld" | |
| 974 | w6.Part0 = p6 | |
| 975 | w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051) | |
| 976 | w6.Part1 = p7 | |
| 977 | w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008) | |
| 978 | w7 = Instance.new("Weld", p7)
| |
| 979 | w7.Name = "Part_Weld" | |
| 980 | w7.Part0 = p7 | |
| 981 | w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008) | |
| 982 | w7.Part1 = p8 | |
| 983 | w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292) | |
| 984 | w8 = Instance.new("Weld", p8)
| |
| 985 | w8.Name = "Part_Weld" | |
| 986 | w8.Part0 = p8 | |
| 987 | w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159) | |
| 988 | w8.Part1 = p9 | |
| 989 | w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342) | |
| 990 | w9 = Instance.new("Weld", p9)
| |
| 991 | w9.Name = "Part_Weld" | |
| 992 | w9.Part0 = p9 | |
| 993 | w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264) | |
| 994 | w9.Part1 = p10 | |
| 995 | w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036) | |
| 996 | w10 = Instance.new("Weld", p10)
| |
| 997 | w10.Name = "Part_Weld" | |
| 998 | w10.Part0 = p10 | |
| 999 | w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702) | |
| 1000 | w10.Part1 = p11 | |
| 1001 | w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292) | |
| 1002 | w11 = Instance.new("Weld", p11)
| |
| 1003 | w11.Name = "Part_Weld" | |
| 1004 | w11.Part0 = p11 | |
| 1005 | w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46200418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868) | |
| 1006 | w11.Part1 = p12 | |
| 1007 | w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008) | |
| 1008 | w12 = Instance.new("Weld", p12)
| |
| 1009 | w12.Name = "Part_Weld" | |
| 1010 | w12.Part0 = p12 | |
| 1011 | w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008) | |
| 1012 | w12.Part1 = p13 | |
| 1013 | w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008) | |
| 1014 | w13 = Instance.new("Weld", p13)
| |
| 1015 | w13.Name = "Part_Weld" | |
| 1016 | w13.Part0 = p13 | |
| 1017 | w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008) | |
| 1018 | w13.Part1 = p14 | |
| 1019 | w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817) | |
| 1020 | w14 = Instance.new("Weld", p14)
| |
| 1021 | w14.Name = "ArmPart_Weld" | |
| 1022 | w14.Part0 = p14 | |
| 1023 | w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777) | |
| 1024 | w14.Part1 = p15 | |
| 1025 | w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
| 1026 | w15 = Instance.new("Weld", p15)
| |
| 1027 | w15.Name = "Part_Weld" | |
| 1028 | w15.Part0 = p15 | |
| 1029 | w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008) | |
| 1030 | w15.Part1 = p16 | |
| 1031 | w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
| 1032 | w16 = Instance.new("Weld", p16)
| |
| 1033 | w16.Name = "Part_Weld" | |
| 1034 | w16.Part0 = p16 | |
| 1035 | w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008) | |
| 1036 | w16.Part1 = p17 | |
| 1037 | w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025) | |
| 1038 | w17 = Instance.new("Weld", p17)
| |
| 1039 | w17.Name = "Part_Weld" | |
| 1040 | w17.Part0 = p17 | |
| 1041 | w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783) | |
| 1042 | w17.Part1 = p18 | |
| 1043 | w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435) | |
| 1044 | w18 = Instance.new("Weld", p18)
| |
| 1045 | w18.Name = "Part_Weld" | |
| 1046 | w18.Part0 = p18 | |
| 1047 | w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101) | |
| 1048 | w18.Part1 = p19 | |
| 1049 | w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918) | |
| 1050 | w19 = Instance.new("Weld", p19)
| |
| 1051 | w19.Name = "Part_Weld" | |
| 1052 | w19.Part0 = p19 | |
| 1053 | w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855) | |
| 1054 | w19.Part1 = p20 | |
| 1055 | w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
| 1056 | w20 = Instance.new("Weld", p20)
| |
| 1057 | w20.Name = "Part_Weld" | |
| 1058 | w20.Part0 = p20 | |
| 1059 | w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008) | |
| 1060 | w20.Part1 = p21 | |
| 1061 | w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
| 1062 | w21 = Instance.new("Weld", p21)
| |
| 1063 | w21.Name = "Wedge_Weld" | |
| 1064 | w21.Part0 = p21 | |
| 1065 | w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008) | |
| 1066 | w21.Part1 = p22 | |
| 1067 | w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008) | |
| 1068 | w22 = Instance.new("Weld", p22)
| |
| 1069 | w22.Name = "Part_Weld" | |
| 1070 | w22.Part0 = p22 | |
| 1071 | w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008) | |
| 1072 | w22.Part1 = p23 | |
| 1073 | w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808) | |
| 1074 | w23 = Instance.new("Weld", p23)
| |
| 1075 | w23.Name = "Wedge_Weld" | |
| 1076 | w23.Part0 = p23 | |
| 1077 | w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682) | |
| 1078 | w23.Part1 = p24 | |
| 1079 | w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801) | |
| 1080 | w24 = Instance.new("Weld", p24)
| |
| 1081 | w24.Name = "Part_Weld" | |
| 1082 | w24.Part0 = p24 | |
| 1083 | w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215) | |
| 1084 | w24.Part1 = p25 | |
| 1085 | w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881) | |
| 1086 | w25 = Instance.new("Weld", p25)
| |
| 1087 | w25.Name = "Part_Weld" | |
| 1088 | w25.Part0 = p25 | |
| 1089 | w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466) | |
| 1090 | w25.Part1 = p26 | |
| 1091 | w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501) | |
| 1092 | m.Parent = char | |
| 1093 | m:MakeJoints() | |
| 1094 | ---------------------------------------------------- | |
| 1095 | local cor2 = Instance.new("Part", char.Claw)
| |
| 1096 | cor2.Name = "Thingy" | |
| 1097 | cor2.Locked = true | |
| 1098 | cor2.BottomSurface = 0 | |
| 1099 | cor2.CanCollide = false | |
| 1100 | cor2.Size = Vector3.new(2, 1, 1) | |
| 1101 | cor2.Transparency = 1 | |
| 1102 | cor2.TopSurface = 0 | |
| 1103 | corw2 = Instance.new("Weld", cor2)
| |
| 1104 | corw2.Part0 = larm | |
| 1105 | corw2.Part1 = cor2 | |
| 1106 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
| 1107 | corw2.C1 = CFrame.new(0, 0, 0) | |
| 1108 | weld2 = Instance.new("Weld", char.Claw)
| |
| 1109 | weld2.Part0 = cor2 | |
| 1110 | weld2.Part1 = char.Claw.ArmPart | |
| 1111 | weld2.C0 = CFrame.new(0, 0, 0) | |
| 1112 | ---------------------------------------------------- | |
| 1113 | function weld5(part0, part1, c0, c1) | |
| 1114 | weeld=Instance.new("Weld", part0)
| |
| 1115 | weeld.Part0=part0 | |
| 1116 | weeld.Part1=part1 | |
| 1117 | weeld.C0=c0 | |
| 1118 | weeld.C1=c1 | |
| 1119 | return weeld | |
| 1120 | end | |
| 1121 | ---------------------------------------------------- | |
| 1122 | function newRay(start,face,range,wat) | |
| 1123 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 1124 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 1125 | return rey,hit,pos | |
| 1126 | end | |
| 1127 | ---------------------------------------------------- | |
| 1128 | mod5 = Instance.new("Model",char)
| |
| 1129 | ||
| 1130 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1131 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1132 | local List = {}
| |
| 1133 | for i,v in pairs(workspace:GetChildren())do | |
| 1134 | if v:IsA("Model")then
| |
| 1135 | if v:findFirstChild("Torso")then
| |
| 1136 | if v ~= char then | |
| 1137 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1138 | table.insert(List,v) | |
| 1139 | end | |
| 1140 | end | |
| 1141 | end | |
| 1142 | end | |
| 1143 | end | |
| 1144 | return List | |
| 1145 | end | |
| 1146 | ||
| 1147 | function Landing() | |
| 1148 | part=Instance.new('Part',mod5)
| |
| 1149 | part.Anchored=true | |
| 1150 | part.CanCollide=false | |
| 1151 | part.FormFactor='Custom' | |
| 1152 | part.Size=Vector3.new(.2,.2,.2) | |
| 1153 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
| 1154 | part.Transparency=.7 | |
| 1155 | part.BrickColor=BrickColor.new('Really black')
| |
| 1156 | mesh=Instance.new('SpecialMesh',part)
| |
| 1157 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1158 | mesh.Scale=Vector3.new(10,5,10) | |
| 1159 | ||
| 1160 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
| 1161 | if v:FindFirstChild('Humanoid') then
| |
| 1162 | v.Humanoid:TakeDamage(math.random(20,30)) | |
| 1163 | v.Humanoid.PlatformStand = true | |
| 1164 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1165 | end | |
| 1166 | end | |
| 1167 | ||
| 1168 | coroutine.resume(coroutine.create(function() | |
| 1169 | for i=0,3.8,0.05 do | |
| 1170 | wait() | |
| 1171 | part.CFrame=part.CFrame | |
| 1172 | part.Transparency=i | |
| 1173 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
| 1174 | end | |
| 1175 | part.Parent = nil | |
| 1176 | end)) | |
| 1177 | end | |
| 1178 | ---------------------------------------------------- | |
| 1179 | mod4 = Instance.new("Model",char)
| |
| 1180 | ||
| 1181 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1182 | ||
| 1183 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1184 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1185 | local List = {}
| |
| 1186 | for i,v in pairs(workspace:GetChildren())do | |
| 1187 | if v:IsA("Model")then
| |
| 1188 | if v:findFirstChild("Torso")then
| |
| 1189 | if v ~= char then | |
| 1190 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1191 | table.insert(List,v) | |
| 1192 | end | |
| 1193 | end | |
| 1194 | end | |
| 1195 | end | |
| 1196 | end | |
| 1197 | return List | |
| 1198 | end | |
| 1199 | ||
| 1200 | function GroundPound() | |
| 1201 | part=Instance.new('Part',mod4)
| |
| 1202 | part.Anchored=true | |
| 1203 | part.CanCollide=false | |
| 1204 | part.FormFactor='Custom' | |
| 1205 | part.Size=Vector3.new(.2,.2,.2) | |
| 1206 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1207 | part.Transparency=.7 | |
| 1208 | part.BrickColor=BrickColor.new('Really black')
| |
| 1209 | mesh=Instance.new('SpecialMesh',part)
| |
| 1210 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1211 | mesh.Scale=Vector3.new(3,3,3) | |
| 1212 | part2=Instance.new('Part',mod4)
| |
| 1213 | part2.Anchored=true | |
| 1214 | part2.CanCollide=false | |
| 1215 | part2.FormFactor='Custom' | |
| 1216 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1217 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
| 1218 | part2.Transparency=.7 | |
| 1219 | part2.BrickColor=BrickColor.new('Really red')
| |
| 1220 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1221 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1222 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1223 | x = Instance.new("Sound",char)
| |
| 1224 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 1225 | x.Pitch = ptez[math.random(1,#ptez)] | |
| 1226 | x.Volume = 1 | |
| 1227 | wait(.1) | |
| 1228 | x:Play() | |
| 1229 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
| 1230 | if v:FindFirstChild('Humanoid') then
| |
| 1231 | v.Humanoid:TakeDamage(math.random(8,15)) | |
| 1232 | end | |
| 1233 | end | |
| 1234 | coroutine.resume(coroutine.create(function() | |
| 1235 | for i=0,0.62,0.13 do | |
| 1236 | wait() | |
| 1237 | part.CFrame=part.CFrame | |
| 1238 | part.Transparency=i | |
| 1239 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1240 | part2.CFrame=part2.CFrame | |
| 1241 | part2.Transparency=i | |
| 1242 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1243 | end | |
| 1244 | part.Parent=nil | |
| 1245 | part2.Parent=nil | |
| 1246 | x:Destroy() | |
| 1247 | end)) | |
| 1248 | end | |
| 1249 | ---------------------------------------------------- | |
| 1250 | mod=Instance.new('Model',char)
| |
| 1251 | ||
| 1252 | function charge() | |
| 1253 | hed.Velocity=hed.CFrame.lookVector*200 | |
| 1254 | part=Instance.new('Part',mod)
| |
| 1255 | part.Anchored=true | |
| 1256 | part.CanCollide=false | |
| 1257 | part.FormFactor='Custom' | |
| 1258 | part.Size=Vector3.new(.2,.2,.2) | |
| 1259 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
| 1260 | part.Transparency=.7 | |
| 1261 | part.BrickColor=BrickColor.new('Bright Orange')
| |
| 1262 | mesh=Instance.new('SpecialMesh',part)
| |
| 1263 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1264 | mesh.Scale=Vector3.new(10,5,10) | |
| 1265 | part2=part:clone() | |
| 1266 | part2.Parent=mod | |
| 1267 | part2.BrickColor=BrickColor.new('Bright red')
| |
| 1268 | mesh2=mesh:clone() | |
| 1269 | mesh2.Parent=part2 | |
| 1270 | mesh2.Scale=Vector3.new(20,10,20) | |
| 1271 | part3=part2:clone() | |
| 1272 | part3.Parent = mod | |
| 1273 | part3.BrickColor=BrickColor.new('Really black')
| |
| 1274 | mesh3=mesh2:clone() | |
| 1275 | mesh2.Parent=part3 | |
| 1276 | mesh3.Scale=Vector3.new(30,15,30) | |
| 1277 | coroutine.resume(coroutine.create(function() | |
| 1278 | for i=0,1,0.1 do | |
| 1279 | wait() | |
| 1280 | part.CFrame=part.CFrame | |
| 1281 | part.Transparency=i | |
| 1282 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
| 1283 | part2.CFrame=part2.CFrame | |
| 1284 | part2.Transparency=i | |
| 1285 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 1286 | part3.CFrame=part3.CFrame | |
| 1287 | part3.Transparency=i | |
| 1288 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
| 1289 | end | |
| 1290 | part.Parent=nil | |
| 1291 | part2.Parent=nil | |
| 1292 | part3.Parent = nil | |
| 1293 | end)) | |
| 1294 | end | |
| 1295 | ---------------------------------------------------- | |
| 1296 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1297 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1298 | local List = {}
| |
| 1299 | for i,v in pairs(workspace:GetChildren())do | |
| 1300 | if v:IsA("Model")then
| |
| 1301 | if v:findFirstChild("Torso")then
| |
| 1302 | if v ~= char then | |
| 1303 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1304 | table.insert(List,v) | |
| 1305 | end | |
| 1306 | end | |
| 1307 | end | |
| 1308 | end | |
| 1309 | end | |
| 1310 | return List | |
| 1311 | end | |
| 1312 | ||
| 1313 | mod3 = Instance.new("Model",rleg)
| |
| 1314 | ||
| 1315 | function Stomp() | |
| 1316 | part=Instance.new('Part',mod3)
| |
| 1317 | part.Anchored=true | |
| 1318 | part.CanCollide=false | |
| 1319 | part.FormFactor='Custom' | |
| 1320 | part.Size=Vector3.new(.2,.2,.2) | |
| 1321 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
| 1322 | part.Transparency=.7 | |
| 1323 | part.BrickColor=BrickColor.new('Bright green')
| |
| 1324 | mesh=Instance.new('SpecialMesh',part)
| |
| 1325 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1326 | mesh.Scale=Vector3.new(25,25,25) | |
| 1327 | part2=part:clone() | |
| 1328 | part2.Parent=mod3 | |
| 1329 | part2.BrickColor=BrickColor.new('Bright green')
| |
| 1330 | mesh2=mesh:clone() | |
| 1331 | mesh2.Parent=part2 | |
| 1332 | mesh2.Scale=Vector3.new(15,15,15) | |
| 1333 | part3=part:clone() | |
| 1334 | part3.Parent=mod3 | |
| 1335 | part3.TopSurface=0 | |
| 1336 | part3.BottomSurface=0 | |
| 1337 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
| 1338 | mesh3=Instance.new('SpecialMesh',part3)
| |
| 1339 | mesh3.MeshType = 3 | |
| 1340 | mesh3.Scale=Vector3.new(12,12,12) | |
| 1341 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 1342 | if v:FindFirstChild('Humanoid') then
| |
| 1343 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 1344 | v.Humanoid.PlatformStand = true | |
| 1345 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1346 | end | |
| 1347 | end | |
| 1348 | coroutine.resume(coroutine.create(function() | |
| 1349 | for i=0,3.8,0.05 do | |
| 1350 | wait() | |
| 1351 | part.CFrame=part.CFrame | |
| 1352 | part.Transparency=i | |
| 1353 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
| 1354 | part2.CFrame=part2.CFrame | |
| 1355 | part2.Transparency=i | |
| 1356 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 1357 | part3.CFrame=part3.CFrame | |
| 1358 | part3.Transparency=i | |
| 1359 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
| 1360 | end | |
| 1361 | end)) | |
| 1362 | end | |
| 1363 | ---------------------------------------------------- | |
| 1364 | ||
| 1365 | local acos = math.acos | |
| 1366 | local sqrt = math.sqrt | |
| 1367 | local Vec3 = Vector3.new | |
| 1368 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1369 | ||
| 1370 | local function toAxisAngle(CFr) | |
| 1371 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1372 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1373 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1374 | A = A == 0 and 0.00001 or A | |
| 1375 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1376 | B = B == 0 and 0.00001 or B | |
| 1377 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1378 | C = C == 0 and 0.00001 or C | |
| 1379 | local x = (R21-R12)/sqrt(A) | |
| 1380 | local y = (R02-R20)/sqrt(B) | |
| 1381 | local z = (R10-R01)/sqrt(C) | |
| 1382 | return Vec3(x,y,z),Angle | |
| 1383 | end | |
| 1384 | ||
| 1385 | function ApplyTrig(Num,Func) | |
| 1386 | local Min,Max = Func(0),Func(1) | |
| 1387 | local i = Func(Num) | |
| 1388 | return (i-Min)/(Max-Min) | |
| 1389 | --[[if Func == "sin" then | |
| 1390 | return (math.sin((1-Num)*math.pi)+1)/2 | |
| 1391 | elseif Func == "cos" then | |
| 1392 | return (math.cos((1-Num)*math.pi)+1)/2 | |
| 1393 | end]] | |
| 1394 | end | |
| 1395 | ||
| 1396 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1397 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1398 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1399 | end | |
| 1400 | ||
| 1401 | function Crater(Torso,Radius) | |
| 1402 | Spawn(function() | |
| 1403 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1404 | local Ignore = {}
| |
| 1405 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1406 | if v.Character ~= nil then | |
| 1407 | Ignore[#Ignore+1] = v.Character | |
| 1408 | end | |
| 1409 | end | |
| 1410 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1411 | if Hit == nil then return end | |
| 1412 | local Parts = {}
| |
| 1413 | for i = 1,360,10 do | |
| 1414 | local P = Instance.new("Part",Torso.Parent)
| |
| 1415 | P.Anchored = true | |
| 1416 | P.FormFactor = "Custom" | |
| 1417 | P.BrickColor = Hit.BrickColor | |
| 1418 | P.Material = Hit.Material | |
| 1419 | P.TopSurface = "Smooth" | |
| 1420 | P.BottomSurface = "Smooth" | |
| 1421 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1422 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1423 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 1424 | if math.random(0,5) == 0 then -- rubble | |
| 1425 | local P = Instance.new("Part",Torso.Parent)
| |
| 1426 | P.Anchored = true | |
| 1427 | P.FormFactor = "Custom" | |
| 1428 | P.BrickColor = Hit.BrickColor | |
| 1429 | P.Material = Hit.Material | |
| 1430 | P.TopSurface = "Smooth" | |
| 1431 | P.BottomSurface = "Smooth" | |
| 1432 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1433 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1434 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 1435 | end | |
| 1436 | end | |
| 1437 | for i = 0,1,0.05 do | |
| 1438 | for i2,v in pairs(Parts) do | |
| 1439 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1440 | end | |
| 1441 | wait(0.02) | |
| 1442 | end | |
| 1443 | for i,v in pairs(Parts) do | |
| 1444 | if v[1].Size.X > 2.1 then | |
| 1445 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1446 | end | |
| 1447 | v[1].Anchored = false | |
| 1448 | end | |
| 1449 | for i = 0,1,0.05 do | |
| 1450 | for i2,v in pairs(Parts) do | |
| 1451 | v[1].Transparency = i | |
| 1452 | if i == 1 then | |
| 1453 | v[1]:Destroy() | |
| 1454 | elseif i >= 0.25 then | |
| 1455 | v[1].CanCollide = false | |
| 1456 | end | |
| 1457 | end | |
| 1458 | wait(0.02) | |
| 1459 | end | |
| 1460 | Parts = nil | |
| 1461 | end) | |
| 1462 | end | |
| 1463 | ||
| 1464 | ---------------------------------------------------- | |
| 1465 | mouse.KeyDown:connect(function(key) | |
| 1466 | if key == "r" then | |
| 1467 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1468 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1469 | if Debounces.CanAttack == true then | |
| 1470 | Debounces.CanAttack = false | |
| 1471 | Debounces.on = true | |
| 1472 | Debounces.NoIdl = true | |
| 1473 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
| 1474 | hit = ht.Parent | |
| 1475 | if ht and hit:IsA("Model") then
| |
| 1476 | if hit:FindFirstChild("Humanoid") then
| |
| 1477 | if hit.Name ~= p.Name then | |
| 1478 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1479 | Debounces.Slashed = true]]-- | |
| 1480 | hit:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1481 | wait(1) | |
| 1482 | --Debounces.Slashed = false | |
| 1483 | --end | |
| 1484 | end | |
| 1485 | end | |
| 1486 | elseif ht and hit:IsA("Hat") then
| |
| 1487 | if hit.Parent.Name ~= p.Name then | |
| 1488 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1489 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1490 | Debounces.Slashed = true]]-- | |
| 1491 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1492 | wait(1) | |
| 1493 | --Debounces.Slashed = false | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end | |
| 1497 | end) | |
| 1498 | q = Instance.new("Sound",hed)
| |
| 1499 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
| 1500 | q.Pitch = 0.85 | |
| 1501 | q.Looped = false | |
| 1502 | q1 = Instance.new("Sound",hed)
| |
| 1503 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
| 1504 | q1.Pitch = 0.85 | |
| 1505 | q1.Looped = false | |
| 1506 | q:Play() | |
| 1507 | q1:Play() | |
| 1508 | for i = 1,20 do | |
| 1509 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
| 1510 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
| 1511 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
| 1512 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
| 1513 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
| 1514 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
| 1515 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5) | |
| 1516 | if Debounces.on == false then break end | |
| 1517 | wait() | |
| 1518 | end | |
| 1519 | n = Instance.new("Sound",hed)
| |
| 1520 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
| 1521 | n.Pitch = 0.94 | |
| 1522 | n.Looped = false | |
| 1523 | n1 = Instance.new("Sound",hed)
| |
| 1524 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
| 1525 | n1.Pitch = 0.94 | |
| 1526 | n1.Looped = false | |
| 1527 | n:Play() | |
| 1528 | n1:Play() | |
| 1529 | b = Instance.new("Sound",hed)
| |
| 1530 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
| 1531 | b.Pitch = 0.94 | |
| 1532 | b.Looped = false | |
| 1533 | b1 = Instance.new("Sound",hed)
| |
| 1534 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
| 1535 | b1.Pitch = 0.94 | |
| 1536 | b1.Looped = false | |
| 1537 | b:Play() | |
| 1538 | b1:Play() | |
| 1539 | for i = 1,26 do | |
| 1540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5) | |
| 1541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5) | |
| 1542 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5) | |
| 1543 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
| 1544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
| 1545 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
| 1546 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5) | |
| 1547 | if Debounces.on == false then break end | |
| 1548 | wait() | |
| 1549 | end | |
| 1550 | wait(.5) | |
| 1551 | to:disconnect() | |
| 1552 | q:Destroy() | |
| 1553 | q1:Destroy() | |
| 1554 | n:Destroy() | |
| 1555 | n1:Destroy() | |
| 1556 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1557 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1558 | if Debounces.CanAttack == false then | |
| 1559 | Debounces.CanAttack = true | |
| 1560 | Debounces.on = false | |
| 1561 | Debounces.NoIdl = false | |
| 1562 | end | |
| 1563 | end | |
| 1564 | end | |
| 1565 | end) | |
| 1566 | ---------------------------------------------------- | |
| 1567 | mouse.KeyDown:connect(function(key) | |
| 1568 | if key == "q" then | |
| 1569 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1570 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1571 | if Debounces.CanAttack == true then | |
| 1572 | Debounces.CanAttack = false | |
| 1573 | Debounces.on = true | |
| 1574 | Debounces.NoIdl = true | |
| 1575 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
| 1576 | hit = ht.Parent | |
| 1577 | if ht and hit:IsA("Model") then
| |
| 1578 | if hit:FindFirstChild("Humanoid") then
| |
| 1579 | if hit.Name ~= p.Name then | |
| 1580 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1581 | Debounces.Slashed = true]]-- | |
| 1582 | hit:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1583 | wait(1) | |
| 1584 | --Debounces.Slashed = false | |
| 1585 | --end | |
| 1586 | end | |
| 1587 | end | |
| 1588 | elseif ht and hit:IsA("Hat") then
| |
| 1589 | if hit.Parent.Name ~= p.Name then | |
| 1590 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1591 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1592 | Debounces.Slashed = true]]-- | |
| 1593 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1594 | wait(1) | |
| 1595 | --Debounces.Slashed = false | |
| 1596 | end | |
| 1597 | end | |
| 1598 | end | |
| 1599 | end) | |
| 1600 | for i = 1, 20 do | |
| 1601 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2) | |
| 1602 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2) | |
| 1603 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
| 1604 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
| 1605 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
| 1606 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
| 1607 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 1608 | if Debounces.on == false then break end | |
| 1609 | wait() | |
| 1610 | end | |
| 1611 | z = Instance.new("Sound",hed)
| |
| 1612 | z.SoundId = "rbxassetid://160069154" | |
| 1613 | z.Looped = false | |
| 1614 | z.Pitch = .9 | |
| 1615 | z1 = Instance.new("Sound",hed)
| |
| 1616 | z1.SoundId = "rbxassetid://160069154" | |
| 1617 | z1.Looped = false | |
| 1618 | z1.Pitch = .9 | |
| 1619 | wait(0.01) | |
| 1620 | z:Play() | |
| 1621 | z1:Play() | |
| 1622 | for i = 1, 12 do | |
| 1623 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2) | |
| 1624 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5) | |
| 1625 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
| 1626 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5) | |
| 1627 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
| 1628 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
| 1629 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 1630 | if Debounces.on == false then break end | |
| 1631 | wait() | |
| 1632 | end | |
| 1633 | for i = 1, 12 do | |
| 1634 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4) | |
| 1635 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
| 1636 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
| 1637 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
| 1638 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
| 1639 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
| 1640 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 1641 | if Debounces.on == false then break end | |
| 1642 | wait() | |
| 1643 | end | |
| 1644 | z = Instance.new("Sound",hed)
| |
| 1645 | z.SoundId = "rbxassetid://168586621" | |
| 1646 | z.Looped = false | |
| 1647 | z.Pitch = 1 | |
| 1648 | z1 = Instance.new("Sound",hed)
| |
| 1649 | z1.SoundId = "rbxassetid://168586621" | |
| 1650 | z1.Looped = false | |
| 1651 | z1.Pitch = 1 | |
| 1652 | wait(0.01) | |
| 1653 | z:Play() | |
| 1654 | z1:Play() | |
| 1655 | for i = 1, 12 do | |
| 1656 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5) | |
| 1657 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4) | |
| 1658 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
| 1659 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
| 1660 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
| 1661 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
| 1662 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1) | |
| 1663 | if Debounces.on == false then break end | |
| 1664 | wait() | |
| 1665 | end | |
| 1666 | to:disconnect() | |
| 1667 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1668 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1669 | if Debounces.CanAttack == false then | |
| 1670 | Debounces.CanAttack = true | |
| 1671 | Debounces.on = false | |
| 1672 | Debounces.NoIdl = false | |
| 1673 | end | |
| 1674 | end | |
| 1675 | end | |
| 1676 | end) | |
| 1677 | ---------------------------------------------------- | |
| 1678 | Sit = false | |
| 1679 | mouse.KeyDown:connect(function(key) | |
| 1680 | if key == "v" then | |
| 1681 | if Sit == false then | |
| 1682 | Sit = true | |
| 1683 | hum.WalkSpeed = 0.001 | |
| 1684 | stanceToggle = "Sitting" | |
| 1685 | elseif Sit == true then | |
| 1686 | Sit = false | |
| 1687 | hum.WalkSpeed = 7 | |
| 1688 | stanceToggle = "Normal" | |
| 1689 | end | |
| 1690 | end | |
| 1691 | end) | |
| 1692 | ---------------------------------------------------- | |
| 1693 | mouse.KeyDown:connect(function(key) | |
| 1694 | if key == "t" then | |
| 1695 | if Debounces.CanAttack == true then | |
| 1696 | Debounces.CanAttack = false | |
| 1697 | Debounces.on = true | |
| 1698 | Debounces.NoIdl = true | |
| 1699 | for i = 1, 20 do | |
| 1700 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
| 1701 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
| 1702 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
| 1703 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
| 1704 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
| 1705 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
| 1706 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
| 1707 | if Debounces.on == false then break end | |
| 1708 | wait() | |
| 1709 | end | |
| 1710 | Spawn(function() | |
| 1711 | local Parts = {}
| |
| 1712 | for Y = -5,5 do | |
| 1713 | local P = Instance.new("Part",char)
| |
| 1714 | P.Anchored = true | |
| 1715 | P.FormFactor = "Custom" | |
| 1716 | P.CanCollide = false | |
| 1717 | P.Size = Vector3.new(1,2,1) | |
| 1718 | P.TopSurface = "SmoothNoOutlines" | |
| 1719 | P.BottomSurface = "SmoothNoOutlines" | |
| 1720 | P.BrickColor = BrickColor.new("Really black")
| |
| 1721 | P.Name = tostring(Y) | |
| 1722 | local i = (Y+5)/(10) | |
| 1723 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
| 1724 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
| 1725 | --[[P.Touched:connect(function(ht) | |
| 1726 | local hit = ht.Parent | |
| 1727 | if hit:FindFirstChild("Humanoid") then
| |
| 1728 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
| 1729 | end | |
| 1730 | end)]]-- | |
| 1731 | s = Instance.new("Sound",P)
| |
| 1732 | s.SoundId = "rbxassetid://228343271" | |
| 1733 | s.Volume = .7 | |
| 1734 | s.Pitch = 0.9 | |
| 1735 | s:Play() | |
| 1736 | P.Touched:connect(function(ht) | |
| 1737 | hit = ht.Parent | |
| 1738 | if ht and hit:IsA("Model") then
| |
| 1739 | if hit:FindFirstChild("Humanoid") then
| |
| 1740 | if hit.Name ~= p.Name then | |
| 1741 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1742 | Debounces.Slashed = true]]-- | |
| 1743 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
| |
| 1744 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1745 | wait(1) | |
| 1746 | --Debounces.Slashed = false | |
| 1747 | --end | |
| 1748 | end | |
| 1749 | end | |
| 1750 | elseif ht and hit:IsA("Hat") then
| |
| 1751 | if hit.Parent.Name ~= p.Name then | |
| 1752 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1753 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1754 | Debounces.Slashed = true]]-- | |
| 1755 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
| |
| 1756 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1757 | wait(1) | |
| 1758 | --Debounces.Slashed = false | |
| 1759 | --end | |
| 1760 | end | |
| 1761 | end | |
| 1762 | end | |
| 1763 | end) | |
| 1764 | Parts[#Parts+1] = P | |
| 1765 | end | |
| 1766 | local BREAKIT = false | |
| 1767 | local CParts = {}
| |
| 1768 | local Rocks = {}
| |
| 1769 | local LastPos = nil | |
| 1770 | for i = 1,70 do | |
| 1771 | for i2,v in pairs(Parts) do | |
| 1772 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
| 1773 | local cf = v.CFrame | |
| 1774 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
| 1775 | v.CFrame = cf | |
| 1776 | v.Transparency = v.Transparency+0.02 | |
| 1777 | if v.Transparency >= 0.975 then BREAKIT = true end | |
| 1778 | if v.Name == "0" then | |
| 1779 | local Ignore = {}
| |
| 1780 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1781 | if v.Character ~= nil then | |
| 1782 | Ignore[#Ignore+1] = v.Character | |
| 1783 | end | |
| 1784 | end | |
| 1785 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
| 1786 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
| 1787 | if Hit ~= nil then | |
| 1788 | if #Rocks == 0 then | |
| 1789 | for i = 1,5 do | |
| 1790 | local P = Instance.new("Part",char)
| |
| 1791 | Rocks[#Rocks+1] = P | |
| 1792 | P.Anchored = true | |
| 1793 | P.FormFactor = "Custom" | |
| 1794 | P.BrickColor = Hit.BrickColor | |
| 1795 | P.Material = Hit.Material | |
| 1796 | P.TopSurface = "Smooth" | |
| 1797 | P.BottomSurface = "Smooth" | |
| 1798 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
| 1799 | end | |
| 1800 | end | |
| 1801 | for i,P in pairs(Rocks) do | |
| 1802 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 1803 | end | |
| 1804 | local P = Instance.new("Part",char)
| |
| 1805 | CParts[#CParts+1] = {P,tick()}
| |
| 1806 | P.Anchored = true | |
| 1807 | P.FormFactor = "Custom" | |
| 1808 | P.BrickColor = Hit.BrickColor | |
| 1809 | P.Material = Hit.Material | |
| 1810 | P.TopSurface = "Smooth" | |
| 1811 | P.BottomSurface = "Smooth" | |
| 1812 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
| 1813 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1814 | Pos = Pos.p | |
| 1815 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
| 1816 | local P = P:Clone() | |
| 1817 | CParts[#CParts+1] = {P,tick()}
| |
| 1818 | P.Parent = char | |
| 1819 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
| 1820 | Pos = Pos.p | |
| 1821 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
| 1822 | if LastPos ~= nil then | |
| 1823 | local P = P:Clone() | |
| 1824 | CParts[#CParts+1] = {P,tick()}
| |
| 1825 | P.Parent = char | |
| 1826 | P.BrickColor = BrickColor.new("Really black")
| |
| 1827 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1828 | Pos = Pos.p | |
| 1829 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1830 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
| 1831 | --P.Velocity = Vector3.new(0,-1000,0) | |
| 1832 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
| 1833 | end | |
| 1834 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1835 | end | |
| 1836 | end | |
| 1837 | end | |
| 1838 | if BREAKIT then break end | |
| 1839 | wait(0.002) | |
| 1840 | end | |
| 1841 | for i,v in pairs(Rocks) do | |
| 1842 | CParts[#CParts+1] = {v,tick()}
| |
| 1843 | end | |
| 1844 | for i,v in pairs(Parts) do | |
| 1845 | v:Destroy() | |
| 1846 | end | |
| 1847 | Parts = nil | |
| 1848 | while true do | |
| 1849 | local t = tick() | |
| 1850 | local p = nil | |
| 1851 | for i,v in pairs(CParts) do | |
| 1852 | if t-v[2] > 4 then | |
| 1853 | v[1].Transparency = v[1].Transparency+0.05 | |
| 1854 | if v[1].Transparency >= 1 then | |
| 1855 | v[1]:Destroy() | |
| 1856 | CParts[i] = nil | |
| 1857 | end | |
| 1858 | end | |
| 1859 | p = v | |
| 1860 | end | |
| 1861 | if p == nil then break end | |
| 1862 | wait(0.002) | |
| 1863 | end | |
| 1864 | for i,v in pairs(CParts) do | |
| 1865 | v:Destroy() | |
| 1866 | end | |
| 1867 | CParts = {}
| |
| 1868 | end) | |
| 1869 | for i = 1, 20 do | |
| 1870 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4) | |
| 1871 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4) | |
| 1872 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4) | |
| 1873 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
| 1874 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
| 1875 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
| 1876 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
| 1877 | if Debounces.on == false then break end | |
| 1878 | wait() | |
| 1879 | end | |
| 1880 | if Debounces.CanAttack == false then | |
| 1881 | Debounces.CanAttack = true | |
| 1882 | Debounces.on = false | |
| 1883 | Debounces.NoIdl = false | |
| 1884 | end | |
| 1885 | end | |
| 1886 | end | |
| 1887 | end) | |
| 1888 | ---------------------------------------------------- | |
| 1889 | mouse.KeyDown:connect(function(key) | |
| 1890 | if key == "e" then | |
| 1891 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1892 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1893 | if Debounces.CanAttack == true then | |
| 1894 | Debounces.CanAttack = false | |
| 1895 | Debounces.on = true | |
| 1896 | Debounces.NoIdl = true | |
| 1897 | for i = 1, 18 do | |
| 1898 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4) | |
| 1899 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
| 1900 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1901 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 1902 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
| 1903 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 1904 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 1905 | if Debounces.on == false then break end | |
| 1906 | wait() | |
| 1907 | end | |
| 1908 | local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1909 | local rng = Instance.new("Part", char.Absolution.Handle)
| |
| 1910 | rng.Anchored = true | |
| 1911 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1912 | rng.CanCollide = true | |
| 1913 | rng.FormFactor = 3 | |
| 1914 | rng.Name = "Ring" | |
| 1915 | rng.Size = Vector3.new(1, 1, 1) | |
| 1916 | rng.CanCollide = false | |
| 1917 | rng.Transparency = 0.35 | |
| 1918 | rng.TopSurface = 0 | |
| 1919 | rng.BottomSurface = 0 | |
| 1920 | rng.CFrame = HandCF | |
| 1921 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1922 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1923 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1924 | x = Instance.new("Sound", hed)
| |
| 1925 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1926 | x.Looped = false | |
| 1927 | x.Pitch = .7 | |
| 1928 | x.Volume = 1 | |
| 1929 | x1 = Instance.new("Sound", hed)
| |
| 1930 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1931 | x1.Looped = false | |
| 1932 | x1.Pitch = .7 | |
| 1933 | x1.Volume = 1 | |
| 1934 | x:Play() | |
| 1935 | x1:Play() | |
| 1936 | rngto = rng.Touched:connect(function(ht) | |
| 1937 | hit = ht.Parent | |
| 1938 | if ht and hit:IsA("Model") then
| |
| 1939 | if hit:FindFirstChild("Humanoid") then
| |
| 1940 | if hit.Name ~= p.Name then | |
| 1941 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1942 | Debounces.Slashed = true]]-- | |
| 1943 | hit:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1944 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1945 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
| |
| 1946 | --Debounces.Slashed = false | |
| 1947 | --end | |
| 1948 | end | |
| 1949 | end | |
| 1950 | elseif ht and hit:IsA("Hat") then
| |
| 1951 | if hit.Parent.Name ~= p.Name then | |
| 1952 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1953 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 1954 | Debounces.Slashed = true]]-- | |
| 1955 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1956 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1957 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
| |
| 1958 | --Debounces.Slashed = false | |
| 1959 | end | |
| 1960 | end | |
| 1961 | end | |
| 1962 | end) | |
| 1963 | coroutine.wrap(function() | |
| 1964 | for i = 1, 60, 2 do | |
| 1965 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 1966 | rng.Size = rngm.Scale | |
| 1967 | rng.CFrame = HandCF | |
| 1968 | rng.Transparency = i/60 | |
| 1969 | wait() | |
| 1970 | end | |
| 1971 | wait() | |
| 1972 | rng:Destroy() | |
| 1973 | end)() | |
| 1974 | for i = 1, 18 do | |
| 1975 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4) | |
| 1976 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
| 1977 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1978 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 1979 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
| 1980 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 1981 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 1982 | if Debounces.on == false then break end | |
| 1983 | wait() | |
| 1984 | end | |
| 1985 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1986 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1987 | x:Destroy() | |
| 1988 | x1:Destroy() | |
| 1989 | if Debounces.CanAttack == false then | |
| 1990 | Debounces.CanAttack = true | |
| 1991 | Debounces.on = false | |
| 1992 | Debounces.NoIdl = false | |
| 1993 | end | |
| 1994 | end | |
| 1995 | end | |
| 1996 | end) | |
| 1997 | ---------------------------------------------------- | |
| 1998 | mouse.KeyDown:connect(function(key) | |
| 1999 | if key == "y" then | |
| 2000 | if Debounces.CanAttack == true then | |
| 2001 | Debounces.CanAttack = false | |
| 2002 | Debounces.on = true | |
| 2003 | Debounces.NoIdl = true | |
| 2004 | for i = 1, 15 do | |
| 2005 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2006 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2) | |
| 2007 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2008 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
| 2009 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2010 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2011 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2012 | if Debounces.on == false then break end | |
| 2013 | wait() | |
| 2014 | end | |
| 2015 | x = Instance.new("Sound",char)
| |
| 2016 | x.SoundId = "rbxassetid://228343271" | |
| 2017 | x.Pitch = 1 | |
| 2018 | x.Volume = .8 | |
| 2019 | wait(.1) | |
| 2020 | x:Play() | |
| 2021 | Debounces.on = false | |
| 2022 | Debounces.Here = false | |
| 2023 | shot = shot + 1 | |
| 2024 | local rng = Instance.new("Part", char)
| |
| 2025 | rng.Anchored = true | |
| 2026 | rng.BrickColor = BrickColor.new("Really black")
| |
| 2027 | rng.CanCollide = false | |
| 2028 | rng.FormFactor = 3 | |
| 2029 | rng.Name = "Ring" | |
| 2030 | rng.Size = Vector3.new(1, 1, 1) | |
| 2031 | rng.Transparency = 0.35 | |
| 2032 | rng.TopSurface = 0 | |
| 2033 | rng.BottomSurface = 0 | |
| 2034 | rng2 = rng:clone() | |
| 2035 | rng3 = rng2:clone() | |
| 2036 | rng4 = rng2:clone() | |
| 2037 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2038 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2039 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2040 | rngm2 = rngm:clone() | |
| 2041 | rngm2.Scale = Vector3.new(5, 5, 1) | |
| 2042 | rngm3=rngm2:clone() | |
| 2043 | rngm3.Parent = rng3 | |
| 2044 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2045 | rngm4 = rngm2:clone() | |
| 2046 | rngm4.Parent = rng4 | |
| 2047 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2048 | local bem = Instance.new("Part", char)
| |
| 2049 | bem.Anchored = true | |
| 2050 | bem.BrickColor = BrickColor.new("Really black")
| |
| 2051 | bem.CanCollide = false | |
| 2052 | bem.FormFactor = 3 | |
| 2053 | bem.Name = "Beam" .. shot | |
| 2054 | bem.Size = Vector3.new(1, 1, 1) | |
| 2055 | bem.Transparency = 0.35 | |
| 2056 | bem.TopSurface = 0 | |
| 2057 | bem.BottomSurface = 0 | |
| 2058 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2059 | bemm.MeshType = 4 | |
| 2060 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2061 | local out = Instance.new("Part", char)
| |
| 2062 | out.Anchored = true | |
| 2063 | out.BrickColor = BrickColor.new("Really black")
| |
| 2064 | out.CanCollide = false | |
| 2065 | out.FormFactor = 3 | |
| 2066 | out.Name = "Out" | |
| 2067 | out.Size = Vector3.new(4, 4, 4) | |
| 2068 | out.Transparency = 0.35 | |
| 2069 | out.TopSurface = 0 | |
| 2070 | out.BottomSurface = 0 | |
| 2071 | local outm = Instance.new("SpecialMesh", out)
| |
| 2072 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2073 | outm.Scale = Vector3.new(4, 4, 4) | |
| 2074 | local bnd = Instance.new("Part", char)
| |
| 2075 | bnd.Anchored = true | |
| 2076 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 2077 | bnd.CanCollide = false | |
| 2078 | bnd.FormFactor = 3 | |
| 2079 | bnd.Name = "Bend" | |
| 2080 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2081 | bnd.Transparency = 1 | |
| 2082 | bnd.TopSurface = 0 | |
| 2083 | bnd.BottomSurface = 0 | |
| 2084 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2085 | bndm.MeshType = 3 | |
| 2086 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2087 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2088 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2089 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2090 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2091 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2092 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
| 2093 | Debounces.Shewt = true | |
| 2094 | coroutine.wrap(function() | |
| 2095 | for i = 1, 20, 0.2 do | |
| 2096 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2097 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
| 2098 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
| 2099 | rng.Transparency = i/20 | |
| 2100 | rng3.Transparency = 1/16 | |
| 2101 | rng4.Transparency = i/12 | |
| 2102 | wait() | |
| 2103 | end | |
| 2104 | wait() | |
| 2105 | rng:Destroy() | |
| 2106 | end)() | |
| 2107 | if Debounces.Shewt == true then | |
| 2108 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2109 | hit = ht.Parent | |
| 2110 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2111 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2112 | deb = true | |
| 2113 | coroutine.wrap(function() | |
| 2114 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2115 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2116 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 2117 | end)() | |
| 2118 | table.insert(Touche, hit.Name) | |
| 2119 | deb = false | |
| 2120 | end | |
| 2121 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2122 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2123 | deb = true | |
| 2124 | coroutine.wrap(function() | |
| 2125 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2126 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2127 | wait(1) | |
| 2128 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2129 | end)() | |
| 2130 | table.insert(Touche, hit.Parent.Name) | |
| 2131 | deb = false | |
| 2132 | for i, v in pairs(Touche) do | |
| 2133 | print(v) | |
| 2134 | end | |
| 2135 | end | |
| 2136 | end | |
| 2137 | end) | |
| 2138 | end | |
| 2139 | for i = 0, 260, 8 do | |
| 2140 | bem.Size = Vector3.new(i, 2, 2) | |
| 2141 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2142 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2143 | bnd.Size = Vector3.new(1,1,1) | |
| 2144 | bndm.Scale = Vector3.new(8,8,8) | |
| 2145 | if i % 10 == 0 then | |
| 2146 | local newRng = rng2:Clone() | |
| 2147 | newRng.Parent = char | |
| 2148 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2149 | local newRngm = rngm2:clone() | |
| 2150 | newRngm.Parent=newRng | |
| 2151 | coroutine.wrap(function() | |
| 2152 | for i = 1, 10, 0.2 do | |
| 2153 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
| 2154 | newRng.Transparency = i/10 | |
| 2155 | wait() | |
| 2156 | end | |
| 2157 | wait() | |
| 2158 | newRng:Destroy() | |
| 2159 | end)() | |
| 2160 | end | |
| 2161 | wait() | |
| 2162 | end | |
| 2163 | wait() | |
| 2164 | Debounces.Shewt = false | |
| 2165 | bem:Destroy() | |
| 2166 | out:Destroy() | |
| 2167 | bnd:Destroy() | |
| 2168 | Debounces.Ready = false | |
| 2169 | for i, v in pairs(Touche) do | |
| 2170 | table.remove(Touche, i) | |
| 2171 | end | |
| 2172 | wait() | |
| 2173 | table.insert(Touche, char.Name) | |
| 2174 | Debounces.NoIdl = false | |
| 2175 | if Debounces.CanAttack == false then | |
| 2176 | Debounces.CanAttack = true | |
| 2177 | end | |
| 2178 | end | |
| 2179 | end | |
| 2180 | end) | |
| 2181 | ---------------------------------------------------- | |
| 2182 | sidz = {"231917888", "231917845", "231917806"}
| |
| 2183 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
| |
| 2184 | mouse.KeyDown:connect(function(key) | |
| 2185 | if key == "f" then | |
| 2186 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 2187 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 2188 | if Debounces.CanAttack == true then | |
| 2189 | Debounces.CanAttack = false | |
| 2190 | Debounces.on = true | |
| 2191 | Debounces.NoIdl = true | |
| 2192 | for i = 1, 10 do | |
| 2193 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4) | |
| 2194 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4) | |
| 2195 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
| 2196 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
| 2197 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
| 2198 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
| 2199 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2200 | if Debounces.on == false then break end | |
| 2201 | wait() | |
| 2202 | end | |
| 2203 | z = Instance.new("Sound",char)
| |
| 2204 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
| 2205 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2206 | z.Volume = 1 | |
| 2207 | z1 = Instance.new("Sound",char)
| |
| 2208 | z1.SoundId = z.SoundId | |
| 2209 | z1.Pitch = z.Pitch | |
| 2210 | z1.Volume = 1 | |
| 2211 | wait(1) | |
| 2212 | z:Play() | |
| 2213 | z1:Play() | |
| 2214 | Stomp() | |
| 2215 | for i = 1, 20 do | |
| 2216 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6) | |
| 2217 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6) | |
| 2218 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
| 2219 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
| 2220 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
| 2221 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
| 2222 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2223 | if Debounces.on == false then break end | |
| 2224 | wait() | |
| 2225 | end | |
| 2226 | if Debounces.CanAttack == false then | |
| 2227 | Debounces.CanAttack = true | |
| 2228 | Debounces.on = false | |
| 2229 | Debounces.NoIdl = false | |
| 2230 | larm.BrickColor = BrickColor.new("Really black")
| |
| 2231 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 2232 | end | |
| 2233 | end | |
| 2234 | end | |
| 2235 | end) | |
| 2236 | ---------------------------------------------------- | |
| 2237 | mouse.KeyDown:connect(function(key) | |
| 2238 | if key == "g" then | |
| 2239 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 2240 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 2241 | if Debounces.CanAttack == true then | |
| 2242 | Debounces.CanAttack = false | |
| 2243 | Debounces.on = true | |
| 2244 | Debounces.NoIdl = true | |
| 2245 | chrg = lleg.Touched:connect(function(ht) | |
| 2246 | hit = ht.Parent | |
| 2247 | if ht and hit:IsA("Model") then
| |
| 2248 | if hit:FindFirstChild("Humanoid") then
| |
| 2249 | if hit.Name ~= p.Name then | |
| 2250 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2251 | Debounces.Slashed = true]]-- | |
| 2252 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2253 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2254 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 2255 | --Debounces.Slashed = false | |
| 2256 | --end | |
| 2257 | end | |
| 2258 | end | |
| 2259 | elseif ht and hit:IsA("Hat") then
| |
| 2260 | if hit.Parent.Name ~= p.Name then | |
| 2261 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2262 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2263 | Debounces.Slashed = true]]-- | |
| 2264 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2265 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2266 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 2267 | --Debounces.Slashed = false | |
| 2268 | end | |
| 2269 | end | |
| 2270 | end | |
| 2271 | end) | |
| 2272 | for i = 1, 14 do | |
| 2273 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5) | |
| 2274 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5) | |
| 2275 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5) | |
| 2276 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
| 2277 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
| 2278 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
| 2279 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
| 2280 | if Debounces.on == false then break end | |
| 2281 | wait() | |
| 2282 | end | |
| 2283 | charge() | |
| 2284 | z = Instance.new("Sound",char)
| |
| 2285 | z.SoundId = "rbxassetid://200632875" | |
| 2286 | z.Volume = 1 | |
| 2287 | z.Pitch = .8 | |
| 2288 | z1 = Instance.new("Sound",char)
| |
| 2289 | z1.SoundId = "rbxassetid://200632875" | |
| 2290 | z1.Volume = 1 | |
| 2291 | z1.Pitch = .9 | |
| 2292 | z:Play() | |
| 2293 | z1:Play() | |
| 2294 | wait(1) | |
| 2295 | z:Destroy() | |
| 2296 | z1:Destroy() | |
| 2297 | chrg:disconnect() | |
| 2298 | if Debounces.CanAttack == false then | |
| 2299 | Debounces.CanAttack = true | |
| 2300 | Debounces.on = false | |
| 2301 | Debounces.NoIdl = false | |
| 2302 | larm.BrickColor = BrickColor.new("Really black")
| |
| 2303 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 2304 | end | |
| 2305 | end | |
| 2306 | end | |
| 2307 | end) | |
| 2308 | ---------------------------------------------------- | |
| 2309 | pt = {0.7, 0.8, 0.9}
| |
| 2310 | mouse.KeyDown:connect(function(key) | |
| 2311 | if key == "h" then | |
| 2312 | if Debounces.CanJoke == true then | |
| 2313 | Debounces.CanJoke = false | |
| 2314 | u = Instance.new("Sound")
| |
| 2315 | u.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
| 2316 | u.Parent = char | |
| 2317 | u.Looped = false | |
| 2318 | u.Pitch = pt[math.random(1,#pt)] | |
| 2319 | u.Volume = 1 | |
| 2320 | u2 = Instance.new("Sound")
| |
| 2321 | u2.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
| 2322 | u2.Parent = char | |
| 2323 | u2.Looped = false | |
| 2324 | u2.Pitch = u.Pitch | |
| 2325 | u2.Volume = 1 | |
| 2326 | wait(.01) | |
| 2327 | u:Play() | |
| 2328 | u2:Play() | |
| 2329 | wait(6) | |
| 2330 | u:Destroy() | |
| 2331 | u2:Destroy() | |
| 2332 | if Debounces.CanJoke == false then | |
| 2333 | Debounces.CanJoke = true | |
| 2334 | end | |
| 2335 | end | |
| 2336 | end | |
| 2337 | end) | |
| 2338 | ---------------------------------------------------- | |
| 2339 | mouse.KeyDown:connect(function(key) | |
| 2340 | if key == "l" then | |
| 2341 | if Debounces.CanJoke == true then | |
| 2342 | Debounces.CanJoke = false | |
| 2343 | z = Instance.new("Sound",char)
| |
| 2344 | z.SoundId = "rbxassetid://233774928" | |
| 2345 | z.Pitch = .76 | |
| 2346 | z.Volume = 1 | |
| 2347 | wait() | |
| 2348 | z:Play() | |
| 2349 | wait(6) | |
| 2350 | z:Destroy() | |
| 2351 | if Debounces.CanJoke == false then | |
| 2352 | Debounces.CanJoke = true | |
| 2353 | end | |
| 2354 | end | |
| 2355 | end | |
| 2356 | end) | |
| 2357 | ---------------------------------------------------- | |
| 2358 | mouse.KeyDown:connect(function(key) | |
| 2359 | if key == "j" then | |
| 2360 | if Debounces.CanJoke == true then | |
| 2361 | Debounces.CanJoke = false | |
| 2362 | z = Instance.new("Sound",char)
| |
| 2363 | z.SoundId = "rbxassetid://135017456" | |
| 2364 | z.Pitch = .76 | |
| 2365 | z.Volume = 1 | |
| 2366 | wait() | |
| 2367 | z:Play() | |
| 2368 | wait(6) | |
| 2369 | z:Destroy() | |
| 2370 | if Debounces.CanJoke == false then | |
| 2371 | Debounces.CanJoke = true | |
| 2372 | end | |
| 2373 | end | |
| 2374 | end | |
| 2375 | end) | |
| 2376 | ---------------------------------------------------- | |
| 2377 | mouse.KeyDown:connect(function(key) | |
| 2378 | if key == "n" then | |
| 2379 | if Debounces.CanJoke == true then | |
| 2380 | Debounces.CanJoke = false | |
| 2381 | z = Instance.new("Sound",char)
| |
| 2382 | z.SoundId = "rbxassetid://130792236" | |
| 2383 | z.Pitch = .76 | |
| 2384 | z.Volume = 1 | |
| 2385 | wait() | |
| 2386 | z:Play() | |
| 2387 | wait(6) | |
| 2388 | z:Destroy() | |
| 2389 | if Debounces.CanJoke == false then | |
| 2390 | Debounces.CanJoke = true | |
| 2391 | end | |
| 2392 | end | |
| 2393 | end | |
| 2394 | end) | |
| 2395 | ---------------------------------------------------- | |
| 2396 | mouse.KeyDown:connect(function(key) | |
| 2397 | if key == "k" then | |
| 2398 | if Debounces.CanJoke == true then | |
| 2399 | Debounces.CanJoke = false | |
| 2400 | z = Instance.new("Sound",char)
| |
| 2401 | z.SoundId = "rbxassetid://135014184" | |
| 2402 | z.Pitch = .76 | |
| 2403 | z.Volume = 1 | |
| 2404 | wait() | |
| 2405 | z:Play() | |
| 2406 | wait(4) | |
| 2407 | z:Destroy() | |
| 2408 | if Debounces.CanJoke == false then | |
| 2409 | Debounces.CanJoke = true | |
| 2410 | end | |
| 2411 | end | |
| 2412 | end | |
| 2413 | end) | |
| 2414 | ---------------------------------------------------- | |
| 2415 | mouse.KeyDown:connect(function(key) | |
| 2416 | if key == "x" then | |
| 2417 | if Debounces.CanAttack == true then | |
| 2418 | Debounces.CanAttack = false | |
| 2419 | Debounces.NoIdl = true | |
| 2420 | Debounces.on = true | |
| 2421 | Debounces.ks = true | |
| 2422 | for i = 1, 10 do | |
| 2423 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
| 2424 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6) | |
| 2425 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
| 2426 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
| 2427 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6) | |
| 2428 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6) | |
| 2429 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2430 | if Debounces.on == false then break end | |
| 2431 | wait() | |
| 2432 | end | |
| 2433 | z = Instance.new("Sound",hed)
| |
| 2434 | z.SoundId = "rbxassetid://169445092" | |
| 2435 | z.Volume = 1 | |
| 2436 | wait(0.1) | |
| 2437 | z:Play() | |
| 2438 | kik = rleg.Touched:connect(function(ht) | |
| 2439 | hit = ht.Parent | |
| 2440 | if ht and hit:IsA("Model") then
| |
| 2441 | if hit:FindFirstChild("Humanoid") then
| |
| 2442 | if hit.Name ~= p.Name then | |
| 2443 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2444 | Debounces.Slashed = true]]-- | |
| 2445 | if Debounces.ks==true then | |
| 2446 | z = Instance.new("Sound",hed)
| |
| 2447 | z.SoundId = "rbxassetid://169380525" | |
| 2448 | z.Volume = 1 | |
| 2449 | z:Play() | |
| 2450 | Debounces.ks=false | |
| 2451 | end | |
| 2452 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2453 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2454 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 2455 | --Debounces.Slashed = false | |
| 2456 | --end | |
| 2457 | end | |
| 2458 | end | |
| 2459 | elseif ht and hit:IsA("Hat") then
| |
| 2460 | if hit.Parent.Name ~= p.Name then | |
| 2461 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2462 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2463 | Debounces.Slashed = true]]-- | |
| 2464 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2465 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2466 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 2467 | --Debounces.Slashed = false | |
| 2468 | --end | |
| 2469 | end | |
| 2470 | end | |
| 2471 | end | |
| 2472 | end) | |
| 2473 | for i = 1, 8 do | |
| 2474 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
| 2475 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7) | |
| 2476 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
| 2477 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
| 2478 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 2479 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7) | |
| 2480 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2481 | if Debounces.on == false then break end | |
| 2482 | wait() | |
| 2483 | end | |
| 2484 | kik:disconnect() | |
| 2485 | if Debounces.CanAttack == false then | |
| 2486 | Debounces.CanAttack = true | |
| 2487 | Debounces.on = false | |
| 2488 | Debounces.NoIdl = false | |
| 2489 | end | |
| 2490 | end | |
| 2491 | end | |
| 2492 | end) | |
| 2493 | ---------------------------------------------------- | |
| 2494 | mouse.KeyDown:connect(function(key) | |
| 2495 | if key == "c" then | |
| 2496 | if Debounces.CanAttack == true then | |
| 2497 | Debounces.CanAttack = false | |
| 2498 | Debounces.NoIdl = true | |
| 2499 | Debounces.on = true | |
| 2500 | SIDZ = {"231917744", "231917742"}
| |
| 2501 | PTZ = {0.7, 0.8, 0.9, 1}
| |
| 2502 | for i = 1, 20 do | |
| 2503 | wait() | |
| 2504 | for i,v in pairs(char.Absolution:children()) do | |
| 2505 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2506 | v.Transparency = v.Transparency + 0.05 | |
| 2507 | end | |
| 2508 | end | |
| 2509 | end | |
| 2510 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2511 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2512 | local List = {}
| |
| 2513 | for i,v in pairs(workspace:GetChildren())do | |
| 2514 | if v:IsA("Model")then
| |
| 2515 | if v:findFirstChild("Torso")then
| |
| 2516 | if v ~= char then | |
| 2517 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2518 | table.insert(List,v) | |
| 2519 | end | |
| 2520 | end | |
| 2521 | end | |
| 2522 | end | |
| 2523 | end | |
| 2524 | return List | |
| 2525 | end | |
| 2526 | GroundPound() | |
| 2527 | for i = 1, 5 do | |
| 2528 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
| 2529 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
| 2530 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2531 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2532 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2533 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2534 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2535 | if Debounces.on == false then break end | |
| 2536 | wait() | |
| 2537 | end | |
| 2538 | GroundPound() | |
| 2539 | for i = 1, 5 do | |
| 2540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
| 2541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
| 2542 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2543 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2545 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2546 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2547 | if Debounces.on == false then break end | |
| 2548 | wait() | |
| 2549 | end | |
| 2550 | GroundPound() | |
| 2551 | for i = 1, 5 do | |
| 2552 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
| 2553 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
| 2554 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2555 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2556 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2557 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2558 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2559 | if Debounces.on == false then break end | |
| 2560 | wait() | |
| 2561 | end | |
| 2562 | GroundPound() | |
| 2563 | for i = 1, 5 do | |
| 2564 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
| 2565 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
| 2566 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2567 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2568 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2569 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2570 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2571 | if Debounces.on == false then break end | |
| 2572 | wait() | |
| 2573 | end | |
| 2574 | GroundPound() | |
| 2575 | for i = 1, 5 do | |
| 2576 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
| 2577 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
| 2578 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2579 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2580 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2581 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2582 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2583 | if Debounces.on == false then break end | |
| 2584 | wait() | |
| 2585 | end | |
| 2586 | GroundPound() | |
| 2587 | for i = 1, 5 do | |
| 2588 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
| 2589 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
| 2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2592 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2593 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2594 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 2595 | if Debounces.on == false then break end | |
| 2596 | wait() | |
| 2597 | end | |
| 2598 | for i = 1, 18 do | |
| 2599 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
| 2600 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
| 2601 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
| 2602 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
| 2603 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
| 2604 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
| 2605 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2606 | if Debounces.on == false then break end | |
| 2607 | wait() | |
| 2608 | end | |
| 2609 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
| 2610 | if v:FindFirstChild('Humanoid') then
| |
| 2611 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 2612 | v.Humanoid.PlatformStand = true | |
| 2613 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 2614 | end | |
| 2615 | end | |
| 2616 | x = Instance.new("Sound",char)
| |
| 2617 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
| 2618 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
| 2619 | x.Volume = 1 | |
| 2620 | wait(0.1) | |
| 2621 | x:Play() | |
| 2622 | Crater(hed,20) | |
| 2623 | for i = 1, 14 do | |
| 2624 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
| 2625 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
| 2626 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
| 2627 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
| 2628 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
| 2629 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
| 2630 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2631 | if Debounces.on == false then break end | |
| 2632 | wait() | |
| 2633 | end | |
| 2634 | if Debounces.CanAttack == false then | |
| 2635 | Debounces.CanAttack = true | |
| 2636 | Debounces.on = false | |
| 2637 | Debounces.NoIdl = false | |
| 2638 | for i = 1, 20 do | |
| 2639 | wait() | |
| 2640 | for i,v in pairs(char.Absolution:children()) do | |
| 2641 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2642 | v.Transparency = v.Transparency - 0.05 | |
| 2643 | end | |
| 2644 | end | |
| 2645 | end | |
| 2646 | end | |
| 2647 | end | |
| 2648 | end | |
| 2649 | end) | |
| 2650 | ----------------------------------------------------176349813 | |
| 2651 | mouse.KeyDown:connect(function(key) | |
| 2652 | if key == "b" then | |
| 2653 | hum.WalkSpeed = 0.01 | |
| 2654 | if Debounces.CanAttack == true then | |
| 2655 | Debounces.CanAttack = false | |
| 2656 | Debounces.NoIdl = true | |
| 2657 | Debounces.on = true | |
| 2658 | for i = 1,20 do | |
| 2659 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
| 2660 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
| 2661 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
| 2662 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
| 2663 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
| 2664 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
| 2665 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2666 | if Debounces.on == false then break end | |
| 2667 | wait() | |
| 2668 | end | |
| 2669 | wait(1) | |
| 2670 | v = Instance.new("Sound")
| |
| 2671 | v.SoundId = "rbxassetid://181384451" | |
| 2672 | v.Parent = char | |
| 2673 | v.Looped = false | |
| 2674 | v.Pitch = 1.04 | |
| 2675 | v.Volume = 1 | |
| 2676 | wait(.01) | |
| 2677 | v:Play() | |
| 2678 | ||
| 2679 | if Daytime == true then | |
| 2680 | Daytime = false | |
| 2681 | l.TimeOfDay = 24 | |
| 2682 | else | |
| 2683 | Daytime = true | |
| 2684 | l.TimeOfDay = 12 | |
| 2685 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 2686 | end | |
| 2687 | ||
| 2688 | local Shockwave = function() | |
| 2689 | local rng1 = Instance.new("Part", char)
| |
| 2690 | rng1.Anchored = true | |
| 2691 | rng1.BrickColor = BrickColor.new("Really black")
| |
| 2692 | rng1.CanCollide = false | |
| 2693 | rng1.FormFactor = 3 | |
| 2694 | rng1.Name = "Ring" | |
| 2695 | rng1.Size = Vector3.new(1, 1, 1) | |
| 2696 | rng1.Transparency = 0.35 | |
| 2697 | rng1.TopSurface = 0 | |
| 2698 | rng1.BottomSurface = 0 | |
| 2699 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 2700 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2701 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 2702 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 2703 | local Wave = Instance.new("Part", game.Workspace--[[?]])
| |
| 2704 | Wave.Name = "Shockwave" | |
| 2705 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 2706 | Wave.Size = Vector3.new(1, 1, 1) | |
| 2707 | Wave.Shape = "Ball" | |
| 2708 | Wave.CanCollide = false | |
| 2709 | Wave.Anchored = true | |
| 2710 | Wave.TopSurface = 0 | |
| 2711 | Wave.BottomSurface = 0 | |
| 2712 | Wave.Touched:connect(function(hit) | |
| 2713 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 2714 | local Occlude = true | |
| 2715 | local NotOccludes = {
| |
| 2716 | char.Name; | |
| 2717 | "Wings"; | |
| 2718 | "Scythe"; | |
| 2719 | "Thingy"; | |
| 2720 | "Thingy2"; -- put all of the names in a table pls | |
| 2721 | } | |
| 2722 | for i,v in pairs(NotOccludes) do | |
| 2723 | if hit.Parent.Name == v then | |
| 2724 | Occlude = false | |
| 2725 | end | |
| 2726 | end | |
| 2727 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
| 2728 | if Occlude then | |
| 2729 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 2730 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 2731 | end | |
| 2732 | end | |
| 2733 | end) | |
| 2734 | ||
| 2735 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 2736 | ||
| 2737 | coroutine.wrap(function() | |
| 2738 | for i = 1, 20, 0.2 do | |
| 2739 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2740 | rng1.Transparency = i/20 | |
| 2741 | wait() | |
| 2742 | end | |
| 2743 | wait() | |
| 2744 | rng1:Destroy() | |
| 2745 | end)() | |
| 2746 | ||
| 2747 | Delay(0, function() | |
| 2748 | ||
| 2749 | if Daytime == false then | |
| 2750 | for i = 1, 50, 1 do | |
| 2751 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 2752 | Wave.CFrame = char.Torso.CFrame | |
| 2753 | local t = i / 50 | |
| 2754 | Wave.Transparency = t | |
| 2755 | wait() | |
| 2756 | end | |
| 2757 | else | |
| 2758 | for i = 1, 50, 1 do | |
| 2759 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 2760 | Wave.CFrame = char.Torso.CFrame | |
| 2761 | local t = i / 50 | |
| 2762 | Wave.Transparency = t | |
| 2763 | wait() | |
| 2764 | end | |
| 2765 | end | |
| 2766 | Wave:Destroy() | |
| 2767 | end) | |
| 2768 | Delay(0, function() | |
| 2769 | while wait() do | |
| 2770 | if Wave ~= nil then | |
| 2771 | Wave.CFrame = char.Torso.CFrame | |
| 2772 | else | |
| 2773 | break | |
| 2774 | end | |
| 2775 | end | |
| 2776 | end) | |
| 2777 | end | |
| 2778 | Shockwave() | |
| 2779 | for i = 1, 15 do | |
| 2780 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2781 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2782 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2783 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2784 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2785 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2786 | if Debounces.on == false then break end | |
| 2787 | wait() | |
| 2788 | end | |
| 2789 | for i = 1, 15 do | |
| 2790 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2791 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2792 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2793 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2794 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2795 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2796 | if Debounces.on == false then break end | |
| 2797 | wait() | |
| 2798 | end | |
| 2799 | for i = 1, 15 do | |
| 2800 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2801 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2802 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2803 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2804 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2805 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2806 | if Debounces.on == false then break end | |
| 2807 | wait() | |
| 2808 | end | |
| 2809 | for i = 1, 15 do | |
| 2810 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2811 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2812 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2813 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2814 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2815 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2816 | if Debounces.on == false then break end | |
| 2817 | wait() | |
| 2818 | end | |
| 2819 | for i = 1, 15 do | |
| 2820 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
| 2821 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
| 2822 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2823 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
| 2824 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2825 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2826 | if Debounces.on == false then break end | |
| 2827 | wait() | |
| 2828 | end | |
| 2829 | for i = 1, 15 do | |
| 2830 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
| 2831 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
| 2832 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2833 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
| 2834 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2835 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2836 | if Debounces.on == false then break end | |
| 2837 | wait() | |
| 2838 | end | |
| 2839 | wait(1.4) | |
| 2840 | Debounces.NoIdl = false | |
| 2841 | hum.WalkSpeed = 5 | |
| 2842 | Debounces.on = false | |
| 2843 | wait() | |
| 2844 | if Debounces.CanAttack == false then | |
| 2845 | Debounces.CanAttack = true | |
| 2846 | v:Destroy() | |
| 2847 | end | |
| 2848 | end | |
| 2849 | end | |
| 2850 | end) | |
| 2851 | ---------------------------------------------------- | |
| 2852 | mouse.KeyDown:connect(function(key) | |
| 2853 | if key == "m" then | |
| 2854 | hum.WalkSpeed = 0 | |
| 2855 | if Debounces.CanAttack == true then | |
| 2856 | Debounces.CanAttack = false | |
| 2857 | Debounces.on = true | |
| 2858 | Debounces.NoIdl = true | |
| 2859 | --[[x = Instance.new("Sound",char)
| |
| 2860 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
| 2861 | x.Looped = false | |
| 2862 | x.Pitch = 1.1 | |
| 2863 | x.Volume = 1 | |
| 2864 | x:Play() | |
| 2865 | x2 = Instance.new("Sound",char)
| |
| 2866 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
| 2867 | x2.Looped = false | |
| 2868 | x2.Pitch = .7 | |
| 2869 | x2.Volume = 1 | |
| 2870 | wait(.1) | |
| 2871 | x:Play() | |
| 2872 | x2:Play() | |
| 2873 | for i = 1, 20 do | |
| 2874 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
| 2875 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
| 2876 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
| 2877 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
| 2878 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
| 2879 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
| 2880 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4) | |
| 2881 | if Debounces.on == false then break end | |
| 2882 | wait() | |
| 2883 | x:Destroy() | |
| 2884 | x2:Destroy() | |
| 2885 | end | |
| 2886 | wait(1)]]-- | |
| 2887 | local rng = Instance.new("Part", char)
| |
| 2888 | rng.Anchored = true | |
| 2889 | rng.BrickColor = BrickColor.new("Really black")
| |
| 2890 | rng.CanCollide = false | |
| 2891 | rng.FormFactor = 3 | |
| 2892 | rng.Name = "Ring" | |
| 2893 | rng.Size = Vector3.new(1, 1, 1) | |
| 2894 | rng.Transparency = 0.35 | |
| 2895 | rng.TopSurface = 0 | |
| 2896 | rng.BottomSurface = 0 | |
| 2897 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 2898 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2899 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2900 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2901 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 2902 | x = Instance.new("Sound",char)
| |
| 2903 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 2904 | x.Looped = false | |
| 2905 | x.Pitch = .7 | |
| 2906 | x.Volume = 1 | |
| 2907 | x:Play() | |
| 2908 | coroutine.wrap(function() | |
| 2909 | for i = 1, 60, 2 do | |
| 2910 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 2911 | rng.Transparency = i/60 | |
| 2912 | wait() | |
| 2913 | end | |
| 2914 | wait() | |
| 2915 | rng:Destroy() | |
| 2916 | end)() | |
| 2917 | hum.WalkSpeed = 50 | |
| 2918 | BV = Instance.new("BodyVelocity", torso)
| |
| 2919 | BV.maxForce = Vector3.new(0,200000,0) | |
| 2920 | BV.P = 100000 | |
| 2921 | BV.velocity = Vector3.new(0,800,0) | |
| 2922 | for i = 1, 20 do | |
| 2923 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
| 2924 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
| 2925 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 2926 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
| 2927 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 2928 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 2929 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2930 | if Debounces.on == false then break end | |
| 2931 | wait() | |
| 2932 | end | |
| 2933 | x:Destroy() | |
| 2934 | BV:Destroy() | |
| 2935 | --[[for i = 1, 30 do | |
| 2936 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 2937 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
| 2938 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 2939 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 2940 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 2941 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 2942 | if Debounces.on == false then break end | |
| 2943 | wait() | |
| 2944 | end]]-- | |
| 2945 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 2946 | for i = 1, 30 do | |
| 2947 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
| 2948 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2949 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 2950 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 2951 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2952 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2953 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 2954 | if Debounces.on == false then break end | |
| 2955 | wait() | |
| 2956 | end | |
| 2957 | end | |
| 2958 | Debounces.on = false | |
| 2959 | Debounces.NoIdl = false | |
| 2960 | local ry,ht,ps=nil,nil,nil | |
| 2961 | while ht==nil do | |
| 2962 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 2963 | wait() | |
| 2964 | end | |
| 2965 | z = Instance.new("Sound",char)
| |
| 2966 | z.SoundId = "rbxassetid://142070127" | |
| 2967 | z.Volume = 1 | |
| 2968 | wait(.1) | |
| 2969 | z:Play() | |
| 2970 | Landing() | |
| 2971 | hum.WalkSpeed = 8 | |
| 2972 | if Debounces.CanAttack == false then | |
| 2973 | Debounces.CanAttack = true | |
| 2974 | end | |
| 2975 | end | |
| 2976 | end | |
| 2977 | end) | |
| 2978 | ---------------------------------------------------- | |
| 2979 | Grab = false | |
| 2980 | mouse.KeyDown:connect(function(key) | |
| 2981 | if key == "z" then | |
| 2982 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 2983 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 2984 | Debounces.on = true | |
| 2985 | Debounces.NoIdl = true | |
| 2986 | if Grab == false then | |
| 2987 | gp = nil | |
| 2988 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 2989 | ht = hit.Parent | |
| 2990 | hum1=ht:FindFirstChild('Humanoid')
| |
| 2991 | if hum1 ~= nil then | |
| 2992 | hum1.PlatformStand=true | |
| 2993 | gp = ht | |
| 2994 | Grab = true | |
| 2995 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
| |
| 2996 | asd.Parent = larm | |
| 2997 | asd.Name = "asd" | |
| 2998 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
| 2999 | elseif hum1 == nil then | |
| 3000 | con1:disconnect() | |
| 3001 | wait() return | |
| 3002 | end | |
| 3003 | end) | |
| 3004 | for i = 1, 18 do | |
| 3005 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
| 3006 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
| 3007 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 3008 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
| 3009 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
| 3010 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
| 3011 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
| 3012 | if Debounces.on == false then break end | |
| 3013 | wait() | |
| 3014 | end | |
| 3015 | con1:disconnect() | |
| 3016 | Debounces.on = false | |
| 3017 | Debounces.NoIdl = false | |
| 3018 | elseif Grab == true then | |
| 3019 | Grab = false | |
| 3020 | for i = 1, 20 do | |
| 3021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
| 3022 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
| 3023 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 3024 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3025 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3026 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3027 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 3028 | if Debounces.on == false then end | |
| 3029 | wait() | |
| 3030 | end | |
| 3031 | if gp ~= nil then | |
| 3032 | for i,v in pairs(larm:GetChildren()) do | |
| 3033 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 3034 | v:Remove() | |
| 3035 | end | |
| 3036 | end | |
| 3037 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 3038 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 3039 | bv.P = 125000 | |
| 3040 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
| 3041 | for i = 1, 12 do | |
| 3042 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
| 3043 | if Debounces.on == false then end | |
| 3044 | wait() | |
| 3045 | end | |
| 3046 | ht=nil | |
| 3047 | Spawn(function() | |
| 3048 | wait(0.5) | |
| 3049 | bv:Destroy() | |
| 3050 | end) | |
| 3051 | Debounces.on = false | |
| 3052 | Debounces.NoIdl = false | |
| 3053 | elseif ht == nil then wait() | |
| 3054 | Grab = false | |
| 3055 | Debounces.on = false | |
| 3056 | Debounces.NoIdl = false | |
| 3057 | end | |
| 3058 | end | |
| 3059 | end | |
| 3060 | end) | |
| 3061 | ---------------------------------------------------- | |
| 3062 | mouse.KeyDown:connect(function(key) | |
| 3063 | if string.byte(key) == 52 then | |
| 3064 | char.Humanoid.WalkSpeed = 21 | |
| 3065 | end | |
| 3066 | end) | |
| 3067 | mouse.KeyUp:connect(function(key) | |
| 3068 | if string.byte(key) == 52 then | |
| 3069 | char.Humanoid.WalkSpeed = 5 | |
| 3070 | end | |
| 3071 | end) | |
| 3072 | ---------------------------------------------------- | |
| 3073 | local animpose = "Idle" | |
| 3074 | local lastanimpose = "Idle" | |
| 3075 | local sine = 0 | |
| 3076 | local change = 1 | |
| 3077 | local val = 0 | |
| 3078 | local ffing = false | |
| 3079 | ---------------------------------------------------- | |
| 3080 | --[[x = Instance.new("Sound", char)
| |
| 3081 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
| 3082 | x.Looped = true | |
| 3083 | x.Volume = 1 | |
| 3084 | x.Pitch = 1 | |
| 3085 | local footsteps = false]]-- | |
| 3086 | ------------------------------- | |
| 3087 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3088 | --[[if char.Humanoid.Jump == true then | |
| 3089 | jump = true | |
| 3090 | else | |
| 3091 | jump = false | |
| 3092 | end]] | |
| 3093 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3094 | if f then | |
| 3095 | ffing = true | |
| 3096 | else | |
| 3097 | ffing = false | |
| 3098 | end | |
| 3099 | end) | |
| 3100 | sine = sine + change | |
| 3101 | if jumpn == true then | |
| 3102 | animpose = "Jumping" | |
| 3103 | elseif ffing == true then | |
| 3104 | animpose = "Freefalling" | |
| 3105 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3106 | animpose = "Idle" | |
| 3107 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3108 | animpose = "Walking" | |
| 3109 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3110 | animpose = "Running" | |
| 3111 | end | |
| 3112 | if animpose ~= lastanimpose then | |
| 3113 | sine = 0 | |
| 3114 | if Debounces.NoIdl == false then | |
| 3115 | if animpose == "Idle" then | |
| 3116 | for i = 1, 2 do | |
| 3117 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
| 3118 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 3119 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 3120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3121 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3122 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3123 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 3124 | end | |
| 3125 | elseif animpose == "Walking" then | |
| 3126 | for i = 1, 2 do | |
| 3127 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) | |
| 3128 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
| 3129 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
| 3130 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
| 3131 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
| 3132 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
| 3133 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 3134 | end | |
| 3135 | elseif animpose == "Running" then | |
| 3136 | for i = 1, 2 do | |
| 3137 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) | |
| 3138 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
| 3139 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
| 3140 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
| 3141 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
| 3142 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
| 3143 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 3144 | end | |
| 3145 | wait() | |
| 3146 | end | |
| 3147 | else | |
| 3148 | end | |
| 3149 | end | |
| 3150 | lastanimpose = animpose | |
| 3151 | if Debounces.NoIdl == false then | |
| 3152 | if animpose == "Idle" then | |
| 3153 | if stanceToggle == "Normal" then | |
| 3154 | change = 0.5 | |
| 3155 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
| 3156 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
| 3157 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
| 3158 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
| 3159 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3160 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3161 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 3162 | elseif stanceToggle == "Sitting" then | |
| 3163 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
| 3164 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
| 3165 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
| 3166 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
| 3167 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
| 3168 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
| 3169 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 3170 | end | |
| 3171 | elseif animpose == "Walking" then | |
| 3172 | if stanceToggle == "Normal" then | |
| 3173 | change = 1 | |
| 3174 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2) | |
| 3175 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2) | |
| 3176 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
| 3177 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
| 3178 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) | |
| 3179 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) | |
| 3180 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
| 3181 | end | |
| 3182 | elseif animpose == "Running" then | |
| 3183 | change = 1 | |
| 3184 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
| 3185 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
| 3186 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
| 3187 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
| 3188 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
| 3189 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
| 3190 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
| 3191 | end | |
| 3192 | end | |
| 3193 | --[[if animpose == "Walking" then | |
| 3194 | if footsteps == false then | |
| 3195 | x:Play() | |
| 3196 | footsteps = true | |
| 3197 | end | |
| 3198 | x.Pitch = 1.1 | |
| 3199 | elseif animpose == "Idle" then | |
| 3200 | x:Stop() | |
| 3201 | footsteps = false | |
| 3202 | elseif animpose == "Running" then | |
| 3203 | x.Pitch = 1.2 | |
| 3204 | if footsteps == false then | |
| 3205 | x:Play() | |
| 3206 | footsteps = true | |
| 3207 | end | |
| 3208 | end]]-- | |
| 3209 | end) | |
| 3210 | game.Players.LocalPlayer.Humanoid.MaxHealth = 10000000 | |
| 3211 | wait() | |
| 3212 | game.Players.LocalPlayer.Humanoid.Health = 10000000 |