SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local ScriptLink = https://pastebin.com/raw/jYNRqr86 |
| 1 | + | local ScriptLink = KG = Instance.new("Sound", game.Players.LocalPlayer.Character)
|
| 2 | KG.Volume = 3 | |
| 3 | KG.SoundId = "rbxassetid://519341881" | |
| 4 | KG.Looped = true | |
| 5 | KG:Play() | |
| 6 | ---------------------------------------------------- | |
| 7 | for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
| |
| 8 | if v:IsA("Accessory") then
| |
| 9 | v:Destroy() | |
| 10 | end | |
| 11 | end | |
| 12 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://871052201" | |
| 13 | game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Institutional white")
| |
| 14 | game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
| |
| 15 | game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
| |
| 16 | game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
| |
| 17 | game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
| |
| 18 | game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
| |
| 19 | ---------------------------------------------------- | |
| 20 | ypcall(function() | |
| 21 | game.Players.LocalPlayer.Character.Shirt:Destroy() | |
| 22 | game.Players.LocalPlayer.Character.Pants:Destroy() | |
| 23 | shirt = Instance.new("Shirt", game.Players.LocalPlayer.Character)
| |
| 24 | shirt.Name = "Shirt" | |
| 25 | pants = Instance.new("Pants", game.Players.LocalPlayer.Character)
| |
| 26 | pants.Name = "Pants" | |
| 27 | game.Players.LocalPlayer.Character.Shirt.ShirtTemplate = "rbxassetid://357134154" | |
| 28 | game.Players.LocalPlayer.Character.Pants.PantsTemplate = "rbxassetid://343128365" | |
| 29 | end) | |
| 30 | -------------------------------------------------------- | |
| 31 | CV="Eggplant" | |
| 32 | p = game.Players.LocalPlayer | |
| 33 | char = p.Character | |
| 34 | local txt = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
| |
| 35 | txt.Adornee = game.Players.LocalPlayer.Character.Head | |
| 36 | txt.Name = "_status" | |
| 37 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 38 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 39 | local text = Instance.new("TextLabel", txt)
| |
| 40 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 41 | text.FontSize = "Size24" | |
| 42 | text.TextScaled = true | |
| 43 | text.TextTransparency = 0 | |
| 44 | text.BackgroundTransparency = 1 | |
| 45 | text.TextTransparency = 0 | |
| 46 | text.TextStrokeTransparency = 0 | |
| 47 | text.Font = "Arcade" | |
| 48 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
| 49 | v=Instance.new("Part")
| |
| 50 | v.Name = "ColorBrick" | |
| 51 | v.Parent=p.Character | |
| 52 | v.FormFactor="Symmetric" | |
| 53 | v.Anchored=true | |
| 54 | v.CanCollide=false | |
| 55 | v.BottomSurface="Smooth" | |
| 56 | v.TopSurface="Smooth" | |
| 57 | v.Size=Vector3.new(10,5,3) | |
| 58 | v.Transparency=1 | |
| 59 | v.CFrame=char.Torso.CFrame | |
| 60 | v.BrickColor=BrickColor.new(CV) | |
| 61 | v.Transparency=1 | |
| 62 | text.TextColor3 = Color3.new(0,0,0) | |
| 63 | v.Shape="Block" | |
| 64 | wait() | |
| 65 | text.Text = "Do You Wanna Have A Mad Time?" | |
| 66 | wait(2) | |
| 67 | text.Text = "hehehe."; | |
| 68 | wait(2) | |
| 69 | text.Text = "you dont know whats comeing kid."; | |
| 70 | wait(2) | |
| 71 | text.Text = "any last words."; | |
| 72 | wait(3) | |
| 73 | text.Text = "???" | |
| 74 | wait(0) | |
| 75 | -------------------------------------------------------- | |
| 76 | local p = game.Players.LocalPlayer | |
| 77 | local char = p.Character | |
| 78 | local mouse = p:GetMouse() | |
| 79 | local larm = char["Left Arm"] | |
| 80 | local rarm = char["Right Arm"] | |
| 81 | local lleg = char["Left Leg"] | |
| 82 | local rleg = char["Right Leg" | |
| 83 | ]local hed = char.Head | |
| 84 | local torso = char.Torso | |
| 85 | local hum = char.Humanoid | |
| 86 | local cam = game.Workspace.CurrentCamera | |
| 87 | local root = char.HumanoidRootPart | |
| 88 | local animpose = "Idle" | |
| 89 | local lastanimpose = "Idle" | |
| 90 | local stanceToggle = "Normal" | |
| 91 | local deb = false | |
| 92 | local shot = 0 | |
| 93 | local debris=game:service"Debris" | |
| 94 | local l = game:GetService("Lighting")
| |
| 95 | local rs = game:GetService("RunService").RenderStepped
| |
| 96 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 97 | math.randomseed(os.time()) | |
| 98 | for i,v in pairs(char:children()) do | |
| 99 | if v:IsA("Hat") then
| |
| 100 | v:Destroy() | |
| 101 | end | |
| 102 | end | |
| 103 | for i,v in pairs (hed:GetChildren()) do | |
| 104 | if v:IsA("Sound") then
| |
| 105 | v:Destroy() | |
| 106 | end | |
| 107 | end | |
| 108 | ||
| 109 | ||
| 110 | ---------------------------------------------------- | |
| 111 | Debounces = {
| |
| 112 | CanAttack = true; | |
| 113 | NoIdl = false; | |
| 114 | Slashing = false; | |
| 115 | Slashed = false; | |
| 116 | RPunch = false; | |
| 117 | RPunched = false; | |
| 118 | LPunch = false; | |
| 119 | LPunched = false; | |
| 120 | } | |
| 121 | local Touche = {char.Name, }
| |
| 122 | ---------------------------------------------------- | |
| 123 | function lerp(a, b, t) -- Linear interpolation | |
| 124 | return a + (b - a)*t | |
| 125 | end | |
| 126 | ||
| 127 | function slerp(a, b, t) --Spherical interpolation | |
| 128 | dot = a:Dot(b) | |
| 129 | if dot > 0.99999 or dot < -0.99999 then | |
| 130 | return t <= 0.5 and a or b | |
| 131 | else | |
| 132 | r = math.acos(dot) | |
| 133 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 134 | end | |
| 135 | end | |
| 136 | ||
| 137 | function matrixInterpolate(a, b, t) | |
| 138 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 139 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 140 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 141 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 142 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 143 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 144 | local t = v1:Dot(v2) | |
| 145 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 146 | return CFrame.new() | |
| 147 | end | |
| 148 | return CFrame.new( | |
| 149 | v0.x, v0.y, v0.z, | |
| 150 | v1.x, v1.y, v1.z, | |
| 151 | v2.x, v2.y, v2.z, | |
| 152 | v3.x, v3.y, v3.z) | |
| 153 | end | |
| 154 | ---------------------------------------------------- | |
| 155 | function genWeld(a,b) | |
| 156 | local w = Instance.new("Weld",a)
| |
| 157 | w.Part0 = a | |
| 158 | w.Part1 = b | |
| 159 | return w | |
| 160 | end | |
| 161 | function weld(a, b) | |
| 162 | local weld = Instance.new("Weld")
| |
| 163 | weld.Name = "W" | |
| 164 | weld.Part0 = a | |
| 165 | weld.Part1 = b | |
| 166 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 167 | weld.Parent = a | |
| 168 | return weld; | |
| 169 | end | |
| 170 | ---------------------------------------------------- | |
| 171 | function Lerp(c1,c2,al) | |
| 172 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 173 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 174 | for i,v in pairs(com1) do | |
| 175 | com1[i] = v+(com2[i]-v)*al | |
| 176 | end | |
| 177 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 178 | end | |
| 179 | ---------------------------------------------------- | |
| 180 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 181 | local wld = Instance.new("Weld", wp1)
| |
| 182 | wld.Part0 = wp0 | |
| 183 | wld.Part1 = wp1 | |
| 184 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 185 | end | |
| 186 | ---------------------------------------------------- | |
| 187 | function weld5(part0, part1, c0, c1) | |
| 188 | weeld=Instance.new("Weld", part0)
| |
| 189 | weeld.Part0=part0 | |
| 190 | weeld.Part1=part1 | |
| 191 | weeld.C0=c0 | |
| 192 | weeld.C1=c1 | |
| 193 | return weeld | |
| 194 | end | |
| 195 | ---------------------------------------------------- | |
| 196 | function HasntTouched(plrname) | |
| 197 | local ret = true | |
| 198 | for _, v in pairs(Touche) do | |
| 199 | if v == plrname then | |
| 200 | ret = false | |
| 201 | end | |
| 202 | end | |
| 203 | return ret | |
| 204 | end | |
| 205 | ---------------------------------------------------- | |
| 206 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 207 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 208 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 209 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 210 | newWeld(torso, hed, 0, 1.5, 0) | |
| 211 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 212 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 213 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 214 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 215 | newWeld(root, torso, 0, -1, 0) | |
| 216 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 217 | ---------------------------------------------------- | |
| 218 | local Transforming = true | |
| 219 | hum.WalkSpeed = 0 | |
| 220 | local fx = Instance.new("Part",torso)
| |
| 221 | wit = torso.BrickColor.Color | |
| 222 | wit2 = Color3.new(0,0,0) | |
| 223 | local glowz = Instance.new("ParticleEmitter",fx)
| |
| 224 | glowz.LightEmission = 1 | |
| 225 | glowz.Texture = "rbxassetid://284205403" | |
| 226 | glowz.Color = ColorSequence.new(wit) | |
| 227 | glowz.Size = NumberSequence.new(5) | |
| 228 | glowz.Speed = NumberRange.new(25,50) | |
| 229 | glowz.LockedToPart = false | |
| 230 | glowz.Transparency = NumberSequence.new(0.75) | |
| 231 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 232 | glowz.Lifetime = NumberRange.new(1) | |
| 233 | glowz.Rate = 50000 | |
| 234 | glowz.VelocitySpread = 9001 | |
| 235 | fx.Anchored = true | |
| 236 | fx.Material = "Neon" | |
| 237 | fx.CanCollide = false | |
| 238 | fx.Locked = true | |
| 239 | fx.Transparency = 1 | |
| 240 | fx.Material = "Neon" | |
| 241 | fx.Size = Vector3.new(1,1,1) | |
| 242 | fx.TopSurface = "SmoothNoOutlines" | |
| 243 | fx.BottomSurface = "SmoothNoOutlines" | |
| 244 | fx.BrickColor = BrickColor.new("Really black")
| |
| 245 | fxm = Instance.new("SpecialMesh",fx)
| |
| 246 | fxm.MeshType = "Sphere" | |
| 247 | local sa2 = Instance.new("Sound",torso)
| |
| 248 | sa2.SoundId = "rbxassetid://93724183" | |
| 249 | sa2.Pitch = 0.5 | |
| 250 | sa2.Volume = 5 | |
| 251 | sa2.Looped = false | |
| 252 | sa2:Play() | |
| 253 | local value = 1 | |
| 254 | fxm.Scale = Vector3.new(1,1,1) | |
| 255 | for i = 1, 20 do rs:wait() | |
| 256 | value = value - 0.05 | |
| 257 | fx.Transparency = fx.Transparency - (1/20) | |
| 258 | fx.CFrame = torso.CFrame | |
| 259 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
| 260 | rs:wait() | |
| 261 | end | |
| 262 | ---------------------------------------------------- | |
| 263 | ||
| 264 | local m = Instance.new("Model")
| |
| 265 | m.Name = "Hair" | |
| 266 | p1 = Instance.new("Part", m)
| |
| 267 | p1.BrickColor = BrickColor.new("Teal")
| |
| 268 | p1.Transparency = 1 | |
| 269 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 270 | p1.Size = Vector3.new(1, 1, 1) | |
| 271 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
| 272 | p1.CanCollide = false | |
| 273 | p1.Locked = true | |
| 274 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 275 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 276 | b1 = Instance.new("SpecialMesh", p1)
| |
| 277 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 278 | b1.TextureId = "" | |
| 279 | b1.MeshType = Enum.MeshType.FileMesh | |
| 280 | b1.Name = "Mesh" | |
| 281 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 282 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 283 | p2 = Instance.new("Part", m)
| |
| 284 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 285 | p2.Transparency = 1 | |
| 286 | p2.Name = "Head" | |
| 287 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 288 | p2.Size = Vector3.new(2, 1, 1) | |
| 289 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
| 290 | p2.CanCollide = false | |
| 291 | p2.Locked = true | |
| 292 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 293 | b2 = Instance.new("SpecialMesh", p2)
| |
| 294 | b2.MeshType = Enum.MeshType.Head | |
| 295 | b2.Name = "Mesh" | |
| 296 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 297 | p3 = Instance.new("Part", m)
| |
| 298 | p3.BrickColor = BrickColor.new("Teal")
| |
| 299 | p3.Transparency = 1 | |
| 300 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 301 | p3.Size = Vector3.new(2, 2, 2) | |
| 302 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
| 303 | p3.CanCollide = false | |
| 304 | p3.Locked = true | |
| 305 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 306 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 307 | b3 = Instance.new("SpecialMesh", p3)
| |
| 308 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 309 | b3.TextureId = "" | |
| 310 | b3.MeshType = Enum.MeshType.FileMesh | |
| 311 | b3.Name = "Mesh" | |
| 312 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 313 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 314 | p4 = Instance.new("Part", m)
| |
| 315 | p4.BrickColor = BrickColor.new("Teal")
| |
| 316 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 317 | p4.Size = Vector3.new(1, 1, 1) | |
| 318 | p4.Transparency = 1 | |
| 319 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
| 320 | p4.CanCollide = false | |
| 321 | p4.Locked = true | |
| 322 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 323 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 324 | b4 = Instance.new("SpecialMesh", p4)
| |
| 325 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
| 326 | b4.TextureId = "" | |
| 327 | b4.MeshType = Enum.MeshType.FileMesh | |
| 328 | b4.Name = "Mesh" | |
| 329 | b4.VertexColor = Vector3.new(0, 0, 0) | |
| 330 | p5 = Instance.new("Part", m)
| |
| 331 | p5.BrickColor = BrickColor.new("Teal")
| |
| 332 | p5.FormFactor = Enum.FormFactor.Symmetric | |
| 333 | p5.Size = Vector3.new(1, 1, 1) | |
| 334 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
| 335 | p5.CanCollide = false | |
| 336 | p5.Transparency = 1 | |
| 337 | p5.Locked = true | |
| 338 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 339 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 340 | b5 = Instance.new("SpecialMesh", p5)
| |
| 341 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
| 342 | b5.TextureId = "" | |
| 343 | b5.MeshType = Enum.MeshType.FileMesh | |
| 344 | b5.Name = "Mesh" | |
| 345 | b5.VertexColor = Vector3.new(0, 0, 0) | |
| 346 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
| 347 | p6 = Instance.new("Part", m)
| |
| 348 | p6.BrickColor = BrickColor.new("Teal")
| |
| 349 | p6.FormFactor = Enum.FormFactor.Symmetric | |
| 350 | p6.Transparency = 1 | |
| 351 | p6.Size = Vector3.new(1, 1, 1) | |
| 352 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
| 353 | p6.CanCollide = false | |
| 354 | p6.Locked = true | |
| 355 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 356 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 357 | b6 = Instance.new("SpecialMesh", p6)
| |
| 358 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
| 359 | b6.TextureId = "" | |
| 360 | b6.MeshType = Enum.MeshType.FileMesh | |
| 361 | b6.Name = "Mesh" | |
| 362 | b6.VertexColor = Vector3.new(0, 0, 0) | |
| 363 | p7 = Instance.new("Part", m)
| |
| 364 | p7.BrickColor = BrickColor.new("Teal")
| |
| 365 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 366 | p7.Transparency = 1 | |
| 367 | p7.Size = Vector3.new(1, 1, 1) | |
| 368 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
| 369 | p7.CanCollide = false | |
| 370 | p7.Locked = true | |
| 371 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 372 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 373 | b7 = Instance.new("SpecialMesh", p7)
| |
| 374 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
| 375 | b7.TextureId = "" | |
| 376 | b7.MeshType = Enum.MeshType.FileMesh | |
| 377 | b7.Name = "Mesh" | |
| 378 | b7.VertexColor = Vector3.new(0, 0, 0) | |
| 379 | p8 = Instance.new("Part", m)
| |
| 380 | p8.BrickColor = BrickColor.new("Bright bluish green")
| |
| 381 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 382 | p8.Size = Vector3.new(1, 1, 1) | |
| 383 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
| 384 | p8.CanCollide = false | |
| 385 | p8.Transparency = 1 | |
| 386 | p8.Locked = true | |
| 387 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 388 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 389 | b8 = Instance.new("SpecialMesh", p8)
| |
| 390 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 391 | b8.TextureId = "" | |
| 392 | b8.MeshType = Enum.MeshType.FileMesh | |
| 393 | b8.Name = "Mesh" | |
| 394 | b8.VertexColor = Vector3.new(0, 0, 0) | |
| 395 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 396 | p9 = Instance.new("Part", m)
| |
| 397 | p9.BrickColor = BrickColor.new("Teal")
| |
| 398 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 399 | p9.Size = Vector3.new(2, 1, 2) | |
| 400 | p9.Transparency = 1 | |
| 401 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
| 402 | p9.CanCollide = false | |
| 403 | p9.Locked = true | |
| 404 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 405 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 406 | b9 = Instance.new("SpecialMesh", p9)
| |
| 407 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
| 408 | b9.TextureId = "" | |
| 409 | b9.MeshType = Enum.MeshType.FileMesh | |
| 410 | b9.Name = "Mesh" | |
| 411 | b9.VertexColor = Vector3.new(0, 0, 0) | |
| 412 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
| 413 | p10 = Instance.new("Part", m)
| |
| 414 | p10.BrickColor = BrickColor.new("Teal")
| |
| 415 | p10.Transparency = 1 | |
| 416 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 417 | p10.Size = Vector3.new(1, 1, 1) | |
| 418 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
| 419 | p10.CanCollide = false | |
| 420 | p10.Locked = true | |
| 421 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 422 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 423 | b10 = Instance.new("SpecialMesh", p10)
| |
| 424 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 425 | b10.TextureId = "" | |
| 426 | b10.MeshType = Enum.MeshType.FileMesh | |
| 427 | b10.Name = "Mesh" | |
| 428 | b10.VertexColor = Vector3.new(0, 0, 0) | |
| 429 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 430 | p11 = Instance.new("Part", m)
| |
| 431 | p11.BrickColor = BrickColor.new("Teal")
| |
| 432 | p11.Transparency = 1 | |
| 433 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 434 | p11.Size = Vector3.new(1, 1, 1) | |
| 435 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
| 436 | p11.CanCollide = false | |
| 437 | p11.Locked = true | |
| 438 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 439 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 440 | b11 = Instance.new("SpecialMesh", p11)
| |
| 441 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 442 | b11.TextureId = "" | |
| 443 | b11.MeshType = Enum.MeshType.FileMesh | |
| 444 | b11.Name = "Mesh" | |
| 445 | b11.VertexColor = Vector3.new(0, 0, 0) | |
| 446 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 447 | p12 = Instance.new("Part", m)
| |
| 448 | p12.BrickColor = BrickColor.new("Bright bluish green")
| |
| 449 | p12.FormFactor = Enum.FormFactor.Custom | |
| 450 | p12.Size = Vector3.new(1, 3.5, 1) | |
| 451 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
| 452 | p12.CanCollide = false | |
| 453 | p12.Transparency = 1 | |
| 454 | p12.Locked = true | |
| 455 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 456 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 457 | b12 = Instance.new("SpecialMesh", p12)
| |
| 458 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 459 | b12.TextureId = "" | |
| 460 | b12.MeshType = Enum.MeshType.FileMesh | |
| 461 | b12.Name = "Mesh" | |
| 462 | b12.VertexColor = Vector3.new(0, 0, 0) | |
| 463 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
| 464 | p13 = Instance.new("Part", m)
| |
| 465 | p13.Transparency = 1 | |
| 466 | p13.BrickColor = BrickColor.new("Teal")
| |
| 467 | p13.FormFactor = Enum.FormFactor.Custom | |
| 468 | p13.Size = Vector3.new(1, 2, 1) | |
| 469 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
| 470 | p13.CanCollide = false | |
| 471 | p13.Locked = true | |
| 472 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 473 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 474 | b13 = Instance.new("SpecialMesh", p13)
| |
| 475 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 476 | b13.TextureId = "" | |
| 477 | b13.MeshType = Enum.MeshType.FileMesh | |
| 478 | b13.Name = "Mesh" | |
| 479 | b13.VertexColor = Vector3.new(0, 0, 0) | |
| 480 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
| 481 | p14 = Instance.new("Part", m)
| |
| 482 | p14.Transparency = 1 | |
| 483 | p14.BrickColor = BrickColor.new("Teal")
| |
| 484 | p14.FormFactor = Enum.FormFactor.Custom | |
| 485 | p14.Size = Vector3.new(1, 2, 1) | |
| 486 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
| 487 | p14.CanCollide = false | |
| 488 | p14.Locked = true | |
| 489 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 490 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 491 | b14 = Instance.new("SpecialMesh", p14)
| |
| 492 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 493 | b14.TextureId = "" | |
| 494 | b14.MeshType = Enum.MeshType.FileMesh | |
| 495 | b14.Name = "Mesh" | |
| 496 | b14.VertexColor = Vector3.new(0, 0, 0) | |
| 497 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
| 498 | p15 = Instance.new("Part", m)
| |
| 499 | p15.BrickColor = BrickColor.new("Bright bluish green")
| |
| 500 | p15.FormFactor = Enum.FormFactor.Custom | |
| 501 | p15.Size = Vector3.new(1, 2.5, 1) | |
| 502 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
| 503 | p15.CanCollide = false | |
| 504 | p15.Transparency = 1 | |
| 505 | p15.Locked = true | |
| 506 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 507 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 508 | b15 = Instance.new("SpecialMesh", p15)
| |
| 509 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 510 | b15.TextureId = "" | |
| 511 | b15.MeshType = Enum.MeshType.FileMesh | |
| 512 | b15.Name = "Mesh" | |
| 513 | b15.VertexColor = Vector3.new(0, 0, 0) | |
| 514 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
| 515 | p16 = Instance.new("Part", m)
| |
| 516 | p16.BrickColor = BrickColor.new("Teal")
| |
| 517 | p16.FormFactor = Enum.FormFactor.Custom | |
| 518 | p16.Size = Vector3.new(1, 2.5, 1) | |
| 519 | p16.Transparency = 1 | |
| 520 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
| 521 | p16.CanCollide = false | |
| 522 | p16.Locked = true | |
| 523 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 524 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 525 | b16 = Instance.new("SpecialMesh", p16)
| |
| 526 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 527 | b16.TextureId = "" | |
| 528 | b16.MeshType = Enum.MeshType.FileMesh | |
| 529 | b16.Name = "Mesh" | |
| 530 | b16.VertexColor = Vector3.new(0, 0, 0) | |
| 531 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
| 532 | p17 = Instance.new("Part", m)
| |
| 533 | p17.BrickColor = BrickColor.new("Bright bluish green")
| |
| 534 | p17.Transparency = 1 | |
| 535 | p17.FormFactor = Enum.FormFactor.Custom | |
| 536 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
| 537 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
| 538 | p17.CanCollide = false | |
| 539 | p17.Locked = true | |
| 540 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 541 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 542 | b17 = Instance.new("SpecialMesh", p17)
| |
| 543 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 544 | b17.TextureId = "" | |
| 545 | b17.MeshType = Enum.MeshType.FileMesh | |
| 546 | b17.Name = "Mesh" | |
| 547 | b17.VertexColor = Vector3.new(0, 0, 0) | |
| 548 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
| 549 | p18 = Instance.new("Part", m)
| |
| 550 | p18.BrickColor = BrickColor.new("Teal")
| |
| 551 | p18.FormFactor = Enum.FormFactor.Custom | |
| 552 | p18.Size = Vector3.new(2, 2, 2) | |
| 553 | p18.Transparency = 1 | |
| 554 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
| 555 | p18.CanCollide = false | |
| 556 | p18.Locked = true | |
| 557 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 558 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 559 | b18 = Instance.new("SpecialMesh", p18)
| |
| 560 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 561 | b18.TextureId = "" | |
| 562 | b18.MeshType = Enum.MeshType.FileMesh | |
| 563 | b18.Name = "Mesh" | |
| 564 | b18.VertexColor = Vector3.new(0, 0, 0) | |
| 565 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 566 | w1 = Instance.new("Weld", p1)
| |
| 567 | w1.Name = "Head_Weld" | |
| 568 | w1.Part0 = p1 | |
| 569 | 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) | |
| 570 | w1.Part1 = p2 | |
| 571 | 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) | |
| 572 | w2 = Instance.new("Weld", p2)
| |
| 573 | w2.Name = "Part_Weld" | |
| 574 | w2.Part0 = p2 | |
| 575 | 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) | |
| 576 | w2.Part1 = p3 | |
| 577 | 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) | |
| 578 | w3 = Instance.new("Weld", p3)
| |
| 579 | w3.Name = "Part_Weld" | |
| 580 | w3.Part0 = p3 | |
| 581 | w3.C0 = 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) | |
| 582 | w3.Part1 = p4 | |
| 583 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
| 584 | w4 = Instance.new("Weld", p4)
| |
| 585 | w4.Name = "Part_Weld" | |
| 586 | w4.Part0 = p4 | |
| 587 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
| 588 | w4.Part1 = p5 | |
| 589 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 590 | w5 = Instance.new("Weld", p5)
| |
| 591 | w5.Name = "Part_Weld" | |
| 592 | w5.Part0 = p5 | |
| 593 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 594 | w5.Part1 = p6 | |
| 595 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 596 | w6 = Instance.new("Weld", p6)
| |
| 597 | w6.Name = "Part_Weld" | |
| 598 | w6.Part0 = p6 | |
| 599 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 600 | w6.Part1 = p7 | |
| 601 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 602 | w7 = Instance.new("Weld", p7)
| |
| 603 | w7.Name = "Part_Weld" | |
| 604 | w7.Part0 = p7 | |
| 605 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 606 | w7.Part1 = p8 | |
| 607 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 608 | w8 = Instance.new("Weld", p8)
| |
| 609 | w8.Name = "Part_Weld" | |
| 610 | w8.Part0 = p8 | |
| 611 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 612 | w8.Part1 = p9 | |
| 613 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 614 | w9 = Instance.new("Weld", p9)
| |
| 615 | w9.Name = "Part_Weld" | |
| 616 | w9.Part0 = p9 | |
| 617 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 618 | w9.Part1 = p10 | |
| 619 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 620 | w10 = Instance.new("Weld", p10)
| |
| 621 | w10.Name = "Part_Weld" | |
| 622 | w10.Part0 = p10 | |
| 623 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 624 | w10.Part1 = p11 | |
| 625 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 626 | w11 = Instance.new("Weld", p11)
| |
| 627 | w11.Name = "Part_Weld" | |
| 628 | w11.Part0 = p11 | |
| 629 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 630 | w11.Part1 = p12 | |
| 631 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 632 | w12 = Instance.new("Weld", p12)
| |
| 633 | w12.Name = "Part_Weld" | |
| 634 | w12.Part0 = p12 | |
| 635 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 636 | w12.Part1 = p13 | |
| 637 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 638 | w13 = Instance.new("Weld", p13)
| |
| 639 | w13.Name = "Part_Weld" | |
| 640 | w13.Part0 = p13 | |
| 641 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 642 | w13.Part1 = p14 | |
| 643 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 644 | w14 = Instance.new("Weld", p14)
| |
| 645 | w14.Name = "Part_Weld" | |
| 646 | w14.Part0 = p14 | |
| 647 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 648 | w14.Part1 = p15 | |
| 649 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 650 | w15 = Instance.new("Weld", p15)
| |
| 651 | w15.Name = "Part_Weld" | |
| 652 | w15.Part0 = p15 | |
| 653 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 654 | w15.Part1 = p16 | |
| 655 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 656 | w16 = Instance.new("Weld", p16)
| |
| 657 | w16.Name = "Part_Weld" | |
| 658 | w16.Part0 = p16 | |
| 659 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 660 | w16.Part1 = p17 | |
| 661 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 662 | w17 = Instance.new("Weld", p17)
| |
| 663 | w17.Name = "Part_Weld" | |
| 664 | w17.Part0 = p17 | |
| 665 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 666 | w17.Part1 = p18 | |
| 667 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
| 668 | m.Parent = char | |
| 669 | m:MakeJoints() | |
| 670 | ||
| 671 | ||
| 672 | ---------------------------------------------------- | |
| 673 | local cor = Instance.new("Part", char.Hair)
| |
| 674 | cor.Name = "Link" | |
| 675 | cor.Locked = true | |
| 676 | cor.BottomSurface = 0 | |
| 677 | cor.CanCollide = false | |
| 678 | cor.Size = Vector3.new(1, 9, 1) | |
| 679 | cor.Transparency = 1 | |
| 680 | cor.TopSurface = 0 | |
| 681 | corw = Instance.new("Weld", cor)
| |
| 682 | corw.Part0 = hed | |
| 683 | corw.Part1 = cor | |
| 684 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 685 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 686 | weld1 = Instance.new("Weld", char.Hair)
| |
| 687 | weld1.Part0 = cor | |
| 688 | weld1.Part1 = char.Hair.Head | |
| 689 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 690 | ----------------------------------------------------betterhair | |
| 691 | pr = Instance.new("Part",hed)
| |
| 692 | pr.BrickColor = BrickColor.new('Royal purple')
| |
| 693 | pr.Material = "Metal" | |
| 694 | pr.Reflectance = 0.04 | |
| 695 | pr.Anchored = false | |
| 696 | pr.CanCollide = false | |
| 697 | pr.Archivable = false | |
| 698 | pr.Locked = true | |
| 699 | pr.Size = Vector3.new(1,1,1) | |
| 700 | prm = Instance.new("SpecialMesh",pr)
| |
| 701 | prm.MeshType = "FileMesh" | |
| 702 | prm.MeshId = "rbxassetid://560718478" | |
| 703 | prm.Scale = Vector3.new(6,6,6) | |
| 704 | newWeld(hed, pr, 0, 0, 0) | |
| 705 | pr.Weld.C1 = CFrame.new(0,-.8,-.43) * CFrame.Angles(0,0,0) | |
| 706 | ---------------------------------------------------- | |
| 707 | GroundWave1 = function() | |
| 708 | local Transforming = true | |
| 709 | hum.WalkSpeed = 0 | |
| 710 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 711 | local Colors = {"Royal purple", "Really black"}
| |
| 712 | local wave = Instance.new("Part", torso)
| |
| 713 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 714 | wave.Anchored = true | |
| 715 | wave.CanCollide = false | |
| 716 | wave.Locked = true | |
| 717 | wave.Size = Vector3.new(1, 1, 1) | |
| 718 | wave.TopSurface = "Smooth" | |
| 719 | wave.BottomSurface = "Smooth" | |
| 720 | wave.Transparency = 0.35 | |
| 721 | wave.CFrame = HandCF | |
| 722 | wm = Instance.new("SpecialMesh", wave)
| |
| 723 | wm.MeshId = "rbxassetid://3270017" | |
| 724 | coroutine.wrap(function() | |
| 725 | for i = 1, 30, 1 do | |
| 726 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
| 727 | wave.Size = wm.Scale | |
| 728 | wave.CFrame = HandCF | |
| 729 | wave.Transparency = i/30 | |
| 730 | wait() | |
| 731 | end | |
| 732 | wait() | |
| 733 | wave:Destroy() | |
| 734 | end)() | |
| 735 | end | |
| 736 | ---------------------------------------------------- | |
| 737 | GroundWave = function() | |
| 738 | if Transforming == true then | |
| 739 | local value = 5 | |
| 740 | local value2 = 10 | |
| 741 | local value3 = 20 | |
| 742 | local sa2 = Instance.new("Sound",torso)
| |
| 743 | sa2.SoundId = "rbxassetid://413682983" | |
| 744 | sa2.Pitch = 1 | |
| 745 | sa2.Volume = 10 | |
| 746 | sa2.Looped = false | |
| 747 | sa2:Play() | |
| 748 | local wave = Instance.new("Part", torso)
| |
| 749 | local glowz = Instance.new("ParticleEmitter",wave)
| |
| 750 | glowz.LightEmission = 1 | |
| 751 | glowz.Texture = "0" | |
| 752 | glowz.Color = ColorSequence.new(wit) | |
| 753 | glowz.Size = NumberSequence.new(30) | |
| 754 | glowz.Speed = NumberRange.new(25,100) | |
| 755 | glowz.LockedToPart = false | |
| 756 | glowz.Transparency = NumberSequence.new(0.75) | |
| 757 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
| 758 | glowz.Lifetime = NumberRange.new(1) | |
| 759 | glowz.Rate = 50000 | |
| 760 | glowz.VelocitySpread = 9001 | |
| 761 | ||
| 762 | wave.BrickColor = BrickColor.new("Royal purple")
| |
| 763 | wave.Anchored = true | |
| 764 | wave.CanCollide = false | |
| 765 | wave.Locked = true | |
| 766 | wave.Size = Vector3.new(1, 1, 1) | |
| 767 | wave.TopSurface = "Smooth" | |
| 768 | wave.BottomSurface = "Smooth" | |
| 769 | wave.Transparency = 0.35 | |
| 770 | wave.CFrame = fx.CFrame | |
| 771 | wave.Material = "Neon" | |
| 772 | wm = Instance.new("SpecialMesh", wave)
| |
| 773 | wm.MeshType = "Sphere" | |
| 774 | wm.Scale = Vector3.new(1,1,1) | |
| 775 | local wave2 = Instance.new("Part", torso)
| |
| 776 | wave2.BrickColor = BrickColor.new("Royal purple")
| |
| 777 | wave2.Anchored = true | |
| 778 | wave2.CanCollide = false | |
| 779 | wave2.Locked = true | |
| 780 | wave2.Size = Vector3.new(1, 1, 1) | |
| 781 | wave2.TopSurface = "Smooth" | |
| 782 | wave2.BottomSurface = "Smooth" | |
| 783 | wave2.Transparency = 0.35 | |
| 784 | wave2.CFrame = fx.CFrame | |
| 785 | wave2.Material = "Neon" | |
| 786 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 787 | wm2.MeshType = "FileMesh" | |
| 788 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 789 | wm2.Scale = Vector3.new(1,1,1) | |
| 790 | local wave3 = Instance.new("Part", torso)
| |
| 791 | wave3.BrickColor = BrickColor.new("Really black")
| |
| 792 | wave3.Anchored = true | |
| 793 | wave3.CanCollide = false | |
| 794 | wave3.Locked = true | |
| 795 | wave3.Size = Vector3.new(1, 1, 1) | |
| 796 | wave3.TopSurface = "Smooth" | |
| 797 | wave3.BottomSurface = "Smooth" | |
| 798 | wave3.Transparency = 0.35 | |
| 799 | wave3.CFrame = fx.CFrame | |
| 800 | wave3.Material = "Neon" | |
| 801 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 802 | wm3.MeshType = "FileMesh" | |
| 803 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 804 | wm3.Scale = Vector3.new(1,1,1) | |
| 805 | coroutine.wrap(function() | |
| 806 | for i = 1, 18, 1 do | |
| 807 | value = value - 0.5 | |
| 808 | value2 = value2 - 0.75*1.5 | |
| 809 | value3 = value3 - 0.475*1.5 | |
| 810 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
| 811 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
| 812 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
| 813 | --wave.Size = wm.Scale | |
| 814 | wave.CFrame = fx.CFrame | |
| 815 | wave.Transparency = i/14 | |
| 816 | --wave2.Size = wm2.Scale | |
| 817 | wave2.CFrame = fx.CFrame | |
| 818 | wave2.Rotation = Vector3.new(90, 0, 0) | |
| 819 | wave2.Transparency = i/14 | |
| 820 | --wave3.Size = wm3.Scale | |
| 821 | wave3.CFrame = fx.CFrame | |
| 822 | wave3.Rotation = Vector3.new(90, 0, 0) | |
| 823 | wave3.Transparency = i/14 | |
| 824 | wait() | |
| 825 | glowz.Rate = 0 | |
| 826 | ||
| 827 | end | |
| 828 | wait() | |
| 829 | wave:Destroy() | |
| 830 | wave2:Destroy() | |
| 831 | wave3:Destroy() | |
| 832 | end)() | |
| 833 | elseif Transforming == false then | |
| 834 | wait() | |
| 835 | end | |
| 836 | end | |
| 837 | ||
| 838 | for i = 1, 100 do rs:wait() | |
| 839 | fx.CFrame = torso.CFrame | |
| 840 | end | |
| 841 | ||
| 842 | Spawn(function() | |
| 843 | while wait(1) do | |
| 844 | GroundWave() | |
| 845 | end | |
| 846 | end) | |
| 847 | ||
| 848 | wait(4) | |
| 849 | ||
| 850 | Transforming = false | |
| 851 | ||
| 852 | local value2 = 1 | |
| 853 | for i = 1, 20 do rs:wait() | |
| 854 | value2 = value2 - 0.05 | |
| 855 | glowz.Rate = 0 | |
| 856 | ||
| 857 | fx.Transparency = fx.Transparency + (1/20) | |
| 858 | fx.CFrame = torso.CFrame | |
| 859 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
| 860 | rs:wait() | |
| 861 | end | |
| 862 | glowz:Destroy() | |
| 863 | ||
| 864 | ||
| 865 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 866 | local valuer = 5 | |
| 867 | local valuer2 = 10 | |
| 868 | local valuer3 = 15 | |
| 869 | local sa2 = Instance.new("Sound",torso)
| |
| 870 | sa2.SoundId = "rbxassetid://130972023" | |
| 871 | sa2.Pitch = 1 | |
| 872 | sa2.Volume = 5 | |
| 873 | sa2.Looped = false | |
| 874 | sa2:Play() | |
| 875 | local sar2 = Instance.new("Sound",torso)
| |
| 876 | sar2.SoundId = "rbxassetid://153274423" | |
| 877 | sar2.Pitch = 1 | |
| 878 | sar2.Volume = 5 | |
| 879 | sar2.Looped = false | |
| 880 | sar2:Play() | |
| 881 | local wave = Instance.new("Part", torso)
| |
| 882 | wave.BrickColor = BrickColor.new("Royal purple")
| |
| 883 | wave.Anchored = true | |
| 884 | wave.CanCollide = false | |
| 885 | wave.Locked = true | |
| 886 | wave.Size = Vector3.new(1, 1, 1) | |
| 887 | wave.TopSurface = "Smooth" | |
| 888 | wave.BottomSurface = "Smooth" | |
| 889 | wave.Transparency = 0.35 | |
| 890 | wave.CFrame = HandCF | |
| 891 | wm = Instance.new("SpecialMesh", wave)
| |
| 892 | wm.MeshId = "rbxassetid://3270017" | |
| 893 | local wave2 = Instance.new("Part", torso)
| |
| 894 | wave2.BrickColor = BrickColor.new("Really black")
| |
| 895 | wave2.Anchored = true | |
| 896 | wave2.CanCollide = false | |
| 897 | wave2.Locked = true | |
| 898 | wave2.Size = Vector3.new(1, 1, 1) | |
| 899 | wave2.TopSurface = "Smooth" | |
| 900 | wave2.BottomSurface = "Smooth" | |
| 901 | wave2.Transparency = 0.35 | |
| 902 | wave2.CFrame = HandCF | |
| 903 | wm2 = Instance.new("SpecialMesh", wave2)
| |
| 904 | wm2.MeshId = "rbxassetid://3270017" | |
| 905 | local wave3 = Instance.new("Part", torso)
| |
| 906 | wave3.BrickColor = BrickColor.new("Royal purple")
| |
| 907 | wave3.Anchored = true | |
| 908 | wave3.CanCollide = false | |
| 909 | wave3.Locked = true | |
| 910 | wave3.Size = Vector3.new(1, 1, 1) | |
| 911 | wave3.TopSurface = "Smooth" | |
| 912 | wave3.BottomSurface = "Smooth" | |
| 913 | wave3.Transparency = 0.35 | |
| 914 | wave3.CFrame = HandCF | |
| 915 | wm3 = Instance.new("SpecialMesh", wave3)
| |
| 916 | wm3.MeshId = "rbxassetid://3270017" | |
| 917 | coroutine.wrap(function() | |
| 918 | for i = 1, 14, 1 do | |
| 919 | valuer = valuer - 0.35 | |
| 920 | valuer2 = valuer - 0.45 | |
| 921 | valuer3 = valuer3 - 0.475 | |
| 922 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
| 923 | wave.Size = wm.Scale | |
| 924 | wave.CFrame = HandCF | |
| 925 | wave.Transparency = i/14 | |
| 926 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
| 927 | wave2.Size = wm2.Scale | |
| 928 | wave2.CFrame = HandCF | |
| 929 | wave2.Transparency = i/14 | |
| 930 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
| 931 | wave3.Size = wm2.Scale | |
| 932 | wave3.CFrame = HandCF | |
| 933 | wave3.Transparency = i/14 | |
| 934 | wait() | |
| 935 | end | |
| 936 | wait() | |
| 937 | wave:Destroy() | |
| 938 | wave2:Destroy() | |
| 939 | end)() | |
| 940 | text.TextStrokeColor3 = Color3.new(98,37,209) | |
| 941 | text.Text = "Dust Sans LV ???" | |
| 942 | z = Instance.new("Sound", char)
| |
| 943 | z.SoundId = "rbxassetid://1024229621" | |
| 944 | z.Looped = true | |
| 945 | z.Pitch = 1.6 | |
| 946 | z.Volume = 4 | |
| 947 | wait(.01) | |
| 948 | z:Play() | |
| 949 | KG:Stop() | |
| 950 | hum.WalkSpeed = 106 | |
| 951 | ---------------------------------------------------- | |
| 952 | Blast = function() | |
| 953 | local Colors = {"Royal purple", "Royal purple"}
| |
| 954 | local wave = Instance.new("Part", torso)
| |
| 955 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 956 | wave.Anchored = true | |
| 957 | wave.CanCollide = false | |
| 958 | wave.Locked = true | |
| 959 | wave.Size = Vector3.new(1, 1, 1) | |
| 960 | wave.TopSurface = "Smooth" | |
| 961 | wave.BottomSurface = "Smooth" | |
| 962 | wave.Transparency = 0.35 | |
| 963 | wave.CFrame = rarm.CFrame | |
| 964 | wm = Instance.new("SpecialMesh", wave)
| |
| 965 | wm.MeshType = "Sphere" | |
| 966 | wm.Scale = Vector3.new(1,1,1) | |
| 967 | z = Instance.new("Sound",wave)
| |
| 968 | z.SoundId = "rbxassetid://237035051" | |
| 969 | z.Volume = 1 | |
| 970 | z.Pitch = .9 | |
| 971 | z:Play() | |
| 972 | coroutine.wrap(function() | |
| 973 | for i = 1, 30, 1 do | |
| 974 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 975 | --wave.Size = wm.Scale | |
| 976 | wave.CFrame = rarm.CFrame | |
| 977 | wave.Transparency = (1/14) | |
| 978 | rs:wait() | |
| 979 | end | |
| 980 | rs:wait() | |
| 981 | wave:Destroy() | |
| 982 | z:Destroy() | |
| 983 | end)() | |
| 984 | end | |
| 985 | ---------------------------------------------------- | |
| 986 | rarm.Touched:connect(function(ht) | |
| 987 | hit = ht.Parent | |
| 988 | if ht and hit:IsA("Model") then
| |
| 989 | if hit:FindFirstChild("Humanoid") then
| |
| 990 | if hit.Name ~= p.Name then | |
| 991 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 992 | Debounces.RPunched = true | |
| 993 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 994 | if Debounces.ks==true then | |
| 995 | z = Instance.new("Sound",hed)
| |
| 996 | z.SoundId = "rbxassetid://169380525" | |
| 997 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 998 | z.Volume = 1 | |
| 999 | z:Play() | |
| 1000 | end | |
| 1001 | wait(.2) | |
| 1002 | Debounces.RPunched = false | |
| 1003 | end | |
| 1004 | end | |
| 1005 | end | |
| 1006 | elseif ht and hit:IsA("Hat") then
| |
| 1007 | if hit.Parent.Name ~= p.Name then | |
| 1008 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1009 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1010 | Debounces.RPunched = true | |
| 1011 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1012 | if Debounces.ks==true then | |
| 1013 | z = Instance.new("Sound",hed)
| |
| 1014 | z.SoundId = "rbxassetid://169380525" | |
| 1015 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1016 | z.Volume = 1 | |
| 1017 | z:Play() | |
| 1018 | end | |
| 1019 | wait(.2) | |
| 1020 | Debounces.RPunched = false | |
| 1021 | end | |
| 1022 | end | |
| 1023 | end | |
| 1024 | end | |
| 1025 | end) | |
| 1026 | larm.Touched:connect(function(ht) | |
| 1027 | hit = ht.Parent | |
| 1028 | if ht and hit:IsA("Model") then
| |
| 1029 | if hit:FindFirstChild("Humanoid") then
| |
| 1030 | if hit.Name ~= p.Name then | |
| 1031 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1032 | Debounces.LPunched = true | |
| 1033 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1034 | if Debounces.ks2==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.LPunched = false | |
| 1043 | end | |
| 1044 | end | |
| 1045 | end | |
| 1046 | elseif ht and hit:IsA("Hat") then
| |
| 1047 | if hit.Parent.Name ~= p.Name then | |
| 1048 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1049 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1050 | Debounces.LPunched = true | |
| 1051 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1052 | if Debounces.ks2==true then | |
| 1053 | z = Instance.new("Sound",hed)
| |
| 1054 | z.SoundId = "rbxassetid://169380525" | |
| 1055 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1056 | z.Volume = 1 | |
| 1057 | z:Play() | |
| 1058 | end | |
| 1059 | wait(.2) | |
| 1060 | Debounces.LPunched = false | |
| 1061 | end | |
| 1062 | end | |
| 1063 | end | |
| 1064 | end | |
| 1065 | end) | |
| 1066 | ---------------------------------------------------- | |
| 1067 | mod4 = Instance.new("Model",char)
| |
| 1068 | ||
| 1069 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1070 | ||
| 1071 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1072 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1073 | local List = {}
| |
| 1074 | for i,v in pairs(workspace:GetChildren())do | |
| 1075 | if v:IsA("Model")then
| |
| 1076 | if v:findFirstChild("Torso")then
| |
| 1077 | if v ~= char then | |
| 1078 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1079 | table.insert(List,v) | |
| 1080 | end | |
| 1081 | end | |
| 1082 | end | |
| 1083 | end | |
| 1084 | end | |
| 1085 | return List | |
| 1086 | end | |
| 1087 | ||
| 1088 | function Punch() | |
| 1089 | part=Instance.new('Part',mod4)
| |
| 1090 | part.Anchored=true | |
| 1091 | part.CanCollide=false | |
| 1092 | part.FormFactor='Custom' | |
| 1093 | part.Size=Vector3.new(.2,.2,.2) | |
| 1094 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1095 | part.Transparency=.7 | |
| 1096 | part.BrickColor=BrickColor.new('Royal purple')
| |
| 1097 | mesh=Instance.new('SpecialMesh',part)
| |
| 1098 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1099 | mesh.Scale=Vector3.new(3,3,3) | |
| 1100 | part2=Instance.new('Part',mod4)
| |
| 1101 | part2.Anchored=true | |
| 1102 | part2.CanCollide=false | |
| 1103 | part2.FormFactor='Custom' | |
| 1104 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1105 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1106 | part2.Transparency=.7 | |
| 1107 | part2.BrickColor=BrickColor.new('Royal purple')
| |
| 1108 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1109 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1110 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1111 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1112 | if v:FindFirstChild('Humanoid') then
| |
| 1113 | v.Humanoid:TakeDamage(math.huge) | |
| 1114 | end | |
| 1115 | end | |
| 1116 | coroutine.resume(coroutine.create(function() | |
| 1117 | for i=0,0.62,0.4 do | |
| 1118 | wait() | |
| 1119 | part.CFrame=part.CFrame | |
| 1120 | part.Transparency=i | |
| 1121 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1122 | part2.CFrame=part2.CFrame | |
| 1123 | part2.Transparency=i | |
| 1124 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1125 | end | |
| 1126 | part.Parent=nil | |
| 1127 | part2.Parent=nil | |
| 1128 | end)) | |
| 1129 | end | |
| 1130 | ---------------------------------------------------- | |
| 1131 | rarm.Touched:connect(function(ht) | |
| 1132 | hit = ht.Parent | |
| 1133 | if ht and hit:IsA("Model") then
| |
| 1134 | if hit:FindFirstChild("Humanoid") then
| |
| 1135 | if hit.Name ~= p.Name then | |
| 1136 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1137 | Debounces.RPunched = true | |
| 1138 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1139 | if Debounces.ks==true then | |
| 1140 | z = Instance.new("Sound",hed)
| |
| 1141 | z.SoundId = "rbxassetid://169380525" | |
| 1142 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1143 | z.Volume = 1 | |
| 1144 | z:Play() | |
| 1145 | end | |
| 1146 | wait(.2) | |
| 1147 | Debounces.RPunched = false | |
| 1148 | end | |
| 1149 | end | |
| 1150 | end | |
| 1151 | elseif ht and hit:IsA("Hat") then
| |
| 1152 | if hit.Parent.Name ~= p.Name then | |
| 1153 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1154 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1155 | Debounces.RPunched = true | |
| 1156 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1157 | if Debounces.ks==true then | |
| 1158 | z = Instance.new("Sound",hed)
| |
| 1159 | z.SoundId = "rbxassetid://169380525" | |
| 1160 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1161 | z.Volume = 1 | |
| 1162 | z:Play() | |
| 1163 | end | |
| 1164 | wait(.2) | |
| 1165 | Debounces.RPunched = false | |
| 1166 | end | |
| 1167 | end | |
| 1168 | end | |
| 1169 | end | |
| 1170 | end) | |
| 1171 | larm.Touched:connect(function(ht) | |
| 1172 | hit = ht.Parent | |
| 1173 | if ht and hit:IsA("Model") then
| |
| 1174 | if hit:FindFirstChild("Humanoid") then
| |
| 1175 | if hit.Name ~= p.Name then | |
| 1176 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1177 | Debounces.LPunched = true | |
| 1178 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1179 | if Debounces.ks2==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.LPunched = false | |
| 1188 | end | |
| 1189 | end | |
| 1190 | end | |
| 1191 | elseif ht and hit:IsA("Hat") then
| |
| 1192 | if hit.Parent.Name ~= p.Name then | |
| 1193 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1194 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1195 | Debounces.LPunched = true | |
| 1196 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1197 | if Debounces.ks2==true then | |
| 1198 | z = Instance.new("Sound",hed)
| |
| 1199 | z.SoundId = "rbxassetid://169380525" | |
| 1200 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1201 | z.Volume = 1 | |
| 1202 | z:Play() | |
| 1203 | end | |
| 1204 | wait(.2) | |
| 1205 | Debounces.LPunched = false | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | end | |
| 1210 | end) | |
| 1211 | ---------------------------------------------------- | |
| 1212 | local player = game.Players.LocalPlayer | |
| 1213 | local pchar = player.Character | |
| 1214 | local mouse = player:GetMouse() | |
| 1215 | local cam = workspace.CurrentCamera | |
| 1216 | ||
| 1217 | local rad = math.rad | |
| 1218 | ||
| 1219 | local keysDown = {}
| |
| 1220 | local flySpeed = 0 | |
| 1221 | local MAX_FLY_SPEED = 150 | |
| 1222 | ||
| 1223 | local canFly = false | |
| 1224 | local flyToggled = false | |
| 1225 | ||
| 1226 | local forward, side = 0, 0 | |
| 1227 | local lastForward, lastSide = 0, 0 | |
| 1228 | ||
| 1229 | local floatBP = Instance.new("BodyPosition")
| |
| 1230 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1231 | local flyBV = Instance.new("BodyVelocity")
| |
| 1232 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1233 | local turnBG = Instance.new("BodyGyro")
| |
| 1234 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1235 | ||
| 1236 | mouse.KeyDown:connect(function(key) | |
| 1237 | keysDown[key] = true | |
| 1238 | ||
| 1239 | if key == "f" then | |
| 1240 | flyToggled = not flyToggled | |
| 1241 | ||
| 1242 | if not flyToggled then | |
| 1243 | stanceToggle = "Normal" | |
| 1244 | floatBP.Parent = nil | |
| 1245 | flyBV.Parent = nil | |
| 1246 | turnBG.Parent = nil | |
| 1247 | root.Velocity = Vector3.new() | |
| 1248 | pchar.Humanoid.PlatformStand = false | |
| 1249 | end | |
| 1250 | end | |
| 1251 | ||
| 1252 | end) | |
| 1253 | mouse.KeyUp:connect(function(key) | |
| 1254 | keysDown[key] = nil | |
| 1255 | end) | |
| 1256 | ||
| 1257 | local function updateFly() | |
| 1258 | ||
| 1259 | if not flyToggled then return end | |
| 1260 | ||
| 1261 | lastForward = forward | |
| 1262 | lastSide = side | |
| 1263 | ||
| 1264 | forward = 0 | |
| 1265 | side = 0 | |
| 1266 | ||
| 1267 | if keysDown.w then | |
| 1268 | forward = forward + 1 | |
| 1269 | end | |
| 1270 | if keysDown.s then | |
| 1271 | forward = forward - 1 | |
| 1272 | end | |
| 1273 | if keysDown.a then | |
| 1274 | side = side - 1 | |
| 1275 | end | |
| 1276 | if keysDown.d then | |
| 1277 | side = side + 1 | |
| 1278 | end | |
| 1279 | ||
| 1280 | canFly = (forward ~= 0 or side ~= 0) | |
| 1281 | ||
| 1282 | if canFly then | |
| 1283 | stanceToggle = "Floating" | |
| 1284 | turnBG.Parent = root | |
| 1285 | floatBP.Parent = nil | |
| 1286 | flyBV.Parent = root | |
| 1287 | ||
| 1288 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1289 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1290 | else | |
| 1291 | floatBP.position = root.Position | |
| 1292 | floatBP.Parent = root | |
| 1293 | ||
| 1294 | flySpeed = flySpeed - 1 | |
| 1295 | if flySpeed < 0 then flySpeed = 0 end | |
| 1296 | end | |
| 1297 | ||
| 1298 | local camCF = cam.CoordinateFrame | |
| 1299 | local in_forward = canFly and forward or lastForward | |
| 1300 | local in_side = canFly and side or lastSide | |
| 1301 | ||
| 1302 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1303 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1304 | ||
| 1305 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1306 | 0) | |
| 1307 | end | |
| 1308 | ||
| 1309 | game:service'RunService'.RenderStepped:connect(function() | |
| 1310 | if flyToggled then | |
| 1311 | pchar.Humanoid.PlatformStand = true | |
| 1312 | end | |
| 1313 | updateFly() | |
| 1314 | end) | |
| 1315 | ------------------------------- | |
| 1316 | mouse.KeyDown:connect(function(key) | |
| 1317 | if key == "q" then | |
| 1318 | if Debounces.CanAttack == true then | |
| 1319 | Debounces.CanAttack = false | |
| 1320 | Debounces.NoIdl = true | |
| 1321 | Debounces.on = true | |
| 1322 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1323 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1324 | local List = {}
| |
| 1325 | for i,v in pairs(workspace:GetChildren())do | |
| 1326 | if v:IsA("Model")then
| |
| 1327 | if v:findFirstChild("Torso")then
| |
| 1328 | if v ~= char then | |
| 1329 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1330 | table.insert(List,v) | |
| 1331 | end | |
| 1332 | end | |
| 1333 | end | |
| 1334 | end | |
| 1335 | end | |
| 1336 | return List | |
| 1337 | end | |
| 1338 | z = Instance.new("Sound",hed)
| |
| 1339 | z.SoundId = "rbxassetid://232213955" | |
| 1340 | z.Pitch = 1 | |
| 1341 | z.Volume = 1 | |
| 1342 | wait(0.2) | |
| 1343 | z:Play() | |
| 1344 | sp = Instance.new("Part",rarm)
| |
| 1345 | sp.Anchored = true | |
| 1346 | sp.CanCollide = false | |
| 1347 | sp.Locked = true | |
| 1348 | sp.Transparency = 0 | |
| 1349 | sp.Material = "Neon" | |
| 1350 | sp.Size = Vector3.new(1,1,1) | |
| 1351 | sp.TopSurface = "SmoothNoOutlines" | |
| 1352 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1353 | sp.BrickColor = BrickColor.new("Royal purple")
| |
| 1354 | spm = Instance.new("SpecialMesh",sp)
| |
| 1355 | spm.MeshType = "Sphere" | |
| 1356 | spm.Scale = Vector3.new(21,21,21) | |
| 1357 | sp2 = Instance.new("Part", rarm)
| |
| 1358 | sp2.Name = "Energy" | |
| 1359 | sp2.BrickColor = BrickColor.new("Royal purple")
| |
| 1360 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1361 | sp2.Shape = "Ball" | |
| 1362 | sp2.CanCollide = false | |
| 1363 | sp2.Anchored = true | |
| 1364 | sp2.Locked = true | |
| 1365 | sp2.TopSurface = 0 | |
| 1366 | sp2.BottomSurface = 0 | |
| 1367 | sp2.Transparency = 1 | |
| 1368 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1369 | spm2.MeshId = "rbxassetid://9982590" | |
| 1370 | spm2.Scale = Vector3.new(2,2,2) | |
| 1371 | for i = 1, 20 do | |
| 1372 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1373 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1374 | 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) | |
| 1375 | 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) | |
| 1376 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1377 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1378 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1379 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1380 | if Debounces.on == false then break end | |
| 1381 | rs:wait() | |
| 1382 | end | |
| 1383 | for i = 1, 100, 20 do rs:wait() | |
| 1384 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1385 | end | |
| 1386 | for i = 1, 20 do | |
| 1387 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1388 | 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) | |
| 1389 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 1390 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1391 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1392 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1393 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1394 | if Debounces.on == false then break end | |
| 1395 | rs:wait() | |
| 1396 | end | |
| 1397 | sp.Transparency = 1 | |
| 1398 | for i = 1, 20 do | |
| 1399 | 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) | |
| 1400 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 1401 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1402 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1403 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1404 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1405 | if Debounces.on == false then break end | |
| 1406 | rs:wait() | |
| 1407 | end | |
| 1408 | wait(1) | |
| 1409 | sp.Transparency = 0 | |
| 1410 | sp2.Transparency = 0.84 | |
| 1411 | for i = 1, 20 do | |
| 1412 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1413 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1414 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1415 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1416 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1417 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1418 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1419 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1420 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1421 | if Debounces.on == false then break end | |
| 1422 | rs:wait() | |
| 1423 | end | |
| 1424 | for i = 1, 2880, 50 do | |
| 1425 | rs:wait() | |
| 1426 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1427 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1428 | rs:wait() | |
| 1429 | end | |
| 1430 | sp:Destroy() | |
| 1431 | sp2:Destroy() | |
| 1432 | local X = Instance.new("Part",char)
| |
| 1433 | local O = Instance.new("ObjectValue",X)
| |
| 1434 | O.Name = "creator" | |
| 1435 | X.Locked = true | |
| 1436 | X.Name = "Shell" | |
| 1437 | X.Anchored = false | |
| 1438 | X.CanCollide = false | |
| 1439 | X.Transparency = 0 | |
| 1440 | X.Reflectance = 0 | |
| 1441 | X.BottomSurface = 0 | |
| 1442 | X.TopSurface = 0 | |
| 1443 | X.Shape = 0 | |
| 1444 | local V = Instance.new("ObjectValue",X)
| |
| 1445 | V.Value = char | |
| 1446 | V.Name = "creator" | |
| 1447 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 1448 | X.Size = Vector3.new(2,2,2) | |
| 1449 | X.Material = "Neon" | |
| 1450 | local Z = Instance.new("SpecialMesh",X)
| |
| 1451 | Z.MeshType = "Sphere" | |
| 1452 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1453 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1454 | local bv = Instance.new("BodyVelocity",X)
| |
| 1455 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1456 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1457 | bv.velocity = X.CFrame.lookVector*65 | |
| 1458 | ||
| 1459 | Explode = X.Touched:connect(function(hit) | |
| 1460 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1461 | local cf = X.CFrame | |
| 1462 | bv:Destroy() | |
| 1463 | X.Anchored = true | |
| 1464 | Z:Remove() | |
| 1465 | Explode:disconnect() | |
| 1466 | X.Size = Vector3.new(3,3,3) | |
| 1467 | X.Touched:connect(function(hit) end) | |
| 1468 | X.CanCollide = false | |
| 1469 | local part3 = Instance.new("Part", rarm)
| |
| 1470 | part3.Anchored=true | |
| 1471 | part3.CanCollide=false | |
| 1472 | part3.Locked = true | |
| 1473 | part3.TopSurface = "SmoothNoOutlines" | |
| 1474 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1475 | part3.FormFactor='Custom' | |
| 1476 | part3.Size=Vector3.new(1,1, 1) | |
| 1477 | part3.CFrame=X.CFrame | |
| 1478 | part3.Transparency=0 | |
| 1479 | part3.BrickColor=BrickColor.new("Royal purple")
| |
| 1480 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1481 | mesh3.MeshType = "Sphere" | |
| 1482 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1483 | --debris:AddItem(X,8) | |
| 1484 | local part4 = Instance.new("Part", rarm)
| |
| 1485 | part4.Material = "Neon" | |
| 1486 | part4.Anchored=true | |
| 1487 | part4.CanCollide=false | |
| 1488 | part4.Locked = true | |
| 1489 | part4.TopSurface = "SmoothNoOutlines" | |
| 1490 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1491 | part4.FormFactor='Custom' | |
| 1492 | part4.Size=Vector3.new(1,1, 1) | |
| 1493 | part4.CFrame=X.CFrame | |
| 1494 | part4.Transparency=0 | |
| 1495 | part4.BrickColor=BrickColor.new("Hot pink")
| |
| 1496 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1497 | mesh4.MeshType = "Sphere" | |
| 1498 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1499 | local part7 = Instance.new("Part", rarm)
| |
| 1500 | part7.Material = "Neon" | |
| 1501 | part7.Anchored=true | |
| 1502 | part7.CanCollide=false | |
| 1503 | part7.Locked = true | |
| 1504 | part7.TopSurface = "SmoothNoOutlines" | |
| 1505 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1506 | part7.FormFactor='Custom' | |
| 1507 | part7.Size=Vector3.new(1,1, 1) | |
| 1508 | part7.CFrame=X.CFrame | |
| 1509 | part7.Transparency=0 | |
| 1510 | part7.BrickColor=BrickColor.new("Royal purple")
| |
| 1511 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1512 | mesh7.MeshType = "Sphere" | |
| 1513 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1514 | --[[X.Touched:connect(function(ht) | |
| 1515 | hit = ht.Parent | |
| 1516 | if ht and hit:IsA("Model") then
| |
| 1517 | if hit:FindFirstChild("Humanoid") then
| |
| 1518 | if hit.Name ~= p.Name then | |
| 1519 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1520 | wait(.3) | |
| 1521 | end | |
| 1522 | end | |
| 1523 | elseif ht and hit:IsA("Hat") then
| |
| 1524 | if hit.Parent.Name ~= p.Name then | |
| 1525 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1526 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1527 | wait(.3) | |
| 1528 | end | |
| 1529 | end | |
| 1530 | end | |
| 1531 | end) | |
| 1532 | part3.Touched:connect(function(ht) | |
| 1533 | hit = ht.Parent | |
| 1534 | if ht and hit:IsA("Model") then
| |
| 1535 | if hit:FindFirstChild("Humanoid") then
| |
| 1536 | if hit.Name ~= p.Name then | |
| 1537 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1538 | wait(.3) | |
| 1539 | end | |
| 1540 | end | |
| 1541 | elseif ht and hit:IsA("Hat") then
| |
| 1542 | if hit.Parent.Name ~= p.Name then | |
| 1543 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1544 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 1545 | wait(.3) | |
| 1546 | end | |
| 1547 | end | |
| 1548 | end | |
| 1549 | end)]]-- | |
| 1550 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1551 | if v:FindFirstChild('Humanoid') then
| |
| 1552 | v.Humanoid:TakeDamage(math.huge) | |
| 1553 | v.Humanoid.PlatformStand = true | |
| 1554 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1555 | end | |
| 1556 | end | |
| 1557 | ||
| 1558 | local acos = math.acos | |
| 1559 | local sqrt = math.sqrt | |
| 1560 | local Vec3 = Vector3.new | |
| 1561 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1562 | ||
| 1563 | local function toAxisAngle(CFr) | |
| 1564 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1565 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1566 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1567 | A = A == 0 and 0.00001 or A | |
| 1568 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1569 | B = B == 0 and 0.00001 or B | |
| 1570 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1571 | C = C == 0 and 0.00001 or C | |
| 1572 | local x = (R21-R12)/sqrt(A) | |
| 1573 | local y = (R02-R20)/sqrt(B) | |
| 1574 | local z = (R10-R01)/sqrt(C) | |
| 1575 | return Vec3(x,y,z),Angle | |
| 1576 | end | |
| 1577 | ||
| 1578 | function ApplyTrig(Num,Func) | |
| 1579 | local Min,Max = Func(0),Func(1) | |
| 1580 | local i = Func(Num) | |
| 1581 | return (i-Min)/(Max-Min) | |
| 1582 | end | |
| 1583 | ||
| 1584 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1585 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1586 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1587 | end | |
| 1588 | ||
| 1589 | function Crater(Torso,Radius) | |
| 1590 | Spawn(function() | |
| 1591 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1592 | local Ignore = {}
| |
| 1593 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1594 | if v.Character ~= nil then | |
| 1595 | Ignore[#Ignore+1] = v.Character | |
| 1596 | end | |
| 1597 | end | |
| 1598 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1599 | if Hit == nil then return end | |
| 1600 | local Parts = {}
| |
| 1601 | for i = 1,360,10 do | |
| 1602 | local P = Instance.new("Part",Torso.Parent)
| |
| 1603 | P.Anchored = true | |
| 1604 | P.FormFactor = "Custom" | |
| 1605 | P.BrickColor = Hit.BrickColor | |
| 1606 | P.Material = Hit.Material | |
| 1607 | P.TopSurface = "Smooth" | |
| 1608 | P.BottomSurface = "Smooth" | |
| 1609 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1610 | 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))) | |
| 1611 | 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}
| |
| 1612 | if math.random(0,5) == 0 then -- rubble | |
| 1613 | local P = Instance.new("Part",Torso.Parent)
| |
| 1614 | P.Anchored = true | |
| 1615 | P.FormFactor = "Custom" | |
| 1616 | P.BrickColor = Hit.BrickColor | |
| 1617 | P.Material = Hit.Material | |
| 1618 | P.TopSurface = "Smooth" | |
| 1619 | P.BottomSurface = "Smooth" | |
| 1620 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1621 | 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))) | |
| 1622 | 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}
| |
| 1623 | end | |
| 1624 | end | |
| 1625 | for i = 0,1,0.05 do | |
| 1626 | for i2,v in pairs(Parts) do | |
| 1627 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1628 | end | |
| 1629 | wait(0.02) | |
| 1630 | end | |
| 1631 | for i,v in pairs(Parts) do | |
| 1632 | if v[1].Size.X > 2.1 then | |
| 1633 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1634 | end | |
| 1635 | v[1].Anchored = false | |
| 1636 | end | |
| 1637 | for i = 0,1,0.05 do | |
| 1638 | for i2,v in pairs(Parts) do | |
| 1639 | v[1].Transparency = i | |
| 1640 | if i == 1 then | |
| 1641 | v[1]:Destroy() | |
| 1642 | elseif i >= 0.25 then | |
| 1643 | v[1].CanCollide = false | |
| 1644 | end | |
| 1645 | end | |
| 1646 | wait(0.02) | |
| 1647 | end | |
| 1648 | Parts = nil | |
| 1649 | end) | |
| 1650 | end | |
| 1651 | ||
| 1652 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1653 | for i = 1, 360, 360/t do | |
| 1654 | local c = Instance.new("Part", game.Workspace)
| |
| 1655 | c.FormFactor = 3 | |
| 1656 | c.TopSurface = 0 | |
| 1657 | c.BottomSurface = 0 | |
| 1658 | c.Size = s | |
| 1659 | c.Anchored = true | |
| 1660 | c.CanCollide = wt | |
| 1661 | c.Material=workspace.Base.Material | |
| 1662 | c.Transparency = trans | |
| 1663 | c.BrickColor = workspace.Base.BrickColor | |
| 1664 | 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 | |
| 1665 | c.Locked=true | |
| 1666 | game.Debris:AddItem(c,15) | |
| 1667 | end | |
| 1668 | end | |
| 1669 | ||
| 1670 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 1671 | local p = Instance.new('Part',parent or Weapon)
| |
| 1672 | p.formFactor = 'Custom' | |
| 1673 | p.Size = Vector3.new(x,y,z) | |
| 1674 | p.BrickColor = BrickColor.new(color) | |
| 1675 | p.CanCollide = cc | |
| 1676 | p.Transparency = tr | |
| 1677 | p.Anchored = an | |
| 1678 | p.TopSurface,p.BottomSurface = 0,0 | |
| 1679 | p.Locked=true | |
| 1680 | p:BreakJoints() | |
| 1681 | return p end | |
| 1682 | ||
| 1683 | Mesh = function(par,num,x,y,z) | |
| 1684 | local msh = _ | |
| 1685 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 1686 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 1687 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 1688 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 1689 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 1690 | end msh.Scale = Vector3.new(x,y,z) | |
| 1691 | return msh end | |
| 1692 | ||
| 1693 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1694 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 1695 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1696 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1697 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1698 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1699 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1700 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1701 | a.CFrame=cfr | |
| 1702 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1703 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1704 | ||
| 1705 | Spawn(function() | |
| 1706 | while wait() do | |
| 1707 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1708 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1709 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 1710 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 1711 | a.Transparency=a.Transparency+0.05 | |
| 1712 | a2.Transparency=a2.Transparency+0.05 | |
| 1713 | a3.Transparency=a3.Transparency+0.05 | |
| 1714 | end | |
| 1715 | end) | |
| 1716 | end | |
| 1717 | ||
| 1718 | Crater(X,20) | |
| 1719 | 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) | |
| 1720 | z = Instance.new("Sound",X)
| |
| 1721 | z.SoundId = "rbxassetid://231917744" | |
| 1722 | z.Pitch = .5 | |
| 1723 | z.Volume = 10 | |
| 1724 | z1 = Instance.new("Sound",X)
| |
| 1725 | z1.SoundId = "rbxassetid://231917744" | |
| 1726 | z1.Pitch = .5 | |
| 1727 | z1.Volume = 10 | |
| 1728 | z2 = Instance.new("Sound",X)
| |
| 1729 | z2.SoundId = "rbxassetid://231917744" | |
| 1730 | z2.Pitch = .5 | |
| 1731 | z2.Volume = 10 | |
| 1732 | z3 = Instance.new("Sound",X)
| |
| 1733 | z3.SoundId = "rbxassetid://245537790" | |
| 1734 | z3.Pitch = .7 | |
| 1735 | z3.Volume = 1 | |
| 1736 | z4 = Instance.new("Sound",X)
| |
| 1737 | z4.SoundId = "rbxassetid://245537790" | |
| 1738 | z4.Pitch = .7 | |
| 1739 | z4.Volume = 1 | |
| 1740 | wait(0.1) | |
| 1741 | z:Play() | |
| 1742 | z1:Play() | |
| 1743 | z2:Play() | |
| 1744 | z3:Play() | |
| 1745 | z4:Play() | |
| 1746 | ||
| 1747 | local part=Instance.new('Part',rarm)
| |
| 1748 | part.Anchored=true | |
| 1749 | part.CanCollide=false | |
| 1750 | part.Locked = true | |
| 1751 | part.FormFactor='Custom' | |
| 1752 | part.Size=Vector3.new(1,1,1) | |
| 1753 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 1754 | part.Transparency=0 | |
| 1755 | part.BrickColor=BrickColor.new('Royal purple')
| |
| 1756 | local mesh=Instance.new('SpecialMesh',part)
| |
| 1757 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1758 | mesh.Scale=Vector3.new(2,2,2) | |
| 1759 | local part2=part:clone() | |
| 1760 | part2.Parent = rarm | |
| 1761 | part2.BrickColor=BrickColor.new("Royal purple")
| |
| 1762 | local part5=part:clone() | |
| 1763 | part5.Parent = rarm | |
| 1764 | part5.BrickColor=BrickColor.new("Magenta")
| |
| 1765 | local part6=part:clone() | |
| 1766 | part6.Parent = rarm | |
| 1767 | part6.BrickColor=BrickColor.new("Black")
| |
| 1768 | local mesh2=mesh:clone() | |
| 1769 | mesh2.Parent=part2 | |
| 1770 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 1771 | local mesh5=mesh:clone() | |
| 1772 | mesh5.Parent=part5 | |
| 1773 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 1774 | local mesh6=mesh:clone() | |
| 1775 | mesh6.Parent=part6 | |
| 1776 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 1777 | local blast = Instance.new("Part", rarm)
| |
| 1778 | blast.BrickColor = BrickColor.new("Royal purple")
| |
| 1779 | blast.Anchored = true | |
| 1780 | blast.CanCollide = false | |
| 1781 | blast.Locked = true | |
| 1782 | blast.Size = Vector3.new(1, 1, 1) | |
| 1783 | blast.TopSurface = "Smooth" | |
| 1784 | blast.BottomSurface = "Smooth" | |
| 1785 | blast.Transparency = 0 | |
| 1786 | blast.CFrame = HandCF | |
| 1787 | local bm = Instance.new("SpecialMesh", blast)
| |
| 1788 | bm.Scale = Vector3.new(5,1,5) | |
| 1789 | bm.MeshId = "rbxassetid://3270017" | |
| 1790 | local blast2 = Instance.new("Part", rarm)
| |
| 1791 | blast2.BrickColor = BrickColor.new("Royal purple")
| |
| 1792 | blast2.Anchored = true | |
| 1793 | blast2.CanCollide = false | |
| 1794 | blast2.Locked = true | |
| 1795 | blast2.Size = Vector3.new(1, 1, 1) | |
| 1796 | blast2.TopSurface = "Smooth" | |
| 1797 | blast2.BottomSurface = "Smooth" | |
| 1798 | blast2.Transparency = 0 | |
| 1799 | blast2.CFrame = HandCF | |
| 1800 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 1801 | bm2.Scale = Vector3.new(3,1,3) | |
| 1802 | bm2.MeshId = "rbxassetid://3270017" | |
| 1803 | local blast3 = Instance.new("Part", rarm)
| |
| 1804 | blast3.BrickColor = BrickColor.new("Royal purple")
| |
| 1805 | blast3.Anchored = true | |
| 1806 | blast3.CanCollide = false | |
| 1807 | blast3.Locked = true | |
| 1808 | blast3.Size = Vector3.new(1, 1, 1) | |
| 1809 | blast3.TopSurface = "Smooth" | |
| 1810 | blast3.BottomSurface = "Smooth" | |
| 1811 | blast3.Transparency = 0 | |
| 1812 | blast3.CFrame = HandCF | |
| 1813 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 1814 | bm3.Scale = Vector3.new(3,1,3) | |
| 1815 | bm3.MeshId = "rbxassetid://3270017" | |
| 1816 | for i = 1,120 do rs:wait() | |
| 1817 | X.Transparency = X.Transparency + (1/120) | |
| 1818 | part.Transparency = part.Transparency + (1/120) | |
| 1819 | part2.Transparency = part2.Transparency + (1/120) | |
| 1820 | part3.Transparency = part3.Transparency + (1/120) | |
| 1821 | part4.Transparency = part4.Transparency + (1/120) | |
| 1822 | part5.Transparency = part5.Transparency + (1/120) | |
| 1823 | part6.Transparency = part6.Transparency + (1/120) | |
| 1824 | part7.Transparency = part7.Transparency + (1/120) | |
| 1825 | blast.Transparency = blast.Transparency + (1/120) | |
| 1826 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 1827 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 1828 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 1829 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 1830 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 1831 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 1832 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 1833 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 1834 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 1835 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 1836 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 1837 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 1838 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 1839 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 1840 | X.CFrame = cf | |
| 1841 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 1842 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1843 | part3.CFrame=X.CFrame | |
| 1844 | part4.CFrame=X.CFrame | |
| 1845 | part7.CFrame=X.CFrame | |
| 1846 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 1847 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 1848 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1849 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 1850 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 1851 | rs:wait() | |
| 1852 | end | |
| 1853 | X:Destroy() | |
| 1854 | part:Destroy() | |
| 1855 | part2:Destroy() | |
| 1856 | part3:Destroy() | |
| 1857 | part4:Destroy() | |
| 1858 | part5:Destroy() | |
| 1859 | part6:Destroy() | |
| 1860 | blast:Destroy() | |
| 1861 | blast2:Destroy() | |
| 1862 | blast3:Destroy() | |
| 1863 | z:Destroy() | |
| 1864 | z1:Destroy() | |
| 1865 | z2:Destroy() | |
| 1866 | z3:Destroy() | |
| 1867 | z4:Destroy() | |
| 1868 | end | |
| 1869 | end) | |
| 1870 | for i = 1, 20 do | |
| 1871 | 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) | |
| 1872 | 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) | |
| 1873 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1874 | 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) | |
| 1875 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 1876 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 1877 | if Debounces.on == false then break end | |
| 1878 | rs:wait() | |
| 1879 | end | |
| 1880 | if Debounces.CanAttack == false then | |
| 1881 | Debounces.CanAttack = true | |
| 1882 | Debounces.NoIdl = false | |
| 1883 | Debounces.on = false | |
| 1884 | end | |
| 1885 | end | |
| 1886 | end | |
| 1887 | end) | |
| 1888 | ---------------------------------------------------- | |
| 1889 | mouse.KeyDown:connect(function(key) | |
| 1890 | if key == "e" then | |
| 1891 | if Debounces.CanAttack == true then | |
| 1892 | Debounces.CanAttack = false | |
| 1893 | Debounces.on = true | |
| 1894 | Debounces.NoIdl = true | |
| 1895 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 1896 | z = Instance.new("Sound", rarm)
| |
| 1897 | z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 1898 | z.Volume = 1.25 | |
| 1899 | z.Pitch = pt[math.random(1,#pt)] | |
| 1900 | z.Looped = false | |
| 1901 | z:Play() | |
| 1902 | Debounces.RPunch = true | |
| 1903 | Debounces.LPunch = true | |
| 1904 | Debounces.ks = true | |
| 1905 | Debounces.ks2 = true | |
| 1906 | for i = 1, 1 do | |
| 1907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 1908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 1909 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1910 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1911 | 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) | |
| 1912 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1913 | if Debounces.on == false then break end | |
| 1914 | wait() | |
| 1915 | end | |
| 1916 | z2 = Instance.new("Sound", larm)
| |
| 1917 | z2.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 1918 | z2.Volume = 1.25 | |
| 1919 | z2.Pitch = pt[math.random(1,#pt)] | |
| 1920 | z2.Looped = false | |
| 1921 | z2:Play() | |
| 1922 | for i = 1, 1 do | |
| 1923 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1924 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 1927 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1928 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1929 | if Debounces.on == false then break end | |
| 1930 | wait() | |
| 1931 | end | |
| 1932 | z3 = Instance.new("Sound", rarm)
| |
| 1933 | z3.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 1934 | z3.Volume = 1.25 | |
| 1935 | z3.Pitch = pt[math.random(1,#pt)] | |
| 1936 | z3.Looped = false | |
| 1937 | z3:Play() | |
| 1938 | for i = 1, 1 do | |
| 1939 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 1940 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 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(0), math.rad(50), 0), 0.92) | |
| 1943 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1944 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1945 | if Debounces.on == false then break end | |
| 1946 | wait() | |
| 1947 | end | |
| 1948 | z4 = Instance.new("Sound", larm)
| |
| 1949 | z4.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 1950 | z4.Volume = 1.25 | |
| 1951 | z4.Pitch = pt[math.random(1,#pt)] | |
| 1952 | z4.Looped = false | |
| 1953 | z4:Play() | |
| 1954 | for i = 1, 1 do | |
| 1955 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1956 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 1959 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1960 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1961 | if Debounces.on == false then break end | |
| 1962 | wait() | |
| 1963 | end | |
| 1964 | z5 = Instance.new("Sound", rarm)
| |
| 1965 | z5.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 1966 | z5.Volume = 1.25 | |
| 1967 | z5.Pitch = pt[math.random(1,#pt)] | |
| 1968 | z5.Looped = false | |
| 1969 | z5:Play() | |
| 1970 | for i = 1, 1 do | |
| 1971 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 1972 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 1973 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 1974 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 1975 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 1976 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 1977 | if Debounces.on == false then break end | |
| 1978 | wait() | |
| 1979 | end | |
| 1980 | z6 = Instance.new("Sound", larm)
| |
| 1981 | z6.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 1982 | z6.Volume = 1.25 | |
| 1983 | z6.Pitch = pt[math.random(1,#pt)] | |
| 1984 | z6.Looped = false | |
| 1985 | z6:Play() | |
| 1986 | for i = 1, 1 do | |
| 1987 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1988 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 1991 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1992 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1993 | if Debounces.on == false then break end | |
| 1994 | wait() | |
| 1995 | end | |
| 1996 | z7 = Instance.new("Sound", rarm)
| |
| 1997 | z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 1998 | z7.Volume = 1.25 | |
| 1999 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2000 | z7.Looped = false | |
| 2001 | z7:Play() | |
| 2002 | for i = 1, 1 do | |
| 2003 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2004 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 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(0), 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(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2009 | if Debounces.on == false then break end | |
| 2010 | wait() | |
| 2011 | end | |
| 2012 | z8 = Instance.new("Sound", larm)
| |
| 2013 | z8.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2014 | z8.Volume = 1.25 | |
| 2015 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2016 | z8.Looped = false | |
| 2017 | z8:Play() | |
| 2018 | for i = 1, 1 do | |
| 2019 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2020 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 2023 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2024 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2025 | if Debounces.on == false then break end | |
| 2026 | wait() | |
| 2027 | end | |
| 2028 | z9 = Instance.new("Sound", rarm)
| |
| 2029 | z9.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2030 | z9.Volume = 1.25 | |
| 2031 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2032 | z9.Looped = false | |
| 2033 | z9:Play() | |
| 2034 | for i = 1, 1 do | |
| 2035 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2036 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 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(0), math.rad(50), 0), 0.92) | |
| 2039 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2040 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2041 | if Debounces.on == false then break end | |
| 2042 | wait() | |
| 2043 | end | |
| 2044 | z10 = Instance.new("Sound", larm)
| |
| 2045 | z10.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2046 | z10.Volume = 1.25 | |
| 2047 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2048 | z10.Looped = false | |
| 2049 | z10:Play() | |
| 2050 | for i = 1, 1 do | |
| 2051 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2052 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 2055 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2056 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2057 | if Debounces.on == false then break end | |
| 2058 | wait() | |
| 2059 | end | |
| 2060 | z11 = Instance.new("Sound", rarm)
| |
| 2061 | z11.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2062 | z11.Volume = 1.25 | |
| 2063 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2064 | z11.Looped = false | |
| 2065 | z11:Play() | |
| 2066 | for i = 1, 1 do | |
| 2067 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2068 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2069 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2070 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2071 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2072 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2073 | if Debounces.on == false then break end | |
| 2074 | wait() | |
| 2075 | end | |
| 2076 | z12 = Instance.new("Sound", larm)
| |
| 2077 | z12.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2078 | z12.Volume = 1.25 | |
| 2079 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2080 | z12.Looped = false | |
| 2081 | z12:Play() | |
| 2082 | for i = 1, 1 do | |
| 2083 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2084 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 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(0), math.rad(-50), 0), 0.92) | |
| 2087 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2088 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2089 | if Debounces.on == false then break end | |
| 2090 | wait() | |
| 2091 | end | |
| 2092 | z13 = Instance.new("Sound", rarm)
| |
| 2093 | z13.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2094 | z13.Volume = 1.25 | |
| 2095 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2096 | z13.Looped = false | |
| 2097 | z13:Play() | |
| 2098 | for i = 1, 1 do | |
| 2099 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2100 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 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(0), math.rad(50), 0), 0.92) | |
| 2103 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2104 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2105 | if Debounces.on == false then break end | |
| 2106 | wait() | |
| 2107 | end | |
| 2108 | z14 = Instance.new("Sound", larm)
| |
| 2109 | z14.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2110 | z14.Volume = 1.25 | |
| 2111 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2112 | z14.Looped = false | |
| 2113 | z14:Play() | |
| 2114 | for i = 1, 1 do | |
| 2115 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2117 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2118 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2119 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2120 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2121 | if Debounces.on == false then break end | |
| 2122 | wait() | |
| 2123 | end | |
| 2124 | z15 = Instance.new("Sound", rarm)
| |
| 2125 | z15.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2126 | z15.Volume = 1.25 | |
| 2127 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2128 | z15.Looped = false | |
| 2129 | z15:Play() | |
| 2130 | for i = 1, 1 do | |
| 2131 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 2132 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 2133 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2135 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 2136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 2137 | if Debounces.on == false then break end | |
| 2138 | wait() | |
| 2139 | end | |
| 2140 | z16 = Instance.new("Sound", larm)
| |
| 2141 | z16.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2142 | z16.Volume = 1.25 | |
| 2143 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2144 | z16.Looped = false | |
| 2145 | z16:Play() | |
| 2146 | for i = 1, 1 do | |
| 2147 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2148 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2149 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2150 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2151 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2152 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2153 | if Debounces.on == false then break end | |
| 2154 | wait() | |
| 2155 | end | |
| 2156 | z17 = Instance.new("Sound", rarm)
| |
| 2157 | z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212 | |
| 2158 | z17.Volume = 1.25 | |
| 2159 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2160 | z17.Looped = false | |
| 2161 | z17:Play() | |
| 2162 | for i = 1, 1 do | |
| 2163 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 2164 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 2165 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2166 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2167 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2168 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2169 | if Debounces.on == false then break end | |
| 2170 | wait() | |
| 2171 | end | |
| 2172 | z18 = Instance.new("Sound", larm)
| |
| 2173 | z18.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2174 | z18.Volume = 1.25 | |
| 2175 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2176 | z18.Looped = false | |
| 2177 | z18:Play() | |
| 2178 | for i = 1, 1 do | |
| 2179 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2180 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 2181 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2182 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2183 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2184 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2185 | if Debounces.on == false then break end | |
| 2186 | wait() | |
| 2187 | end | |
| 2188 | z19 = Instance.new("Sound", rarm)
| |
| 2189 | z19.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2190 | z19.Volume = 1.25 | |
| 2191 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2192 | z19.Looped = false | |
| 2193 | z19:Play() | |
| 2194 | for i = 1, 1 do | |
| 2195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 2196 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 2197 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2199 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 2200 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 2201 | if Debounces.on == false then break end | |
| 2202 | wait() | |
| 2203 | end | |
| 2204 | z20 = Instance.new("Sound", larm)
| |
| 2205 | z20.SoundId = "http://www.roblox.com/asset/?id=200633148" | |
| 2206 | z20.Volume = 1.25 | |
| 2207 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2208 | z20.Looped = false | |
| 2209 | z20:Play() | |
| 2210 | for i = 1, 1 do | |
| 2211 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 2212 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 2213 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2214 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2215 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 2216 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 2217 | if Debounces.on == false then break end | |
| 2218 | wait() | |
| 2219 | end | |
| 2220 | z:Destroy() | |
| 2221 | z2:Destroy() | |
| 2222 | z3:Destroy() | |
| 2223 | z4:Destroy() | |
| 2224 | z5:Destroy() | |
| 2225 | z6:Destroy() | |
| 2226 | z7:Destroy() | |
| 2227 | z8:Destroy() | |
| 2228 | z9:Destroy() | |
| 2229 | z10:Destroy() | |
| 2230 | z11:Destroy() | |
| 2231 | z12:Destroy() | |
| 2232 | z13:Destroy() | |
| 2233 | z14:Destroy() | |
| 2234 | z15:Destroy() | |
| 2235 | z16:Destroy() | |
| 2236 | z17:Destroy() | |
| 2237 | z18:Destroy() | |
| 2238 | z19:Destroy() | |
| 2239 | z20:Destroy() | |
| 2240 | Debounces.LPunch = false | |
| 2241 | Debounces.RPunch = false | |
| 2242 | Debounces.ks = false | |
| 2243 | Debounces.ks2 = false | |
| 2244 | if Debounces.CanAttack == false then | |
| 2245 | Debounces.CanAttack = true | |
| 2246 | Debounces.on = false | |
| 2247 | Debounces.NoIdl = false | |
| 2248 | end | |
| 2249 | end | |
| 2250 | end | |
| 2251 | end) | |
| 2252 | ------------------------------- | |
| 2253 | mouse.KeyDown:connect(function(key) | |
| 2254 | if key == "t" then | |
| 2255 | if Debounces.CanAttack == true then | |
| 2256 | Debounces.CanAttack = false | |
| 2257 | Debounces.NoIdl = true | |
| 2258 | Debounces.on = true | |
| 2259 | Debounces.ks = true | |
| 2260 | kik = rleg.Touched:connect(function(ht) | |
| 2261 | hit = ht.Parent | |
| 2262 | if ht and hit:IsA("Model") then
| |
| 2263 | if hit:FindFirstChild("Humanoid") then
| |
| 2264 | if hit.Name ~= p.Name then | |
| 2265 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2266 | Debounces.Slashed = true]]-- | |
| 2267 | if Debounces.ks==true then | |
| 2268 | z = Instance.new("Sound",hed)
| |
| 2269 | z.SoundId = "rbxassetid://169380525" | |
| 2270 | z.Volume = 1 | |
| 2271 | z:Play() | |
| 2272 | Debounces.ks=false | |
| 2273 | end | |
| 2274 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 2275 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2276 | --Debounces.Slashed = false | |
| 2277 | --end | |
| 2278 | end | |
| 2279 | end | |
| 2280 | elseif ht and hit:IsA("Hat") then
| |
| 2281 | if hit.Parent.Name ~= p.Name then | |
| 2282 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2283 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2284 | Debounces.Slashed = true]]-- | |
| 2285 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 2286 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2287 | --Debounces.Slashed = false | |
| 2288 | --end | |
| 2289 | end | |
| 2290 | end | |
| 2291 | end | |
| 2292 | end) | |
| 2293 | for i = 1,20 do | |
| 2294 | 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) | |
| 2295 | 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) | |
| 2296 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2297 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2298 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2299 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2300 | if Debounces.on == false then break end | |
| 2301 | rs:wait() | |
| 2302 | end | |
| 2303 | kik:disconnect() | |
| 2304 | if Debounces.CanAttack == false then | |
| 2305 | Debounces.CanAttack = true | |
| 2306 | Debounces.NoIdl = false | |
| 2307 | Debounces.on = false | |
| 2308 | end | |
| 2309 | end | |
| 2310 | end | |
| 2311 | end) | |
| 2312 | ---------------------------------------------------- | |
| 2313 | mouse.KeyDown:connect(function(key) | |
| 2314 | if key == "y" then | |
| 2315 | if Debounces.CanAttack == true then | |
| 2316 | Debounces.CanAttack = false | |
| 2317 | Debounces.on = true | |
| 2318 | Debounces.NoIdl = true | |
| 2319 | for i = 1, 15 do | |
| 2320 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 2321 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 2322 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2323 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2324 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2325 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2326 | if Debounces.on == false then break end | |
| 2327 | rs:wait(2.7) | |
| 2328 | end | |
| 2329 | x = Instance.new("Sound",char)
| |
| 2330 | x.SoundId = "rbxassetid://228343271" | |
| 2331 | x.Pitch = 1 | |
| 2332 | x.Volume = .8 | |
| 2333 | wait(.1) | |
| 2334 | x:Play() | |
| 2335 | Debounces.on = false | |
| 2336 | Debounces.Here = false | |
| 2337 | shot = shot + 1 | |
| 2338 | local rng = Instance.new("Part", larm)
| |
| 2339 | rng.Anchored = true | |
| 2340 | rng.BrickColor = BrickColor.new("Royal purple")
| |
| 2341 | rng.CanCollide = false | |
| 2342 | rng.FormFactor = 3 | |
| 2343 | rng.Name = "Ring" | |
| 2344 | rng.Size = Vector3.new(1, 1, 1) | |
| 2345 | rng.Transparency = 0.35 | |
| 2346 | rng.TopSurface = 0 | |
| 2347 | rng.BottomSurface = 0 | |
| 2348 | rng2 = rng:clone() | |
| 2349 | rng3 = rng2:clone() | |
| 2350 | rng4 = rng2:clone() | |
| 2351 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2352 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2353 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2354 | rngm2 = rngm:clone() | |
| 2355 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2356 | rngm3=rngm2:clone() | |
| 2357 | rngm3.Parent = rng3 | |
| 2358 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2359 | rngm4 = rngm2:clone() | |
| 2360 | rngm4.Parent = rng4 | |
| 2361 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2362 | local bem = Instance.new("Part", larm)
| |
| 2363 | bem.Anchored = true | |
| 2364 | bem.BrickColor = BrickColor.new("Royal purple")
| |
| 2365 | bem.CanCollide = false | |
| 2366 | bem.FormFactor = 3 | |
| 2367 | bem.Name = "Beam" .. shot | |
| 2368 | bem.Size = Vector3.new(1, 1, 1) | |
| 2369 | bem.Transparency = 0.35 | |
| 2370 | bem.TopSurface = 0 | |
| 2371 | bem.BottomSurface = 0 | |
| 2372 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2373 | bemm.MeshType = 4 | |
| 2374 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2375 | local out = Instance.new("Part", larm)
| |
| 2376 | out.Anchored = true | |
| 2377 | out.BrickColor = BrickColor.new("Royal purple")
| |
| 2378 | out.CanCollide = false | |
| 2379 | out.FormFactor = 3 | |
| 2380 | out.Name = "Out" | |
| 2381 | out.Size = Vector3.new(4, 4, 4) | |
| 2382 | out.Transparency = 0.35 | |
| 2383 | out.TopSurface = 0 | |
| 2384 | out.BottomSurface = 0 | |
| 2385 | local outm = Instance.new("SpecialMesh", out)
| |
| 2386 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2387 | outm.Scale = Vector3.new(6, 4, 6) | |
| 2388 | local bnd = Instance.new("Part", larm)
| |
| 2389 | bnd.Anchored = true | |
| 2390 | bnd.BrickColor = BrickColor.new("Royal purple")
| |
| 2391 | bnd.CanCollide = false | |
| 2392 | bnd.FormFactor = 3 | |
| 2393 | bnd.Name = "Bend" | |
| 2394 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2395 | bnd.Transparency = 1 | |
| 2396 | bnd.TopSurface = 0 | |
| 2397 | bnd.BottomSurface = 0 | |
| 2398 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2399 | bndm.MeshType = 3 | |
| 2400 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2401 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2402 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2403 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2404 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2405 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2406 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2407 | Debounces.Shewt = true | |
| 2408 | coroutine.wrap(function() | |
| 2409 | for i = 1, 20, 0.2 do | |
| 2410 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2411 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2412 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2413 | rng.Transparency = i/20 | |
| 2414 | rng3.Transparency = 1/24 | |
| 2415 | rng4.Transparency = i/26 | |
| 2416 | wait() | |
| 2417 | end | |
| 2418 | wait() | |
| 2419 | rng:Destroy() | |
| 2420 | end)() | |
| 2421 | if Debounces.Shewt == true then | |
| 2422 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2423 | hit = ht.Parent | |
| 2424 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2425 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2426 | deb = true | |
| 2427 | coroutine.wrap(function() | |
| 2428 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2429 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200
| |
| 2430 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
| |
| 2431 | end)() | |
| 2432 | table.insert(Touche, hit.Name) | |
| 2433 | deb = false | |
| 2434 | end | |
| 2435 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2436 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2437 | deb = true | |
| 2438 | coroutine.wrap(function() | |
| 2439 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2440 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200
| |
| 2441 | wait(1) | |
| 2442 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2443 | end)() | |
| 2444 | table.insert(Touche, hit.Parent.Name) | |
| 2445 | deb = false | |
| 2446 | for i, v in pairs(Touche) do | |
| 2447 | print(v) | |
| 2448 | end | |
| 2449 | end | |
| 2450 | end | |
| 2451 | end) | |
| 2452 | end | |
| 2453 | for i = 0, 260, 8 do | |
| 2454 | bem.Size = Vector3.new(i, 3, 3) | |
| 2455 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2456 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2457 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2458 | bnd.Size = Vector3.new(1,1,1) | |
| 2459 | bndm.Scale = Vector3.new(8,8,8) | |
| 2460 | if i % 10 == 0 then | |
| 2461 | local newRng = rng2:Clone() | |
| 2462 | newRng.Parent = larm | |
| 2463 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2464 | local newRngm = rngm2:clone() | |
| 2465 | newRngm.Parent=newRng | |
| 2466 | coroutine.wrap(function() | |
| 2467 | for i = 1, 10, 0.2 do | |
| 2468 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 2469 | newRng.Transparency = i/10 | |
| 2470 | wait() | |
| 2471 | end | |
| 2472 | wait() | |
| 2473 | newRng:Destroy() | |
| 2474 | end)() | |
| 2475 | end | |
| 2476 | wait() | |
| 2477 | end | |
| 2478 | wait() | |
| 2479 | Debounces.Shewt = false | |
| 2480 | bem:Destroy() | |
| 2481 | out:Destroy() | |
| 2482 | bnd:Destroy() | |
| 2483 | Debounces.Ready = false | |
| 2484 | for i, v in pairs(Touche) do | |
| 2485 | table.remove(Touche, i) | |
| 2486 | end | |
| 2487 | wait() | |
| 2488 | table.insert(Touche, char.Name) | |
| 2489 | Debounces.NoIdl = false | |
| 2490 | if Debounces.CanAttack == false then | |
| 2491 | Debounces.CanAttack = true | |
| 2492 | end | |
| 2493 | end | |
| 2494 | end | |
| 2495 | end) | |
| 2496 | ---------------------------------------------------- | |
| 2497 | --[[mouse.KeyDown:connect(function(key) | |
| 2498 | if key == "y" then | |
| 2499 | if Debounces.CanAttack == true then | |
| 2500 | Debounces.CanAttack = false | |
| 2501 | Debounces.NoIdl = true | |
| 2502 | Debounces.on = true | |
| 2503 | local shell = Instance.new("Part",torso)
| |
| 2504 | shell.BrickColor = BrickColor.new("Royal purple")
| |
| 2505 | shell.Anchored = false | |
| 2506 | shell.CanCollide = false | |
| 2507 | shell.Locked = true | |
| 2508 | shell.TopSurface = "SmoothNoOutlines" | |
| 2509 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2510 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2511 | shell.FormFactor = 3 | |
| 2512 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2513 | shellm.MeshType = "Sphere" | |
| 2514 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2515 | Omega = function() | |
| 2516 | local X = Instance.new("Part",char)
| |
| 2517 | local O = Instance.new("ObjectValue",X)
| |
| 2518 | O.Name = "creator" | |
| 2519 | X.Locked = true | |
| 2520 | X.Name = "Shell" | |
| 2521 | X.Anchored = false | |
| 2522 | X.CanCollide = false | |
| 2523 | X.Transparency = 0.5 | |
| 2524 | X.Reflectance = 0 | |
| 2525 | X.BottomSurface = 0 | |
| 2526 | X.TopSurface = 0 | |
| 2527 | X.Shape = 0 | |
| 2528 | local V = Instance.new("ObjectValue",X)
| |
| 2529 | V.Value = char | |
| 2530 | V.Name = "creator" | |
| 2531 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 2532 | X.Size = Vector3.new(40,40,40) | |
| 2533 | --X.Material = "Neon" | |
| 2534 | local Z = Instance.new("SpecialMesh",X)
| |
| 2535 | Z.MeshType = "Sphere" | |
| 2536 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 2537 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2538 | local bv = Instance.new("BodyVelocity",X)
| |
| 2539 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2540 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2541 | bv.velocity = root.CFrame.lookVector*10 | |
| 2542 | Explode = X.Touched:connect(function(hit) | |
| 2543 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 2544 | local cf = X.CFrame | |
| 2545 | bv:Destroy() | |
| 2546 | X.Anchored = true | |
| 2547 | Z:Remove() | |
| 2548 | Explode:disconnect() | |
| 2549 | X.Size = Vector3.new(3,3,3) | |
| 2550 | X.Touched:connect(function(hit) end) | |
| 2551 | X.CanCollide = false | |
| 2552 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 2553 | if v:FindFirstChild('Humanoid') then
| |
| 2554 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 2555 | end | |
| 2556 | end | |
| 2557 | for i = 1, (40) do rs:wait() | |
| 2558 | X.Transparency = X.Transparency + (1/40) | |
| 2559 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2560 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 2561 | end | |
| 2562 | X:Destroy() | |
| 2563 | end | |
| 2564 | end) | |
| 2565 | end | |
| 2566 | for i = 1,200 do | |
| 2567 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2568 | 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) | |
| 2569 | 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) | |
| 2570 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2571 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2574 | if Debounces.on == false then break end | |
| 2575 | rs:wait() | |
| 2576 | end | |
| 2577 | for i = 1,30 do | |
| 2578 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 2579 | 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) | |
| 2580 | 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) | |
| 2581 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2582 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2583 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2584 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2585 | if Debounces.on == false then break end | |
| 2586 | rs:wait() | |
| 2587 | end | |
| 2588 | for i = 1,40 do | |
| 2589 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 2590 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2591 | 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) | |
| 2592 | 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) | |
| 2593 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2594 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2597 | if Debounces.on == false then break end | |
| 2598 | rs:wait() | |
| 2599 | end | |
| 2600 | for i = 1,40 do | |
| 2601 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 2602 | 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) | |
| 2603 | 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) | |
| 2604 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2605 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2606 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2607 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2608 | if Debounces.on == false then break end | |
| 2609 | rs:wait() | |
| 2610 | end | |
| 2611 | for i = 1,60 do | |
| 2612 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2613 | 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) | |
| 2614 | 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) | |
| 2615 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2616 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2617 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2618 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2619 | if Debounces.on == false then break end | |
| 2620 | rs:wait() | |
| 2621 | end | |
| 2622 | for i = 1,60 do | |
| 2623 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2624 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2625 | 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) | |
| 2626 | 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) | |
| 2627 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2628 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2629 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2630 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2631 | if Debounces.on == false then break end | |
| 2632 | rs:wait() | |
| 2633 | end | |
| 2634 | if Debounces.CanAttack == false then | |
| 2635 | Debounces.CanAttack = true | |
| 2636 | Debounces.NoIdl = false | |
| 2637 | Debounces.on = false | |
| 2638 | end | |
| 2639 | end | |
| 2640 | end | |
| 2641 | end)]]-- | |
| 2642 | ---------------------------------------------------- | |
| 2643 | Charging = false | |
| 2644 | mouse.KeyDown:connect(function(key) | |
| 2645 | if key == "r" then | |
| 2646 | if Charging == false then | |
| 2647 | Charging = true | |
| 2648 | if Debounces.CanAttack == true then | |
| 2649 | Debounces.CanAttack = false | |
| 2650 | Debounces.NoIdl = true | |
| 2651 | Debounces.on = true | |
| 2652 | for i = 1,20 do | |
| 2653 | 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) | |
| 2654 | 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) | |
| 2655 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2656 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2657 | 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) | |
| 2658 | 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) | |
| 2659 | if Debounces.on == false then break end | |
| 2660 | rs:wait() | |
| 2661 | end | |
| 2662 | --[[for i = 1,20 do | |
| 2663 | 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) | |
| 2664 | 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) | |
| 2665 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2666 | 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) | |
| 2667 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2668 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2669 | if Debounces.on == false then break end | |
| 2670 | rs:wait() | |
| 2671 | end]]-- | |
| 2672 | pt=Instance.new('Part',torso)
| |
| 2673 | pt.Anchored=true | |
| 2674 | pt.CanCollide=false | |
| 2675 | pt.Locked = true | |
| 2676 | pt.FormFactor='Custom' | |
| 2677 | pt.Size=Vector3.new(1,1,1) | |
| 2678 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2679 | pt.Transparency=.6 | |
| 2680 | pt.BrickColor=BrickColor.new('Royal purple')
| |
| 2681 | msh=Instance.new('SpecialMesh',pt)
| |
| 2682 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2683 | msh.Scale=Vector3.new(8,4,8) | |
| 2684 | pt2=pt:clone() | |
| 2685 | pt2.Parent = torso | |
| 2686 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2687 | pt2.BrickColor=BrickColor.new("Royal purple")
| |
| 2688 | msh2=msh:clone() | |
| 2689 | msh2.Parent=pt2 | |
| 2690 | msh2.Scale=Vector3.new(10,5,10) | |
| 2691 | ||
| 2692 | 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}
| |
| 2693 | ||
| 2694 | bl = Instance.new("Part", char)
| |
| 2695 | bl.Locked = true | |
| 2696 | bl.Name = "Shell" | |
| 2697 | bl.BrickColor = BrickColor.new("Royal purple")
| |
| 2698 | bl.Anchored = true | |
| 2699 | bl.CanCollide = false | |
| 2700 | bl.Transparency = 0 | |
| 2701 | bl.Reflectance = 0 | |
| 2702 | bl.BottomSurface = 0 | |
| 2703 | bl.TopSurface = 0 | |
| 2704 | bl.Shape = 0 | |
| 2705 | blm = Instance.new("SpecialMesh",bl)
| |
| 2706 | blm.MeshType = "Sphere" | |
| 2707 | blm.Scale = Vector3.new(1,1,1) | |
| 2708 | blm.MeshId = "rbxassetid://9982590" | |
| 2709 | ||
| 2710 | coroutine.resume(coroutine.create(function() | |
| 2711 | for i=1, math.huge, 4 do | |
| 2712 | if Charging == true then | |
| 2713 | rs:wait() | |
| 2714 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2715 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 2716 | bl.Transparency = bl.Transparency + 0.005 | |
| 2717 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2718 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2719 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 2720 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 2721 | elseif Charging == false then break | |
| 2722 | end | |
| 2723 | end | |
| 2724 | end)) | |
| 2725 | ||
| 2726 | repeat | |
| 2727 | local p = Instance.new('Part',torso)
| |
| 2728 | p.formFactor = 'Custom' | |
| 2729 | p.Size = Vector3.new(1,1,1) | |
| 2730 | p.BrickColor = workspace.Base.BrickColor | |
| 2731 | p.CanCollide = false | |
| 2732 | p.Transparency = 0 | |
| 2733 | p.Anchored = true | |
| 2734 | p.Locked=true | |
| 2735 | p.Material = workspace.Base.Material | |
| 2736 | s = math.random(1,40)/10 | |
| 2737 | local m = Instance.new("BlockMesh",p)
| |
| 2738 | m.Scale = Vector3.new(s,s,s) | |
| 2739 | 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()) | |
| 2740 | --[[coroutine.wrap(function() | |
| 2741 | wait(2) | |
| 2742 | while Charging == true do | |
| 2743 | wait(2) | |
| 2744 | GroundWave1() | |
| 2745 | wait(2) | |
| 2746 | end | |
| 2747 | end)()]]-- | |
| 2748 | Spawn(function() | |
| 2749 | while rs:wait() do | |
| 2750 | if Charging == true then | |
| 2751 | 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))) | |
| 2752 | 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))) | |
| 2753 | 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)) | |
| 2754 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2755 | 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))) | |
| 2756 | 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))) | |
| 2757 | elseif Charging == false then break | |
| 2758 | end | |
| 2759 | end | |
| 2760 | end) | |
| 2761 | Spawn(function() | |
| 2762 | while rs:wait() do | |
| 2763 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2764 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2765 | p.Transparency = p.Transparency+0.01 | |
| 2766 | end | |
| 2767 | end) | |
| 2768 | wait(.3) | |
| 2769 | until Charging == false | |
| 2770 | end | |
| 2771 | end | |
| 2772 | end | |
| 2773 | end) | |
| 2774 | ---------------------------------------------------- | |
| 2775 | mouse.KeyUp:connect(function(key) | |
| 2776 | if key == "r" then | |
| 2777 | if Charging == true then | |
| 2778 | Charging = false | |
| 2779 | pt:Destroy() | |
| 2780 | pt2:Destroy() | |
| 2781 | bl:Destroy() | |
| 2782 | if Debounces.CanAttack == false then | |
| 2783 | Debounces.CanAttack = true | |
| 2784 | Debounces.NoIdl = false | |
| 2785 | Debounces.on = false | |
| 2786 | end | |
| 2787 | end | |
| 2788 | end | |
| 2789 | end) | |
| 2790 | ---------------------------------------------------- | |
| 2791 | Search = false | |
| 2792 | mouse.KeyDown:connect(function(key) | |
| 2793 | if key == "n" then | |
| 2794 | if Search == false then | |
| 2795 | Search = true | |
| 2796 | for i,v in pairs(game.Players:getPlayers()) do | |
| 2797 | if v.Name~=char.Name then | |
| 2798 | for j,k in pairs(v.Character:GetChildren()) do | |
| 2799 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 2800 | bawx=Instance.new("SelectionBox",cam)
| |
| 2801 | bawx.Color = BrickColor.new("Bright red")
| |
| 2802 | bawx.Transparency = .5 | |
| 2803 | bawx.Adornee = k | |
| 2804 | end | |
| 2805 | end | |
| 2806 | end | |
| 2807 | end | |
| 2808 | elseif Search == true then | |
| 2809 | Search = false | |
| 2810 | for i, v in pairs(cam:GetChildren()) do | |
| 2811 | if v:IsA("SelectionBox") then
| |
| 2812 | v:Destroy() | |
| 2813 | end | |
| 2814 | end | |
| 2815 | end | |
| 2816 | end | |
| 2817 | end) | |
| 2818 | ---------------------------------------------------- | |
| 2819 | Grab = false | |
| 2820 | mouse.KeyDown:connect(function(key) | |
| 2821 | if key == "z" then | |
| 2822 | Debounces.on = true | |
| 2823 | Debounces.NoIdl = true | |
| 2824 | Debounces.ks = true | |
| 2825 | if Grab == false then | |
| 2826 | gp = nil | |
| 2827 | for i = 1, 20 do | |
| 2828 | 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) | |
| 2829 | 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) | |
| 2830 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2831 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2832 | 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) | |
| 2833 | 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) | |
| 2834 | if Debounces.on == false then break end | |
| 2835 | rs:wait() | |
| 2836 | end | |
| 2837 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 2838 | ht = hit.Parent | |
| 2839 | hum1=ht:FindFirstChild('Humanoid')
| |
| 2840 | if hum1 ~= nil then | |
| 2841 | if Debounces.ks==true then | |
| 2842 | z = Instance.new("Sound",hed)
| |
| 2843 | z.SoundId = "rbxassetid://169380525" | |
| 2844 | z.Volume = 1 | |
| 2845 | z:Play() | |
| 2846 | Debounces.ks=false | |
| 2847 | end | |
| 2848 | hum1.PlatformStand=true | |
| 2849 | gp = ht | |
| 2850 | Grab = true | |
| 2851 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 2852 | asd.Parent = larm | |
| 2853 | asd.Name = "asd" | |
| 2854 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 2855 | --[[elseif hum1 == nil then | |
| 2856 | con1:disconnect() | |
| 2857 | wait() return]]-- | |
| 2858 | end | |
| 2859 | end) | |
| 2860 | for i = 1, 20 do | |
| 2861 | 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) | |
| 2862 | 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) | |
| 2863 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2864 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2865 | 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) | |
| 2866 | 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) | |
| 2867 | if Debounces.on == false then break end | |
| 2868 | rs:wait() | |
| 2869 | end | |
| 2870 | if hum1 == nil then | |
| 2871 | Debounces.on = false | |
| 2872 | Debounces.NoIdl = false | |
| 2873 | end | |
| 2874 | con1:disconnect() | |
| 2875 | elseif Grab == true then | |
| 2876 | Grab = false | |
| 2877 | Punch() | |
| 2878 | z = Instance.new("Sound",hed)
| |
| 2879 | z.SoundId = "rbxassetid://169380525" | |
| 2880 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2881 | z.Volume = 1 | |
| 2882 | z:Play() | |
| 2883 | for i = 1, 10 do | |
| 2884 | 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) | |
| 2885 | 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) | |
| 2886 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2887 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2888 | 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) | |
| 2889 | 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) | |
| 2890 | if Debounces.on == false then break end | |
| 2891 | rs:wait() | |
| 2892 | end | |
| 2893 | Punch() | |
| 2894 | z = Instance.new("Sound",hed)
| |
| 2895 | z.SoundId = "rbxassetid://169380525" | |
| 2896 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2897 | z.Volume = 1 | |
| 2898 | z:Play() | |
| 2899 | for i = 1, 10 do | |
| 2900 | 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) | |
| 2901 | 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) | |
| 2902 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2903 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2904 | 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) | |
| 2905 | 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) | |
| 2906 | if Debounces.on == false then break end | |
| 2907 | rs:wait() | |
| 2908 | end | |
| 2909 | Punch() | |
| 2910 | z = Instance.new("Sound",hed)
| |
| 2911 | z.SoundId = "rbxassetid://169380525" | |
| 2912 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2913 | z.Volume = 1 | |
| 2914 | z:Play() | |
| 2915 | for i = 1, 10 do | |
| 2916 | 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) | |
| 2917 | 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) | |
| 2918 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2919 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2920 | 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) | |
| 2921 | 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) | |
| 2922 | if Debounces.on == false then break end | |
| 2923 | rs:wait() | |
| 2924 | end | |
| 2925 | Punch() | |
| 2926 | z = Instance.new("Sound",hed)
| |
| 2927 | z.SoundId = "rbxassetid://169380525" | |
| 2928 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2929 | z.Volume = 1 | |
| 2930 | z:Play() | |
| 2931 | for i = 1, 10 do | |
| 2932 | 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) | |
| 2933 | 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) | |
| 2934 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2935 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2936 | 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) | |
| 2937 | 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) | |
| 2938 | if Debounces.on == false then break end | |
| 2939 | rs:wait() | |
| 2940 | end | |
| 2941 | Punch() | |
| 2942 | z = Instance.new("Sound",hed)
| |
| 2943 | z.SoundId = "rbxassetid://169380525" | |
| 2944 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2945 | z.Volume = 1 | |
| 2946 | z:Play() | |
| 2947 | for i = 1, 10 do | |
| 2948 | 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) | |
| 2949 | 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) | |
| 2950 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2951 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2952 | 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) | |
| 2953 | 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) | |
| 2954 | if Debounces.on == false then break end | |
| 2955 | rs:wait() | |
| 2956 | end | |
| 2957 | Punch() | |
| 2958 | z = Instance.new("Sound",hed)
| |
| 2959 | z.SoundId = "rbxassetid://169380525" | |
| 2960 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2961 | z.Volume = 1 | |
| 2962 | z:Play() | |
| 2963 | for i = 1, 10 do | |
| 2964 | 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) | |
| 2965 | 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) | |
| 2966 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2967 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2968 | 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) | |
| 2969 | 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) | |
| 2970 | if Debounces.on == false then break end | |
| 2971 | rs:wait() | |
| 2972 | end | |
| 2973 | Punch() | |
| 2974 | z = Instance.new("Sound",hed)
| |
| 2975 | z.SoundId = "rbxassetid://169380525" | |
| 2976 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2977 | z.Volume = 1 | |
| 2978 | z:Play() | |
| 2979 | for i = 1, 10 do | |
| 2980 | 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) | |
| 2981 | 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) | |
| 2982 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2983 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2984 | 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) | |
| 2985 | 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) | |
| 2986 | if Debounces.on == false then break end | |
| 2987 | rs:wait() | |
| 2988 | end | |
| 2989 | Punch() | |
| 2990 | z = Instance.new("Sound",hed)
| |
| 2991 | z.SoundId = "rbxassetid://169380525" | |
| 2992 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2993 | z.Volume = 1 | |
| 2994 | z:Play() | |
| 2995 | for i = 1, 10 do | |
| 2996 | 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) | |
| 2997 | 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) | |
| 2998 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2999 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3000 | 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) | |
| 3001 | 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) | |
| 3002 | if Debounces.on == false then break end | |
| 3003 | rs:wait() | |
| 3004 | end | |
| 3005 | Punch() | |
| 3006 | z = Instance.new("Sound",hed)
| |
| 3007 | z.SoundId = "rbxassetid://169380525" | |
| 3008 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3009 | z.Volume = 1 | |
| 3010 | z:Play() | |
| 3011 | for i = 1, 10 do | |
| 3012 | 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) | |
| 3013 | 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) | |
| 3014 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3015 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3016 | 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) | |
| 3017 | 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) | |
| 3018 | if Debounces.on == false then break end | |
| 3019 | rs:wait() | |
| 3020 | end | |
| 3021 | Punch() | |
| 3022 | z = Instance.new("Sound",hed)
| |
| 3023 | z.SoundId = "rbxassetid://169380525" | |
| 3024 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3025 | z.Volume = 1 | |
| 3026 | z:Play() | |
| 3027 | for i = 1, 10 do | |
| 3028 | 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) | |
| 3029 | 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) | |
| 3030 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3031 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3032 | 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) | |
| 3033 | 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) | |
| 3034 | if Debounces.on == false then break end | |
| 3035 | rs:wait() | |
| 3036 | end | |
| 3037 | Punch() | |
| 3038 | z = Instance.new("Sound",hed)
| |
| 3039 | z.SoundId = "rbxassetid://169380525" | |
| 3040 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3041 | z.Volume = 1 | |
| 3042 | z:Play() | |
| 3043 | for i = 1, 10 do | |
| 3044 | 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) | |
| 3045 | 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) | |
| 3046 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3047 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3048 | 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) | |
| 3049 | 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) | |
| 3050 | if Debounces.on == false then break end | |
| 3051 | rs:wait() | |
| 3052 | end | |
| 3053 | Punch() | |
| 3054 | z = Instance.new("Sound",hed)
| |
| 3055 | z.SoundId = "rbxassetid://169380525" | |
| 3056 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3057 | z.Volume = 1 | |
| 3058 | z:Play() | |
| 3059 | for i = 1, 10 do | |
| 3060 | 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) | |
| 3061 | 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) | |
| 3062 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3063 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3064 | 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) | |
| 3065 | 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) | |
| 3066 | if Debounces.on == false then break end | |
| 3067 | rs:wait() | |
| 3068 | end | |
| 3069 | con1:disconnect() | |
| 3070 | Debounces.on = false | |
| 3071 | Debounces.NoIdl = false | |
| 3072 | if gp ~= nil then | |
| 3073 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 3074 | for i,v in pairs(larm:GetChildren()) do | |
| 3075 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 3076 | v:Remove() | |
| 3077 | end | |
| 3078 | end | |
| 3079 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 3080 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 3081 | bv.P = 125000 | |
| 3082 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 3083 | hum1=nil | |
| 3084 | ht=nil | |
| 3085 | Debounces.on = false | |
| 3086 | Debounces.NoIdl = false | |
| 3087 | elseif ht == nil then wait() | |
| 3088 | Grab = false | |
| 3089 | Debounces.on = false | |
| 3090 | Debounces.NoIdl = false | |
| 3091 | end | |
| 3092 | end | |
| 3093 | end | |
| 3094 | end) | |
| 3095 | ---------------------------------------------------- | |
| 3096 | mouse.KeyDown:connect(function(key) | |
| 3097 | if string.byte(key) == 52 then | |
| 3098 | char.Humanoid.WalkSpeed = 60 | |
| 3099 | end | |
| 3100 | end) | |
| 3101 | mouse.KeyUp:connect(function(key) | |
| 3102 | if string.byte(key) == 52 then | |
| 3103 | char.Humanoid.WalkSpeed = 8 | |
| 3104 | end | |
| 3105 | end) | |
| 3106 | ------------------------------- | |
| 3107 | local animpose = "Idle" | |
| 3108 | local lastanimpose = "Idle" | |
| 3109 | local sine = 0 | |
| 3110 | local change = 1 | |
| 3111 | local val = 0 | |
| 3112 | local ffing = false | |
| 3113 | ------------------------------- | |
| 3114 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3115 | if char.Humanoid.Jump == true then | |
| 3116 | jump = true | |
| 3117 | else | |
| 3118 | jump = false | |
| 3119 | end | |
| 3120 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3121 | if f then | |
| 3122 | ffing = true | |
| 3123 | else | |
| 3124 | ffing = false | |
| 3125 | end | |
| 3126 | end) | |
| 3127 | ||
| 3128 | RightLeg = CFrame.new(0.5,-1,0) | |
| 3129 | LeftLeg = CFrame.new(-0.5,-1,0) | |
| 3130 | ||
| 3131 | lefth = (torso.CFrame*LeftLeg) | |
| 3132 | righth = (torso.CFrame*RightLeg) | |
| 3133 | ||
| 3134 | speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z) | |
| 3135 | ||
| 3136 | TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100) | |
| 3137 | ||
| 3138 | ||
| 3139 | local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100) | |
| 3140 | local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100) | |
| 3141 | ||
| 3142 | sine = sine + change | |
| 3143 | if jump == true then | |
| 3144 | animpose = "Jumping" | |
| 3145 | elseif ffing == true then | |
| 3146 | animpose = "Freefalling" | |
| 3147 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3148 | animpose = "Idle" | |
| 3149 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3150 | animpose = "Walking" | |
| 3151 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3152 | animpose = "Running" | |
| 3153 | end | |
| 3154 | if animpose ~= lastanimpose then | |
| 3155 | sine = 0 | |
| 3156 | if Debounces.NoIdl == false then | |
| 3157 | if stanceToggle == "Normal" and holy ~= true then | |
| 3158 | for i = 1, 2 do | |
| 3159 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
| 3160 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
| 3161 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
| 3162 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2) | |
| 3163 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2) | |
| 3164 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2) | |
| 3165 | end | |
| 3166 | elseif stanceToggle == "Floating" then | |
| 3167 | change = 1 | |
| 3168 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3169 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3170 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 3171 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 3172 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 3173 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 3174 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 3175 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 3176 | wait() | |
| 3177 | end | |
| 3178 | else | |
| 3179 | end | |
| 3180 | end | |
| 3181 | lastanimpose = animpose | |
| 3182 | if Debounces.NoIdl == false then | |
| 3183 | if animpose == "Idle" then | |
| 3184 | if stanceToggle == "Normal" and holy ~= true then | |
| 3185 | change = 0.5 | |
| 3186 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8) | |
| 3187 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3188 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8) | |
| 3189 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3190 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5) | |
| 3191 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5) | |
| 3192 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1) | |
| 3193 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1) | |
| 3194 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
| 3195 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1) | |
| 3196 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
| 3197 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1) | |
| 3198 | elseif stanceToggle == "Idle2" then | |
| 3199 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1) | |
| 3200 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 3201 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6) | |
| 3202 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 3203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8) | |
| 3204 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
| 3205 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
| 3206 | --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3) | |
| 3207 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3208 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8) | |
| 3209 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8) | |
| 3210 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8) | |
| 3211 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8) | |
| 3212 | elseif stanceToggle == "Normal" and holy == true then --- Floating anim | |
| 3213 | change = 0.5 | |
| 3214 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 3215 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 3216 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 3217 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 3218 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 3219 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 3220 | elseif stanceToggle == "Floating" then | |
| 3221 | change = 0.5 | |
| 3222 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3223 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3224 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 3225 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 3226 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 3227 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 3228 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 3229 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 3230 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 3231 | grab = true | |
| 3232 | ||
| 3233 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
| 3234 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
| 3235 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3) | |
| 3236 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
| 3237 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
| 3238 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3239 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
| 3240 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
| 3241 | 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.3) | |
| 3242 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3243 | 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.3) | |
| 3244 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3245 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 3246 | grab = true | |
| 3247 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 3248 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 3249 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 3250 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 3251 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
| 3252 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
| 3253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
| 3254 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
| 3255 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
| 3256 | --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
| 3257 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
| 3258 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3259 | --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
| 3260 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
| 3261 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3262 | end | |
| 3263 | elseif animpose == "Walking" then | |
| 3264 | if stanceToggle == "Normal" and holy ~= true then | |
| 3265 | change = 1 | |
| 3266 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 3267 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 3268 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/-2.8, -math.sin(sine/4)/3, (math.rad(-10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
| 3269 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
| 3270 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
| 3271 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
| 3272 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
| 3273 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
| 3274 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
| 3275 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
| 3276 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3277 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
| 3278 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
| 3279 | ||
| 3280 | elseif stanceToggle == "Normal" and holy == true then --- Floating walk anim | |
| 3281 | for i = 1, 2 do | |
| 3282 | change = 0.5 | |
| 3283 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3284 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3285 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 3286 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 3287 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 3288 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 3289 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 3290 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 3291 | end | |
| 3292 | elseif stanceToggle == "Floating" then | |
| 3293 | change = 1 | |
| 3294 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3295 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3296 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 3297 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 3298 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 3299 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 3300 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 3301 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 3302 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 3303 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3304 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
| 3305 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
| 3306 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
| 3307 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3308 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
| 3309 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 3310 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3311 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
| 3312 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
| 3313 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
| 3314 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
| 3315 | 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) | |
| 3316 | end | |
| 3317 | elseif animpose == "Running" then | |
| 3318 | if stanceToggle == "Normal" and holy ~= true then | |
| 3319 | change = 1 | |
| 3320 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2) | |
| 3321 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 3322 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2) | |
| 3323 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2) | |
| 3325 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5) | |
| 3326 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2) | |
| 3327 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 3328 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
| 3329 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
| 3331 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3332 | elseif stanceToggle == "Normal" and holy == true then | |
| 3333 | change = 0.5 | |
| 3334 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 3335 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 3336 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 3337 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 3338 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 3339 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 3340 | elseif stanceToggle == "Floating" then | |
| 3341 | change = 1 | |
| 3342 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.55, 0) * CFrame.Angles(math.rad(-16) - root.RotVelocity.Y / 20, math.rad(-20) - root.RotVelocity.Y / 20, math.rad(10 + 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3343 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, 0) * CFrame.Angles(math.rad(-20) + root.RotVelocity.Y / 20, math.rad(16) - root.RotVelocity.Y / 20, math.rad(-10 - 2 * math.cos(sine / 14)) + root.RotVelocity.Y / 20), 0.2) | |
| 3344 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14), 0, 0), 0.4) | |
| 3345 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20) - root.RotVelocity.Y / 10, 0), 0.2) | |
| 3346 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.17 * math.cos(sine / 14), 0) * CFrame.Angles(math.rad(-16), math.rad(0), root.RotVelocity.Y / 10), 0.05) | |
| 3347 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20) + root.RotVelocity.Y / 10, 0), 0.05) | |
| 3348 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-13 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(-8) - root.RotVelocity.Y / 20), 0.4) | |
| 3349 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -0.5 - 0.1 * math.sin(sine / 14), -0.7) * CFrame.Angles(math.rad(-16 + 3 * math.sin(sine / 10)), math.rad(-20) + root.RotVelocity.Y / 15, math.rad(8) - root.RotVelocity.Y / 20), 0.4) | |
| 3350 | end | |
| 3351 | ||
| 3352 | elseif animpose == "Jumping" then --JUMPING ANIM | |
| 3353 | ||
| 3354 | if stanceToggle == "Normal" and holy ~= true then | |
| 3355 | change = 0.8 | |
| 3356 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2) | |
| 3357 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 3358 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
| 3359 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3360 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2) | |
| 3361 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 3362 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 3363 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 3364 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3365 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 3366 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3367 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
| 3368 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
| 3369 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
| 3370 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 3371 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
| 3372 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
| 3373 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
| 3374 | elseif stanceToggle == "Grabbed" and holy == true then | |
| 3375 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
| 3376 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
| 3377 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
| 3378 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
| 3379 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
| 3380 | 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) | |
| 3381 | end | |
| 3382 | ||
| 3383 | elseif animpose == "Freefalling" then --FF ANIM | |
| 3384 | ||
| 3385 | if stanceToggle == "Normal" and holy ~= true then | |
| 3386 | change = 0.8 | |
| 3387 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2) | |
| 3388 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
| 3389 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2) | |
| 3390 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
| 3391 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2) | |
| 3392 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2) | |
| 3393 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
| 3394 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2) | |
| 3395 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3396 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2) | |
| 3397 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 3398 | end | |
| 3399 | elseif stanceToggle == "Normal" and holy == true then | |
| 3400 | change = 0.8 | |
| 3401 | change = 0.5 | |
| 3402 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 6 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4) | |
| 3403 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0.1 - 0.1 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 6 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4) | |
| 3404 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(-14 - 5 * math.cos(sine / 10)), math.rad(-20), 0), 0.4) | |
| 3405 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(math.rad(-10 + 3 * math.cos(sine / 10)), math.rad(20), math.rad(0)), 0.05) | |
| 3406 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4) | |
| 3407 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6 - 0.1 * math.sin(sine / 10), -0.5) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4) | |
| 3408 | end | |
| 3409 | end | |
| 3410 | end) | |
| 3411 | Instance.new("ForceField",char).Visible = false
| |
| 3412 | hum.MaxHealth = math.huge | |
| 3413 | wait(3) | |
| 3414 | hum.Health = math.huge | |
| 3415 | ----------------------------------------------------------------------------- | |
| 3416 | ||
| 3417 | --//Do not touch anything below this line, you may break it. | |
| 3418 | local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
| |
| 3419 | local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
| |
| 3420 | if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
| |
| 3421 | local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
| |
| 3422 | local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end; |