SHOW:
|
|
- or go back to the newest paste.
| 1 | wait(2.0) | |
| 2 | - | local char = game.Players.Darxiuss.Character |
| 2 | + | local char = game.Players.ththth00.Character |
| 3 | for i,v in pairs(char:children()) do | |
| 4 | if v:IsA("Accessory") then
| |
| 5 | v:Destroy() | |
| 6 | end | |
| 7 | end | |
| 8 | local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
| |
| 9 | aura.Size = NumberSequence.new(0) | |
| 10 | aura.Lifetime = NumberRange.new(0) | |
| 11 | aura.LightEmission = 0 | |
| 12 | local jun = game.Players.LocalPlayer | |
| 13 | local p = game.Players.LocalPlayer | |
| 14 | local char = p.Character | |
| 15 | local mouse = p:GetMouse() | |
| 16 | local larm = char["Left Arm"] | |
| 17 | local rarm = char["Right Arm"] | |
| 18 | local lleg = char["Left Leg"] | |
| 19 | local rleg = char["Right Leg"] | |
| 20 | local hed = char.Head | |
| 21 | local torso = char.Torso | |
| 22 | local hum = char.Humanoid | |
| 23 | local cam = game.Workspace.CurrentCamera | |
| 24 | local root = char.HumanoidRootPart | |
| 25 | local deb = false | |
| 26 | local shot = 0 | |
| 27 | local debris=game:service"Debris" | |
| 28 | local l = game:GetService("Lighting")
| |
| 29 | local rs = game:GetService("RunService").RenderStepped
| |
| 30 | ||
| 31 | ypcall(function() | |
| 32 | shirt = Instance.new("Shirt", char)
| |
| 33 | shirt.Name = "Shirt" | |
| 34 | pants = Instance.new("Pants", char)
| |
| 35 | pants.Name = "Pants" | |
| 36 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" | |
| 37 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" | |
| 38 | end) | |
| 39 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 40 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 41 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 42 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 43 | Hair99 = Instance.new("Part")
| |
| 44 | ||
| 45 | Hair99.Parent = jun.Character | |
| 46 | Hair99.Name = "Hair" | |
| 47 | Hair99.formFactor = "Symmetric" | |
| 48 | Hair99.Size = Vector3.new(1, 1, 1) | |
| 49 | Hair99.CFrame = jun.Character.Head.CFrame | |
| 50 | Hair99:BreakJoints() | |
| 51 | Hair99.CanCollide = false | |
| 52 | Hair99.TopSurface = "Smooth" | |
| 53 | Hair99.BottomSurface = "Smooth" | |
| 54 | Hair99.BrickColor = BrickColor.new("New Yeller")
| |
| 55 | Hair99.Transparency = 1 | |
| 56 | ||
| 57 | Weld = Instance.new("Weld")
| |
| 58 | Weld.Part0 = jun.Character.Head | |
| 59 | Weld.Part1 = Hair99 | |
| 60 | Weld.Parent = jun.Character.Head | |
| 61 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 62 | ||
| 63 | Hair7 = Instance.new("Part")
| |
| 64 | Hair7.Parent = jun.Character | |
| 65 | Hair7.Name = "Hair" | |
| 66 | Hair7.CanCollide = false | |
| 67 | Hair7.Locked = true | |
| 68 | Hair7.TopSurface = "Smooth" | |
| 69 | Hair7.BottomSurface = "Smooth" | |
| 70 | Hair7.formFactor = "Symmetric" | |
| 71 | Hair7.Material = "Neon" | |
| 72 | Hair7.BrickColor = BrickColor.new("Black")
| |
| 73 | Hair7.CFrame = jun.Character.Torso.CFrame | |
| 74 | Hair7.Size = Vector3.new(1, 1, 1) | |
| 75 | Hair7.Transparency = 1 | |
| 76 | ||
| 77 | Mesh = Instance.new("SpecialMesh")
| |
| 78 | Mesh.Parent = Hair99 | |
| 79 | Mesh.MeshType = "Sphere" | |
| 80 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
| 81 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 82 | ||
| 83 | ||
| 84 | Weld = Instance.new("Weld")
| |
| 85 | Weld.Parent = jun.Character.Head | |
| 86 | Weld.Part0 = jun.Character.Head | |
| 87 | Weld.Part1 = Hair7 | |
| 88 | Weld.C0 = CFrame.new(0, 1, 0) | |
| 89 | ||
| 90 | Mesh = Instance.new("SpecialMesh")
| |
| 91 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
| 92 | Mesh.Parent = Hair7 | |
| 93 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 94 | Mesh.MeshType = "FileMesh" | |
| 95 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
| 96 | Mesh.TextureId = "" | |
| 97 | ||
| 98 | ||
| 99 | for i = 1, 6 do | |
| 100 | Hair99.Transparency = Hair99.Transparency - .2 | |
| 101 | Hair7.Transparency = Hair7.Transparency - .2 | |
| 102 | wait(0) | |
| 103 | end | |
| 104 | local m = Instance.new("Model")
| |
| 105 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://0" | |
| 106 | local p = game.Players.LocalPlayer | |
| 107 | local char = p.Character | |
| 108 | local mouse = p:GetMouse() | |
| 109 | local larm = char["Left Arm"] | |
| 110 | local rarm = char["Right Arm"] | |
| 111 | local lleg = char["Left Leg"] | |
| 112 | local rleg = char["Right Leg"] | |
| 113 | local hed = char.Head | |
| 114 | local torso = char.Torso | |
| 115 | local hum = char.Humanoid | |
| 116 | local cam = game.Workspace.CurrentCamera | |
| 117 | local root = char.HumanoidRootPart | |
| 118 | local deb = false | |
| 119 | local shot = 0 | |
| 120 | local debris=game:service"Debris" | |
| 121 | local l = game:GetService("Lighting")
| |
| 122 | local rs = game:GetService("RunService").RenderStepped
| |
| 123 | ||
| 124 | ||
| 125 | local p = game.Players.LocalPlayer | |
| 126 | local char = p.Character | |
| 127 | z = Instance.new("Sound", char)
| |
| 128 | z.SoundId = "rbxassetid://740161429" | |
| 129 | z.Pitch = 1 | |
| 130 | z.Volume = 999 | |
| 131 | wait(.1) | |
| 132 | z:Play() | |
| 133 | Vegeta = Instance.new("Model",game.Players.LocalPlayer.Character.Torso)
| |
| 134 | Vegeta.Name = "Vegeta" | |
| 135 | humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 136 | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 137 | shirt.Name = "Shirt" | |
| 138 | pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 139 | pants.Name = "Pants" | |
| 140 | torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 141 | torso.Size = Vector3.new(2,2,1) | |
| 142 | torso.Rotation = Vector3.new(0,180,0) | |
| 143 | torso.Position = Vector3.new(0,4,0) | |
| 144 | torso.BrickColor = BrickColor.new("Pastel brown")
| |
| 145 | torso.Name = "Torso" | |
| 146 | head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 147 | head.Size = Vector3.new(1.25,1.25,1.25) | |
| 148 | head.BrickColor = BrickColor.new("Pastel brown")
| |
| 149 | head.Name = "Head" | |
| 150 | head.Position = Vector3.new(0,6,0) | |
| 151 | headmesh = Instance.new("SpecialMesh",head)
| |
| 152 | headmesh.MeshType = "Head" | |
| 153 | larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 154 | larm.Size = Vector3.new(1,2,1) | |
| 155 | larm.BrickColor = BrickColor.new("Pastel brown")
| |
| 156 | larm.Name = "Left Arm" | |
| 157 | larm.Position = Vector3.new(-2,4,0) | |
| 158 | rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 159 | rarm.Size = Vector3.new(1,2,1) | |
| 160 | rarm.BrickColor = BrickColor.new("Pastel brown")
| |
| 161 | rarm.Name = "Right Arm" | |
| 162 | rarm.Position = Vector3.new(2,4,0) | |
| 163 | lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 164 | lleg.Size = Vector3.new(1,2,1) | |
| 165 | lleg.Name = "Left Leg" | |
| 166 | lleg.Position = Vector3.new(1,2,0) | |
| 167 | rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 168 | rleg.Size = Vector3.new(1,2,1) | |
| 169 | rleg.Name = "Right Leg" | |
| 170 | rleg.Position = Vector3.new(-1,2,0) | |
| 171 | headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Head)
| |
| 172 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 173 | headweld.Part1 = torso | |
| 174 | headweld.C0 = CFrame.new(0, -1.5, 0) | |
| 175 | larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 176 | larmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 177 | larmweld.Part1 = larm | |
| 178 | larmweld.C0 = CFrame.new(1.5, 0, 0) | |
| 179 | rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 180 | rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 181 | rarmweld.Part1 = rarm | |
| 182 | rarmweld.C0 = CFrame.new(-1.5, 0, 0) | |
| 183 | rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 184 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 185 | rlegweld.Part1 = rleg | |
| 186 | rlegweld.C0 = CFrame.new(-0.5, -2, 0) | |
| 187 | llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 188 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 189 | llegweld.Part1 = lleg | |
| 190 | llegweld.C0 = CFrame.new(0.5, -2, 0) | |
| 191 | modelhair = Instance.new("Model",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 192 | modelhair.Name = "Hair" | |
| 193 | hair = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair)
| |
| 194 | hair.Name = "hair" | |
| 195 | hair.BrickColor = BrickColor.new("Black")
| |
| 196 | hairmesh = Instance.new("SpecialMesh",hair)
| |
| 197 | hairmesh.Scale = Vector3.new(7,7,7) | |
| 198 | hairmesh.Offset = Vector3.new(0, 0.8, 0.7) | |
| 199 | hairmesh.MeshType = "FileMesh" | |
| 200 | hairmesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
| 201 | hairweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair)
| |
| 202 | hairweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 203 | hairweld.Part1 = hair | |
| 204 | hairweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 205 | npctoplayer = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso)
| |
| 206 | npctoplayer.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 207 | npctoplayer.Part1 = torso | |
| 208 | npctoplayer.C0 = CFrame.new(5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 209 | game.Players.LocalPlayer.Character.Torso.Vegeta.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268667762" | |
| 210 | game.Players.LocalPlayer.Character.Torso.Vegeta.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268667843" | |
| 211 | hum.WalkSpeed = 0 | |
| 212 | ||
| 213 | ||
| 214 | earring1 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 215 | earring1.Size = Vector3.new(2,2,2) | |
| 216 | earring1.CanCollide = false | |
| 217 | earring1.Position = earring1.Position + Vector3.new(999,999,999) | |
| 218 | earring1.BrickColor = BrickColor.new("New Yeller")
| |
| 219 | earmesh1 = Instance.new("SpecialMesh",earring1)
| |
| 220 | earmesh1.MeshType = "Sphere" | |
| 221 | earmesh1.Scale = Vector3.new(0.15,0.15,0.15) | |
| 222 | earweld1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 223 | earweld1.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 224 | earweld1.Part1 = earring1 | |
| 225 | earweld1.C0 = CFrame.new(0.7, -0.2, 0) | |
| 226 | earring2 = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta.Head)
| |
| 227 | earring2.Size = Vector3.new(2,2,2) | |
| 228 | earring2.Position = earring2.Position + Vector3.new(999,999,999) | |
| 229 | earring2.CanCollide = false | |
| 230 | earring2.BrickColor = BrickColor.new("New Yeller")
| |
| 231 | earmesh2 = Instance.new("SpecialMesh",earring2)
| |
| 232 | earmesh2.MeshType = "Sphere" | |
| 233 | earmesh2.Scale = Vector3.new(0.15,0.15,0.15) | |
| 234 | earweld2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 235 | earweld2.Part0 = game.Players.LocalPlayer.Character.Head | |
| 236 | earweld2.Part1 = earring2 | |
| 237 | earweld2.C0 = CFrame.new(-0.7, -0.2, 0) | |
| 238 | wait(3) | |
| 239 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Lets Go","Red")
| |
| 240 | wait(2.0) | |
| 241 | earring5 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 242 | earring5.Size = Vector3.new(2,2,2) | |
| 243 | earring5.CanCollide = false | |
| 244 | earring5.Position = earring5.Position + Vector3.new(999,999,999) | |
| 245 | earring5.BrickColor = BrickColor.new("White")
| |
| 246 | earmesh5 = Instance.new("SpecialMesh",earring5)
| |
| 247 | earmesh5.MeshType = "Sphere" | |
| 248 | earring5.TopSurface = "Smooth" | |
| 249 | earring5.BottomSurface = "Smooth" | |
| 250 | earmesh5.Scale = Vector3.new(0.15,0.15,0.15) | |
| 251 | earweld5 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 252 | earweld5.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 253 | earweld5.Part1 = earring5 | |
| 254 | earweld5.C0 = CFrame.new(2.5, 1, 0) | |
| 255 | ||
| 256 | for i=1,5 do | |
| 257 | wait(0.1) | |
| 258 | earmesh5.Scale = earmesh5.Scale + Vector3.new(1,1,1) | |
| 259 | end | |
| 260 | ||
| 261 | wait(0.1) | |
| 262 | ||
| 263 | game.Players.LocalPlayer.Character.Torso.Vegeta:Destroy() | |
| 264 | ||
| 265 | ||
| 266 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 267 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 268 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 269 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 270 | local p = game.Players.LocalPlayer | |
| 271 | local char = p.Character | |
| 272 | local mouse = p:GetMouse() | |
| 273 | local larm = char["Left Arm"] | |
| 274 | local rarm = char["Right Arm"] | |
| 275 | local lleg = char["Left Leg"] | |
| 276 | local rleg = char["Right Leg"] | |
| 277 | local hed = char.Head | |
| 278 | local torso = char.Torso | |
| 279 | local hum = char.Humanoid | |
| 280 | local cam = game.Workspace.CurrentCamera | |
| 281 | local root = char.HumanoidRootPart | |
| 282 | local deb = false | |
| 283 | local shot = 0 | |
| 284 | local debris=game:service"Debris" | |
| 285 | local l = game:GetService("Lighting")
| |
| 286 | local rs = game:GetService("RunService").RenderStepped
| |
| 287 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 288 | function lerp(a, b, t) -- Linear interpolation | |
| 289 | return a + (b - a)*t | |
| 290 | end | |
| 291 | ||
| 292 | function slerp(a, b, t) --Spherical interpolation | |
| 293 | dot = a:Dot(b) | |
| 294 | if dot > 0.99999 or dot < -0.99999 then | |
| 295 | return t <= 0.5 and a or b | |
| 296 | else | |
| 297 | r = math.acos(dot) | |
| 298 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 299 | end | |
| 300 | end | |
| 301 | function matrixInterpolate(a, b, t) | |
| 302 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 303 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 304 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 305 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 306 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 307 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 308 | local t = v1:Dot(v2) | |
| 309 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 310 | return CFrame.new() | |
| 311 | end | |
| 312 | return CFrame.new( | |
| 313 | v0.x, v0.y, v0.z, | |
| 314 | v1.x, v1.y, v1.z, | |
| 315 | v2.x, v2.y, v2.z, | |
| 316 | v3.x, v3.y, v3.z) | |
| 317 | end | |
| 318 | ---------------------------------------------------- | |
| 319 | function genWeld(a,b) | |
| 320 | local w = Instance.new("Weld",a)
| |
| 321 | w.Part0 = a | |
| 322 | w.Part1 = b | |
| 323 | return w | |
| 324 | end | |
| 325 | function weld(a, b) | |
| 326 | local weld = Instance.new("Weld")
| |
| 327 | weld.Name = "W" | |
| 328 | weld.Part0 = a | |
| 329 | weld.Part1 = b | |
| 330 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 331 | weld.Parent = a | |
| 332 | return weld; | |
| 333 | end | |
| 334 | ---------------------------------------------------- | |
| 335 | function Lerp(c1,c2,al) | |
| 336 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 337 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 338 | for i,v in pairs(com1) do | |
| 339 | com1[i] = v+(com2[i]-v)*al | |
| 340 | end | |
| 341 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 342 | end | |
| 343 | ---------------------------------------------------- | |
| 344 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 345 | local wld = Instance.new("Weld", wp1)
| |
| 346 | wld.Part0 = wp0 | |
| 347 | wld.Part1 = wp1 | |
| 348 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 349 | end | |
| 350 | ---------------------------------------------------- | |
| 351 | function weld5(part0, part1, c0, c1) | |
| 352 | weeld=Instance.new("Weld", part0)
| |
| 353 | weeld.Part0=part0 | |
| 354 | weeld.Part1=part1 | |
| 355 | weeld.C0=c0 | |
| 356 | weeld.C1=c1 | |
| 357 | return weeld | |
| 358 | end | |
| 359 | ---------------------------------------------------- | |
| 360 | function HasntTouched(plrname) | |
| 361 | local ret = true | |
| 362 | for _, v in pairs(Touche) do | |
| 363 | if v == plrname then | |
| 364 | ret = false | |
| 365 | end | |
| 366 | end | |
| 367 | return ret | |
| 368 | end | |
| 369 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 370 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 371 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 372 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 373 | newWeld(torso, hed, 0, 1.5, 0) | |
| 374 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 375 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 376 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 377 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 378 | newWeld(root, torso, 0, -1, 0) | |
| 379 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 380 | hum.MaxHealth = math.huge | |
| 381 | wait(1) | |
| 382 | hum.Health = math.huge | |
| 383 | ---------------------------------------------------- | |
| 384 | local p = game.Players.LocalPlayer | |
| 385 | local char = p.Character | |
| 386 | local mouse = p:GetMouse() | |
| 387 | local larm = char["Left Arm"] | |
| 388 | local rarm = char["Right Arm"] | |
| 389 | local lleg = char["Left Leg"] | |
| 390 | local rleg = char["Right Leg"] | |
| 391 | local hed = char.Head | |
| 392 | local torso = char.Torso | |
| 393 | local hum = char.Humanoid | |
| 394 | local cam = game.Workspace.CurrentCamera | |
| 395 | local root = char.HumanoidRootPart | |
| 396 | local deb = false | |
| 397 | local shot = 0 | |
| 398 | local debris=game:service"Debris" | |
| 399 | local l = game:GetService("Lighting")
| |
| 400 | local rs = game:GetService("RunService").RenderStepped
| |
| 401 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 402 | math.randomseed(os.time()) | |
| 403 | for i,v in pairs(char:children()) do | |
| 404 | if v:IsA("Hat") then
| |
| 405 | v:Destroy() | |
| 406 | end | |
| 407 | end | |
| 408 | for i,v in pairs (hed:GetChildren()) do | |
| 409 | if v:IsA("Sound") then
| |
| 410 | v:Destroy() | |
| 411 | end | |
| 412 | end | |
| 413 | ---------------------------------------------------- | |
| 414 | Debounces = {
| |
| 415 | CanAttack = true; | |
| 416 | NoIdl = false; | |
| 417 | Slashing = false; | |
| 418 | Slashed = false; | |
| 419 | RPunch = false; | |
| 420 | RPunched = false; | |
| 421 | LPunch = false; | |
| 422 | LPunched = false; | |
| 423 | } | |
| 424 | local Touche = {char.Name, }
| |
| 425 | ---------------------------------------------------- | |
| 426 | ||
| 427 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 428 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 429 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 430 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 431 | ---------------------------------------------------- | |
| 432 | ||
| 433 | ---------------------------------------------------- | |
| 434 | function lerp(a, b, t) -- Linear interpolation | |
| 435 | return a + (b - a)*t | |
| 436 | end | |
| 437 | ||
| 438 | function slerp(a, b, t) --Spherical interpolation | |
| 439 | dot = a:Dot(b) | |
| 440 | if dot > 0.99999 or dot < -0.99999 then | |
| 441 | return t <= 0.5 and a or b | |
| 442 | else | |
| 443 | r = math.acos(dot) | |
| 444 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 445 | end | |
| 446 | end | |
| 447 | ||
| 448 | function matrixInterpolate(a, b, t) | |
| 449 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 450 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 451 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 452 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 453 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 454 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 455 | local t = v1:Dot(v2) | |
| 456 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 457 | return CFrame.new() | |
| 458 | end | |
| 459 | return CFrame.new( | |
| 460 | v0.x, v0.y, v0.z, | |
| 461 | v1.x, v1.y, v1.z, | |
| 462 | v2.x, v2.y, v2.z, | |
| 463 | v3.x, v3.y, v3.z) | |
| 464 | end | |
| 465 | ---------------------------------------------------- | |
| 466 | function genWeld(a,b) | |
| 467 | local w = Instance.new("Weld",a)
| |
| 468 | w.Part0 = a | |
| 469 | w.Part1 = b | |
| 470 | return w | |
| 471 | end | |
| 472 | function weld(a, b) | |
| 473 | local weld = Instance.new("Weld")
| |
| 474 | weld.Name = "W" | |
| 475 | weld.Part0 = a | |
| 476 | weld.Part1 = b | |
| 477 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 478 | weld.Parent = a | |
| 479 | return weld; | |
| 480 | end | |
| 481 | ---------------------------------------------------- | |
| 482 | function Lerp(c1,c2,al) | |
| 483 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 484 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 485 | for i,v in pairs(com1) do | |
| 486 | com1[i] = v+(com2[i]-v)*al | |
| 487 | end | |
| 488 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 489 | end | |
| 490 | ---------------------------------------------------- | |
| 491 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 492 | local wld = Instance.new("Weld", wp1)
| |
| 493 | wld.Part0 = wp0 | |
| 494 | wld.Part1 = wp1 | |
| 495 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 496 | end | |
| 497 | ---------------------------------------------------- | |
| 498 | function weld5(part0, part1, c0, c1) | |
| 499 | weeld=Instance.new("Weld", part0)
| |
| 500 | weeld.Part0=part0 | |
| 501 | weeld.Part1=part1 | |
| 502 | weeld.C0=c0 | |
| 503 | weeld.C1=c1 | |
| 504 | return weeld | |
| 505 | end | |
| 506 | ---------------------------------------------------- | |
| 507 | function HasntTouched(plrname) | |
| 508 | local ret = true | |
| 509 | for _, v in pairs(Touche) do | |
| 510 | if v == plrname then | |
| 511 | ret = false | |
| 512 | end | |
| 513 | end | |
| 514 | return ret | |
| 515 | end | |
| 516 | ---------------------------------------------------- | |
| 517 | ||
| 518 | ---------------------------------------------------- | |
| 519 | ||
| 520 | ---------------------------------------------------- | |
| 521 | local Transforming = true | |
| 522 | ||
| 523 | ||
| 524 | ||
| 525 | ||
| 526 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
| 527 | if c.className == "Hat" then -- base form hair. | |
| 528 | c.Handle.Transparency = 0 -- Put after transformation | |
| 529 | end | |
| 530 | if c.Name == "Hair" then | |
| 531 | c:Remove() | |
| 532 | end | |
| 533 | end | |
| 534 | wait(1.0) | |
| 535 | ypcall(function() | |
| 536 | ||
| 537 | shirt = Instance.new("Shirt", char)
| |
| 538 | shirt.Name = "Shirt" | |
| 539 | pants = Instance.new("Pants", char)
| |
| 540 | pants.Name = "Pants" | |
| 541 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276106335" | |
| 542 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=254301872" | |
| 543 | end) | |
| 544 | ---------------------------------------------------- | |
| 545 | local m = Instance.new("Model")
| |
| 546 | m.Name = "Hair" | |
| 547 | b1 = Instance.new("SpecialMesh", p)
| |
| 548 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 549 | b1.TextureId = "" | |
| 550 | b1.MeshType = Enum.MeshType.FileMesh | |
| 551 | b1.Name = "Mesh" | |
| 552 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 553 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 554 | p2 = Instance.new("Part", m)
| |
| 555 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 556 | p2.Transparency = 1 | |
| 557 | p2.Name = "Head" | |
| 558 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 559 | p2.Size = Vector3.new(2, 1, 1) | |
| 560 | p2.CFrame = CFrame.new(9,9,9) | |
| 561 | p2.CanCollide = false | |
| 562 | p2.Locked = true | |
| 563 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 564 | b2 = Instance.new("SpecialMesh", p2)
| |
| 565 | b2.MeshType = Enum.MeshType.Head | |
| 566 | b2.Name = "Mesh" | |
| 567 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 568 | p3 = Instance.new("Part", m)
| |
| 569 | p3.BrickColor = BrickColor.new("Dark red")
| |
| 570 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 571 | p3.Size = Vector3.new(3,3,3) | |
| 572 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
| 573 | p3.CanCollide = false | |
| 574 | p3.Locked = true | |
| 575 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 576 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 577 | b3 = Instance.new("SpecialMesh", p3)
| |
| 578 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
| 579 | b3.TextureId = "" | |
| 580 | b3.MeshType = Enum.MeshType.FileMesh | |
| 581 | b3.Name = "Mesh" | |
| 582 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 583 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
| 584 | w1 = Instance.new("Weld", p1)
| |
| 585 | w1.Name = "Head_Weld" | |
| 586 | w1.Part0 = p1 | |
| 587 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
| 588 | w1.Part1 = p2 | |
| 589 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 590 | w2 = Instance.new("Weld", p2)
| |
| 591 | w2.Name = "Part_Weld" | |
| 592 | w2.Part0 = p2 | |
| 593 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 594 | w2.Part1 = p3 | |
| 595 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 596 | w3 = Instance.new("Weld", p3)
| |
| 597 | w3.Name = "Part_Weld" | |
| 598 | w3.Part0 = p3 | |
| 599 | w3.C0 = CFrame.new() | |
| 600 | w3.Part1 = p4 | |
| 601 | w3.C1 = CFrame.new() | |
| 602 | ||
| 603 | m.Parent = char | |
| 604 | m:MakeJoints() | |
| 605 | ---------------------------------------------------- | |
| 606 | local cor = Instance.new("Part", char.Hair)
| |
| 607 | cor.Name = "Link" | |
| 608 | cor.Locked = true | |
| 609 | cor.BottomSurface = 0 | |
| 610 | cor.CanCollide = false | |
| 611 | cor.Size = Vector3.new(1, 9, 1) | |
| 612 | cor.Transparency = 1 | |
| 613 | cor.TopSurface = 0 | |
| 614 | corw = Instance.new("Weld", cor)
| |
| 615 | corw.Part0 = hed | |
| 616 | corw.Part1 = cor | |
| 617 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 618 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 619 | weld1 = Instance.new("Weld", char.Hair)
| |
| 620 | weld1.Part0 = cor | |
| 621 | weld1.Part1 = char.Hair.Head | |
| 622 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 623 | ---------------------------------------------------- | |
| 624 | GroundWave1 = function() | |
| 625 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 626 | local Colors = {"New Yeller", "New Yeller"}
| |
| 627 | local wave = Instance.new("Part", torso)
| |
| 628 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 629 | wave.Anchored = true | |
| 630 | wave.CanCollide = false | |
| 631 | wave.Locked = true | |
| 632 | wave.Size = Vector3.new(1, 1, 1) | |
| 633 | wave.TopSurface = "Smooth" | |
| 634 | wave.BottomSurface = "Smooth" | |
| 635 | wave.Transparency = 0.35 | |
| 636 | wave.CFrame = HandCF | |
| 637 | wm = Instance.new("SpecialMesh", wave)
| |
| 638 | wm.MeshId = "rbxassetid://3270017" | |
| 639 | coroutine.wrap(function() | |
| 640 | for i = 1, 30, 1 do | |
| 641 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
| 642 | wave.Size = wm.Scale | |
| 643 | wave.CFrame = HandCF | |
| 644 | wave.Transparency = i/30 | |
| 645 | wait() | |
| 646 | end | |
| 647 | wait() | |
| 648 | wave:Destroy() | |
| 649 | end)() | |
| 650 | end | |
| 651 | ---------------------------------------------------- | |
| 652 | GroundWave = function() | |
| 653 | if Transforming == true then | |
| 654 | local wave = Instance.new("Part", torso)
| |
| 655 | wave.BrickColor = BrickColor.new("Teal")
| |
| 656 | wave.Anchored = true | |
| 657 | wave.CanCollide = false | |
| 658 | wave.Locked = true | |
| 659 | wave.Size = Vector3.new(1, 1, 1) | |
| 660 | wave.TopSurface = "Smooth" | |
| 661 | wave.BottomSurface = "Smooth" | |
| 662 | wave.Transparency = 0.35 | |
| 663 | wm = Instance.new("SpecialMesh", wave)
| |
| 664 | wm.MeshType = "Sphere" | |
| 665 | wm.Scale = Vector3.new(1,1,1) | |
| 666 | coroutine.wrap(function() | |
| 667 | ||
| 668 | wait() | |
| 669 | wave:Destroy() | |
| 670 | end)() | |
| 671 | elseif Transforming == false then | |
| 672 | wait() | |
| 673 | end | |
| 674 | end | |
| 675 | ||
| 676 | ||
| 677 | ||
| 678 | spawn(function() | |
| 679 | while wait(1) do | |
| 680 | GroundWave() | |
| 681 | end | |
| 682 | end) | |
| 683 | ||
| 684 | wait(4) | |
| 685 | ||
| 686 | Transforming = false | |
| 687 | earring1 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 688 | earring1.Size = Vector3.new(2,2,2) | |
| 689 | earring1.CanCollide = false | |
| 690 | earring1.Position = Vector3.new(999,999,999) | |
| 691 | earring1.BrickColor = BrickColor.new("New Yeller")
| |
| 692 | earmesh1 = Instance.new("SpecialMesh",earring1)
| |
| 693 | earmesh1.MeshType = "Sphere" | |
| 694 | earmesh1.Scale = Vector3.new(0.15,0.15,0.15) | |
| 695 | earweld1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 696 | earweld1.Part0 = game.Players.LocalPlayer.Character.Head | |
| 697 | earweld1.Part1 = earring1 | |
| 698 | earweld1.C0 = CFrame.new(0.7, -0.2, 0) | |
| 699 | earring2 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 700 | earring2.Size = Vector3.new(2,2,2) | |
| 701 | earring2.CanCollide = false | |
| 702 | earring2.Position = Vector3.new(999,999,999) | |
| 703 | earring2.BrickColor = BrickColor.new("New Yeller")
| |
| 704 | earmesh2 = Instance.new("SpecialMesh",earring2)
| |
| 705 | earmesh2.MeshType = "Sphere" | |
| 706 | earmesh2.Scale = Vector3.new(0.15,0.15,0.15) | |
| 707 | earweld2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 708 | earweld2.Part0 = game.Players.LocalPlayer.Character.Head | |
| 709 | earweld2.Part1 = earring2 | |
| 710 | earweld2.C0 = CFrame.new(-0.7, -0.2, 0) | |
| 711 | earring5:Destroy() | |
| 712 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Alright!","Red")
| |
| 713 | hum.Jump = true | |
| 714 | burst = Instance.new("BodyThrust",torso)
| |
| 715 | burst.Force = Vector3.new(0,5000,-8000) | |
| 716 | for i = 1,20 do | |
| 717 | ||
| 718 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 719 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
| 720 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 721 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 722 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.7) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4) | |
| 723 | end | |
| 724 | wait(1) | |
| 725 | for i = 1,20 do | |
| 726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 727 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
| 728 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 729 | ||
| 730 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4) | |
| 731 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4) | |
| 732 | ||
| 733 | end | |
| 734 | burst:Destroy() | |
| 735 | wait(11) | |
| 736 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"I am the one that will defeat you","Red")
| |
| 737 | wait(4.5) | |
| 738 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Im the fusion between vegeta and kakarot","Red")
| |
| 739 | wait(3.2) | |
| 740 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Vegito","Red")
| |
| 741 | wait(2) | |
| 742 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"And This Is","Red")
| |
| 743 | wait(1.3) | |
| 744 | for i = 1,20 do | |
| 745 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
| 746 | ||
| 747 | end | |
| 748 | wait(0.4) | |
| 749 | for i = 1,20 do | |
| 750 | ||
| 751 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
| 752 | end | |
| 753 | wait(0.8) | |
| 754 | for i = 1,20 do | |
| 755 | wait() | |
| 756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2) | |
| 757 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-35)), 0.2) | |
| 758 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(35)), 0.2) | |
| 759 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 760 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 761 | end | |
| 762 | wait(0.5) | |
| 763 | for i = 1,20 do | |
| 764 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 765 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
| 766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
| 767 | ||
| 768 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4) | |
| 769 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4) | |
| 770 | ||
| 771 | end | |
| 772 | wait() | |
| 773 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Vegito Blue!","Red")
| |
| 774 | bomb = Instance.new("Explosion",torso)
| |
| 775 | bomb.BlastRadius = 0 | |
| 776 | bomb.DestroyJointRadiusPercent = 100 | |
| 777 | bomb.ExplosionType = "CratersAndDebris" | |
| 778 | bomb = Instance.new("Explosion",torso)
| |
| 779 | bomb.BlastRadius = 0 | |
| 780 | bomb.DestroyJointRadiusPercent = 100 | |
| 781 | bomb.ExplosionType = "CratersAndDebris" | |
| 782 | bomb = Instance.new("Explosion",torso)
| |
| 783 | bomb.BlastRadius = 0 | |
| 784 | bomb.DestroyJointRadiusPercent = 100 | |
| 785 | bomb.ExplosionType = "CratersAndDebris" | |
| 786 | bomb = Instance.new("Explosion",torso)
| |
| 787 | bomb.BlastRadius = 0 | |
| 788 | bomb.DestroyJointRadiusPercent = 100 | |
| 789 | bomb.ExplosionType = "CratersAndDebris" | |
| 790 | wait() | |
| 791 | ||
| 792 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
| 793 | if c.className == "Hat" then -- base form hair. | |
| 794 | c.Handle.Transparency = 0 -- Put after transformation | |
| 795 | end | |
| 796 | if c.Name == "Hair" then | |
| 797 | c:Remove() | |
| 798 | end | |
| 799 | end | |
| 800 | wait(0.00001) | |
| 801 | local m = Instance.new("Model")
| |
| 802 | m.Name = "Hair" | |
| 803 | b1 = Instance.new("SpecialMesh", p)
| |
| 804 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 805 | b1.TextureId = "" | |
| 806 | b1.MeshType = Enum.MeshType.FileMesh | |
| 807 | b1.Name = "Mesh" | |
| 808 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 809 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 810 | p2 = Instance.new("Part", m)
| |
| 811 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 812 | p2.Transparency = 1 | |
| 813 | p2.Name = "Head" | |
| 814 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 815 | p2.Size = Vector3.new(2, 1, 1) | |
| 816 | p2.CFrame = CFrame.new(9,9,9) | |
| 817 | p2.CanCollide = false | |
| 818 | p2.Locked = true | |
| 819 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 820 | b2 = Instance.new("SpecialMesh", p2)
| |
| 821 | b2.MeshType = Enum.MeshType.Head | |
| 822 | b2.Name = "Mesh" | |
| 823 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 824 | p3 = Instance.new("Part", m)
| |
| 825 | p3.BrickColor = BrickColor.new("Teal")
| |
| 826 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 827 | p3.Size = Vector3.new(3,3,3) | |
| 828 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
| 829 | p3.CanCollide = false | |
| 830 | p3.Locked = true | |
| 831 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 832 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 833 | b3 = Instance.new("SpecialMesh", p3)
| |
| 834 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
| 835 | b3.TextureId = "" | |
| 836 | b3.MeshType = Enum.MeshType.FileMesh | |
| 837 | b3.Name = "Mesh" | |
| 838 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 839 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
| 840 | w1 = Instance.new("Weld", p1)
| |
| 841 | w1.Name = "Head_Weld" | |
| 842 | w1.Part0 = p1 | |
| 843 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
| 844 | w1.Part1 = p2 | |
| 845 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 846 | w2 = Instance.new("Weld", p2)
| |
| 847 | w2.Name = "Part_Weld" | |
| 848 | w2.Part0 = p2 | |
| 849 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 850 | w2.Part1 = p3 | |
| 851 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 852 | w3 = Instance.new("Weld", p3)
| |
| 853 | w3.Name = "Part_Weld" | |
| 854 | w3.Part0 = p3 | |
| 855 | w3.C0 = CFrame.new() | |
| 856 | w3.Part1 = p4 | |
| 857 | w3.C1 = CFrame.new() | |
| 858 | ||
| 859 | m.Parent = char | |
| 860 | m:MakeJoints() | |
| 861 | ---------------------------------------------------- | |
| 862 | local cor = Instance.new("Part", char.Hair)
| |
| 863 | cor.Name = "Link" | |
| 864 | cor.Locked = true | |
| 865 | cor.BottomSurface = 0 | |
| 866 | cor.CanCollide = false | |
| 867 | cor.Size = Vector3.new(1, 9, 1) | |
| 868 | cor.Transparency = 1 | |
| 869 | cor.TopSurface = 0 | |
| 870 | corw = Instance.new("Weld", cor)
| |
| 871 | corw.Part0 = hed | |
| 872 | corw.Part1 = cor | |
| 873 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 874 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 875 | weld1 = Instance.new("Weld", char.Hair)
| |
| 876 | weld1.Part0 = cor | |
| 877 | weld1.Part1 = char.Hair.Head | |
| 878 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 879 | ||
| 880 | local torso = game.Players.LocalPlayer.Character.Torso | |
| 881 | local block = Instance.new("Part",torso)
| |
| 882 | block.Size = Vector3.new(0.1,0.1,0.1) | |
| 883 | block.Position = block.Position + Vector3.new(2,2,2) | |
| 884 | block.Transparency = 1 | |
| 885 | local weld = Instance.new("Weld",torso)
| |
| 886 | weld.Part0 = torso | |
| 887 | weld.Part1 = block | |
| 888 | weld.C0 = CFrame.new(0,5,0) | |
| 889 | local tables = {5,4,3,2,1}
| |
| 890 | local part = Instance.new("ParticleEmitter")
| |
| 891 | part.Parent = game.Players.LocalPlayer.Character.Torso | |
| 892 | part.LockedToPart = true | |
| 893 | ||
| 894 | part.Texture = "rbxassetid://300899323" | |
| 895 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
| |
| 896 | part.Transparency = NumberSequence.new(0.7) | |
| 897 | part.Lifetime = NumberRange.new(2) | |
| 898 | part.Rate = 30 | |
| 899 | local part2 = Instance.new("ParticleEmitter",block)
| |
| 900 | part2.Lifetime = NumberRange.new(5) | |
| 901 | part2.Speed = NumberRange.new(0) | |
| 902 | part2.Size = NumberSequence.new(18) | |
| 903 | part2.LockedToPart = true | |
| 904 | part2.Transparency = NumberSequence.new(0.5) | |
| 905 | part2.Rate = 3 | |
| 906 | part2.Color = ColorSequence.new(Color3.fromRGB(83,215,255)) | |
| 907 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" | |
| 908 | local model = Instance.new("Model",torso)
| |
| 909 | ||
| 910 | local ball0 = Instance.new("Part",model)
| |
| 911 | ball0.Position = ball0.Position + Vector3.new(2,2,2) | |
| 912 | ball0.Transparency = 0.5 | |
| 913 | ball0.BrickColor = BrickColor.new("Teal")
| |
| 914 | ball0.Size = Vector3.new(1,1,1) | |
| 915 | ball0mesh = Instance.new("SpecialMesh",ball0)
| |
| 916 | ball0mesh.MeshType = "Sphere" | |
| 917 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 918 | ballweld = Instance.new("Weld",model)
| |
| 919 | ballweld.Part0 = torso | |
| 920 | ballweld.Part1 = ball0 | |
| 921 | for i = 1,15 do | |
| 922 | wait(0.1) | |
| 923 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30),NumberSequenceKeypoint.new(1,1)})
| |
| 924 | part2.Size = NumberSequence.new(15) | |
| 925 | for i = 1 , 3 do | |
| 926 | wait() | |
| 927 | ball0mesh.Scale = ball0mesh.Scale + Vector3.new(13,13,13) | |
| 928 | ||
| 929 | end | |
| 930 | ||
| 931 | wait(0.1) | |
| 932 | part2.Size = NumberSequence.new(8) | |
| 933 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
| |
| 934 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 935 | ||
| 936 | end | |
| 937 | ||
| 938 | hum.WalkSpeed = 16 | |
| 939 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 940 | local wave = Instance.new("Part", torso)
| |
| 941 | wave.BrickColor = BrickColor.new("Institutional white")
| |
| 942 | wave.Anchored = true | |
| 943 | wave.CanCollide = false | |
| 944 | wave.Locked = true | |
| 945 | wave.Size = Vector3.new(1, 1, 1) | |
| 946 | wave.TopSurface = "Smooth" | |
| 947 | wave.BottomSurface = "Smooth" | |
| 948 | wave.Transparency = 0.35 | |
| 949 | wave.CFrame = HandCF | |
| 950 | wm = Instance.new("SpecialMesh", wave)
| |
| 951 | wm.MeshId = "rbxassetid://3270017" | |
| 952 | coroutine.wrap(function() | |
| 953 | for i = 1, 14, 1 do | |
| 954 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 955 | wave.Size = wm.Scale | |
| 956 | wave.CFrame = HandCF | |
| 957 | wave.Transparency = i/14 | |
| 958 | wait() | |
| 959 | end | |
| 960 | wait() | |
| 961 | wave:Destroy() | |
| 962 | end)() | |
| 963 | ||
| 964 | ||
| 965 | z1 = Instance.new("Sound", char)
| |
| 966 | z1.SoundId = "rbxassetid://600060450" | |
| 967 | z1.Pitch = 1 | |
| 968 | z1.Volume = 1 | |
| 969 | z1.Looped = true | |
| 970 | wait(.1) | |
| 971 | z1:Play() | |
| 972 | ---------------------------------------------------- | |
| 973 | Blast = function() | |
| 974 | local Colors = {"New Yeller", "New Yeller"}
| |
| 975 | local wave = Instance.new("Part", torso)
| |
| 976 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 977 | wave.Anchored = true | |
| 978 | wave.CanCollide = false | |
| 979 | wave.Locked = true | |
| 980 | wave.Size = Vector3.new(1, 1, 1) | |
| 981 | wave.TopSurface = "Smooth" | |
| 982 | wave.BottomSurface = "Smooth" | |
| 983 | wave.Transparency = 0.35 | |
| 984 | wave.CFrame = rarm.CFrame | |
| 985 | wm = Instance.new("SpecialMesh", wave)
| |
| 986 | wm.MeshType = "Sphere" | |
| 987 | wm.Scale = Vector3.new(1,1,1) | |
| 988 | z = Instance.new("Sound",wave)
| |
| 989 | z.SoundId = "rbxassetid://237035051" | |
| 990 | z.Volume = 1 | |
| 991 | z.Pitch = .9 | |
| 992 | z:Play() | |
| 993 | coroutine.wrap(function() | |
| 994 | for i = 1, 30, 1 do | |
| 995 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 996 | --wave.Size = wm.Scale | |
| 997 | wave.CFrame = rarm.CFrame | |
| 998 | wave.Transparency = (1/14) | |
| 999 | rs:wait() | |
| 1000 | end | |
| 1001 | rs:wait() | |
| 1002 | wave:Destroy() | |
| 1003 | z:Destroy() | |
| 1004 | end)() | |
| 1005 | end | |
| 1006 | ---------------------------------------------------- | |
| 1007 | rarm.Touched:connect(function(ht) | |
| 1008 | hit = ht.Parent | |
| 1009 | if ht and hit:IsA("Model") then
| |
| 1010 | if hit:FindFirstChild("Humanoid") then
| |
| 1011 | if hit.Name ~= p.Name then | |
| 1012 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1013 | Debounces.RPunched = true | |
| 1014 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1015 | if Debounces.ks==true then | |
| 1016 | z = Instance.new("Sound",hed)
| |
| 1017 | z.SoundId = "rbxassetid://169380525" | |
| 1018 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1019 | z.Volume = 1 | |
| 1020 | z:Play() | |
| 1021 | end | |
| 1022 | wait(.2) | |
| 1023 | Debounces.RPunched = false | |
| 1024 | end | |
| 1025 | end | |
| 1026 | end | |
| 1027 | elseif ht and hit:IsA("Hat") then
| |
| 1028 | if hit.Parent.Name ~= p.Name then | |
| 1029 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1030 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1031 | Debounces.RPunched = true | |
| 1032 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1033 | if Debounces.ks==true then | |
| 1034 | z = Instance.new("Sound",hed)
| |
| 1035 | z.SoundId = "rbxassetid://169380525" | |
| 1036 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1037 | z.Volume = 1 | |
| 1038 | z:Play() | |
| 1039 | end | |
| 1040 | wait(.2) | |
| 1041 | Debounces.RPunched = false | |
| 1042 | end | |
| 1043 | end | |
| 1044 | end | |
| 1045 | end | |
| 1046 | end) | |
| 1047 | larm.Touched:connect(function(ht) | |
| 1048 | hit = ht.Parent | |
| 1049 | if ht and hit:IsA("Model") then
| |
| 1050 | if hit:FindFirstChild("Humanoid") then
| |
| 1051 | if hit.Name ~= p.Name then | |
| 1052 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1053 | Debounces.LPunched = true | |
| 1054 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1055 | if Debounces.ks2==true then | |
| 1056 | z = Instance.new("Sound",hed)
| |
| 1057 | z.SoundId = "rbxassetid://169380525" | |
| 1058 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1059 | z.Volume = 1 | |
| 1060 | z:Play() | |
| 1061 | end | |
| 1062 | wait(.2) | |
| 1063 | Debounces.LPunched = false | |
| 1064 | end | |
| 1065 | end | |
| 1066 | end | |
| 1067 | elseif ht and hit:IsA("Hat") then
| |
| 1068 | if hit.Parent.Name ~= p.Name then | |
| 1069 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1070 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1071 | Debounces.LPunched = true | |
| 1072 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1073 | if Debounces.ks2==true then | |
| 1074 | z = Instance.new("Sound",hed)
| |
| 1075 | z.SoundId = "rbxassetid://169380525" | |
| 1076 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1077 | z.Volume = 1 | |
| 1078 | z:Play() | |
| 1079 | end | |
| 1080 | wait(.2) | |
| 1081 | Debounces.LPunched = false | |
| 1082 | end | |
| 1083 | end | |
| 1084 | end | |
| 1085 | end | |
| 1086 | end) | |
| 1087 | ---------------------------------------------------- | |
| 1088 | mod4 = Instance.new("Model",char)
| |
| 1089 | ||
| 1090 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1091 | ||
| 1092 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1093 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1094 | local List = {}
| |
| 1095 | for i,v in pairs(workspace:GetChildren())do | |
| 1096 | if v:IsA("Model")then
| |
| 1097 | if v:findFirstChild("Torso")then
| |
| 1098 | if v ~= char then | |
| 1099 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1100 | table.insert(List,v) | |
| 1101 | end | |
| 1102 | end | |
| 1103 | end | |
| 1104 | end | |
| 1105 | end | |
| 1106 | return List | |
| 1107 | end | |
| 1108 | ||
| 1109 | function Punch() | |
| 1110 | part=Instance.new('Part',mod4)
| |
| 1111 | part.Anchored=true | |
| 1112 | part.CanCollide=false | |
| 1113 | part.FormFactor='Custom' | |
| 1114 | part.Size=Vector3.new(.2,.2,.2) | |
| 1115 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1116 | part.Transparency=.7 | |
| 1117 | part.BrickColor=BrickColor.new('New Yeller')
| |
| 1118 | mesh=Instance.new('SpecialMesh',part)
| |
| 1119 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1120 | mesh.Scale=Vector3.new(3,3,3) | |
| 1121 | part2=Instance.new('Part',mod4)
| |
| 1122 | part2.Anchored=true | |
| 1123 | part2.CanCollide=false | |
| 1124 | part2.FormFactor='Custom' | |
| 1125 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1126 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1127 | part2.Transparency=.7 | |
| 1128 | part2.BrickColor=BrickColor.new('New Yeller')
| |
| 1129 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1130 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1131 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1132 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1133 | if v:FindFirstChild('Humanoid') then
| |
| 1134 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
| 1135 | end | |
| 1136 | end | |
| 1137 | coroutine.resume(coroutine.create(function() | |
| 1138 | for i=0,0.62,0.4 do | |
| 1139 | wait() | |
| 1140 | part.CFrame=part.CFrame | |
| 1141 | part.Transparency=i | |
| 1142 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1143 | part2.CFrame=part2.CFrame | |
| 1144 | part2.Transparency=i | |
| 1145 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1146 | end | |
| 1147 | part.Parent=nil | |
| 1148 | part2.Parent=nil | |
| 1149 | end)) | |
| 1150 | end | |
| 1151 | ---------------------------------------------------- | |
| 1152 | rarm.Touched:connect(function(ht) | |
| 1153 | hit = ht.Parent | |
| 1154 | if ht and hit:IsA("Model") then
| |
| 1155 | if hit:FindFirstChild("Humanoid") then
| |
| 1156 | if hit.Name ~= p.Name then | |
| 1157 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1158 | Debounces.RPunched = true | |
| 1159 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1160 | if Debounces.ks==true then | |
| 1161 | z = Instance.new("Sound",hed)
| |
| 1162 | z.SoundId = "rbxassetid://169380525" | |
| 1163 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1164 | z.Volume = 1 | |
| 1165 | z:Play() | |
| 1166 | end | |
| 1167 | wait(.2) | |
| 1168 | Debounces.RPunched = false | |
| 1169 | end | |
| 1170 | end | |
| 1171 | end | |
| 1172 | elseif ht and hit:IsA("Hat") then
| |
| 1173 | if hit.Parent.Name ~= p.Name then | |
| 1174 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1175 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1176 | Debounces.RPunched = true | |
| 1177 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1178 | if Debounces.ks==true then | |
| 1179 | z = Instance.new("Sound",hed)
| |
| 1180 | z.SoundId = "rbxassetid://169380525" | |
| 1181 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1182 | z.Volume = 1 | |
| 1183 | z:Play() | |
| 1184 | end | |
| 1185 | wait(.2) | |
| 1186 | Debounces.RPunched = false | |
| 1187 | end | |
| 1188 | end | |
| 1189 | end | |
| 1190 | end | |
| 1191 | end) | |
| 1192 | larm.Touched:connect(function(ht) | |
| 1193 | hit = ht.Parent | |
| 1194 | if ht and hit:IsA("Model") then
| |
| 1195 | if hit:FindFirstChild("Humanoid") then
| |
| 1196 | if hit.Name ~= p.Name then | |
| 1197 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1198 | Debounces.LPunched = true | |
| 1199 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1200 | if Debounces.ks2==true then | |
| 1201 | z = Instance.new("Sound",hed)
| |
| 1202 | z.SoundId = "rbxassetid://169380525" | |
| 1203 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1204 | z.Volume = 1 | |
| 1205 | z:Play() | |
| 1206 | end | |
| 1207 | wait(.2) | |
| 1208 | Debounces.LPunched = false | |
| 1209 | end | |
| 1210 | end | |
| 1211 | end | |
| 1212 | elseif ht and hit:IsA("Hat") then
| |
| 1213 | if hit.Parent.Name ~= p.Name then | |
| 1214 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1215 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1216 | Debounces.LPunched = true | |
| 1217 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999))
| |
| 1218 | if Debounces.ks2==true then | |
| 1219 | z = Instance.new("Sound",hed)
| |
| 1220 | z.SoundId = "rbxassetid://169380525" | |
| 1221 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1222 | z.Volume = 1 | |
| 1223 | z:Play() | |
| 1224 | end | |
| 1225 | wait(.2) | |
| 1226 | Debounces.LPunched = false | |
| 1227 | end | |
| 1228 | end | |
| 1229 | end | |
| 1230 | end | |
| 1231 | end) | |
| 1232 | ---------------------------------------------------- | |
| 1233 | local player = game.Players.LocalPlayer | |
| 1234 | local pchar = player.Character | |
| 1235 | local mouse = player:GetMouse() | |
| 1236 | local cam = workspace.CurrentCamera | |
| 1237 | ||
| 1238 | local rad = math.rad | |
| 1239 | ||
| 1240 | local keysDown = {}
| |
| 1241 | local flySpeed = 0 | |
| 1242 | local MAX_FLY_SPEED = 150 | |
| 1243 | ||
| 1244 | local canFly = false | |
| 1245 | local flyToggled = false | |
| 1246 | ||
| 1247 | local forward, side = 0, 0 | |
| 1248 | local lastForward, lastSide = 0, 0 | |
| 1249 | ||
| 1250 | local floatBP = Instance.new("BodyPosition")
| |
| 1251 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1252 | local flyBV = Instance.new("BodyVelocity")
| |
| 1253 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1254 | local turnBG = Instance.new("BodyGyro")
| |
| 1255 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1256 | ||
| 1257 | mouse.KeyDown:connect(function(key) | |
| 1258 | keysDown[key] = true | |
| 1259 | ||
| 1260 | if key == "f" then | |
| 1261 | flyToggled = not flyToggled | |
| 1262 | ||
| 1263 | if not flyToggled then | |
| 1264 | stanceToggle = "Normal" | |
| 1265 | floatBP.Parent = nil | |
| 1266 | flyBV.Parent = nil | |
| 1267 | turnBG.Parent = nil | |
| 1268 | root.Velocity = Vector3.new() | |
| 1269 | pchar.Humanoid.PlatformStand = false | |
| 1270 | end | |
| 1271 | end | |
| 1272 | ||
| 1273 | end) | |
| 1274 | mouse.KeyUp:connect(function(key) | |
| 1275 | keysDown[key] = nil | |
| 1276 | end) | |
| 1277 | ||
| 1278 | local function updateFly() | |
| 1279 | ||
| 1280 | if not flyToggled then return end | |
| 1281 | ||
| 1282 | lastForward = forward | |
| 1283 | lastSide = side | |
| 1284 | ||
| 1285 | forward = 0 | |
| 1286 | side = 0 | |
| 1287 | ||
| 1288 | if keysDown.w then | |
| 1289 | forward = forward + 1 | |
| 1290 | end | |
| 1291 | if keysDown.s then | |
| 1292 | forward = forward - 1 | |
| 1293 | end | |
| 1294 | if keysDown.a then | |
| 1295 | side = side - 1 | |
| 1296 | end | |
| 1297 | if keysDown.d then | |
| 1298 | side = side + 1 | |
| 1299 | end | |
| 1300 | ||
| 1301 | canFly = (forward ~= 0 or side ~= 0) | |
| 1302 | ||
| 1303 | if canFly then | |
| 1304 | stanceToggle = "Floating" | |
| 1305 | turnBG.Parent = root | |
| 1306 | floatBP.Parent = nil | |
| 1307 | flyBV.Parent = root | |
| 1308 | ||
| 1309 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1310 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1311 | else | |
| 1312 | floatBP.position = root.Position | |
| 1313 | floatBP.Parent = root | |
| 1314 | ||
| 1315 | flySpeed = flySpeed - 1 | |
| 1316 | if flySpeed < 0 then flySpeed = 0 end | |
| 1317 | end | |
| 1318 | ||
| 1319 | local camCF = cam.CoordinateFrame | |
| 1320 | local in_forward = canFly and forward or lastForward | |
| 1321 | local in_side = canFly and side or lastSide | |
| 1322 | ||
| 1323 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1324 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1325 | ||
| 1326 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1327 | 0) | |
| 1328 | end | |
| 1329 | ||
| 1330 | game:service'RunService'.RenderStepped:connect(function() | |
| 1331 | if flyToggled then | |
| 1332 | pchar.Humanoid.PlatformStand = true | |
| 1333 | end | |
| 1334 | updateFly() | |
| 1335 | end) | |
| 1336 | ------------------------------- | |
| 1337 | mouse.KeyDown:connect(function(key) | |
| 1338 | if key == "q" then | |
| 1339 | ||
| 1340 | if Debounces.CanAttack == true then | |
| 1341 | Debounces.CanAttack = false | |
| 1342 | Debounces.NoIdl = true | |
| 1343 | Debounces.on = true | |
| 1344 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Here is all of my energy","Red")
| |
| 1345 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1346 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1347 | local List = {}
| |
| 1348 | for i,v in pairs(workspace:GetChildren())do | |
| 1349 | if v:IsA("Model")then
| |
| 1350 | if v:findFirstChild("Torso")then
| |
| 1351 | if v ~= char then | |
| 1352 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1353 | table.insert(List,v) | |
| 1354 | end | |
| 1355 | end | |
| 1356 | end | |
| 1357 | end | |
| 1358 | end | |
| 1359 | return List | |
| 1360 | end | |
| 1361 | z = Instance.new("Sound",hed)
| |
| 1362 | z.SoundId = "rbxassetid://232213955" | |
| 1363 | z.Pitch = 1 | |
| 1364 | z.Volume = 1 | |
| 1365 | wait(0.2) | |
| 1366 | z:Play() | |
| 1367 | sp = Instance.new("Part",hed)
| |
| 1368 | sp.Anchored = true | |
| 1369 | sp.CanCollide = false | |
| 1370 | sp.Locked = false | |
| 1371 | sp.Transparency = 0 | |
| 1372 | sp.Material = "Neon" | |
| 1373 | sp.Size = Vector3.new(1,1,1) | |
| 1374 | sp.TopSurface = "SmoothNoOutlines" | |
| 1375 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1376 | sp.BrickColor = BrickColor.new("Teal")
| |
| 1377 | spm = Instance.new("SpecialMesh",sp)
| |
| 1378 | spm.MeshType = "Sphere" | |
| 1379 | spm.Scale = Vector3.new(1,1,1) | |
| 1380 | sp2 = Instance.new("Part", rarm)
| |
| 1381 | sp2.Name = "Energy" | |
| 1382 | sp2.BrickColor = BrickColor.new("New Yeller")
| |
| 1383 | sp2.Size = Vector3.new(1,1,1) | |
| 1384 | sp2.Shape = "Ball" | |
| 1385 | sp2.CanCollide = false | |
| 1386 | sp2.Anchored = true | |
| 1387 | sp2.Locked = true | |
| 1388 | sp2.TopSurface = 0 | |
| 1389 | sp2.BottomSurface = 0 | |
| 1390 | sp2.Transparency = 1 | |
| 1391 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1392 | spm2.MeshId = "rbxassetid://9982590" | |
| 1393 | spm2.Scale = Vector3.new(1,1,1) | |
| 1394 | for i = 1, 20 do | |
| 1395 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1396 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1397 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1398 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1399 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 1400 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1401 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1402 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1403 | if Debounces.on == false then break end | |
| 1404 | rs:wait() | |
| 1405 | end | |
| 1406 | for i = 1, 100, 20 do rs:wait() | |
| 1407 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1408 | end | |
| 1409 | for i = 1, 20 do | |
| 1410 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1411 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1412 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1413 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 1414 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1415 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1416 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1417 | if Debounces.on == false then break end | |
| 1418 | rs:wait() | |
| 1419 | end | |
| 1420 | sp.Transparency = 0 | |
| 1421 | for i = 1, 20 do | |
| 1422 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1423 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1424 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 1425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1426 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1427 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1428 | if Debounces.on == false then break end | |
| 1429 | rs:wait() | |
| 1430 | end | |
| 1431 | wait(1) | |
| 1432 | sp.Transparency = 0 | |
| 1433 | sp2.Transparency = 0.84 | |
| 1434 | for i = 1, 20 do | |
| 1435 | --spm.Scale = spm.Scale - Vector3.new(15,15,15) | |
| 1436 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1437 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1438 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1439 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.2) | |
| 1440 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1441 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1442 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.2) | |
| 1443 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.2) | |
| 1444 | if Debounces.on == false then break end | |
| 1445 | rs:wait() | |
| 1446 | end | |
| 1447 | for i = 1, 2880, 50 do | |
| 1448 | rs:wait() | |
| 1449 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1450 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) | |
| 1451 | rs:wait() | |
| 1452 | end | |
| 1453 | sp:Destroy() | |
| 1454 | sp2:Destroy() | |
| 1455 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS!","Red")
| |
| 1456 | local X = Instance.new("Part",char)
| |
| 1457 | local O = Instance.new("ObjectValue",X)
| |
| 1458 | O.Name = "creator" | |
| 1459 | X.Locked = true | |
| 1460 | X.Name = "Shell" | |
| 1461 | X.Anchored = false | |
| 1462 | X.CanCollide = false | |
| 1463 | X.Transparency = 0 | |
| 1464 | X.Reflectance = 0 | |
| 1465 | X.BottomSurface = 0 | |
| 1466 | X.TopSurface = 0 | |
| 1467 | X.Shape = 0 | |
| 1468 | local V = Instance.new("ObjectValue",X)
| |
| 1469 | V.Value = char | |
| 1470 | V.Name = "creator" | |
| 1471 | X.BrickColor = BrickColor.new("Teal")
| |
| 1472 | X.Size = Vector3.new(1,1,1) | |
| 1473 | X.Material = "Neon" | |
| 1474 | local Z = Instance.new("SpecialMesh",X)
| |
| 1475 | Z.MeshType = "Sphere" | |
| 1476 | Z.Scale = Vector3.new(15,15,15) | |
| 1477 | X.CFrame = rarm.CFrame*CFrame.new(4,4,4) | |
| 1478 | local bv = Instance.new("BodyVelocity",X)
| |
| 1479 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1480 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1481 | bv.velocity = X.CFrame.lookVector*65 | |
| 1482 | ||
| 1483 | Explode = X.Touched:connect(function(hit) | |
| 1484 | ||
| 1485 | local cf = X.CFrame | |
| 1486 | bv:Destroy() | |
| 1487 | X.Anchored = true | |
| 1488 | Z:Remove() | |
| 1489 | Explode:disconnect() | |
| 1490 | X.Size = Vector3.new(3,3,3) | |
| 1491 | X.Touched:connect(function(hit) end) | |
| 1492 | X.CanCollide = false | |
| 1493 | local part3 = Instance.new("Part", rarm)
| |
| 1494 | part3.Anchored=true | |
| 1495 | part3.CanCollide=false | |
| 1496 | part3.Locked = true | |
| 1497 | part3.TopSurface = "SmoothNoOutlines" | |
| 1498 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1499 | part3.FormFactor='Custom' | |
| 1500 | part3.Size=Vector3.new(1,1, 1) | |
| 1501 | part3.CFrame=X.CFrame | |
| 1502 | part3.Transparency=0 | |
| 1503 | part3.BrickColor=BrickColor.new("Teal")
| |
| 1504 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1505 | mesh3.MeshType = "Sphere" | |
| 1506 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1507 | --debris:AddItem(X,8) | |
| 1508 | local part4 = Instance.new("Part", rarm)
| |
| 1509 | part4.Material = "Neon" | |
| 1510 | part4.Anchored=true | |
| 1511 | part4.CanCollide=false | |
| 1512 | part4.Locked = true | |
| 1513 | part4.TopSurface = "SmoothNoOutlines" | |
| 1514 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1515 | part4.FormFactor='Custom' | |
| 1516 | part4.Size=Vector3.new(1,1, 1) | |
| 1517 | part4.CFrame=X.CFrame | |
| 1518 | part4.Transparency=0 | |
| 1519 | part4.BrickColor=BrickColor.new("Teal")
| |
| 1520 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1521 | mesh4.MeshType = "Sphere" | |
| 1522 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1523 | local part7 = Instance.new("Part", rarm)
| |
| 1524 | part7.Material = "Neon" | |
| 1525 | part7.Anchored=true | |
| 1526 | part7.CanCollide=false | |
| 1527 | part7.Locked = true | |
| 1528 | part7.TopSurface = "SmoothNoOutlines" | |
| 1529 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1530 | part7.FormFactor='Custom' | |
| 1531 | part7.Size=Vector3.new(1,1, 1) | |
| 1532 | part7.CFrame=X.CFrame | |
| 1533 | part7.Transparency=0 | |
| 1534 | part7.BrickColor=BrickColor.new("Teal")
| |
| 1535 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1536 | mesh7.MeshType = "Sphere" | |
| 1537 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1538 | --[[X.Touched:connect(function(ht) | |
| 1539 | hit = ht.Parent | |
| 1540 | if ht and hit:IsA("Model") then
| |
| 1541 | if hit:FindFirstChild("Humanoid") then
| |
| 1542 | if hit.Name ~= p.Name then | |
| 1543 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1544 | wait(.3) | |
| 1545 | end | |
| 1546 | end | |
| 1547 | elseif ht and hit:IsA("Hat") then
| |
| 1548 | if hit.Parent.Name ~= p.Name then | |
| 1549 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1550 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1551 | wait(.3) | |
| 1552 | end | |
| 1553 | end | |
| 1554 | end | |
| 1555 | end) | |
| 1556 | part3.Touched:connect(function(ht) | |
| 1557 | hit = ht.Parent | |
| 1558 | if ht and hit:IsA("Model") then
| |
| 1559 | if hit:FindFirstChild("Humanoid") then
| |
| 1560 | if hit.Name ~= p.Name then | |
| 1561 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(999,9999))
| |
| 1562 | wait(.3) | |
| 1563 | end | |
| 1564 | end | |
| 1565 | elseif ht and hit:IsA("Hat") then
| |
| 1566 | if hit.Parent.Name ~= p.Name then | |
| 1567 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1568 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999))
| |
| 1569 | wait(.3) | |
| 1570 | end | |
| 1571 | end | |
| 1572 | end | |
| 1573 | end)]]-- | |
| 1574 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1575 | if v:FindFirstChild('Humanoid') then
| |
| 1576 | v.Humanoid:TakeDamage(math.random(100,100)) | |
| 1577 | v.Humanoid.PlatformStand = true | |
| 1578 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1579 | end | |
| 1580 | end | |
| 1581 | ||
| 1582 | local acos = math.acos | |
| 1583 | local sqrt = math.sqrt | |
| 1584 | local Vec3 = Vector3.new | |
| 1585 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1586 | ||
| 1587 | local function toAxisAngle(CFr) | |
| 1588 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1589 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1590 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1591 | A = A == 0 and 0.00001 or A | |
| 1592 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1593 | B = B == 0 and 0.00001 or B | |
| 1594 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1595 | C = C == 0 and 0.00001 or C | |
| 1596 | local x = (R21-R12)/sqrt(A) | |
| 1597 | local y = (R02-R20)/sqrt(B) | |
| 1598 | local z = (R10-R01)/sqrt(C) | |
| 1599 | return Vec3(x,y,z),Angle | |
| 1600 | end | |
| 1601 | ||
| 1602 | function ApplyTrig(Num,Func) | |
| 1603 | local Min,Max = Func(0),Func(1) | |
| 1604 | local i = Func(Num) | |
| 1605 | return (i-Min)/(Max-Min) | |
| 1606 | end | |
| 1607 | ||
| 1608 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1609 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1610 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1611 | end | |
| 1612 | ||
| 1613 | function Crater(Torso,Radius) | |
| 1614 | Spawn(function() | |
| 1615 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1616 | local Ignore = {}
| |
| 1617 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1618 | if v.Character ~= nil then | |
| 1619 | Ignore[#Ignore+1] = v.Character | |
| 1620 | end | |
| 1621 | end | |
| 1622 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1623 | if Hit == nil then return end | |
| 1624 | local Parts = {}
| |
| 1625 | for i = 1,360,10 do | |
| 1626 | local P = Instance.new("Part",Torso.Parent)
| |
| 1627 | P.Anchored = true | |
| 1628 | P.FormFactor = "Custom" | |
| 1629 | P.BrickColor = Hit.BrickColor | |
| 1630 | P.Material = Hit.Material | |
| 1631 | P.TopSurface = "Smooth" | |
| 1632 | P.BottomSurface = "Smooth" | |
| 1633 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1634 | 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))) | |
| 1635 | 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}
| |
| 1636 | if math.random(0,5) == 0 then -- rubble | |
| 1637 | local P = Instance.new("Part",Torso.Parent)
| |
| 1638 | P.Anchored = true | |
| 1639 | P.FormFactor = "Custom" | |
| 1640 | P.BrickColor = Hit.BrickColor | |
| 1641 | P.Material = Hit.Material | |
| 1642 | P.TopSurface = "Smooth" | |
| 1643 | P.BottomSurface = "Smooth" | |
| 1644 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1645 | 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))) | |
| 1646 | 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}
| |
| 1647 | end | |
| 1648 | end | |
| 1649 | for i = 0,1,0.05 do | |
| 1650 | for i2,v in pairs(Parts) do | |
| 1651 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1652 | end | |
| 1653 | wait(0.02) | |
| 1654 | end | |
| 1655 | for i,v in pairs(Parts) do | |
| 1656 | if v[1].Size.X > 2.1 then | |
| 1657 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1658 | end | |
| 1659 | v[1].Anchored = false | |
| 1660 | end | |
| 1661 | for i = 0,1,0.05 do | |
| 1662 | for i2,v in pairs(Parts) do | |
| 1663 | v[1].Transparency = i | |
| 1664 | if i == 1 then | |
| 1665 | v[1]:Destroy() | |
| 1666 | elseif i >= 0.25 then | |
| 1667 | v[1].CanCollide = false | |
| 1668 | end | |
| 1669 | end | |
| 1670 | wait(0.02) | |
| 1671 | end | |
| 1672 | Parts = nil | |
| 1673 | end) | |
| 1674 | end | |
| 1675 | ||
| 1676 | local ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1677 | for i = 1, 360, 360/t do | |
| 1678 | local c = Instance.new("Part", game.Workspace)
| |
| 1679 | c.FormFactor = 3 | |
| 1680 | c.TopSurface = 0 | |
| 1681 | c.BottomSurface = 0 | |
| 1682 | c.Size = s | |
| 1683 | c.Anchored = true | |
| 1684 | c.CanCollide = wt | |
| 1685 | c.Material=workspace.Base.Material | |
| 1686 | c.Transparency = trans | |
| 1687 | c.BrickColor = workspace.Base.BrickColor | |
| 1688 | 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 | |
| 1689 | c.Locked=true | |
| 1690 | game.Debris:AddItem(c,15) | |
| 1691 | end | |
| 1692 | end | |
| 1693 | ||
| 1694 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 1695 | local p = Instance.new('Part',parent or Weapon)
| |
| 1696 | p.formFactor = 'Custom' | |
| 1697 | p.Size = Vector3.new(x,y,z) | |
| 1698 | p.BrickColor = BrickColor.new(color) | |
| 1699 | p.CanCollide = cc | |
| 1700 | p.Transparency = tr | |
| 1701 | p.Anchored = an | |
| 1702 | p.TopSurface,p.BottomSurface = 0,0 | |
| 1703 | p.Locked=true | |
| 1704 | p:BreakJoints() | |
| 1705 | return p end | |
| 1706 | ||
| 1707 | Mesh = function(par,num,x,y,z) | |
| 1708 | local msh = _ | |
| 1709 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 1710 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 1711 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 1712 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 1713 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 1714 | end msh.Scale = Vector3.new(x,y,z) | |
| 1715 | return msh end | |
| 1716 | ||
| 1717 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1718 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 1719 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1720 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1721 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1722 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1723 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1724 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1725 | a.CFrame=cfr | |
| 1726 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1727 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1728 | ||
| 1729 | spawn(function() | |
| 1730 | while wait() do | |
| 1731 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1732 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1733 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 1734 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 1735 | a.Transparency=a.Transparency+0.05 | |
| 1736 | a2.Transparency=a2.Transparency+0.05 | |
| 1737 | a3.Transparency=a3.Transparency+0.05 | |
| 1738 | end | |
| 1739 | end) | |
| 1740 | end | |
| 1741 | ||
| 1742 | Crater(X,20) | |
| 1743 | 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) | |
| 1744 | z = Instance.new("Sound",X)
| |
| 1745 | z.SoundId = "rbxassetid://231917744" | |
| 1746 | z.Pitch = .5 | |
| 1747 | z.Volume = 10 | |
| 1748 | z1 = Instance.new("Sound",X)
| |
| 1749 | z1.SoundId = "rbxassetid://231917744" | |
| 1750 | z1.Pitch = .5 | |
| 1751 | z1.Volume = 10 | |
| 1752 | z2 = Instance.new("Sound",X)
| |
| 1753 | z2.SoundId = "rbxassetid://231917744" | |
| 1754 | z2.Pitch = .5 | |
| 1755 | z2.Volume = 10 | |
| 1756 | z3 = Instance.new("Sound",X)
| |
| 1757 | z3.SoundId = "rbxassetid://245537790" | |
| 1758 | z3.Pitch = .7 | |
| 1759 | z3.Volume = 1 | |
| 1760 | z4 = Instance.new("Sound",X)
| |
| 1761 | z4.SoundId = "rbxassetid://245537790" | |
| 1762 | z4.Pitch = .7 | |
| 1763 | z4.Volume = 1 | |
| 1764 | wait(0.1) | |
| 1765 | z:Play() | |
| 1766 | z1:Play() | |
| 1767 | z2:Play() | |
| 1768 | z3:Play() | |
| 1769 | z4:Play() | |
| 1770 | ||
| 1771 | local part=Instance.new('Part',rarm)
| |
| 1772 | part.Anchored=true | |
| 1773 | part.CanCollide=false | |
| 1774 | part.Locked = true | |
| 1775 | part.FormFactor='Custom' | |
| 1776 | part.Size=Vector3.new(1,1,1) | |
| 1777 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 1778 | part.Transparency=0 | |
| 1779 | part.BrickColor=BrickColor.new('Teal')
| |
| 1780 | local mesh=Instance.new('SpecialMesh',part)
| |
| 1781 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1782 | mesh.Scale=Vector3.new(2,2,2) | |
| 1783 | local part2=part:clone() | |
| 1784 | part2.Parent = rarm | |
| 1785 | part2.BrickColor=BrickColor.new("Teal")
| |
| 1786 | local part5=part:clone() | |
| 1787 | part5.Parent = rarm | |
| 1788 | part5.BrickColor=BrickColor.new("Teal")
| |
| 1789 | local part6=part:clone() | |
| 1790 | part6.Parent = rarm | |
| 1791 | part6.BrickColor=BrickColor.new("Teal")
| |
| 1792 | local mesh2=mesh:clone() | |
| 1793 | mesh2.Parent=part2 | |
| 1794 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 1795 | local mesh5=mesh:clone() | |
| 1796 | mesh5.Parent=part5 | |
| 1797 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 1798 | local mesh6=mesh:clone() | |
| 1799 | mesh6.Parent=part6 | |
| 1800 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 1801 | local blast = Instance.new("Part", rarm)
| |
| 1802 | blast.BrickColor = BrickColor.new("New Yeller")
| |
| 1803 | blast.Anchored = true | |
| 1804 | blast.CanCollide = false | |
| 1805 | blast.Locked = true | |
| 1806 | blast.Size = Vector3.new(1, 1, 1) | |
| 1807 | blast.TopSurface = "Smooth" | |
| 1808 | blast.BottomSurface = "Smooth" | |
| 1809 | blast.Transparency = 0 | |
| 1810 | blast.CFrame = HandCF | |
| 1811 | local bm = Instance.new("SpecialMesh", blast)
| |
| 1812 | bm.Scale = Vector3.new(5,1,5) | |
| 1813 | bm.MeshId = "rbxassetid://3270017" | |
| 1814 | local blast2 = Instance.new("Part", rarm)
| |
| 1815 | blast2.BrickColor = BrickColor.new("New Yeller")
| |
| 1816 | blast2.Anchored = true | |
| 1817 | blast2.CanCollide = false | |
| 1818 | blast2.Locked = true | |
| 1819 | blast2.Size = Vector3.new(1, 1, 1) | |
| 1820 | blast2.TopSurface = "Smooth" | |
| 1821 | blast2.BottomSurface = "Smooth" | |
| 1822 | blast2.Transparency = 0 | |
| 1823 | blast2.CFrame = HandCF | |
| 1824 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 1825 | bm2.Scale = Vector3.new(3,1,3) | |
| 1826 | bm2.MeshId = "rbxassetid://3270017" | |
| 1827 | local blast3 = Instance.new("Part", rarm)
| |
| 1828 | blast3.BrickColor = BrickColor.new("New Yeller")
| |
| 1829 | blast3.Anchored = true | |
| 1830 | blast3.CanCollide = false | |
| 1831 | blast3.Locked = true | |
| 1832 | blast3.Size = Vector3.new(1, 1, 1) | |
| 1833 | blast3.TopSurface = "Smooth" | |
| 1834 | blast3.BottomSurface = "Smooth" | |
| 1835 | blast3.Transparency = 0 | |
| 1836 | blast3.CFrame = HandCF | |
| 1837 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 1838 | bm3.Scale = Vector3.new(3,1,3) | |
| 1839 | bm3.MeshId = "rbxassetid://3270017" | |
| 1840 | for i = 1,120 do rs:wait() | |
| 1841 | ||
| 1842 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 1843 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 1844 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 1845 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 1846 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 1847 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 1848 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 1849 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 1850 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 1851 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 1852 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 1853 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 1854 | X.CFrame = cf | |
| 1855 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 1856 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1857 | part3.CFrame=X.CFrame | |
| 1858 | part4.CFrame=X.CFrame | |
| 1859 | part7.CFrame=X.CFrame | |
| 1860 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 1861 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 1862 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1863 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 1864 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 1865 | rs:wait() | |
| 1866 | end | |
| 1867 | X:Destroy() | |
| 1868 | part:Destroy() | |
| 1869 | part2:Destroy() | |
| 1870 | part3:Destroy() | |
| 1871 | part4:Destroy() | |
| 1872 | part5:Destroy() | |
| 1873 | part6:Destroy() | |
| 1874 | blast:Destroy() | |
| 1875 | blast2:Destroy() | |
| 1876 | blast3:Destroy() | |
| 1877 | z:Destroy() | |
| 1878 | z1:Destroy() | |
| 1879 | z2:Destroy() | |
| 1880 | z3:Destroy() | |
| 1881 | z4:Destroy() | |
| 1882 | ||
| 1883 | end) | |
| 1884 | for i = 1, 20 do | |
| 1885 | 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) | |
| 1886 | 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) | |
| 1887 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1888 | 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) | |
| 1889 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 1890 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 1891 | if Debounces.on == false then break end | |
| 1892 | rs:wait() | |
| 1893 | end | |
| 1894 | if Debounces.CanAttack == false then | |
| 1895 | Debounces.CanAttack = true | |
| 1896 | Debounces.NoIdl = false | |
| 1897 | Debounces.on = false | |
| 1898 | end | |
| 1899 | end | |
| 1900 | end | |
| 1901 | end) | |
| 1902 | ---------------------------------------------------- | |
| 1903 | mouse.KeyDown:connect(function(key) | |
| 1904 | if key == "e" then | |
| 1905 | if Debounces.CanAttack == true then | |
| 1906 | Debounces.CanAttack = false | |
| 1907 | Debounces.on = true | |
| 1908 | Debounces.NoIdl = true | |
| 1909 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 1910 | z = Instance.new("Sound", rarm)
| |
| 1911 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 1912 | z.Volume = .6 | |
| 1913 | z.Pitch = pt[math.random(1,#pt)] | |
| 1914 | z.Looped = false | |
| 1915 | z:Play() | |
| 1916 | Debounces.RPunch = true | |
| 1917 | Debounces.LPunch = true | |
| 1918 | Debounces.ks = true | |
| 1919 | Debounces.ks2 = true | |
| 1920 | for i = 1, 3 do | |
| 1921 | wait() | |
| 1922 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 1923 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 1924 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1925 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 1926 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 1927 | 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.92) | |
| 1928 | ||
| 1929 | end | |
| 1930 | z2 = Instance.new("Sound", larm)
| |
| 1931 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1932 | z2.Volume = .6 | |
| 1933 | z2.Pitch = pt[math.random(1,#pt)] | |
| 1934 | z2.Looped = false | |
| 1935 | z2:Play() | |
| 1936 | for i = 1, 3 do | |
| 1937 | wait() | |
| 1938 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 1939 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 1940 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1941 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 1942 | 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) | |
| 1943 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 1944 | ||
| 1945 | end | |
| 1946 | z3 = Instance.new("Sound", rarm)
| |
| 1947 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1948 | z3.Volume = 0.6 | |
| 1949 | z3.Pitch = pt[math.random(1,#pt)] | |
| 1950 | z3.Looped = false | |
| 1951 | z3:Play() | |
| 1952 | for i = 1, 3 do | |
| 1953 | wait() | |
| 1954 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 1955 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 1956 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1957 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 1958 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 1959 | 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.92) | |
| 1960 | ||
| 1961 | end | |
| 1962 | z4 = Instance.new("Sound", larm)
| |
| 1963 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1964 | z4.Volume = .6 | |
| 1965 | z4.Pitch = pt[math.random(1,#pt)] | |
| 1966 | z4.Looped = false | |
| 1967 | z4:Play() | |
| 1968 | for i = 1, 3 do | |
| 1969 | wait() | |
| 1970 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 1971 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 1972 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1973 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 1974 | 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) | |
| 1975 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 1976 | ||
| 1977 | end | |
| 1978 | z5 = Instance.new("Sound", rarm)
| |
| 1979 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1980 | z5.Volume = .6 | |
| 1981 | z5.Pitch = pt[math.random(1,#pt)] | |
| 1982 | z5.Looped = false | |
| 1983 | z5:Play() | |
| 1984 | for i = 1, 3 do | |
| 1985 | wait() | |
| 1986 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 1987 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 1988 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1989 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 1990 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 1991 | 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.92) | |
| 1992 | ||
| 1993 | end | |
| 1994 | z6 = Instance.new("Sound", larm)
| |
| 1995 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1996 | z6.Volume = .6 | |
| 1997 | z6.Pitch = pt[math.random(1,#pt)] | |
| 1998 | z6.Looped = false | |
| 1999 | z6:Play() | |
| 2000 | for i = 1, 3 do | |
| 2001 | wait() | |
| 2002 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2003 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2004 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2005 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2006 | 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) | |
| 2007 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2008 | ||
| 2009 | end | |
| 2010 | z7 = Instance.new("Sound", rarm)
| |
| 2011 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2012 | z7.Volume = .6 | |
| 2013 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2014 | z7.Looped = false | |
| 2015 | z7:Play() | |
| 2016 | for i = 1, 3 do | |
| 2017 | wait() | |
| 2018 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2019 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2020 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2021 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2022 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2023 | 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.92) | |
| 2024 | ||
| 2025 | end | |
| 2026 | z8 = Instance.new("Sound", larm)
| |
| 2027 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2028 | z8.Volume = .6 | |
| 2029 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2030 | z8.Looped = false | |
| 2031 | z8:Play() | |
| 2032 | for i = 1, 3 do | |
| 2033 | wait() | |
| 2034 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2035 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2036 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2037 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2038 | 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) | |
| 2039 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2040 | ||
| 2041 | end | |
| 2042 | z9 = Instance.new("Sound", rarm)
| |
| 2043 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2044 | z9.Volume = 0.6 | |
| 2045 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2046 | z9.Looped = false | |
| 2047 | z9:Play() | |
| 2048 | for i = 1, 3 do | |
| 2049 | wait() | |
| 2050 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2051 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2054 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2055 | 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.92) | |
| 2056 | ||
| 2057 | end | |
| 2058 | z10 = Instance.new("Sound", larm)
| |
| 2059 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2060 | z10.Volume = .6 | |
| 2061 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2062 | z10.Looped = false | |
| 2063 | z10:Play() | |
| 2064 | for i = 1, 3 do | |
| 2065 | wait() | |
| 2066 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2067 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2068 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2069 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2070 | 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) | |
| 2071 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2072 | ||
| 2073 | end | |
| 2074 | z11 = Instance.new("Sound", rarm)
| |
| 2075 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2076 | z11.Volume = .6 | |
| 2077 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2078 | z11.Looped = false | |
| 2079 | z11:Play() | |
| 2080 | for i = 1, 3 do | |
| 2081 | wait() | |
| 2082 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2083 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2084 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2085 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2086 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2087 | 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.92) | |
| 2088 | ||
| 2089 | end | |
| 2090 | z12 = Instance.new("Sound", larm)
| |
| 2091 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2092 | z12.Volume = .6 | |
| 2093 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2094 | z12.Looped = false | |
| 2095 | z12:Play() | |
| 2096 | for i = 1, 3 do | |
| 2097 | wait() | |
| 2098 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2099 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2100 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2101 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2102 | 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) | |
| 2103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2104 | ||
| 2105 | ||
| 2106 | end | |
| 2107 | z13 = Instance.new("Sound", rarm)
| |
| 2108 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2109 | z13.Volume = 0.6 | |
| 2110 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2111 | z13.Looped = false | |
| 2112 | z13:Play() | |
| 2113 | for i = 1, 3 do | |
| 2114 | wait() | |
| 2115 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2117 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2118 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2119 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2120 | 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.92) | |
| 2121 | ||
| 2122 | end | |
| 2123 | z14 = Instance.new("Sound", larm)
| |
| 2124 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2125 | z14.Volume = .6 | |
| 2126 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2127 | z14.Looped = false | |
| 2128 | z14:Play() | |
| 2129 | for i = 1, 3 do | |
| 2130 | wait() | |
| 2131 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2132 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2133 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2135 | 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) | |
| 2136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2137 | ||
| 2138 | end | |
| 2139 | z15 = Instance.new("Sound", rarm)
| |
| 2140 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2141 | z15.Volume = .6 | |
| 2142 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2143 | z15.Looped = false | |
| 2144 | z15:Play() | |
| 2145 | for i = 1, 3 do | |
| 2146 | wait() | |
| 2147 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2148 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2149 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2150 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2151 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2152 | 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.92) | |
| 2153 | ||
| 2154 | end | |
| 2155 | z16 = Instance.new("Sound", larm)
| |
| 2156 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2157 | z16.Volume = .6 | |
| 2158 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2159 | z16.Looped = false | |
| 2160 | z16:Play() | |
| 2161 | for i = 1, 3 do | |
| 2162 | wait() | |
| 2163 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2164 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2165 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2166 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2167 | 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) | |
| 2168 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2169 | ||
| 2170 | end | |
| 2171 | z17 = Instance.new("Sound", rarm)
| |
| 2172 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2173 | z17.Volume = .6 | |
| 2174 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2175 | z17.Looped = false | |
| 2176 | z17:Play() | |
| 2177 | for i = 1, 3 do | |
| 2178 | wait() | |
| 2179 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2180 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2181 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2182 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2183 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2184 | 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.92) | |
| 2185 | ||
| 2186 | end | |
| 2187 | z18 = Instance.new("Sound", larm)
| |
| 2188 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2189 | z18.Volume = .6 | |
| 2190 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2191 | z18.Looped = false | |
| 2192 | z18:Play() | |
| 2193 | for i = 1, 3 do | |
| 2194 | wait() | |
| 2195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2196 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2197 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2199 | 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) | |
| 2200 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2201 | ||
| 2202 | end | |
| 2203 | z19 = Instance.new("Sound", rarm)
| |
| 2204 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2205 | z19.Volume = 0.6 | |
| 2206 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2207 | z19.Looped = false | |
| 2208 | z19:Play() | |
| 2209 | for i = 1, 3 do | |
| 2210 | wait() | |
| 2211 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2212 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2213 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2214 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(-50), 0), 0.92) | |
| 2215 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(-15)), 0.92) | |
| 2216 | 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.92) | |
| 2217 | ||
| 2218 | end | |
| 2219 | z20 = Instance.new("Sound", larm)
| |
| 2220 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2221 | z20.Volume = .6 | |
| 2222 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2223 | z20.Looped = false | |
| 2224 | z20:Play() | |
| 2225 | for i = 1, 3 do | |
| 2226 | wait() | |
| 2227 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.0,0.5,0)*CFrame.Angles(math.rad(60),math.rad(-20),math.rad(-80)), 0.92) | |
| 2228 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,0)*CFrame.Angles(math.rad(40),math.rad(20),math.rad(80)), 0.92) | |
| 2229 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2230 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(45), math.rad(50), 0), 0.92) | |
| 2231 | 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) | |
| 2232 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(60), math.rad(20), math.rad(20)), 0.92) | |
| 2233 | ||
| 2234 | end | |
| 2235 | z:Destroy() | |
| 2236 | z2:Destroy() | |
| 2237 | z3:Destroy() | |
| 2238 | z4:Destroy() | |
| 2239 | z5:Destroy() | |
| 2240 | z6:Destroy() | |
| 2241 | z7:Destroy() | |
| 2242 | z8:Destroy() | |
| 2243 | z9:Destroy() | |
| 2244 | z10:Destroy() | |
| 2245 | z11:Destroy() | |
| 2246 | z12:Destroy() | |
| 2247 | z13:Destroy() | |
| 2248 | z14:Destroy() | |
| 2249 | z15:Destroy() | |
| 2250 | z16:Destroy() | |
| 2251 | z17:Destroy() | |
| 2252 | z18:Destroy() | |
| 2253 | z19:Destroy() | |
| 2254 | z20:Destroy() | |
| 2255 | Debounces.LPunch = false | |
| 2256 | Debounces.RPunch = false | |
| 2257 | Debounces.ks = false | |
| 2258 | Debounces.ks2 = false | |
| 2259 | if Debounces.CanAttack == false then | |
| 2260 | Debounces.CanAttack = true | |
| 2261 | Debounces.on = false | |
| 2262 | Debounces.NoIdl = false | |
| 2263 | end | |
| 2264 | end | |
| 2265 | end | |
| 2266 | end) | |
| 2267 | ------------------------------- | |
| 2268 | mouse.KeyDown:connect(function(key) | |
| 2269 | if key == "t" then | |
| 2270 | if Debounces.CanAttack == true then | |
| 2271 | Debounces.CanAttack = false | |
| 2272 | Debounces.NoIdl = true | |
| 2273 | Debounces.on = true | |
| 2274 | Debounces.ks = true | |
| 2275 | kik = rleg.Touched:connect(function(ht) | |
| 2276 | hit = ht.Parent | |
| 2277 | if ht and hit:IsA("Model") then
| |
| 2278 | if hit:FindFirstChild("Humanoid") then
| |
| 2279 | if hit.Name ~= p.Name then | |
| 2280 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2281 | Debounces.Slashed = true]]-- | |
| 2282 | if Debounces.ks==true then | |
| 2283 | z = Instance.new("Sound",hed)
| |
| 2284 | z.SoundId = "rbxassetid://169380525" | |
| 2285 | z.Volume = 1 | |
| 2286 | z:Play() | |
| 2287 | Debounces.ks=false | |
| 2288 | end | |
| 2289 | hit:FindFirstChild("Humanoid"):TakeDamage(9999)
| |
| 2290 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2291 | --Debounces.Slashed = false | |
| 2292 | --end | |
| 2293 | end | |
| 2294 | end | |
| 2295 | elseif ht and hit:IsA("Hat") then
| |
| 2296 | if hit.Parent.Name ~= p.Name then | |
| 2297 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2298 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2299 | Debounces.Slashed = true]]-- | |
| 2300 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(9999)
| |
| 2301 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2302 | --Debounces.Slashed = false | |
| 2303 | --end | |
| 2304 | end | |
| 2305 | end | |
| 2306 | end | |
| 2307 | end) | |
| 2308 | for i = 1,20 do | |
| 2309 | 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) | |
| 2310 | 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) | |
| 2311 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2312 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2313 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2314 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2315 | if Debounces.on == false then break end | |
| 2316 | rs:wait() | |
| 2317 | end | |
| 2318 | kik:disconnect() | |
| 2319 | if Debounces.CanAttack == false then | |
| 2320 | Debounces.CanAttack = true | |
| 2321 | Debounces.NoIdl = false | |
| 2322 | Debounces.on = false | |
| 2323 | end | |
| 2324 | end | |
| 2325 | end | |
| 2326 | end) | |
| 2327 | ---------------------------------------------------- | |
| 2328 | ||
| 2329 | mouse.KeyDown:connect(function(key) | |
| 2330 | if key == "y" then | |
| 2331 | ||
| 2332 | ||
| 2333 | ||
| 2334 | if Debounces.CanAttack == true then | |
| 2335 | Debounces.CanAttack = false | |
| 2336 | Debounces.on = true | |
| 2337 | Debounces.NoIdl = true | |
| 2338 | for i = 1, 15 do | |
| 2339 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-35)), 0.2) | |
| 2340 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(45)), 0.6) | |
| 2341 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2342 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2343 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2344 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2345 | if Debounces.on == false then break end | |
| 2346 | rs:wait(7.7) | |
| 2347 | end | |
| 2348 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS","Red")
| |
| 2349 | wait(1.0) | |
| 2350 | ||
| 2351 | ||
| 2352 | Debounces.on = false | |
| 2353 | Debounces.Here = false | |
| 2354 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"KAME","Red")
| |
| 2355 | wait(1.8) | |
| 2356 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAME","Red")
| |
| 2357 | wait(1.8) | |
| 2358 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAAAAAAAAAAAAAAAAAAAA","Red")
| |
| 2359 | shot = shot + 1 | |
| 2360 | for i = 1, 15 do | |
| 2361 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.2) | |
| 2362 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-90)), 0.6) | |
| 2363 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2364 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2365 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2366 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2367 | ||
| 2368 | rs:wait(7.7) | |
| 2369 | end | |
| 2370 | local rng = Instance.new("Part", larm)
| |
| 2371 | rng.Anchored = true | |
| 2372 | rng.BrickColor = BrickColor.new("New Yeller")
| |
| 2373 | rng.CanCollide = false | |
| 2374 | rng.FormFactor = 3 | |
| 2375 | rng.Name = "Ring" | |
| 2376 | rng.Size = Vector3.new(1, 1, 1) | |
| 2377 | rng.Transparency = 0.35 | |
| 2378 | rng.TopSurface = 0 | |
| 2379 | rng.BottomSurface = 0 | |
| 2380 | rng2 = rng:clone() | |
| 2381 | rng3 = rng2:clone() | |
| 2382 | rng4 = rng2:clone() | |
| 2383 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2384 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2385 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2386 | rngm2 = rngm:clone() | |
| 2387 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2388 | rngm3=rngm2:clone() | |
| 2389 | rngm3.Parent = rng3 | |
| 2390 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2391 | rngm4 = rngm2:clone() | |
| 2392 | rngm4.Parent = rng4 | |
| 2393 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2394 | local bem = Instance.new("Part", larm)
| |
| 2395 | bem.Anchored = true | |
| 2396 | bem.BrickColor = BrickColor.new("New Yeller")
| |
| 2397 | bem.CanCollide = false | |
| 2398 | bem.FormFactor = 3 | |
| 2399 | bem.Name = "Beam" .. shot | |
| 2400 | bem.Size = Vector3.new(1, 1, 1) | |
| 2401 | bem.Transparency = 0.35 | |
| 2402 | bem.TopSurface = 0 | |
| 2403 | bem.BottomSurface = 0 | |
| 2404 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2405 | bemm.MeshType = 4 | |
| 2406 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2407 | local out = Instance.new("Part", larm)
| |
| 2408 | out.Anchored = true | |
| 2409 | out.BrickColor = BrickColor.new("New Yeller")
| |
| 2410 | out.CanCollide = false | |
| 2411 | out.FormFactor = 3 | |
| 2412 | out.Name = "Out" | |
| 2413 | out.Size = Vector3.new(4, 4, 4) | |
| 2414 | out.Transparency = 0.35 | |
| 2415 | out.TopSurface = 0 | |
| 2416 | out.BottomSurface = 0 | |
| 2417 | local outm = Instance.new("SpecialMesh", out)
| |
| 2418 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2419 | outm.Scale = Vector3.new(6, 4, 6) | |
| 2420 | local bnd = Instance.new("Part", larm)
| |
| 2421 | bnd.Anchored = true | |
| 2422 | bnd.BrickColor = BrickColor.new("New Yeller")
| |
| 2423 | bnd.CanCollide = false | |
| 2424 | bnd.FormFactor = 3 | |
| 2425 | bnd.Name = "Bend" | |
| 2426 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2427 | bnd.Transparency = 1 | |
| 2428 | bnd.TopSurface = 0 | |
| 2429 | bnd.BottomSurface = 0 | |
| 2430 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2431 | bndm.MeshType = 3 | |
| 2432 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2433 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2434 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2435 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2436 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2437 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2438 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2439 | Debounces.Shewt = true | |
| 2440 | coroutine.wrap(function() | |
| 2441 | for i = 1, 20, 0.2 do | |
| 2442 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2443 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2444 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2445 | rng.Transparency = i/20 | |
| 2446 | rng3.Transparency = 1/24 | |
| 2447 | rng4.Transparency = i/26 | |
| 2448 | wait() | |
| 2449 | end | |
| 2450 | wait(3.0) | |
| 2451 | rng:Destroy() | |
| 2452 | end)() | |
| 2453 | if Debounces.Shewt == true then | |
| 2454 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2455 | hit = ht.Parent | |
| 2456 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2457 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2458 | deb = true | |
| 2459 | coroutine.wrap(function() | |
| 2460 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2461 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2462 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 2463 | end)() | |
| 2464 | table.insert(Touche, hit.Name) | |
| 2465 | deb = false | |
| 2466 | end | |
| 2467 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2468 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2469 | deb = true | |
| 2470 | coroutine.wrap(function() | |
| 2471 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2472 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2473 | wait(1) | |
| 2474 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2475 | end)() | |
| 2476 | table.insert(Touche, hit.Parent.Name) | |
| 2477 | deb = false | |
| 2478 | for i, v in pairs(Touche) do | |
| 2479 | print(v) | |
| 2480 | end | |
| 2481 | end | |
| 2482 | end | |
| 2483 | end) | |
| 2484 | end | |
| 2485 | for i = 0, 260, 8 do | |
| 2486 | bem.Size = Vector3.new(i, 3, 3) | |
| 2487 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2488 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2489 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2490 | bnd.Size = Vector3.new(1,1,1) | |
| 2491 | bndm.Scale = Vector3.new(8,8,8) | |
| 2492 | if i % 10 == 0 then | |
| 2493 | local newRng = rng2:Clone() | |
| 2494 | newRng.Parent = larm | |
| 2495 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2496 | local newRngm = rngm2:clone() | |
| 2497 | newRngm.Parent=newRng | |
| 2498 | coroutine.wrap(function() | |
| 2499 | for i = 1, 10, 0.2 do | |
| 2500 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 2501 | newRng.Transparency = i/10 | |
| 2502 | wait() | |
| 2503 | end | |
| 2504 | wait(3.0) | |
| 2505 | newRng:Destroy() | |
| 2506 | end)() | |
| 2507 | end | |
| 2508 | wait() | |
| 2509 | end | |
| 2510 | wait(3.0) | |
| 2511 | Debounces.Shewt = false | |
| 2512 | bem:Destroy() | |
| 2513 | out:Destroy() | |
| 2514 | bnd:Destroy() | |
| 2515 | Debounces.Ready = false | |
| 2516 | for i, v in pairs(Touche) do | |
| 2517 | table.remove(Touche, i) | |
| 2518 | end | |
| 2519 | wait() | |
| 2520 | table.insert(Touche, char.Name) | |
| 2521 | Debounces.NoIdl = false | |
| 2522 | if Debounces.CanAttack == false then | |
| 2523 | Debounces.CanAttack = true | |
| 2524 | end | |
| 2525 | end | |
| 2526 | end | |
| 2527 | end) | |
| 2528 | ---------------------------------------------------- | |
| 2529 | --[[mouse.KeyDown:connect(function(key) | |
| 2530 | if key == "y" then | |
| 2531 | if Debounces.CanAttack == true then | |
| 2532 | Debounces.CanAttack = false | |
| 2533 | Debounces.NoIdl = true | |
| 2534 | Debounces.on = true | |
| 2535 | local shell = Instance.new("Part",torso)
| |
| 2536 | shell.BrickColor = BrickColor.new("New Yeller")
| |
| 2537 | shell.Anchored = false | |
| 2538 | shell.CanCollide = false | |
| 2539 | shell.Locked = true | |
| 2540 | shell.TopSurface = "SmoothNoOutlines" | |
| 2541 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2542 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2543 | shell.FormFactor = 3 | |
| 2544 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2545 | shellm.MeshType = "Sphere" | |
| 2546 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2547 | Omega = function() | |
| 2548 | local X = Instance.new("Part",char)
| |
| 2549 | local O = Instance.new("ObjectValue",X)
| |
| 2550 | O.Name = "creator" | |
| 2551 | X.Locked = true | |
| 2552 | X.Name = "Shell" | |
| 2553 | X.Anchored = false | |
| 2554 | X.CanCollide = false | |
| 2555 | X.Transparency = 0.5 | |
| 2556 | X.Reflectance = 0 | |
| 2557 | X.BottomSurface = 0 | |
| 2558 | X.TopSurface = 0 | |
| 2559 | X.Shape = 0 | |
| 2560 | local V = Instance.new("ObjectValue",X)
| |
| 2561 | V.Value = char | |
| 2562 | V.Name = "creator" | |
| 2563 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 2564 | X.Size = Vector3.new(40,40,40) | |
| 2565 | --X.Material = "Neon" | |
| 2566 | local Z = Instance.new("SpecialMesh",X)
| |
| 2567 | Z.MeshType = "Sphere" | |
| 2568 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 2569 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2570 | local bv = Instance.new("BodyVelocity",X)
| |
| 2571 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2572 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2573 | bv.velocity = root.CFrame.lookVector*10 | |
| 2574 | Explode = X.Touched:connect(function(hit) | |
| 2575 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 2576 | local cf = X.CFrame | |
| 2577 | bv:Destroy() | |
| 2578 | X.Anchored = true | |
| 2579 | Z:Remove() | |
| 2580 | Explode:disconnect() | |
| 2581 | X.Size = Vector3.new(3,3,3) | |
| 2582 | X.Touched:connect(function(hit) end) | |
| 2583 | X.CanCollide = false | |
| 2584 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 2585 | if v:FindFirstChild('Humanoid') then
| |
| 2586 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
| 2587 | end | |
| 2588 | end | |
| 2589 | for i = 1, (40) do rs:wait() | |
| 2590 | X.Transparency = X.Transparency + (1/40) | |
| 2591 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2592 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 2593 | end | |
| 2594 | X:Destroy() | |
| 2595 | end | |
| 2596 | end) | |
| 2597 | end | |
| 2598 | for i = 1,200 do | |
| 2599 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2600 | 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) | |
| 2601 | 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) | |
| 2602 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2603 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2604 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2605 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2606 | if Debounces.on == false then break end | |
| 2607 | rs:wait() | |
| 2608 | end | |
| 2609 | for i = 1,30 do | |
| 2610 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 2611 | 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) | |
| 2612 | 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) | |
| 2613 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2614 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2615 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2616 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2617 | if Debounces.on == false then break end | |
| 2618 | rs:wait() | |
| 2619 | end | |
| 2620 | for i = 1,40 do | |
| 2621 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 2622 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2623 | 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) | |
| 2624 | 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) | |
| 2625 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2626 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2627 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2628 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2629 | if Debounces.on == false then break end | |
| 2630 | rs:wait() | |
| 2631 | end | |
| 2632 | for i = 1,40 do | |
| 2633 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 2634 | 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) | |
| 2635 | 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) | |
| 2636 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2637 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2638 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2639 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2640 | if Debounces.on == false then break end | |
| 2641 | rs:wait() | |
| 2642 | end | |
| 2643 | for i = 1,60 do | |
| 2644 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2645 | 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) | |
| 2646 | 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) | |
| 2647 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2648 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2649 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2650 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2651 | if Debounces.on == false then break end | |
| 2652 | rs:wait() | |
| 2653 | end | |
| 2654 | for i = 1,60 do | |
| 2655 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2656 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2657 | 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) | |
| 2658 | 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) | |
| 2659 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2660 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2661 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2662 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2663 | if Debounces.on == false then break end | |
| 2664 | rs:wait() | |
| 2665 | end | |
| 2666 | if Debounces.CanAttack == false then | |
| 2667 | Debounces.CanAttack = true | |
| 2668 | Debounces.NoIdl = false | |
| 2669 | Debounces.on = false | |
| 2670 | end | |
| 2671 | end | |
| 2672 | end | |
| 2673 | end)]] | |
| 2674 | ---------------------------------------------------- | |
| 2675 | ||
| 2676 | mouse.KeyDown:connect(function(key) | |
| 2677 | if key == "h" then | |
| 2678 | ||
| 2679 | ||
| 2680 | ||
| 2681 | if Debounces.CanAttack == true then | |
| 2682 | Debounces.CanAttack = false | |
| 2683 | Debounces.on = true | |
| 2684 | Debounces.NoIdl = true | |
| 2685 | for i = 1, 15 do | |
| 2686 | wait() | |
| 2687 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.2) | |
| 2688 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.6) | |
| 2689 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2690 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 2691 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 2692 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 2693 | if Debounces.on == false then break end | |
| 2694 | ||
| 2695 | end | |
| 2696 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS","Red")
| |
| 2697 | wait(1.0) | |
| 2698 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"FINAL!","Red")
| |
| 2699 | ||
| 2700 | local larm = game.Players.LocalPlayer.Character["Left Arm"] | |
| 2701 | local balls = Instance.new("Part",larm)
| |
| 2702 | balls.Anchored = false | |
| 2703 | local aura = Instance.new("ParticleEmitter",balls)
| |
| 2704 | aura.Size = NumberSequence.new(2) | |
| 2705 | aura.Lifetime = NumberRange.new(0.5) | |
| 2706 | aura.LightEmission = 1 | |
| 2707 | aura.Texture = "http://www.roblox.com/asset/?id=347745038" | |
| 2708 | aura.Speed = NumberRange.new(0) | |
| 2709 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
| 2710 | aura.Rate = 20 | |
| 2711 | balls.Material = "Neon" | |
| 2712 | balls.CanCollide = false | |
| 2713 | balls.Locked = true | |
| 2714 | balls.Transparency = 0 | |
| 2715 | balls.Material = "SmoothPlastic" | |
| 2716 | balls.Size = Vector3.new(1,1,1) | |
| 2717 | balls.TopSurface = "SmoothNoOutlines" | |
| 2718 | balls.BottomSurface = "SmoothNoOutlines" | |
| 2719 | balls.BrickColor = BrickColor.new("Teal")
| |
| 2720 | ballsm = Instance.new("SpecialMesh",balls)
| |
| 2721 | ballsm.MeshType = "Sphere" | |
| 2722 | ballsm.Scale = Vector3.new(2,2,2) | |
| 2723 | local cor = Instance.new("Part", larm)
| |
| 2724 | cor.Name = "Link" | |
| 2725 | cor.Locked = true | |
| 2726 | cor.BottomSurface = 0 | |
| 2727 | cor.CanCollide = false | |
| 2728 | cor.Size = Vector3.new(1, 9, 1) | |
| 2729 | cor.Transparency = 1 | |
| 2730 | cor.TopSurface = 0 | |
| 2731 | corw = Instance.new("Weld",larm)
| |
| 2732 | corw.Part0 = larm | |
| 2733 | corw.Part1 = cor | |
| 2734 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2735 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2736 | weld1 = Instance.new("Weld",larm)
| |
| 2737 | weld1.Part0 = balls | |
| 2738 | weld1.Part1 = torso | |
| 2739 | weld1.C0 = CFrame.new(0,-.5, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2740 | ||
| 2741 | x = Instance.new("Sound",char)
| |
| 2742 | x.SoundId = "rbxassetid://670166779" | |
| 2743 | x.Pitch = 1 | |
| 2744 | x.Volume = 5 | |
| 2745 | wait(.0000001) | |
| 2746 | x:Play() | |
| 2747 | for i = 1, 15 do | |
| 2748 | wait() | |
| 2749 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-15)), 0.2) | |
| 2750 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(15)), 0.6) | |
| 2751 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2752 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 2753 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2754 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2755 | ||
| 2756 | ||
| 2757 | end | |
| 2758 | ||
| 2759 | wait(0.5) | |
| 2760 | ||
| 2761 | ||
| 2762 | Debounces.on = false | |
| 2763 | Debounces.Here = false | |
| 2764 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Kameeeeee","Red")
| |
| 2765 | ||
| 2766 | wait(0.7) | |
| 2767 | ||
| 2768 | for i = 1, 15 do | |
| 2769 | wait() | |
| 2770 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,.4,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-35)), 0.2) | |
| 2771 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.4,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(45)), 0.6) | |
| 2772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2774 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2775 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2776 | weld1.C0 = CFrame.new(0,1, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2777 | end | |
| 2778 | ||
| 2779 | wait() | |
| 2780 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Hameeeeee","Red")
| |
| 2781 | wait() | |
| 2782 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAAAAAAAAAAAAAAAAAAAA","Red")
| |
| 2783 | balls:Destroy() | |
| 2784 | wait() | |
| 2785 | for i = 1, 15 do | |
| 2786 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,.6,0)*CFrame.Angles(math.rad(80),math.rad(20),math.rad(-20)), 0.2) | |
| 2787 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,.6,0)*CFrame.Angles(math.rad(100),math.rad(-20),math.rad(20)), 0.6) | |
| 2788 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2789 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 2790 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2791 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2792 | ||
| 2793 | ||
| 2794 | end | |
| 2795 | wait(1.6) | |
| 2796 | shot = shot + 1 | |
| 2797 | ||
| 2798 | ||
| 2799 | local rng = Instance.new("Part",larm)
| |
| 2800 | rng.Anchored = true | |
| 2801 | rng.BrickColor = BrickColor.new("New Yeller")
| |
| 2802 | rng.CanCollide = false | |
| 2803 | rng.FormFactor = 3 | |
| 2804 | rng.Name = "Ring" | |
| 2805 | rng.Size = Vector3.new(8,8,8) | |
| 2806 | rng.Transparency = 0.35 | |
| 2807 | rng.TopSurface = 0 | |
| 2808 | rng.BottomSurface = 0 | |
| 2809 | rng2 = rng:clone() | |
| 2810 | rng3 = rng2:clone() | |
| 2811 | rng4 = rng2:clone() | |
| 2812 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2813 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2814 | rngm.Scale = Vector3.new(1,1,1) | |
| 2815 | rngm2 = rngm:clone() | |
| 2816 | rngm2.Scale = Vector3.new(1,1,1) | |
| 2817 | rngm3=rngm2:clone() | |
| 2818 | rngm3.Parent = rng3 | |
| 2819 | rngm3.Scale = Vector3.new(1,1,1) | |
| 2820 | rngm4 = rngm2:clone() | |
| 2821 | rngm4.Parent = rng4 | |
| 2822 | rngm4.Scale = Vector3.new(1,1,1) | |
| 2823 | local bem = Instance.new("Part",larm)
| |
| 2824 | bem.Anchored = true | |
| 2825 | bem.Position = bem.Position + Vector3.new(0,0,5) | |
| 2826 | bem.BrickColor = BrickColor.new("Teal")
| |
| 2827 | bem.CanCollide = false | |
| 2828 | local aura = Instance.new("ParticleEmitter",bem)
| |
| 2829 | aura.Size = NumberSequence.new(11) | |
| 2830 | aura.Lifetime = NumberRange.new(0.5) | |
| 2831 | aura.LightEmission = 1 | |
| 2832 | aura.Texture = "http://www.roblox.com/asset/?id=347745038" | |
| 2833 | aura.Speed = NumberRange.new(0) | |
| 2834 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
| 2835 | aura.Rate = 400 | |
| 2836 | bem.FormFactor = 3 | |
| 2837 | bem.Name = "Beam" .. shot | |
| 2838 | bem.Size = Vector3.new(50,50,50) | |
| 2839 | bem.Transparency = 0.35 | |
| 2840 | bem.TopSurface = 0 | |
| 2841 | bem.BottomSurface = 0 | |
| 2842 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2843 | bemm.MeshType = 4 | |
| 2844 | bemm.Scale = Vector3.new(1, 1, 1) | |
| 2845 | local out = Instance.new("Part",char)
| |
| 2846 | out.Anchored = true | |
| 2847 | out.BrickColor = BrickColor.new("Teal")
| |
| 2848 | out.CanCollide = false | |
| 2849 | out.FormFactor = 3 | |
| 2850 | out.Name = "Out" | |
| 2851 | out.Size = Vector3.new(1,1,1) | |
| 2852 | out.Transparency = 0.35 | |
| 2853 | out.TopSurface = 0 | |
| 2854 | out.BottomSurface = 0 | |
| 2855 | local outm = Instance.new("SpecialMesh", out)
| |
| 2856 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2857 | outm.Scale = Vector3.new(1, 1, 1) | |
| 2858 | local bnd = Instance.new("Part", larm)
| |
| 2859 | bnd.Anchored = true | |
| 2860 | bnd.BrickColor = BrickColor.new("Teal")
| |
| 2861 | bnd.CanCollide = false | |
| 2862 | bnd.FormFactor = 3 | |
| 2863 | bnd.Name = "Bend" | |
| 2864 | bnd.Size = Vector3.new(10,10,10) | |
| 2865 | bnd.Transparency = 1 | |
| 2866 | bnd.TopSurface = 0 | |
| 2867 | bnd.BottomSurface = 0 | |
| 2868 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2869 | bndm.MeshType = 3 | |
| 2870 | bndm.Scale = Vector3.new(1,1,1) | |
| 2871 | out.CFrame = torso.CFrame * CFrame.new(0, 0, 0) | |
| 2872 | bem.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
| 2873 | bnd.CFrame = bem.CFrame * CFrame.new(0,0,0) | |
| 2874 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(0), 0, 0) | |
| 2875 | rng3.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
| 2876 | rng4.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
| 2877 | Debounces.Shewt = true | |
| 2878 | coroutine.wrap(function() | |
| 2879 | for i = 1, 20, 0.2 do | |
| 2880 | rngm.Scale = Vector3.new(16 + i*6, 10 + i*6, 2) | |
| 2881 | rngm3.Scale = Vector3.new(18 + i*8, 8 + i*8, 2) | |
| 2882 | rngm4.Scale = Vector3.new(20 + i*10, 6 + i*10, 2) | |
| 2883 | rng.Transparency = i/20 | |
| 2884 | rng3.Transparency = 1/24 | |
| 2885 | rng4.Transparency = i/26 | |
| 2886 | wait() | |
| 2887 | end | |
| 2888 | wait(5.0) | |
| 2889 | rng:Destroy() | |
| 2890 | end)() | |
| 2891 | if Debounces.Shewt == true then | |
| 2892 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2893 | hit = ht.Parent | |
| 2894 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2895 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2896 | deb = true | |
| 2897 | coroutine.wrap(function() | |
| 2898 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2899 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2900 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 2901 | end)() | |
| 2902 | table.insert(Touche, hit.Name) | |
| 2903 | deb = false | |
| 2904 | end | |
| 2905 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2906 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2907 | deb = true | |
| 2908 | coroutine.wrap(function() | |
| 2909 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2910 | hit.Parent.Torso.Position = hit.Parent.Torso.Position + Vector3.new(0,0,5) | |
| 2911 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2912 | wait(1) | |
| 2913 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2914 | end)() | |
| 2915 | table.insert(Touche, hit.Parent.Name) | |
| 2916 | deb = false | |
| 2917 | for i, v in pairs(Touche) do | |
| 2918 | print(v) | |
| 2919 | end | |
| 2920 | end | |
| 2921 | end | |
| 2922 | end) | |
| 2923 | end | |
| 2924 | for i = 0, 260, 8 do | |
| 2925 | bem.Size = Vector3.new(i, 16,16) | |
| 2926 | out.CFrame = torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
| 2927 | bem.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2928 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2929 | bnd.Size = Vector3.new(10,10,10) | |
| 2930 | bndm.Scale = Vector3.new(10,10,10) | |
| 2931 | if i % 10 == 0 then | |
| 2932 | local newRng = rng2:Clone() | |
| 2933 | newRng.Parent = torso | |
| 2934 | newRng.CFrame = torso.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2935 | local newRngm = rngm2:clone() | |
| 2936 | newRngm.Parent=newRng | |
| 2937 | coroutine.wrap(function() | |
| 2938 | for i = 1, 10, 0.2 do | |
| 2939 | newRngm.Scale = Vector3.new(12 + i*2, 12 + i*2, 3) | |
| 2940 | newRng.Transparency = i/10 | |
| 2941 | wait() | |
| 2942 | end | |
| 2943 | wait(3.0) | |
| 2944 | newRng:Destroy() | |
| 2945 | pt:Destroy() | |
| 2946 | pt2:Destroy() | |
| 2947 | end)() | |
| 2948 | end | |
| 2949 | wait() | |
| 2950 | end | |
| 2951 | wait(3.0) | |
| 2952 | Debounces.Shewt = false | |
| 2953 | bem:Destroy() | |
| 2954 | out:Destroy() | |
| 2955 | bnd:Destroy() | |
| 2956 | Debounces.Ready = false | |
| 2957 | for i, v in pairs(Touche) do | |
| 2958 | table.remove(Touche, i) | |
| 2959 | end | |
| 2960 | wait() | |
| 2961 | table.insert(Touche, char.Name) | |
| 2962 | Debounces.NoIdl = false | |
| 2963 | if Debounces.CanAttack == false then | |
| 2964 | Debounces.CanAttack = true | |
| 2965 | end | |
| 2966 | end | |
| 2967 | end | |
| 2968 | end) | |
| 2969 | ---------------------------------------------------- | |
| 2970 | --[[mouse.KeyDown:connect(function(key) | |
| 2971 | if key == "h" then | |
| 2972 | if Debounces.CanAttack == true then | |
| 2973 | Debounces.CanAttack = false | |
| 2974 | Debounces.NoIdl = true | |
| 2975 | Debounces.on = true | |
| 2976 | local shell = Instance.new("Part",torso)
| |
| 2977 | shell.BrickColor = BrickColor.new("New Yeller")
| |
| 2978 | shell.Anchored = false | |
| 2979 | shell.CanCollide = false | |
| 2980 | shell.Locked = true | |
| 2981 | shell.TopSurface = "SmoothNoOutlines" | |
| 2982 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2983 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2984 | shell.FormFactor = 3 | |
| 2985 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2986 | shellm.MeshType = "Sphere" | |
| 2987 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2988 | Omega = function() | |
| 2989 | local X = Instance.new("Part",char)
| |
| 2990 | local O = Instance.new("ObjectValue",X)
| |
| 2991 | O.Name = "creator" | |
| 2992 | X.Locked = true | |
| 2993 | X.Name = "Shell" | |
| 2994 | X.Anchored = false | |
| 2995 | X.CanCollide = false | |
| 2996 | X.Transparency = 0.5 | |
| 2997 | X.Reflectance = 0 | |
| 2998 | X.BottomSurface = 0 | |
| 2999 | X.TopSurface = 0 | |
| 3000 | X.Shape = 0 | |
| 3001 | local V = Instance.new("ObjectValue",X)
| |
| 3002 | V.Value = char | |
| 3003 | V.Name = "creator" | |
| 3004 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 3005 | X.Size = Vector3.new(40,40,40) | |
| 3006 | --X.Material = "Neon" | |
| 3007 | local Z = Instance.new("SpecialMesh",X)
| |
| 3008 | Z.MeshType = "Sphere" | |
| 3009 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 3010 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3011 | local bv = Instance.new("BodyVelocity",X)
| |
| 3012 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3013 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3014 | bv.velocity = root.CFrame.lookVector*10 | |
| 3015 | Explode = X.Touched:connect(function(hit) | |
| 3016 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3017 | local cf = X.CFrame | |
| 3018 | bv:Destroy() | |
| 3019 | X.Anchored = true | |
| 3020 | Z:Remove() | |
| 3021 | Explode:disconnect() | |
| 3022 | X.Size = Vector3.new(3,3,3) | |
| 3023 | X.Touched:connect(function(hit) end) | |
| 3024 | X.CanCollide = false | |
| 3025 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 3026 | if v:FindFirstChild('Humanoid') then
| |
| 3027 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
| 3028 | end | |
| 3029 | end | |
| 3030 | for i = 1, (40) do rs:wait() | |
| 3031 | X.Transparency = X.Transparency + (1/40) | |
| 3032 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3033 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 3034 | end | |
| 3035 | X:Destroy() | |
| 3036 | end | |
| 3037 | end) | |
| 3038 | end | |
| 3039 | for i = 1,200 do | |
| 3040 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3041 | 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) | |
| 3042 | 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) | |
| 3043 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3044 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3045 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3046 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3047 | if Debounces.on == false then break end | |
| 3048 | rs:wait() | |
| 3049 | end | |
| 3050 | for i = 1,30 do | |
| 3051 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 3052 | 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) | |
| 3053 | 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) | |
| 3054 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3055 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3056 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3057 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3058 | if Debounces.on == false then break end | |
| 3059 | rs:wait() | |
| 3060 | end | |
| 3061 | for i = 1,40 do | |
| 3062 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 3063 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3064 | 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) | |
| 3065 | 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) | |
| 3066 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3067 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3068 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3069 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3070 | if Debounces.on == false then break end | |
| 3071 | rs:wait() | |
| 3072 | end | |
| 3073 | for i = 1,40 do | |
| 3074 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 3075 | 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) | |
| 3076 | 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) | |
| 3077 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3078 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3079 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3080 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3081 | if Debounces.on == false then break end | |
| 3082 | rs:wait() | |
| 3083 | end | |
| 3084 | for i = 1,60 do | |
| 3085 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3086 | 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) | |
| 3087 | 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) | |
| 3088 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3089 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3090 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3091 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3092 | if Debounces.on == false then break end | |
| 3093 | rs:wait() | |
| 3094 | end | |
| 3095 | for i = 1,60 do | |
| 3096 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 3097 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 3098 | 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) | |
| 3099 | 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) | |
| 3100 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 3101 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 3104 | if Debounces.on == false then break end | |
| 3105 | rs:wait() | |
| 3106 | end | |
| 3107 | if Debounces.CanAttack == false then | |
| 3108 | Debounces.CanAttack = true | |
| 3109 | Debounces.NoIdl = false | |
| 3110 | Debounces.on = false | |
| 3111 | end | |
| 3112 | end | |
| 3113 | end | |
| 3114 | end)]] | |
| 3115 | ---------------------------------------------------- | |
| 3116 | Charging = false | |
| 3117 | mouse.KeyDown:connect(function(key) | |
| 3118 | if key == "r" then | |
| 3119 | if Charging == false then | |
| 3120 | Charging = true | |
| 3121 | if Debounces.CanAttack == true then | |
| 3122 | Debounces.CanAttack = false | |
| 3123 | Debounces.NoIdl = true | |
| 3124 | Debounces.on = true | |
| 3125 | for i = 1,20 do | |
| 3126 | 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) | |
| 3127 | 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) | |
| 3128 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3129 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3130 | 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) | |
| 3131 | 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) | |
| 3132 | if Debounces.on == false then break end | |
| 3133 | rs:wait() | |
| 3134 | end | |
| 3135 | --[[for i = 1,20 do | |
| 3136 | 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) | |
| 3137 | 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) | |
| 3138 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 3139 | 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) | |
| 3140 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 3141 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 3142 | if Debounces.on == false then break end | |
| 3143 | rs:wait() | |
| 3144 | end]]-- | |
| 3145 | pt=Instance.new('Part',torso)
| |
| 3146 | pt.Anchored=true | |
| 3147 | pt.CanCollide=false | |
| 3148 | pt.Locked = true | |
| 3149 | pt.FormFactor='Custom' | |
| 3150 | pt.Size=Vector3.new(1,1,1) | |
| 3151 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3152 | pt.Transparency=.6 | |
| 3153 | pt.BrickColor=BrickColor.new('New Yeller')
| |
| 3154 | msh=Instance.new('SpecialMesh',pt)
| |
| 3155 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 3156 | msh.Scale=Vector3.new(8,4,8) | |
| 3157 | pt2=pt:clone() | |
| 3158 | pt2.Parent = torso | |
| 3159 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 3160 | pt2.BrickColor=BrickColor.new("New Yeller")
| |
| 3161 | msh2=msh:clone() | |
| 3162 | msh2.Parent=pt2 | |
| 3163 | msh2.Scale=Vector3.new(10,5,10) | |
| 3164 | ||
| 3165 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 3166 | ||
| 3167 | bl = Instance.new("Part", char)
| |
| 3168 | bl.Locked = true | |
| 3169 | bl.Name = "Shell" | |
| 3170 | bl.BrickColor = BrickColor.new("New Yeller")
| |
| 3171 | bl.Anchored = true | |
| 3172 | bl.CanCollide = false | |
| 3173 | bl.Transparency = 0 | |
| 3174 | bl.Reflectance = 0 | |
| 3175 | bl.BottomSurface = 0 | |
| 3176 | bl.TopSurface = 0 | |
| 3177 | bl.Shape = 0 | |
| 3178 | blm = Instance.new("SpecialMesh",bl)
| |
| 3179 | blm.MeshType = "Sphere" | |
| 3180 | blm.Scale = Vector3.new(1,1,1) | |
| 3181 | blm.MeshId = "rbxassetid://9982590" | |
| 3182 | ||
| 3183 | coroutine.resume(coroutine.create(function() | |
| 3184 | for i=1, math.huge, 4 do | |
| 3185 | if Charging == true then | |
| 3186 | rs:wait() | |
| 3187 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 3188 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 3189 | bl.Transparency = bl.Transparency + 0.005 | |
| 3190 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 3191 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 3192 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 3193 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 3194 | elseif Charging == false then break | |
| 3195 | end | |
| 3196 | end | |
| 3197 | end)) | |
| 3198 | ||
| 3199 | repeat | |
| 3200 | local p = Instance.new('Part',torso)
| |
| 3201 | p.formFactor = 'Custom' | |
| 3202 | p.Size = Vector3.new(1,1,1) | |
| 3203 | p.BrickColor = workspace.Base.BrickColor | |
| 3204 | p.CanCollide = false | |
| 3205 | p.Transparency = 0 | |
| 3206 | p.Anchored = true | |
| 3207 | p.Locked=true | |
| 3208 | p.Material = workspace.Base.Material | |
| 3209 | s = math.random(1,40)/10 | |
| 3210 | local m = Instance.new("BlockMesh",p)
| |
| 3211 | m.Scale = Vector3.new(s,s,s) | |
| 3212 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 3213 | --[[coroutine.wrap(function() | |
| 3214 | wait(2) | |
| 3215 | while Charging == true do | |
| 3216 | wait(2) | |
| 3217 | GroundWave1() | |
| 3218 | wait(2) | |
| 3219 | end | |
| 3220 | end)()]]-- | |
| 3221 | Spawn(function() | |
| 3222 | while rs:wait() do | |
| 3223 | if Charging == true then | |
| 3224 | 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))) | |
| 3225 | 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))) | |
| 3226 | 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)) | |
| 3227 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 3228 | 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))) | |
| 3229 | 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))) | |
| 3230 | elseif Charging == false then break | |
| 3231 | end | |
| 3232 | end | |
| 3233 | end) | |
| 3234 | Spawn(function() | |
| 3235 | while rs:wait() do | |
| 3236 | if p.Transparency >= 1 then p:Destroy() break end | |
| 3237 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 3238 | p.Transparency = p.Transparency+0.01 | |
| 3239 | end | |
| 3240 | end) | |
| 3241 | wait(.3) | |
| 3242 | until Charging == false | |
| 3243 | end | |
| 3244 | end | |
| 3245 | end | |
| 3246 | end) | |
| 3247 | ---------------------------------------------------- | |
| 3248 | mouse.KeyUp:connect(function(key) | |
| 3249 | if key == "r" then | |
| 3250 | if Charging == true then | |
| 3251 | Charging = false | |
| 3252 | pt:Destroy() | |
| 3253 | pt2:Destroy() | |
| 3254 | bl:Destroy() | |
| 3255 | if Debounces.CanAttack == false then | |
| 3256 | Debounces.CanAttack = true | |
| 3257 | Debounces.NoIdl = false | |
| 3258 | Debounces.on = false | |
| 3259 | end | |
| 3260 | end | |
| 3261 | end | |
| 3262 | end) | |
| 3263 | ---------------------------------------------------- | |
| 3264 | mouse.KeyDown:connect(function(key) | |
| 3265 | if key == "g" then | |
| 3266 | if Debounces.CanAttack == true then | |
| 3267 | Debounces.CanAttack = false | |
| 3268 | Debounces.NoIdl = true | |
| 3269 | Debounces.on = true | |
| 3270 | local shell = Instance.new("Part",torso)
| |
| 3271 | shell.BrickColor = BrickColor.new("New Yeller")
| |
| 3272 | shell.Anchored = true | |
| 3273 | shell.CanCollide = false | |
| 3274 | shell.Locked = true | |
| 3275 | shell.TopSurface = "SmoothNoOutlines" | |
| 3276 | shell.BottomSurface = "SmoothNoOutlines" | |
| 3277 | shell.Size = Vector3.new(1,1,1) | |
| 3278 | shellm = Instance.new("SpecialMesh",shell)
| |
| 3279 | shellm.MeshType = "Sphere" | |
| 3280 | shellm.Scale = Vector3.new(1,1,1) | |
| 3281 | local shell2 = Instance.new("Part",torso)
| |
| 3282 | shell2.BrickColor = BrickColor.new("New Yeller")
| |
| 3283 | shell2.Anchored = true | |
| 3284 | shell2.CanCollide = false | |
| 3285 | shell2.Locked = true | |
| 3286 | shell2.TopSurface = "SmoothNoOutlines" | |
| 3287 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 3288 | shell2.Size = Vector3.new(1,1,1) | |
| 3289 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 3290 | shellm2.MeshType = "Sphere" | |
| 3291 | shellm2.Scale = Vector3.new(1,1,1) | |
| 3292 | ||
| 3293 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 3294 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 3295 | local List = {}
| |
| 3296 | for i,v in pairs(workspace:GetChildren())do | |
| 3297 | if v:IsA("Model")then
| |
| 3298 | if v:findFirstChild("Torso")then
| |
| 3299 | if v ~= char then | |
| 3300 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 3301 | table.insert(List,v) | |
| 3302 | end | |
| 3303 | end | |
| 3304 | end | |
| 3305 | end | |
| 3306 | end | |
| 3307 | return List | |
| 3308 | end | |
| 3309 | ||
| 3310 | Shell = function() | |
| 3311 | local X = Instance.new("Part",char)
| |
| 3312 | local O = Instance.new("ObjectValue",X)
| |
| 3313 | O.Name = "creator" | |
| 3314 | X.Locked = true | |
| 3315 | X.Name = "Shell" | |
| 3316 | X.Anchored = false | |
| 3317 | X.CanCollide = false | |
| 3318 | X.Transparency = 0 | |
| 3319 | X.Reflectance = 0 | |
| 3320 | X.BottomSurface = 0 | |
| 3321 | X.TopSurface = 0 | |
| 3322 | X.Shape = 0 | |
| 3323 | local V = Instance.new("ObjectValue",X)
| |
| 3324 | V.Value = char | |
| 3325 | V.Name = "creator" | |
| 3326 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 3327 | X.Size = Vector3.new(1,1,1) | |
| 3328 | --X.Material = "Neon" | |
| 3329 | local Z = Instance.new("SpecialMesh",X)
| |
| 3330 | Z.MeshType = "Sphere" | |
| 3331 | Z.Scale = Vector3.new(1,1,1) | |
| 3332 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3333 | local bv = Instance.new("BodyVelocity",X)
| |
| 3334 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3335 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3336 | bv.velocity = root.CFrame.lookVector*65 | |
| 3337 | Explode = X.Touched:connect(function(hit) | |
| 3338 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3339 | local cf = X.CFrame | |
| 3340 | bv:Destroy() | |
| 3341 | X.Anchored = true | |
| 3342 | Z:Remove() | |
| 3343 | Explode:disconnect() | |
| 3344 | X.Size = Vector3.new(3,3,3) | |
| 3345 | X.Touched:connect(function(hit) end) | |
| 3346 | X.CanCollide = false | |
| 3347 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 3348 | if v:FindFirstChild('Humanoid') then
| |
| 3349 | v.Humanoid:TakeDamage(math.random(99999,99999)) | |
| 3350 | end | |
| 3351 | end | |
| 3352 | for i = 1, (40) do rs:wait() | |
| 3353 | X.Transparency = X.Transparency + (1/40) | |
| 3354 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3355 | X.CFrame = cf | |
| 3356 | end | |
| 3357 | X:Destroy() | |
| 3358 | end | |
| 3359 | end) | |
| 3360 | end | |
| 3361 | Shell() | |
| 3362 | for i = 1, 10 do | |
| 3363 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3364 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3365 | 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) | |
| 3366 | 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) | |
| 3367 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 3368 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 3369 | 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) | |
| 3370 | 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) | |
| 3371 | if Debounces.on == false then break end | |
| 3372 | rs:wait() | |
| 3373 | end | |
| 3374 | Shell() | |
| 3375 | shell.Transparency = 1 | |
| 3376 | for i = 1, 10 do | |
| 3377 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3378 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3379 | 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) | |
| 3380 | 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) | |
| 3381 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3382 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3383 | 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) | |
| 3384 | 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) | |
| 3385 | if Debounces.on == false then break end | |
| 3386 | rs:wait() | |
| 3387 | end | |
| 3388 | Shell() | |
| 3389 | shell.Transparency = 0 | |
| 3390 | shell2.Transparency = 1 | |
| 3391 | for i = 1, 10 do | |
| 3392 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3393 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3394 | 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) | |
| 3395 | 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) | |
| 3396 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3397 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3398 | 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) | |
| 3399 | 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) | |
| 3400 | if Debounces.on == false then break end | |
| 3401 | rs:wait() | |
| 3402 | end | |
| 3403 | Shell() | |
| 3404 | shell2.Transparency = 0 | |
| 3405 | shell.Transparency = 1 | |
| 3406 | for i = 1, 10 do | |
| 3407 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3408 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3409 | 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) | |
| 3410 | 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) | |
| 3411 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3412 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3413 | 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) | |
| 3414 | 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) | |
| 3415 | if Debounces.on == false then break end | |
| 3416 | rs:wait() | |
| 3417 | end | |
| 3418 | Shell() | |
| 3419 | shell.Transparency = 0 | |
| 3420 | shell2.Transparency = 1 | |
| 3421 | for i = 1, 10 do | |
| 3422 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3423 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3424 | 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) | |
| 3425 | 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) | |
| 3426 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3427 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3428 | 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) | |
| 3429 | 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) | |
| 3430 | if Debounces.on == false then break end | |
| 3431 | rs:wait() | |
| 3432 | end | |
| 3433 | Shell() | |
| 3434 | shell2.Transparency = 0 | |
| 3435 | shell.Transparency = 1 | |
| 3436 | for i = 1, 10 do | |
| 3437 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3438 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3439 | 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) | |
| 3440 | 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) | |
| 3441 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3442 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3443 | 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) | |
| 3444 | 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) | |
| 3445 | if Debounces.on == false then break end | |
| 3446 | rs:wait() | |
| 3447 | end | |
| 3448 | Shell() | |
| 3449 | shell.Transparency = 0 | |
| 3450 | shell2.Transparency = 1 | |
| 3451 | for i = 1, 10 do | |
| 3452 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3453 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3454 | 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) | |
| 3455 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 3456 | 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) | |
| 3457 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3458 | 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) | |
| 3459 | 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) | |
| 3460 | if Debounces.on == false then break end | |
| 3461 | rs:wait() | |
| 3462 | end | |
| 3463 | Shell() | |
| 3464 | shell2.Transparency = 0 | |
| 3465 | shell.Transparency = 1 | |
| 3466 | for i = 1, 10 do | |
| 3467 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3468 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3469 | 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) | |
| 3470 | 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) | |
| 3471 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3472 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3473 | 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) | |
| 3474 | 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) | |
| 3475 | if Debounces.on == false then break end | |
| 3476 | rs:wait() | |
| 3477 | end | |
| 3478 | Shell() | |
| 3479 | shell.Transparency = 0 | |
| 3480 | shell2.Transparency = 1 | |
| 3481 | for i = 1, 10 do | |
| 3482 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3483 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3484 | 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) | |
| 3485 | 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) | |
| 3486 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3487 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3488 | 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) | |
| 3489 | 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) | |
| 3490 | if Debounces.on == false then break end | |
| 3491 | rs:wait() | |
| 3492 | end | |
| 3493 | Shell() | |
| 3494 | shell2.Transparency = 0 | |
| 3495 | shell.Transparency = 1 | |
| 3496 | for i = 1, 10 do | |
| 3497 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3498 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3499 | 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) | |
| 3500 | 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) | |
| 3501 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3502 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3503 | 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) | |
| 3504 | 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) | |
| 3505 | if Debounces.on == false then break end | |
| 3506 | rs:wait() | |
| 3507 | end | |
| 3508 | Shell() | |
| 3509 | shell.Transparency = 0 | |
| 3510 | shell2.Transparency = 1 | |
| 3511 | for i = 1, 10 do | |
| 3512 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3513 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3514 | 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) | |
| 3515 | 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) | |
| 3516 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3517 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3518 | 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) | |
| 3519 | 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) | |
| 3520 | if Debounces.on == false then break end | |
| 3521 | rs:wait() | |
| 3522 | end | |
| 3523 | Shell() | |
| 3524 | shell2.Transparency = 0 | |
| 3525 | shell.Transparency = 1 | |
| 3526 | for i = 1, 10 do | |
| 3527 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3528 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3529 | 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) | |
| 3530 | 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) | |
| 3531 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3532 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3533 | 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) | |
| 3534 | 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) | |
| 3535 | if Debounces.on == false then break end | |
| 3536 | rs:wait() | |
| 3537 | end | |
| 3538 | Shell() | |
| 3539 | shell.Transparency = 0 | |
| 3540 | shell2.Transparency = 1 | |
| 3541 | for i = 1, 10 do | |
| 3542 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3543 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3544 | 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) | |
| 3545 | 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) | |
| 3546 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3547 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3548 | 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) | |
| 3549 | 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) | |
| 3550 | if Debounces.on == false then break end | |
| 3551 | rs:wait() | |
| 3552 | end | |
| 3553 | shell.Transparency = 1 | |
| 3554 | if Debounces.CanAttack == false then | |
| 3555 | Debounces.CanAttack = true | |
| 3556 | Debounces.NoIdl = false | |
| 3557 | Debounces.on = false | |
| 3558 | end | |
| 3559 | end | |
| 3560 | end | |
| 3561 | end) | |
| 3562 | ---------------------------------------------------- | |
| 3563 | Search = false | |
| 3564 | mouse.KeyDown:connect(function(key) | |
| 3565 | if key == "n" then | |
| 3566 | if Search == false then | |
| 3567 | Search = true | |
| 3568 | for i,v in pairs(game.Players:getPlayers()) do | |
| 3569 | if v.Name~=char.Name then | |
| 3570 | for j,k in pairs(v.Character:GetChildren()) do | |
| 3571 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 3572 | bawx=Instance.new("SelectionBox",cam)
| |
| 3573 | bawx.Color = BrickColor.new("Bright red")
| |
| 3574 | bawx.Transparency = .5 | |
| 3575 | bawx.Adornee = k | |
| 3576 | end | |
| 3577 | end | |
| 3578 | end | |
| 3579 | end | |
| 3580 | elseif Search == true then | |
| 3581 | Search = false | |
| 3582 | for i, v in pairs(cam:GetChildren()) do | |
| 3583 | if v:IsA("SelectionBox") then
| |
| 3584 | v:Destroy() | |
| 3585 | end | |
| 3586 | end | |
| 3587 | end | |
| 3588 | end | |
| 3589 | end) | |
| 3590 | ---------------------------------------------------- | |
| 3591 | Grab = false | |
| 3592 | mouse.KeyDown:connect(function(key) | |
| 3593 | if key == "z" then | |
| 3594 | Debounces.on = true | |
| 3595 | Debounces.NoIdl = true | |
| 3596 | Debounces.ks = true | |
| 3597 | if Grab == false then | |
| 3598 | gp = nil | |
| 3599 | for i = 1, 20 do | |
| 3600 | 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) | |
| 3601 | 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) | |
| 3602 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3603 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3604 | 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) | |
| 3605 | 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) | |
| 3606 | if Debounces.on == false then break end | |
| 3607 | rs:wait() | |
| 3608 | end | |
| 3609 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 3610 | ht = hit.Parent | |
| 3611 | hum1=ht:FindFirstChild('Humanoid')
| |
| 3612 | if hum1 ~= nil then | |
| 3613 | if Debounces.ks==true then | |
| 3614 | z = Instance.new("Sound",hed)
| |
| 3615 | z.SoundId = "rbxassetid://169380525" | |
| 3616 | z.Volume = 1 | |
| 3617 | z:Play() | |
| 3618 | Debounces.ks=false | |
| 3619 | end | |
| 3620 | hum1.PlatformStand=true | |
| 3621 | gp = ht | |
| 3622 | Grab = true | |
| 3623 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 3624 | asd.Parent = larm | |
| 3625 | asd.Name = "asd" | |
| 3626 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 3627 | --[[elseif hum1 == nil then | |
| 3628 | con1:disconnect() | |
| 3629 | wait() return]]-- | |
| 3630 | end | |
| 3631 | end) | |
| 3632 | for i = 1, 20 do | |
| 3633 | 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) | |
| 3634 | 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) | |
| 3635 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3636 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3637 | 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) | |
| 3638 | 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) | |
| 3639 | if Debounces.on == false then break end | |
| 3640 | rs:wait() | |
| 3641 | end | |
| 3642 | if hum1 == nil then | |
| 3643 | Debounces.on = false | |
| 3644 | Debounces.NoIdl = false | |
| 3645 | end | |
| 3646 | con1:disconnect() | |
| 3647 | elseif Grab == true then | |
| 3648 | Grab = false | |
| 3649 | Punch() | |
| 3650 | z = Instance.new("Sound",hed)
| |
| 3651 | z.SoundId = "rbxassetid://169380525" | |
| 3652 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3653 | z.Volume = 1 | |
| 3654 | z:Play() | |
| 3655 | for i = 1, 10 do | |
| 3656 | 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) | |
| 3657 | 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) | |
| 3658 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3659 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3660 | 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) | |
| 3661 | 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) | |
| 3662 | if Debounces.on == false then break end | |
| 3663 | rs:wait() | |
| 3664 | end | |
| 3665 | Punch() | |
| 3666 | z = Instance.new("Sound",hed)
| |
| 3667 | z.SoundId = "rbxassetid://169380525" | |
| 3668 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3669 | z.Volume = 1 | |
| 3670 | z:Play() | |
| 3671 | for i = 1, 10 do | |
| 3672 | 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) | |
| 3673 | 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) | |
| 3674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3676 | 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) | |
| 3677 | 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) | |
| 3678 | if Debounces.on == false then break end | |
| 3679 | rs:wait() | |
| 3680 | end | |
| 3681 | Punch() | |
| 3682 | z = Instance.new("Sound",hed)
| |
| 3683 | z.SoundId = "rbxassetid://169380525" | |
| 3684 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3685 | z.Volume = 1 | |
| 3686 | z:Play() | |
| 3687 | for i = 1, 10 do | |
| 3688 | 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) | |
| 3689 | 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) | |
| 3690 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3691 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3692 | 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) | |
| 3693 | 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) | |
| 3694 | if Debounces.on == false then break end | |
| 3695 | rs:wait() | |
| 3696 | end | |
| 3697 | Punch() | |
| 3698 | z = Instance.new("Sound",hed)
| |
| 3699 | z.SoundId = "rbxassetid://169380525" | |
| 3700 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3701 | z.Volume = 1 | |
| 3702 | z:Play() | |
| 3703 | for i = 1, 10 do | |
| 3704 | 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) | |
| 3705 | 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) | |
| 3706 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3707 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3708 | 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) | |
| 3709 | 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) | |
| 3710 | if Debounces.on == false then break end | |
| 3711 | rs:wait() | |
| 3712 | end | |
| 3713 | Punch() | |
| 3714 | z = Instance.new("Sound",hed)
| |
| 3715 | z.SoundId = "rbxassetid://169380525" | |
| 3716 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3717 | z.Volume = 1 | |
| 3718 | z:Play() | |
| 3719 | for i = 1, 10 do | |
| 3720 | 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) | |
| 3721 | 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) | |
| 3722 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3723 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3724 | 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) | |
| 3725 | 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) | |
| 3726 | if Debounces.on == false then break end | |
| 3727 | rs:wait() | |
| 3728 | end | |
| 3729 | Punch() | |
| 3730 | z = Instance.new("Sound",hed)
| |
| 3731 | z.SoundId = "rbxassetid://169380525" | |
| 3732 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3733 | z.Volume = 1 | |
| 3734 | z:Play() | |
| 3735 | for i = 1, 10 do | |
| 3736 | 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) | |
| 3737 | 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) | |
| 3738 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3739 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3740 | 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) | |
| 3741 | 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) | |
| 3742 | if Debounces.on == false then break end | |
| 3743 | rs:wait() | |
| 3744 | end | |
| 3745 | Punch() | |
| 3746 | z = Instance.new("Sound",hed)
| |
| 3747 | z.SoundId = "rbxassetid://169380525" | |
| 3748 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3749 | z.Volume = 1 | |
| 3750 | z:Play() | |
| 3751 | for i = 1, 10 do | |
| 3752 | 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) | |
| 3753 | 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) | |
| 3754 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3755 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3756 | 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) | |
| 3757 | 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) | |
| 3758 | if Debounces.on == false then break end | |
| 3759 | rs:wait() | |
| 3760 | end | |
| 3761 | Punch() | |
| 3762 | z = Instance.new("Sound",hed)
| |
| 3763 | z.SoundId = "rbxassetid://169380525" | |
| 3764 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3765 | z.Volume = 1 | |
| 3766 | z:Play() | |
| 3767 | for i = 1, 10 do | |
| 3768 | 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) | |
| 3769 | 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) | |
| 3770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3772 | 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) | |
| 3773 | 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) | |
| 3774 | if Debounces.on == false then break end | |
| 3775 | rs:wait() | |
| 3776 | end | |
| 3777 | Punch() | |
| 3778 | z = Instance.new("Sound",hed)
| |
| 3779 | z.SoundId = "rbxassetid://169380525" | |
| 3780 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3781 | z.Volume = 1 | |
| 3782 | z:Play() | |
| 3783 | for i = 1, 10 do | |
| 3784 | 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) | |
| 3785 | 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) | |
| 3786 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3787 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3788 | 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) | |
| 3789 | 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) | |
| 3790 | if Debounces.on == false then break end | |
| 3791 | rs:wait() | |
| 3792 | end | |
| 3793 | Punch() | |
| 3794 | z = Instance.new("Sound",hed)
| |
| 3795 | z.SoundId = "rbxassetid://169380525" | |
| 3796 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3797 | z.Volume = 1 | |
| 3798 | z:Play() | |
| 3799 | for i = 1, 10 do | |
| 3800 | 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) | |
| 3801 | 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) | |
| 3802 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3803 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3804 | 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) | |
| 3805 | 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) | |
| 3806 | if Debounces.on == false then break end | |
| 3807 | rs:wait() | |
| 3808 | end | |
| 3809 | Punch() | |
| 3810 | z = Instance.new("Sound",hed)
| |
| 3811 | z.SoundId = "rbxassetid://169380525" | |
| 3812 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3813 | z.Volume = 1 | |
| 3814 | z:Play() | |
| 3815 | for i = 1, 10 do | |
| 3816 | 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) | |
| 3817 | 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) | |
| 3818 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3819 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3820 | 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) | |
| 3821 | 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) | |
| 3822 | if Debounces.on == false then break end | |
| 3823 | rs:wait() | |
| 3824 | end | |
| 3825 | Punch() | |
| 3826 | z = Instance.new("Sound",hed)
| |
| 3827 | z.SoundId = "rbxassetid://169380525" | |
| 3828 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3829 | z.Volume = 1 | |
| 3830 | z:Play() | |
| 3831 | for i = 1, 10 do | |
| 3832 | 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) | |
| 3833 | 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) | |
| 3834 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3835 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3836 | 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) | |
| 3837 | 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) | |
| 3838 | if Debounces.on == false then break end | |
| 3839 | rs:wait() | |
| 3840 | end | |
| 3841 | con1:disconnect() | |
| 3842 | Debounces.on = false | |
| 3843 | Debounces.NoIdl = false | |
| 3844 | if gp ~= nil then | |
| 3845 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 3846 | for i,v in pairs(larm:GetChildren()) do | |
| 3847 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 3848 | v:Remove() | |
| 3849 | end | |
| 3850 | end | |
| 3851 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 3852 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 3853 | bv.P = 125000 | |
| 3854 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 3855 | hum1=nil | |
| 3856 | ht=nil | |
| 3857 | Debounces.on = false | |
| 3858 | Debounces.NoIdl = false | |
| 3859 | elseif ht == nil then wait() | |
| 3860 | Grab = false | |
| 3861 | Debounces.on = false | |
| 3862 | Debounces.NoIdl = false | |
| 3863 | end | |
| 3864 | end | |
| 3865 | end | |
| 3866 | end) | |
| 3867 | ---------------------------------------------------- | |
| 3868 | mouse.KeyDown:connect(function(key) | |
| 3869 | if string.byte(key) == 52 then | |
| 3870 | char.Humanoid.WalkSpeed = 60 | |
| 3871 | end | |
| 3872 | end) | |
| 3873 | mouse.KeyUp:connect(function(key) | |
| 3874 | if string.byte(key) == 52 then | |
| 3875 | char.Humanoid.WalkSpeed = 8 | |
| 3876 | end | |
| 3877 | end) | |
| 3878 | ------------------------------- | |
| 3879 | local animpose = "Idle" | |
| 3880 | local lastanimpose = "Idle" | |
| 3881 | local sine = 0 | |
| 3882 | local change = 1 | |
| 3883 | local val = 0 | |
| 3884 | local ffing = false | |
| 3885 | ------------------------------- | |
| 3886 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3887 | --[[if char.Humanoid.Jump == true then | |
| 3888 | jump = true | |
| 3889 | else | |
| 3890 | jump = false | |
| 3891 | end]] | |
| 3892 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3893 | if f then | |
| 3894 | ffing = true | |
| 3895 | else | |
| 3896 | ffing = false | |
| 3897 | end | |
| 3898 | end) | |
| 3899 | sine = sine + change | |
| 3900 | if jumpn == true then | |
| 3901 | animpose = "Jumping" | |
| 3902 | elseif ffing == true then | |
| 3903 | animpose = "Freefalling" | |
| 3904 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3905 | animpose = "Idle" | |
| 3906 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3907 | animpose = "Walking" | |
| 3908 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3909 | animpose = "Running" | |
| 3910 | end | |
| 3911 | if animpose ~= lastanimpose then | |
| 3912 | sine = 0 | |
| 3913 | if Debounces.NoIdl == false then | |
| 3914 | if animpose == "Idle" then | |
| 3915 | for i = 1, 2 do | |
| 3916 | 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) | |
| 3917 | 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) | |
| 3918 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 3919 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3920 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 3921 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 3922 | end | |
| 3923 | elseif animpose == "Walking" then | |
| 3924 | for i = 1, 2 do | |
| 3925 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3926 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3927 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3928 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3931 | end | |
| 3932 | elseif animpose == "Running" then | |
| 3933 | for i = 1, 2 do | |
| 3934 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 3935 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 3936 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 3937 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 3938 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 3939 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 3940 | wait() | |
| 3941 | end | |
| 3942 | end | |
| 3943 | else | |
| 3944 | end | |
| 3945 | end | |
| 3946 | lastanimpose = animpose | |
| 3947 | if Debounces.NoIdl == false then | |
| 3948 | if animpose == "Idle" then | |
| 3949 | change = 0.5 | |
| 3950 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3951 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3952 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3953 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3954 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3955 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3956 | elseif animpose == "Walking" then | |
| 3957 | change = 1 | |
| 3958 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3959 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3960 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3961 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3962 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3963 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3964 | elseif animpose == "Running" then | |
| 3965 | change = 1 | |
| 3966 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
| 3967 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
| 3968 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3969 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
| 3970 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4) | |
| 3971 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4) | |
| 3972 | end | |
| 3973 | end | |
| 3974 | end) | |
| 3975 | ||
| 3976 | hum.MaxHealth = math.huge | |
| 3977 | wait(1) | |
| 3978 | hum.Health = math.huge | |
| 3979 | local p = game.Players.LocalPlayer | |
| 3980 | local char = p.Character | |
| 3981 | z = Instance.new("Sound", char)
| |
| 3982 | z.SoundId = "rbxassetid://620889412" | |
| 3983 | z.Pitch = 1 | |
| 3984 | z.Volume = 999 | |
| 3985 | z.Looped = true | |
| 3986 | wait(.1) | |
| 3987 | z:Play() | |
| 3988 | while true do --Loop | |
| 3989 | wait(0.04) | |
| 3990 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture | |
| 3991 | part2.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture | |
| 3992 | wait(0.04) --wait 1 second, you can change this and make it different for every one | |
| 3993 | part2.Texture = "http://www.roblox.com/asset/?id=358965632" | |
| 3994 | wait(0.04) | |
| 3995 | part2.Texture = "http://www.roblox.com/asset/?id=358965664" | |
| 3996 | wait(0.04) | |
| 3997 | end |