SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | local p = game.Players.LocalPlayer | |
| 3 | local char = p.Character | |
| 4 | local mouse = p:GetMouse() | |
| 5 | local larm = char["Left Arm"] | |
| 6 | local rarm = char["Right Arm"] | |
| 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 debris=game:service"Debris" | |
| 17 | local l = game:GetService("Lighting")
| |
| 18 | local rs = game:GetService("RunService").RenderStepped
| |
| 19 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 20 | for i,v in pairs (hed:GetChildren()) do | |
| 21 | if v:IsA("Sound") then
| |
| 22 | v:Destroy() | |
| 23 | end | |
| 24 | end | |
| 25 | for i,v in pairs (char:GetChildren()) do | |
| 26 | if v:IsA("Accessory") or v.ClassName == "Accessory" then
| |
| 27 | v:Destroy() | |
| 28 | end | |
| 29 | end | |
| 30 | -------------------------------------------------------------------- | |
| 31 | ||
| 32 | ||
| 33 | hed.face.Texture = "http://www.roblox.com/asset/?id=635120692" | |
| 34 | purple = Color3.new(1, 1, 1) | |
| 35 | local player = "LocalPlayer" | |
| 36 | local Character = game.Players[player].Character | |
| 37 | it = Instance.new | |
| 38 | vt = Vector3.new | |
| 39 | bc = BrickColor.new | |
| 40 | cf = CFrame.new | |
| 41 | local hed = Character.Head | |
| 42 | local ultcooldown = 99999 | |
| 43 | ||
| 44 | paly = game.Players.LocalPlayer | |
| 45 | p = game.Players.LocalPlayer | |
| 46 | char = paly.Character | |
| 47 | torso = char.Torso | |
| 48 | - | char["Body Colors"].HeadColor = BrickColor.new("White")
|
| 48 | + | |
| 49 | - | char["Body Colors"].TorsoColor = BrickColor.new("Mulberry")
|
| 49 | + | |
| 50 | - | char["Body Colors"].LeftArmColor = BrickColor.new("White")
|
| 50 | + | |
| 51 | - | char["Body Colors"].RightArmColor = BrickColor.new("White")
|
| 51 | + | |
| 52 | Character = Player.Character | |
| 53 | - | ---------------------------------------------------------------- |
| 53 | + | |
| 54 | lleg = Character["Left Leg"] | |
| 55 | - | ---------------------------- SHIRT AND PANTS -- |
| 55 | + | |
| 56 | - | -------------------------------- |
| 56 | + | |
| 57 | - | for i,v in pairs(char:children()) do |
| 57 | + | |
| 58 | - | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
|
| 58 | + | |
| 59 | - | v:Remove() |
| 59 | + | |
| 60 | local Effects = {}
| |
| 61 | ||
| 62 | - | shirt = Instance.new("Shirt", char)
|
| 62 | + | |
| 63 | - | shirt.Name = "Shirt" |
| 63 | + | |
| 64 | - | pants = Instance.new("Pants", char)
|
| 64 | + | |
| 65 | - | pants.Name = "Pants" |
| 65 | + | |
| 66 | - | char.Shirt.ShirtTemplate = "rbxassetid://716858027" |
| 66 | + | |
| 67 | - | char.Pants.PantsTemplate = "rbxassetid://687438377" |
| 67 | + | |
| 68 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 69 | - | --------------------------------------------------------- |
| 69 | + | |
| 70 | local expld = Instance.new("Explosion", script.Parent)
| |
| 71 | - | -------------- |
| 71 | + | |
| 72 | plode.SoundId = "rbxassetid://579687077" | |
| 73 | plode.Volume = 1 | |
| 74 | plode.Pitch = 0.85 | |
| 75 | plode.Looped = false | |
| 76 | plode:Play() | |
| 77 | local plodez = Instance.new("Sound",workspace)
| |
| 78 | plodez.SoundId = "rbxassetid://288641686" | |
| 79 | plodez.Volume = 1 | |
| 80 | plodez.Pitch = 0.75 | |
| 81 | plodez.Looped = false | |
| 82 | plodez:Play() | |
| 83 | local plodeza = Instance.new("Sound",workspace)
| |
| 84 | plodeza.SoundId = "rbxassetid://197161452" | |
| 85 | plodeza.Volume = 0.85 | |
| 86 | plodeza.Pitch = 0.65 | |
| 87 | plodeza.Looped = false | |
| 88 | plodeza:Play() | |
| 89 | local plodezar = Instance.new("Sound",workspace)
| |
| 90 | plodezar.SoundId = "rbxassetid://197161452" | |
| 91 | plodezar.Volume = 0.85 | |
| 92 | plodezar.Pitch = 0.25 | |
| 93 | plodezar.Looped = false | |
| 94 | plodezar:Play() | |
| 95 | local s3 = Instance.new("Sound",workspace)
| |
| 96 | s3.SoundId = "rbxassetid://268931189" | |
| 97 | s3.Pitch = 1 | |
| 98 | s3.Volume = 1 | |
| 99 | s3.Looped = false | |
| 100 | s3:Play() | |
| 101 | xay = Instance.new("Sound",workspace)
| |
| 102 | xay.SoundId = "rbxassetid://419447292" | |
| 103 | xay.Pitch = 1 | |
| 104 | xay.Volume = 2.5 | |
| 105 | xay:Play() | |
| 106 | expld.BlastRadius = rad | |
| 107 | expld.Position = par.Position | |
| 108 | partMesh.Scale = vt(rad,rad,rad) | |
| 109 | expart.Size = vt(1,1,1)*1.5 | |
| 110 | expart.Transparency = 0 | |
| 111 | expart.Anchored = true | |
| 112 | expart.Material = "Neon" | |
| 113 | expart.BrickColor = bc("White")
| |
| 114 | expart.CFrame = par.CFrame | |
| 115 | partMesh2.Scale = vt(rad,rad,rad) | |
| 116 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 117 | expart2.Transparency = 0.5 | |
| 118 | expart2.Anchored = true | |
| 119 | expart2.Material = "Neon" | |
| 120 | expart2.BrickColor = Character.Torso.BrickColor | |
| 121 | expart2.CFrame = par.CFrame | |
| 122 | local value = 1*rad/10 | |
| 123 | par:Destroy() | |
| 124 | for i = 0, 300 do | |
| 125 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 126 | expart.CFrame = expart.CFrame | |
| 127 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 128 | expart2.CFrame = expart.CFrame | |
| 129 | value = value - 0.0175*rad/10 | |
| 130 | if value <= 0 then | |
| 131 | expart.Transparency = expart.Transparency + 0.0125 | |
| 132 | expart2.Transparency = expart2.Transparency + 0.0125 | |
| 133 | value = 0.25 | |
| 134 | end | |
| 135 | wait() | |
| 136 | end | |
| 137 | plode.Parent = nil | |
| 138 | expart.Parent = nil | |
| 139 | expart2.Parent = nil | |
| 140 | expld.Parent = nil | |
| 141 | end | |
| 142 | ||
| 143 | function ExplodeMass2(rad,par) | |
| 144 | local expart = Instance.new("Part",script.Parent)
| |
| 145 | local expart2 = Instance.new("Part",script.Parent)
| |
| 146 | local partMesh = Instance.new("SpecialMesh",expart)
| |
| 147 | partMesh.MeshType = "Sphere" | |
| 148 | local partMesh2 = Instance.new("SpecialMesh",expart2)
| |
| 149 | partMesh2.MeshType = "Sphere" | |
| 150 | local expld = Instance.new("Explosion", script.Parent)
| |
| 151 | local plode = Instance.new("Sound",workspace)
| |
| 152 | plode.SoundId = "rbxassetid://579687077" | |
| 153 | plode.Volume = 1 | |
| 154 | plode.Pitch = 0.8 | |
| 155 | plode.Looped = false | |
| 156 | plode:Play() | |
| 157 | local plodez = Instance.new("Sound",workspace)
| |
| 158 | plodez.SoundId = "rbxassetid://288641686" | |
| 159 | plodez.Volume = 1 | |
| 160 | plodez.Pitch = 0.7 | |
| 161 | plodez.Looped = false | |
| 162 | plodez:Play() | |
| 163 | local plodeza = Instance.new("Sound",workspace)
| |
| 164 | plodeza.SoundId = "rbxassetid://197161452" | |
| 165 | plodeza.Volume = 0.85 | |
| 166 | plodeza.Pitch = 0.6 | |
| 167 | plodeza.Looped = false | |
| 168 | plodeza:Play() | |
| 169 | local plodezar = Instance.new("Sound",workspace)
| |
| 170 | plodezar.SoundId = "rbxassetid://197161452" | |
| 171 | plodezar.Volume = 0.85 | |
| 172 | plodezar.Pitch = 0.2 | |
| 173 | plodezar.Looped = false | |
| 174 | plodezar:Play() | |
| 175 | local s3 = Instance.new("Sound",workspace)
| |
| 176 | s3.SoundId = "rbxassetid://268931189" | |
| 177 | s3.Pitch = 0.85 | |
| 178 | s3.Volume = 1 | |
| 179 | s3.Looped = false | |
| 180 | s3:Play() | |
| 181 | xay = Instance.new("Sound",workspace)
| |
| 182 | xay.SoundId = "rbxassetid://419447292" | |
| 183 | xay.Pitch = 1 | |
| 184 | xay.Volume = 3.5 | |
| 185 | xay:Play() | |
| 186 | expld.BlastRadius = rad | |
| 187 | expld.Position = par.Position | |
| 188 | partMesh.Scale = vt(rad,rad,rad) | |
| 189 | expart.Size = vt(1,1,1)*1.5 | |
| 190 | expart.Transparency = 0 | |
| 191 | expart.Anchored = true | |
| 192 | expart.Material = "Neon" | |
| 193 | expart.BrickColor = bc("Really black")
| |
| 194 | expart.CFrame = par.CFrame | |
| 195 | partMesh2.Scale = vt(rad,rad,rad) | |
| 196 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
| 197 | expart2.Transparency = 0.5 | |
| 198 | expart2.Anchored = true | |
| 199 | expart2.Material = "Neon" | |
| 200 | expart2.BrickColor = Character.Torso.BrickColor | |
| 201 | expart2.CFrame = par.CFrame | |
| 202 | local value = 1*rad/10 | |
| 203 | par:Destroy() | |
| 204 | for i = 0, 300 do | |
| 205 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
| 206 | expart.CFrame = expart.CFrame | |
| 207 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
| 208 | expart2.CFrame = expart.CFrame | |
| 209 | value = value - 0.0175*rad/10 | |
| 210 | if value <= 0 then | |
| 211 | expart.Transparency = expart.Transparency + 0.0125 | |
| 212 | expart2.Transparency = expart2.Transparency + 0.0125 | |
| 213 | value = 0.25 | |
| 214 | end | |
| 215 | wait() | |
| 216 | end | |
| 217 | plode.Parent = nil | |
| 218 | expart.Parent = nil | |
| 219 | expart2.Parent = nil | |
| 220 | expld.Parent = nil | |
| 221 | end | |
| 222 | ||
| 223 | function Blaze2() | |
| 224 | if ultcooldown >= 30 then | |
| 225 | ultcooldown = ultcooldown - 30 | |
| 226 | wit = Character.Torso.BrickColor.Color | |
| 227 | local sloc = Instance.new("Part",workspace)
| |
| 228 | local msh = Instance.new("SpecialMesh",sloc)
| |
| 229 | msh.MeshType = "Sphere" | |
| 230 | sloc.Size = vt(1,1,1) | |
| 231 | sloc.Transparency = 1 | |
| 232 | sloc.BrickColor = Character.Torso.BrickColor | |
| 233 | sloc.Position = hed.Position + vt(0,0,0) | |
| 234 | sloc.CanCollide = false | |
| 235 | sloc.Shape = "Ball" | |
| 236 | sloc.Anchored = true | |
| 237 | sloc.Material = "Neon" | |
| 238 | local forcefield = Instance.new("ForceField",Character)
| |
| 239 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
| |
| 240 | kolor.TintColor = Character.Torso.BrickColor.Color | |
| 241 | local glowz = Instance.new("ParticleEmitter")
| |
| 242 | glowz.LightEmission = 0 | |
| 243 | glowz.Parent = sloc | |
| 244 | glowz.Texture = "rbxassetid://284205403" | |
| 245 | glowz.Color = ColorSequence.new(wit) | |
| 246 | glowz.Size = NumberSequence.new(15) | |
| 247 | glowz.Speed = NumberRange.new(100,250) | |
| 248 | glowz.LockedToPart = false | |
| 249 | glowz.Transparency = NumberSequence.new(0.75) | |
| 250 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 251 | glowz.Lifetime = NumberRange.new(1) | |
| 252 | glowz.Rate = 50 | |
| 253 | glowz.VelocitySpread = 9001 | |
| 254 | local s = Instance.new("Sound",workspace)
| |
| 255 | s.SoundId = "rbxassetid://331888777" | |
| 256 | s.Pitch = 0.45 | |
| 257 | s.Volume = 1.5 | |
| 258 | s.Looped = false | |
| 259 | s:Play() | |
| 260 | local s2 = Instance.new("Sound",workspace)
| |
| 261 | s2.SoundId = "rbxassetid://331888777" | |
| 262 | s2.Pitch = 0.5 | |
| 263 | s2.Volume = 1.5 | |
| 264 | s2.Looped = false | |
| 265 | s2:Play() | |
| 266 | local val = 1*5 | |
| 267 | for i = 0 , 20 do | |
| 268 | sloc.Transparency = sloc.Transparency - 0.055 | |
| 269 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 270 | val = val - 0.05*5 | |
| 271 | kolor.Brightness = kolor.Brightness - 0.1 | |
| 272 | kolor.Contrast = kolor.Contrast + 0.1 | |
| 273 | wait() | |
| 274 | end | |
| 275 | for i = 0 , 5 do | |
| 276 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 277 | val = val + 0.05*5 | |
| 278 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 279 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 280 | wait() | |
| 281 | end | |
| 282 | for i = 0 , 5 do | |
| 283 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 284 | val = val - 0.05*5 | |
| 285 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 286 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 287 | wait() | |
| 288 | end | |
| 289 | for i = 0 , 5 do | |
| 290 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 291 | val = val + 0.05*10 | |
| 292 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 293 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 294 | wait() | |
| 295 | end | |
| 296 | for i = 0 , 5 do | |
| 297 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 298 | val = val - 0.05*10 | |
| 299 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 300 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 301 | wait() | |
| 302 | end | |
| 303 | for i = 0 , 5 do | |
| 304 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 305 | val = val + 0.05*20 | |
| 306 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 307 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 308 | wait() | |
| 309 | end | |
| 310 | for i = 0 , 5 do | |
| 311 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 312 | val = val - 0.05*20 | |
| 313 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 314 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 315 | wait() | |
| 316 | end | |
| 317 | for i = 0 , 5 do | |
| 318 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 319 | val = val + 0.05*40 | |
| 320 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 321 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 322 | wait() | |
| 323 | end | |
| 324 | for i = 0 , 5 do | |
| 325 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 326 | val = val - 0.05*40 | |
| 327 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 328 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 329 | wait() | |
| 330 | end | |
| 331 | for i = 0 , 5 do | |
| 332 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 333 | val = val + 0.05*45 | |
| 334 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 335 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 336 | wait() | |
| 337 | end | |
| 338 | for i = 0 , 5 do | |
| 339 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 340 | val = val - 0.05*45 | |
| 341 | kolor.Brightness = kolor.Brightness - 0.5 | |
| 342 | kolor.Contrast = kolor.Contrast + 0.5 | |
| 343 | wait() | |
| 344 | end | |
| 345 | for i = 0 , 5 do | |
| 346 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 347 | val = val + 0.05*50 | |
| 348 | kolor.Brightness = kolor.Brightness + 0.5 | |
| 349 | kolor.Contrast = kolor.Contrast - 0.5 | |
| 350 | wait() | |
| 351 | end | |
| 352 | for i = 0 , 20 do | |
| 353 | sloc.Transparency = sloc.Transparency + 0.055 | |
| 354 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 355 | val = val - 0.05*50 | |
| 356 | wait() | |
| 357 | end | |
| 358 | kolor:Destroy() | |
| 359 | ExplodeMass2(125,sloc) | |
| 360 | sloc:Destroy() | |
| 361 | forcefield:Destroy() | |
| 362 | end | |
| 363 | if ultcooldown < 1 then | |
| 364 | for i = 0, 29 do | |
| 365 | ultcooldown = ultcooldown + 1 | |
| 366 | wait(1) | |
| 367 | end | |
| 368 | end | |
| 369 | end | |
| 370 | ||
| 371 | function Blaze() | |
| 372 | if ultcooldown >= 30 then | |
| 373 | local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
| |
| 374 | local see = Instance.new("Sound",workspace)
| |
| 375 | see.SoundId = "rbxassetid://21420962" | |
| 376 | see.Pitch = 1 | |
| 377 | see.Volume = 2.75 | |
| 378 | see.Looped = false | |
| 379 | see:Play() | |
| 380 | kolor.Brightness = -1 | |
| 381 | kolor.Contrast = -1 | |
| 382 | kolor.TintColor = Character.Torso.BrickColor.Color | |
| 383 | wait(0.1) | |
| 384 | for i = 0, 9 do | |
| 385 | kolor.Brightness = kolor.Brightness + 0.35 | |
| 386 | kolor.Contrast = kolor.Contrast + 0.35 | |
| 387 | wait(0.05) | |
| 388 | end | |
| 389 | for i = 0, 9 do | |
| 390 | kolor.Brightness = kolor.Brightness - 0.35 | |
| 391 | kolor.Contrast = kolor.Contrast - 0.35 | |
| 392 | wait(0.05) | |
| 393 | end | |
| 394 | kolor:Destroy() | |
| 395 | local sloc = Instance.new("Part",workspace)
| |
| 396 | local msh = Instance.new("SpecialMesh",sloc)
| |
| 397 | msh.MeshType = "Sphere" | |
| 398 | sloc.Size = vt(1,1,1) | |
| 399 | sloc.Transparency = 1 | |
| 400 | sloc.BrickColor = Character.Torso.BrickColor | |
| 401 | sloc.Position = hed.Position + vt(0,5,0) | |
| 402 | sloc.CanCollide = false | |
| 403 | sloc.Shape = "Ball" | |
| 404 | sloc.Anchored = true | |
| 405 | sloc.Material = "Neon" | |
| 406 | local s = Instance.new("Sound",workspace)
| |
| 407 | s.SoundId = "rbxassetid://342793847" | |
| 408 | s.Pitch = 1 | |
| 409 | s.Volume = 1 | |
| 410 | s.Looped = false | |
| 411 | s:Play() | |
| 412 | local s2 = Instance.new("Sound",workspace)
| |
| 413 | s2.SoundId = "rbxassetid://137463716" | |
| 414 | s2.Pitch = 0.25 | |
| 415 | s2.Volume = 1 | |
| 416 | s2.Looped = false | |
| 417 | s2:Play() | |
| 418 | local val = 0.65*5 | |
| 419 | for i = 0 , 75 do | |
| 420 | sloc.Transparency = sloc.Transparency - 0.035 | |
| 421 | msh.Scale = msh.Scale + vt(val,val,val) | |
| 422 | sloc.Position = sloc.Position + vt(0,val,0) | |
| 423 | val = val - 0.0075*5 | |
| 424 | wait() | |
| 425 | end | |
| 426 | msh.Scale = msh.Scale - vt(1,1,1) | |
| 427 | sloc.Transparency = sloc.Transparency + 0.015 | |
| 428 | local spart = Instance.new("Part",workspace)
| |
| 429 | local msh2 = Instance.new("SpecialMesh",spart)
| |
| 430 | msh2.MeshType = "Sphere" | |
| 431 | spart.Size = vt(2,2,2) | |
| 432 | spart.Shape = "Ball" | |
| 433 | spart.BrickColor = Character.Torso.BrickColor | |
| 434 | spart.Material = "Neon" | |
| 435 | spart.Transparency = 0 | |
| 436 | spart.Anchored = false | |
| 437 | msh2.Scale = msh.Scale/2 | |
| 438 | spart.Rotation = hed.Rotation | |
| 439 | spart.CanCollide = false | |
| 440 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
| 441 | local bv = Instance.new("BodyVelocity")
| |
| 442 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 443 | bv.velocity = spart.CFrame.lookVector*75 | |
| 444 | bv.Parent = spart | |
| 445 | local tick = Instance.new("Sound",workspace)
| |
| 446 | tick.SoundId = "rbxassetid://203691467" | |
| 447 | tick.Volume = 2 | |
| 448 | tick.Pitch = 0.75 | |
| 449 | tick:Play() | |
| 450 | sloc:Destroy() | |
| 451 | wait(0.00001) | |
| 452 | pewdiepie=spart.Touched:connect(function(hit) | |
| 453 | ExplodeMass(100,spart) | |
| 454 | end) | |
| 455 | sloc:Destroy() | |
| 456 | end | |
| 457 | if ultcooldown < 1 then | |
| 458 | for i = 0, 29 do | |
| 459 | ultcooldown = ultcooldown + 1 | |
| 460 | wait(1) | |
| 461 | end | |
| 462 | end | |
| 463 | end | |
| 464 | ||
| 465 | euler = CFrame.fromEulerAnglesXYZ | |
| 466 | angles = CFrame.Angles | |
| 467 | mr = math.rad | |
| 468 | local Weapon = {}
| |
| 469 | local p = game.Players.LocalPlayer | |
| 470 | local char = p.Character | |
| 471 | local mouse = p:GetMouse() | |
| 472 | local larm = char["Left Arm"] | |
| 473 | local rarm = char["Right Arm"] | |
| 474 | local lleg = char["Left Leg"] | |
| 475 | local rleg = char["Right Leg"] | |
| 476 | local hed = char.Head | |
| 477 | local torso = char.Torso | |
| 478 | local hum = char.Humanoid | |
| 479 | local cam = game.Workspace.CurrentCamera | |
| 480 | local root = char.HumanoidRootPart | |
| 481 | local deb = false | |
| 482 | local shot = 0 | |
| 483 | local debris=game:service"Debris" | |
| 484 | local l = game:GetService("Lighting")
| |
| 485 | local rs = game:GetService("RunService").RenderStepped
| |
| 486 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 487 | math.randomseed(os.time()) | |
| 488 | for i,v in pairs (hed:GetChildren()) do | |
| 489 | if v:IsA("Sound") then
| |
| 490 | v:Destroy() | |
| 491 | end | |
| 492 | end | |
| 493 | ||
| 494 | wait(0.016666666666667) | |
| 495 | script.Archivable = false | |
| 496 | Effects = {}
| |
| 497 | local Player = game.Players.localPlayer | |
| 498 | local Character = Player.Character | |
| 499 | local Humanoid = Character.Humanoid | |
| 500 | local mouse = Player:GetMouse() | |
| 501 | local m = Instance.new("Model", Character)
| |
| 502 | m.Name = "WeaponModel" | |
| 503 | local effect = Instance.new("Model", Character)
| |
| 504 | effect.Name = "effecsfsafzx" | |
| 505 | local demon = Instance.new("Model", Character)
| |
| 506 | demon.Name = "demdemd" | |
| 507 | local LeftArm = Character["Left Arm"] | |
| 508 | local RightArm = Character["Right Arm"] | |
| 509 | local LeftLeg = Character["Left Leg"] | |
| 510 | local RightLeg = Character["Right Leg"] | |
| 511 | local do2target = nil | |
| 512 | local Head = Character.Head | |
| 513 | local Torso = Character.Torso | |
| 514 | TorsoColor = Torso.BrickColor | |
| 515 | z = Instance.new("Sound", Torso)
| |
| 516 | z.SoundId = "rbxassetid://0" -- Put Music ID Here. | |
| 517 | z.Looped = true | |
| 518 | z.Pitch = 0 | |
| 519 | z.Volume = 0 | |
| 520 | wait(.1) | |
| 521 | z:Play() | |
| 522 | local cam = game.Workspace.CurrentCamera | |
| 523 | local RootPart = Character.HumanoidRootPart | |
| 524 | local RootJoint = RootPart.RootJoint | |
| 525 | local equipped = false | |
| 526 | local attack = false | |
| 527 | local Anim = "Idle" | |
| 528 | local idle = 0 | |
| 529 | local attacktype = 1 | |
| 530 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 531 | local velocity = RootPart.Velocity.y | |
| 532 | local sine = 0 | |
| 533 | local change = 1 | |
| 534 | local mana = 0 | |
| 535 | local it = Instance.new | |
| 536 | vt = Vector3.new | |
| 537 | local grabbed = false | |
| 538 | local cf = CFrame.new | |
| 539 | local mr = math.rad | |
| 540 | local angles = CFrame.Angles | |
| 541 | local ud = UDim2.new | |
| 542 | local c3 = Color3.new | |
| 543 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 544 | Humanoid.Animator:Destroy() | |
| 545 | Character.Animate:Destroy() | |
| 546 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 547 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 548 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
| 549 | RSH = nil | |
| 550 | RW = Instance.new("Weld")
| |
| 551 | LW = Instance.new("Weld")
| |
| 552 | RH = Torso["Right Hip"] | |
| 553 | LH = Torso["Left Hip"] | |
| 554 | RSH = Torso["Right Shoulder"] | |
| 555 | LSH = Torso["Left Shoulder"] | |
| 556 | RSH.Parent = nil | |
| 557 | LSH.Parent = nil | |
| 558 | RW.Name = "RW" | |
| 559 | RW.Part0 = Torso | |
| 560 | RW.C0 = cf(1.5, 0.5, 0) | |
| 561 | RW.C1 = cf(0, 0.5, 0) | |
| 562 | RW.Part1 = RightArm | |
| 563 | RW.Parent = Torso | |
| 564 | LW.Name = "LW" | |
| 565 | LW.Part0 = Torso | |
| 566 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 567 | LW.C1 = cf(0, 0.5, 0) | |
| 568 | LW.Part1 = LeftArm | |
| 569 | LW.Parent = Torso | |
| 570 | clerp = function(a, b, t) | |
| 571 | ||
| 572 | return a:lerp(b, t) | |
| 573 | end | |
| 574 | ||
| 575 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 576 | local Create = RbxUtility.Create | |
| 577 | RemoveOutlines = function(part) | |
| 578 | ||
| 579 | part.TopSurface = 10 | |
| 580 | end | |
| 581 | ||
| 582 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 583 | ||
| 584 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 585 | RemoveOutlines(Part) | |
| 586 | return Part | |
| 587 | end | |
| 588 | ||
| 589 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 590 | ||
| 591 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 592 | if Mesh == "SpecialMesh" then | |
| 593 | Msh.MeshType = MeshType | |
| 594 | Msh.MeshId = MeshId | |
| 595 | end | |
| 596 | return Msh | |
| 597 | end | |
| 598 | ||
| 599 | local co1 = 3 | |
| 600 | local co2 = 10 | |
| 601 | local co3 = 15 | |
| 602 | local co4 = 30 | |
| 603 | local cooldown1 = 0 | |
| 604 | local cooldown2 = 0 | |
| 605 | local cooldown3 = 0 | |
| 606 | local cooldown4 = 0 | |
| 607 | local maxEnergy = 100 | |
| 608 | local Energy = 0 | |
| 609 | local skill1stam = 1000 | |
| 610 | local skill2stam = 1000 | |
| 611 | local skill3stam = 1000 | |
| 612 | local skill4stam = 1000 | |
| 613 | local recovermana = 5 | |
| 614 | local skillcolorscheme = BrickColor.new("White").Color
| |
| 615 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 616 | makeframe = function(par, trans, pos, size, color) | |
| 617 | ||
| 618 | local frame = Instance.new("Frame", par)
| |
| 619 | frame.BackgroundTransparency = trans | |
| 620 | frame.BorderSizePixel = 0 | |
| 621 | frame.Position = pos | |
| 622 | frame.Size = size | |
| 623 | frame.BackgroundColor3 = color | |
| 624 | return frame | |
| 625 | end | |
| 626 | ||
| 627 | makelabel = function(par, text) | |
| 628 | ||
| 629 | local label = Instance.new("TextLabel", par)
| |
| 630 | label.BackgroundTransparency = 1 | |
| 631 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 632 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 633 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 634 | label.TextStrokeTransparency = 0 | |
| 635 | label.FontSize = Enum.FontSize.Size32 | |
| 636 | label.Font = Enum.Font.SourceSansLight | |
| 637 | label.BorderSizePixel = 0 | |
| 638 | label.TextScaled = true | |
| 639 | label.Text = text | |
| 640 | end | |
| 641 | ||
| 642 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 643 | ArtificialHB.Name = "Heartbeat" | |
| 644 | script:WaitForChild("Heartbeat")
| |
| 645 | frame = 0.033333333333333 | |
| 646 | tf = 0 | |
| 647 | allowframeloss = false | |
| 648 | tossremainder = false | |
| 649 | lastframe = tick() | |
| 650 | script.Heartbeat:Fire() | |
| 651 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 652 | ||
| 653 | tf = tf + s | |
| 654 | if frame <= tf then | |
| 655 | if allowframeloss then | |
| 656 | script.Heartbeat:Fire() | |
| 657 | lastframe = tick() | |
| 658 | else | |
| 659 | for i = 1, math.floor(tf / frame) do | |
| 660 | script.Heartbeat:Fire() | |
| 661 | end | |
| 662 | lastframe = tick() | |
| 663 | end | |
| 664 | if tossremainder then | |
| 665 | tf = 0 | |
| 666 | else | |
| 667 | tf = tf - frame * math.floor(tf / frame) | |
| 668 | end | |
| 669 | end | |
| 670 | end | |
| 671 | ) | |
| 672 | swait = function(num) | |
| 673 | ||
| 674 | if num == 0 or num == nil then | |
| 675 | ArtificialHB.Event:wait() | |
| 676 | else | |
| 677 | for i = 0, num do | |
| 678 | ArtificialHB.Event:wait() | |
| 679 | end | |
| 680 | end | |
| 681 | end | |
| 682 | ||
| 683 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 684 | ||
| 685 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 686 | return Weld | |
| 687 | end | |
| 688 | ||
| 689 | rayCast = function(Position, Direction, Range, Ignore) | |
| 690 | ||
| 691 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 692 | end | |
| 693 | ||
| 694 | CreateSound = function(id, par, vol, pit) | |
| 695 | ||
| 696 | coroutine.resume(coroutine.create(function() | |
| 697 | ||
| 698 | local sou = Instance.new("Sound", par or workspace)
| |
| 699 | sou.Volume = vol | |
| 700 | sou.Pitch = pit or 1 | |
| 701 | sou.SoundId = id | |
| 702 | swait() | |
| 703 | sou:play() | |
| 704 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 705 | end | |
| 706 | )) | |
| 707 | end | |
| 708 | ||
| 709 | local getclosest = function(obj, distance) | |
| 710 | ||
| 711 | local last, lastx = distance + 1, nil | |
| 712 | for i,v in pairs(workspace:GetChildren()) do | |
| 713 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 714 | local t = v.Torso | |
| 715 | local dist = t.Position - obj.Position.magnitude | |
| 716 | if dist <= distance and dist < last then | |
| 717 | last = dist | |
| 718 | lastx = v | |
| 719 | end | |
| 720 | end | |
| 721 | end | |
| 722 | return lastx | |
| 723 | end | |
| 724 | ||
| 725 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
| 726 | ||
| 727 | if PartType == "Part" then | |
| 728 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 729 | RemoveOutlines(Part) | |
| 730 | return Part | |
| 731 | else | |
| 732 | do | |
| 733 | if PartType == "WedgePart" then | |
| 734 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 735 | RemoveOutlines(Part) | |
| 736 | return Part | |
| 737 | end | |
| 738 | end | |
| 739 | end | |
| 740 | end | |
| 741 | ||
| 742 | for _,c in pairs(m:children()) do | |
| 743 | if c.className == "Weld" then | |
| 744 | table.insert(CBladeWelds, R67_PC6072) | |
| 745 | print(R66_PC6093) | |
| 746 | end | |
| 747 | end | |
| 748 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
| 749 | ||
| 750 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
| 751 | ||
| 752 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
| 753 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
| 754 | ||
| 755 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
| 756 | ||
| 757 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 758 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
| |
| 759 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
| 760 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 761 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 762 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 763 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
| |
| 764 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
| 765 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
| 766 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
| |
| 767 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
| 768 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
| 769 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 770 | local DBlade = {}
| |
| 771 | local DBladeWelds = {}
| |
| 772 | for _,c in pairs(demon:children()) do | |
| 773 | if c.className == "Part" then | |
| 774 | table.insert(DBlade, c) | |
| 775 | end | |
| 776 | end | |
| 777 | for _,c in pairs(demon:children()) do | |
| 778 | if c.className == "Weld" then | |
| 779 | table.insert(DBladeWelds, c) | |
| 780 | print(c) | |
| 781 | end | |
| 782 | end | |
| 783 | demon.Parent = nil | |
| 784 | ||
| 785 | Debounces = {
| |
| 786 | CanAttack = true; | |
| 787 | NoIdl = false; | |
| 788 | Slashing = false; | |
| 789 | Slashed = false; | |
| 790 | RPunch = false; | |
| 791 | RPunched = false; | |
| 792 | LPunch = false; | |
| 793 | LPunched = false; | |
| 794 | } | |
| 795 | local Touche = {char.Name, }
| |
| 796 | ---------------------------------------------------- | |
| 797 | function lerp(a, b, t) -- Linear interpolation | |
| 798 | return a + (b - a)*t | |
| 799 | end | |
| 800 | ||
| 801 | function slerp(a, b, t) --Spherical interpolation | |
| 802 | dot = a:Dot(b) | |
| 803 | if dot > 0.99999 or dot < -0.99999 then | |
| 804 | return t <= 0.5 and a or b | |
| 805 | else | |
| 806 | r = math.acos(dot) | |
| 807 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 808 | end | |
| 809 | end | |
| 810 | ||
| 811 | function matrixInterpolate(a, b, t) | |
| 812 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 813 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 814 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 815 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 816 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 817 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 818 | local t = v1:Dot(v2) | |
| 819 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 820 | return CFrame.new() | |
| 821 | end | |
| 822 | return CFrame.new( | |
| 823 | v0.x, v0.y, v0.z, | |
| 824 | v1.x, v1.y, v1.z, | |
| 825 | v2.x, v2.y, v2.z, | |
| 826 | v3.x, v3.y, v3.z) | |
| 827 | end | |
| 828 | ---------------------------------------------------- | |
| 829 | function genWeld(a,b) | |
| 830 | local w = Instance.new("Weld",a)
| |
| 831 | w.Part0 = a | |
| 832 | w.Part1 = b | |
| 833 | return w | |
| 834 | end | |
| 835 | function weld(a, b) | |
| 836 | local weld = Instance.new("Weld")
| |
| 837 | weld.Name = "W" | |
| 838 | weld.Part0 = a | |
| 839 | weld.Part1 = b | |
| 840 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 841 | weld.Parent = a | |
| 842 | return weld; | |
| 843 | end | |
| 844 | ---------------------------------------------------- | |
| 845 | function Lerp(c1,c2,al) | |
| 846 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 847 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 848 | for i,v in pairs(com1) do | |
| 849 | com1[i] = v+(com2[i]-v)*al | |
| 850 | end | |
| 851 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 852 | end | |
| 853 | ---------------------------------------------------- | |
| 854 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 855 | local wld = Instance.new("Weld", wp1)
| |
| 856 | wld.Part0 = wp0 | |
| 857 | wld.Part1 = wp1 | |
| 858 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 859 | end | |
| 860 | ---------------------------------------------------- | |
| 861 | function Tween(a,b,c) | |
| 862 | return a+(b-a)*c | |
| 863 | end | |
| 864 | ---------------------------------------------------- | |
| 865 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 866 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 867 | local List = {}
| |
| 868 | for i,v in pairs(workspace:GetChildren())do | |
| 869 | if v:IsA("Model")then
| |
| 870 | if v:findFirstChild("Torso")then
| |
| 871 | if v ~= char then | |
| 872 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 873 | table.insert(List,v) | |
| 874 | end | |
| 875 | end | |
| 876 | end | |
| 877 | end | |
| 878 | end | |
| 879 | return List | |
| 880 | end | |
| 881 | ||
| 882 | mod3 = Instance.new("Model",rleg)
| |
| 883 | ||
| 884 | function Stomp() | |
| 885 | part=Instance.new('Part',mod3)
| |
| 886 | part.Anchored=true | |
| 887 | part.CanCollide=false | |
| 888 | part.FormFactor='Custom' | |
| 889 | part.Size=Vector3.new(.2,.2,.2) | |
| 890 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
| 891 | part.Transparency=.7 | |
| 892 | part.BrickColor=BrickColor.new('Bright green')
| |
| 893 | mesh=Instance.new('SpecialMesh',part)
| |
| 894 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 895 | mesh.Scale=Vector3.new(25,25,25) | |
| 896 | part2=part:clone() | |
| 897 | part2.Parent=mod3 | |
| 898 | part2.BrickColor=BrickColor.new('Bright green')
| |
| 899 | mesh2=mesh:clone() | |
| 900 | mesh2.Parent=part2 | |
| 901 | mesh2.Scale=Vector3.new(15,15,15) | |
| 902 | part3=part:clone() | |
| 903 | part3.Parent=mod3 | |
| 904 | part3.TopSurface=0 | |
| 905 | part3.BottomSurface=0 | |
| 906 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
| 907 | mesh3=Instance.new('SpecialMesh',part3)
| |
| 908 | mesh3.MeshType = 3 | |
| 909 | mesh3.Scale=Vector3.new(12,12,12) | |
| 910 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
| 911 | if v:FindFirstChild('Humanoid') then
| |
| 912 | v.Humanoid:TakeDamage(math.random(20,60)) | |
| 913 | v.Humanoid.PlatformStand = true | |
| 914 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 915 | end | |
| 916 | end | |
| 917 | coroutine.resume(coroutine.create(function() | |
| 918 | for i=0,3.8,0.05 do | |
| 919 | wait() | |
| 920 | part.CFrame=part.CFrame | |
| 921 | part.Transparency=i | |
| 922 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
| 923 | part2.CFrame=part2.CFrame | |
| 924 | part2.Transparency=i | |
| 925 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
| 926 | part3.CFrame=part3.CFrame | |
| 927 | part3.Transparency=i | |
| 928 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
| 929 | end | |
| 930 | end)) | |
| 931 | end | |
| 932 | ---------------------------------------------------- | |
| 933 | function nwPrt(prnt,siz,cf,col) | |
| 934 | local prt=Instance.new("Part")
| |
| 935 | prt.Parent=prnt | |
| 936 | prt.FormFactor=3 | |
| 937 | prt.Name="Part" | |
| 938 | prt.Size=siz | |
| 939 | prt.CanCollide=false | |
| 940 | prt.Anchored=true | |
| 941 | prt.Locked=true | |
| 942 | prt.TopSurface=10 | |
| 943 | prt.BottomSurface=10 | |
| 944 | prt.FrontSurface=10 | |
| 945 | prt.BackSurface=10 | |
| 946 | prt.LeftSurface=10 | |
| 947 | prt.RightSurface=10 | |
| 948 | prt:BreakJoints() | |
| 949 | prt.CFrame=cf or CFrame.new(30,10,30) | |
| 950 | prt.Material="Neon" | |
| 951 | prt.BrickColor=TorsoColor | |
| 952 | m=Instance.new("SpecialMesh",prt)
| |
| 953 | m.MeshType=6 | |
| 954 | return prt | |
| 955 | end | |
| 956 | ---------------------------------------------------- | |
| 957 | function nwSnd(prnt,pch,vol,id) | |
| 958 | local s=Instance.new("Sound",prnt)
| |
| 959 | s.Pitch=pch | |
| 960 | s.Volume=vol | |
| 961 | s.SoundId="rbxassetid://"..id | |
| 962 | s.PlayOnRemove=true | |
| 963 | return s | |
| 964 | end | |
| 965 | ---------------------------------------------------- | |
| 966 | function newRay(start,face,range,wat) | |
| 967 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 968 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 969 | return rey,hit,pos | |
| 970 | end | |
| 971 | ---------------------------------------------------- | |
| 972 | function Lerp(c1,c2,al) | |
| 973 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 974 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 975 | for i,v in pairs(com1) do | |
| 976 | com1[i] = v+(com2[i]-v)*al | |
| 977 | end | |
| 978 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 979 | end | |
| 980 | ---------------------------------------------------- | |
| 981 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 982 | local wld = Instance.new("Weld", wp1)
| |
| 983 | wld.Part0 = wp0 | |
| 984 | wld.Part1 = wp1 | |
| 985 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 986 | end | |
| 987 | ---------------------------------------------------- | |
| 988 | function weld5(part0, part1, c0, c1) | |
| 989 | weeld=Instance.new("Weld", part0)
| |
| 990 | weeld.Part0=part0 | |
| 991 | weeld.Part1=part1 | |
| 992 | weeld.C0=c0 | |
| 993 | weeld.C1=c1 | |
| 994 | return weeld | |
| 995 | end | |
| 996 | ---------------------------------------------------- | |
| 997 | function HasntTouched(plrname) | |
| 998 | local ret = true | |
| 999 | for _, v in pairs(Touche) do | |
| 1000 | if v == plrname then | |
| 1001 | ret = false | |
| 1002 | end | |
| 1003 | end | |
| 1004 | return ret | |
| 1005 | end | |
| 1006 | ---------------------------------------------------- | |
| 1007 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 1008 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1009 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 1010 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 1011 | newWeld(torso, hed, 0, 1.5, 0) | |
| 1012 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 1013 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1014 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 1015 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 1016 | newWeld(root, torso, 0, -1, 0) | |
| 1017 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 1018 | ---------------------------------------------------- | |
| 1019 | ---------------------------------------------------- | |
| 1020 | local Transforming = true | |
| 1021 | hum.WalkSpeed = 0 | |
| 1022 | nsk = NumberSequenceKeypoint.new | |
| 1023 | local fx = Instance.new("Part",torso)
| |
| 1024 | wit = torso.BrickColor.Color | |
| 1025 | wit2 = Color3.new(0,0,0) | |
| 1026 | local glowz = Instance.new("ParticleEmitter",fx)
| |
| 1027 | glowz.LightEmission = 1 | |
| 1028 | glowz.Texture = "rbxassetid://284205403" | |
| 1029 | glowz.Color = ColorSequence.new(wit) | |
| 1030 | glowz.Size = NumberSequence.new({nsk(0,1),nsk(1,10)})
| |
| 1031 | glowz.Speed = NumberRange.new(25,50) | |
| 1032 | glowz.LockedToPart = false | |
| 1033 | glowz.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 1034 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 1035 | glowz.Lifetime = NumberRange.new(1) | |
| 1036 | glowz.Rate = 50000 | |
| 1037 | glowz.VelocitySpread = 9001 | |
| 1038 | local glowz2 = Instance.new("ParticleEmitter",fx)
| |
| 1039 | glowz2.LightEmission = 0.5 | |
| 1040 | glowz2.Texture = "rbxassetid://284205403" | |
| 1041 | glowz2.Color = ColorSequence.new(wit2) | |
| 1042 | glowz2.Size = NumberSequence.new({nsk(0,1),nsk(0.65,10),nsk(1,30)})
| |
| 1043 | glowz2.Speed = NumberRange.new(0) | |
| 1044 | glowz2.LockedToPart = false | |
| 1045 | glowz2.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 1046 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 1047 | glowz2.Lifetime = NumberRange.new(1) | |
| 1048 | glowz2.Rate = 50000 | |
| 1049 | glowz2.VelocitySpread = 9001 | |
| 1050 | fx.Anchored = true | |
| 1051 | fx.Material = "Neon" | |
| 1052 | fx.CanCollide = false | |
| 1053 | fx.Locked = true | |
| 1054 | fx.Transparency = 1 | |
| 1055 | fx.Material = "Neon" | |
| 1056 | fx.Size = Vector3.new(1,1,1) | |
| 1057 | fx.TopSurface = "SmoothNoOutlines" | |
| 1058 | fx.BottomSurface = "SmoothNoOutlines" | |
| 1059 | fx.BrickColor = BrickColor.new("Really black")
| |
| 1060 | fxm = Instance.new("SpecialMesh",fx)
| |
| 1061 | fxm.MeshType = "Sphere" | |
| 1062 | local sa2 = Instance.new("Sound",char)
| |
| 1063 | sa2.SoundId = "rbxassetid://93724183" | |
| 1064 | sa2.Pitch = 0.5 | |
| 1065 | sa2.Volume = 20 | |
| 1066 | sa2.Looped = false | |
| 1067 | sa2:Play() | |
| 1068 | local value = 1 | |
| 1069 | fxm.Scale = Vector3.new(1,1,1) | |
| 1070 | for i = 1, 20 do rs:wait() | |
| 1071 | value = value - 0.05 | |
| 1072 | fx.Transparency = fx.Transparency - (1/20) | |
| 1073 | fx.CFrame = torso.CFrame | |
| 1074 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
| 1075 | rs:wait() | |
| 1076 | end | |
| 1077 | ---------------------------------------------------- | |
| 1078 | GroundWave1 = function() | |
| 1079 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1080 | local Colors = {"White", "Really black"}
| |
| 1081 | local wave = Instance.new("Part", torso)
| |
| 1082 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1083 | wave.Anchored = true | |
| 1084 | wave.CanCollide = false | |
| 1085 | wave.Locked = true | |
| 1086 | wave.Size = Vector3.new(1, 1, 1) | |
| 1087 | wave.TopSurface = "Smooth" | |
| 1088 | wave.BottomSurface = "Smooth" | |
| 1089 | wave.Transparency = 0.35 | |
| 1090 | wave.CFrame = HandCF | |
| 1091 | wm = Instance.new("SpecialMesh", wave)
| |
| 1092 | wm.MeshId = "rbxassetid://3270017" | |
| 1093 | coroutine.wrap(function() | |
| 1094 | for i = 1, 30, 1 do | |
| 1095 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
| 1096 | wave.Size = wm.Scale | |
| 1097 | wave.CFrame = HandCF | |
| 1098 | wave.Transparency = i/30 | |
| 1099 | wait() | |
| 1100 | end | |
| 1101 | wait() | |
| 1102 | wave:Destroy() | |
| 1103 | end)() | |
| 1104 | end | |
| 1105 | ---------------------------------------------------- | |
| 1106 | GroundWave = function() | |
| 1107 | if Transforming == true then | |
| 1108 | local value = 5 | |
| 1109 | local value2 = 10 | |
| 1110 | local value3 = 20 | |
| 1111 | local sa2 = Instance.new("Sound",char)
| |
| 1112 | sa2.SoundId = "rbxassetid://233091195" | |
| 1113 | sa2.Pitch = 0.75 | |
| 1114 | sa2.Volume = 30 | |
| 1115 | sa2.Looped = false | |
| 1116 | sa2:Play() | |
| 1117 | local glowz2 = Instance.new("ParticleEmitter",fx)
| |
| 1118 | glowz2.LightEmission = 0.5 | |
| 1119 | glowz2.Texture = "rbxassetid://284205403" | |
| 1120 | glowz2.Color = ColorSequence.new(wit2) | |
| 1121 | glowz2.Size = NumberSequence.new({nsk(0,30),nsk(0.5,60),nsk(1,10)})
| |
| 1122 | glowz2.Speed = NumberRange.new(0) | |
| 1123 | glowz2.LockedToPart = false | |
| 1124 | glowz2.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 1125 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 1126 | glowz2.Lifetime = NumberRange.new(1) | |
| 1127 | glowz2.Rate = 50000 | |
| 1128 | glowz2.VelocitySpread = 9001 | |
| 1129 | wave=Instance.new('Part',torso)
| |
| 1130 | wave.BrickColor = TorsoColor | |
| 1131 | wave.Anchored = true | |
| 1132 | wave.CanCollide = false | |
| 1133 | wave.Locked = true | |
| 1134 | wave.Size = Vector3.new(1, 1, 1) | |
| 1135 | wave.TopSurface = "Smooth" | |
| 1136 | wave.BottomSurface = "Smooth" | |
| 1137 | wave.Transparency = 0.35 | |
| 1138 | wave.CFrame = fx.CFrame | |
| 1139 | wave.Material = "Neon" | |
| 1140 | wm = Instance.new("SpecialMesh", wave)
| |
| 1141 | wm.MeshType = "Sphere" | |
| 1142 | wm.Scale = Vector3.new(1,1,1) | |
| 1143 | local wave2 = Instance.new("Part", torso)
| |
| 1144 | wave2.BrickColor = TorsoColor | |
| 1145 | wave2.Anchored = true | |
| 1146 | wave2.CanCollide = false | |
| 1147 | wave2.Locked = true | |
| 1148 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1149 | wave2.TopSurface = "Smooth" | |
| 1150 | wave2.BottomSurface = "Smooth" | |
| 1151 | wave2.Transparency = 0.35 | |
| 1152 | wave2.CFrame = fx.CFrame | |
| 1153 | wave2.Material = "Neon" | |
| 1154 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1155 | wm2.MeshType = "FileMesh" | |
| 1156 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1157 | wm2.Scale = Vector3.new(1,1,1) | |
| 1158 | local wave3 = Instance.new("Part", torso)
| |
| 1159 | wave3.BrickColor = BrickColor.new("Really black")
| |
| 1160 | wave3.Anchored = true | |
| 1161 | wave3.CanCollide = false | |
| 1162 | wave3.Locked = true | |
| 1163 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1164 | wave3.TopSurface = "Smooth" | |
| 1165 | wave3.BottomSurface = "Smooth" | |
| 1166 | wave3.Transparency = 0.35 | |
| 1167 | wave3.CFrame = fx.CFrame | |
| 1168 | wave3.Material = "Neon" | |
| 1169 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1170 | wm3.MeshType = "FileMesh" | |
| 1171 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1172 | wm3.Scale = Vector3.new(1,1,1) | |
| 1173 | coroutine.wrap(function() | |
| 1174 | for i = 1, 18, 1 do | |
| 1175 | value = value - 0.5 | |
| 1176 | value2 = value2 - 0.75*1.5 | |
| 1177 | value3 = value3 - 0.475*1.5 | |
| 1178 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
| 1179 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
| 1180 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
| 1181 | --wave.Size = wm.Scale | |
| 1182 | wave.CFrame = fx.CFrame | |
| 1183 | wave.Transparency = i/14 | |
| 1184 | --wave2.Size = wm2.Scale | |
| 1185 | wave2.CFrame = fx.CFrame | |
| 1186 | wave2.Rotation = Vector3.new(90, 0, 0) | |
| 1187 | wave2.Transparency = i/14 | |
| 1188 | --wave3.Size = wm3.Scale | |
| 1189 | wave3.CFrame = fx.CFrame | |
| 1190 | wave3.Rotation = Vector3.new(90, 0, 0) | |
| 1191 | wave3.Transparency = i/14 | |
| 1192 | wait() | |
| 1193 | glowz2.Rate = 0 | |
| 1194 | end | |
| 1195 | wait() | |
| 1196 | wave:Destroy() | |
| 1197 | wave2:Destroy() | |
| 1198 | wave3:Destroy() | |
| 1199 | end)() | |
| 1200 | elseif Transforming == false then | |
| 1201 | wait() | |
| 1202 | end | |
| 1203 | end | |
| 1204 | ||
| 1205 | for i = 1, 100 do rs:wait() | |
| 1206 | fx.CFrame = torso.CFrame | |
| 1207 | end | |
| 1208 | ||
| 1209 | Spawn(function() | |
| 1210 | while wait(1) do | |
| 1211 | GroundWave() | |
| 1212 | end | |
| 1213 | end) | |
| 1214 | ||
| 1215 | wait(4) | |
| 1216 | ||
| 1217 | Transforming = false | |
| 1218 | ||
| 1219 | local value2 = 1 | |
| 1220 | for i = 1, 20 do rs:wait() | |
| 1221 | value2 = value2 - 0.05 | |
| 1222 | glowz.Rate = 0 | |
| 1223 | glowz2.Rate = 0 | |
| 1224 | fx.Transparency = fx.Transparency + (1/20) | |
| 1225 | fx.CFrame = torso.CFrame | |
| 1226 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
| 1227 | rs:wait() | |
| 1228 | end | |
| 1229 | glowz:Destroy() | |
| 1230 | glowz2:Destroy() | |
| 1231 | ||
| 1232 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1233 | local valuer = 5 | |
| 1234 | local valuer2 = 10 | |
| 1235 | local valuer3 = 15 | |
| 1236 | local sa2 = Instance.new("Sound",char)
| |
| 1237 | sa2.SoundId = "rbxassetid://233856115" | |
| 1238 | sa2.Pitch = 0.45 | |
| 1239 | sa2.Volume = 30 | |
| 1240 | sa2.Looped = false | |
| 1241 | sa2:Play() | |
| 1242 | local sar2 = Instance.new("Sound",char)
| |
| 1243 | sar2.SoundId = "rbxassetid://231917784" | |
| 1244 | sar2.Pitch = 1.5 | |
| 1245 | sar2.Volume = 31 | |
| 1246 | sar2.Looped = false | |
| 1247 | sar2:Play() | |
| 1248 | local sar3 = Instance.new("Sound",char)
| |
| 1249 | sar3.SoundId = "rbxassetid://231917934" | |
| 1250 | sar3.Pitch = 0.38 | |
| 1251 | sar3.Volume = 30 | |
| 1252 | sar3.Looped = false | |
| 1253 | sar3:Play() | |
| 1254 | local glowz3 = Instance.new("ParticleEmitter",torso)
| |
| 1255 | glowz3.LightEmission = 1 | |
| 1256 | glowz3.Texture = "rbxassetid://284205403" | |
| 1257 | glowz3.Color = ColorSequence.new(wit) | |
| 1258 | glowz3.Size = NumberSequence.new({nsk(0,10),nsk(1,50)})
| |
| 1259 | glowz3.Speed = NumberRange.new(25,50) | |
| 1260 | glowz3.LockedToPart = false | |
| 1261 | glowz3.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 1262 | glowz3.RotSpeed = NumberRange.new(-2000,2000) | |
| 1263 | glowz3.Lifetime = NumberRange.new(1) | |
| 1264 | glowz3.Rate = 50000 | |
| 1265 | glowz3.VelocitySpread = 9001 | |
| 1266 | local wave = Instance.new("Part", torso)
| |
| 1267 | wave.BrickColor = TorsoColor | |
| 1268 | wave.Anchored = true | |
| 1269 | wave.CanCollide = false | |
| 1270 | wave.Locked = true | |
| 1271 | wave.Size = Vector3.new(1, 1, 1) | |
| 1272 | wave.TopSurface = "Smooth" | |
| 1273 | wave.BottomSurface = "Smooth" | |
| 1274 | wave.Transparency = 0.35 | |
| 1275 | wave.CFrame = HandCF | |
| 1276 | wm = Instance.new("SpecialMesh", wave)
| |
| 1277 | wm.MeshId = "rbxassetid://3270017" | |
| 1278 | local wave2 = Instance.new("Part", torso)
| |
| 1279 | wave2.BrickColor = BrickColor.new("Really black")
| |
| 1280 | wave2.Anchored = true | |
| 1281 | wave2.CanCollide = false | |
| 1282 | wave2.Locked = true | |
| 1283 | wave2.Size = Vector3.new(1, 1, 1) | |
| 1284 | wave2.TopSurface = "Smooth" | |
| 1285 | wave2.BottomSurface = "Smooth" | |
| 1286 | wave2.Transparency = 0.35 | |
| 1287 | wave2.CFrame = HandCF | |
| 1288 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 1289 | wm2.MeshId = "rbxassetid://3270017" | |
| 1290 | local wave3 = Instance.new("Part", torso)
| |
| 1291 | wave3.BrickColor = TorsoColor | |
| 1292 | wave3.Anchored = true | |
| 1293 | wave3.CanCollide = false | |
| 1294 | wave3.Locked = true | |
| 1295 | wave3.Size = Vector3.new(1, 1, 1) | |
| 1296 | wave3.TopSurface = "Smooth" | |
| 1297 | wave3.BottomSurface = "Smooth" | |
| 1298 | wave3.Transparency = 0.35 | |
| 1299 | wave3.CFrame = HandCF | |
| 1300 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 1301 | wm3.MeshId = "rbxassetid://3270017" | |
| 1302 | scale = 200 | |
| 1303 | scale2 = 10 | |
| 1304 | coroutine.wrap(function() | |
| 1305 | for i = 1, 14, 1 do | |
| 1306 | valuer = valuer - 0.35 | |
| 1307 | valuer2 = valuer - 0.45 | |
| 1308 | valuer3 = valuer3 - 0.475 | |
| 1309 | scale = scale - 1 | |
| 1310 | scale2 = scale2 - 0.35 | |
| 1311 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5,1 + i*200) | |
| 1312 | wave.Size = wm.Scale | |
| 1313 | wave.CFrame = HandCF | |
| 1314 | wave.Transparency = i/14 | |
| 1315 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5,1 + i*20) | |
| 1316 | wave2.Size = wm2.Scale | |
| 1317 | wave2.CFrame = HandCF | |
| 1318 | wave2.Transparency = i/14 | |
| 1319 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
| 1320 | wave3.Size = wm2.Scale | |
| 1321 | wave3.CFrame = HandCF | |
| 1322 | wave3.Transparency = i/14 | |
| 1323 | wait() | |
| 1324 | end | |
| 1325 | wait() | |
| 1326 | wave:Destroy() | |
| 1327 | wave2:Destroy() | |
| 1328 | end)() | |
| 1329 | hum.WalkSpeed = 16 | |
| 1330 | Spawn(function() | |
| 1331 | wait(2) | |
| 1332 | glowz3.Rate=0 | |
| 1333 | end) | |
| 1334 | ---------------------------------------------------- | |
| 1335 | local cor = Instance.new("Part", char)
| |
| 1336 | cor.Name = "Thingy" | |
| 1337 | cor.Locked = true | |
| 1338 | cor.BottomSurface = 0 | |
| 1339 | cor.CanCollide = false | |
| 1340 | cor.Size = Vector3.new(1, 13, 1) | |
| 1341 | cor.Transparency = 1 | |
| 1342 | cor.TopSurface = 0 | |
| 1343 | corw = Instance.new("Weld", cor)
| |
| 1344 | corw.Part0 = rarm | |
| 1345 | corw.Part1 = cor | |
| 1346 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1347 | corw.C1 = CFrame.new(0, 0, 0) | |
| 1348 | weld1 = Instance.new("Weld", char)
| |
| 1349 | weld1.Part0 = cor | |
| 1350 | weld1.Part1 = p6 | |
| 1351 | weld1.C0 = CFrame.new(0, 0, 0) | |
| 1352 | ---------------------------------------------------- | |
| 1353 | Blast = function() | |
| 1354 | local Colors = {"Really black", "Really black"}
| |
| 1355 | local wave = Instance.new("Part", torso)
| |
| 1356 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1357 | wave.Anchored = true | |
| 1358 | wave.CanCollide = false | |
| 1359 | wave.Locked = true | |
| 1360 | wave.Size = Vector3.new(1, 1, 1) | |
| 1361 | wave.TopSurface = "Smooth" | |
| 1362 | wave.BottomSurface = "Smooth" | |
| 1363 | wave.Transparency = 0.35 | |
| 1364 | wave.CFrame = rarm.CFrame | |
| 1365 | wm = Instance.new("SpecialMesh", wave)
| |
| 1366 | wm.MeshType = "Sphere" | |
| 1367 | wm.Scale = Vector3.new(1,1,1) | |
| 1368 | z = Instance.new("Sound",wave)
| |
| 1369 | z.SoundId = "rbxassetid://237035051" | |
| 1370 | z.Volume = 1 | |
| 1371 | z.Pitch = .9 | |
| 1372 | z:Play() | |
| 1373 | coroutine.wrap(function() | |
| 1374 | for i = 1, 30, 1 do | |
| 1375 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 1376 | --wave.Size = wm.Scale | |
| 1377 | wave.CFrame = rarm.CFrame | |
| 1378 | wave.Transparency = (1/14) | |
| 1379 | rs:wait() | |
| 1380 | end | |
| 1381 | rs:wait() | |
| 1382 | wave:Destroy() | |
| 1383 | z:Destroy() | |
| 1384 | end)() | |
| 1385 | end | |
| 1386 | ---------------------------------------------------- | |
| 1387 | rarm.Touched:connect(function(ht) | |
| 1388 | hit = ht.Parent | |
| 1389 | if ht and hit:IsA("Model") then
| |
| 1390 | if hit:FindFirstChild("Humanoid") then
| |
| 1391 | if hit.Name ~= p.Name then | |
| 1392 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1393 | Debounces.RPunched = true | |
| 1394 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1395 | if Debounces.ks==true then | |
| 1396 | z = Instance.new("Sound",hed)
| |
| 1397 | z.SoundId = "rbxassetid://169380525" | |
| 1398 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1399 | z.Volume = 1 | |
| 1400 | z:Play() | |
| 1401 | end | |
| 1402 | wait(.2) | |
| 1403 | Debounces.RPunched = false | |
| 1404 | end | |
| 1405 | end | |
| 1406 | end | |
| 1407 | elseif ht and hit:IsA("Hat") then
| |
| 1408 | if hit.Parent.Name ~= p.Name then | |
| 1409 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1410 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1411 | Debounces.RPunched = true | |
| 1412 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1413 | if Debounces.ks==true then | |
| 1414 | z = Instance.new("Sound",hed)
| |
| 1415 | z.SoundId = "rbxassetid://169380525" | |
| 1416 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1417 | z.Volume = 1 | |
| 1418 | z:Play() | |
| 1419 | end | |
| 1420 | wait(.2) | |
| 1421 | Debounces.RPunched = false | |
| 1422 | end | |
| 1423 | end | |
| 1424 | end | |
| 1425 | end | |
| 1426 | end) | |
| 1427 | larm.Touched:connect(function(ht) | |
| 1428 | hit = ht.Parent | |
| 1429 | if ht and hit:IsA("Model") then
| |
| 1430 | if hit:FindFirstChild("Humanoid") then
| |
| 1431 | if hit.Name ~= p.Name then | |
| 1432 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1433 | Debounces.LPunched = true | |
| 1434 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1435 | if Debounces.ks2==true then | |
| 1436 | z = Instance.new("Sound",hed)
| |
| 1437 | z.SoundId = "rbxassetid://169380525" | |
| 1438 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1439 | z.Volume = 1 | |
| 1440 | z:Play() | |
| 1441 | end | |
| 1442 | wait(.2) | |
| 1443 | Debounces.LPunched = false | |
| 1444 | end | |
| 1445 | end | |
| 1446 | end | |
| 1447 | elseif ht and hit:IsA("Hat") then
| |
| 1448 | if hit.Parent.Name ~= p.Name then | |
| 1449 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1450 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1451 | Debounces.LPunched = true | |
| 1452 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1453 | if Debounces.ks2==true then | |
| 1454 | z = Instance.new("Sound",hed)
| |
| 1455 | z.SoundId = "rbxassetid://169380525" | |
| 1456 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1457 | z.Volume = 1 | |
| 1458 | z:Play() | |
| 1459 | end | |
| 1460 | wait(.2) | |
| 1461 | Debounces.LPunched = false | |
| 1462 | end | |
| 1463 | end | |
| 1464 | end | |
| 1465 | end | |
| 1466 | end) | |
| 1467 | ---------------------------------------------------- | |
| 1468 | mod4 = Instance.new("Model",char)
| |
| 1469 | ||
| 1470 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1471 | ||
| 1472 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1473 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1474 | local List = {}
| |
| 1475 | for i,v in pairs(workspace:GetChildren())do | |
| 1476 | if v:IsA("Model")then
| |
| 1477 | if v:findFirstChild("Torso")then
| |
| 1478 | if v ~= char then | |
| 1479 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1480 | table.insert(List,v) | |
| 1481 | end | |
| 1482 | end | |
| 1483 | end | |
| 1484 | end | |
| 1485 | end | |
| 1486 | return List | |
| 1487 | end | |
| 1488 | ||
| 1489 | function Punch() | |
| 1490 | part=Instance.new('Part',mod4)
| |
| 1491 | part.Anchored=true | |
| 1492 | part.CanCollide=false | |
| 1493 | part.FormFactor='Custom' | |
| 1494 | part.Size=Vector3.new(.2,.2,.2) | |
| 1495 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1496 | part.Transparency=.7 | |
| 1497 | part.BrickColor=BrickColor.new('Really black')
| |
| 1498 | mesh=Instance.new('SpecialMesh',part)
| |
| 1499 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1500 | mesh.Scale=Vector3.new(3,3,3) | |
| 1501 | part2=Instance.new('Part',mod4)
| |
| 1502 | part2.Anchored=true | |
| 1503 | part2.CanCollide=false | |
| 1504 | part2.FormFactor='Custom' | |
| 1505 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1506 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1507 | part2.Transparency=.7 | |
| 1508 | part2.BrickColor=BrickColor.new('Really black')
| |
| 1509 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1510 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1511 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1512 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1513 | if v:FindFirstChild('Humanoid') then
| |
| 1514 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 1515 | end | |
| 1516 | end | |
| 1517 | coroutine.resume(coroutine.create(function() | |
| 1518 | for i=0,0.62,0.4 do | |
| 1519 | wait() | |
| 1520 | part.CFrame=part.CFrame | |
| 1521 | part.Transparency=i | |
| 1522 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1523 | part2.CFrame=part2.CFrame | |
| 1524 | part2.Transparency=i | |
| 1525 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1526 | end | |
| 1527 | part.Parent=nil | |
| 1528 | part2.Parent=nil | |
| 1529 | end)) | |
| 1530 | end | |
| 1531 | ---------------------------------------------------- | |
| 1532 | rarm.Touched:connect(function(ht) | |
| 1533 | hit = ht.Parent | |
| 1534 | if ht and hit:IsA("Model") then
| |
| 1535 | if hit:FindFirstChild("Humanoid") then
| |
| 1536 | if hit.Name ~= p.Name then | |
| 1537 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1538 | Debounces.RPunched = true | |
| 1539 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1540 | if Debounces.ks==true then | |
| 1541 | z = Instance.new("Sound",hed)
| |
| 1542 | z.SoundId = "rbxassetid://169380525" | |
| 1543 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1544 | z.Volume = 1 | |
| 1545 | z:Play() | |
| 1546 | end | |
| 1547 | wait(.2) | |
| 1548 | Debounces.RPunched = false | |
| 1549 | end | |
| 1550 | end | |
| 1551 | end | |
| 1552 | elseif ht and hit:IsA("Hat") then
| |
| 1553 | if hit.Parent.Name ~= p.Name then | |
| 1554 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1555 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1556 | Debounces.RPunched = true | |
| 1557 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1558 | if Debounces.ks==true then | |
| 1559 | z = Instance.new("Sound",hed)
| |
| 1560 | z.SoundId = "rbxassetid://169380525" | |
| 1561 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1562 | z.Volume = 1 | |
| 1563 | z:Play() | |
| 1564 | end | |
| 1565 | wait(.2) | |
| 1566 | Debounces.RPunched = false | |
| 1567 | end | |
| 1568 | end | |
| 1569 | end | |
| 1570 | end | |
| 1571 | end) | |
| 1572 | larm.Touched:connect(function(ht) | |
| 1573 | hit = ht.Parent | |
| 1574 | if ht and hit:IsA("Model") then
| |
| 1575 | if hit:FindFirstChild("Humanoid") then
| |
| 1576 | if hit.Name ~= p.Name then | |
| 1577 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1578 | Debounces.LPunched = true | |
| 1579 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1580 | if Debounces.ks2==true then | |
| 1581 | z = Instance.new("Sound",hed)
| |
| 1582 | z.SoundId = "rbxassetid://169380525" | |
| 1583 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1584 | z.Volume = 1 | |
| 1585 | z:Play() | |
| 1586 | end | |
| 1587 | wait(.2) | |
| 1588 | Debounces.LPunched = false | |
| 1589 | end | |
| 1590 | end | |
| 1591 | end | |
| 1592 | elseif ht and hit:IsA("Hat") then
| |
| 1593 | if hit.Parent.Name ~= p.Name then | |
| 1594 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1595 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1596 | Debounces.LPunched = true | |
| 1597 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1598 | if Debounces.ks2==true then | |
| 1599 | z = Instance.new("Sound",hed)
| |
| 1600 | z.SoundId = "rbxassetid://169380525" | |
| 1601 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1602 | z.Volume = 1 | |
| 1603 | z:Play() | |
| 1604 | end | |
| 1605 | wait(.2) | |
| 1606 | Debounces.LPunched = false | |
| 1607 | end | |
| 1608 | end | |
| 1609 | end | |
| 1610 | end | |
| 1611 | end) | |
| 1612 | ---------------------------------------------------- | |
| 1613 | local player = game.Players.LocalPlayer | |
| 1614 | local pchar = player.Character | |
| 1615 | local mouse = player:GetMouse() | |
| 1616 | local cam = workspace.CurrentCamera | |
| 1617 | ||
| 1618 | local rad = math.rad | |
| 1619 | ||
| 1620 | local keysDown = {}
| |
| 1621 | local flySpeed = 0 | |
| 1622 | local MAX_FLY_SPEED = 3000 | |
| 1623 | ||
| 1624 | local canFly = false | |
| 1625 | local flyToggled = false | |
| 1626 | ||
| 1627 | local forward, side = 0, 0 | |
| 1628 | local lastForward, lastSide = 0, 0 | |
| 1629 | ||
| 1630 | local floatBP = Instance.new("BodyPosition")
| |
| 1631 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1632 | local flyBV = Instance.new("BodyVelocity")
| |
| 1633 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1634 | local turnBG = Instance.new("BodyGyro")
| |
| 1635 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1636 | ||
| 1637 | mouse.KeyDown:connect(function(key) | |
| 1638 | keysDown[key] = true | |
| 1639 | ||
| 1640 | if key == "f" then | |
| 1641 | flyToggled = not flyToggled | |
| 1642 | ||
| 1643 | if not flyToggled then | |
| 1644 | stanceToggle = "Normal" | |
| 1645 | floatBP.Parent = nil | |
| 1646 | flyBV.Parent = nil | |
| 1647 | turnBG.Parent = nil | |
| 1648 | root.Velocity = Vector3.new() | |
| 1649 | pchar.Humanoid.PlatformStand = false | |
| 1650 | end | |
| 1651 | end | |
| 1652 | ||
| 1653 | end) | |
| 1654 | mouse.KeyUp:connect(function(key) | |
| 1655 | keysDown[key] = nil | |
| 1656 | end) | |
| 1657 | ||
| 1658 | local function updateFly() | |
| 1659 | ||
| 1660 | if not flyToggled then return end | |
| 1661 | ||
| 1662 | lastForward = forward | |
| 1663 | lastSide = side | |
| 1664 | ||
| 1665 | forward = 0 | |
| 1666 | side = 0 | |
| 1667 | ||
| 1668 | if keysDown.w then | |
| 1669 | forward = forward + 1 | |
| 1670 | end | |
| 1671 | if keysDown.s then | |
| 1672 | forward = forward - 1 | |
| 1673 | end | |
| 1674 | if keysDown.a then | |
| 1675 | side = side - 1 | |
| 1676 | end | |
| 1677 | if keysDown.d then | |
| 1678 | side = side + 1 | |
| 1679 | end | |
| 1680 | ||
| 1681 | canFly = (forward ~= 0 or side ~= 0) | |
| 1682 | ||
| 1683 | if canFly then | |
| 1684 | stanceToggle = "Floating" | |
| 1685 | turnBG.Parent = root | |
| 1686 | floatBP.Parent = nil | |
| 1687 | flyBV.Parent = root | |
| 1688 | ||
| 1689 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1690 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1691 | else | |
| 1692 | floatBP.position = root.Position | |
| 1693 | floatBP.Parent = root | |
| 1694 | ||
| 1695 | flySpeed = flySpeed - 1 | |
| 1696 | if flySpeed < 0 then flySpeed = 0 end | |
| 1697 | end | |
| 1698 | ||
| 1699 | local camCF = cam.CoordinateFrame | |
| 1700 | local in_forward = canFly and forward or lastForward | |
| 1701 | local in_side = canFly and side or lastSide | |
| 1702 | ||
| 1703 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1704 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1705 | ||
| 1706 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1707 | 0) | |
| 1708 | end | |
| 1709 | ||
| 1710 | game:service'RunService'.RenderStepped:connect(function() | |
| 1711 | if flyToggled then | |
| 1712 | pchar.Humanoid.PlatformStand = true | |
| 1713 | end | |
| 1714 | updateFly() | |
| 1715 | end) | |
| 1716 | ------------------------------- | |
| 1717 | mouse.KeyDown:connect(function(key) | |
| 1718 | if key == "q" then | |
| 1719 | if Debounces.CanAttack == true then | |
| 1720 | Debounces.CanAttack = false | |
| 1721 | Debounces.NoIdl = true | |
| 1722 | Debounces.on = true | |
| 1723 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1724 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1725 | local List = {}
| |
| 1726 | for i,v in pairs(workspace:GetChildren())do | |
| 1727 | if v:IsA("Model")then
| |
| 1728 | if v:findFirstChild("Torso")then
| |
| 1729 | if v ~= char then | |
| 1730 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1731 | table.insert(List,v) | |
| 1732 | end | |
| 1733 | end | |
| 1734 | end | |
| 1735 | end | |
| 1736 | end | |
| 1737 | return List | |
| 1738 | end | |
| 1739 | z = Instance.new("Sound",workspace)
| |
| 1740 | z.SoundId = "rbxassetid://232213955" | |
| 1741 | z.Pitch = 0.75 | |
| 1742 | z.Volume = 5 | |
| 1743 | wait(0.2) | |
| 1744 | z:Play() | |
| 1745 | sp = Instance.new("Part",rarm)
| |
| 1746 | sp.Anchored = true | |
| 1747 | sp.CanCollide = false | |
| 1748 | sp.Locked = true | |
| 1749 | sp.Transparency = 0 | |
| 1750 | sp.Material = "Neon" | |
| 1751 | sp.Size = Vector3.new(2,2,2) | |
| 1752 | sp.TopSurface = "SmoothNoOutlines" | |
| 1753 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1754 | sp.BrickColor = TorsoColor | |
| 1755 | spm = Instance.new("SpecialMesh",sp)
| |
| 1756 | spm.MeshType = "Sphere" | |
| 1757 | spm.Scale = Vector3.new(42,42,42) | |
| 1758 | sp2 = Instance.new("Part", rarm)
| |
| 1759 | sp2.Name = "Energy" | |
| 1760 | sp2.BrickColor = TorsoColor | |
| 1761 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1762 | sp2.Shape = "Ball" | |
| 1763 | sp2.CanCollide = false | |
| 1764 | sp2.Anchored = true | |
| 1765 | sp2.Locked = true | |
| 1766 | sp2.TopSurface = 0 | |
| 1767 | sp2.BottomSurface = 0 | |
| 1768 | sp2.Transparency = 1 | |
| 1769 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1770 | spm2.MeshId = "rbxassetid://9982590" | |
| 1771 | spm2.Scale = Vector3.new(4,4,4) | |
| 1772 | sp3 = Instance.new("Part", rarm)
| |
| 1773 | sp3.Name = "Energy" | |
| 1774 | sp3.BrickColor = TorsoColor | |
| 1775 | sp3.Size = Vector3.new(1, 1, 1) | |
| 1776 | sp3.Shape = "Ball" | |
| 1777 | sp3.CanCollide = false | |
| 1778 | sp3.Anchored = true | |
| 1779 | sp3.Locked = true | |
| 1780 | sp3.TopSurface = 0 | |
| 1781 | sp3.BottomSurface = 0 | |
| 1782 | sp3.Transparency = 1 | |
| 1783 | spm3 = Instance.new("SpecialMesh",sp2)
| |
| 1784 | spm3.MeshId = "rbxassetid://9982590" | |
| 1785 | spm3.Scale = Vector3.new(8,8,8) | |
| 1786 | for i = 1, 20 do | |
| 1787 | spm.Scale = spm.Scale - Vector3.new(2,2,2) | |
| 1788 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1789 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 1790 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 1791 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1792 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1793 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1794 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1795 | if Debounces.on == false then break end | |
| 1796 | rs:wait() | |
| 1797 | end | |
| 1798 | for i = 1, 100, 20 do rs:wait() | |
| 1799 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1800 | end | |
| 1801 | for i = 1, 20 do | |
| 1802 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1803 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1804 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 1805 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1806 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1807 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1808 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1809 | if Debounces.on == false then break end | |
| 1810 | rs:wait() | |
| 1811 | end | |
| 1812 | sp.Transparency = 1 | |
| 1813 | for i = 1, 20 do | |
| 1814 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1815 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 1816 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1817 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1818 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1819 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1820 | if Debounces.on == false then break end | |
| 1821 | rs:wait() | |
| 1822 | end | |
| 1823 | wait(1) | |
| 1824 | sp.Transparency = 0 | |
| 1825 | sp2.Transparency = 0.84 | |
| 1826 | for i = 1, 20 do | |
| 1827 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1828 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1829 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1830 | sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1831 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1832 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1833 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1834 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1835 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1836 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1837 | if Debounces.on == false then break end | |
| 1838 | rs:wait() | |
| 1839 | end | |
| 1840 | for i = 1, 2880, 50 do | |
| 1841 | rs:wait() | |
| 1842 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1843 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1844 | sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10)) | |
| 1845 | rs:wait() | |
| 1846 | end | |
| 1847 | sp:Destroy() | |
| 1848 | sp2:Destroy() | |
| 1849 | sp3:Destroy() | |
| 1850 | local X = Instance.new("Part",char)
| |
| 1851 | local O = Instance.new("ObjectValue",X)
| |
| 1852 | O.Name = "creator" | |
| 1853 | X.Locked = true | |
| 1854 | X.Name = "Shell" | |
| 1855 | X.Anchored = false | |
| 1856 | X.CanCollide = false | |
| 1857 | X.Transparency = 0 | |
| 1858 | X.Reflectance = 0 | |
| 1859 | X.BottomSurface = 0 | |
| 1860 | X.TopSurface = 0 | |
| 1861 | X.Shape = 0 | |
| 1862 | local V = Instance.new("ObjectValue",X)
| |
| 1863 | V.Value = char | |
| 1864 | V.Name = "creator" | |
| 1865 | X.BrickColor = TorsoColor | |
| 1866 | X.Size = Vector3.new(2,2,2) | |
| 1867 | X.Material = "Neon" | |
| 1868 | local Z = Instance.new("SpecialMesh",X)
| |
| 1869 | Z.MeshType = "Sphere" | |
| 1870 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1871 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1872 | local bv = Instance.new("BodyVelocity",X)
| |
| 1873 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1874 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1875 | bv.velocity = X.CFrame.lookVector*75 | |
| 1876 | ||
| 1877 | Explode = X.Touched:connect(function(hit) | |
| 1878 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1879 | local cf = X.CFrame | |
| 1880 | bv:Destroy() | |
| 1881 | X.Anchored = true | |
| 1882 | Z:Remove() | |
| 1883 | Explode:disconnect() | |
| 1884 | X.Size = Vector3.new(6,6,6) | |
| 1885 | X.Touched:connect(function(hit) end) | |
| 1886 | X.CanCollide = false | |
| 1887 | local part3 = Instance.new("Part", rarm)
| |
| 1888 | part3.Anchored=true | |
| 1889 | part3.CanCollide=false | |
| 1890 | part3.Locked = true | |
| 1891 | part3.TopSurface = "SmoothNoOutlines" | |
| 1892 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1893 | part3.FormFactor='Custom' | |
| 1894 | part3.Size=Vector3.new(2,2, 2) | |
| 1895 | part3.CFrame=X.CFrame | |
| 1896 | part3.Transparency=0 | |
| 1897 | part3.BrickColor=TorsoColor | |
| 1898 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1899 | mesh3.MeshType = "Sphere" | |
| 1900 | mesh3.Scale = Vector3.new(2,2,2) | |
| 1901 | --debris:AddItem(X,8) | |
| 1902 | local part4 = Instance.new("Part", rarm)
| |
| 1903 | part4.Material = "Neon" | |
| 1904 | part4.Anchored=true | |
| 1905 | part4.CanCollide=false | |
| 1906 | part4.Locked = true | |
| 1907 | part4.TopSurface = "SmoothNoOutlines" | |
| 1908 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1909 | part4.FormFactor='Custom' | |
| 1910 | part4.Size=Vector3.new(2,2, 2) | |
| 1911 | part4.CFrame=X.CFrame | |
| 1912 | part4.Transparency=0 | |
| 1913 | part4.BrickColor=BrickColor.new("Black")
| |
| 1914 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1915 | mesh4.MeshType = "Sphere" | |
| 1916 | mesh4.Scale = Vector3.new(1,1,1) | |
| 1917 | local part7 = Instance.new("Part", rarm)
| |
| 1918 | part7.Material = "Neon" | |
| 1919 | part7.Anchored=true | |
| 1920 | part7.CanCollide=false | |
| 1921 | part7.Locked = true | |
| 1922 | part7.TopSurface = "SmoothNoOutlines" | |
| 1923 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1924 | part7.FormFactor='Custom' | |
| 1925 | part7.Size=Vector3.new(2,2, 2) | |
| 1926 | part7.CFrame=X.CFrame | |
| 1927 | part7.Transparency=0 | |
| 1928 | part7.BrickColor=BrickColor.new("Really black")
| |
| 1929 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1930 | mesh7.MeshType = "Sphere" | |
| 1931 | mesh7.Scale = Vector3.new(0.2, 0.2, 0.2) | |
| 1932 | --[[X.Touched:connect(function(ht) | |
| 1933 | hit = ht.Parent | |
| 1934 | if ht and hit:IsA("Model") then
| |
| 1935 | if hit:FindFirstChild("Humanoid") then
| |
| 1936 | if hit.Name ~= p.Name then | |
| 1937 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1938 | wait(.3) | |
| 1939 | end | |
| 1940 | end | |
| 1941 | elseif ht and hit:IsA("Hat") then
| |
| 1942 | if hit.Parent.Name ~= p.Name then | |
| 1943 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1944 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1945 | wait(.3) | |
| 1946 | end | |
| 1947 | end | |
| 1948 | end | |
| 1949 | end) | |
| 1950 | part3.Touched:connect(function(ht) | |
| 1951 | hit = ht.Parent | |
| 1952 | if ht and hit:IsA("Model") then
| |
| 1953 | if hit:FindFirstChild("Humanoid") then
| |
| 1954 | if hit.Name ~= p.Name then | |
| 1955 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1956 | wait(.3) | |
| 1957 | end | |
| 1958 | end | |
| 1959 | elseif ht and hit:IsA("Hat") then
| |
| 1960 | if hit.Parent.Name ~= p.Name then | |
| 1961 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1962 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1963 | wait(.3) | |
| 1964 | end | |
| 1965 | end | |
| 1966 | end | |
| 1967 | end)]]-- | |
| 1968 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1969 | if v:FindFirstChild('Humanoid') then
| |
| 1970 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 1971 | v.Humanoid.PlatformStand = true | |
| 1972 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1973 | end | |
| 1974 | end | |
| 1975 | ||
| 1976 | local acos = math.acos | |
| 1977 | local sqrt = math.sqrt | |
| 1978 | local Vec3 = Vector3.new | |
| 1979 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1980 | ||
| 1981 | local function toAxisAngle(CFr) | |
| 1982 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1983 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1984 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1985 | A = A == 0 and 0.00001 or A | |
| 1986 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1987 | B = B == 0 and 0.00001 or B | |
| 1988 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1989 | C = C == 0 and 0.00001 or C | |
| 1990 | local x = (R21-R12)/sqrt(A) | |
| 1991 | local y = (R02-R20)/sqrt(B) | |
| 1992 | local z = (R10-R01)/sqrt(C) | |
| 1993 | return Vec3(x,y,z),Angle | |
| 1994 | end | |
| 1995 | ||
| 1996 | function ApplyTrig(Num,Func) | |
| 1997 | local Min,Max = Func(0),Func(1) | |
| 1998 | local i = Func(Num) | |
| 1999 | return (i-Min)/(Max-Min) | |
| 2000 | end | |
| 2001 | ||
| 2002 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 2003 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 2004 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 2005 | end | |
| 2006 | ||
| 2007 | function Crater(Torso,Radius) | |
| 2008 | Spawn(function() | |
| 2009 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 2010 | local Ignore = {}
| |
| 2011 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 2012 | if v.Character ~= nil then | |
| 2013 | Ignore[#Ignore+1] = v.Character | |
| 2014 | end | |
| 2015 | end | |
| 2016 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 2017 | if Hit == nil then return end | |
| 2018 | local Parts = {}
| |
| 2019 | for i = 1,360,10 do | |
| 2020 | local P = Instance.new("Part",Torso.Parent)
| |
| 2021 | P.Anchored = true | |
| 2022 | P.FormFactor = "Custom" | |
| 2023 | P.BrickColor = Hit.BrickColor | |
| 2024 | P.Material = Hit.Material | |
| 2025 | P.TopSurface = "Smooth" | |
| 2026 | P.BottomSurface = "Smooth" | |
| 2027 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
| 2028 | 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))) | |
| 2029 | 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}
| |
| 2030 | if math.random(0,5) == 0 then -- rubble | |
| 2031 | local P = Instance.new("Part",Torso.Parent)
| |
| 2032 | P.Anchored = true | |
| 2033 | P.FormFactor = "Custom" | |
| 2034 | P.BrickColor = Hit.BrickColor | |
| 2035 | P.Material = Hit.Material | |
| 2036 | P.TopSurface = "Smooth" | |
| 2037 | P.BottomSurface = "Smooth" | |
| 2038 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
| 2039 | 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))) | |
| 2040 | 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}
| |
| 2041 | end | |
| 2042 | end | |
| 2043 | for i = 0,1,0.05 do | |
| 2044 | for i2,v in pairs(Parts) do | |
| 2045 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 2046 | end | |
| 2047 | wait(0.02) | |
| 2048 | end | |
| 2049 | for i,v in pairs(Parts) do | |
| 2050 | if v[1].Size.X > 2.1 then | |
| 2051 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 2052 | end | |
| 2053 | v[1].Anchored = false | |
| 2054 | end | |
| 2055 | for i = 0,1,0.05 do | |
| 2056 | for i2,v in pairs(Parts) do | |
| 2057 | v[1].Transparency = i | |
| 2058 | if i == 1 then | |
| 2059 | v[1]:Destroy() | |
| 2060 | elseif i >= 0.25 then | |
| 2061 | v[1].CanCollide = false | |
| 2062 | end | |
| 2063 | end | |
| 2064 | wait(0.02) | |
| 2065 | end | |
| 2066 | Parts = nil | |
| 2067 | end) | |
| 2068 | end | |
| 2069 | ||
| 2070 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 2071 | for i = 1, 360, 360/t do | |
| 2072 | local c = Instance.new("Part", game.Workspace)
| |
| 2073 | c.FormFactor = 3 | |
| 2074 | c.TopSurface = 0 | |
| 2075 | c.BottomSurface = 0 | |
| 2076 | c.Size = s | |
| 2077 | c.Anchored = true | |
| 2078 | c.CanCollide = wt | |
| 2079 | c.Material=workspace.Base.Material | |
| 2080 | c.Transparency = trans | |
| 2081 | c.BrickColor = workspace.Base.BrickColor | |
| 2082 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 2083 | c.Locked=true | |
| 2084 | game.Debris:AddItem(c,15) | |
| 2085 | end | |
| 2086 | end | |
| 2087 | ||
| 2088 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 2089 | local p = Instance.new('Part',parent or Weapon)
| |
| 2090 | p.formFactor = 'Custom' | |
| 2091 | p.Size = Vector3.new(x,y,z) | |
| 2092 | p.BrickColor = BrickColor.new(color) | |
| 2093 | p.CanCollide = cc | |
| 2094 | p.Transparency = tr | |
| 2095 | p.Anchored = an | |
| 2096 | p.TopSurface,p.BottomSurface = 0,0 | |
| 2097 | p.Locked=true | |
| 2098 | p:BreakJoints() | |
| 2099 | return p end | |
| 2100 | ||
| 2101 | Mesh = function(par,num,x,y,z) | |
| 2102 | local msh = _ | |
| 2103 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 2104 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 2105 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 2106 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 2107 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 2108 | end msh.Scale = Vector3.new(x,y,z) | |
| 2109 | return msh end | |
| 2110 | ||
| 2111 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 2112 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 2113 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2114 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2115 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 2116 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 2117 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 2118 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 2119 | a.CFrame=cfr | |
| 2120 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2121 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2122 | ||
| 2123 | Spawn(function() | |
| 2124 | while wait() do | |
| 2125 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 2126 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 2127 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 2128 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 2129 | a.Transparency=a.Transparency+0.05 | |
| 2130 | a2.Transparency=a2.Transparency+0.05 | |
| 2131 | a3.Transparency=a3.Transparency+0.05 | |
| 2132 | end | |
| 2133 | end) | |
| 2134 | end | |
| 2135 | ||
| 2136 | Crater(X,20) | |
| 2137 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 2138 | z = Instance.new("Sound",workspace)
| |
| 2139 | z.SoundId = "rbxassetid://231917744" | |
| 2140 | z.Pitch = .5 | |
| 2141 | z.Volume = 5 | |
| 2142 | z1 = Instance.new("Sound",workspace)
| |
| 2143 | z1.SoundId = "rbxassetid://231917744" | |
| 2144 | z1.Pitch = .5 | |
| 2145 | z1.Volume = 5 | |
| 2146 | z2 = Instance.new("Sound",workspace)
| |
| 2147 | z2.SoundId = "rbxassetid://231917744" | |
| 2148 | z2.Pitch = .5 | |
| 2149 | z2.Volume = 5 | |
| 2150 | z3 = Instance.new("Sound",workspace)
| |
| 2151 | z3.SoundId = "rbxassetid://245537790" | |
| 2152 | z3.Pitch = .7 | |
| 2153 | z3.Volume = 5 | |
| 2154 | z4 = Instance.new("Sound",workspace)
| |
| 2155 | z4.SoundId = "rbxassetid://245537790" | |
| 2156 | z4.Pitch = .7 | |
| 2157 | z4.Volume = 5 | |
| 2158 | z4a = Instance.new("Sound",workspace)
| |
| 2159 | z4a.SoundId = "rbxassetid://419447292" | |
| 2160 | z4a.Pitch = 1 | |
| 2161 | z4a.Volume = 5 | |
| 2162 | z3a = Instance.new("Sound",workspace)
| |
| 2163 | z3a.SoundId = "rbxassetid://421328847" | |
| 2164 | z3a.Pitch = 1 | |
| 2165 | z3a.Volume = 5 | |
| 2166 | wait(0.1) | |
| 2167 | z:Play() | |
| 2168 | z1:Play() | |
| 2169 | z2:Play() | |
| 2170 | z3:Play() | |
| 2171 | z4:Play() | |
| 2172 | z3a:Play() | |
| 2173 | z4a:Play() | |
| 2174 | ||
| 2175 | local part=Instance.new('Part',rarm)
| |
| 2176 | part.Anchored=true | |
| 2177 | part.CanCollide=false | |
| 2178 | part.Locked = true | |
| 2179 | part.FormFactor='Custom' | |
| 2180 | part.Size=Vector3.new(2,2,2) | |
| 2181 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 2182 | part.Transparency=0 | |
| 2183 | part.BrickColor=BrickColor.new('Really black')
| |
| 2184 | local mesh=Instance.new('SpecialMesh',part)
| |
| 2185 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2186 | mesh.Scale=Vector3.new(4,4,4) | |
| 2187 | local part2=part:clone() | |
| 2188 | part2.Parent = rarm | |
| 2189 | part2.BrickColor=TorsoColor | |
| 2190 | local part5=part:clone() | |
| 2191 | part5.Parent = rarm | |
| 2192 | part5.BrickColor=TorsoColor | |
| 2193 | local part6=part:clone() | |
| 2194 | part6.Parent = rarm | |
| 2195 | part6.BrickColor=BrickColor.new("Black")
| |
| 2196 | local mesh2=mesh:clone() | |
| 2197 | mesh2.Parent=part2 | |
| 2198 | mesh2.Scale=Vector3.new(6, 6, 6) | |
| 2199 | local mesh5=mesh:clone() | |
| 2200 | mesh5.Parent=part5 | |
| 2201 | mesh5.Scale=Vector3.new(6, 6, 6) | |
| 2202 | local mesh6=mesh:clone() | |
| 2203 | mesh6.Parent=part6 | |
| 2204 | mesh6.Scale=Vector3.new(6, 6, 6) | |
| 2205 | local blast = Instance.new("Part", rarm)
| |
| 2206 | blast.BrickColor = BrickColor.new("Really black")
| |
| 2207 | blast.Anchored = true | |
| 2208 | blast.CanCollide = false | |
| 2209 | blast.Locked = true | |
| 2210 | blast.Size = Vector3.new(2, 2, 2) | |
| 2211 | blast.TopSurface = "Smooth" | |
| 2212 | blast.BottomSurface = "Smooth" | |
| 2213 | blast.Transparency = 0 | |
| 2214 | blast.CFrame = HandCF | |
| 2215 | local bm = Instance.new("SpecialMesh", blast)
| |
| 2216 | bm.Scale = Vector3.new(10,2,10) | |
| 2217 | bm.MeshId = "rbxassetid://3270017" | |
| 2218 | local blast2 = Instance.new("Part", rarm)
| |
| 2219 | blast2.BrickColor = BrickColor.new("Really black")
| |
| 2220 | blast2.Anchored = true | |
| 2221 | blast2.CanCollide = false | |
| 2222 | blast2.Locked = true | |
| 2223 | blast2.Size = Vector3.new(2, 2, 2) | |
| 2224 | blast2.TopSurface = "Smooth" | |
| 2225 | blast2.BottomSurface = "Smooth" | |
| 2226 | blast2.Transparency = 0 | |
| 2227 | blast2.CFrame = HandCF | |
| 2228 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 2229 | bm2.Scale = Vector3.new(6,2,6) | |
| 2230 | bm2.MeshId = "rbxassetid://3270017" | |
| 2231 | local blast3 = Instance.new("Part", rarm)
| |
| 2232 | blast3.BrickColor = BrickColor.new("Really black")
| |
| 2233 | blast3.Anchored = true | |
| 2234 | blast3.CanCollide = false | |
| 2235 | blast3.Locked = true | |
| 2236 | blast3.Size = Vector3.new(1, 1, 1) | |
| 2237 | blast3.TopSurface = "Smooth" | |
| 2238 | blast3.BottomSurface = "Smooth" | |
| 2239 | blast3.Transparency = 0 | |
| 2240 | blast3.CFrame = HandCF | |
| 2241 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 2242 | bm3.Scale = Vector3.new(6,2,6) | |
| 2243 | bm3.MeshId = "rbxassetid://3270017" | |
| 2244 | LOL=100 | |
| 2245 | LOLL=200 | |
| 2246 | LOLLL=300 | |
| 2247 | LOLLLL=400 | |
| 2248 | LOLLLLL=500 | |
| 2249 | -- such nic stairs xddd | |
| 2250 | local glowz2 = Instance.new("ParticleEmitter",X)
| |
| 2251 | glowz2.LightEmission = 0.5 | |
| 2252 | glowz2.Texture = "rbxassetid://284205403" | |
| 2253 | glowz2.Color = ColorSequence.new(wit2) | |
| 2254 | glowz2.Size = NumberSequence.new({nsk(0,30),nsk(0.4,60),nsk(0.6,120),nsk(0.8,60),nsk(1,10)})
| |
| 2255 | glowz2.Speed = NumberRange.new(0) | |
| 2256 | glowz2.LockedToPart = false | |
| 2257 | glowz2.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 2258 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 2259 | glowz2.Lifetime = NumberRange.new(1) | |
| 2260 | glowz2.Rate = 50000 | |
| 2261 | glowz2.VelocitySpread = 9001 | |
| 2262 | Spawn(function() | |
| 2263 | wait(1) | |
| 2264 | glowz2.Rate=0 | |
| 2265 | end) | |
| 2266 | for i = 1,120 do rs:wait() | |
| 2267 | LOL=LOL - 50 | |
| 2268 | LOLL=LOLL - 100 | |
| 2269 | LOLLL=LOLLL - 150 | |
| 2270 | LOLLLL=LOLLLL - 200 | |
| 2271 | LOLLLLL=LOLLLLL - 250 | |
| 2272 | -- hi | |
| 2273 | X.Transparency = X.Transparency + (1/120) | |
| 2274 | part.Transparency = part.Transparency + (1/120) | |
| 2275 | part2.Transparency = part2.Transparency + (1/50) | |
| 2276 | part3.Transparency = part3.Transparency + (1/50) | |
| 2277 | part4.Transparency = part4.Transparency + (1/50) | |
| 2278 | part5.Transparency = part5.Transparency + (1/50) | |
| 2279 | part6.Transparency = part6.Transparency + (1/50) | |
| 2280 | part7.Transparency = part7.Transparency + (1/50) | |
| 2281 | blast.Transparency = blast.Transparency + (1/50) | |
| 2282 | blast2.Transparency = blast2.Transparency + (1/50) | |
| 2283 | blast3.Transparency = blast3.Transparency + (1/50) | |
| 2284 | X.Size = X.Size + Vector3.new(1.6,1.6,1.6) | |
| 2285 | --part3.Size = part3.Size + Vector3.new(6,6,6) | |
| 2286 | mesh.Scale = mesh.Scale + Vector3.new(2,.4,2) | |
| 2287 | mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2) | |
| 2288 | mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6) | |
| 2289 | mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4) | |
| 2290 | mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2) | |
| 2291 | mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4) | |
| 2292 | mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8) | |
| 2293 | bm.Scale = bm.Scale + Vector3.new(12,12,.4) | |
| 2294 | bm2.Scale = bm2.Scale + Vector3.new(8,8,.4) | |
| 2295 | bm3.Scale = bm3.Scale + Vector3.new(8,8,.4) | |
| 2296 | X.CFrame = cf | |
| 2297 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 2298 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2299 | part3.CFrame=X.CFrame | |
| 2300 | part4.CFrame=X.CFrame | |
| 2301 | part7.CFrame=X.CFrame | |
| 2302 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 2303 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 2304 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2305 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 2306 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 2307 | rs:wait() | |
| 2308 | end | |
| 2309 | X:Destroy() | |
| 2310 | part:Destroy() | |
| 2311 | part2:Destroy() | |
| 2312 | part3:Destroy() | |
| 2313 | part4:Destroy() | |
| 2314 | part5:Destroy() | |
| 2315 | part6:Destroy() | |
| 2316 | blast:Destroy() | |
| 2317 | blast2:Destroy() | |
| 2318 | blast3:Destroy() | |
| 2319 | z:Destroy() | |
| 2320 | z1:Destroy() | |
| 2321 | z2:Destroy() | |
| 2322 | z3:Destroy() | |
| 2323 | z4:Destroy() | |
| 2324 | end | |
| 2325 | end) | |
| 2326 | for i = 1, 20 do | |
| 2327 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 2328 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 2329 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2330 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 2331 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 2332 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 2333 | if Debounces.on == false then break end | |
| 2334 | rs:wait() | |
| 2335 | end | |
| 2336 | if Debounces.CanAttack == false then | |
| 2337 | Debounces.CanAttack = true | |
| 2338 | Debounces.NoIdl = false | |
| 2339 | Debounces.on = false | |
| 2340 | end | |
| 2341 | end | |
| 2342 | end | |
| 2343 | end) | |
| 2344 | ---------------------------------------------------- | |
| 2345 | mouse.KeyDown:connect(function(key) | |
| 2346 | if key == "c" then | |
| 2347 | Blaze() | |
| 2348 | end | |
| 2349 | end) | |
| 2350 | ---------------------------------------------------- | |
| 2351 | mouse.KeyDown:connect(function(key) | |
| 2352 | if key == "v" then | |
| 2353 | Blaze2() | |
| 2354 | end | |
| 2355 | end) | |
| 2356 | ---------------------------------------------------- | |
| 2357 | mouse.KeyDown:connect(function(key) | |
| 2358 | if key == "x" then | |
| 2359 | hum.WalkSpeed = 0.01 | |
| 2360 | if Debounces.CanAttack == true then | |
| 2361 | Debounces.CanAttack = false | |
| 2362 | Debounces.NoIdl = true | |
| 2363 | Debounces.on = true | |
| 2364 | for i = 1, 30 do | |
| 2365 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 2366 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 2367 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2368 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2369 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2370 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2371 | if Debounces.on == false then break end | |
| 2372 | rs:wait(6) | |
| 2373 | end | |
| 2374 | v = Instance.new("Sound")
| |
| 2375 | v.SoundId = "rbxassetid://435742675" | |
| 2376 | v.Parent = char | |
| 2377 | v.Looped = false | |
| 2378 | v.Pitch = 1 | |
| 2379 | v.Volume = 18 | |
| 2380 | wait(.01) | |
| 2381 | v:Play() | |
| 2382 | ||
| 2383 | if Daytime == true then | |
| 2384 | Daytime = false | |
| 2385 | l.TimeOfDay = 00 | |
| 2386 | else | |
| 2387 | Daytime = true | |
| 2388 | l.TimeOfDay = 12 | |
| 2389 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
| 2390 | end | |
| 2391 | ||
| 2392 | local Shockwave = function() | |
| 2393 | local rng1 = Instance.new("Part", char)
| |
| 2394 | rng1.Anchored = true | |
| 2395 | rng1.BrickColor = BrickColor.new("Really black")
| |
| 2396 | rng1.CanCollide = false | |
| 2397 | rng1.FormFactor = 3 | |
| 2398 | rng1.Name = "Ring" | |
| 2399 | rng1.Material = "Neon" | |
| 2400 | rng1.Size = Vector3.new(1, 1, 1) | |
| 2401 | rng1.Transparency = 0.35 | |
| 2402 | rng1.TopSurface = 0 | |
| 2403 | rng1.BottomSurface = 0 | |
| 2404 | local rngm1 = Instance.new("SpecialMesh", rng)
| |
| 2405 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2406 | rngm1.Scale = Vector3.new(10, 10, 1) | |
| 2407 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
| 2408 | local Wave = Instance.new("Part", game.Workspace--[[?]])
| |
| 2409 | Wave.Name = "Shockwave" | |
| 2410 | Wave.BrickColor = BrickColor.new("Really black")
| |
| 2411 | Wave.Material = "Neon" | |
| 2412 | Wave.Size = Vector3.new(1, 1, 1) | |
| 2413 | Wave.Shape = "Ball" | |
| 2414 | Wave.CanCollide = false | |
| 2415 | Wave.Anchored = true | |
| 2416 | Wave.TopSurface = 0 | |
| 2417 | Wave.BottomSurface = 0 | |
| 2418 | local Wave2 = Instance.new("Part", game.Workspace--[[?]])
| |
| 2419 | Wave2.Name = "Shockwave2" | |
| 2420 | Wave2.BrickColor = TorsoColor | |
| 2421 | Wave2.Material = "Neon" | |
| 2422 | Wave2.Size = Vector3.new(1, 1, 1) | |
| 2423 | Wave2.Shape = "Ball" | |
| 2424 | Wave2.CanCollide = false | |
| 2425 | Wave2.Anchored = true | |
| 2426 | Wave2.TopSurface = 0 | |
| 2427 | Wave2.BottomSurface = 0 | |
| 2428 | Wave2.Touched:connect(function(hit) | |
| 2429 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
| |
| 2430 | local Occlude = true | |
| 2431 | local NotOccludes = {
| |
| 2432 | char.Name; | |
| 2433 | "Wings"; | |
| 2434 | "Scythe"; | |
| 2435 | "Thingy"; | |
| 2436 | "Thingy2"; -- put all of the names in a table pls | |
| 2437 | } | |
| 2438 | for i,v in pairs(NotOccludes) do | |
| 2439 | if hit.Parent.Name == v then | |
| 2440 | Occlude = false | |
| 2441 | end | |
| 2442 | end | |
| 2443 | --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 | |
| 2444 | if Occlude then | |
| 2445 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
| |
| 2446 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
| |
| 2447 | end | |
| 2448 | end | |
| 2449 | end) | |
| 2450 | ||
| 2451 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
| |
| 2452 | ||
| 2453 | coroutine.wrap(function() | |
| 2454 | for i = 1, 20, 0.2 do | |
| 2455 | rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20) | |
| 2456 | rng1.Transparency = i/20 | |
| 2457 | wait() | |
| 2458 | end | |
| 2459 | wait() | |
| 2460 | rng1:Destroy() | |
| 2461 | end)() | |
| 2462 | ||
| 2463 | Delay(0, function() | |
| 2464 | ||
| 2465 | if Daytime == false then | |
| 2466 | for i = 3, 50, 1 do | |
| 2467 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2468 | Wave.CFrame = char.Torso.CFrame | |
| 2469 | local t = i / 50 | |
| 2470 | Wave.Transparency = t | |
| 2471 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2472 | Wave2.CFrame = char.Torso.CFrame | |
| 2473 | local tq = i / 50 | |
| 2474 | Wave2.Transparency = tq | |
| 2475 | wait() | |
| 2476 | end | |
| 2477 | else | |
| 2478 | for i = 3, 50, 1 do | |
| 2479 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
| 2480 | Wave.CFrame = char.Torso.CFrame | |
| 2481 | local t = i / 50 | |
| 2482 | Wave.Transparency = t | |
| 2483 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
| 2484 | Wave2.CFrame = char.Torso.CFrame | |
| 2485 | local tq = i / 50 | |
| 2486 | Wave2.Transparency = tq | |
| 2487 | wait() | |
| 2488 | end | |
| 2489 | end | |
| 2490 | Wave:Destroy() | |
| 2491 | Wave2:Destroy() | |
| 2492 | end) | |
| 2493 | Delay(0, function() | |
| 2494 | while wait() do | |
| 2495 | if Wave ~= nil then | |
| 2496 | Wave.CFrame = char.Torso.CFrame | |
| 2497 | else | |
| 2498 | break | |
| 2499 | end | |
| 2500 | end | |
| 2501 | end) | |
| 2502 | end | |
| 2503 | Shockwave() | |
| 2504 | for i = 1, 30 do | |
| 2505 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 2506 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 2507 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 2509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2511 | if Debounces.on == false then break end | |
| 2512 | rs:wait() | |
| 2513 | end | |
| 2514 | wait(2.4) | |
| 2515 | Debounces.NoIdl = false | |
| 2516 | hum.WalkSpeed = 16 | |
| 2517 | Debounces.on = false | |
| 2518 | wait() | |
| 2519 | if Debounces.CanAttack == false then | |
| 2520 | Debounces.CanAttack = true | |
| 2521 | v:Destroy() | |
| 2522 | end | |
| 2523 | end | |
| 2524 | end | |
| 2525 | end) | |
| 2526 | ---------------------------------------------------- | |
| 2527 | mouse.KeyDown:connect(function(key) | |
| 2528 | if key == "e" then | |
| 2529 | if Debounces.CanAttack == true then | |
| 2530 | Debounces.CanAttack = false | |
| 2531 | Debounces.on = true | |
| 2532 | Debounces.NoIdl = true | |
| 2533 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2534 | z = Instance.new("Sound", rarm)
| |
| 2535 | z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2536 | z.Volume = 1.25 | |
| 2537 | z.Pitch = pt[math.random(1,#pt)] | |
| 2538 | z.Looped = false | |
| 2539 | z:Play() | |
| 2540 | Debounces.RPunch = true | |
| 2541 | Debounces.LPunch = true | |
| 2542 | Debounces.ks = true | |
| 2543 | Debounces.ks2 = true | |
| 2544 | for i = 1, 3 do | |
| 2545 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2546 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2547 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2548 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2549 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2550 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2551 | if Debounces.on == false then break end | |
| 2552 | wait() | |
| 2553 | end | |
| 2554 | z2 = Instance.new("Sound", larm)
| |
| 2555 | z2.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2556 | z2.Volume = 1.25 | |
| 2557 | z2.Pitch = pt[math.random(1,#pt)] | |
| 2558 | z2.Looped = false | |
| 2559 | z2:Play() | |
| 2560 | for i = 1, 3 do | |
| 2561 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2562 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2563 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2564 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2565 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2566 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2567 | if Debounces.on == false then break end | |
| 2568 | wait() | |
| 2569 | end | |
| 2570 | z3 = Instance.new("Sound", rarm)
| |
| 2571 | z3.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2572 | z3.Volume = 1.25 | |
| 2573 | z3.Pitch = pt[math.random(1,#pt)] | |
| 2574 | z3.Looped = false | |
| 2575 | z3:Play() | |
| 2576 | for i = 1, 3 do | |
| 2577 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2578 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2579 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2580 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2581 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2582 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2583 | if Debounces.on == false then break end | |
| 2584 | wait() | |
| 2585 | end | |
| 2586 | z4 = Instance.new("Sound", larm)
| |
| 2587 | z4.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2588 | z4.Volume = 1.25 | |
| 2589 | z4.Pitch = pt[math.random(1,#pt)] | |
| 2590 | z4.Looped = false | |
| 2591 | z4:Play() | |
| 2592 | for i = 1, 3 do | |
| 2593 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2594 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2595 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2596 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2597 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2598 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2599 | if Debounces.on == false then break end | |
| 2600 | wait() | |
| 2601 | end | |
| 2602 | z5 = Instance.new("Sound", rarm)
| |
| 2603 | z5.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2604 | z5.Volume = 1.25 | |
| 2605 | z5.Pitch = pt[math.random(1,#pt)] | |
| 2606 | z5.Looped = false | |
| 2607 | z5:Play() | |
| 2608 | for i = 1, 3 do | |
| 2609 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2610 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2611 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2612 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2613 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2614 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2615 | if Debounces.on == false then break end | |
| 2616 | wait() | |
| 2617 | end | |
| 2618 | z6 = Instance.new("Sound", larm)
| |
| 2619 | z6.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2620 | z6.Volume = 1.25 | |
| 2621 | z6.Pitch = pt[math.random(1,#pt)] | |
| 2622 | z6.Looped = false | |
| 2623 | z6:Play() | |
| 2624 | for i = 1, 3 do | |
| 2625 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2626 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2627 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2628 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2629 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2630 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2631 | if Debounces.on == false then break end | |
| 2632 | wait() | |
| 2633 | end | |
| 2634 | z7 = Instance.new("Sound", rarm)
| |
| 2635 | z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2636 | z7.Volume = 1.25 | |
| 2637 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2638 | z7.Looped = false | |
| 2639 | z7:Play() | |
| 2640 | for i = 1, 3 do | |
| 2641 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2642 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2643 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2644 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2645 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2646 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2647 | if Debounces.on == false then break end | |
| 2648 | wait() | |
| 2649 | end | |
| 2650 | z8 = Instance.new("Sound", larm)
| |
| 2651 | z8.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2652 | z8.Volume = 1.25 | |
| 2653 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2654 | z8.Looped = false | |
| 2655 | z8:Play() | |
| 2656 | for i = 1, 3 do | |
| 2657 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2658 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2659 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2660 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2661 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2662 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2663 | if Debounces.on == false then break end | |
| 2664 | wait() | |
| 2665 | end | |
| 2666 | z9 = Instance.new("Sound", rarm)
| |
| 2667 | z9.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2668 | z9.Volume = 1.25 | |
| 2669 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2670 | z9.Looped = false | |
| 2671 | z9:Play() | |
| 2672 | for i = 1, 3 do | |
| 2673 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2674 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2675 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2676 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2677 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2678 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2679 | if Debounces.on == false then break end | |
| 2680 | wait() | |
| 2681 | end | |
| 2682 | z10 = Instance.new("Sound", larm)
| |
| 2683 | z10.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2684 | z10.Volume = 1.25 | |
| 2685 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2686 | z10.Looped = false | |
| 2687 | z10:Play() | |
| 2688 | for i = 1, 3 do | |
| 2689 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2690 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2691 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2692 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2693 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2694 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2695 | if Debounces.on == false then break end | |
| 2696 | wait() | |
| 2697 | end | |
| 2698 | z11 = Instance.new("Sound", rarm)
| |
| 2699 | z11.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2700 | z11.Volume = 1.25 | |
| 2701 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2702 | z11.Looped = false | |
| 2703 | z11:Play() | |
| 2704 | for i = 1, 3 do | |
| 2705 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2706 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2707 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2708 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2709 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2710 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2711 | if Debounces.on == false then break end | |
| 2712 | wait() | |
| 2713 | end | |
| 2714 | z12 = Instance.new("Sound", larm)
| |
| 2715 | z12.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2716 | z12.Volume = 1.25 | |
| 2717 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2718 | z12.Looped = false | |
| 2719 | z12:Play() | |
| 2720 | for i = 1, 3 do | |
| 2721 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2722 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2723 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2724 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2725 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2726 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2727 | if Debounces.on == false then break end | |
| 2728 | wait() | |
| 2729 | end | |
| 2730 | z13 = Instance.new("Sound", rarm)
| |
| 2731 | z13.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2732 | z13.Volume = 1.25 | |
| 2733 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2734 | z13.Looped = false | |
| 2735 | z13:Play() | |
| 2736 | for i = 1, 3 do | |
| 2737 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2738 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2739 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2740 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2741 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2742 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2743 | if Debounces.on == false then break end | |
| 2744 | wait() | |
| 2745 | end | |
| 2746 | z14 = Instance.new("Sound", larm)
| |
| 2747 | z14.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2748 | z14.Volume = 1.25 | |
| 2749 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2750 | z14.Looped = false | |
| 2751 | z14:Play() | |
| 2752 | for i = 1, 3 do | |
| 2753 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2754 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2755 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2757 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2758 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2759 | if Debounces.on == false then break end | |
| 2760 | wait() | |
| 2761 | end | |
| 2762 | z15 = Instance.new("Sound", rarm)
| |
| 2763 | z15.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2764 | z15.Volume = 1.25 | |
| 2765 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2766 | z15.Looped = false | |
| 2767 | z15:Play() | |
| 2768 | for i = 1, 3 do | |
| 2769 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2770 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2771 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2772 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2773 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2774 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2775 | if Debounces.on == false then break end | |
| 2776 | wait() | |
| 2777 | end | |
| 2778 | z16 = Instance.new("Sound", larm)
| |
| 2779 | z16.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2780 | z16.Volume = 1.25 | |
| 2781 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2782 | z16.Looped = false | |
| 2783 | z16:Play() | |
| 2784 | for i = 1, 3 do | |
| 2785 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2786 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2787 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2788 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2789 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2790 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2791 | if Debounces.on == false then break end | |
| 2792 | wait() | |
| 2793 | end | |
| 2794 | z17 = Instance.new("Sound", rarm)
| |
| 2795 | z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2796 | z17.Volume = 1.25 | |
| 2797 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2798 | z17.Looped = false | |
| 2799 | z17:Play() | |
| 2800 | for i = 1, 3 do | |
| 2801 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2802 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2803 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2804 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2805 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2806 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2807 | if Debounces.on == false then break end | |
| 2808 | wait() | |
| 2809 | end | |
| 2810 | z18 = Instance.new("Sound", larm)
| |
| 2811 | z18.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2812 | z18.Volume = 1.25 | |
| 2813 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2814 | z18.Looped = false | |
| 2815 | z18:Play() | |
| 2816 | for i = 1, 3 do | |
| 2817 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2818 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2821 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2822 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2823 | if Debounces.on == false then break end | |
| 2824 | wait() | |
| 2825 | end | |
| 2826 | z19 = Instance.new("Sound", rarm)
| |
| 2827 | z19.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2828 | z19.Volume = 1.25 | |
| 2829 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2830 | z19.Looped = false | |
| 2831 | z19:Play() | |
| 2832 | for i = 1, 3 do | |
| 2833 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2834 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2835 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2836 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2837 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2838 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2839 | if Debounces.on == false then break end | |
| 2840 | wait() | |
| 2841 | end | |
| 2842 | z20 = Instance.new("Sound", larm)
| |
| 2843 | z20.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2844 | z20.Volume = 1.25 | |
| 2845 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2846 | z20.Looped = false | |
| 2847 | z20:Play() | |
| 2848 | for i = 1, 3 do | |
| 2849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2850 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2852 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2853 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2854 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2855 | if Debounces.on == false then break end | |
| 2856 | wait() | |
| 2857 | end | |
| 2858 | z:Destroy() | |
| 2859 | z2:Destroy() | |
| 2860 | z3:Destroy() | |
| 2861 | z4:Destroy() | |
| 2862 | z5:Destroy() | |
| 2863 | z6:Destroy() | |
| 2864 | z7:Destroy() | |
| 2865 | z8:Destroy() | |
| 2866 | z9:Destroy() | |
| 2867 | z10:Destroy() | |
| 2868 | z11:Destroy() | |
| 2869 | z12:Destroy() | |
| 2870 | z13:Destroy() | |
| 2871 | z14:Destroy() | |
| 2872 | z15:Destroy() | |
| 2873 | z16:Destroy() | |
| 2874 | z17:Destroy() | |
| 2875 | z18:Destroy() | |
| 2876 | z19:Destroy() | |
| 2877 | z20:Destroy() | |
| 2878 | Debounces.LPunch = false | |
| 2879 | Debounces.RPunch = false | |
| 2880 | Debounces.ks = false | |
| 2881 | Debounces.ks2 = false | |
| 2882 | if Debounces.CanAttack == false then | |
| 2883 | Debounces.CanAttack = true | |
| 2884 | Debounces.on = false | |
| 2885 | Debounces.NoIdl = false | |
| 2886 | end | |
| 2887 | end | |
| 2888 | end | |
| 2889 | end) | |
| 2890 | ------------------------------- | |
| 2891 | mouse.KeyDown:connect(function(key) | |
| 2892 | if key == "t" then | |
| 2893 | if Debounces.CanAttack == true then | |
| 2894 | Debounces.CanAttack = false | |
| 2895 | Debounces.NoIdl = true | |
| 2896 | Debounces.on = true | |
| 2897 | Debounces.ks = true | |
| 2898 | kik = rleg.Touched:connect(function(ht) | |
| 2899 | hit = ht.Parent | |
| 2900 | if ht and hit:IsA("Model") then
| |
| 2901 | if hit:FindFirstChild("Humanoid") then
| |
| 2902 | if hit.Name ~= p.Name then | |
| 2903 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2904 | Debounces.Slashed = true]]-- | |
| 2905 | if Debounces.ks==true then | |
| 2906 | z = Instance.new("Sound",hed)
| |
| 2907 | z.SoundId = "rbxassetid://169380525" | |
| 2908 | z.Volume = 1 | |
| 2909 | z:Play() | |
| 2910 | Debounces.ks=false | |
| 2911 | end | |
| 2912 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2913 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2914 | --Debounces.Slashed = false | |
| 2915 | --end | |
| 2916 | end | |
| 2917 | end | |
| 2918 | elseif ht and hit:IsA("Hat") then
| |
| 2919 | if hit.Parent.Name ~= p.Name then | |
| 2920 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2921 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2922 | Debounces.Slashed = true]]-- | |
| 2923 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2924 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2925 | --Debounces.Slashed = false | |
| 2926 | --end | |
| 2927 | end | |
| 2928 | end | |
| 2929 | end | |
| 2930 | end) | |
| 2931 | for i = 1,20 do | |
| 2932 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 2933 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
| 2934 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2936 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2937 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2938 | if Debounces.on == false then break end | |
| 2939 | rs:wait() | |
| 2940 | end | |
| 2941 | kik:disconnect() | |
| 2942 | if Debounces.CanAttack == false then | |
| 2943 | Debounces.CanAttack = true | |
| 2944 | Debounces.NoIdl = false | |
| 2945 | Debounces.on = false | |
| 2946 | end | |
| 2947 | end | |
| 2948 | end | |
| 2949 | end) | |
| 2950 | ---------------------------------------------------- | |
| 2951 | mouse.KeyDown:connect(function(key) | |
| 2952 | if key == "y" then | |
| 2953 | if Debounces.CanAttack == true then | |
| 2954 | Debounces.CanAttack = false | |
| 2955 | Debounces.on = true | |
| 2956 | Debounces.NoIdl = true | |
| 2957 | for i = 1, 15 do | |
| 2958 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2) | |
| 2959 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6) | |
| 2960 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2) | |
| 2961 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4) | |
| 2962 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2963 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2964 | if Debounces.on == false then break end | |
| 2965 | rs:wait(2.7) | |
| 2966 | end | |
| 2967 | xa = Instance.new("Sound",char)
| |
| 2968 | xa.SoundId = "rbxassetid://419447292" | |
| 2969 | xa.Pitch = 1 | |
| 2970 | xa.Volume = 2.5 | |
| 2971 | wait(.1) | |
| 2972 | xa:Play() | |
| 2973 | Debounces.on = false | |
| 2974 | Debounces.Here = false | |
| 2975 | shot = shot + 1 | |
| 2976 | local rng = Instance.new("Part", larm)
| |
| 2977 | rng.Anchored = true | |
| 2978 | rng.BrickColor = TorsoColor | |
| 2979 | rng.CanCollide = false | |
| 2980 | rng.FormFactor = 3 | |
| 2981 | rng.Name = "Ring" | |
| 2982 | rng.Size = Vector3.new(1, 1, 1) | |
| 2983 | rng.Transparency = 0.35 | |
| 2984 | rng.TopSurface = 0 | |
| 2985 | rng.BottomSurface = 0 | |
| 2986 | rng2 = rng:clone() | |
| 2987 | rng3 = rng2:clone() | |
| 2988 | rng4 = rng2:clone() | |
| 2989 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2990 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2991 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2992 | rngm2 = rngm:clone() | |
| 2993 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2994 | rngm3=rngm2:clone() | |
| 2995 | rngm3.Parent = rng3 | |
| 2996 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2997 | rngm4 = rngm2:clone() | |
| 2998 | rngm4.Parent = rng4 | |
| 2999 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 3000 | local bem = Instance.new("Part", larm)
| |
| 3001 | bem.Anchored = true | |
| 3002 | bem.BrickColor = BrickColor.new("Really black")
| |
| 3003 | bem.CanCollide = false | |
| 3004 | bem.FormFactor = 3 | |
| 3005 | bem.Name = "Beam" .. shot | |
| 3006 | bem.Size = Vector3.new(1, 1, 1) | |
| 3007 | bem.Transparency = 0.35 | |
| 3008 | bem.Material = "Neon" | |
| 3009 | bem.TopSurface = 0 | |
| 3010 | bem.BottomSurface = 0 | |
| 3011 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 3012 | bemm.MeshType = 4 | |
| 3013 | bemm.Scale = Vector3.new(1, 50, 50) | |
| 3014 | local out = Instance.new("Part", larm)
| |
| 3015 | out.Anchored = true | |
| 3016 | out.BrickColor = BrickColor.new("Really black")
| |
| 3017 | out.CanCollide = false | |
| 3018 | out.FormFactor = 3 | |
| 3019 | out.Name = "Out" | |
| 3020 | out.Size = Vector3.new(8, 8, 8) | |
| 3021 | out.Transparency = 0.35 | |
| 3022 | out.TopSurface = 0 | |
| 3023 | out.BottomSurface = 0 | |
| 3024 | local outm = Instance.new("SpecialMesh", out)
| |
| 3025 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 3026 | outm.Scale = Vector3.new(12, 8, 12) | |
| 3027 | local bnd = Instance.new("Part", larm)
| |
| 3028 | bnd.Anchored = true | |
| 3029 | bnd.BrickColor = BrickColor.new("Really black")
| |
| 3030 | bnd.CanCollide = false | |
| 3031 | bnd.FormFactor = 3 | |
| 3032 | bnd.Name = "Bend" | |
| 3033 | bnd.Size = Vector3.new(1, 1, 1) | |
| 3034 | bnd.Transparency = 1 | |
| 3035 | bnd.TopSurface = 0 | |
| 3036 | bnd.BottomSurface = 0 | |
| 3037 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 3038 | bndm.MeshType = 3 | |
| 3039 | bndm.Scale = Vector3.new(16, 16, 16) | |
| 3040 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
| 3041 | bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3042 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 3043 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 3044 | rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 3045 | rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0) | |
| 3046 | Debounces.Shewt = true | |
| 3047 | coroutine.wrap(function() | |
| 3048 | for i = 1, 20, 0.2 do | |
| 3049 | rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2) | |
| 3050 | rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2) | |
| 3051 | rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2) | |
| 3052 | rng.Transparency = i/20 | |
| 3053 | rng3.Transparency = 1/24 | |
| 3054 | rng4.Transparency = i/26 | |
| 3055 | wait() | |
| 3056 | end | |
| 3057 | wait() | |
| 3058 | rng:Destroy() | |
| 3059 | end)() | |
| 3060 | if Debounces.Shewt == true then | |
| 3061 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 3062 | hit = ht.Parent | |
| 3063 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 3064 | if HasntTouched(hit.Name) == true and deb == false then | |
| 3065 | deb = true | |
| 3066 | coroutine.wrap(function() | |
| 3067 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3068 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
| |
| 3069 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 3070 | end)() | |
| 3071 | table.insert(Touche, hit.Name) | |
| 3072 | deb = false | |
| 3073 | end | |
| 3074 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 3075 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 3076 | deb = true | |
| 3077 | coroutine.wrap(function() | |
| 3078 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3079 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
| |
| 3080 | wait(1) | |
| 3081 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 3082 | end)() | |
| 3083 | table.insert(Touche, hit.Parent.Name) | |
| 3084 | deb = false | |
| 3085 | for i, v in pairs(Touche) do | |
| 3086 | print(v) | |
| 3087 | end | |
| 3088 | end | |
| 3089 | end | |
| 3090 | end) | |
| 3091 | end | |
| 3092 | for i = 0, 260, 8 do | |
| 3093 | bem.Size = Vector3.new(i, 30, 30) | |
| 3094 | out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0) | |
| 3095 | bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 3096 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 3097 | bnd.Size = Vector3.new(2,2,2) | |
| 3098 | bndm.Scale = Vector3.new(16,16,16) | |
| 3099 | if i % 10 == 0 then | |
| 3100 | local newRng = rng2:Clone() | |
| 3101 | newRng.Parent = larm | |
| 3102 | newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 3103 | local newRngm = rngm2:clone() | |
| 3104 | newRngm.Parent=newRng | |
| 3105 | coroutine.wrap(function() | |
| 3106 | for i = 1, 10, 0.2 do | |
| 3107 | newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6) | |
| 3108 | newRng.Transparency = i/10 | |
| 3109 | wait() | |
| 3110 | end | |
| 3111 | wait() | |
| 3112 | newRng:Destroy() | |
| 3113 | end)() | |
| 3114 | end | |
| 3115 | wait() | |
| 3116 | end | |
| 3117 | wait() | |
| 3118 | Debounces.Shewt = false | |
| 3119 | bem:Destroy() | |
| 3120 | out:Destroy() | |
| 3121 | bnd:Destroy() | |
| 3122 | Debounces.Ready = false | |
| 3123 | for i, v in pairs(Touche) do | |
| 3124 | table.remove(Touche, i) | |
| 3125 | end | |
| 3126 | wait() | |
| 3127 | table.insert(Touche, char.Name) | |
| 3128 | Debounces.NoIdl = false | |
| 3129 | if Debounces.CanAttack == false then | |
| 3130 | Debounces.CanAttack = true | |
| 3131 | end | |
| 3132 | end | |
| 3133 | end | |
| 3134 | end) | |
| 3135 | ---------------------------------------------------- | |
| 3136 | mouse.KeyDown:connect(function(key) | |
| 3137 | if key == "h" then | |
| 3138 | if Debounces.CanAttack == true then | |
| 3139 | Debounces.CanAttack = false | |
| 3140 | Debounces.on = true | |
| 3141 | Debounces.NoIdl = true | |
| 3142 | for i = 1, 20 do | |
| 3143 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 3144 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 3145 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 3146 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 3147 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 3148 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 3149 | if Debounces.on == false then break end | |
| 3150 | rs:wait(2.6) | |
| 3151 | end | |
| 3152 | Spawn(function() | |
| 3153 | local Parts = {}
| |
| 3154 | for Y = -5,5 do | |
| 3155 | local P = Instance.new("Part",char)
| |
| 3156 | P.Anchored = true | |
| 3157 | P.FormFactor = "Custom" | |
| 3158 | P.CanCollide = false | |
| 3159 | P.Size = Vector3.new(2,4,2) | |
| 3160 | P.TopSurface = "SmoothNoOutlines" | |
| 3161 | P.BottomSurface = "SmoothNoOutlines" | |
| 3162 | P.Material = "Neon" | |
| 3163 | P.BrickColor = BrickColor.new("Really black")
| |
| 3164 | P.Name = tostring(Y) | |
| 3165 | local i = (Y+5)/(10) | |
| 3166 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
| 3167 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
| 3168 | --[[P.Touched:connect(function(ht) | |
| 3169 | local hit = ht.Parent | |
| 3170 | if hit:FindFirstChild("Humanoid") then
| |
| 3171 | hit.Humanoid:TakeDamage(math.random(20,50)) | |
| 3172 | end | |
| 3173 | end)]]-- | |
| 3174 | s = Instance.new("Sound",P)
| |
| 3175 | s.SoundId = "rbxassetid://228343271" | |
| 3176 | s.Volume = 1 | |
| 3177 | s.Pitch = 0.9 | |
| 3178 | s:Play() | |
| 3179 | sa = Instance.new("Sound",P)
| |
| 3180 | sa.SoundId = "rbxassetid://419447292" | |
| 3181 | sa.Volume = 1 | |
| 3182 | sa.Pitch = 1 | |
| 3183 | sa:Play() | |
| 3184 | P.Touched:connect(function(ht) | |
| 3185 | hit = ht.Parent | |
| 3186 | if ht and hit:IsA("Model") then
| |
| 3187 | if hit:FindFirstChild("Humanoid") then
| |
| 3188 | if hit.Name ~= p.Name then | |
| 3189 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3190 | Debounces.Slashed = true]]-- | |
| 3191 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
| |
| 3192 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3193 | wait(1) | |
| 3194 | --Debounces.Slashed = false | |
| 3195 | --end | |
| 3196 | end | |
| 3197 | end | |
| 3198 | elseif ht and hit:IsA("Hat") then
| |
| 3199 | if hit.Parent.Name ~= p.Name then | |
| 3200 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 3201 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 3202 | Debounces.Slashed = true]]-- | |
| 3203 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
| |
| 3204 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 3205 | wait(1) | |
| 3206 | --Debounces.Slashed = false | |
| 3207 | --end | |
| 3208 | end | |
| 3209 | end | |
| 3210 | end | |
| 3211 | end) | |
| 3212 | Parts[#Parts+1] = P | |
| 3213 | end | |
| 3214 | local BREAKIT = false | |
| 3215 | local CParts = {}
| |
| 3216 | local Rocks = {}
| |
| 3217 | local LastPos = nil | |
| 3218 | for i = 1,70 do | |
| 3219 | for i2,v in pairs(Parts) do | |
| 3220 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
| 3221 | local cf = v.CFrame | |
| 3222 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
| 3223 | v.CFrame = cf | |
| 3224 | v.Transparency = v.Transparency+0.02 | |
| 3225 | if v.Transparency >= 0.975 then BREAKIT = true end | |
| 3226 | if v.Name == "0" then | |
| 3227 | local Ignore = {}
| |
| 3228 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 3229 | if v.Character ~= nil then | |
| 3230 | Ignore[#Ignore+1] = v.Character | |
| 3231 | end | |
| 3232 | end | |
| 3233 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0)) | |
| 3234 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
| 3235 | if Hit ~= nil then | |
| 3236 | if #Rocks == 0 then | |
| 3237 | for i = 1,5 do | |
| 3238 | local P = Instance.new("Part",char)
| |
| 3239 | Rocks[#Rocks+1] = P | |
| 3240 | P.Anchored = true | |
| 3241 | P.FormFactor = "Custom" | |
| 3242 | P.BrickColor = Hit.BrickColor | |
| 3243 | P.Material = Hit.Material | |
| 3244 | P.TopSurface = "Smooth" | |
| 3245 | P.BottomSurface = "Smooth" | |
| 3246 | P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100) | |
| 3247 | end | |
| 3248 | end | |
| 3249 | for i,P in pairs(Rocks) do | |
| 3250 | 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))) | |
| 3251 | end | |
| 3252 | local P = Instance.new("Part",char)
| |
| 3253 | CParts[#CParts+1] = {P,tick()}
| |
| 3254 | P.Anchored = true | |
| 3255 | P.FormFactor = "Custom" | |
| 3256 | P.BrickColor = Hit.BrickColor | |
| 3257 | P.Material = Hit.Material | |
| 3258 | P.TopSurface = "Smooth" | |
| 3259 | P.BottomSurface = "Smooth" | |
| 3260 | P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100) | |
| 3261 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 3262 | Pos = Pos.p | |
| 3263 | 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))) | |
| 3264 | local P = P:Clone() | |
| 3265 | CParts[#CParts+1] = {P,tick()}
| |
| 3266 | P.Parent = char | |
| 3267 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
| 3268 | Pos = Pos.p | |
| 3269 | 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))) | |
| 3270 | if LastPos ~= nil then | |
| 3271 | local P = P:Clone() | |
| 3272 | CParts[#CParts+1] = {P,tick()}
| |
| 3273 | P.Parent = char | |
| 3274 | P.BrickColor = TorsoColor | |
| 3275 | P.Material = "Neon" | |
| 3276 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
| 3277 | Pos = Pos.p | |
| 3278 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 3279 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
| 3280 | --P.Velocity = Vector3.new(0,-1000,0) | |
| 3281 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
| 3282 | end | |
| 3283 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
| 3284 | end | |
| 3285 | end | |
| 3286 | end | |
| 3287 | if BREAKIT then break end | |
| 3288 | wait(0.002) | |
| 3289 | end | |
| 3290 | for i,v in pairs(Rocks) do | |
| 3291 | CParts[#CParts+1] = {v,tick()}
| |
| 3292 | end | |
| 3293 | for i,v in pairs(Parts) do | |
| 3294 | v:Destroy() | |
| 3295 | end | |
| 3296 | Parts = nil | |
| 3297 | while true do | |
| 3298 | local t = tick() | |
| 3299 | local p = nil | |
| 3300 | for i,v in pairs(CParts) do | |
| 3301 | if t-v[2] > 4 then | |
| 3302 | v[1].Transparency = v[1].Transparency+0.05 | |
| 3303 | if v[1].Transparency >= 1 then | |
| 3304 | v[1]:Destroy() | |
| 3305 | CParts[i] = nil | |
| 3306 | end | |
| 3307 | end | |
| 3308 | p = v | |
| 3309 | end | |
| 3310 | if p == nil then break end | |
| 3311 | wait(0.002) | |
| 3312 | end | |
| 3313 | for i,v in pairs(CParts) do | |
| 3314 | v:Destroy() | |
| 3315 | end | |
| 3316 | CParts = {}
| |
| 3317 | end) | |
| 3318 | for i = 1, 20 do | |
| 3319 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 3320 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 3321 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3322 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 3323 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3324 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3325 | 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) | |
| 3326 | if Debounces.on == false then break end | |
| 3327 | rs:wait(2) | |
| 3328 | end | |
| 3329 | if Debounces.CanAttack == false then | |
| 3330 | Debounces.CanAttack = true | |
| 3331 | Debounces.on = false | |
| 3332 | Debounces.NoIdl = false | |
| 3333 | end | |
| 3334 | end | |
| 3335 | end | |
| 3336 | end) | |
| 3337 | ---------------------------------------------------- | |
| 3338 | local orbt={}
| |
| 3339 | local stlt={}
| |
| 3340 | local chot={}
| |
| 3341 | local cfxt={}
| |
| 3342 | local pfxt={}
| |
| 3343 | local cns=0 | |
| 3344 | local cnOrb=nil | |
| 3345 | mouse.KeyDown:connect(function(key) | |
| 3346 | if key == "u" then | |
| 3347 | if Debounces.CanAttack == true then | |
| 3348 | Debounces.CanAttack = false | |
| 3349 | Debounces.NoIdl = true | |
| 3350 | Debounces.on = true | |
| 3351 | orbt={}
| |
| 3352 | stlt={}
| |
| 3353 | chot={}
| |
| 3354 | cfxt={}
| |
| 3355 | for i = 1, 20 do | |
| 3356 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 3357 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 3358 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 3359 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 3360 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3361 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3362 | if Debounces.on == false then end | |
| 3363 | rs:wait() | |
| 3364 | end | |
| 3365 | z2 = Instance.new("Sound",char)
| |
| 3366 | z2.SoundId = "rbxassetid://331888777" | |
| 3367 | z2.Pitch = 0.45 | |
| 3368 | z2.Volume = 2 | |
| 3369 | wait(0.1) | |
| 3370 | z2:Play() | |
| 3371 | cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White") | |
| 3372 | debris:AddItem(cnOrb,50) | |
| 3373 | cnOrb.Mesh.MeshType=3 | |
| 3374 | cnOrb.Transparency = 0.5 | |
| 3375 | table.insert(orbt,cnOrb) | |
| 3376 | table.insert(stlt,cnOrb) | |
| 3377 | local nt=0 | |
| 3378 | for i=0,14.75,0.5 do | |
| 3379 | nt=nt+1 | |
| 3380 | cns=i | |
| 3381 | if nt>=2 then | |
| 3382 | nt=0 | |
| 3383 | local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White") | |
| 3384 | debris:AddItem(cho,1) | |
| 3385 | cho.Mesh.MeshType=3 | |
| 3386 | cho.Transparency = 1 | |
| 3387 | table.insert(chot,cho) | |
| 3388 | end | |
| 3389 | cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1) | |
| 3390 | cnOrb.Mesh.Scale=Vector3.new(i,i,i) | |
| 3391 | wait() | |
| 3392 | end | |
| 3393 | for i = 1, 14 do | |
| 3394 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 3395 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 3396 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 3397 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 3398 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 3399 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 3400 | if Debounces.on == false then end | |
| 3401 | rs:wait() | |
| 3402 | end | |
| 3403 | coroutine.wrap(function() | |
| 3404 | for i = 1, 20 do | |
| 3405 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 3406 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 3407 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3408 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 3409 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 3410 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 3411 | if Debounces.on == false then end | |
| 3412 | rs:wait() | |
| 3413 | end | |
| 3414 | end)() | |
| 3415 | wait(0.1) | |
| 3416 | stlt={}
| |
| 3417 | local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-150),root.CFrame*CFrame.new(0,0,-150)*CFrame.Angles(math.rad(-0.001),0,0)*CFrame.new(0,0,-2),160,{char})
| |
| 3418 | cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-150)*CFrame.Angles(math.rad(-0.001),0,0) | |
| 3419 | local nt=0 | |
| 3420 | for i=0,360,150 do | |
| 3421 | cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-20) | |
| 3422 | nt=nt+1 | |
| 3423 | if nt>=6 then | |
| 3424 | nt=0 | |
| 3425 | local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black") | |
| 3426 | cfx.Mesh.MeshId="rbxassetid://0" | |
| 3427 | cfx.Transparency=0.4 | |
| 3428 | table.insert(cfxt,cfx) | |
| 3429 | debris:AddItem(cfx,1) | |
| 3430 | end | |
| 3431 | if (cnOrb.Position-ps).magnitude<12 then | |
| 3432 | break | |
| 3433 | end | |
| 3434 | wait() | |
| 3435 | end | |
| 3436 | orbt={}
| |
| 3437 | ||
| 3438 | for i=0,1,0.1 do | |
| 3439 | local cs=cnOrb.Mesh.Scale | |
| 3440 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
| 3441 | wait() | |
| 3442 | end | |
| 3443 | local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black") | |
| 3444 | ofx.Transparency=0.5 | |
| 3445 | ofx.Mesh.MeshType=3 | |
| 3446 | ofx.Mesh.Scale=Vector3.new(30,30,30) | |
| 3447 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3448 | pcall(function() | |
| 3449 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3450 | if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then
| |
| 3451 | local hrp=v.Character:FindFirstChild("HumanoidRootPart")
| |
| 3452 | hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500 | |
| 3453 | end | |
| 3454 | end | |
| 3455 | end) | |
| 3456 | end | |
| 3457 | for i=0,1,0.05 do | |
| 3458 | local cs=cnOrb.Mesh.Scale | |
| 3459 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i)) | |
| 3460 | local ofs=ofx.Mesh.Scale | |
| 3461 | ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i)) | |
| 3462 | ofx.Transparency=Tween(ofx.Transparency,1,i) | |
| 3463 | wait() | |
| 3464 | end | |
| 3465 | ofx:Destroy() | |
| 3466 | cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0) | |
| 3467 | local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
| 3468 | cnfx.Mesh.MeshType=3 | |
| 3469 | cnOrb.Transparency=0.5 | |
| 3470 | local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black") | |
| 3471 | cnr.Transparency=0.5 | |
| 3472 | cnr.Mesh.MeshType=3 | |
| 3473 | local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White") | |
| 3474 | rn1.Transparency=1 | |
| 3475 | rn1.Mesh.MeshId="rbxassetid://3270017" | |
| 3476 | local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White") | |
| 3477 | rn2.Transparency=1 | |
| 3478 | rn2.Mesh.MeshId="rbxassetid://3270017" | |
| 3479 | local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White") | |
| 3480 | rn3.Transparency=1 | |
| 3481 | rn3.Mesh.MeshId="rbxassetid://3270017" | |
| 3482 | local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White") | |
| 3483 | rn4.Transparency=1 | |
| 3484 | rn4.Mesh.MeshId="rbxassetid://3270017" | |
| 3485 | local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
| 3486 | rn5.Transparency=1 | |
| 3487 | rn5.Mesh.MeshId="rbxassetid://3270017" | |
| 3488 | local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White") | |
| 3489 | rn6.Transparency=1 | |
| 3490 | rn6.Mesh.MeshId="rbxassetid://3270017" | |
| 3491 | local nt=0 | |
| 3492 | local cs=nil | |
| 3493 | z4 = Instance.new("Sound",char)
| |
| 3494 | z4.SoundId = "rbxassetid://419447292" | |
| 3495 | z4.Pitch = 1 | |
| 3496 | z4.Volume = 10 | |
| 3497 | wait(0.1) | |
| 3498 | z4:Play() | |
| 3499 | z3 = Instance.new("Sound",char)
| |
| 3500 | z3.SoundId = "rbxassetid://421328847" | |
| 3501 | z3.Pitch = 1 | |
| 3502 | z3.Volume = 10 | |
| 3503 | wait(0.1) | |
| 3504 | z3:Play() | |
| 3505 | local glowz2 = Instance.new("ParticleEmitter",cnOrb)
| |
| 3506 | glowz2.LightEmission = 0.5 | |
| 3507 | glowz2.Texture = "rbxassetid://284205403" | |
| 3508 | glowz2.Color = ColorSequence.new(wit2) | |
| 3509 | glowz2.Size = NumberSequence.new({nsk(0,120),nsk(0.5,380),nsk(1,10)})
| |
| 3510 | glowz2.Speed = NumberRange.new(0) | |
| 3511 | glowz2.LockedToPart = false | |
| 3512 | glowz2.Transparency = NumberSequence.new({nsk(0,0),nsk(1,1)})
| |
| 3513 | glowz2.RotSpeed = NumberRange.new(-2000,2000) | |
| 3514 | glowz2.Lifetime = NumberRange.new(1) | |
| 3515 | glowz2.Rate = 50000 | |
| 3516 | glowz2.VelocitySpread = 9001 | |
| 3517 | Spawn(function() | |
| 3518 | wait(0.5) | |
| 3519 | glowz2.Rate = 0 | |
| 3520 | end) | |
| 3521 | for i=0,1,0.05 do | |
| 3522 | cs=cnOrb.Mesh.Scale | |
| 3523 | cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i)) | |
| 3524 | local fs=cnfx.Mesh.Scale | |
| 3525 | cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i)) | |
| 3526 | cnfx.Transparency=cnfx.Transparency+0.05 | |
| 3527 | rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
| 3528 | rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i)) | |
| 3529 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
| 3530 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3)) | |
| 3531 | rn1.Transparency=Tween(rn1.Transparency,0.8,i) | |
| 3532 | rn2.Transparency=Tween(rn2.Transparency,0.8,i) | |
| 3533 | rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
| 3534 | rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i)) | |
| 3535 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
| 3536 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3)) | |
| 3537 | rn3.Transparency=Tween(rn1.Transparency,0.8,i) | |
| 3538 | rn4.Transparency=Tween(rn2.Transparency,0.8,i) | |
| 3539 | rn5.Transparency=Tween(rn2.Transparency,0.25,i) | |
| 3540 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9)) | |
| 3541 | rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
| 3542 | rn6.Transparency=Tween(rn2.Transparency,0.25,i) | |
| 3543 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9)) | |
| 3544 | rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i)) | |
| 3545 | local rs=cnr.Mesh.Scale | |
| 3546 | cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i)) | |
| 3547 | nt=nt+1 | |
| 3548 | if nt>=6 then | |
| 3549 | local pls={}
| |
| 3550 | for _,v in pairs(game.Players:GetChildren()) do | |
| 3551 | table.insert(pls,v) | |
| 3552 | end | |
| 3553 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
| 3554 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
| 3555 | pffx.Mesh.MeshId="rbxassetid://0" | |
| 3556 | pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z) | |
| 3557 | debris:AddItem(pffx,2) | |
| 3558 | table.insert(pfxt,pffx) | |
| 3559 | nt=0 | |
| 3560 | end | |
| 3561 | wait() | |
| 3562 | end | |
| 3563 | local int=0 | |
| 3564 | coroutine.wrap(function() | |
| 3565 | for i=1,500 do | |
| 3566 | rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
| 3567 | rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5)) | |
| 3568 | rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
| 3569 | rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5)) | |
| 3570 | rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5)) | |
| 3571 | rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5)) | |
| 3572 | nt=nt+1 | |
| 3573 | int=int+1 | |
| 3574 | local htd={p}
| |
| 3575 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3576 | pcall(function() | |
| 3577 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3578 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
| |
| 3579 | v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2
| |
| 3580 | v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0)
| |
| 3581 | table.insert(htd,v) | |
| 3582 | end | |
| 3583 | end | |
| 3584 | end) | |
| 3585 | end | |
| 3586 | htd={p}
| |
| 3587 | if int>=6 then | |
| 3588 | for _,v in pairs(game:service"Players":GetChildren()) do | |
| 3589 | pcall(function() | |
| 3590 | for _,c in pairs(v.Character:GetChildren()) do | |
| 3591 | if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
| |
| 3592 | table.insert(htd,v) | |
| 3593 | local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White") | |
| 3594 | hfx.Mesh.Scale=Vector3.new(2,2,2) | |
| 3595 | hfx.Mesh.MeshType=3 | |
| 3596 | debris:AddItem(hfx,2) | |
| 3597 | coroutine.wrap(function() | |
| 3598 | pcall(function() | |
| 3599 | for i=0,1,0.05 do | |
| 3600 | pcall(function() | |
| 3601 | local hs=hfx.Mesh.Scale | |
| 3602 | hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i) | |
| 3603 | hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i)) | |
| 3604 | end) | |
| 3605 | wait() | |
| 3606 | end | |
| 3607 | hfx:Destroy() | |
| 3608 | end) | |
| 3609 | end)() | |
| 3610 | end | |
| 3611 | end | |
| 3612 | end) | |
| 3613 | end | |
| 3614 | int=0 | |
| 3615 | end | |
| 3616 | if nt>=4 then | |
| 3617 | local pls={}
| |
| 3618 | for _,v in pairs(game.Players:GetChildren()) do | |
| 3619 | table.insert(pls,v) | |
| 3620 | end | |
| 3621 | local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls) | |
| 3622 | local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White") | |
| 3623 | pffx.Transparency=0.4 | |
| 3624 | pffx.Mesh.MeshId="rbxassetid://0" | |
| 3625 | pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10) | |
| 3626 | debris:AddItem(pffx,2) | |
| 3627 | table.insert(pfxt,pffx) | |
| 3628 | nt=0 | |
| 3629 | end | |
| 3630 | wait() | |
| 3631 | end | |
| 3632 | cnOrb:Destroy() | |
| 3633 | cnfx:Destroy() | |
| 3634 | for _,v in pairs(mod3:GetChildren()) do | |
| 3635 | v:Destroy() | |
| 3636 | end | |
| 3637 | orbt={}
| |
| 3638 | stlt={}
| |
| 3639 | chot={}
| |
| 3640 | cfxt={}
| |
| 3641 | pfxt={}
| |
| 3642 | end)() | |
| 3643 | if Debounces.CanAttack == false then | |
| 3644 | Debounces.CanAttack = true | |
| 3645 | Debounces.NoIdl = false | |
| 3646 | Debounces.on = false | |
| 3647 | end | |
| 3648 | end | |
| 3649 | end | |
| 3650 | end) | |
| 3651 | ---------------------------------------------------- | |
| 3652 | --[[mouse.KeyDown:connect(function(key) | |
| 3653 | if key == "y" then | |
| 3654 | if Debounces.CanAttack == true then | |
| 3655 | Debounces.CanAttack = false | |
| 3656 | Debounces.NoIdl = true | |
| 3657 | Debounces.on = true | |
| 3658 | local shell = Instance.new("Part",torso)
| |
| 3659 | shell.BrickColor = TorsoColor | |
| 3660 | shell.Anchored = false | |
| 3661 | shell.CanCollide = false | |
| 3662 | shell.Locked = true | |
| 3663 | shell.TopSurface = "SmoothNoOutlines" | |
| 3664 | shell.BottomSurface = "SmoothNoOutlines" | |
| 3665 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 3666 | shell.FormFactor = 3 | |
| 3667 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 3668 | shellm.MeshType = "Sphere" | |
| 3669 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 3670 | Omega = function() | |
| 3671 | local X = Instance.new("Part",char)
| |
| 3672 | local O = Instance.new("ObjectValue",X)
| |
| 3673 | O.Name = "creator" | |
| 3674 | X.Locked = true | |
| 3675 | X.Name = "Shell" | |
| 3676 | X.Anchored = false | |
| 3677 | X.CanCollide = false | |
| 3678 | X.Transparency = 0.5 | |
| 3679 | X.Reflectance = 0 | |
| 3680 | X.BottomSurface = 0 | |
| 3681 | X.TopSurface = 0 | |
| 3682 | X.Shape = 0 | |
| 3683 | local V = Instance.new("ObjectValue",X)
| |
| 3684 | V.Value = char | |
| 3685 | V.Name = "creator" | |
| 3686 | X.BrickColor = TorsoColor | |
| 3687 | X.Size = Vector3.new(40,40,40) | |
| 3688 | --X.Material = "Neon" | |
| 3689 | local Z = Instance.new("SpecialMesh",X)
| |
| 3690 | Z.MeshType = "Sphere" | |
| 3691 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 3692 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3693 | local bv = Instance.new("BodyVelocity",X)
| |
| 3694 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3695 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3696 | bv.velocity = root.CFrame.lookVector*10 | |
| 3697 | Explode = X.Touched:connect(function(hit) | |
| 3698 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3699 | local cf = X.CFrame | |
| 3700 | bv:Destroy() | |
| 3701 | X.Anchored = true | |
| 3702 | Z:Remove() | |
| 3703 | Explode:disconnect() | |
| 3704 | X.Size = Vector3.new(3,3,3) | |
| 3705 | X.Touched:connect(function(hit) end) | |
| 3706 | X.CanCollide = false | |
| 3707 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 3708 | if v:FindFirstChild('Humanoid') then
| |
| 3709 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 3710 | end | |
| 3711 | end | |
| 3712 | for i = 1, (40) do rs:wait() | |
| 3713 | X.Transparency = X.Transparency + (1/40) | |
| 3714 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3715 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 3716 | end | |
| 3717 | X:Destroy() | |
| 3718 | end | |
| 3719 | end) | |
| 3720 | end | |
| 3721 | for i = 1,200 do | |
| 3722 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3723 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
| 3724 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 3725 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3727 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3728 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3729 | if Debounces.on == false then break end | |
| 3730 | rs:wait() | |
| 3731 | end | |
| 3732 | for i = 1,30 do | |
| 3733 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 3734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
| 3735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
| 3736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3740 | if Debounces.on == false then break end | |
| 3741 | rs:wait() | |
| 3742 | end | |
| 3743 | for i = 1,40 do | |
| 3744 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 3745 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3746 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
| 3747 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
| 3748 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3749 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3750 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3751 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3752 | if Debounces.on == false then break end | |
| 3753 | rs:wait() | |
| 3754 | end | |
| 3755 | for i = 1,40 do | |
| 3756 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 3757 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
| 3758 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
| 3759 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3760 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3761 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3762 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3763 | if Debounces.on == false then break end | |
| 3764 | rs:wait() | |
| 3765 | end | |
| 3766 | for i = 1,60 do | |
| 3767 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3768 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
| 3769 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
| 3770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3772 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3773 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3774 | if Debounces.on == false then break end | |
| 3775 | rs:wait() | |
| 3776 | end | |
| 3777 | for i = 1,60 do | |
| 3778 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3779 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3780 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
| 3781 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
| 3782 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3783 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3784 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3785 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3786 | if Debounces.on == false then break end | |
| 3787 | rs:wait() | |
| 3788 | end | |
| 3789 | if Debounces.CanAttack == false then | |
| 3790 | Debounces.CanAttack = true | |
| 3791 | Debounces.NoIdl = false | |
| 3792 | Debounces.on = false | |
| 3793 | end | |
| 3794 | end | |
| 3795 | end | |
| 3796 | end)]]-- | |
| 3797 | ---------------------------------------------------- | |
| 3798 | Charging = false | |
| 3799 | mouse.KeyDown:connect(function(key) | |
| 3800 | if key == "r" then | |
| 3801 | if Charging == false then | |
| 3802 | Charging = true | |
| 3803 | if Debounces.CanAttack == true then | |
| 3804 | Debounces.CanAttack = false | |
| 3805 | Debounces.NoIdl = true | |
| 3806 | Debounces.on = true | |
| 3807 | for i = 1,20 do | |
| 3808 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 3809 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 3810 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3811 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3812 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3813 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 3814 | if Debounces.on == false then break end | |
| 3815 | rs:wait() | |
| 3816 | end | |
| 3817 | --[[for i = 1,20 do | |
| 3818 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 3819 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 3820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 3821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 3822 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 3823 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 3824 | if Debounces.on == false then break end | |
| 3825 | rs:wait() | |
| 3826 | end]]-- | |
| 3827 | xay = Instance.new("Sound",char)
| |
| 3828 | xay.SoundId = "rbxassetid://419447292" | |
| 3829 | xay.Pitch = 1 | |
| 3830 | xay.Volume = 2.5 | |
| 3831 | xay:Play() | |
| 3832 | pt=Instance.new('Part',torso)
| |
| 3833 | pt.Anchored=true | |
| 3834 | pt.CanCollide=false | |
| 3835 | pt.Locked = true | |
| 3836 | pt.FormFactor='Custom' | |
| 3837 | pt.Size=Vector3.new(1,1,1) | |
| 3838 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3839 | pt.Transparency=.6 | |
| 3840 | pt.BrickColor=BrickColor.new('Really black')
| |
| 3841 | msh=Instance.new('SpecialMesh',pt)
| |
| 3842 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3843 | msh.Scale=Vector3.new(8,4,8) | |
| 3844 | pt2=pt:clone() | |
| 3845 | pt2.Parent = torso | |
| 3846 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3847 | pt2.BrickColor=TorsoColor | |
| 3848 | msh2=msh:clone() | |
| 3849 | msh2.Parent=pt2 | |
| 3850 | msh2.Scale=Vector3.new(10,5,10) | |
| 3851 | ||
| 3852 | custommath={0,0,0,0}
| |
| 3853 | ||
| 3854 | bl = Instance.new("Part", char)
| |
| 3855 | bl.Locked = true | |
| 3856 | bl.Name = "Shell" | |
| 3857 | bl.BrickColor = BrickColor.new("Really black")
| |
| 3858 | bl.Anchored = true | |
| 3859 | bl.CanCollide = false | |
| 3860 | bl.Transparency = 0 | |
| 3861 | bl.Reflectance = 0 | |
| 3862 | bl.BottomSurface = 0 | |
| 3863 | bl.TopSurface = 0 | |
| 3864 | bl.Shape = 0 | |
| 3865 | blm = Instance.new("SpecialMesh",bl)
| |
| 3866 | blm.MeshType = "Sphere" | |
| 3867 | blm.Scale = Vector3.new(1,1,1) | |
| 3868 | blm.MeshId = "rbxassetid://9982590" | |
| 3869 | ||
| 3870 | bl2 = Instance.new("Part", char)
| |
| 3871 | bl2.Locked = true | |
| 3872 | bl2.Name = "Shella" | |
| 3873 | bl2.BrickColor = BrickColor.new("Really black")
| |
| 3874 | bl2.Anchored = true | |
| 3875 | bl2.CanCollide = false | |
| 3876 | bl2.Transparency = 0 | |
| 3877 | bl2.Reflectance = 0 | |
| 3878 | bl2.BottomSurface = 0 | |
| 3879 | bl2.TopSurface = 0 | |
| 3880 | bl2.Shape = 0 | |
| 3881 | blm2 = Instance.new("SpecialMesh",bl2)
| |
| 3882 | blm2.MeshType = "Sphere" | |
| 3883 | blm2.Scale = Vector3.new(1,1,1) | |
| 3884 | blm2.MeshId = "rbxassetid://9982590" | |
| 3885 | ||
| 3886 | coroutine.resume(coroutine.create(function() | |
| 3887 | for i=1, math.huge, 4 do | |
| 3888 | if Charging == true then | |
| 3889 | rs:wait() | |
| 3890 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3891 | blm.Scale = blm.Scale + Vector3.new(15, 15, 15) | |
| 3892 | bl.Transparency = bl.Transparency + 0.075 | |
| 3893 | bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3894 | blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5) | |
| 3895 | bl2.Transparency = bl2.Transparency + 0.025 | |
| 3896 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 3897 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3898 | msh.Scale = msh.Scale + Vector3.new(5,2.5,5) | |
| 3899 | msh2.Scale = msh2.Scale + Vector3.new(10,5,10) | |
| 3900 | elseif Charging == false then break | |
| 3901 | end | |
| 3902 | end | |
| 3903 | end)) | |
| 3904 | ||
| 3905 | repeat | |
| 3906 | local p = Instance.new('Part',torso)
| |
| 3907 | p.formFactor = 'Custom' | |
| 3908 | p.Size = Vector3.new(1,1,1) | |
| 3909 | p.BrickColor = BrickColor.new('Really black')
| |
| 3910 | p.CanCollide = false | |
| 3911 | p.Transparency = 0 | |
| 3912 | p.Anchored = true | |
| 3913 | p.Locked=true | |
| 3914 | p.Material = "Neon" | |
| 3915 | s = math.random(1,40)/10 | |
| 3916 | local m = Instance.new("SpecialMesh",p)
| |
| 3917 | m.MeshId="rbxassetid://30239976" | |
| 3918 | m.Scale = Vector3.new(s,s,s) | |
| 3919 | p.CFrame = torso.CFrame*CFrame.new(math.rad(-15,15),math.rad(-3),math.rad(-15,15)) | |
| 3920 | --[[coroutine.wrap(function() | |
| 3921 | wait(2) | |
| 3922 | while Charging == true do | |
| 3923 | wait(2) | |
| 3924 | GroundWave1() | |
| 3925 | wait(2) | |
| 3926 | end | |
| 3927 | end)()]]-- | |
| 3928 | Spawn(function() | |
| 3929 | while rs:wait() do | |
| 3930 | if Charging == true then | |
| 3931 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 3932 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 3933 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 3934 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 3935 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 3936 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 3937 | elseif Charging == false then break | |
| 3938 | end | |
| 3939 | end | |
| 3940 | end) | |
| 3941 | Spawn(function() | |
| 3942 | while rs:wait() do | |
| 3943 | if p.Transparency >= 1 then p:Destroy() break end | |
| 3944 | m.Scale = m.Scale + Vector3.new(1,-1,1) | |
| 3945 | p.CFrame = p.CFrame | |
| 3946 | p.Transparency = p.Transparency+0.01 | |
| 3947 | end | |
| 3948 | end) | |
| 3949 | wait(.3) | |
| 3950 | until Charging == false | |
| 3951 | end | |
| 3952 | end | |
| 3953 | end | |
| 3954 | end) | |
| 3955 | ---------------------------------------------------- | |
| 3956 | mouse.KeyUp:connect(function(key) | |
| 3957 | if key == "r" then | |
| 3958 | if Charging == true then | |
| 3959 | Charging = false | |
| 3960 | pt:Destroy() | |
| 3961 | pt2:Destroy() | |
| 3962 | bl:Destroy() | |
| 3963 | if Debounces.CanAttack == false then | |
| 3964 | Debounces.CanAttack = true | |
| 3965 | Debounces.NoIdl = false | |
| 3966 | Debounces.on = false | |
| 3967 | end | |
| 3968 | end | |
| 3969 | end | |
| 3970 | end) | |
| 3971 | ---------------------------------------------------- | |
| 3972 | mouse.KeyDown:connect(function(key) | |
| 3973 | if key == "g" then | |
| 3974 | if Debounces.CanAttack == true then | |
| 3975 | Debounces.CanAttack = false | |
| 3976 | Debounces.NoIdl = true | |
| 3977 | Debounces.on = true | |
| 3978 | local shell = Instance.new("Part",torso)
| |
| 3979 | shell.BrickColor = TorsoColor | |
| 3980 | shell.Anchored = true | |
| 3981 | shell.CanCollide = false | |
| 3982 | shell.Locked = true | |
| 3983 | shell.TopSurface = "SmoothNoOutlines" | |
| 3984 | shell.BottomSurface = "SmoothNoOutlines" | |
| 3985 | shell.Size = Vector3.new(1,1,1) | |
| 3986 | shellm = Instance.new("SpecialMesh",shell)
| |
| 3987 | shellm.MeshType = "Sphere" | |
| 3988 | shellm.Scale = Vector3.new(1,1,1) | |
| 3989 | local shell2 = Instance.new("Part",torso)
| |
| 3990 | shell2.BrickColor = TorsoColor | |
| 3991 | shell2.Anchored = true | |
| 3992 | shell2.CanCollide = false | |
| 3993 | shell2.Locked = true | |
| 3994 | shell2.TopSurface = "SmoothNoOutlines" | |
| 3995 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 3996 | shell2.Size = Vector3.new(1,1,1) | |
| 3997 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 3998 | shellm2.MeshType = "Sphere" | |
| 3999 | shellm2.Scale = Vector3.new(1,1,1) | |
| 4000 | ||
| 4001 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 4002 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 4003 | local List = {}
| |
| 4004 | for i,v in pairs(workspace:GetChildren())do | |
| 4005 | if v:IsA("Model")then
| |
| 4006 | if v:findFirstChild("Torso")then
| |
| 4007 | if v ~= char then | |
| 4008 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 4009 | table.insert(List,v) | |
| 4010 | end | |
| 4011 | end | |
| 4012 | end | |
| 4013 | end | |
| 4014 | end | |
| 4015 | return List | |
| 4016 | end | |
| 4017 | ||
| 4018 | Shell = function() | |
| 4019 | local X = Instance.new("Part",char)
| |
| 4020 | local O = Instance.new("ObjectValue",X)
| |
| 4021 | O.Name = "creator" | |
| 4022 | X.Locked = true | |
| 4023 | X.Name = "Shell" | |
| 4024 | X.Anchored = false | |
| 4025 | X.CanCollide = false | |
| 4026 | X.Transparency = 0 | |
| 4027 | X.Reflectance = 0 | |
| 4028 | X.BottomSurface = 0 | |
| 4029 | X.TopSurface = 0 | |
| 4030 | X.Shape = 0 | |
| 4031 | local V = Instance.new("ObjectValue",X)
| |
| 4032 | V.Value = char | |
| 4033 | V.Name = "creator" | |
| 4034 | X.BrickColor = TorsoColor | |
| 4035 | X.Size = Vector3.new(1,1,1) | |
| 4036 | --X.Material = "Neon" | |
| 4037 | local Z = Instance.new("SpecialMesh",X)
| |
| 4038 | Z.MeshType = "Sphere" | |
| 4039 | Z.Scale = Vector3.new(1,1,1) | |
| 4040 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 4041 | local bv = Instance.new("BodyVelocity",X)
| |
| 4042 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 4043 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 4044 | bv.velocity = root.CFrame.lookVector*65 | |
| 4045 | Explode = X.Touched:connect(function(hit) | |
| 4046 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 4047 | local cf = X.CFrame | |
| 4048 | bv:Destroy() | |
| 4049 | X.Anchored = true | |
| 4050 | Z:Remove() | |
| 4051 | Explode:disconnect() | |
| 4052 | X.Size = Vector3.new(3,3,3) | |
| 4053 | X.Touched:connect(function(hit) end) | |
| 4054 | X.CanCollide = false | |
| 4055 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 4056 | if v:FindFirstChild('Humanoid') then
| |
| 4057 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 4058 | end | |
| 4059 | end | |
| 4060 | for i = 1, (40) do rs:wait() | |
| 4061 | X.Transparency = X.Transparency + (1/40) | |
| 4062 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 4063 | X.CFrame = cf | |
| 4064 | end | |
| 4065 | X:Destroy() | |
| 4066 | end | |
| 4067 | end) | |
| 4068 | end | |
| 4069 | Shell() | |
| 4070 | for i = 1, 10 do | |
| 4071 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4072 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4073 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4074 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4075 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 4076 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 4077 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
| 4078 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
| 4079 | if Debounces.on == false then break end | |
| 4080 | rs:wait() | |
| 4081 | end | |
| 4082 | Shell() | |
| 4083 | shell.Transparency = 1 | |
| 4084 | for i = 1, 10 do | |
| 4085 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4086 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4087 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4088 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4089 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4090 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4091 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4092 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4093 | if Debounces.on == false then break end | |
| 4094 | rs:wait() | |
| 4095 | end | |
| 4096 | Shell() | |
| 4097 | shell.Transparency = 0 | |
| 4098 | shell2.Transparency = 1 | |
| 4099 | for i = 1, 10 do | |
| 4100 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4101 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4102 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4103 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4104 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4105 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4106 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4107 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4108 | if Debounces.on == false then break end | |
| 4109 | rs:wait() | |
| 4110 | end | |
| 4111 | Shell() | |
| 4112 | shell2.Transparency = 0 | |
| 4113 | shell.Transparency = 1 | |
| 4114 | for i = 1, 10 do | |
| 4115 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4116 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4117 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4118 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4119 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4121 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4122 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4123 | if Debounces.on == false then break end | |
| 4124 | rs:wait() | |
| 4125 | end | |
| 4126 | Shell() | |
| 4127 | shell.Transparency = 0 | |
| 4128 | shell2.Transparency = 1 | |
| 4129 | for i = 1, 10 do | |
| 4130 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4131 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4132 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4133 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4134 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4135 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4136 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4137 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4138 | if Debounces.on == false then break end | |
| 4139 | rs:wait() | |
| 4140 | end | |
| 4141 | Shell() | |
| 4142 | shell2.Transparency = 0 | |
| 4143 | shell.Transparency = 1 | |
| 4144 | for i = 1, 10 do | |
| 4145 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4146 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4147 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4148 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4149 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4150 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4151 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4152 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4153 | if Debounces.on == false then break end | |
| 4154 | rs:wait() | |
| 4155 | end | |
| 4156 | Shell() | |
| 4157 | shell.Transparency = 0 | |
| 4158 | shell2.Transparency = 1 | |
| 4159 | for i = 1, 10 do | |
| 4160 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4161 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4162 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4163 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 4164 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4165 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4166 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4167 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4168 | if Debounces.on == false then break end | |
| 4169 | rs:wait() | |
| 4170 | end | |
| 4171 | Shell() | |
| 4172 | shell2.Transparency = 0 | |
| 4173 | shell.Transparency = 1 | |
| 4174 | for i = 1, 10 do | |
| 4175 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4176 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4177 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4178 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4179 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4180 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4181 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4182 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4183 | if Debounces.on == false then break end | |
| 4184 | rs:wait() | |
| 4185 | end | |
| 4186 | Shell() | |
| 4187 | shell.Transparency = 0 | |
| 4188 | shell2.Transparency = 1 | |
| 4189 | for i = 1, 10 do | |
| 4190 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4191 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4192 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4193 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4194 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4195 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4196 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4197 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4198 | if Debounces.on == false then break end | |
| 4199 | rs:wait() | |
| 4200 | end | |
| 4201 | Shell() | |
| 4202 | shell2.Transparency = 0 | |
| 4203 | shell.Transparency = 1 | |
| 4204 | for i = 1, 10 do | |
| 4205 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4206 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4207 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4208 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4209 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4210 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4211 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4212 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4213 | if Debounces.on == false then break end | |
| 4214 | rs:wait() | |
| 4215 | end | |
| 4216 | Shell() | |
| 4217 | shell.Transparency = 0 | |
| 4218 | shell2.Transparency = 1 | |
| 4219 | for i = 1, 10 do | |
| 4220 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4221 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4222 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4223 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4224 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4225 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4226 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4227 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4228 | if Debounces.on == false then break end | |
| 4229 | rs:wait() | |
| 4230 | end | |
| 4231 | Shell() | |
| 4232 | shell2.Transparency = 0 | |
| 4233 | shell.Transparency = 1 | |
| 4234 | for i = 1, 10 do | |
| 4235 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4236 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4237 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 4238 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 4239 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 4240 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 4241 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 4242 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 4243 | if Debounces.on == false then break end | |
| 4244 | rs:wait() | |
| 4245 | end | |
| 4246 | Shell() | |
| 4247 | shell.Transparency = 0 | |
| 4248 | shell2.Transparency = 1 | |
| 4249 | for i = 1, 10 do | |
| 4250 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 4251 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 4252 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 4253 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 4254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 4255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 4256 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 4257 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 4258 | if Debounces.on == false then break end | |
| 4259 | rs:wait() | |
| 4260 | end | |
| 4261 | shell.Transparency = 1 | |
| 4262 | if Debounces.CanAttack == false then | |
| 4263 | Debounces.CanAttack = true | |
| 4264 | Debounces.NoIdl = false | |
| 4265 | Debounces.on = false | |
| 4266 | end | |
| 4267 | end | |
| 4268 | end | |
| 4269 | end) | |
| 4270 | ---------------------------------------------------- | |
| 4271 | Search = false | |
| 4272 | mouse.KeyDown:connect(function(key) | |
| 4273 | if key == "n" then | |
| 4274 | if Search == false then | |
| 4275 | Search = true | |
| 4276 | for i,v in pairs(game.Players:getPlayers()) do | |
| 4277 | if v.Name~=char.Name then | |
| 4278 | for j,k in pairs(v.Character:GetChildren()) do | |
| 4279 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 4280 | bawx=Instance.new("SelectionBox",cam)
| |
| 4281 | bawx.Color = BrickColor.new("Bright red")
| |
| 4282 | bawx.Transparency = .5 | |
| 4283 | bawx.Adornee = k | |
| 4284 | end | |
| 4285 | end | |
| 4286 | end | |
| 4287 | end | |
| 4288 | elseif Search == true then | |
| 4289 | Search = false | |
| 4290 | for i, v in pairs(cam:GetChildren()) do | |
| 4291 | if v:IsA("SelectionBox") then
| |
| 4292 | v:Destroy() | |
| 4293 | end | |
| 4294 | end | |
| 4295 | end | |
| 4296 | end | |
| 4297 | end) | |
| 4298 | ---------------------------------------------------- | |
| 4299 | Grab = false | |
| 4300 | mouse.KeyDown:connect(function(key) | |
| 4301 | if key == "z" then | |
| 4302 | Debounces.on = true | |
| 4303 | Debounces.NoIdl = true | |
| 4304 | Debounces.ks = true | |
| 4305 | if Grab == false then | |
| 4306 | gp = nil | |
| 4307 | for i = 1, 20 do | |
| 4308 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
| 4309 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
| 4310 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 4311 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 4312 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 4313 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 4314 | if Debounces.on == false then break end | |
| 4315 | rs:wait() | |
| 4316 | end | |
| 4317 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 4318 | ht = hit.Parent | |
| 4319 | hum1=ht:FindFirstChild('Humanoid')
| |
| 4320 | if hum1 ~= nil then | |
| 4321 | if Debounces.ks==true then | |
| 4322 | z = Instance.new("Sound",hed)
| |
| 4323 | z.SoundId = "rbxassetid://169380525" | |
| 4324 | z.Volume = 1 | |
| 4325 | z:Play() | |
| 4326 | Debounces.ks=false | |
| 4327 | end | |
| 4328 | hum1.PlatformStand=true | |
| 4329 | gp = ht | |
| 4330 | Grab = true | |
| 4331 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 4332 | asd.Parent = larm | |
| 4333 | asd.Name = "asd" | |
| 4334 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 4335 | --[[elseif hum1 == nil then | |
| 4336 | con1:disconnect() | |
| 4337 | wait() return]]-- | |
| 4338 | end | |
| 4339 | end) | |
| 4340 | for i = 1, 20 do | |
| 4341 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
| 4342 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
| 4343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 4344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 4345 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 4346 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 4347 | if Debounces.on == false then break end | |
| 4348 | rs:wait() | |
| 4349 | end | |
| 4350 | if hum1 == nil then | |
| 4351 | Debounces.on = false | |
| 4352 | Debounces.NoIdl = false | |
| 4353 | end | |
| 4354 | con1:disconnect() | |
| 4355 | elseif Grab == true then | |
| 4356 | Grab = false | |
| 4357 | Punch() | |
| 4358 | z = Instance.new("Sound",hed)
| |
| 4359 | z.SoundId = "rbxassetid://169380525" | |
| 4360 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4361 | z.Volume = 1 | |
| 4362 | z:Play() | |
| 4363 | for i = 1, 10 do | |
| 4364 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4365 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4366 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4367 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4368 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4369 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4370 | if Debounces.on == false then break end | |
| 4371 | rs:wait() | |
| 4372 | end | |
| 4373 | Punch() | |
| 4374 | z = Instance.new("Sound",hed)
| |
| 4375 | z.SoundId = "rbxassetid://169380525" | |
| 4376 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4377 | z.Volume = 1 | |
| 4378 | z:Play() | |
| 4379 | for i = 1, 10 do | |
| 4380 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4381 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4382 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4383 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4384 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4385 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4386 | if Debounces.on == false then break end | |
| 4387 | rs:wait() | |
| 4388 | end | |
| 4389 | Punch() | |
| 4390 | z = Instance.new("Sound",hed)
| |
| 4391 | z.SoundId = "rbxassetid://169380525" | |
| 4392 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4393 | z.Volume = 1 | |
| 4394 | z:Play() | |
| 4395 | for i = 1, 10 do | |
| 4396 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4397 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4398 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4399 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4400 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4401 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4402 | if Debounces.on == false then break end | |
| 4403 | rs:wait() | |
| 4404 | end | |
| 4405 | Punch() | |
| 4406 | z = Instance.new("Sound",hed)
| |
| 4407 | z.SoundId = "rbxassetid://169380525" | |
| 4408 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4409 | z.Volume = 1 | |
| 4410 | z:Play() | |
| 4411 | for i = 1, 10 do | |
| 4412 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4413 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4414 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4415 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4416 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4417 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4418 | if Debounces.on == false then break end | |
| 4419 | rs:wait() | |
| 4420 | end | |
| 4421 | Punch() | |
| 4422 | z = Instance.new("Sound",hed)
| |
| 4423 | z.SoundId = "rbxassetid://169380525" | |
| 4424 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4425 | z.Volume = 1 | |
| 4426 | z:Play() | |
| 4427 | for i = 1, 10 do | |
| 4428 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4429 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4430 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4431 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4432 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4433 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4434 | if Debounces.on == false then break end | |
| 4435 | rs:wait() | |
| 4436 | end | |
| 4437 | Punch() | |
| 4438 | z = Instance.new("Sound",hed)
| |
| 4439 | z.SoundId = "rbxassetid://169380525" | |
| 4440 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4441 | z.Volume = 1 | |
| 4442 | z:Play() | |
| 4443 | for i = 1, 10 do | |
| 4444 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4445 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4446 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4447 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4448 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4449 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4450 | if Debounces.on == false then break end | |
| 4451 | rs:wait() | |
| 4452 | end | |
| 4453 | Punch() | |
| 4454 | z = Instance.new("Sound",hed)
| |
| 4455 | z.SoundId = "rbxassetid://169380525" | |
| 4456 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4457 | z.Volume = 1 | |
| 4458 | z:Play() | |
| 4459 | for i = 1, 10 do | |
| 4460 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4461 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4462 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4463 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4464 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4465 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4466 | if Debounces.on == false then break end | |
| 4467 | rs:wait() | |
| 4468 | end | |
| 4469 | Punch() | |
| 4470 | z = Instance.new("Sound",hed)
| |
| 4471 | z.SoundId = "rbxassetid://169380525" | |
| 4472 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4473 | z.Volume = 1 | |
| 4474 | z:Play() | |
| 4475 | for i = 1, 10 do | |
| 4476 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4477 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4478 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4479 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4480 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4481 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4482 | if Debounces.on == false then break end | |
| 4483 | rs:wait() | |
| 4484 | end | |
| 4485 | Punch() | |
| 4486 | z = Instance.new("Sound",hed)
| |
| 4487 | z.SoundId = "rbxassetid://169380525" | |
| 4488 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4489 | z.Volume = 1 | |
| 4490 | z:Play() | |
| 4491 | for i = 1, 10 do | |
| 4492 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4493 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4494 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4495 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4496 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4497 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4498 | if Debounces.on == false then break end | |
| 4499 | rs:wait() | |
| 4500 | end | |
| 4501 | Punch() | |
| 4502 | z = Instance.new("Sound",hed)
| |
| 4503 | z.SoundId = "rbxassetid://169380525" | |
| 4504 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4505 | z.Volume = 1 | |
| 4506 | z:Play() | |
| 4507 | for i = 1, 10 do | |
| 4508 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4509 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4510 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4511 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4512 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4513 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4514 | if Debounces.on == false then break end | |
| 4515 | rs:wait() | |
| 4516 | end | |
| 4517 | Punch() | |
| 4518 | z = Instance.new("Sound",hed)
| |
| 4519 | z.SoundId = "rbxassetid://169380525" | |
| 4520 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4521 | z.Volume = 1 | |
| 4522 | z:Play() | |
| 4523 | for i = 1, 10 do | |
| 4524 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 4525 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 4526 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 4527 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 4528 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4529 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4530 | if Debounces.on == false then break end | |
| 4531 | rs:wait() | |
| 4532 | end | |
| 4533 | Punch() | |
| 4534 | z = Instance.new("Sound",hed)
| |
| 4535 | z.SoundId = "rbxassetid://169380525" | |
| 4536 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 4537 | z.Volume = 1 | |
| 4538 | z:Play() | |
| 4539 | for i = 1, 10 do | |
| 4540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 4541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 4542 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 4543 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 4544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 4545 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 4546 | if Debounces.on == false then break end | |
| 4547 | rs:wait() | |
| 4548 | end | |
| 4549 | con1:disconnect() | |
| 4550 | Debounces.on = false | |
| 4551 | Debounces.NoIdl = false | |
| 4552 | if gp ~= nil then | |
| 4553 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 4554 | for i,v in pairs(larm:GetChildren()) do | |
| 4555 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 4556 | v:Remove() | |
| 4557 | end | |
| 4558 | end | |
| 4559 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 4560 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 4561 | bv.P = 125000 | |
| 4562 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 4563 | hum1=nil | |
| 4564 | ht=nil | |
| 4565 | Debounces.on = false | |
| 4566 | Debounces.NoIdl = false | |
| 4567 | elseif ht == nil then wait() | |
| 4568 | Grab = false | |
| 4569 | Debounces.on = false | |
| 4570 | Debounces.NoIdl = false | |
| 4571 | end | |
| 4572 | end | |
| 4573 | end | |
| 4574 | end) | |
| 4575 | ---------------------------------------------------- | |
| 4576 | pr = Instance.new("Part",hed)
| |
| 4577 | pr.BrickColor = BrickColor.new("Dark grey")
| |
| 4578 | pr.Material = "Metal" | |
| 4579 | pr.Reflectance = 0.04 | |
| 4580 | pr.Transparency=1 | |
| 4581 | pr.Anchored = false | |
| 4582 | pr.CanCollide = false | |
| 4583 | pr.Archivable = false | |
| 4584 | pr.Locked = true | |
| 4585 | pr.Size = Vector3.new(2,0.8,1) | |
| 4586 | prm = Instance.new("SpecialMesh",pr)
| |
| 4587 | prm.MeshType = "FileMesh" | |
| 4588 | prm.MeshId = "rbxassetid://16952952" | |
| 4589 | prm.Scale = Vector3.new(1,1,1) | |
| 4590 | newWeld(hed, pr, 0, 0.35, 0) | |
| 4591 | pr.Weld.C1 = CFrame.new(0,0,0) | |
| 4592 | --Torso | |
| 4593 | m3 = Instance.new("Model")
| |
| 4594 | m3.Name = "Torso" | |
| 4595 | p1 = Instance.new("Part", m3)
| |
| 4596 | p1.BrickColor = BrickColor.new("Re")
| |
| 4597 | p1.Material = Enum.Material.Metal | |
| 4598 | p1.Name = "TorsoPlate" | |
| 4599 | p1.CFrame = CFrame.new(0, 3.10002589, 0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 4600 | p1.CanCollide = false | |
| 4601 | p1.Locked = true | |
| 4602 | p1.FormFactor = Enum.FormFactor.Custom | |
| 4603 | p1.Size = Vector3.new(0, 0, 0) | |
| 4604 | p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4605 | p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4606 | p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4607 | p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4608 | p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4609 | p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4610 | b1 = Instance.new("SpecialMesh", p1)
| |
| 4611 | b1.MeshType = Enum.MeshType.Brick | |
| 4612 | b1.Name = "Mesh" | |
| 4613 | b1.Scale = Vector3.new(1, 1.01999998, 1.01999998) | |
| 4614 | p2 = Instance.new("Part", m3)
| |
| 4615 | p2.BrickColor = BrickColor.new("Really black")
| |
| 4616 | p2.Material = Enum.Material.Metal | |
| 4617 | p2.CFrame = CFrame.new(-0.450000942, 4.05002356, -0.100002818, -0.685070276, 0.686094284, 0.244853854, 0.616745472, 0.367372453, 0.696177125, 0.387690574, 0.627942622, -0.674821496) | |
| 4618 | p2.CanCollide = false | |
| 4619 | p2.Locked = true | |
| 4620 | p2.FormFactor = Enum.FormFactor.Custom | |
| 4621 | p2.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4622 | b2 = Instance.new("SpecialMesh", p2)
| |
| 4623 | b2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4624 | b2.TextureId = "" | |
| 4625 | b2.MeshType = Enum.MeshType.FileMesh | |
| 4626 | b2.Name = "Mesh" | |
| 4627 | b2.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4628 | p10 = Instance.new("Part", m3)
| |
| 4629 | p10.BrickColor = BrickColor.new("Black")
| |
| 4630 | p10.Material = Enum.Material.Metal | |
| 4631 | p10.CFrame = CFrame.new(0, 2.05002642, 0.539999843, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008) | |
| 4632 | p10.CanCollide = false | |
| 4633 | p10.Locked = true | |
| 4634 | p10.FormFactor = Enum.FormFactor.Custom | |
| 4635 | p10.Size = Vector3.new(2, 1.0200001, 0.239999995) | |
| 4636 | p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4637 | p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4638 | p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4639 | p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4640 | p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4641 | p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 4642 | b10 = Instance.new("SpecialMesh", p10)
| |
| 4643 | b10.MeshType = Enum.MeshType.Brick | |
| 4644 | b10.Name = "Mesh" | |
| 4645 | b10.Scale = Vector3.new(1, 1.01999998, 1.01999998) | |
| 4646 | p11 = Instance.new("Part", m3)
| |
| 4647 | p11.BrickColor = BrickColor.new("Really black")
| |
| 4648 | p11.Material = Enum.Material.Metal | |
| 4649 | p11.CFrame = CFrame.new(0.499999523, 4.05002451, -0.0499982014, 1.00000024, -8.94069672e-008, -1.78813934e-007, -2.98023224e-008, 0.906307817, -0.422618449, -2.23517418e-007, 0.42261821, 0.906307697) | |
| 4650 | p11.CanCollide = false | |
| 4651 | p11.Locked = true | |
| 4652 | p11.FormFactor = Enum.FormFactor.Custom | |
| 4653 | p11.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4654 | b11 = Instance.new("SpecialMesh", p11)
| |
| 4655 | b11.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4656 | b11.TextureId = "" | |
| 4657 | b11.MeshType = Enum.MeshType.FileMesh | |
| 4658 | b11.Name = "Mesh" | |
| 4659 | b11.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4660 | p12 = Instance.new("Part", m3)
| |
| 4661 | p12.BrickColor = BrickColor.new("Really black")
| |
| 4662 | p12.Material = Enum.Material.Metal | |
| 4663 | p12.Transparency = 1 | |
| 4664 | p12.Name = "Chain2Torso" | |
| 4665 | p12.CFrame = CFrame.new(0.0500000007, 3.35002589, 0.0200020671, -4.37113883e-008, -1, 0, -4.37113883e-008, 1.91068547e-015, -1, 1, -4.37113883e-008, -4.37113883e-008) | |
| 4666 | p12.CanCollide = false | |
| 4667 | p12.Locked = true | |
| 4668 | p12.FormFactor = Enum.FormFactor.Custom | |
| 4669 | p12.Size = Vector3.new(0.699999988, 0.300000012, 0.300000012) | |
| 4670 | b12 = Instance.new("SpecialMesh", p12)
| |
| 4671 | b12.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4672 | b12.TextureId = "" | |
| 4673 | b12.MeshType = Enum.MeshType.FileMesh | |
| 4674 | b12.Name = "Mesh" | |
| 4675 | b12.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4676 | p13 = Instance.new("Part", m3)
| |
| 4677 | p13.BrickColor = BrickColor.new("Really black")
| |
| 4678 | p13.Material = Enum.Material.Metal | |
| 4679 | p13.CFrame = CFrame.new(-0.700000763, 4.25002289, 0.349998087, -0.606457233, -0.374239564, 0.70153743, -0.641863465, -0.290311694, -0.709739804, 0.469277143, -0.880717754, -0.0641489923) | |
| 4680 | p13.CanCollide = false | |
| 4681 | p13.Locked = true | |
| 4682 | p13.FormFactor = Enum.FormFactor.Custom | |
| 4683 | p13.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4684 | b13 = Instance.new("SpecialMesh", p13)
| |
| 4685 | b13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4686 | b13.TextureId = "" | |
| 4687 | b13.MeshType = Enum.MeshType.FileMesh | |
| 4688 | b13.Name = "Mesh" | |
| 4689 | b13.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4690 | p14 = Instance.new("Part", m3)
| |
| 4691 | p14.BrickColor = BrickColor.new("Really black")
| |
| 4692 | p14.Material = Enum.Material.Metal | |
| 4693 | p14.CFrame = CFrame.new(-0.0500002243, 3.50002766, -0.150001988, -0.331867754, 0.457445055, -0.824989557, 0.877285957, -0.171802372, -0.448166817, -0.346746802, -0.87248385, -0.344294399) | |
| 4694 | p14.CanCollide = false | |
| 4695 | p14.Locked = true | |
| 4696 | p14.FormFactor = Enum.FormFactor.Custom | |
| 4697 | p14.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4698 | b14 = Instance.new("SpecialMesh", p14)
| |
| 4699 | b14.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4700 | b14.TextureId = "" | |
| 4701 | b14.MeshType = Enum.MeshType.FileMesh | |
| 4702 | b14.Name = "Mesh" | |
| 4703 | b14.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4704 | p15 = Instance.new("Part", m3)
| |
| 4705 | p15.BrickColor = BrickColor.new("Really black")
| |
| 4706 | p15.Material = Enum.Material.Metal | |
| 4707 | p15.CFrame = CFrame.new(0.199999034, 3.55002332, -0.150001839, -0.0627828911, -0.802308202, -0.593599737, 0.678633273, -0.470427632, 0.564052343, -0.731789052, -0.367423117, 0.57400763) | |
| 4708 | p15.CanCollide = false | |
| 4709 | p15.Locked = true | |
| 4710 | p15.FormFactor = Enum.FormFactor.Custom | |
| 4711 | p15.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4712 | b15 = Instance.new("SpecialMesh", p15)
| |
| 4713 | b15.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4714 | b15.TextureId = "" | |
| 4715 | b15.MeshType = Enum.MeshType.FileMesh | |
| 4716 | b15.Name = "Mesh" | |
| 4717 | b15.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4718 | p16 = Instance.new("Part", m3)
| |
| 4719 | p16.BrickColor = BrickColor.new("Really black")
| |
| 4720 | p16.Material = Enum.Material.Metal | |
| 4721 | p16.CFrame = CFrame.new(0.349999189, 3.70002842, -0.150001973, 0.994292557, 0.0709807873, 0.0796526894, -0.0587368309, 0.987431884, -0.146726117, -0.0890666768, 0.141209915, 0.985964835) | |
| 4722 | p16.CanCollide = false | |
| 4723 | p16.Locked = true | |
| 4724 | p16.FormFactor = Enum.FormFactor.Custom | |
| 4725 | p16.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4726 | b16 = Instance.new("SpecialMesh", p16)
| |
| 4727 | b16.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4728 | b16.TextureId = "" | |
| 4729 | b16.MeshType = Enum.MeshType.FileMesh | |
| 4730 | b16.Name = "Mesh" | |
| 4731 | b16.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4732 | p17 = Instance.new("Part", m3)
| |
| 4733 | p17.BrickColor = BrickColor.new("Really black")
| |
| 4734 | p17.Material = Enum.Material.Metal | |
| 4735 | p17.CFrame = CFrame.new(-0.200000346, 3.70002747, -0.150002211, 0.964791715, 0.0184034109, -0.262370646, -0.0587368906, 0.987431884, -0.146726027, 0.256372869, 0.156970888, 0.953746974) | |
| 4736 | p17.CanCollide = false | |
| 4737 | p17.Locked = true | |
| 4738 | p17.FormFactor = Enum.FormFactor.Custom | |
| 4739 | p17.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4740 | b17 = Instance.new("SpecialMesh", p17)
| |
| 4741 | b17.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4742 | b17.TextureId = "" | |
| 4743 | b17.MeshType = Enum.MeshType.FileMesh | |
| 4744 | b17.Name = "Mesh" | |
| 4745 | b17.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4746 | p18 = Instance.new("Part", m3)
| |
| 4747 | p18.BrickColor = BrickColor.new("Really black")
| |
| 4748 | p18.Material = Enum.Material.Metal | |
| 4749 | p18.CFrame = CFrame.new(-0.35000062, 3.85002661, -0.150002271, 0.407530367, -0.427938014, 0.806714416, 0.0989350602, 0.898891687, 0.426855773, -0.907816589, -0.0941444039, 0.40866372) | |
| 4750 | p18.CanCollide = false | |
| 4751 | p18.Locked = true | |
| 4752 | p18.FormFactor = Enum.FormFactor.Custom | |
| 4753 | p18.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4754 | b18 = Instance.new("SpecialMesh", p18)
| |
| 4755 | b18.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4756 | b18.TextureId = "" | |
| 4757 | b18.MeshType = Enum.MeshType.FileMesh | |
| 4758 | b18.Name = "Mesh" | |
| 4759 | b18.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4760 | p19 = Instance.new("Part", m3)
| |
| 4761 | p19.BrickColor = BrickColor.new("Really black")
| |
| 4762 | p19.Material = Enum.Material.Metal | |
| 4763 | p19.CFrame = CFrame.new(0.599999547, 4.25002337, 1.49011612e-008, 0.450589776, 0.596651912, -0.664060116, 0.322663993, 0.584720135, 0.744305372, 0.832379937, -0.549644768, 0.0709509254) | |
| 4764 | p19.CanCollide = false | |
| 4765 | p19.Locked = true | |
| 4766 | p19.FormFactor = Enum.FormFactor.Custom | |
| 4767 | p19.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4768 | b19 = Instance.new("SpecialMesh", p19)
| |
| 4769 | b19.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4770 | b19.TextureId = "" | |
| 4771 | b19.MeshType = Enum.MeshType.FileMesh | |
| 4772 | b19.Name = "Mesh" | |
| 4773 | b19.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4774 | p20 = Instance.new("Part", m3)
| |
| 4775 | p20.BrickColor = BrickColor.new("Really black")
| |
| 4776 | p20.Material = Enum.Material.Metal | |
| 4777 | p20.CFrame = CFrame.new(0.449999154, 3.90002728, -0.150000244, 0.148452312, 0.508259773, -0.848312676, -0.212012291, 0.85422945, 0.474703223, 0.965925753, 0.109381542, 0.234569833) | |
| 4778 | p20.CanCollide = false | |
| 4779 | p20.Locked = true | |
| 4780 | p20.FormFactor = Enum.FormFactor.Custom | |
| 4781 | p20.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4782 | b20 = Instance.new("SpecialMesh", p20)
| |
| 4783 | b20.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4784 | b20.TextureId = "" | |
| 4785 | b20.MeshType = Enum.MeshType.FileMesh | |
| 4786 | b20.Name = "Mesh" | |
| 4787 | b20.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4788 | p21 = Instance.new("Part", m3)
| |
| 4789 | p21.BrickColor = BrickColor.new("Really black")
| |
| 4790 | p21.Material = Enum.Material.Metal | |
| 4791 | p21.CFrame = CFrame.new(0.699999869, 4.25002337, 0.200001985, -0.0996009707, 0.981125295, 0.165750414, -0.142243966, -0.178907469, 0.973529041, 0.98480773, 0.0733870864, 0.157378286) | |
| 4792 | p21.CanCollide = false | |
| 4793 | p21.Locked = true | |
| 4794 | p21.FormFactor = Enum.FormFactor.Custom | |
| 4795 | p21.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4796 | b21 = Instance.new("SpecialMesh", p21)
| |
| 4797 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4798 | b21.TextureId = "" | |
| 4799 | b21.MeshType = Enum.MeshType.FileMesh | |
| 4800 | b21.Name = "Mesh" | |
| 4801 | b21.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4802 | p22 = Instance.new("Part", m3)
| |
| 4803 | p22.BrickColor = BrickColor.new("Really black")
| |
| 4804 | p22.Material = Enum.Material.Metal | |
| 4805 | p22.CFrame = CFrame.new(0.69999975, 4.25002289, 0.450001955, -0.167731196, 0.167446673, 0.971508265, 0.0449438766, -0.983146012, 0.17721194, 0.984807789, 0.0733873621, 0.157378122) | |
| 4806 | p22.CanCollide = false | |
| 4807 | p22.Locked = true | |
| 4808 | p22.FormFactor = Enum.FormFactor.Custom | |
| 4809 | p22.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4810 | b22 = Instance.new("SpecialMesh", p22)
| |
| 4811 | b22.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4812 | b22.TextureId = "" | |
| 4813 | b22.MeshType = Enum.MeshType.FileMesh | |
| 4814 | b22.Name = "Mesh" | |
| 4815 | b22.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4816 | p23 = Instance.new("Part", m3)
| |
| 4817 | p23.BrickColor = BrickColor.new("Really black")
| |
| 4818 | p23.Material = Enum.Material.Metal | |
| 4819 | p23.CFrame = CFrame.new(0.699999511, 4.25002289, 0.700001478, 0.0593914539, -0.993999004, 0.0918651819, 0.163175613, -0.0811224878, -0.98325628, 0.984807849, 0.0733875483, 0.157378405) | |
| 4820 | p23.CanCollide = false | |
| 4821 | p23.Locked = true | |
| 4822 | p23.FormFactor = Enum.FormFactor.Custom | |
| 4823 | p23.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4824 | b23 = Instance.new("SpecialMesh", p23)
| |
| 4825 | b23.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4826 | b23.TextureId = "" | |
| 4827 | b23.MeshType = Enum.MeshType.FileMesh | |
| 4828 | b23.Name = "Mesh" | |
| 4829 | b23.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4830 | p24 = Instance.new("Part", m3)
| |
| 4831 | p24.BrickColor = BrickColor.new("Really black")
| |
| 4832 | p24.Material = Enum.Material.Metal | |
| 4833 | p24.CFrame = CFrame.new(0.699999452, 4.25002289, 0.900001347, -0.197025463, -0.431517303, 0.880326331, 0.133022487, -0.90138948, -0.412070453, 0.971332312, 0.0359149873, 0.234997824) | |
| 4834 | p24.CanCollide = false | |
| 4835 | p24.Locked = true | |
| 4836 | p24.FormFactor = Enum.FormFactor.Custom | |
| 4837 | p24.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4838 | b24 = Instance.new("SpecialMesh", p24)
| |
| 4839 | b24.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4840 | b24.TextureId = "" | |
| 4841 | b24.MeshType = Enum.MeshType.FileMesh | |
| 4842 | b24.Name = "Mesh" | |
| 4843 | b24.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4844 | p25 = Instance.new("Part", m3)
| |
| 4845 | p25.BrickColor = BrickColor.new("Really black")
| |
| 4846 | p25.Material = Enum.Material.Metal | |
| 4847 | p25.CFrame = CFrame.new(0.599999249, 4.25002289, 1.05000341, -0.793593884, -0.433597952, 0.42685172, 0.426002622, 0.104941569, 0.898615122, -0.434431762, 0.894975305, 0.101432741) | |
| 4848 | p25.CanCollide = false | |
| 4849 | p25.Locked = true | |
| 4850 | p25.FormFactor = Enum.FormFactor.Custom | |
| 4851 | p25.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4852 | b25 = Instance.new("SpecialMesh", p25)
| |
| 4853 | b25.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4854 | b25.TextureId = "" | |
| 4855 | b25.MeshType = Enum.MeshType.FileMesh | |
| 4856 | b25.Name = "Mesh" | |
| 4857 | b25.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4858 | p26 = Instance.new("Part", m3)
| |
| 4859 | p26.BrickColor = BrickColor.new("Really black")
| |
| 4860 | p26.Material = Enum.Material.Metal | |
| 4861 | p26.CFrame = CFrame.new(0.399999261, 4.25002289, 1.09999716, 0.474074066, -0.73934859, 0.478140384, 0.876810074, 0.445984155, -0.17972827, -0.0803612769, 0.504442811, 0.859697402) | |
| 4862 | p26.CanCollide = false | |
| 4863 | p26.Locked = true | |
| 4864 | p26.FormFactor = Enum.FormFactor.Custom | |
| 4865 | p26.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4866 | b26 = Instance.new("SpecialMesh", p26)
| |
| 4867 | b26.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4868 | b26.TextureId = "" | |
| 4869 | b26.MeshType = Enum.MeshType.FileMesh | |
| 4870 | b26.Name = "Mesh" | |
| 4871 | b26.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4872 | p27 = Instance.new("Part", m3)
| |
| 4873 | p27.BrickColor = BrickColor.new("Really black")
| |
| 4874 | p27.Material = Enum.Material.Metal | |
| 4875 | p27.CFrame = CFrame.new(0.249999076, 4.25002289, 1.20000076, 0.524626255, -0.838181257, 0.149064019, -0.503709316, -0.446768612, -0.739374638, 0.686326742, 0.31281051, -0.656585932) | |
| 4876 | p27.CanCollide = false | |
| 4877 | p27.Locked = true | |
| 4878 | p27.FormFactor = Enum.FormFactor.Custom | |
| 4879 | p27.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4880 | b27 = Instance.new("SpecialMesh", p27)
| |
| 4881 | b27.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4882 | b27.TextureId = "" | |
| 4883 | b27.MeshType = Enum.MeshType.FileMesh | |
| 4884 | b27.Name = "Mesh" | |
| 4885 | b27.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4886 | p28 = Instance.new("Part", m3)
| |
| 4887 | p28.BrickColor = BrickColor.new("Really black")
| |
| 4888 | p28.Material = Enum.Material.Metal | |
| 4889 | p28.CFrame = CFrame.new(0.0499990731, 4.25002289, 1.20000088, 0.524626136, -0.838181317, 0.149063885, 0.588431716, 0.230477661, -0.775002301, 0.615236104, 0.494300276, 0.614126861) | |
| 4890 | p28.CanCollide = false | |
| 4891 | p28.Locked = true | |
| 4892 | p28.FormFactor = Enum.FormFactor.Custom | |
| 4893 | p28.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4894 | b28 = Instance.new("SpecialMesh", p28)
| |
| 4895 | b28.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4896 | b28.TextureId = "" | |
| 4897 | b28.MeshType = Enum.MeshType.FileMesh | |
| 4898 | b28.Name = "Mesh" | |
| 4899 | b28.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4900 | p29 = Instance.new("Part", m3)
| |
| 4901 | p29.BrickColor = BrickColor.new("Really black")
| |
| 4902 | p29.Material = Enum.Material.Metal | |
| 4903 | p29.CFrame = CFrame.new(-0.200000852, 4.25002289, 1.20000088, 0.524626195, -0.838181257, 0.149063647, 0.664180398, 0.512506962, 0.544243872, -0.532571197, -0.186519295, 0.825577736) | |
| 4904 | p29.CanCollide = false | |
| 4905 | p29.Locked = true | |
| 4906 | p29.FormFactor = Enum.FormFactor.Custom | |
| 4907 | p29.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4908 | b29 = Instance.new("SpecialMesh", p29)
| |
| 4909 | b29.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4910 | b29.TextureId = "" | |
| 4911 | b29.MeshType = Enum.MeshType.FileMesh | |
| 4912 | b29.Name = "Mesh" | |
| 4913 | b29.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4914 | p30 = Instance.new("Part", m3)
| |
| 4915 | p30.BrickColor = BrickColor.new("Really black")
| |
| 4916 | p30.Material = Enum.Material.Metal | |
| 4917 | p30.CFrame = CFrame.new(-0.400000989, 4.25002289, 1.15000105, -0.205189675, -0.942334533, -0.264392197, 0.472657442, 0.141141802, -0.869870245, 0.857025325, -0.303455055, 0.416440606) | |
| 4918 | p30.CanCollide = false | |
| 4919 | p30.Locked = true | |
| 4920 | p30.FormFactor = Enum.FormFactor.Custom | |
| 4921 | p30.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4922 | b30 = Instance.new("SpecialMesh", p30)
| |
| 4923 | b30.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4924 | b30.TextureId = "" | |
| 4925 | b30.MeshType = Enum.MeshType.FileMesh | |
| 4926 | b30.Name = "Mesh" | |
| 4927 | b30.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4928 | p31 = Instance.new("Part", m3)
| |
| 4929 | p31.BrickColor = BrickColor.new("Really black")
| |
| 4930 | p31.Material = Enum.Material.Metal | |
| 4931 | p31.CFrame = CFrame.new(-0.550001025, 4.25002337, 0.999999702, 0.151335806, -0.651350021, -0.743532896, 0.979139984, 0.201951638, 0.022377044, 0.135582238, -0.731408894, 0.668325186) | |
| 4932 | p31.CanCollide = false | |
| 4933 | p31.Locked = true | |
| 4934 | p31.FormFactor = Enum.FormFactor.Custom | |
| 4935 | p31.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4936 | b31 = Instance.new("SpecialMesh", p31)
| |
| 4937 | b31.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4938 | b31.TextureId = "" | |
| 4939 | b31.MeshType = Enum.MeshType.FileMesh | |
| 4940 | b31.Name = "Mesh" | |
| 4941 | b31.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4942 | p32 = Instance.new("Part", m3)
| |
| 4943 | p32.BrickColor = BrickColor.new("Really black")
| |
| 4944 | p32.Material = Enum.Material.Metal | |
| 4945 | p32.CFrame = CFrame.new(-0.700000763, 4.25002337, 0.800000489, -0.804778874, -0.593520701, 0.0080409348, 0.142058611, -0.205740049, -0.968240976, 0.576325178, -0.778077364, 0.249890015) | |
| 4946 | p32.CanCollide = false | |
| 4947 | p32.Locked = true | |
| 4948 | p32.FormFactor = Enum.FormFactor.Custom | |
| 4949 | p32.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4950 | b32 = Instance.new("SpecialMesh", p32)
| |
| 4951 | b32.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4952 | b32.TextureId = "" | |
| 4953 | b32.MeshType = Enum.MeshType.FileMesh | |
| 4954 | b32.Name = "Mesh" | |
| 4955 | b32.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4956 | p33 = Instance.new("Part", m3)
| |
| 4957 | p33.BrickColor = BrickColor.new("Really black")
| |
| 4958 | p33.Material = Enum.Material.Metal | |
| 4959 | p33.CFrame = CFrame.new(-0.700000942, 4.25002289, 0.549999833, -0.526802063, -0.220915288, -0.820777893, 0.708702326, 0.418966174, -0.567634225, 0.469277024, -0.880717933, -0.0641489923) | |
| 4960 | p33.CanCollide = false | |
| 4961 | p33.Locked = true | |
| 4962 | p33.FormFactor = Enum.FormFactor.Custom | |
| 4963 | p33.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4964 | b33 = Instance.new("SpecialMesh", p33)
| |
| 4965 | b33.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4966 | b33.TextureId = "" | |
| 4967 | b33.MeshType = Enum.MeshType.FileMesh | |
| 4968 | b33.Name = "Mesh" | |
| 4969 | b33.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4970 | p34 = Instance.new("Part", m3)
| |
| 4971 | p34.BrickColor = BrickColor.new("Really black")
| |
| 4972 | p34.Material = Enum.Material.Metal | |
| 4973 | p34.Name = "Connection" | |
| 4974 | p34.CFrame = CFrame.new(0.0551848896, 3.35002589, -0.131655902, 0.635109425, -0.765570045, -0.102657467, -0.766416311, -0.641122162, 0.0396047123, -0.0961361453, 0.0535250306, -0.993928015) | |
| 4975 | p34.CanCollide = false | |
| 4976 | p34.Locked = true | |
| 4977 | p34.FormFactor = Enum.FormFactor.Custom | |
| 4978 | p34.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4979 | b34 = Instance.new("SpecialMesh", p34)
| |
| 4980 | b34.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4981 | b34.TextureId = "" | |
| 4982 | b34.MeshType = Enum.MeshType.FileMesh | |
| 4983 | b34.Name = "Mesh" | |
| 4984 | b34.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4985 | p35 = Instance.new("Part", m3)
| |
| 4986 | p35.BrickColor = BrickColor.new("Really black")
| |
| 4987 | p35.Material = Enum.Material.Metal | |
| 4988 | p35.CFrame = CFrame.new(-0.600001037, 4.25002289, 0.149997264, 0.493824095, 0.604460001, 0.62511301, -0.565569818, -0.322785676, 0.758907318, 0.660506427, -0.728311539, 0.182464883) | |
| 4989 | p35.CanCollide = false | |
| 4990 | p35.Locked = true | |
| 4991 | p35.FormFactor = Enum.FormFactor.Custom | |
| 4992 | p35.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 4993 | b35 = Instance.new("SpecialMesh", p35)
| |
| 4994 | b35.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 4995 | b35.TextureId = "" | |
| 4996 | b35.MeshType = Enum.MeshType.FileMesh | |
| 4997 | b35.Name = "Mesh" | |
| 4998 | b35.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 4999 | p36 = Instance.new("Part", m3)
| |
| 5000 | p36.BrickColor = BrickColor.new("Really black")
| |
| 5001 | p36.Material = Enum.Material.Metal | |
| 5002 | p36.CFrame = CFrame.new(-0.500000834, 4.2000227, -2.52574682e-006, -0.285961747, 0.418113738, -0.862210572, 0.191904813, 0.906544387, 0.375965416, 0.93882823, -0.0579507053, -0.339474916) | |
| 5003 | p36.CanCollide = false | |
| 5004 | p36.Locked = true | |
| 5005 | p36.FormFactor = Enum.FormFactor.Custom | |
| 5006 | p36.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
| 5007 | b36 = Instance.new("SpecialMesh", p36)
| |
| 5008 | b36.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 5009 | b36.TextureId = "" | |
| 5010 | b36.MeshType = Enum.MeshType.FileMesh | |
| 5011 | b36.Name = "Mesh" | |
| 5012 | b36.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024) | |
| 5013 | w1 = Instance.new("Weld", p2)
| |
| 5014 | w1.Name = "Joint" | |
| 5015 | w1.Part0 = p2 | |
| 5016 | w1.C0 = CFrame.new(-0.211238861, -0.0362606049, -0.0810072422, -0.57012105, 0.811055779, -0.130959615, -0.254106343, -0.022495009, 0.966914535, 0.781275749, 0.584536016, 0.218919396) | |
| 5017 | w1.Part1 = p18 | |
| 5018 | w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5019 | w2 = Instance.new("Weld", p3)
| |
| 5020 | w2.Name = "Joint" | |
| 5021 | w2.Part0 = p3 | |
| 5022 | w2.C0 = CFrame.new(0, 0, -0.470001936, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5023 | w2.Part1 = p1 | |
| 5024 | w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5025 | w10 = Instance.new("Weld", p11)
| |
| 5026 | w10.Name = "Joint" | |
| 5027 | w10.Part0 = p11 | |
| 5028 | w10.C0 = CFrame.new(0.100000024, 0.202390671, -0.0392093658, 0.450589836, 0.596651673, -0.664059937, 0.644212067, 0.297646403, 0.704554796, 0.618028879, -0.745260656, -0.250253737) | |
| 5029 | w10.Part1 = p19 | |
| 5030 | w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5031 | w11 = Instance.new("Weld", p12)
| |
| 5032 | w11.Name = "Joint" | |
| 5033 | w11.Part0 = p12 | |
| 5034 | w11.C0 = CFrame.new(0.479997993, 0.0499999784, 0.25, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
| 5035 | w11.Part1 = p1 | |
| 5036 | w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5037 | w12 = Instance.new("Weld", p13)
| |
| 5038 | w12.Name = "Joint" | |
| 5039 | w12.Part0 = p13 | |
| 5040 | w12.C0 = CFrame.new(-0.1545012, 0.138720512, 0.0829834938, 0.373496056, -0.501174688, -0.780592561, -0.602336764, 0.50893271, -0.614961803, 0.70547235, 0.699865282, -0.111791633) | |
| 5041 | w12.Part1 = p35 | |
| 5042 | w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5043 | w13 = Instance.new("Weld", p14)
| |
| 5044 | w13.Name = "Joint" | |
| 5045 | w13.Part0 = p14 | |
| 5046 | w13.C0 = CFrame.new(-0.172863483, 0.0578804016, -0.0258672237, -0.849803627, -0.326939017, 0.413454711, 0.506076992, -0.286759645, 0.813421786, -0.147377193, 0.900488615, 0.409145683) | |
| 5047 | w13.Part1 = p34 | |
| 5048 | w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5049 | w14 = Instance.new("Weld", p15)
| |
| 5050 | w14.Name = "Joint" | |
| 5051 | w14.Part0 = p15 | |
| 5052 | w14.C0 = CFrame.new(0.0923810005, -0.190912724, -0.00442934036, -0.0371075198, 0.56231159, -0.826092422, -0.73737216, -0.573347449, -0.357148677, -0.674466848, 0.595884562, 0.435908347) | |
| 5053 | w14.Part1 = p16 | |
| 5054 | w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5055 | w15 = Instance.new("Weld", p16)
| |
| 5056 | w15.Name = "Joint" | |
| 5057 | w15.Part0 = p16 | |
| 5058 | w15.C0 = CFrame.new(0.0876817107, 0.204583645, -0.0213780403, 0.074026458, 0.445441723, -0.892245352, -0.0624118894, 0.895015597, 0.441646636, 0.995301366, 0.022993207, 0.0940556675) | |
| 5059 | w15.Part1 = p20 | |
| 5060 | w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5061 | w16 = Instance.new("Weld", p17)
| |
| 5062 | w16.Name = "Joint" | |
| 5063 | w16.Part0 = p17 | |
| 5064 | w16.C0 = CFrame.new(0.156466246, -0.194725513, -0.0100102425, -0.460608691, 0.227749109, -0.85788697, 0.80572325, -0.29817903, -0.51176101, -0.372357011, -0.926941037, -0.0461589098) | |
| 5065 | w16.Part1 = p14 | |
| 5066 | w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5067 | w17 = Instance.new("Weld", p18)
| |
| 5068 | w17.Name = "Joint" | |
| 5069 | w17.Part0 = p18 | |
| 5070 | w17.C0 = CFrame.new(0.046289444, -0.199023724, 0.0569794178, 0.154631272, -0.0373091251, -0.987267554, -0.489805043, 0.864940584, -0.109402351, 0.858009458, 0.500485599, 0.115472674) | |
| 5071 | w17.Part1 = p17 | |
| 5072 | w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5073 | w18 = Instance.new("Weld", p19)
| |
| 5074 | w18.Name = "Joint" | |
| 5075 | w18.Part0 = p19 | |
| 5076 | w18.C0 = CFrame.new(0.211536884, -0.0502645969, -0.0522158146, 0.728958309, 0.445444137, 0.519806981, -0.683894217, 0.440442294, 0.581635118, 0.0301409438, -0.779480696, 0.625700712) | |
| 5077 | w18.Part1 = p21 | |
| 5078 | w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5079 | w19 = Instance.new("Weld", p20)
| |
| 5080 | w19.Name = "Joint" | |
| 5081 | w19.Part0 = p20 | |
| 5082 | w19.C0 = CFrame.new(0.0722160339, 0.164483547, 0.0522456169, 0.148452476, 0.216069669, 0.965026319, 0.508259654, 0.820421398, -0.261879444, -0.848312438, 0.529360592, 0.0119740963) | |
| 5083 | w19.Part1 = p11 | |
| 5084 | w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5085 | w20 = Instance.new("Weld", p21)
| |
| 5086 | w20.Name = "Joint" | |
| 5087 | w20.Part0 = p21 | |
| 5088 | w20.C0 = CFrame.new(0.246201992, 0.0183468163, 0.0393443108, 0.980159461, 0.195441127, 0.0330170989, -0.100333519, 0.345563769, 0.933016002, 0.170940176, -0.917817175, 0.358316928) | |
| 5089 | w20.Part1 = p22 | |
| 5090 | w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5091 | w21 = Instance.new("Weld", p22)
| |
| 5092 | w21.Name = "Joint" | |
| 5093 | w21.Part0 = p22 | |
| 5094 | w21.C0 = CFrame.new(0.246201515, 0.0183467865, 0.0393443108, 0.96721822, 0.235350817, 0.0953874439, -0.0782081187, -0.0813006833, 0.993616521, 0.241603509, -0.968504071, -0.060229145) | |
| 5095 | w21.Part1 = p23 | |
| 5096 | w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5097 | w22 = Instance.new("Weld", p23)
| |
| 5098 | w22.Name = "Joint" | |
| 5099 | w22.Part0 = p23 | |
| 5100 | w22.C0 = CFrame.new(0.196961403, 0.014677465, 0.031475544, 0.966579735, -0.137344033, 0.21647194, 0.256335169, 0.504686236, -0.824368834, 0.0039717555, 0.852307677, 0.523025632) | |
| 5101 | w22.Part1 = p24 | |
| 5102 | w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5103 | w23 = Instance.new("Weld", p24)
| |
| 5104 | w23.Name = "Joint" | |
| 5105 | w23.Part0 = p24 | |
| 5106 | w23.C0 = CFrame.new(0.16540432, 0.0485391617, -0.0527825356, -0.208951756, 0.968707323, 0.133960381, -0.0571475253, 0.124654606, -0.990553021, -0.976254702, -0.214633241, 0.0293123852) | |
| 5107 | w23.Part1 = p25 | |
| 5108 | w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5109 | w24 = Instance.new("Weld", p25)
| |
| 5110 | w24.Name = "Joint" | |
| 5111 | w24.Part0 = p25 | |
| 5112 | w24.C0 = CFrame.new(0.136999726, 0.131462574, -0.0802993774, 0.0322127938, 0.557586372, -0.829493642, -0.185464859, 0.81884563, 0.543226421, 0.982122838, 0.136343077, 0.129789978) | |
| 5113 | w24.Part1 = p26 | |
| 5114 | w24.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5115 | w25 = Instance.new("Weld", p26)
| |
| 5116 | w25.Name = "Joint" | |
| 5117 | w25.Part0 = p26 | |
| 5118 | w25.C0 = CFrame.new(-0.0791475773, 0.161348343, 0.014251709, -0.2480997, -0.814228892, -0.524859786, -0.266315132, 0.578250885, -0.771169424, 0.931409001, -0.0515488982, -0.360305429) | |
| 5119 | w25.Part1 = p27 | |
| 5120 | w25.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5121 | w26 = Instance.new("Weld", p27)
| |
| 5122 | w26.Name = "Joint" | |
| 5123 | w26.Part0 = p27 | |
| 5124 | w26.C0 = CFrame.new(-0.104925156, 0.167636156, -0.0298128128, 0.401087224, -0.216573805, 0.890070021, -0.510172248, 0.754199564, 0.413409412, -0.760824084, -0.619902253, 0.192009777) | |
| 5125 | w26.Part1 = p28 | |
| 5126 | w26.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5127 | w27 = Instance.new("Weld", p28)
| |
| 5128 | w27.Name = "Joint" | |
| 5129 | w27.Part0 = p28 | |
| 5130 | w27.C0 = CFrame.new(-0.131156445, 0.209545135, -0.037266016, 0.338400394, -0.252909899, 0.906378388, -0.549903035, 0.728472173, 0.408576787, -0.763604522, -0.636682749, 0.10743928) | |
| 5131 | w27.Part1 = p29 | |
| 5132 | w27.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5133 | w28 = Instance.new("Weld", p29)
| |
| 5134 | w28.Name = "Joint" | |
| 5135 | w28.Part0 = p29 | |
| 5136 | w28.C0 = CFrame.new(-0.0782968998, 0.176962137, -0.0710916519, -0.250144869, -0.239018306, -0.938241899, 0.254374206, 0.918783069, -0.301879942, 0.934195518, -0.314178288, -0.169028759) | |
| 5137 | w28.Part1 = p30 | |
| 5138 | w28.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5139 | w29 = Instance.new("Weld", p30)
| |
| 5140 | w29.Name = "Joint" | |
| 5141 | w29.Part0 = p30 | |
| 5142 | w29.C0 = CFrame.new(-0.097776413, 0.186868906, -0.022808075, 0.547942579, -0.39773193, 0.735913277, -0.0455548018, 0.864242792, 0.501007974, -0.835274637, -0.30804801, 0.455436885) | |
| 5143 | w29.Part1 = p31 | |
| 5144 | w29.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5145 | w30 = Instance.new("Weld", p31)
| |
| 5146 | w30.Name = "Joint" | |
| 5147 | w30.Part0 = p31 | |
| 5148 | w30.C0 = CFrame.new(-0.0498166084, 0.243983507, -0.0221347809, 0.0954426825, -0.396762908, -0.912945747, 0.131352007, 0.914132595, -0.38354671, 0.986730695, -0.0833105743, 0.139362901) | |
| 5149 | w30.Part1 = p32 | |
| 5150 | w30.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5151 | w31 = Instance.new("Weld", p32)
| |
| 5152 | w31.Name = "Joint" | |
| 5153 | w31.Part0 = p32 | |
| 5154 | w31.C0 = CFrame.new(-0.144081593, 0.194519997, -0.0624723434, 0.795092285, -0.270274341, 0.542936563, -0.198274553, 0.730186164, 0.653846622, -0.573162735, -0.627518892, 0.526976764) | |
| 5155 | w31.Part1 = p33 | |
| 5156 | w31.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5157 | w32 = Instance.new("Weld", p33)
| |
| 5158 | w32.Name = "Joint" | |
| 5159 | w32.Part0 = p33 | |
| 5160 | w32.C0 = CFrame.new(-0.0938563347, 0.176145077, 0.0128297806, 0.0848137587, -0.421895206, -0.902668893, -0.548244178, 0.736708403, -0.39583993, 0.832006574, 0.528455555, -0.168818489) | |
| 5161 | w32.Part1 = p13 | |
| 5162 | w32.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5163 | w33 = Instance.new("Weld", p34)
| |
| 5164 | w33.Name = "Joint" | |
| 5165 | w33.Part0 = p34 | |
| 5166 | w33.C0 = CFrame.new(-0.0178728104, 0.0120868683, -0.150204837, -0.0961361453, -0.635109425, 0.766416311, 0.0535250939, 0.765570045, 0.641122162, -0.993928015, 0.102657512, -0.0396046676) | |
| 5167 | w33.Part1 = p12 | |
| 5168 | w33.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5169 | w34 = Instance.new("Weld", p35)
| |
| 5170 | w34.Name = "Joint" | |
| 5171 | w34.Part0 = p35 | |
| 5172 | w34.C0 = CFrame.new(-0.0214147568, 0.185832024, -0.00280380249, 0.370351821, -0.344516218, -0.862640202, -0.918555975, 0.00231964141, -0.395284295, 0.138182849, 0.938777506, -0.315598398) | |
| 5173 | w34.Part1 = p36 | |
| 5174 | w34.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5175 | w35 = Instance.new("Weld", p36)
| |
| 5176 | w35.Name = "Joint" | |
| 5177 | w35.Part0 = p36 | |
| 5178 | w35.C0 = CFrame.new(-0.136966705, -0.109280109, -0.0655572414, 0.678235054, 0.463834167, -0.569960475, 0.250202835, 0.583515286, 0.772598565, 0.690938354, -0.666609228, 0.279707849) | |
| 5179 | w35.Part1 = p2 | |
| 5180 | w35.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5181 | m3.Parent = torso | |
| 5182 | m3:MakeJoints() | |
| 5183 | ---------------------------------------------------- | |
| 5184 | local cor3 = Instance.new("Part", torso.Torso)
| |
| 5185 | cor3.Name = "Thingy" | |
| 5186 | cor3.Locked = true | |
| 5187 | cor3.BottomSurface = 0 | |
| 5188 | cor3.CanCollide = false | |
| 5189 | cor3.Size = Vector3.new(1, 1, 1) | |
| 5190 | cor3.Transparency = 1 | |
| 5191 | cor3.TopSurface = 0 | |
| 5192 | corw3 = Instance.new("Weld", cor3)
| |
| 5193 | corw3.Part0 = torso | |
| 5194 | corw3.Part1 = cor3 | |
| 5195 | corw3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 5196 | corw3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 5197 | weld3 = Instance.new("Weld", torso.Torso)
| |
| 5198 | weld3.Part0 = cor3 | |
| 5199 | weld3.Part1 = torso.Torso.TorsoPlate | |
| 5200 | weld3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 5201 | ----------------------------- | |
| 5202 | --Amulet | |
| 5203 | m7 = Instance.new("Model")
| |
| 5204 | m7.Name = "Amulet" | |
| 5205 | p1 = Instance.new("Part", m7)
| |
| 5206 | p1.BrickColor = char.Torso.BrickColor | |
| 5207 | p1.Material = Enum.Material.Neon | |
| 5208 | p1.Name = "Center" | |
| 5209 | p1.CFrame = CFrame.new(-1.0658141e-014, 14.4125643, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1) | |
| 5210 | p1.CanCollide = false | |
| 5211 | p1.Locked = true | |
| 5212 | p1.FormFactor = Enum.FormFactor.Custom | |
| 5213 | p1.Shape = Enum.PartType.Cylinder | |
| 5214 | p1.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 5215 | p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5216 | p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5217 | p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5218 | p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5219 | p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5220 | p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5221 | p2 = Instance.new("Part", m7)
| |
| 5222 | p2.BrickColor = BrickColor.new("Really black")
| |
| 5223 | p2.Material = Enum.Material.Metal | |
| 5224 | p2.Name = "Bottom" | |
| 5225 | p2.CFrame = CFrame.new(1.19209318e-007, 14.1625719, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1) | |
| 5226 | p2.CanCollide = false | |
| 5227 | p2.Locked = true | |
| 5228 | p2.FormFactor = Enum.FormFactor.Custom | |
| 5229 | p2.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976) | |
| 5230 | p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5231 | p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5232 | p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5233 | p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5234 | p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5235 | p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5236 | b1 = Instance.new("SpecialMesh", p2)
| |
| 5237 | b1.MeshType = Enum.MeshType.Cylinder | |
| 5238 | b1.Name = "Mesh" | |
| 5239 | p3 = Instance.new("Part", m7)
| |
| 5240 | p3.BrickColor = BrickColor.new("Really black")
| |
| 5241 | p3.Material = Enum.Material.Metal | |
| 5242 | p3.CFrame = CFrame.new(1.23580463e-007, 14.4625673, -0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1) | |
| 5243 | p3.CanCollide = false | |
| 5244 | p3.Locked = true | |
| 5245 | p3.FormFactor = Enum.FormFactor.Custom | |
| 5246 | p3.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5247 | p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5248 | p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5249 | p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5250 | p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5251 | p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5252 | p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5253 | b2 = Instance.new("SpecialMesh", p3)
| |
| 5254 | b2.MeshType = Enum.MeshType.Brick | |
| 5255 | b2.Name = "Mesh" | |
| 5256 | b2.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5257 | p4 = Instance.new("Part", m7)
| |
| 5258 | p4.BrickColor = BrickColor.new("Really black")
| |
| 5259 | p4.Material = Enum.Material.Metal | |
| 5260 | p4.CFrame = CFrame.new(1.19209318e-007, 14.4625673, 0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1) | |
| 5261 | p4.CanCollide = false | |
| 5262 | p4.Locked = true | |
| 5263 | p4.FormFactor = Enum.FormFactor.Custom | |
| 5264 | p4.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5265 | p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5266 | p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5267 | p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5268 | p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5269 | p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5270 | p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5271 | b3 = Instance.new("SpecialMesh", p4)
| |
| 5272 | b3.MeshType = Enum.MeshType.Brick | |
| 5273 | b3.Name = "Mesh" | |
| 5274 | b3.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5275 | p5 = Instance.new("Part", m7)
| |
| 5276 | p5.BrickColor = BrickColor.new("Really black")
| |
| 5277 | p5.Material = Enum.Material.Metal | |
| 5278 | p5.CFrame = CFrame.new(0.14000012, 14.4625673, -0.242487118, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388) | |
| 5279 | p5.CanCollide = false | |
| 5280 | p5.Locked = true | |
| 5281 | p5.FormFactor = Enum.FormFactor.Custom | |
| 5282 | p5.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5283 | p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5284 | p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5285 | p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5286 | p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5287 | p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5288 | p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5289 | b4 = Instance.new("SpecialMesh", p5)
| |
| 5290 | b4.MeshType = Enum.MeshType.Brick | |
| 5291 | b4.Name = "Mesh" | |
| 5292 | b4.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5293 | p6 = Instance.new("Part", m7)
| |
| 5294 | p6.BrickColor = BrickColor.new("Really black")
| |
| 5295 | p6.Material = Enum.Material.Metal | |
| 5296 | p6.CFrame = CFrame.new(-0.139999881, 14.4625673, 0.242487103, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388) | |
| 5297 | p6.CanCollide = false | |
| 5298 | p6.Locked = true | |
| 5299 | p6.FormFactor = Enum.FormFactor.Custom | |
| 5300 | p6.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5301 | p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5302 | p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5303 | p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5304 | p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5305 | p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5306 | p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5307 | b5 = Instance.new("SpecialMesh", p6)
| |
| 5308 | b5.MeshType = Enum.MeshType.Brick | |
| 5309 | b5.Name = "Mesh" | |
| 5310 | b5.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5311 | p7 = Instance.new("Part", m7)
| |
| 5312 | p7.BrickColor = BrickColor.new("Really black")
| |
| 5313 | p7.Material = Enum.Material.Metal | |
| 5314 | p7.CFrame = CFrame.new(-0.242486984, 14.4625673, 0.139999986, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5) | |
| 5315 | p7.CanCollide = false | |
| 5316 | p7.Locked = true | |
| 5317 | p7.FormFactor = Enum.FormFactor.Custom | |
| 5318 | p7.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5319 | p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5320 | p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5321 | p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5322 | p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5323 | p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5324 | p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5325 | b6 = Instance.new("SpecialMesh", p7)
| |
| 5326 | b6.MeshType = Enum.MeshType.Brick | |
| 5327 | b6.Name = "Mesh" | |
| 5328 | b6.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5329 | p8 = Instance.new("Part", m7)
| |
| 5330 | p8.BrickColor = BrickColor.new("Really black")
| |
| 5331 | p8.Material = Enum.Material.Metal | |
| 5332 | p8.CFrame = CFrame.new(0.242487192, 14.4625673, -0.139999971, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5) | |
| 5333 | p8.CanCollide = false | |
| 5334 | p8.Locked = true | |
| 5335 | p8.FormFactor = Enum.FormFactor.Custom | |
| 5336 | p8.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5337 | p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5338 | p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5339 | p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5340 | p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5341 | p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5342 | p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5343 | b7 = Instance.new("SpecialMesh", p8)
| |
| 5344 | b7.MeshType = Enum.MeshType.Brick | |
| 5345 | b7.Name = "Mesh" | |
| 5346 | b7.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5347 | p9 = Instance.new("Part", m7)
| |
| 5348 | p9.BrickColor = BrickColor.new("Really black")
| |
| 5349 | p9.Material = Enum.Material.Metal | |
| 5350 | p9.CFrame = CFrame.new(0.280000091, 14.4625673, -1.64313008e-014, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0) | |
| 5351 | p9.CanCollide = false | |
| 5352 | p9.Locked = true | |
| 5353 | p9.FormFactor = Enum.FormFactor.Custom | |
| 5354 | p9.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5355 | p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5356 | p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5357 | p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5358 | p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5359 | p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5360 | p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5361 | b8 = Instance.new("SpecialMesh", p9)
| |
| 5362 | b8.MeshType = Enum.MeshType.Brick | |
| 5363 | b8.Name = "Mesh" | |
| 5364 | b8.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5365 | p10 = Instance.new("Part", m7)
| |
| 5366 | p10.BrickColor = BrickColor.new("Really black")
| |
| 5367 | p10.Material = Enum.Material.Metal | |
| 5368 | p10.CFrame = CFrame.new(-0.279999852, 14.4625673, -1.49011772e-008, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0) | |
| 5369 | p10.CanCollide = false | |
| 5370 | p10.Locked = true | |
| 5371 | p10.FormFactor = Enum.FormFactor.Custom | |
| 5372 | p10.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5373 | p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5374 | p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5375 | p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5376 | p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5377 | p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5378 | p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5379 | b9 = Instance.new("SpecialMesh", p10)
| |
| 5380 | b9.MeshType = Enum.MeshType.Brick | |
| 5381 | b9.Name = "Mesh" | |
| 5382 | b9.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5383 | p11 = Instance.new("Part", m7)
| |
| 5384 | p11.BrickColor = BrickColor.new("Really black")
| |
| 5385 | p11.Material = Enum.Material.Metal | |
| 5386 | p11.CFrame = CFrame.new(-0.242486984, 14.4625673, -0.139999986, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5) | |
| 5387 | p11.CanCollide = false | |
| 5388 | p11.Locked = true | |
| 5389 | p11.FormFactor = Enum.FormFactor.Custom | |
| 5390 | p11.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5391 | p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5392 | p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5393 | p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5394 | p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5395 | p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5396 | p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5397 | b10 = Instance.new("SpecialMesh", p11)
| |
| 5398 | b10.MeshType = Enum.MeshType.Brick | |
| 5399 | b10.Name = "Mesh" | |
| 5400 | b10.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5401 | p12 = Instance.new("Part", m7)
| |
| 5402 | p12.BrickColor = BrickColor.new("Really black")
| |
| 5403 | p12.Material = Enum.Material.Metal | |
| 5404 | p12.CFrame = CFrame.new(0.242487192, 14.4625673, 0.139999971, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5) | |
| 5405 | p12.CanCollide = false | |
| 5406 | p12.Locked = true | |
| 5407 | p12.FormFactor = Enum.FormFactor.Custom | |
| 5408 | p12.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5409 | p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5410 | p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5411 | p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5412 | p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5413 | p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5414 | p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5415 | b11 = Instance.new("SpecialMesh", p12)
| |
| 5416 | b11.MeshType = Enum.MeshType.Brick | |
| 5417 | b11.Name = "Mesh" | |
| 5418 | b11.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5419 | p13 = Instance.new("Part", m7)
| |
| 5420 | p13.BrickColor = BrickColor.new("Really black")
| |
| 5421 | p13.Material = Enum.Material.Metal | |
| 5422 | p13.CFrame = CFrame.new(-0.139999866, 14.4625673, -0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388) | |
| 5423 | p13.CanCollide = false | |
| 5424 | p13.Locked = true | |
| 5425 | p13.FormFactor = Enum.FormFactor.Custom | |
| 5426 | p13.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5427 | p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5428 | p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5429 | p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5430 | p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5431 | p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5432 | p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5433 | b12 = Instance.new("SpecialMesh", p13)
| |
| 5434 | b12.MeshType = Enum.MeshType.Brick | |
| 5435 | b12.Name = "Mesh" | |
| 5436 | b12.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5437 | p14 = Instance.new("Part", m7)
| |
| 5438 | p14.BrickColor = BrickColor.new("Really black")
| |
| 5439 | p14.Material = Enum.Material.Metal | |
| 5440 | p14.CFrame = CFrame.new(0.14000012, 14.4625673, 0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388) | |
| 5441 | p14.CanCollide = false | |
| 5442 | p14.Locked = true | |
| 5443 | p14.FormFactor = Enum.FormFactor.Custom | |
| 5444 | p14.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
| 5445 | p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5446 | p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5447 | p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5448 | p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5449 | p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5450 | p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5451 | b13 = Instance.new("SpecialMesh", p14)
| |
| 5452 | b13.MeshType = Enum.MeshType.Brick | |
| 5453 | b13.Name = "Mesh" | |
| 5454 | b13.Scale = Vector3.new(1, 0.300000012, 0.200000003) | |
| 5455 | p15 = Instance.new("Part", m7)
| |
| 5456 | p15.BrickColor = BrickColor.new("Really black")
| |
| 5457 | p15.Material = Enum.Material.Metal | |
| 5458 | p15.Name = "Top" | |
| 5459 | p15.CFrame = CFrame.new(0, 14.7125645, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1) | |
| 5460 | p15.CanCollide = false | |
| 5461 | p15.Locked = true | |
| 5462 | p15.FormFactor = Enum.FormFactor.Custom | |
| 5463 | p15.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976) | |
| 5464 | p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5465 | p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5466 | p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5467 | p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5468 | p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5469 | p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 5470 | b14 = Instance.new("SpecialMesh", p15)
| |
| 5471 | b14.MeshType = Enum.MeshType.Cylinder | |
| 5472 | b14.Name = "Mesh" | |
| 5473 | w1 = Instance.new("Weld", p1)
| |
| 5474 | w1.Name = "Joint" | |
| 5475 | w1.Part0 = p1 | |
| 5476 | w1.C0 = CFrame.new(0.300000191, -1.31134357e-008, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5477 | w1.Part1 = p15 | |
| 5478 | w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5479 | w2 = Instance.new("Weld", p2)
| |
| 5480 | w2.Name = "Joint" | |
| 5481 | w2.Part0 = p2 | |
| 5482 | w2.C0 = CFrame.new(0.249992371, 1.08281824e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5483 | w2.Part1 = p1 | |
| 5484 | w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5485 | w3 = Instance.new("Weld", p3)
| |
| 5486 | w3.Name = "Joint" | |
| 5487 | w3.Part0 = p3 | |
| 5488 | w3.C0 = CFrame.new(-0.0500030518, 1.25766178e-007, 0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5489 | w3.Part1 = p1 | |
| 5490 | w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5491 | w4 = Instance.new("Weld", p4)
| |
| 5492 | w4.Name = "Joint" | |
| 5493 | w4.Part0 = p4 | |
| 5494 | w4.C0 = CFrame.new(-0.0500030518, 1.21395033e-007, -0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5495 | w4.Part1 = p1 | |
| 5496 | w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5497 | w5 = Instance.new("Weld", p5)
| |
| 5498 | w5.Name = "Joint" | |
| 5499 | w5.Part0 = p5 | |
| 5500 | w5.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, 0.280000061, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388) | |
| 5501 | w5.Part1 = p1 | |
| 5502 | w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5503 | w6 = Instance.new("Weld", p6)
| |
| 5504 | w6.Name = "Joint" | |
| 5505 | w6.Part0 = p6 | |
| 5506 | w6.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, -0.279999942, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388) | |
| 5507 | w6.Part1 = p1 | |
| 5508 | w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5509 | w7 = Instance.new("Weld", p7)
| |
| 5510 | w7.Name = "Joint" | |
| 5511 | w7.Part0 = p7 | |
| 5512 | w7.C0 = CFrame.new(-0.0500030518, 5.54602479e-008, -0.279999882, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5) | |
| 5513 | w7.Part1 = p1 | |
| 5514 | w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5515 | w8 = Instance.new("Weld", p8)
| |
| 5516 | w8.Name = "Joint" | |
| 5517 | w8.Part0 = p8 | |
| 5518 | w8.C0 = CFrame.new(-0.0500030518, 7.03614091e-008, 0.280000061, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5) | |
| 5519 | w8.Part1 = p1 | |
| 5520 | w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5521 | w9 = Instance.new("Weld", p9)
| |
| 5522 | w9.Name = "Joint" | |
| 5523 | w9.Part0 = p9 | |
| 5524 | w9.C0 = CFrame.new(-0.0500030518, 2.1856863e-009, 0.280000091, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0) | |
| 5525 | w9.Part1 = p1 | |
| 5526 | w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5527 | w10 = Instance.new("Weld", p10)
| |
| 5528 | w10.Name = "Joint" | |
| 5529 | w10.Part0 = p10 | |
| 5530 | w10.C0 = CFrame.new(-0.0500030518, -1.27154749e-008, -0.279999852, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0) | |
| 5531 | w10.Part1 = p1 | |
| 5532 | w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5533 | w11 = Instance.new("Weld", p11)
| |
| 5534 | w11.Name = "Joint" | |
| 5535 | w11.Part0 = p11 | |
| 5536 | w11.C0 = CFrame.new(-0.0500030518, -5.6298461e-008, -0.279999882, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5) | |
| 5537 | w11.Part1 = p1 | |
| 5538 | w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5539 | w12 = Instance.new("Weld", p12)
| |
| 5540 | w12.Name = "Joint" | |
| 5541 | w12.Part0 = p12 | |
| 5542 | w12.C0 = CFrame.new(-0.0500030518, -6.37490416e-008, 0.280000061, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5) | |
| 5543 | w12.Part1 = p1 | |
| 5544 | w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5545 | w13 = Instance.new("Weld", p13)
| |
| 5546 | w13.Name = "Joint" | |
| 5547 | w13.Part0 = p13 | |
| 5548 | w13.C0 = CFrame.new(-0.0500030518, -1.01001945e-007, -0.279999912, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388) | |
| 5549 | w13.Part1 = p1 | |
| 5550 | w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5551 | w14 = Instance.new("Weld", p14)
| |
| 5552 | w14.Name = "Joint" | |
| 5553 | w14.Part0 = p14 | |
| 5554 | w14.C0 = CFrame.new(-0.0500030518, -1.08452525e-007, 0.280000031, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388) | |
| 5555 | w14.Part1 = p1 | |
| 5556 | w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 5557 | m7.Parent = torso | |
| 5558 | m7:MakeJoints() | |
| 5559 | ---------------------------------------------------- | |
| 5560 | local cor7 = Instance.new("Part", torso.Amulet)
| |
| 5561 | cor7.Name = "Thingy" | |
| 5562 | cor7.Locked = true | |
| 5563 | cor7.BottomSurface = 0 | |
| 5564 | cor7.CanCollide = false | |
| 5565 | cor7.Size = Vector3.new(1, 1, 1) | |
| 5566 | cor7.Transparency = 1 | |
| 5567 | cor7.TopSurface = 0 | |
| 5568 | corw7 = Instance.new("Weld", cor7)
| |
| 5569 | corw7.Part0 = torso.Torso.Connection | |
| 5570 | corw7.Part1 = cor7 | |
| 5571 | corw7.C0 = CFrame.new(0, 0.26, 0.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)) | |
| 5572 | corw7.C1 = CFrame.new(0, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(140)) | |
| 5573 | weld7 = Instance.new("Weld", torso.Amulet)
| |
| 5574 | weld7.Part0 = cor7 | |
| 5575 | weld7.Part1 = torso.Amulet.Top | |
| 5576 | weld7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 5577 | ||
| 5578 | ------------------------------- | |
| 5579 | ||
| 5580 | ---------------------------------------------------- | |
| 5581 | ----------- | |
| 5582 | paly = game.Players.LocalPlayer | |
| 5583 | paly = game.Players.LocalPlayer | |
| 5584 | p = game.Players.LocalPlayer | |
| 5585 | char = paly.Character | |
| 5586 | vt = Vector3.new | |
| 5587 | rarm = char["Right Arm"] | |
| 5588 | larm = char["Left Arm"] | |
| 5589 | local maincolor = char.Torso.BrickColor | |
| 5590 | ||
| 5591 | local orb = Instance.new("Part")
| |
| 5592 | orb.Parent = char | |
| 5593 | orb.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 5594 | orb.Archivable = true | |
| 5595 | orb.Transparency = 1 | |
| 5596 | orb.BrickColor = maincolor | |
| 5597 | orb.Material = "Neon" | |
| 5598 | orb.CanCollide = false | |
| 5599 | local weld1 = Instance.new("Weld")
| |
| 5600 | weld1.Parent = rarm | |
| 5601 | weld1.Part0 = rarm | |
| 5602 | weld1.Part1 = orb | |
| 5603 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
| 5604 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
| 5605 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 5606 | local cr1 = ColorSequenceKeypoint.new(0,BrickColor.new('Mulberry').Color)
| |
| 5607 | local cr2 = ColorSequenceKeypoint.new(1,BrickColor.new('Really black').Color)
| |
| 5608 | local effecto = Instance.new("ParticleEmitter",orb)
| |
| 5609 | effecto.LightEmission = 0.3 | |
| 5610 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 5611 | effecto.Color = ColorSequence.new({cr1,cr2})
| |
| 5612 | effecto.Rate = 10000 | |
| 5613 | effecto.Lifetime = NumberRange.new(0.25) | |
| 5614 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 5615 | effecto.Speed = NumberRange.new(0,0) | |
| 5616 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 5617 | ||
| 5618 | local orbz = Instance.new("Part")
| |
| 5619 | orbz.Parent = char | |
| 5620 | orbz.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 5621 | orbz.Archivable = true | |
| 5622 | orbz.Transparency = 1 | |
| 5623 | orbz.BrickColor = maincolor | |
| 5624 | orbz.Material = "Neon" | |
| 5625 | orbz.CanCollide = false | |
| 5626 | local weldz1 = Instance.new("Weld")
| |
| 5627 | weldz1.Parent = larm | |
| 5628 | weldz1.Part0 = larm | |
| 5629 | weldz1.Part1 = orbz | |
| 5630 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
| 5631 | local effecton = Instance.new("ParticleEmitter",orbz)
| |
| 5632 | effecton.LightEmission = 0.3 | |
| 5633 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 5634 | effecton.Color = ColorSequence.new({cr1,cr2})
| |
| 5635 | effecton.Rate = 10000 | |
| 5636 | effecton.Lifetime = NumberRange.new(0.25) | |
| 5637 | effecton.Size = NumberSequence.new({pt1,pt2})
| |
| 5638 | effecton.Speed = NumberRange.new(0,0) | |
| 5639 | effecton.RotSpeed = NumberRange.new(100,100) | |
| 5640 | local orbze = Instance.new("Part")
| |
| 5641 | orbze.Parent = char | |
| 5642 | orbze.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 5643 | orbze.Archivable = true | |
| 5644 | orbze.Transparency = 1 | |
| 5645 | orbze.BrickColor = maincolor | |
| 5646 | orbze.Material = "Neon" | |
| 5647 | orbze.CanCollide = false | |
| 5648 | local weldze1 = Instance.new("Weld")
| |
| 5649 | weldze1.Parent = torso | |
| 5650 | weldze1.Part0 = torso | |
| 5651 | weldze1.Part1 = orbze | |
| 5652 | weldze1.C1 = CFrame.new(0, 1.125, 0) | |
| 5653 | local blast = Instance.new("ParticleEmitter",orbze)
| |
| 5654 | blast.Size=NumberSequence.new({nsk(0,2),nsk(0.65,10),nsk(1,0)})
| |
| 5655 | blast.Transparency=NumberSequence.new({nsk(0,1),nsk(0.65,0),nsk(1,1)})
| |
| 5656 | blast.Texture="rbxassetid://" .. "284205403" | |
| 5657 | blast.LightEmission=0 | |
| 5658 | blast.Lifetime=NumberRange.new(1) | |
| 5659 | blast.Color=ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 5660 | blast.Rate=3 | |
| 5661 | blast.Speed=NumberRange.new(0) | |
| 5662 | blast.LockedToPart=true | |
| 5663 | ------------------------------------------- | |
| 5664 | ||
| 5665 | mouse.KeyDown:connect(function(key) | |
| 5666 | if string.byte(key) == 52 then | |
| 5667 | char.Humanoid.WalkSpeed = 60 | |
| 5668 | end | |
| 5669 | end) | |
| 5670 | mouse.KeyUp:connect(function(key) | |
| 5671 | if string.byte(key) == 52 then | |
| 5672 | char.Humanoid.WalkSpeed = 8 | |
| 5673 | end | |
| 5674 | end) | |
| 5675 | ------------------------------- | |
| 5676 | for i,v in pairs(m3:children()) do | |
| 5677 | if v:IsA("Part") then
| |
| 5678 | v.Transparency=1 | |
| 5679 | end | |
| 5680 | end | |
| 5681 | for i,v in pairs(m7:children()) do | |
| 5682 | if v:IsA("Part") then
| |
| 5683 | v.Transparency=1 | |
| 5684 | end | |
| 5685 | end | |
| 5686 | ------------------------------- | |
| 5687 | local animpose = "Idle" | |
| 5688 | local lastanimpose = "Idle" | |
| 5689 | local sine = 0 | |
| 5690 | local change = 1 | |
| 5691 | local val = 0 | |
| 5692 | local och = 0 | |
| 5693 | local ffing = false | |
| 5694 | ------------------------------- | |
| 5695 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 5696 | --[[if char.Humanoid.Jump == true then | |
| 5697 | jump = true | |
| 5698 | else | |
| 5699 | jump = false | |
| 5700 | end]] | |
| 5701 | char.Humanoid.FreeFalling:connect(function(f) | |
| 5702 | if f then | |
| 5703 | ffing = true | |
| 5704 | else | |
| 5705 | ffing = false | |
| 5706 | end | |
| 5707 | end) | |
| 5708 | sine = sine + change | |
| 5709 | if jumpn == true then | |
| 5710 | animpose = "Jumping" | |
| 5711 | elseif ffing == true then | |
| 5712 | animpose = "Freefalling" | |
| 5713 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 5714 | animpose = "Idle" | |
| 5715 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 5716 | animpose = "Walking" | |
| 5717 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 5718 | animpose = "Running" | |
| 5719 | end | |
| 5720 | if animpose ~= lastanimpose then | |
| 5721 | sine = 0 | |
| 5722 | if Debounces.NoIdl == false then | |
| 5723 | if animpose == "Idle" then | |
| 5724 | for i = 1, 2 do | |
| 5725 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.51+0.05*math.cos(sine/14),0.245)*CFrame.Angles(math.rad(0),math.rad(-33),math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 5726 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.51+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(-32),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 5727 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0+6*math.cos(sine/14))), 0.2) | |
| 5728 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 5729 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, 0, math.rad(1+5*math.cos(sine/14))), 0.4) | |
| 5730 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, 0, math.rad(-1-5*math.cos(sine/14))), 0.4) | |
| 5731 | end | |
| 5732 | elseif animpose == "Walking" then | |
| 5733 | for i = 1, 2 do | |
| 5734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(0+3*math.cos(sine/14) + root.RotVelocity.Y / 15),math.rad(-28),math.rad(10+2*math.cos(sine/14) + root.RotVelocity.Y / 15)), 0.2) | |
| 5735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(0-3*math.cos(sine/14) - root.RotVelocity.Y / 15),math.rad(-45),math.rad(-10-2*math.cos(sine/14)) + root.RotVelocity.Y / 15), 0.2) | |
| 5736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),math.rad(0) + root.RotVelocity.Y / 15,0), 0.4) | |
| 5737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-10),math.rad(0) + root.RotVelocity.Y / 15, math.rad(0)), 0.05) | |
| 5738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/10), 0-0.35*math.cos(sine/5)) * CFrame.Angles(math.rad(0+25*math.cos(sine/5)), math.rad(0) + root.RotVelocity.Y / 15, 0), 0.4) | |
| 5739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0+0.35*math.cos(sine/5)) * CFrame.Angles(math.rad(0-25*math.cos(sine/5)),math.rad(0) + root.RotVelocity.Y / 15,0), 0.4) | |
| 5740 | end | |
| 5741 | elseif animpose == "Running" then | |
| 5742 | for i = 1, 2 do | |
| 5743 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 5744 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 5745 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 5746 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 5747 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 5748 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 5749 | wait() | |
| 5750 | end | |
| 5751 | end | |
| 5752 | else | |
| 5753 | end | |
| 5754 | end | |
| 5755 | lastanimpose = animpose | |
| 5756 | if Debounces.NoIdl == false then | |
| 5757 | if animpose == "Idle" then | |
| 5758 | change = 0.5 | |
| 5759 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.51+0.05*math.cos(sine/14),0.245)*CFrame.Angles(math.rad(0),math.rad(-32),math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 5760 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.51+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(-32),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 5761 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0+6*math.cos(sine/14))), 0.2) | |
| 5762 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 5763 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, 0, math.rad(1+5*math.cos(sine/14))), 0.4) | |
| 5764 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, 0, math.rad(-1-5*math.cos(sine/14))), 0.4) | |
| 5765 | elseif animpose == "Walking" then | |
| 5766 | change = 1 | |
| 5767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(0+3*math.cos(sine/14)) - root.RotVelocity.Y / 15,math.rad(-28),math.rad(10+2*math.cos(sine/14)) + root.RotVelocity.Y / 15), 0.2) | |
| 5768 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(0-3*math.cos(sine/14)) + root.RotVelocity.Y / 15,math.rad(-28),math.rad(-10-2*math.cos(sine/14)) + root.RotVelocity.Y / 15), 0.2) | |
| 5769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),math.rad(0) + root.RotVelocity.Y / 15,0), 0.4) | |
| 5770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/10), 0) * CFrame.Angles(math.rad(-10),math.rad(0) + root.RotVelocity.Y / 15, math.rad(0)), 0.05) | |
| 5771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/10), 0-0.35*math.cos(sine/5)) * CFrame.Angles(math.rad(0+25*math.cos(sine/5)), math.rad(0) + root.RotVelocity.Y / 15, 0), 0.4) | |
| 5772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0+0.35*math.cos(sine/5)) * CFrame.Angles(math.rad(0-25*math.cos(sine/5)),math.rad(0) + root.RotVelocity.Y / 15,0), 0.4) | |
| 5773 | elseif animpose == "Running" then | |
| 5774 | change = 1 | |
| 5775 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
| 5776 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
| 5777 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
| 5778 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
| 5779 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
| 5780 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
| 5781 | end | |
| 5782 | end | |
| 5783 | end) | |
| 5784 | ||
| 5785 | hum.MaxHealth = 9001 | |
| 5786 | wait(3) | |
| 5787 | hum.Health = 9001 | |
| 5788 | ||
| 5789 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 5790 | --[[Part0 = Vector3 (Start pos) | |
| 5791 | Part1 = Vector3 (End pos) | |
| 5792 | Times = number (Amount of lightning parts) | |
| 5793 | Offset = number (Offset) | |
| 5794 | Color = color (brickcolor value) | |
| 5795 | Thickness = number (thickness) | |
| 5796 | Trans = number (transparency) | |
| 5797 | ]]-- | |
| 5798 | local magz = (Part0 - Part1).magnitude | |
| 5799 | local curpos = Part0 | |
| 5800 | local trz = {-Offset,Offset}
| |
| 5801 | for i=1,Times do | |
| 5802 | local li = Instance.new("Part", torso)
| |
| 5803 | li.Name = "Lightning" | |
| 5804 | li.TopSurface =0 | |
| 5805 | li.Material = "Neon" | |
| 5806 | li.BottomSurface = 0 | |
| 5807 | li.Anchored = true | |
| 5808 | li.Locked = true | |
| 5809 | li.Transparency = Trans or 0.4 | |
| 5810 | li.BrickColor = TorsoColor | |
| 5811 | li.formFactor = "Custom" | |
| 5812 | li.CanCollide = false | |
| 5813 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 5814 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 5815 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 5816 | if Times == i then | |
| 5817 | local magz2 = (curpos - Part1).magnitude | |
| 5818 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 5819 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 5820 | else | |
| 5821 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 5822 | end | |
| 5823 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 5824 | game.Debris:AddItem(li,.1) | |
| 5825 | end | |
| 5826 | end | |
| 5827 | ||
| 5828 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 5829 | for _, v in pairs(char:GetChildren()) do | |
| 5830 | if v:IsA("Part") then
| |
| 5831 | table.insert(BodyParts, v) | |
| 5832 | end | |
| 5833 | end | |
| 5834 | ||
| 5835 | Bounding = {} -- Calculate the bounding boxes
| |
| 5836 | for _, v in pairs(BodyParts) do | |
| 5837 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 5838 | temp.X = v.Size.X/2 * 10 | |
| 5839 | temp.Y = v.Size.Y/2 * 10 | |
| 5840 | temp.Z = v.Size.Z/2 * 10 | |
| 5841 | Bounding[v.Name] = temp | |
| 5842 | --table.insert(Bounding, v.Name, temp) | |
| 5843 | end | |
| 5844 | ||
| 5845 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
| 5846 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 5847 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 5848 | local Pos1 = Vector3.new( | |
| 5849 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 5850 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 5851 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 5852 | ) | |
| 5853 | local Pos2 = Vector3.new( | |
| 5854 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 5855 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 5856 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 5857 | ) | |
| 5858 | local SPos1 = Body1.Position + Pos1 | |
| 5859 | local SPos2 = Body2.Position + Pos2 | |
| 5860 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
| 5861 | end | |
| 5862 | och=och+1 | |
| 5863 | for _,v in pairs(orbt) do | |
| 5864 | pcall(function() | |
| 5865 | v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8))) | |
| 5866 | end) | |
| 5867 | end | |
| 5868 | for _,v in pairs(stlt) do | |
| 5869 | pcall(function() | |
| 5870 | v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1) | |
| 5871 | end) | |
| 5872 | end | |
| 5873 | for _,v in pairs(chot) do | |
| 5874 | pcall(function() | |
| 5875 | v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1) | |
| 5876 | v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1)) | |
| 5877 | end) | |
| 5878 | end | |
| 5879 | for _,v in pairs(cfxt) do | |
| 5880 | pcall(function() | |
| 5881 | local vs=v.Mesh.Scale | |
| 5882 | v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5) | |
| 5883 | v.Transparency=v.Transparency+0.05 | |
| 5884 | end) | |
| 5885 | end | |
| 5886 | for _,v in pairs(pfxt) do | |
| 5887 | pcall(function() | |
| 5888 | local vs=v.Mesh.Scale | |
| 5889 | v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2) | |
| 5890 | v.Transparency=v.Transparency+0.025 | |
| 5891 | end) | |
| 5892 | end |