SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --[[PointCoded's Edit Of The Titan Script]]-- |
| 1 | + | |
| 2 | - | --[[Old]]-- |
| 2 | + | |
| 3 | local mouse = p:GetMouse() | |
| 4 | local larm = char["Left Arm"] | |
| 5 | local rarm = char["Right Arm"] | |
| 6 | local TitanBet = ";" | |
| 7 | local lleg = char["Left Leg"] | |
| 8 | local rleg = char["Right Leg"] | |
| 9 | local hed = char.Head | |
| 10 | local torso = char.Torso | |
| 11 | local hum = char.Humanoid | |
| 12 | local cam = game.Workspace.CurrentCamera | |
| 13 | local root = char.HumanoidRootPart | |
| 14 | local deb = false | |
| 15 | local shot = 0 | |
| 16 | local l = game:GetService("Lighting")
| |
| 17 | local rs = game:GetService("RunService").RenderStepped
| |
| 18 | local stanceToggle = "Normal" | |
| 19 | local Mana = Instance.new("IntValue", char)
| |
| 20 | Mana.Value = 5000 | |
| 21 | Mana.Name = "Mana" | |
| 22 | math.randomseed(os.time()) | |
| 23 | hum.WalkSpeed = 50 | |
| 24 | char.Health:Destroy() | |
| 25 | hum.MaxHealth = math.huge | |
| 26 | wait(0.1) | |
| 27 | hum.Health = math.huge | |
| 28 | ---------------------------------------------------- | |
| 29 | local G = Instance.new("ScreenGui")
| |
| 30 | G.Parent = p.PlayerGui | |
| 31 | G.Name = "Mana" | |
| 32 | local T = Instance.new("TextLabel")
| |
| 33 | T.Name = "Mana" | |
| 34 | T.Parent = G | |
| 35 | T.Text = "Mana: "..char.Mana.Value | |
| 36 | T.FontSize = "Size24" | |
| 37 | T.BackgroundTransparency = 1 | |
| 38 | T.TextColor3 = Color3.new(255,255,255) | |
| 39 | T.TextStrokeTransparency = 0 | |
| 40 | T.Position = UDim2.new(0,250,0,400) | |
| 41 | T.BorderSizePixel = 0 | |
| 42 | --// | |
| 43 | for i = 1,30 do | |
| 44 | Instance.new('Fire',larm); Instance.new('Fire',rarm)
| |
| 45 | end | |
| 46 | --// | |
| 47 | Debounces = {
| |
| 48 | on = false; | |
| 49 | ks = false; | |
| 50 | CanAttack = true; | |
| 51 | CanJoke = true; | |
| 52 | NoIdl = false; | |
| 53 | Slashing = false; | |
| 54 | Slashed = false; | |
| 55 | Grabbing = false; | |
| 56 | Grabbed = false; | |
| 57 | } | |
| 58 | local Touche = {char.Name, }
| |
| 59 | ---------------------------------------------------- | |
| 60 | function lerp(a, b, t) -- Linear interpolation | |
| 61 | return a + (b - a)*t | |
| 62 | end | |
| 63 | ||
| 64 | function slerp(a, b, t) --Spherical interpolation | |
| 65 | dot = a:Dot(b) | |
| 66 | if dot > 0.99999 or dot < -0.99999 then | |
| 67 | return t <= 0.5 and a or b | |
| 68 | else | |
| 69 | r = math.acos(dot) | |
| 70 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 71 | end | |
| 72 | end | |
| 73 | ||
| 74 | function matrixInterpolate(a, b, t) | |
| 75 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 76 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 77 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 78 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 79 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 80 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 81 | local t = v1:Dot(v2) | |
| 82 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 83 | return CFrame.new() | |
| 84 | end | |
| 85 | return CFrame.new( | |
| 86 | v0.x, v0.y, v0.z, | |
| 87 | v1.x, v1.y, v1.z, | |
| 88 | v2.x, v2.y, v2.z, | |
| 89 | v3.x, v3.y, v3.z) | |
| 90 | end | |
| 91 | ----------------------------------------------------//Mesh setting | |
| 92 | local cmeshes = {}
| |
| 93 | local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
| |
| 94 | ll.BodyPart = 'LeftLeg' | |
| 95 | rl.BodyPart = 'RightLeg' | |
| 96 | la.BodyPart = 'LeftArm' | |
| 97 | ra.BodyPart = 'RightArm' | |
| 98 | t.BodyPart = 'Torso' | |
| 99 | ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314 | |
| 100 | ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314 | |
| 101 | t.MeshId,t.OverlayTextureId=68241695,18051314 | |
| 102 | ||
| 103 | ---------------------------------------------------- | |
| 104 | function genWeld(a,b) | |
| 105 | local w = Instance.new("Weld",a)
| |
| 106 | w.Part0 = a | |
| 107 | w.Part1 = b | |
| 108 | return w | |
| 109 | end | |
| 110 | function weld(a, b) | |
| 111 | local weld = Instance.new("Weld")
| |
| 112 | weld.Name = "W" | |
| 113 | weld.Part0 = a | |
| 114 | weld.Part1 = b | |
| 115 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 116 | weld.Parent = a | |
| 117 | return weld; | |
| 118 | end | |
| 119 | ---------------------------------------------------- | |
| 120 | function Lerp(c1,c2,al) | |
| 121 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 122 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 123 | for i,v in pairs(com1) do | |
| 124 | com1[i] = v+(com2[i]-v)*al | |
| 125 | end | |
| 126 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 127 | end | |
| 128 | ---------------------------------------------------- | |
| 129 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 130 | local wld = Instance.new("Weld", wp1)
| |
| 131 | wld.Part0 = wp0 | |
| 132 | wld.Part1 = wp1 | |
| 133 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 134 | end | |
| 135 | ---------------------------------------------------- | |
| 136 | for i,v in pairs(char:children()) do | |
| 137 | if v:IsA("Hat") then
| |
| 138 | v:Destroy() | |
| 139 | end | |
| 140 | end | |
| 141 | for i,v in pairs(hed:children()) do | |
| 142 | if v:IsA("Sound") then
| |
| 143 | v:Destroy() | |
| 144 | end | |
| 145 | end | |
| 146 | ---------------------------------------------------- | |
| 147 | function HasntTouched(plrname) | |
| 148 | local ret = true | |
| 149 | for _, v in pairs(Touche) do | |
| 150 | if v == plrname then | |
| 151 | ret = false | |
| 152 | end | |
| 153 | end | |
| 154 | return ret | |
| 155 | end | |
| 156 | ---------------------------------------------------- | |
| 157 | larm.Size = larm.Size * 2 | |
| 158 | rarm.Size = rarm.Size * 2 | |
| 159 | lleg.Size = lleg.Size * 2 | |
| 160 | rleg.Size = rleg.Size * 2 | |
| 161 | torso.Size = torso.Size * 2 | |
| 162 | hed.Size = hed.Size * 2 | |
| 163 | root.Size = root.Size * 2 | |
| 164 | ---------------------------------------------------- | |
| 165 | newWeld(torso, larm, -1.5, 1, 0) | |
| 166 | larm.Weld.C1 = CFrame.new(0, 1, 0) | |
| 167 | newWeld(torso, rarm, 1.5, 1, 0) | |
| 168 | rarm.Weld.C1 = CFrame.new(0, 1, 0) | |
| 169 | newWeld(torso, hed, 0, 3, 0) | |
| 170 | newWeld(torso, lleg, -1, -2, 0) | |
| 171 | lleg.Weld.C1 = CFrame.new(0, 1.5, 0) | |
| 172 | newWeld(torso, rleg, 1, -2, 0) | |
| 173 | rleg.Weld.C1 = CFrame.new(0, 1.5, 0) | |
| 174 | newWeld(root, torso, 0, -2, 0) | |
| 175 | torso.Weld.C1 = CFrame.new(0, -2, 0) | |
| 176 | ---------------------------------------------------- | |
| 177 | ||
| 178 | hed.face:Remove'' | |
| 179 | hed.Transparency = 0 | |
| 180 | local meshx9 = Instance.new('SpecialMesh',hed)
| |
| 181 | meshx9.MeshType = 'FileMesh' | |
| 182 | meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107' | |
| 183 | meshx9.Scale = Vector3.new(2,2,2) | |
| 184 | ||
| 185 | ||
| 186 | ||
| 187 | lite = Instance.new("PointLight", torso)
| |
| 188 | lite.Brightness = 14 | |
| 189 | lite.Range = 10 | |
| 190 | lite.Color = Color3.new(1, 0, 0) | |
| 191 | local hed2 = hed:Clone() | |
| 192 | hed2.CanCollide = false | |
| 193 | hed2.Parent = char | |
| 194 | hed2:ClearAllChildren() | |
| 195 | hed2.Transparency = 1 | |
| 196 | hed2.Name = "DARP" | |
| 197 | local w = Instance.new("Weld",hed2)
| |
| 198 | w.Part0 = hed | |
| 199 | w.Part1 = hed2 | |
| 200 | w.C0 = CFrame.new(0,0,-0.175) | |
| 201 | z=Instance.new("SurfaceGui",hed2)
| |
| 202 | z.Enabled = true | |
| 203 | z.Face = "Front" | |
| 204 | z.Adornee = hed2 | |
| 205 | z.CanvasSize = Vector2.new(100,100) | |
| 206 | local face = Instance.new("ImageLabel",z)
| |
| 207 | face.Size = UDim2.new(1,-30,1,0) | |
| 208 | face.Position = UDim2.new(0,15,0,0) | |
| 209 | face.BackgroundTransparency = 1 | |
| 210 | face.Image='rbxassetid://46282671' | |
| 211 | ---------------------------------------------------- | |
| 212 | local m = Instance.new("Model")
| |
| 213 | m.Name = "Absolution" | |
| 214 | p1 = Instance.new("Part", m)
| |
| 215 | p1.BrickColor = BrickColor.new("Really black")
| |
| 216 | p1.FormFactor = Enum.FormFactor.Custom | |
| 217 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
| 218 | 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) | |
| 219 | p1.CanCollide = false | |
| 220 | p1.Locked = true | |
| 221 | p1.Elasticity = 0 | |
| 222 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 223 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 224 | b1 = Instance.new("SpecialMesh", p1)
| |
| 225 | b1.MeshType = Enum.MeshType.Wedge | |
| 226 | b1.Name = "Mesh" | |
| 227 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 228 | p2 = Instance.new("Part", m)
| |
| 229 | p2.BrickColor = BrickColor.new("Really black")
| |
| 230 | p2.FormFactor = Enum.FormFactor.Custom | |
| 231 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
| 232 | 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) | |
| 233 | p2.CanCollide = false | |
| 234 | p2.Locked = true | |
| 235 | p2.Elasticity = 0 | |
| 236 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 237 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 238 | b2 = Instance.new("BlockMesh", p2)
| |
| 239 | b2.Name = "Mesh" | |
| 240 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 241 | p3 = Instance.new("Part", m)
| |
| 242 | p3.BrickColor = BrickColor.new("Really black")
| |
| 243 | p3.FormFactor = Enum.FormFactor.Custom | |
| 244 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
| 245 | 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) | |
| 246 | p3.CanCollide = false | |
| 247 | p3.Locked = true | |
| 248 | p3.Elasticity = 0 | |
| 249 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 250 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 251 | b3 = Instance.new("SpecialMesh", p3)
| |
| 252 | b3.MeshType = Enum.MeshType.Wedge | |
| 253 | b3.Name = "Mesh" | |
| 254 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 255 | p4 = Instance.new("Part", m)
| |
| 256 | p4.BrickColor = BrickColor.new("Really black")
| |
| 257 | p4.FormFactor = Enum.FormFactor.Custom | |
| 258 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
| 259 | 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) | |
| 260 | p4.CanCollide = false | |
| 261 | p4.Locked = true | |
| 262 | p4.Elasticity = 0 | |
| 263 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 264 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 265 | b4 = Instance.new("SpecialMesh", p4)
| |
| 266 | b4.MeshType = Enum.MeshType.Wedge | |
| 267 | b4.Name = "Mesh" | |
| 268 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 269 | p5 = Instance.new("Part", m)
| |
| 270 | p5.BrickColor = BrickColor.new("Really black")
| |
| 271 | p5.FormFactor = Enum.FormFactor.Custom | |
| 272 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
| 273 | 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) | |
| 274 | p5.CanCollide = false | |
| 275 | p5.Locked = true | |
| 276 | p5.Elasticity = 0 | |
| 277 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 278 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 279 | b5 = Instance.new("SpecialMesh", p5)
| |
| 280 | b5.MeshType = Enum.MeshType.Wedge | |
| 281 | b5.Name = "Mesh" | |
| 282 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
| 283 | p6 = Instance.new("Part", m)
| |
| 284 | p6.Name = "Handle" | |
| 285 | p6.BrickColor = BrickColor.new(192) | |
| 286 | p6.FormFactor = Enum.FormFactor.Custom | |
| 287 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
| 288 | 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) | |
| 289 | p6.CanCollide = false | |
| 290 | p6.Locked = true | |
| 291 | p6.Elasticity = 0 | |
| 292 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 293 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 294 | b6 = Instance.new("BlockMesh", p6)
| |
| 295 | b6.Name = "Mesh" | |
| 296 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 297 | p7 = Instance.new("Part", m)
| |
| 298 | p7.BrickColor = BrickColor.new("Really black")
| |
| 299 | p7.FormFactor = Enum.FormFactor.Custom | |
| 300 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
| 301 | 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) | |
| 302 | p7.CanCollide = false | |
| 303 | p7.Locked = true | |
| 304 | p7.Elasticity = 0 | |
| 305 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 306 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 307 | b7 = Instance.new("SpecialMesh", p7)
| |
| 308 | b7.MeshType = Enum.MeshType.Wedge | |
| 309 | b7.Name = "Mesh" | |
| 310 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 311 | p8 = Instance.new("Part", m)
| |
| 312 | p8.BrickColor = BrickColor.new("Really black")
| |
| 313 | p8.FormFactor = Enum.FormFactor.Custom | |
| 314 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
| 315 | 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) | |
| 316 | p8.CanCollide = false | |
| 317 | p8.Locked = true | |
| 318 | p8.Elasticity = 0 | |
| 319 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 320 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 321 | b8 = Instance.new("SpecialMesh", p8)
| |
| 322 | b8.MeshType = Enum.MeshType.Wedge | |
| 323 | b8.Name = "Mesh" | |
| 324 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 325 | p9 = Instance.new("Part", m)
| |
| 326 | p9.BrickColor = BrickColor.new("Really black")
| |
| 327 | p9.FormFactor = Enum.FormFactor.Custom | |
| 328 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
| 329 | 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) | |
| 330 | p9.CanCollide = false | |
| 331 | p9.Locked = true | |
| 332 | p9.Elasticity = 0 | |
| 333 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 334 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 335 | b9 = Instance.new("BlockMesh", p9)
| |
| 336 | b9.Name = "Mesh" | |
| 337 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
| 338 | p10 = Instance.new("Part", m)
| |
| 339 | p10.BrickColor = BrickColor.new("Really black")
| |
| 340 | p10.FormFactor = Enum.FormFactor.Custom | |
| 341 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
| 342 | 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) | |
| 343 | p10.CanCollide = false | |
| 344 | p10.Locked = true | |
| 345 | p10.Elasticity = 0 | |
| 346 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 347 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 348 | b10 = Instance.new("BlockMesh", p10)
| |
| 349 | b10.Name = "Mesh" | |
| 350 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 351 | p11 = Instance.new("Part", m)
| |
| 352 | p11.BrickColor = BrickColor.new("Really black")
| |
| 353 | p11.FormFactor = Enum.FormFactor.Custom | |
| 354 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
| 355 | 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) | |
| 356 | p11.CanCollide = false | |
| 357 | p11.Locked = true | |
| 358 | p11.Elasticity = 0 | |
| 359 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 360 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 361 | b11 = Instance.new("BlockMesh", p11)
| |
| 362 | b11.Name = "Mesh" | |
| 363 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
| 364 | p12 = Instance.new("Part", m)
| |
| 365 | p12.Name = "BladeCenter" | |
| 366 | p12.BrickColor = BrickColor.new("")
| |
| 367 | p12.Material = Enum.Material.Concrete | |
| 368 | p12.FormFactor = Enum.FormFactor.Symmetric | |
| 369 | p12.Size = Vector3.new(1, 2, 2) | |
| 370 | 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) | |
| 371 | p12.CanCollide = false | |
| 372 | p12.Locked = true | |
| 373 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 374 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 375 | b12 = Instance.new("SpecialMesh", p12)
| |
| 376 | b12.MeshType = Enum.MeshType.Brick | |
| 377 | b12.Name = "Mesh" | |
| 378 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
| 379 | p13 = Instance.new("Part", m)
| |
| 380 | p13.BrickColor = BrickColor.new("Really black")
| |
| 381 | p13.FormFactor = Enum.FormFactor.Custom | |
| 382 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
| 383 | 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) | |
| 384 | p13.CanCollide = false | |
| 385 | p13.Locked = true | |
| 386 | p13.Elasticity = 0 | |
| 387 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 388 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 389 | b13 = Instance.new("BlockMesh", p13)
| |
| 390 | b13.Name = "Mesh" | |
| 391 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
| 392 | p14 = Instance.new("Part", m)
| |
| 393 | p14.BrickColor = BrickColor.new("Really black")
| |
| 394 | p14.FormFactor = Enum.FormFactor.Custom | |
| 395 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
| 396 | 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) | |
| 397 | p14.CanCollide = false | |
| 398 | p14.Locked = true | |
| 399 | p14.Elasticity = 0 | |
| 400 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 401 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 402 | b14 = Instance.new("BlockMesh", p14)
| |
| 403 | b14.Name = "Mesh" | |
| 404 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 405 | p15 = Instance.new("Part", m)
| |
| 406 | p15.BrickColor = BrickColor.new("Really black")
| |
| 407 | p15.FormFactor = Enum.FormFactor.Custom | |
| 408 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
| 409 | 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) | |
| 410 | p15.CanCollide = false | |
| 411 | p15.Locked = true | |
| 412 | p15.Material = "Neon" | |
| 413 | p15.Elasticity = 0 | |
| 414 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 415 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 416 | b15 = Instance.new("BlockMesh", p15)
| |
| 417 | b15.Name = "Mesh" | |
| 418 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
| 419 | p16 = Instance.new("Part", m)
| |
| 420 | p16.BrickColor = BrickColor.new("Really black")
| |
| 421 | p16.FormFactor = Enum.FormFactor.Custom | |
| 422 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
| 423 | 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) | |
| 424 | p16.CanCollide = false | |
| 425 | p16.Locked = true | |
| 426 | p16.Material = "Neon" | |
| 427 | p16.Elasticity = 0 | |
| 428 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 429 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 430 | b16 = Instance.new("BlockMesh", p16)
| |
| 431 | b16.Name = "Mesh" | |
| 432 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
| 433 | p17 = Instance.new("Part", m)
| |
| 434 | p17.BrickColor = BrickColor.new("Really black")
| |
| 435 | p17.FormFactor = Enum.FormFactor.Custom | |
| 436 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
| 437 | 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) | |
| 438 | p17.CanCollide = false | |
| 439 | p17.Material = "Neon" | |
| 440 | p17.Locked = true | |
| 441 | p17.Elasticity = 0 | |
| 442 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 443 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 444 | b17 = Instance.new("BlockMesh", p17)
| |
| 445 | b17.Name = "Mesh" | |
| 446 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
| 447 | p18 = Instance.new("WedgePart", m)
| |
| 448 | p18.BrickColor = BrickColor.new("Black")
| |
| 449 | p18.Material = "Neon" | |
| 450 | p18.Name = "BladePart1" | |
| 451 | p18.Material = Enum.Material.Concrete | |
| 452 | p18.Name = "Wedge" | |
| 453 | p18.FormFactor = Enum.FormFactor.Symmetric | |
| 454 | p18.Size = Vector3.new(1, 4, 2) | |
| 455 | 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) | |
| 456 | p18.CanCollide = false | |
| 457 | p18.Locked = true | |
| 458 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 459 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 460 | b18 = Instance.new("SpecialMesh", p18)
| |
| 461 | b18.MeshType = Enum.MeshType.Wedge | |
| 462 | b18.Name = "Mesh" | |
| 463 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
| 464 | p19 = Instance.new("WedgePart", m)
| |
| 465 | p19.BrickColor = BrickColor.new("Institutional white")
| |
| 466 | p19.Name = "BladePart2" | |
| 467 | p19.Material = "Neon" | |
| 468 | p19.Material = Enum.Material.Concrete | |
| 469 | p19.Name = "Wedge" | |
| 470 | p19.FormFactor = Enum.FormFactor.Symmetric | |
| 471 | p19.Size = Vector3.new(1, 4, 2) | |
| 472 | 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) | |
| 473 | p19.CanCollide = false | |
| 474 | p19.Locked = true | |
| 475 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
| 476 | p19.TopSurface = Enum.SurfaceType.Smooth | |
| 477 | b19 = Instance.new("SpecialMesh", p19)
| |
| 478 | b19.MeshType = Enum.MeshType.Wedge | |
| 479 | b19.Name = "Mesh" | |
| 480 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
| 481 | p20 = Instance.new("Part", m)
| |
| 482 | p20.BrickColor = BrickColor.new("Really black")
| |
| 483 | p20.FormFactor = Enum.FormFactor.Custom | |
| 484 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
| 485 | 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) | |
| 486 | p20.CanCollide = false | |
| 487 | p20.Material = "Neon" | |
| 488 | p20.Locked = true | |
| 489 | p20.Elasticity = 0 | |
| 490 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
| 491 | p20.TopSurface = Enum.SurfaceType.Smooth | |
| 492 | b20 = Instance.new("BlockMesh", p20)
| |
| 493 | b20.Name = "Mesh" | |
| 494 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
| 495 | p21 = Instance.new("Part", m)
| |
| 496 | p21.BrickColor = BrickColor.new("Really black")
| |
| 497 | p21.FormFactor = Enum.FormFactor.Custom | |
| 498 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
| 499 | 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) | |
| 500 | p21.CanCollide = false | |
| 501 | p21.Locked = true | |
| 502 | p21.Elasticity = 0 | |
| 503 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
| 504 | p21.TopSurface = Enum.SurfaceType.Smooth | |
| 505 | b21 = Instance.new("SpecialMesh", p21)
| |
| 506 | b21.MeshType = Enum.MeshType.Wedge | |
| 507 | b21.Name = "Mesh" | |
| 508 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
| 509 | w1 = Instance.new("Weld", p1)
| |
| 510 | w1.Name = "Part_Weld" | |
| 511 | w1.Part0 = p1 | |
| 512 | 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) | |
| 513 | w1.Part1 = p2 | |
| 514 | 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) | |
| 515 | w2 = Instance.new("Weld", p2)
| |
| 516 | w2.Name = "Part_Weld" | |
| 517 | w2.Part0 = p2 | |
| 518 | 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) | |
| 519 | w2.Part1 = p3 | |
| 520 | 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) | |
| 521 | w3 = Instance.new("Weld", p3)
| |
| 522 | w3.Name = "Part_Weld" | |
| 523 | w3.Part0 = p3 | |
| 524 | 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) | |
| 525 | w3.Part1 = p4 | |
| 526 | 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) | |
| 527 | w4 = Instance.new("Weld", p4)
| |
| 528 | w4.Name = "Part_Weld" | |
| 529 | w4.Part0 = p4 | |
| 530 | 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) | |
| 531 | w4.Part1 = p5 | |
| 532 | 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) | |
| 533 | w5 = Instance.new("Weld", p5)
| |
| 534 | w5.Name = "Part_Weld" | |
| 535 | w5.Part0 = p5 | |
| 536 | 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) | |
| 537 | w5.Part1 = p6 | |
| 538 | 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) | |
| 539 | w6 = Instance.new("Weld", p6)
| |
| 540 | w6.Name = "Part_Weld" | |
| 541 | w6.Part0 = p6 | |
| 542 | 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) | |
| 543 | w6.Part1 = p7 | |
| 544 | 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) | |
| 545 | w7 = Instance.new("Weld", p7)
| |
| 546 | w7.Name = "Part_Weld" | |
| 547 | w7.Part0 = p7 | |
| 548 | 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) | |
| 549 | w7.Part1 = p8 | |
| 550 | 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) | |
| 551 | w8 = Instance.new("Weld", p8)
| |
| 552 | w8.Name = "Part_Weld" | |
| 553 | w8.Part0 = p8 | |
| 554 | 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) | |
| 555 | w8.Part1 = p9 | |
| 556 | 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) | |
| 557 | w9 = Instance.new("Weld", p9)
| |
| 558 | w9.Name = "Part_Weld" | |
| 559 | w9.Part0 = p9 | |
| 560 | 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) | |
| 561 | w9.Part1 = p10 | |
| 562 | 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) | |
| 563 | w10 = Instance.new("Weld", p10)
| |
| 564 | w10.Name = "Part_Weld" | |
| 565 | w10.Part0 = p10 | |
| 566 | 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) | |
| 567 | w10.Part1 = p11 | |
| 568 | 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) | |
| 569 | w11 = Instance.new("Weld", p11)
| |
| 570 | w11.Name = "Part_Weld" | |
| 571 | w11.Part0 = p11 | |
| 572 | 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) | |
| 573 | w11.Part1 = p12 | |
| 574 | 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) | |
| 575 | w12 = Instance.new("Weld", p12)
| |
| 576 | w12.Name = "Part_Weld" | |
| 577 | w12.Part0 = p12 | |
| 578 | 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) | |
| 579 | w12.Part1 = p13 | |
| 580 | 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) | |
| 581 | w13 = Instance.new("Weld", p13)
| |
| 582 | w13.Name = "Part_Weld" | |
| 583 | w13.Part0 = p13 | |
| 584 | 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) | |
| 585 | w13.Part1 = p14 | |
| 586 | 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) | |
| 587 | w14 = Instance.new("Weld", p14)
| |
| 588 | w14.Name = "Part_Weld" | |
| 589 | w14.Part0 = p14 | |
| 590 | 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) | |
| 591 | w14.Part1 = p15 | |
| 592 | 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) | |
| 593 | w15 = Instance.new("Weld", p15)
| |
| 594 | w15.Name = "Part_Weld" | |
| 595 | w15.Part0 = p15 | |
| 596 | 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) | |
| 597 | w15.Part1 = p16 | |
| 598 | 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) | |
| 599 | w16 = Instance.new("Weld", p16)
| |
| 600 | w16.Name = "Part_Weld" | |
| 601 | w16.Part0 = p16 | |
| 602 | 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) | |
| 603 | w16.Part1 = p17 | |
| 604 | 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) | |
| 605 | w17 = Instance.new("Weld", p17)
| |
| 606 | w17.Name = "Wedge_Weld" | |
| 607 | w17.Part0 = p17 | |
| 608 | 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) | |
| 609 | w17.Part1 = p18 | |
| 610 | 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) | |
| 611 | w18 = Instance.new("Weld", p18)
| |
| 612 | w18.Name = "Wedge_Weld" | |
| 613 | w18.Part0 = p18 | |
| 614 | 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) | |
| 615 | w18.Part1 = p19 | |
| 616 | 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) | |
| 617 | w19 = Instance.new("Weld", p19)
| |
| 618 | w19.Name = "Part_Weld" | |
| 619 | w19.Part0 = p19 | |
| 620 | 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) | |
| 621 | w19.Part1 = p20 | |
| 622 | 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) | |
| 623 | w20 = Instance.new("Weld", p20)
| |
| 624 | w20.Name = "Part_Weld" | |
| 625 | w20.Part0 = p20 | |
| 626 | 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) | |
| 627 | w20.Part1 = p21 | |
| 628 | 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) | |
| 629 | m.Parent = char | |
| 630 | m:MakeJoints() | |
| 631 | ---------------------------------------------------- | |
| 632 | local cor = Instance.new("Part", char.Absolution)
| |
| 633 | cor.Name = "Thingy" | |
| 634 | cor.Locked = true | |
| 635 | cor.BottomSurface = 0 | |
| 636 | cor.CanCollide = false | |
| 637 | cor.Size = Vector3.new(1, 13, 1) | |
| 638 | cor.Transparency = 1 | |
| 639 | cor.TopSurface = 0 | |
| 640 | corw = Instance.new("Weld", cor)
| |
| 641 | corw.Part0 = rarm | |
| 642 | corw.Part1 = cor | |
| 643 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 644 | corw.C1 = CFrame.new(0, 0, 0) | |
| 645 | weld1 = Instance.new("Weld", char.Absolution)
| |
| 646 | weld1.Part0 = cor | |
| 647 | weld1.Part1 = p6 | |
| 648 | weld1.C0 = CFrame.new(0, 0, 0) | |
| 649 | ---------------------------------------------------- | |
| 650 | hitb = Instance.new("Part", char.Absolution)
| |
| 651 | hitb.Name = "Thingy2" | |
| 652 | hitb.Locked = true | |
| 653 | hitb.BottomSurface = 0 | |
| 654 | hitb.CanCollide = false | |
| 655 | hitb.Size = Vector3.new(0, 8, 6) | |
| 656 | hitb.Transparency = 1 | |
| 657 | hitb.TopSurface = 0 | |
| 658 | weld2 = Instance.new("Weld", char.Absolution)
| |
| 659 | weld2.Part0 = hitb | |
| 660 | weld2.Part1 = p12 | |
| 661 | weld2.C0 = CFrame.new(0, .6, 1) | |
| 662 | ||
| 663 | ||
| 664 | ---------------------------------------------------- | |
| 665 | function weld5(part0, part1, c0, c1) | |
| 666 | weeld=Instance.new("Weld", part0)
| |
| 667 | weeld.Part0=part0 | |
| 668 | weeld.Part1=part1 | |
| 669 | weeld.C0=c0 | |
| 670 | weeld.C1=c1 | |
| 671 | return weeld | |
| 672 | end | |
| 673 | ---------------------------------------------------- | |
| 674 | function newRay(start,face,range,wat) | |
| 675 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 676 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 677 | return rey,hit,pos | |
| 678 | end | |
| 679 | ---------------------------------------------------- | |
| 680 | mod5 = Instance.new("Model",char)
| |
| 681 | ||
| 682 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 683 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 684 | local List = {}
| |
| 685 | for i,v in pairs(workspace:GetChildren())do | |
| 686 | if v:IsA("Model")then
| |
| 687 | if v:findFirstChild("Torso")then
| |
| 688 | if v ~= char then | |
| 689 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 690 | table.insert(List,v) | |
| 691 | end | |
| 692 | end | |
| 693 | end | |
| 694 | end | |
| 695 | end | |
| 696 | return List | |
| 697 | end | |
| 698 | ||
| 699 | function Landing() | |
| 700 | part=Instance.new('Part',mod5)
| |
| 701 | part.Anchored=true | |
| 702 | part.CanCollide=false | |
| 703 | part.FormFactor='Custom' | |
| 704 | part.Size=Vector3.new(.2,.2,.2) | |
| 705 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
| 706 | part.Transparency=.7 | |
| 707 | part.BrickColor=BrickColor.new('Really black')
| |
| 708 | mesh=Instance.new('SpecialMesh',part)
| |
| 709 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 710 | mesh.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 711 | mesh.Scale=Vector3.new(10,5,10) | |
| 712 | ||
| 713 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
| 714 | if v:FindFirstChild('Humanoid') then
| |
| 715 | v.Humanoid:TakeDamage(math.random(20,30)) | |
| 716 | v.Humanoid.PlatformStand = true | |
| 717 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 718 | end | |
| 719 | end | |
| 720 | ||
| 721 | coroutine.resume(coroutine.create(function() | |
| 722 | for i=0,3.8,0.05 do | |
| 723 | wait() | |
| 724 | part.CFrame=part.CFrame | |
| 725 | part.Transparency=i | |
| 726 | mesh.Scale=mesh.Scale+Vector3.new(3,3,3) | |
| 727 | end | |
| 728 | part.Parent = nil | |
| 729 | end)) | |
| 730 | end | |
| 731 | ---------------------------------------------------- | |
| 732 | mod4 = Instance.new("Model",char)
| |
| 733 | ||
| 734 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 735 | ||
| 736 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 737 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 738 | local List = {}
| |
| 739 | for i,v in pairs(workspace:GetChildren())do | |
| 740 | if v:IsA("Model")then
| |
| 741 | if v:findFirstChild("Torso")then
| |
| 742 | if v ~= char then | |
| 743 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 744 | table.insert(List,v) | |
| 745 | end | |
| 746 | end | |
| 747 | end | |
| 748 | end | |
| 749 | end | |
| 750 | return List | |
| 751 | end | |
| 752 | ||
| 753 | function GroundPound() | |
| 754 | part=Instance.new('Part',mod4)
| |
| 755 | part.Anchored=true | |
| 756 | part.CanCollide=false | |
| 757 | part.FormFactor='Custom' | |
| 758 | part.Size=Vector3.new(.2,.2,.2) | |
| 759 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 760 | part.Transparency=.7 | |
| 761 | part.BrickColor=BrickColor.new('Institutional white')
| |
| 762 | mesh=Instance.new('SpecialMesh',part)
| |
| 763 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 764 | mesh.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 765 | mesh.Scale=Vector3.new(3,3,3) | |
| 766 | part2=Instance.new('Part',mod4)
| |
| 767 | part2.Anchored=true | |
| 768 | part2.CanCollide=false | |
| 769 | part2.FormFactor='Custom' | |
| 770 | part2.Size=Vector3.new(.2,.2,.2) | |
| 771 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
| 772 | part2.Transparency=.7 | |
| 773 | part2.BrickColor=BrickColor.new('Institutional white')
| |
| 774 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 775 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 776 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 777 | x = Instance.new("Sound",char)
| |
| 778 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
| 779 | x.Pitch = ptez[math.random(1,#ptez)] | |
| 780 | x.Volume = 1 | |
| 781 | wait(.1) | |
| 782 | x:Play() | |
| 783 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
| 784 | if v:FindFirstChild('Humanoid') then
| |
| 785 | v.Humanoid:TakeDamage(math.random(8,15)) | |
| 786 | end | |
| 787 | end | |
| 788 | coroutine.resume(coroutine.create(function() | |
| 789 | for i=0,0.62,0.13 do | |
| 790 | wait() | |
| 791 | part.CFrame=part.CFrame | |
| 792 | part.Transparency=i | |
| 793 | mesh.Scale=mesh.Scale+Vector3.new(5,5,5) | |
| 794 | part2.CFrame=part2.CFrame | |
| 795 | part2.Transparency=i | |
| 796 | mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5) | |
| 797 | end | |
| 798 | part.Parent=nil | |
| 799 | part2.Parent=nil | |
| 800 | x:Destroy() | |
| 801 | end)) | |
| 802 | end | |
| 803 | ---------------------------------------------------- | |
| 804 | mod=Instance.new('Model',char)
| |
| 805 | ||
| 806 | function charge() | |
| 807 | hed.Velocity=hed.CFrame.lookVector*200 | |
| 808 | part=Instance.new('Part',mod)
| |
| 809 | part.Anchored=true | |
| 810 | part.CanCollide=false | |
| 811 | part.FormFactor='Custom' | |
| 812 | part.Size=Vector3.new(.2,.2,.2) | |
| 813 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
| 814 | part.Transparency=.7 | |
| 815 | part.Name = "Wow" | |
| 816 | part.BrickColor=BrickColor.new('Black')
| |
| 817 | mesh=Instance.new('SpecialMesh',part)
| |
| 818 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 819 | mesh.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 820 | mesh.Scale=Vector3.new(10,5,10) | |
| 821 | part2=part:clone() | |
| 822 | part2.Parent=mod | |
| 823 | part2.BrickColor=BrickColor.new('Institutional white')
| |
| 824 | mesh2=mesh:clone() | |
| 825 | mesh2.Parent=part2 | |
| 826 | mesh2.Scale=Vector3.new(20,10,20) | |
| 827 | part3=part2:clone() | |
| 828 | part3.Parent = mod | |
| 829 | part3.BrickColor=BrickColor.new('Cyan')
| |
| 830 | mesh3=mesh2:clone() | |
| 831 | mesh2.Parent=part3 | |
| 832 | mesh3.Scale=Vector3.new(30,15,30) | |
| 833 | coroutine.resume(coroutine.create(function() | |
| 834 | for i=0,1,0.1 do | |
| 835 | wait() | |
| 836 | part.CFrame=part.CFrame | |
| 837 | part.Transparency=i | |
| 838 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
| 839 | part2.CFrame=part2.CFrame | |
| 840 | part2.Transparency=i | |
| 841 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 842 | part3.CFrame=part3.CFrame | |
| 843 | part3.Transparency=i | |
| 844 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
| 845 | end | |
| 846 | part.Parent=nil | |
| 847 | part2.Parent=nil | |
| 848 | part3.Parent = nil | |
| 849 | part1:remove() | |
| 850 | part:remove() | |
| 851 | part2:remove() | |
| 852 | part3:remove() | |
| 853 | end)) | |
| 854 | end | |
| 855 | ---------------------------------------------------- | |
| 856 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 857 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 858 | local List = {}
| |
| 859 | for i,v in pairs(workspace:GetChildren())do | |
| 860 | if v:IsA("Model")then
| |
| 861 | if v:findFirstChild("Torso")then
| |
| 862 | if v ~= char then | |
| 863 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 864 | table.insert(List,v) | |
| 865 | end | |
| 866 | end | |
| 867 | end | |
| 868 | end | |
| 869 | end | |
| 870 | return List | |
| 871 | end | |
| 872 | ||
| 873 | mod3 = Instance.new("Model",rleg)
| |
| 874 | ||
| 875 | function Stomp() | |
| 876 | part=Instance.new('Part',mod3)
| |
| 877 | part.Anchored=true | |
| 878 | part.CanCollide=false | |
| 879 | part.FormFactor='Custom' | |
| 880 | part.Size=Vector3.new(.2,.2,.2) | |
| 881 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
| 882 | part.Transparency=0.7 | |
| 883 | part.BrickColor=BrickColor.new('')
| |
| 884 | mesh=Instance.new('SpecialMesh',part)
| |
| 885 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 886 | mesh.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 887 | mesh.Scale=Vector3.new(25,25,25) | |
| 888 | part2=part:clone() | |
| 889 | part2.Parent=mod3 | |
| 890 | part2.BrickColor=BrickColor.new('Deep orange')
| |
| 891 | mesh2=mesh:clone() | |
| 892 | mesh2.Parent=part2 | |
| 893 | mesh2.Scale=Vector3.new(15,15,15) | |
| 894 | part3=part:clone() | |
| 895 | part3.Parent=mod3 | |
| 896 | part3.TopSurface=0 | |
| 897 | part3.BottomSurface=0 | |
| 898 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
| 899 | mesh3=Instance.new('SpecialMesh',part3)
| |
| 900 | mesh3.MeshType = 3 | |
| 901 | mesh3.Scale=Vector3.new(12,12,12) | |
| 902 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 903 | if v:FindFirstChild('Humanoid') then
| |
| 904 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 905 | v.Humanoid.PlatformStand = true | |
| 906 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 907 | end | |
| 908 | end | |
| 909 | coroutine.resume(coroutine.create(function() | |
| 910 | for i=0,3.8,0.05 do | |
| 911 | wait() | |
| 912 | part.CFrame=part.CFrame | |
| 913 | part.Transparency=i | |
| 914 | mesh.Scale=mesh.Scale+Vector3.new(5,5,5) | |
| 915 | part2.CFrame=part2.CFrame | |
| 916 | part2.Transparency=i | |
| 917 | mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5) | |
| 918 | part3.CFrame=part3.CFrame | |
| 919 | part3.Transparency=i | |
| 920 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
| 921 | end | |
| 922 | end)) | |
| 923 | end | |
| 924 | ---------------------------------------------------- | |
| 925 | ||
| 926 | local acos = math.acos | |
| 927 | local sqrt = math.sqrt | |
| 928 | local Vec3 = Vector3.new | |
| 929 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 930 | ||
| 931 | local function toAxisAngle(CFr) | |
| 932 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 933 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 934 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 935 | A = A == 0 and 0.00001 or A | |
| 936 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 937 | B = B == 0 and 0.00001 or B | |
| 938 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 939 | C = C == 0 and 0.00001 or C | |
| 940 | local x = (R21-R12)/sqrt(A) | |
| 941 | local y = (R02-R20)/sqrt(B) | |
| 942 | local z = (R10-R01)/sqrt(C) | |
| 943 | return Vec3(x,y,z),Angle | |
| 944 | end | |
| 945 | ||
| 946 | function ApplyTrig(Num,Func) | |
| 947 | local Min,Max = Func(0),Func(1) | |
| 948 | local i = Func(Num) | |
| 949 | return (i-Min)/(Max-Min) | |
| 950 | end | |
| 951 | ||
| 952 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 953 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 954 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 955 | end | |
| 956 | ||
| 957 | function Crater(Torso,Radius) | |
| 958 | Spawn(function() | |
| 959 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 960 | local Ignore = {}
| |
| 961 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 962 | if v.Character ~= nil then | |
| 963 | Ignore[#Ignore+1] = v.Character | |
| 964 | end | |
| 965 | end | |
| 966 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 967 | if Hit == nil then return end | |
| 968 | local Parts = {}
| |
| 969 | for i = 1,360,10 do | |
| 970 | local P = Instance.new("Part",Torso.Parent)
| |
| 971 | P.Anchored = true | |
| 972 | P.FormFactor = "Custom" | |
| 973 | P.BrickColor = Hit.BrickColor | |
| 974 | P.Material = Hit.Material | |
| 975 | P.TopSurface = "Smooth" | |
| 976 | P.BottomSurface = "Smooth" | |
| 977 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 978 | 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))) | |
| 979 | 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}
| |
| 980 | if math.random(0,5) == 0 then -- rubble | |
| 981 | local P = Instance.new("Part",Torso.Parent)
| |
| 982 | P.Anchored = true | |
| 983 | P.FormFactor = "Custom" | |
| 984 | P.BrickColor = Hit.BrickColor | |
| 985 | P.Material = Hit.Material | |
| 986 | P.TopSurface = "Smooth" | |
| 987 | P.BottomSurface = "Smooth" | |
| 988 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 989 | 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))) | |
| 990 | 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}
| |
| 991 | end | |
| 992 | end | |
| 993 | for i = 0,1,0.05 do | |
| 994 | for i2,v in pairs(Parts) do | |
| 995 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 996 | end | |
| 997 | wait(0.02) | |
| 998 | end | |
| 999 | for i,v in pairs(Parts) do | |
| 1000 | if v[1].Size.X > 2.1 then | |
| 1001 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1002 | end | |
| 1003 | v[1].Anchored = false | |
| 1004 | end | |
| 1005 | for i = 0,1,0.05 do | |
| 1006 | for i2,v in pairs(Parts) do | |
| 1007 | v[1].Transparency = i | |
| 1008 | if i == 1 then | |
| 1009 | v[1]:Destroy() | |
| 1010 | elseif i >= 0.25 then | |
| 1011 | v[1].CanCollide = false | |
| 1012 | end | |
| 1013 | end | |
| 1014 | wait(0.02) | |
| 1015 | end | |
| 1016 | Parts = nil | |
| 1017 | end) | |
| 1018 | end | |
| 1019 | ||
| 1020 | ---------------------------------------------------- | |
| 1021 | mouse.KeyDown:connect(function(key) | |
| 1022 | if key == "r" and char.Mana.Value>=50 then | |
| 1023 | char.Mana.Value = char.Mana.Value - 50 | |
| 1024 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1025 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1026 | if Debounces.CanAttack == true then | |
| 1027 | Debounces.CanAttack = false | |
| 1028 | Debounces.on = true | |
| 1029 | Debounces.NoIdl = true | |
| 1030 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
| 1031 | hit = ht.Parent | |
| 1032 | if ht and hit:IsA("Model") then
| |
| 1033 | if hit:FindFirstChild("Humanoid") then
| |
| 1034 | if hit.Name ~= p.Name then | |
| 1035 | hit:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1036 | wait(1) | |
| 1037 | end | |
| 1038 | end | |
| 1039 | elseif ht and hit:IsA("Hat") then
| |
| 1040 | if hit.Parent.Name ~= p.Name then | |
| 1041 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1042 | ||
| 1043 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
| |
| 1044 | wait(1) | |
| 1045 | --Debounces.Slashed = false | |
| 1046 | end | |
| 1047 | end | |
| 1048 | end | |
| 1049 | end) | |
| 1050 | q = Instance.new("Sound",hed)
| |
| 1051 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
| 1052 | q.Pitch = 0.85 | |
| 1053 | q.Looped = false | |
| 1054 | q1 = Instance.new("Sound",hed)
| |
| 1055 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
| 1056 | q1.Pitch = 0.85 | |
| 1057 | q1.Looped = false | |
| 1058 | q:Play() | |
| 1059 | q1:Play() | |
| 1060 | for i = 1,20 do | |
| 1061 | 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) | |
| 1062 | 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) | |
| 1063 | 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) | |
| 1064 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
| 1065 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
| 1066 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
| 1067 | 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) | |
| 1068 | if Debounces.on == false then break end | |
| 1069 | wait() | |
| 1070 | end | |
| 1071 | n = Instance.new("Sound",hed)
| |
| 1072 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
| 1073 | n.Pitch = 0.94 | |
| 1074 | n.Looped = false | |
| 1075 | n1 = Instance.new("Sound",hed)
| |
| 1076 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
| 1077 | n1.Pitch = 0.94 | |
| 1078 | n1.Looped = false | |
| 1079 | n:Play() | |
| 1080 | n1:Play() | |
| 1081 | b = Instance.new("Sound",hed)
| |
| 1082 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
| 1083 | b.Pitch = 0.94 | |
| 1084 | b.Looped = false | |
| 1085 | b1 = Instance.new("Sound",hed)
| |
| 1086 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
| 1087 | b1.Pitch = 0.94 | |
| 1088 | b1.Looped = false | |
| 1089 | b:Play() | |
| 1090 | b1:Play() | |
| 1091 | for i = 1,26 do | |
| 1092 | 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) | |
| 1093 | 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) | |
| 1094 | 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) | |
| 1095 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
| 1096 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
| 1097 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
| 1098 | 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) | |
| 1099 | if Debounces.on == false then break end | |
| 1100 | wait() | |
| 1101 | end | |
| 1102 | wait(.5) | |
| 1103 | to:disconnect() | |
| 1104 | q:Destroy() | |
| 1105 | q1:Destroy() | |
| 1106 | n:Destroy() | |
| 1107 | n1:Destroy() | |
| 1108 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1109 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1110 | if Debounces.CanAttack == false then | |
| 1111 | Debounces.CanAttack = true | |
| 1112 | Debounces.on = false | |
| 1113 | Debounces.NoIdl = false | |
| 1114 | end | |
| 1115 | end | |
| 1116 | end | |
| 1117 | end) | |
| 1118 | ---------------------------------------------------- | |
| 1119 | mouse.KeyDown:connect(function(key) | |
| 1120 | if key == "q" and char.Mana.Value>=50 then | |
| 1121 | char.Mana.Value = char.Mana.Value - 50 | |
| 1122 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1123 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1124 | if Debounces.CanAttack == true then | |
| 1125 | Debounces.CanAttack = false | |
| 1126 | Debounces.on = true | |
| 1127 | Debounces.NoIdl = true | |
| 1128 | to = char.Absolution.Thingy2.Touched:connect(function(ht) | |
| 1129 | hit = ht.Parent | |
| 1130 | if ht and hit:IsA("Model") then
| |
| 1131 | if hit:FindFirstChild("Humanoid") then
| |
| 1132 | if hit.Name ~= p.Name then | |
| 1133 | hit:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1134 | wait(1) | |
| 1135 | --Debounces.Slashed = false | |
| 1136 | --end | |
| 1137 | end | |
| 1138 | end | |
| 1139 | elseif ht and hit:IsA("Hat") then
| |
| 1140 | if hit.Parent.Name ~= p.Name then | |
| 1141 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1142 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1143 | wait(1) | |
| 1144 | --Debounces.Slashed = false | |
| 1145 | end | |
| 1146 | end | |
| 1147 | end | |
| 1148 | end) | |
| 1149 | for i = 1, 20 do | |
| 1150 | 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) | |
| 1151 | 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) | |
| 1152 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
| 1153 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
| 1154 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
| 1155 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
| 1156 | 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) | |
| 1157 | if Debounces.on == false then break end | |
| 1158 | wait() | |
| 1159 | end | |
| 1160 | z = Instance.new("Sound",hed)
| |
| 1161 | z.SoundId = "rbxassetid://160069154" | |
| 1162 | z.Looped = false | |
| 1163 | z.Pitch = .9 | |
| 1164 | z1 = Instance.new("Sound",hed)
| |
| 1165 | z1.SoundId = "rbxassetid://160069154" | |
| 1166 | z1.Looped = false | |
| 1167 | z1.Pitch = .9 | |
| 1168 | wait(0.01) | |
| 1169 | z:Play() | |
| 1170 | z1:Play() | |
| 1171 | for i = 1, 12 do | |
| 1172 | 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) | |
| 1173 | 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) | |
| 1174 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
| 1175 | 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) | |
| 1176 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
| 1177 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
| 1178 | 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) | |
| 1179 | if Debounces.on == false then break end | |
| 1180 | wait() | |
| 1181 | end | |
| 1182 | for i = 1, 12 do | |
| 1183 | 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) | |
| 1184 | 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) | |
| 1185 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
| 1186 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
| 1187 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
| 1188 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
| 1189 | 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) | |
| 1190 | if Debounces.on == false then break end | |
| 1191 | wait() | |
| 1192 | end | |
| 1193 | z = Instance.new("Sound",hed)
| |
| 1194 | z.SoundId = "rbxassetid://168586621" | |
| 1195 | z.Looped = false | |
| 1196 | z.Pitch = 1 | |
| 1197 | z1 = Instance.new("Sound",hed)
| |
| 1198 | z1.SoundId = "rbxassetid://168586621" | |
| 1199 | z1.Looped = false | |
| 1200 | z1.Pitch = 1 | |
| 1201 | wait(0.01) | |
| 1202 | z:Play() | |
| 1203 | z1:Play() | |
| 1204 | for i = 1, 12 do | |
| 1205 | 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) | |
| 1206 | 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) | |
| 1207 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
| 1208 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
| 1209 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
| 1210 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
| 1211 | 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) | |
| 1212 | if Debounces.on == false then break end | |
| 1213 | wait() | |
| 1214 | end | |
| 1215 | to:disconnect() | |
| 1216 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1217 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1218 | if Debounces.CanAttack == false then | |
| 1219 | Debounces.CanAttack = true | |
| 1220 | Debounces.on = false | |
| 1221 | Debounces.NoIdl = false | |
| 1222 | end | |
| 1223 | end | |
| 1224 | end | |
| 1225 | end) | |
| 1226 | ---------------------------------------------------- | |
| 1227 | Sit = false | |
| 1228 | mouse.KeyDown:connect(function(key) | |
| 1229 | if key == "v" then | |
| 1230 | if Sit == false then | |
| 1231 | Sit = true | |
| 1232 | hum.WalkSpeed = 20 | |
| 1233 | stanceToggle = "Sitting" | |
| 1234 | elseif Sit == true then | |
| 1235 | Sit = false | |
| 1236 | hum.WalkSpeed = 50 | |
| 1237 | stanceToggle = "Normal" | |
| 1238 | end | |
| 1239 | end | |
| 1240 | end) | |
| 1241 | ---------------------------------------------------- | |
| 1242 | mouse.KeyDown:connect(function(key) | |
| 1243 | if key == "t" and char.Mana.Value>=50 then | |
| 1244 | char.Mana.Value = char.Mana.Value - 50 | |
| 1245 | if Debounces.CanAttack == true then | |
| 1246 | Debounces.CanAttack = false | |
| 1247 | Debounces.on = true | |
| 1248 | Debounces.NoIdl = true | |
| 1249 | for i = 1, 25 do | |
| 1250 | 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) | |
| 1251 | 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) | |
| 1252 | 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) | |
| 1253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
| 1254 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
| 1255 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
| 1256 | 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) | |
| 1257 | if Debounces.on == false then break end | |
| 1258 | wait() | |
| 1259 | end | |
| 1260 | Spawn(function() | |
| 1261 | local Parts = {}
| |
| 1262 | for Y = -5,5 do | |
| 1263 | local P = Instance.new("Part",char)
| |
| 1264 | P.Anchored = true | |
| 1265 | P.FormFactor = "Custom" | |
| 1266 | P.CanCollide = false | |
| 1267 | P.Size = Vector3.new(1,1,1) | |
| 1268 | P.TopSurface = "SmoothNoOutlines" | |
| 1269 | P.BottomSurface = "SmoothNoOutlines" | |
| 1270 | P.BrickColor = BrickColor.new("Really black")
| |
| 1271 | P.Material = "Neon" | |
| 1272 | P.Name = tostring(Y) | |
| 1273 | local i = (Y+5)/(10) | |
| 1274 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
| 1275 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0) | |
| 1276 | P.Touched:connect(function(ht) | |
| 1277 | local hit = ht.Parent | |
| 1278 | if hit:FindFirstChild("Humanoid") then
| |
| 1279 | hit.Humanoid:TakeDamage(math.random(100,math.huge)) | |
| 1280 | end | |
| 1281 | end) | |
| 1282 | s = Instance.new("Sound",P)
| |
| 1283 | s.SoundId = "rbxassetid://228343271" | |
| 1284 | s.Volume = .7 | |
| 1285 | s.Pitch = 0.9 | |
| 1286 | s:Play() | |
| 1287 | P.Touched:connect(function(ht) | |
| 1288 | hit = ht.Parent | |
| 1289 | if ht and hit:IsA("Model") then
| |
| 1290 | if hit:FindFirstChild("Humanoid") then
| |
| 1291 | if hit.Name ~= p.Name then | |
| 1292 | ||
| 1293 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1294 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1295 | wait(1) | |
| 1296 | --Debounces.Slashed = false | |
| 1297 | --end | |
| 1298 | end | |
| 1299 | end | |
| 1300 | elseif ht and hit:IsA("Hat") then
| |
| 1301 | if hit.Parent.Name ~= p.Name then | |
| 1302 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1303 | ||
| 1304 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
| |
| 1305 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1306 | wait(1) | |
| 1307 | --Debounces.Slashed = false | |
| 1308 | --end | |
| 1309 | end | |
| 1310 | end | |
| 1311 | end | |
| 1312 | end) | |
| 1313 | Parts[#Parts+1] = P | |
| 1314 | end | |
| 1315 | local BREAKIT = false | |
| 1316 | local CParts = {}
| |
| 1317 | local Rocks = {}
| |
| 1318 | local LastPos = nil | |
| 1319 | for i = 1,70 do | |
| 1320 | for i2,v in pairs(Parts) do | |
| 1321 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
| 1322 | local cf = v.CFrame | |
| 1323 | v.Size = v.Size+Vector3.new(1,1,1) | |
| 1324 | v.CFrame = cf | |
| 1325 | v.Transparency = v.Transparency+0.02 | |
| 1326 | if v.Transparency >= 0.975 then BREAKIT = true end | |
| 1327 | if v.Name == "0" then | |
| 1328 | local Ignore = {}
| |
| 1329 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1330 | if v.Character ~= nil then | |
| 1331 | Ignore[#Ignore+1] = v.Character | |
| 1332 | end | |
| 1333 | end | |
| 1334 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
| 1335 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
| 1336 | if Hit ~= nil then | |
| 1337 | if #Rocks == 0 then | |
| 1338 | for i = 1,5 do | |
| 1339 | local P = Instance.new("Part",char)
| |
| 1340 | Rocks[#Rocks+1] = P | |
| 1341 | P.Anchored = true | |
| 1342 | P.FormFactor = "Custom" | |
| 1343 | P.BrickColor = Hit.BrickColor | |
| 1344 | P.Material = Hit.Material | |
| 1345 | P.TopSurface = "Smooth" | |
| 1346 | P.BottomSurface = "Smooth" | |
| 1347 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
| 1348 | end | |
| 1349 | end | |
| 1350 | for i,P in pairs(Rocks) do | |
| 1351 | 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))) | |
| 1352 | end | |
| 1353 | local P = Instance.new("Part",char)
| |
| 1354 | CParts[#CParts+1] = {P,tick()}
| |
| 1355 | P.Anchored = true | |
| 1356 | P.FormFactor = "Custom" | |
| 1357 | P.BrickColor = Hit.BrickColor | |
| 1358 | P.Material = Hit.Material | |
| 1359 | P.TopSurface = "Smooth" | |
| 1360 | P.BottomSurface = "Smooth" | |
| 1361 | P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100) | |
| 1362 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1363 | Pos = Pos.p | |
| 1364 | 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))) | |
| 1365 | local P = P:Clone() | |
| 1366 | CParts[#CParts+1] = {P,tick()}
| |
| 1367 | P.Parent = char | |
| 1368 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
| 1369 | Pos = Pos.p | |
| 1370 | 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))) | |
| 1371 | if LastPos ~= nil then | |
| 1372 | local P = P:Clone() | |
| 1373 | CParts[#CParts+1] = {P,tick()}
| |
| 1374 | P.Parent = char | |
| 1375 | P.BrickColor = BrickColor.new("Really black")
| |
| 1376 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 1377 | Pos = Pos.p | |
| 1378 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1379 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30) | |
| 1380 | --P.Velocity = Vector3.new(0,-1000,0) | |
| 1381 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
| 1382 | end | |
| 1383 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 1384 | end | |
| 1385 | end | |
| 1386 | end | |
| 1387 | if BREAKIT then break end | |
| 1388 | wait(0.002) | |
| 1389 | end | |
| 1390 | for i,v in pairs(Rocks) do | |
| 1391 | CParts[#CParts+1] = {v,tick()}
| |
| 1392 | end | |
| 1393 | for i,v in pairs(Parts) do | |
| 1394 | v:Destroy() | |
| 1395 | end | |
| 1396 | Parts = nil | |
| 1397 | while true do | |
| 1398 | local t = tick() | |
| 1399 | local p = nil | |
| 1400 | for i,v in pairs(CParts) do | |
| 1401 | if t-v[2] > 4 then | |
| 1402 | v[1].Transparency = v[1].Transparency+0.05 | |
| 1403 | if v[1].Transparency >= 1 then | |
| 1404 | v[1]:Destroy() | |
| 1405 | CParts[i] = nil | |
| 1406 | end | |
| 1407 | end | |
| 1408 | p = v | |
| 1409 | end | |
| 1410 | if p == nil then break end | |
| 1411 | wait(0.002) | |
| 1412 | end | |
| 1413 | for i,v in pairs(CParts) do | |
| 1414 | v:Destroy() | |
| 1415 | end | |
| 1416 | CParts = {}
| |
| 1417 | end) | |
| 1418 | for i = 1, 20 do | |
| 1419 | 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) | |
| 1420 | 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) | |
| 1421 | 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) | |
| 1422 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
| 1423 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
| 1424 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
| 1425 | 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) | |
| 1426 | if Debounces.on == false then break end | |
| 1427 | wait() | |
| 1428 | end | |
| 1429 | if Debounces.CanAttack == false then | |
| 1430 | Debounces.CanAttack = true | |
| 1431 | Debounces.on = false | |
| 1432 | Debounces.NoIdl = false | |
| 1433 | end | |
| 1434 | end | |
| 1435 | end | |
| 1436 | end) | |
| 1437 | ---------------------------------------------------- | |
| 1438 | mouse.KeyDown:connect(function(key) | |
| 1439 | if key == "e" and char.Mana.Value>=50 then | |
| 1440 | char.Mana.Value = char.Mana.Value - 50 | |
| 1441 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 1442 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 1443 | if Debounces.CanAttack == true then | |
| 1444 | Debounces.CanAttack = false | |
| 1445 | Debounces.on = true | |
| 1446 | Debounces.NoIdl = true | |
| 1447 | for i = 1, 18 do | |
| 1448 | 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) | |
| 1449 | 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) | |
| 1450 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1451 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 1452 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
| 1453 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 1454 | 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) | |
| 1455 | if Debounces.on == false then break end | |
| 1456 | wait() | |
| 1457 | end | |
| 1458 | 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)) | |
| 1459 | local rng = Instance.new("Part", char.Absolution.Handle)
| |
| 1460 | rng.Anchored = true | |
| 1461 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1462 | rng.CanCollide = true | |
| 1463 | rng.FormFactor = 3 | |
| 1464 | rng.Name = "Ring" | |
| 1465 | rng.Size = Vector3.new(1, 1, 1) | |
| 1466 | rng.CanCollide = false | |
| 1467 | rng.Transparency = 0.35 | |
| 1468 | rng.TopSurface = 0 | |
| 1469 | rng.BottomSurface = 0 | |
| 1470 | rng.CFrame = HandCF | |
| 1471 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1472 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1473 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1474 | x = Instance.new("Sound", hed)
| |
| 1475 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1476 | x.Looped = false | |
| 1477 | x.Pitch = .7 | |
| 1478 | x.Volume = 1 | |
| 1479 | x1 = Instance.new("Sound", hed)
| |
| 1480 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 1481 | x1.Looped = false | |
| 1482 | x1.Pitch = .7 | |
| 1483 | x1.Volume = 1 | |
| 1484 | x:Play() | |
| 1485 | x1:Play() | |
| 1486 | rngto = rng.Touched:connect(function(ht) | |
| 1487 | hit = ht.Parent | |
| 1488 | if ht and hit:IsA("Model") then
| |
| 1489 | if hit:FindFirstChild("Humanoid") then
| |
| 1490 | if hit.Name ~= p.Name then | |
| 1491 | ||
| 1492 | hit:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1493 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1494 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
| |
| 1495 | --Debounces.Slashed = false | |
| 1496 | --end | |
| 1497 | end | |
| 1498 | end | |
| 1499 | elseif ht and hit:IsA("Hat") then
| |
| 1500 | if hit.Parent.Name ~= p.Name then | |
| 1501 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1502 | ||
| 1503 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
| |
| 1504 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1505 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
| |
| 1506 | --Debounces.Slashed = false | |
| 1507 | end | |
| 1508 | end | |
| 1509 | end | |
| 1510 | end) | |
| 1511 | coroutine.wrap(function() | |
| 1512 | for i = 1, 60, 2 do | |
| 1513 | rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10) | |
| 1514 | rng.Size = rngm.Scale | |
| 1515 | rng.CFrame = HandCF | |
| 1516 | rng.Transparency = i/60 | |
| 1517 | wait() | |
| 1518 | end | |
| 1519 | wait() | |
| 1520 | rng:Destroy() | |
| 1521 | end)() | |
| 1522 | for i = 1, 18 do | |
| 1523 | 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) | |
| 1524 | 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) | |
| 1525 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1526 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 1527 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
| 1528 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 1529 | 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) | |
| 1530 | if Debounces.on == false then break end | |
| 1531 | wait() | |
| 1532 | end | |
| 1533 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1534 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1535 | x:Destroy() | |
| 1536 | x1:Destroy() | |
| 1537 | if Debounces.CanAttack == false then | |
| 1538 | Debounces.CanAttack = true | |
| 1539 | Debounces.on = false | |
| 1540 | Debounces.NoIdl = false | |
| 1541 | end | |
| 1542 | end | |
| 1543 | end | |
| 1544 | end) | |
| 1545 | ---------------------------------------------------- | |
| 1546 | mouse.KeyDown:connect(function(key) | |
| 1547 | if key == "y" then | |
| 1548 | if Debounces.CanAttack == true then | |
| 1549 | Debounces.CanAttack = false | |
| 1550 | Debounces.on = true | |
| 1551 | Debounces.NoIdl = true | |
| 1552 | for i = 1, 15 do | |
| 1553 | 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) | |
| 1554 | 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) | |
| 1555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 1556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
| 1557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 1558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 1559 | 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) | |
| 1560 | if Debounces.on == false then break end | |
| 1561 | wait() | |
| 1562 | end | |
| 1563 | x = Instance.new("Sound",char)
| |
| 1564 | x.SoundId = "rbxassetid://228343271" | |
| 1565 | x.Pitch = 1 | |
| 1566 | x.Volume = .8 | |
| 1567 | wait(.1) | |
| 1568 | x:Play() | |
| 1569 | Debounces.on = false | |
| 1570 | Debounces.Here = false | |
| 1571 | shot = shot + 1 | |
| 1572 | local rng = Instance.new("Part", char)
| |
| 1573 | rng.Anchored = true | |
| 1574 | rng.BrickColor = BrickColor.new("Really black")
| |
| 1575 | rng.CanCollide = false | |
| 1576 | rng.FormFactor = 3 | |
| 1577 | rng.Name = "Ring" | |
| 1578 | rng.Size = Vector3.new(1, 1, 1) | |
| 1579 | rng.Transparency = 0.35 | |
| 1580 | rng.TopSurface = 0 | |
| 1581 | rng.BottomSurface = 0 | |
| 1582 | rng2 = rng:clone() | |
| 1583 | rng3 = rng2:clone() | |
| 1584 | rng4 = rng2:clone() | |
| 1585 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1586 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1587 | rngm.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 1588 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 1589 | rngm2 = rngm:clone() | |
| 1590 | rngm2.Scale = Vector3.new(5, 5, 1) | |
| 1591 | rngm3=rngm2:clone() | |
| 1592 | rngm3.Parent = rng3 | |
| 1593 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 1594 | rngm4 = rngm2:clone() | |
| 1595 | rngm4.Parent = rng4 | |
| 1596 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 1597 | local bem = Instance.new("Part", char)
| |
| 1598 | bem.Anchored = true | |
| 1599 | bem.BrickColor = BrickColor.new("Really black")
| |
| 1600 | bem.CanCollide = false | |
| 1601 | bem.FormFactor = 3 | |
| 1602 | bem.Name = "Beam" .. shot | |
| 1603 | bem.Size = Vector3.new(1, 1, 1) | |
| 1604 | bem.Transparency = 0.35 | |
| 1605 | bem.TopSurface = 0 | |
| 1606 | bem.BottomSurface = 0 | |
| 1607 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 1608 | bemm.MeshType = 4 | |
| 1609 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 1610 | local out = Instance.new("Part", char)
| |
| 1611 | out.Anchored = true | |
| 1612 | out.BrickColor = BrickColor.new("Really black")
| |
| 1613 | out.CanCollide = false | |
| 1614 | out.FormFactor = 3 | |
| 1615 | out.Name = "Out" | |
| 1616 | out.Size = Vector3.new(4, 4, 4) | |
| 1617 | out.Transparency = 0.35 | |
| 1618 | out.TopSurface = 0 | |
| 1619 | out.BottomSurface = 0 | |
| 1620 | local outm = Instance.new("SpecialMesh", out)
| |
| 1621 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 1622 | outm.TextureId = "http://www.roblox.com/asset/?id=122569107" | |
| 1623 | outm.Scale = Vector3.new(4, 4, 4) | |
| 1624 | local bnd = Instance.new("Part", char)
| |
| 1625 | bnd.Anchored = true | |
| 1626 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 1627 | bnd.CanCollide = false | |
| 1628 | bnd.FormFactor = 3 | |
| 1629 | bnd.Material = "Neon" | |
| 1630 | bnd.Name = "Bend" | |
| 1631 | bnd.Size = Vector3.new(1, 1, 1) | |
| 1632 | bnd.Transparency = 1 | |
| 1633 | bnd.TopSurface = 0 | |
| 1634 | bnd.BottomSurface = 0 | |
| 1635 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 1636 | bndm.MeshType = 3 | |
| 1637 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 1638 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 1639 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1640 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 1641 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 1642 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 1643 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
| 1644 | Debounces.Shewt = true | |
| 1645 | coroutine.wrap(function() | |
| 1646 | for i = 1, 50, 0.2 do | |
| 1647 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 1648 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
| 1649 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
| 1650 | rng.Transparency = i/20 | |
| 1651 | rng3.Transparency = 1/16 | |
| 1652 | rng4.Transparency = i/12 | |
| 1653 | wait() | |
| 1654 | end | |
| 1655 | wait() | |
| 1656 | rng:Destroy() | |
| 1657 | end)() | |
| 1658 | if Debounces.Shewt == true then | |
| 1659 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 1660 | hit = ht.Parent | |
| 1661 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 1662 | if HasntTouched(hit.Name) == true and deb == false then | |
| 1663 | deb = true | |
| 1664 | coroutine.wrap(function() | |
| 1665 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1666 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 1667 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 1668 | end)() | |
| 1669 | table.insert(Touche, hit.Name) | |
| 1670 | deb = false | |
| 1671 | end | |
| 1672 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 1673 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 1674 | deb = true | |
| 1675 | coroutine.wrap(function() | |
| 1676 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1677 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 1678 | wait(1) | |
| 1679 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 1680 | end)() | |
| 1681 | table.insert(Touche, hit.Parent.Name) | |
| 1682 | deb = false | |
| 1683 | for i, v in pairs(Touche) do | |
| 1684 | print(v) | |
| 1685 | end | |
| 1686 | end | |
| 1687 | end | |
| 1688 | end) | |
| 1689 | end | |
| 1690 | for i = 0, 260, 8 do | |
| 1691 | bem.Size = Vector3.new(i, 2, 2) | |
| 1692 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 1693 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 1694 | bnd.Size = Vector3.new(1,1,1) | |
| 1695 | bndm.Scale = Vector3.new(8,8,8) | |
| 1696 | if i % 10 == 0 then | |
| 1697 | local newRng = rng2:Clone() | |
| 1698 | newRng.Parent = char | |
| 1699 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 1700 | local newRngm = rngm2:clone() | |
| 1701 | newRngm.Parent=newRng | |
| 1702 | coroutine.wrap(function() | |
| 1703 | for i = 1, 10, 0.2 do | |
| 1704 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
| 1705 | newRng.Transparency = i/10 | |
| 1706 | wait() | |
| 1707 | end | |
| 1708 | wait() | |
| 1709 | newRng:Destroy() | |
| 1710 | end)() | |
| 1711 | end | |
| 1712 | wait() | |
| 1713 | end | |
| 1714 | wait() | |
| 1715 | Debounces.Shewt = false | |
| 1716 | bem:Destroy() | |
| 1717 | out:Destroy() | |
| 1718 | bnd:Destroy() | |
| 1719 | Debounces.Ready = false | |
| 1720 | for i, v in pairs(Touche) do | |
| 1721 | table.remove(Touche, i) | |
| 1722 | end | |
| 1723 | wait() | |
| 1724 | table.insert(Touche, char.Name) | |
| 1725 | Debounces.NoIdl = false | |
| 1726 | if Debounces.CanAttack == false then | |
| 1727 | Debounces.CanAttack = true | |
| 1728 | end | |
| 1729 | end | |
| 1730 | end | |
| 1731 | end) | |
| 1732 | ---------------------------------------------------- | |
| 1733 | sidz = {"231917888", "231917845", "231917806"}
| |
| 1734 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
| |
| 1735 | mouse.KeyDown:connect(function(key) | |
| 1736 | if key == "f" and char.Mana.Value>=50 then | |
| 1737 | char.Mana.Value = char.Mana.Value - 50 | |
| 1738 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1739 | rarm.BrickColor = BrickColor.new("Camo")
| |
| 1740 | if Debounces.CanAttack == true then | |
| 1741 | Debounces.CanAttack = false | |
| 1742 | Debounces.on = true | |
| 1743 | Debounces.NoIdl = true | |
| 1744 | for i = 1, 10 do | |
| 1745 | 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) | |
| 1746 | 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) | |
| 1747 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
| 1748 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
| 1749 | 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) | |
| 1750 | 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) | |
| 1751 | 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) | |
| 1752 | if Debounces.on == false then break end | |
| 1753 | wait() | |
| 1754 | end | |
| 1755 | z = Instance.new("Sound",char)
| |
| 1756 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
| 1757 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1758 | z.Volume = 1 | |
| 1759 | z1 = Instance.new("Sound",char)
| |
| 1760 | z1.SoundId = z.SoundId | |
| 1761 | z1.Pitch = z.Pitch | |
| 1762 | z1.Volume = 1 | |
| 1763 | wait(1) | |
| 1764 | z:Play() | |
| 1765 | z1:Play() | |
| 1766 | Stomp() | |
| 1767 | for i = 1, 20 do | |
| 1768 | 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) | |
| 1769 | 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) | |
| 1770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
| 1771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
| 1772 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
| 1773 | 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) | |
| 1774 | 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) | |
| 1775 | if Debounces.on == false then break end | |
| 1776 | wait() | |
| 1777 | end | |
| 1778 | if Debounces.CanAttack == false then | |
| 1779 | Debounces.CanAttack = true | |
| 1780 | Debounces.on = false | |
| 1781 | Debounces.NoIdl = false | |
| 1782 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1783 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1784 | end | |
| 1785 | end | |
| 1786 | end | |
| 1787 | end) | |
| 1788 | ---------------------------------------------------- | |
| 1789 | mouse.KeyDown:connect(function(key) | |
| 1790 | if key == "g" and char.Mana.Value>5 then | |
| 1791 | char.Mana.Value = char.Mana.Value - 5 | |
| 1792 | larm.BrickColor = BrickColor.new("Camo")
| |
| 1793 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1794 | if Debounces.CanAttack == true then | |
| 1795 | Debounces.CanAttack = false | |
| 1796 | Debounces.on = true | |
| 1797 | Debounces.NoIdl = true | |
| 1798 | chrg = lleg.Touched:connect(function(ht) | |
| 1799 | hit = ht.Parent | |
| 1800 | if ht and hit:IsA("Model") then
| |
| 1801 | if hit:FindFirstChild("Humanoid") then
| |
| 1802 | if hit.Name ~= p.Name then | |
| 1803 | ||
| 1804 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 1805 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1806 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 1807 | --Debounces.Slashed = false | |
| 1808 | --end | |
| 1809 | end | |
| 1810 | end | |
| 1811 | elseif ht and hit:IsA("Hat") then
| |
| 1812 | if hit.Parent.Name ~= p.Name then | |
| 1813 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1814 | ||
| 1815 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 1816 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1817 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 1818 | --Debounces.Slashed = false | |
| 1819 | end | |
| 1820 | end | |
| 1821 | end | |
| 1822 | end) | |
| 1823 | for i = 1, 14 do | |
| 1824 | 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) | |
| 1825 | 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) | |
| 1826 | 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) | |
| 1827 | 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) | |
| 1828 | 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) | |
| 1829 | 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) | |
| 1830 | 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) | |
| 1831 | if Debounces.on == false then break end | |
| 1832 | wait() | |
| 1833 | end | |
| 1834 | charge() | |
| 1835 | z = Instance.new("Sound",char)
| |
| 1836 | z.SoundId = "rbxassetid://200632875" | |
| 1837 | z.Volume = 1 | |
| 1838 | z.Pitch = .8 | |
| 1839 | z1 = Instance.new("Sound",char)
| |
| 1840 | z1.SoundId = "rbxassetid://200632875" | |
| 1841 | z1.Volume = 1 | |
| 1842 | z1.Pitch = .9 | |
| 1843 | z:Play() | |
| 1844 | z1:Play() | |
| 1845 | wait(1) | |
| 1846 | z:Destroy() | |
| 1847 | z1:Destroy() | |
| 1848 | chrg:disconnect() | |
| 1849 | if Debounces.CanAttack == false then | |
| 1850 | Debounces.CanAttack = true | |
| 1851 | Debounces.on = false | |
| 1852 | Debounces.NoIdl = false | |
| 1853 | larm.BrickColor = BrickColor.new("Really black")
| |
| 1854 | rarm.BrickColor = BrickColor.new("Really black")
| |
| 1855 | end | |
| 1856 | end | |
| 1857 | end | |
| 1858 | end) | |
| 1859 | ---------------------------------------------------- | |
| 1860 | pt = {0.7, 0.8, 0.9}
| |
| 1861 | mouse.KeyDown:connect(function(key) | |
| 1862 | if key == "h" and char.Mana.Value>50 then | |
| 1863 | char.Mana.Value = char.Mana.Value - 50 | |
| 1864 | if Debounces.CanJoke == true then | |
| 1865 | Debounces.CanJoke = false | |
| 1866 | u = Instance.new("Sound")
| |
| 1867 | u.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
| 1868 | u.Parent = char | |
| 1869 | u.Looped = false | |
| 1870 | u.Pitch = pt[math.random(1,#pt)] | |
| 1871 | u.Volume = 1 | |
| 1872 | u2 = Instance.new("Sound")
| |
| 1873 | u2.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
| 1874 | u2.Parent = char | |
| 1875 | u2.Looped = false | |
| 1876 | u2.Pitch = u.Pitch | |
| 1877 | u2.Volume = 1 | |
| 1878 | wait(.01) | |
| 1879 | u:Play() | |
| 1880 | u2:Play() | |
| 1881 | wait(6) | |
| 1882 | u:Destroy() | |
| 1883 | u2:Destroy() | |
| 1884 | if Debounces.CanJoke == false then | |
| 1885 | Debounces.CanJoke = true | |
| 1886 | end | |
| 1887 | end | |
| 1888 | end | |
| 1889 | end) | |
| 1890 | ---------------------------------------------------- | |
| 1891 | mouse.KeyDown:connect(function(key) | |
| 1892 | if key == "j" and char.Mana.Value> 30 then | |
| 1893 | char.Mana.Value = char.Mana.Value-30 | |
| 1894 | if Debounces.CanJoke == true then | |
| 1895 | Debounces.CanJoke = false | |
| 1896 | z = Instance.new("Sound",char)
| |
| 1897 | z.SoundId = "rbxassetid://135017755" | |
| 1898 | z.Pitch = .76 | |
| 1899 | z.Volume = 1 | |
| 1900 | wait() | |
| 1901 | z:Play() | |
| 1902 | wait(6) | |
| 1903 | z:Destroy() | |
| 1904 | if Debounces.CanJoke == false then | |
| 1905 | Debounces.CanJoke = true | |
| 1906 | end | |
| 1907 | end | |
| 1908 | end | |
| 1909 | end) | |
| 1910 | ---------------------------------------------------- | |
| 1911 | mouse.KeyDown:connect(function(key) | |
| 1912 | if key == "k" and char.Mana.Value> 10 then | |
| 1913 | char.Mana.Value = char.Mana.Value -10 | |
| 1914 | if Debounces.CanJoke == true then | |
| 1915 | Debounces.CanJoke = false | |
| 1916 | z = Instance.new("Sound",char)
| |
| 1917 | z.SoundId = "rbxassetid://135017578" | |
| 1918 | z.Pitch = .76 | |
| 1919 | z.Volume = 1 | |
| 1920 | wait() | |
| 1921 | z:Play() | |
| 1922 | wait(4) | |
| 1923 | z:Destroy() | |
| 1924 | if Debounces.CanJoke == false then | |
| 1925 | Debounces.CanJoke = true | |
| 1926 | end | |
| 1927 | end | |
| 1928 | end | |
| 1929 | end) | |
| 1930 | ---------------------------------------------------- | |
| 1931 | mouse.KeyDown:connect(function(key) | |
| 1932 | if key == "u" and char.Mana.Value>200 then | |
| 1933 | wait(1) | |
| 1934 | char.Mana.Value = char.Mana.Value-200 | |
| 1935 | charge() | |
| 1936 | wait(0.6) | |
| 1937 | charge() | |
| 1938 | wait(0.6) | |
| 1939 | charge() | |
| 1940 | wait(2) | |
| 1941 | end | |
| 1942 | end) | |
| 1943 | ---------------------------------------------------- | |
| 1944 | mouse.KeyDown:connect(function(key) | |
| 1945 | if key == "x" and char.Mana.Value>50 then | |
| 1946 | char.Mana.Value = char.Mana.Value-50 | |
| 1947 | if Debounces.CanAttack == true then | |
| 1948 | Debounces.CanAttack = false | |
| 1949 | Debounces.NoIdl = true | |
| 1950 | Debounces.on = true | |
| 1951 | Debounces.ks = true | |
| 1952 | for i = 1, 10 do | |
| 1953 | 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) | |
| 1954 | 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) | |
| 1955 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
| 1956 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
| 1957 | 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) | |
| 1958 | 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) | |
| 1959 | 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) | |
| 1960 | if Debounces.on == false then break end | |
| 1961 | wait() | |
| 1962 | end | |
| 1963 | z = Instance.new("Sound",hed)
| |
| 1964 | z.SoundId = "rbxassetid://169445092" | |
| 1965 | z.Volume = 1 | |
| 1966 | wait(0.1) | |
| 1967 | z:Play() | |
| 1968 | kik = rleg.Touched:connect(function(ht) | |
| 1969 | hit = ht.Parent | |
| 1970 | if ht and hit:IsA("Model") then
| |
| 1971 | if hit:FindFirstChild("Humanoid") then
| |
| 1972 | if hit.Name ~= p.Name then | |
| 1973 | ||
| 1974 | if Debounces.ks==true then | |
| 1975 | z = Instance.new("Sound",hed)
| |
| 1976 | z.SoundId = "rbxassetid://169380525" | |
| 1977 | z.Volume = 1 | |
| 1978 | z:Play() | |
| 1979 | Debounces.ks=false | |
| 1980 | end | |
| 1981 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 1982 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1983 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 1984 | --Debounces.Slashed = false | |
| 1985 | --end | |
| 1986 | end | |
| 1987 | end | |
| 1988 | elseif ht and hit:IsA("Hat") then
| |
| 1989 | if hit.Parent.Name ~= p.Name then | |
| 1990 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1991 | ||
| 1992 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 1993 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 1994 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
| |
| 1995 | --Debounces.Slashed = false | |
| 1996 | --end | |
| 1997 | end | |
| 1998 | end | |
| 1999 | end | |
| 2000 | end) | |
| 2001 | for i = 1, 8 do | |
| 2002 | 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) | |
| 2003 | 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) | |
| 2004 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
| 2005 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
| 2006 | 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) | |
| 2007 | 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) | |
| 2008 | 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) | |
| 2009 | if Debounces.on == false then break end | |
| 2010 | wait() | |
| 2011 | end | |
| 2012 | kik:disconnect() | |
| 2013 | if Debounces.CanAttack == false then | |
| 2014 | Debounces.CanAttack = true | |
| 2015 | Debounces.on = false | |
| 2016 | Debounces.NoIdl = false | |
| 2017 | end | |
| 2018 | end | |
| 2019 | end | |
| 2020 | end) | |
| 2021 | ---------------------------------------------------- | |
| 2022 | mouse.KeyDown:connect(function(key) | |
| 2023 | if key == "c" and char.Mana.Value>80 then | |
| 2024 | char.Mana.Value = char.Mana.Value -80 | |
| 2025 | if Debounces.CanAttack == true then | |
| 2026 | Debounces.CanAttack = false | |
| 2027 | Debounces.NoIdl = true | |
| 2028 | Debounces.on = true | |
| 2029 | SIDZ = {"231917744", "231917742"}
| |
| 2030 | PTZ = {0.7, 0.8, 0.9, 1}
| |
| 2031 | for i = 1, 20 do | |
| 2032 | wait() | |
| 2033 | for i,v in pairs(char.Absolution:children()) do | |
| 2034 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2035 | v.Transparency = v.Transparency + 0.05 | |
| 2036 | end | |
| 2037 | end | |
| 2038 | end | |
| 2039 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2040 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2041 | local List = {}
| |
| 2042 | for i,v in pairs(workspace:GetChildren())do | |
| 2043 | if v:IsA("Model")then
| |
| 2044 | if v:findFirstChild("Torso")then
| |
| 2045 | if v ~= char then | |
| 2046 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2047 | table.insert(List,v) | |
| 2048 | end | |
| 2049 | end | |
| 2050 | end | |
| 2051 | end | |
| 2052 | end | |
| 2053 | return List | |
| 2054 | end | |
| 2055 | GroundPound() | |
| 2056 | for i = 1, 5 do | |
| 2057 | 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) | |
| 2058 | 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) | |
| 2059 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2060 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2061 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2062 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2063 | 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) | |
| 2064 | if Debounces.on == false then break end | |
| 2065 | wait() | |
| 2066 | end | |
| 2067 | GroundPound() | |
| 2068 | for i = 1, 5 do | |
| 2069 | 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) | |
| 2070 | 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) | |
| 2071 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2072 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2073 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2074 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2075 | 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) | |
| 2076 | if Debounces.on == false then break end | |
| 2077 | wait() | |
| 2078 | end | |
| 2079 | GroundPound() | |
| 2080 | for i = 1, 5 do | |
| 2081 | 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) | |
| 2082 | 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) | |
| 2083 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2084 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2085 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2086 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2087 | 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) | |
| 2088 | if Debounces.on == false then break end | |
| 2089 | wait() | |
| 2090 | end | |
| 2091 | GroundPound() | |
| 2092 | for i = 1, 5 do | |
| 2093 | 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) | |
| 2094 | 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) | |
| 2095 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2096 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2097 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2098 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2099 | 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) | |
| 2100 | if Debounces.on == false then break end | |
| 2101 | wait() | |
| 2102 | end | |
| 2103 | GroundPound() | |
| 2104 | for i = 1, 5 do | |
| 2105 | 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) | |
| 2106 | 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) | |
| 2107 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
| 2108 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
| 2109 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
| 2110 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2111 | 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) | |
| 2112 | if Debounces.on == false then break end | |
| 2113 | wait() | |
| 2114 | end | |
| 2115 | GroundPound() | |
| 2116 | for i = 1, 5 do | |
| 2117 | 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) | |
| 2118 | 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) | |
| 2119 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
| 2120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
| 2121 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
| 2122 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
| 2123 | 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) | |
| 2124 | if Debounces.on == false then break end | |
| 2125 | wait() | |
| 2126 | end | |
| 2127 | for i = 1, 18 do | |
| 2128 | 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) | |
| 2129 | 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) | |
| 2130 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
| 2131 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
| 2132 | 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) | |
| 2133 | 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) | |
| 2134 | 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) | |
| 2135 | if Debounces.on == false then break end | |
| 2136 | wait() | |
| 2137 | end | |
| 2138 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
| 2139 | if v:FindFirstChild('Humanoid') then
| |
| 2140 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 2141 | v.Humanoid.PlatformStand = true | |
| 2142 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 2143 | end | |
| 2144 | end | |
| 2145 | x = Instance.new("Sound",char)
| |
| 2146 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
| 2147 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
| 2148 | x.Volume = 1 | |
| 2149 | wait(0.1) | |
| 2150 | x:Play() | |
| 2151 | Crater(hed,20) | |
| 2152 | for i = 1, 14 do | |
| 2153 | 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) | |
| 2154 | 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) | |
| 2155 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
| 2156 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
| 2157 | 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) | |
| 2158 | 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) | |
| 2159 | 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) | |
| 2160 | if Debounces.on == false then break end | |
| 2161 | wait() | |
| 2162 | end | |
| 2163 | if Debounces.CanAttack == false then | |
| 2164 | Debounces.CanAttack = true | |
| 2165 | Debounces.on = false | |
| 2166 | Debounces.NoIdl = false | |
| 2167 | for i = 1, 20 do | |
| 2168 | wait() | |
| 2169 | for i,v in pairs(char.Absolution:children()) do | |
| 2170 | if v:IsA("Part") or v:IsA("WedgePart") then
| |
| 2171 | v.Transparency = v.Transparency - 0.05 | |
| 2172 | end | |
| 2173 | end | |
| 2174 | end | |
| 2175 | end | |
| 2176 | end | |
| 2177 | end | |
| 2178 | end) | |
| 2179 | ----------------------------------------------------176349813 | |
| 2180 | mouse.KeyDown:connect(function(key) | |
| 2181 | if key == "b" and char.Mana.Value>80 then | |
| 2182 | char.Mana.Value = char.Mana.Value -80 | |
| 2183 | hum.WalkSpeed = 20 | |
| 2184 | if Debounces.CanAttack == true then | |
| 2185 | Debounces.CanAttack = false | |
| 2186 | Debounces.NoIdl = true | |
| 2187 | Debounces.on = true | |
| 2188 | for i = 1,20 do | |
| 2189 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
| 2190 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
| 2191 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
| 2192 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
| 2193 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
| 2194 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
| 2195 | 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) | |
| 2196 | if Debounces.on == false then break end | |
| 2197 | wait() | |
| 2198 | end | |
| 2199 | wait(1) | |
| 2200 | v = Instance.new("Sound")
| |
| 2201 | v.SoundId = "rbxassetid://181384451" | |
| 2202 | v.Parent = char | |
| 2203 | v.Looped = false | |
| 2204 | v.Pitch = 1.04 | |
| 2205 | v.Volume = 1.5 | |
| 2206 | wait(.01) | |
| 2207 | v:Play() | |
| 2208 | ||
| 2209 | v = Instance.new("Sound")
| |
| 2210 | v.SoundId = "rbxassetid://138252341" | |
| 2211 | v.Parent = char | |
| 2212 | v.Looped = false | |
| 2213 | v.Pitch = 1.04 | |
| 2214 | v.Volume = 1.2 | |
| 2215 | wait(.01) | |
| 2216 | v:Play() | |
| 2217 | if Daytime == true then | |
| 2218 | Daytime = false | |
| 2219 | l.TimeOfDay = 24 | |
| 2220 | else | |
| 2221 | Daytime = true | |
| 2222 | l.TimeOfDay = 12 | |
| 2223 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 2224 | end | |
| 2225 | ||
| 2226 | local Shockwave = function() | |
| 2227 | local rng1 = Instance.new("Part", char)
| |
| 2228 | rng1.Anchored = true | |
| 2229 | rng1.BrickColor = BrickColor.new("Institutional white")
| |
| 2230 | rng1.CanCollide = false | |
| 2231 | rng1.FormFactor = 3 | |
| 2232 | rng1.Name = "Ring" | |
| 2233 | rng1.Material = "Neon" | |
| 2234 | rng1.Size = Vector3.new(1, 1, 1) | |
| 2235 | rng1.Transparency = 0.35 | |
| 2236 | rng1.TopSurface = 0 | |
| 2237 | rng1.BottomSurface = 0 | |
| 2238 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 2239 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2240 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 2241 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 2242 | local Wave = Instance.new("Part", game.Workspace)
| |
| 2243 | Wave.Name = "Shockwave" | |
| 2244 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 2245 | Wave.Size = Vector3.new(1, 1, 1) | |
| 2246 | Wave.Shape = "Ball" | |
| 2247 | Wave.Name = "Wave" | |
| 2248 | Wave.Material = "Neon" | |
| 2249 | Wave.CanCollide = false | |
| 2250 | Wave.Anchored = true | |
| 2251 | Wave.TopSurface = 0 | |
| 2252 | Wave.BottomSurface = 0 | |
| 2253 | Wave.Touched:connect(function(hit) | |
| 2254 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 2255 | local Occlude = true | |
| 2256 | local NotOccludes = {
| |
| 2257 | char.Name; | |
| 2258 | "Wings"; | |
| 2259 | "Scythe"; | |
| 2260 | "Thingy"; | |
| 2261 | "Thingy2"; -- put all of the names in a table pls | |
| 2262 | } | |
| 2263 | for i,v in pairs(NotOccludes) do | |
| 2264 | if hit.Parent.Name == v then | |
| 2265 | Occlude = false | |
| 2266 | end | |
| 2267 | end | |
| 2268 | --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 | |
| 2269 | if Occlude then | |
| 2270 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
| |
| 2271 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 2272 | end | |
| 2273 | end | |
| 2274 | end) | |
| 2275 | ||
| 2276 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 2277 | ||
| 2278 | coroutine.wrap(function() | |
| 2279 | for i = 1, 20, 0.2 do | |
| 2280 | rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1) | |
| 2281 | rng1.Transparency = i/20 | |
| 2282 | local Wav2 = game.Workspace.Wave:Clone() | |
| 2283 | Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200)) | |
| 2284 | wait() | |
| 2285 | end | |
| 2286 | wait() | |
| 2287 | rng1:Destroy() | |
| 2288 | end)() | |
| 2289 | ||
| 2290 | Delay(0, function() | |
| 2291 | ||
| 2292 | if Daytime == false then | |
| 2293 | for i = 1, 50, 1 do | |
| 2294 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
| 2295 | Wave.CFrame = char.Torso.CFrame | |
| 2296 | local t = i / 50 | |
| 2297 | Wave.Transparency = t | |
| 2298 | wait() | |
| 2299 | end | |
| 2300 | else | |
| 2301 | for i = 1, 50, 1 do | |
| 2302 | Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i) | |
| 2303 | Wave.CFrame = char.Torso.CFrame | |
| 2304 | local t = i / 50 | |
| 2305 | Wave.Transparency = t | |
| 2306 | wait() | |
| 2307 | end | |
| 2308 | end | |
| 2309 | Wave:Destroy() | |
| 2310 | end) | |
| 2311 | Delay(0, function() | |
| 2312 | while wait() do | |
| 2313 | if Wave ~= nil then | |
| 2314 | Wave.CFrame = char.Torso.CFrame | |
| 2315 | else | |
| 2316 | break | |
| 2317 | end | |
| 2318 | end | |
| 2319 | end) | |
| 2320 | end | |
| 2321 | Shockwave() | |
| 2322 | for i = 1, 15 do | |
| 2323 | 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) | |
| 2324 | 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) | |
| 2325 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2326 | 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) | |
| 2327 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2328 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2329 | if Debounces.on == false then break end | |
| 2330 | wait() | |
| 2331 | end | |
| 2332 | for i = 1, 15 do | |
| 2333 | 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) | |
| 2334 | 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) | |
| 2335 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2336 | 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) | |
| 2337 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2338 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2339 | if Debounces.on == false then break end | |
| 2340 | wait() | |
| 2341 | end | |
| 2342 | for i = 1, 15 do | |
| 2343 | 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) | |
| 2344 | 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) | |
| 2345 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2346 | 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) | |
| 2347 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2348 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2349 | if Debounces.on == false then break end | |
| 2350 | wait() | |
| 2351 | end | |
| 2352 | for i = 1, 15 do | |
| 2353 | 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) | |
| 2354 | 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) | |
| 2355 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2356 | 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) | |
| 2357 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2358 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2359 | if Debounces.on == false then break end | |
| 2360 | wait() | |
| 2361 | end | |
| 2362 | for i = 1, 15 do | |
| 2363 | 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) | |
| 2364 | 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) | |
| 2365 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
| 2366 | 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) | |
| 2367 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
| 2368 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2369 | if Debounces.on == false then break end | |
| 2370 | wait() | |
| 2371 | end | |
| 2372 | for i = 1, 15 do | |
| 2373 | 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) | |
| 2374 | 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) | |
| 2375 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
| 2376 | 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) | |
| 2377 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
| 2378 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
| 2379 | if Debounces.on == false then break end | |
| 2380 | wait() | |
| 2381 | end | |
| 2382 | wait(1.4) | |
| 2383 | Debounces.NoIdl = false | |
| 2384 | hum.WalkSpeed = 50 | |
| 2385 | Debounces.on = false | |
| 2386 | wait() | |
| 2387 | if Debounces.CanAttack == false then | |
| 2388 | Debounces.CanAttack = true | |
| 2389 | v:Destroy() | |
| 2390 | end | |
| 2391 | char.Mana.Value = char.Mana.Value + 1000 | |
| 2392 | wait(4) | |
| 2393 | end | |
| 2394 | end | |
| 2395 | end) | |
| 2396 | ---------------------------------------------------- | |
| 2397 | mouse.KeyDown:connect(function(key) | |
| 2398 | if key == "m" and char.Mana.Value> 60 then | |
| 2399 | char.Mana.Value = char.Mana.Value-60 | |
| 2400 | hum.WalkSpeed = 0 | |
| 2401 | if Debounces.CanAttack == true then | |
| 2402 | Debounces.CanAttack = false | |
| 2403 | Debounces.on = true | |
| 2404 | Debounces.NoIdl = true | |
| 2405 | x = Instance.new("Sound",char)
| |
| 2406 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
| 2407 | x.Looped = false | |
| 2408 | x.Pitch = 1.1 | |
| 2409 | x.Volume = 1 | |
| 2410 | x:Play() | |
| 2411 | x2 = Instance.new("Sound",char)
| |
| 2412 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
| 2413 | x2.Looped = false | |
| 2414 | x2.Pitch = .7 | |
| 2415 | x2.Volume = 1 | |
| 2416 | wait(.1) | |
| 2417 | x:Play() | |
| 2418 | x2:Play() | |
| 2419 | for i = 1, 20 do | |
| 2420 | 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) | |
| 2421 | 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) | |
| 2422 | 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) | |
| 2423 | 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) | |
| 2424 | 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) | |
| 2425 | 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) | |
| 2426 | 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) | |
| 2427 | if Debounces.on == false then break end | |
| 2428 | wait() | |
| 2429 | x:Destroy() | |
| 2430 | x2:Destroy() | |
| 2431 | end | |
| 2432 | wait(1) | |
| 2433 | local rng = Instance.new("Part", char)
| |
| 2434 | rng.Anchored = true | |
| 2435 | rng.BrickColor = BrickColor.new("Really black")
| |
| 2436 | rng.CanCollide = false | |
| 2437 | rng.FormFactor = 3 | |
| 2438 | rng.Name = "Ring" | |
| 2439 | rng.Size = Vector3.new(1, 1, 1) | |
| 2440 | rng.Transparency = 0.35 | |
| 2441 | rng.TopSurface = 0 | |
| 2442 | rng.BottomSurface = 0 | |
| 2443 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 2444 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2445 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2446 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2447 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 2448 | x = Instance.new("Sound",char)
| |
| 2449 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 2450 | x.Looped = false | |
| 2451 | x.Pitch = .7 | |
| 2452 | x.Volume = 1 | |
| 2453 | x:Play() | |
| 2454 | coroutine.wrap(function() | |
| 2455 | for i = 1, 60, 2 do | |
| 2456 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 2457 | rng.Transparency = i/60 | |
| 2458 | wait() | |
| 2459 | end | |
| 2460 | wait() | |
| 2461 | rng:Destroy() | |
| 2462 | end)() | |
| 2463 | hum.WalkSpeed = 50 | |
| 2464 | BV = Instance.new("BodyVelocity", torso)
| |
| 2465 | BV.maxForce = Vector3.new(0,200000,0) | |
| 2466 | BV.P = 100000 | |
| 2467 | BV.velocity = Vector3.new(0,800,0) | |
| 2468 | for i = 1, 20 do | |
| 2469 | 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) | |
| 2470 | 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) | |
| 2471 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
| 2472 | 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) | |
| 2473 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
| 2474 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
| 2475 | 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) | |
| 2476 | if Debounces.on == false then break end | |
| 2477 | wait() | |
| 2478 | end | |
| 2479 | x:Destroy() | |
| 2480 | BV:Destroy() | |
| 2481 | for i = 1, 30 do | |
| 2482 | 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) | |
| 2483 | 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) | |
| 2484 | 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) | |
| 2485 | 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) | |
| 2486 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
| 2487 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
| 2488 | if Debounces.on == false then break end | |
| 2489 | wait() | |
| 2490 | end | |
| 2491 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
| 2492 | for i = 1, 30 do | |
| 2493 | 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) | |
| 2494 | 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) | |
| 2495 | 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) | |
| 2496 | 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) | |
| 2497 | 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) | |
| 2498 | 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) | |
| 2499 | 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) | |
| 2500 | if Debounces.on == false then break end | |
| 2501 | wait() | |
| 2502 | end | |
| 2503 | end | |
| 2504 | Debounces.on = false | |
| 2505 | Debounces.NoIdl = false | |
| 2506 | local ry,ht,ps=nil,nil,nil | |
| 2507 | while ht==nil do | |
| 2508 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
| |
| 2509 | wait() | |
| 2510 | end | |
| 2511 | z = Instance.new("Sound",char)
| |
| 2512 | z.SoundId = "rbxassetid://142070127" | |
| 2513 | z.Volume = 1 | |
| 2514 | wait(.1) | |
| 2515 | z:Play() | |
| 2516 | Landing() | |
| 2517 | hum.WalkSpeed = 50 | |
| 2518 | if Debounces.CanAttack == false then | |
| 2519 | Debounces.CanAttack = true | |
| 2520 | end | |
| 2521 | end | |
| 2522 | end | |
| 2523 | end) | |
| 2524 | ---------------------------------------------------- | |
| 2525 | Grab = false | |
| 2526 | mouse.KeyDown:connect(function(key) | |
| 2527 | if key == "z" then | |
| 2528 | larm.BrickColor = BrickColor.new("Bright red")
| |
| 2529 | rarm.BrickColor = BrickColor.new("Bright red")
| |
| 2530 | Debounces.on = true | |
| 2531 | Debounces.NoIdl = true | |
| 2532 | if Grab == false then | |
| 2533 | gp = nil | |
| 2534 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 2535 | ht = hit.Parent | |
| 2536 | hum1=ht:FindFirstChild('Humanoid')
| |
| 2537 | if hum1 ~= nil then | |
| 2538 | hum1.PlatformStand=true | |
| 2539 | gp = ht | |
| 2540 | Grab = true | |
| 2541 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
| |
| 2542 | asd.Parent = larm | |
| 2543 | asd.Name = "asd" | |
| 2544 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
| 2545 | elseif hum1 == nil then | |
| 2546 | con1:disconnect() | |
| 2547 | wait() return | |
| 2548 | end | |
| 2549 | end) | |
| 2550 | for i = 1, 18 do | |
| 2551 | 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) | |
| 2552 | 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) | |
| 2553 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 2554 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
| 2555 | 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) | |
| 2556 | 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) | |
| 2557 | 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) | |
| 2558 | if Debounces.on == false then break end | |
| 2559 | wait() | |
| 2560 | end | |
| 2561 | con1:disconnect() | |
| 2562 | Debounces.on = false | |
| 2563 | Debounces.NoIdl = false | |
| 2564 | elseif Grab == true then | |
| 2565 | Grab = false | |
| 2566 | for i = 1, 20 do | |
| 2567 | 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) | |
| 2568 | 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) | |
| 2569 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 2570 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2571 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2572 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2573 | 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) | |
| 2574 | if Debounces.on == false then end | |
| 2575 | wait() | |
| 2576 | end | |
| 2577 | if gp ~= nil then | |
| 2578 | for i,v in pairs(larm:GetChildren()) do | |
| 2579 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 2580 | v:Remove() | |
| 2581 | end | |
| 2582 | end | |
| 2583 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 2584 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 2585 | bv.P = 125000 | |
| 2586 | bv.velocity = char.Head.CFrame.lookVector * 200 | |
| 2587 | for i = 1, 12 do | |
| 2588 | 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) | |
| 2589 | if Debounces.on == false then end | |
| 2590 | wait() | |
| 2591 | end | |
| 2592 | ht=nil | |
| 2593 | Spawn(function() | |
| 2594 | wait(0.5) | |
| 2595 | bv:Destroy() | |
| 2596 | end) | |
| 2597 | Debounces.on = false | |
| 2598 | Debounces.NoIdl = false | |
| 2599 | elseif ht == nil then wait() | |
| 2600 | Grab = false | |
| 2601 | Debounces.on = false | |
| 2602 | Debounces.NoIdl = false | |
| 2603 | end | |
| 2604 | end | |
| 2605 | end | |
| 2606 | end) | |
| 2607 | ---------------------------------------------------- | |
| 2608 | mouse.KeyDown:connect(function(key) | |
| 2609 | if string.byte(key) == 52 then | |
| 2610 | char.Humanoid.WalkSpeed = 21 | |
| 2611 | end | |
| 2612 | end) | |
| 2613 | mouse.KeyUp:connect(function(key) | |
| 2614 | if string.byte(key) == 52 then | |
| 2615 | char.Humanoid.WalkSpeed = 50 | |
| 2616 | end | |
| 2617 | end) | |
| 2618 | ---------------------------------------------------- | |
| 2619 | local animpose = "Idle" | |
| 2620 | local lastanimpose = "Idle" | |
| 2621 | local sine = 0 | |
| 2622 | local change = 1 | |
| 2623 | local val = 0 | |
| 2624 | local ffing = false | |
| 2625 | ---------------------------------------------------- | |
| 2626 | x = Instance.new("Sound", char)
| |
| 2627 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
| 2628 | x.Looped = true | |
| 2629 | x.Volume = 1 | |
| 2630 | x.Pitch = 1 | |
| 2631 | local footsteps = false | |
| 2632 | ------------------------------- | |
| 2633 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2634 | if char.Humanoid.Jump == true then | |
| 2635 | jump = true | |
| 2636 | else | |
| 2637 | jump = false | |
| 2638 | end | |
| 2639 | char.Humanoid.FreeFalling:connect(function(f) | |
| 2640 | if f then | |
| 2641 | ffing = true | |
| 2642 | else | |
| 2643 | ffing = false | |
| 2644 | end | |
| 2645 | end) | |
| 2646 | sine = sine + change | |
| 2647 | if jumpn == true then | |
| 2648 | animpose = "Jumping" | |
| 2649 | elseif ffing == true then | |
| 2650 | animpose = "Freefalling" | |
| 2651 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 2652 | animpose = "Idle" | |
| 2653 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 2654 | animpose = "Walking" | |
| 2655 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 2656 | animpose = "Running" | |
| 2657 | end | |
| 2658 | if animpose ~= lastanimpose then | |
| 2659 | sine = 0 | |
| 2660 | if Debounces.NoIdl == false then | |
| 2661 | if animpose == "Idle" then | |
| 2662 | for i = 1, 2 do | |
| 2663 | 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) | |
| 2664 | 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) | |
| 2665 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
| 2666 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2667 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2668 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2669 | 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) | |
| 2670 | end | |
| 2671 | elseif animpose == "Walking" then | |
| 2672 | for i = 1, 2 do | |
| 2673 | 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) | |
| 2674 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
| 2675 | 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) | |
| 2676 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
| 2677 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
| 2678 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
| 2679 | 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) | |
| 2680 | end | |
| 2681 | elseif animpose == "Running" then | |
| 2682 | for i = 1, 2 do | |
| 2683 | 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) | |
| 2684 | 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) | |
| 2685 | 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) | |
| 2686 | 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) | |
| 2687 | 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) | |
| 2688 | 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) | |
| 2689 | 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) | |
| 2690 | end | |
| 2691 | wait() | |
| 2692 | end | |
| 2693 | else | |
| 2694 | end | |
| 2695 | end | |
| 2696 | lastanimpose = animpose | |
| 2697 | if Debounces.NoIdl == false then | |
| 2698 | if animpose == "Idle" then | |
| 2699 | if stanceToggle == "Normal" then | |
| 2700 | change = 0.5 | |
| 2701 | 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) | |
| 2702 | 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) | |
| 2703 | 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) | |
| 2704 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
| 2705 | 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) | |
| 2706 | 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) | |
| 2707 | 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) | |
| 2708 | elseif stanceToggle == "Sitting" then | |
| 2709 | 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) | |
| 2710 | 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) | |
| 2711 | 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) | |
| 2712 | 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) | |
| 2713 | 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) | |
| 2714 | 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) | |
| 2715 | 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) | |
| 2716 | end | |
| 2717 | elseif animpose == "Walking" then | |
| 2718 | if stanceToggle == "Normal" then | |
| 2719 | change = 1 | |
| 2720 | 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.04) | |
| 2721 | 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.04) | |
| 2722 | 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.03) | |
| 2723 | 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.04) | |
| 2724 | 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), 0.04) | |
| 2725 | 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), .04) | |
| 2726 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04) | |
| 2727 | end | |
| 2728 | elseif animpose == "Running" then | |
| 2729 | change = 1 | |
| 2730 | 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) | |
| 2731 | 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) | |
| 2732 | 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) | |
| 2733 | 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) | |
| 2734 | 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) | |
| 2735 | 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) | |
| 2736 | 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) | |
| 2737 | end | |
| 2738 | end | |
| 2739 | if animpose == "Walking" then | |
| 2740 | if footsteps == false then | |
| 2741 | x:Play() | |
| 2742 | footsteps = true | |
| 2743 | end | |
| 2744 | x.Pitch = 1.1 | |
| 2745 | elseif animpose == "Idle" then | |
| 2746 | x:Stop() | |
| 2747 | footsteps = false | |
| 2748 | elseif animpose == "Running" then | |
| 2749 | x.Pitch = 1.2 | |
| 2750 | if footsteps == false then | |
| 2751 | x:Play() | |
| 2752 | footsteps = true | |
| 2753 | end | |
| 2754 | end | |
| 2755 | end) | |
| 2756 | p.Chatted:connect(function(msg) | |
| 2757 | if msg == TitanBet.."loadsong" then | |
| 2758 | z = Instance.new("Sound", char)
| |
| 2759 | z.SoundId = "rbxassetid://306826153"--242463565 | |
| 2760 | z.Name = "Music" | |
| 2761 | z.Looped = true | |
| 2762 | z.Volume = 1 | |
| 2763 | z.Pitch = 1 | |
| 2764 | wait() | |
| 2765 | if p.Name == "PointCoded" or "nguyenjimbo" then | |
| 2766 | z:Play() | |
| 2767 | else | |
| 2768 | print("Not Point Coded = no music")
| |
| 2769 | end | |
| 2770 | end | |
| 2771 | ||
| 2772 | end) | |
| 2773 | ||
| 2774 | p.Chatted:connect(function(msg) | |
| 2775 | if msg == TitanBet.."stopsong" then | |
| 2776 | char.Music:remove() | |
| 2777 | end | |
| 2778 | ||
| 2779 | end) | |
| 2780 | ||
| 2781 | while true do | |
| 2782 | local pe = char:GetChildren() | |
| 2783 | pe.Locked = true | |
| 2784 | p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value | |
| 2785 | if char.Mana.Value>4999 then | |
| 2786 | char.Mana.Value = 4999 | |
| 2787 | end | |
| 2788 | char.Mana.Value = char.Mana.Value + 1 | |
| 2789 | local pe = char:GetChildren() | |
| 2790 | hum.MaxHealth = 50000 | |
| 2791 | hum.Health = 50000 | |
| 2792 | pe.Locked = true | |
| 2793 | wait(0.000000000000000000000000001) | |
| 2794 | end |