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