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