SHOW:
|
|
- or go back to the newest paste.
| 1 | --Gomu powers by DahNoob | |
| 2 | --Gui Fixed by Biologically_Noob | |
| 3 | --Originally fixed by scenius | |
| 4 | --lol i know ur gonna remove credits | |
| 5 | g1 = Instance.new("ScreenGui")
| |
| 6 | g1.Name = "ggui" | |
| 7 | o1 = Instance.new("Frame", g1)
| |
| 8 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
| 9 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
| 10 | o1.BorderSizePixel = 0 | |
| 11 | o1.Name = "Main" | |
| 12 | o1.Position = UDim2.new(0.025, 0, 0.65, 0) | |
| 13 | o1.Size = UDim2.new(0, 250, 0, 150) | |
| 14 | o1.ZIndex = 2 | |
| 15 | o2 = Instance.new("Frame", o1)
| |
| 16 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
| 17 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
| 18 | o2.BorderSizePixel = 3 | |
| 19 | o2.Name = "G3" | |
| 20 | o2.Position = UDim2.new(0.05, 0, 0, 20) | |
| 21 | o2.Size = UDim2.new(1, -20, 0, 20) | |
| 22 | o2.ZIndex = 3 | |
| 23 | o3 = Instance.new("Frame", o2)
| |
| 24 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 25 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 26 | o3.BorderSizePixel = 0 | |
| 27 | o3.Name = "Shadow" | |
| 28 | o3.Size = UDim2.new(1, 7, 1, 7) | |
| 29 | o3.ZIndex = 2 | |
| 30 | o3.Style = Enum.FrameStyle.DropShadow | |
| 31 | o4 = Instance.new("Frame", o2)
| |
| 32 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
| 33 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 34 | o4.BorderSizePixel = 0 | |
| 35 | o4.Name = "Bar" | |
| 36 | o4.Size = UDim2.new(0, 0, 1, 0) | |
| 37 | o4.ZIndex = 4 | |
| 38 | o5 = Instance.new("Frame", o1)
| |
| 39 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 40 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 41 | o5.BorderSizePixel = 0 | |
| 42 | o5.Name = "Shadow" | |
| 43 | o5.Position = UDim2.new(0, 1, 0, 1) | |
| 44 | o5.Size = UDim2.new(1, 5, 1, 5) | |
| 45 | o5.Style = Enum.FrameStyle.DropShadow | |
| 46 | o6 = Instance.new("Frame", o1)
| |
| 47 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
| 48 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
| 49 | o6.BorderSizePixel = 3 | |
| 50 | o6.Name = "G2" | |
| 51 | o6.Position = UDim2.new(0.05, 0, 0, 55) | |
| 52 | o6.Size = UDim2.new(1, -20, 0, 20) | |
| 53 | o6.ZIndex = 3 | |
| 54 | o7 = Instance.new("Frame", o6)
| |
| 55 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 56 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 57 | o7.BorderSizePixel = 0 | |
| 58 | o7.Name = "Shadow" | |
| 59 | o7.Size = UDim2.new(1, 7, 1, 7) | |
| 60 | o7.ZIndex = 2 | |
| 61 | o7.Style = Enum.FrameStyle.DropShadow | |
| 62 | o8 = Instance.new("Frame", o6)
| |
| 63 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
| 64 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 65 | o8.BorderSizePixel = 0 | |
| 66 | o8.Name = "Bar" | |
| 67 | o8.Size = UDim2.new(0, 0, 1, 0) | |
| 68 | o8.ZIndex = 4 | |
| 69 | o9 = Instance.new("Frame", o1)
| |
| 70 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
| 71 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 72 | o9.BorderSizePixel = 0 | |
| 73 | o9.Name = "Base" | |
| 74 | o9.Position = UDim2.new(0.05, 0, 0, 80) | |
| 75 | o9.Size = UDim2.new(0.5, 100, 0, 60) | |
| 76 | o9.ZIndex = 3 | |
| 77 | o10 = Instance.new("Frame", o9)
| |
| 78 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
| 79 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 80 | o10.BorderSizePixel = 0 | |
| 81 | o10.Name = "Shadow" | |
| 82 | o10.Size = UDim2.new(0.5, 120, 1, 6) | |
| 83 | o10.ZIndex = 2 | |
| 84 | o10.Style = Enum.FrameStyle.DropShadow | |
| 85 | o11 = Instance.new("TextLabel", o9)
| |
| 86 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 87 | o11.BackgroundTransparency = 1 | |
| 88 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
| 89 | o11.Name = "Mode" | |
| 90 | o11.Position = UDim2.new(0.05, 0,0.1, 0) | |
| 91 | o11.Size = UDim2.new(0, 205, 0, 50) | |
| 92 | o11.ZIndex = 3 | |
| 93 | o11.Text = "MODE: Rubber Pistol" | |
| 94 | o11.TextColor3 = Color3.new(1, 1, 1) | |
| 95 | o11.TextStrokeTransparency = 0 | |
| 96 | o11.Font = Enum.Font.SourceSansBold | |
| 97 | o11.FontSize = Enum.FontSize.Size28 | |
| 98 | ||
| 99 | g1.Parent = script | |
| 100 | ||
| 101 | sn = Instance.new("StringValue", script)
| |
| 102 | sn.Name = "ScriptName" | |
| 103 | sn.Value = "Gomu Powers" | |
| 104 | ||
| 105 | local a = script:WaitForChild("ScriptName").Value
| |
| 106 | script.ScriptName:Destroy() | |
| 107 | TakeDamage = function(b, c) | |
| 108 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick())
| |
| 109 | end | |
| 110 | ||
| 111 | plr = game.Players.LocalPlayer | |
| 112 | repeat | |
| 113 | wait(0.4) | |
| 114 | until plr.Character | |
| 115 | local fixed = Instance.new("StringValue", plr.Character)
| |
| 116 | fixed.Name = "1" | |
| 117 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
| 118 | local creator = Instance.new("StringValue", plr.Character)
| |
| 119 | creator.Name = "2" | |
| 120 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
| 121 | chr = plr.Character | |
| 122 | human = chr:FindFirstChild("Humanoid")
| |
| 123 | mouse = plr:GetMouse() | |
| 124 | kx = function(s) | |
| 125 | plr:Kick(s) | |
| 126 | end | |
| 127 | cam = workspace.CurrentCamera | |
| 128 | selected = false | |
| 129 | equipd = false | |
| 130 | tors = chr.Torso | |
| 131 | rarm = chr["Right Arm"] | |
| 132 | larm = chr["Left Arm"] | |
| 133 | rleg = chr["Right Leg"] | |
| 134 | lleg = chr["Left Leg"] | |
| 135 | hrp = chr.HumanoidRootPart | |
| 136 | head = chr.Head | |
| 137 | anim = human:FindFirstChild("Animator")
| |
| 138 | local d = head:FindFirstChildOfClass("Decal").Texture
| |
| 139 | activu = false | |
| 140 | dagear = 1 | |
| 141 | rubbermodo = 0 | |
| 142 | gatlingcool = 0 | |
| 143 | bazookacool = 0 | |
| 144 | rocketcool = 0 | |
| 145 | g2lim = 6 | |
| 146 | g3lim = 6 | |
| 147 | g32hand = false | |
| 148 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856)
| |
| 149 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060))
| |
| 150 | local g = nil | |
| 151 | g = script:WaitForChild("ggui")
| |
| 152 | g.Enabled = true | |
| 153 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
| 154 | g.Parent = plr.PlayerGui | |
| 155 | Heartbeat = Instance.new("BindableEvent")
| |
| 156 | Heartbeat.Name = "Heartbeat" | |
| 157 | Heartbeat.Parent = script | |
| 158 | frame = 0.033333333333333 | |
| 159 | tf = 0 | |
| 160 | game:GetService("RunService").Heartbeat:connect(function(h, i)
| |
| 161 | tf = tf + h | |
| 162 | if frame <= tf then | |
| 163 | for j = 1, math.floor(tf / frame) do | |
| 164 | Heartbeat:Fire() | |
| 165 | end | |
| 166 | tf = tf - frame * math.floor(tf / frame) | |
| 167 | end | |
| 168 | end) | |
| 169 | swait = function(k) | |
| 170 | if k == 0 or k == nil then | |
| 171 | Heartbeat.Event:wait() | |
| 172 | else | |
| 173 | for j = 1, k do | |
| 174 | Heartbeat.Event:wait() | |
| 175 | end | |
| 176 | end | |
| 177 | end | |
| 178 | ||
| 179 | Heartbeat2 = Instance.new("BindableEvent")
| |
| 180 | Heartbeat2.Name = "Heartbeat2" | |
| 181 | Heartbeat2.Parent = script | |
| 182 | f60 = 0.016666666666667 | |
| 183 | tf2 = 0 | |
| 184 | game:GetService("RunService").Heartbeat:connect(function(h, i)
| |
| 185 | tf2 = tf2 + h | |
| 186 | if f60 <= tf2 then | |
| 187 | for j = 1, math.floor(tf2 / f60) do | |
| 188 | Heartbeat2:Fire() | |
| 189 | end | |
| 190 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
| 191 | end | |
| 192 | end) | |
| 193 | swait2 = function(k) | |
| 194 | if k == 0 or k == nil then | |
| 195 | Heartbeat2.Event:wait() | |
| 196 | else | |
| 197 | for j = 1, k do | |
| 198 | Heartbeat2.Event:wait() | |
| 199 | end | |
| 200 | end | |
| 201 | end | |
| 202 | ||
| 203 | tool = Instance.new("Tool")
| |
| 204 | tool.CanBeDropped = false | |
| 205 | tool.RequiresHandle = false | |
| 206 | tool.ToolTip = "FSJDHJFS" | |
| 207 | tool.Name = "rubberwhatever" | |
| 208 | tool.Parent = plr.Backpack | |
| 209 | modz = Instance.new("Model")
| |
| 210 | modz.Name = "efx" | |
| 211 | modz.Parent = chr | |
| 212 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 213 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 214 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 215 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 216 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 217 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 218 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 219 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 220 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 221 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 222 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 223 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 224 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 225 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 226 | RH = tors:FindFirstChild("Right Hip")
| |
| 227 | LH = tors:FindFirstChild("Left Hip")
| |
| 228 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 229 | N = tors:FindFirstChild("Neck")
| |
| 230 | cf = CFrame.new | |
| 231 | ang = CFrame.Angles | |
| 232 | rd = math.rad | |
| 233 | rd2 = math.random | |
| 234 | cs = ColorSequence.new | |
| 235 | ns = NumberSequence.new | |
| 236 | nsk = NumberSequenceKeypoint.new | |
| 237 | nooutline = function(i) | |
| 238 | i.TopSurface = 10 | |
| 239 | end | |
| 240 | ||
| 241 | makepart = function(l, m, n, o, p, q, r) | |
| 242 | local s = Instance.new("Part")
| |
| 243 | s.BrickColor = BrickColor.new(l) | |
| 244 | s.Name = m | |
| 245 | s.Transparency = o | |
| 246 | nooutline(s) | |
| 247 | s.Reflectance = n | |
| 248 | s.Material = p | |
| 249 | s.Anchored = true | |
| 250 | s.CanCollide = false | |
| 251 | s.Locked = true | |
| 252 | s.CFrame = r | |
| 253 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 254 | s.Parent = q | |
| 255 | return s | |
| 256 | end | |
| 257 | ||
| 258 | makemesh = function(t, u, v, w) | |
| 259 | local x = Instance.new("SpecialMesh")
| |
| 260 | x.MeshType = t | |
| 261 | x.Scale = u | |
| 262 | if t == "FileMesh" then | |
| 263 | x.MeshId = v | |
| 264 | end | |
| 265 | x.Parent = w | |
| 266 | return x | |
| 267 | end | |
| 268 | ||
| 269 | makeweld = function(w, y, z, A, B) | |
| 270 | local C = Instance.new("Weld")
| |
| 271 | C.Part0 = y | |
| 272 | C.Part1 = z | |
| 273 | C.C0 = A | |
| 274 | if B ~= nil then | |
| 275 | C.C1 = B | |
| 276 | end | |
| 277 | C.Parent = w | |
| 278 | return C | |
| 279 | end | |
| 280 | ||
| 281 | lerpz = function(D, E, F, G) | |
| 282 | D[E] = D[E]:lerp(F, G) | |
| 283 | end | |
| 284 | ||
| 285 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 286 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 287 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 288 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 289 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 290 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 291 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 292 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 293 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 294 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 295 | resetlerp = function() | |
| 296 | RJ.C0 = RJC0 | |
| 297 | RJ.C1 = RJC1 | |
| 298 | N.C0 = NC0 | |
| 299 | N.C1 = NC1 | |
| 300 | RS.C0 = RSC0 | |
| 301 | RS.C1 = RSC1 | |
| 302 | LS.C0 = LSC0 | |
| 303 | LS.C1 = LSC1 | |
| 304 | RH.C0 = RHC0 | |
| 305 | RH.C1 = RHC1 | |
| 306 | LH.C0 = LHC0 | |
| 307 | LH.C1 = LHC1 | |
| 308 | end | |
| 309 | ||
| 310 | local H = {}
| |
| 311 | for I,J in pairs(chr:GetChildren()) do | |
| 312 | if J:IsA("BasePart") and J ~= hrp then
| |
| 313 | local K = Instance.new("Part")
| |
| 314 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 315 | K.CanCollide = false | |
| 316 | K.Material = "Neon" | |
| 317 | K.Name = "odam" | |
| 318 | K.BrickColor = BrickColor.new("Persimmon")
| |
| 319 | K.CFrame = J.CFrame | |
| 320 | K.Transparency = 1 | |
| 321 | K.Locked = true | |
| 322 | nooutline(K) | |
| 323 | K.Parent = J | |
| 324 | local L = nil | |
| 325 | if J ~= head then | |
| 326 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K)
| |
| 327 | else | |
| 328 | if J == head then | |
| 329 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K)
| |
| 330 | end | |
| 331 | end | |
| 332 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
| 333 | local M = Instance.new("ParticleEmitter")
| |
| 334 | M.Color = cs(Color3.new(1, 1, 1)) | |
| 335 | M.LightEmission = 0.8 | |
| 336 | M.Name = "pe" | |
| 337 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)})
| |
| 338 | M.Texture = "rbxgameasset://Images/smok" | |
| 339 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)})
| |
| 340 | M.Acceleration = Vector3.new(0, 4, 0) | |
| 341 | M.Lifetime = NumberRange.new(3, 4) | |
| 342 | M.Rate = 20 | |
| 343 | M.VelocityInheritance = 0.15 | |
| 344 | M.Rotation = NumberRange.new(0, 360) | |
| 345 | M.RotSpeed = NumberRange.new(-5, 5) | |
| 346 | M.Speed = NumberRange.new(-5, -3) | |
| 347 | M.VelocitySpread = 30 | |
| 348 | M.Enabled = false | |
| 349 | M.Parent = K | |
| 350 | do | |
| 351 | do | |
| 352 | do | |
| 353 | if J == tors then | |
| 354 | local O = Instance.new("Sound")
| |
| 355 | O.SoundId = "rbxassetid://291165237" | |
| 356 | O.Volume = 0.5 | |
| 357 | O.Pitch = 0.9 | |
| 358 | O.Name = "ss" | |
| 359 | O.Looped = true | |
| 360 | O.Parent = K | |
| 361 | end | |
| 362 | table.insert(H, K) | |
| 363 | if J:IsA("CharacterMesh") then
| |
| 364 | J:Destroy() | |
| 365 | end | |
| 366 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
| 367 | ||
| 368 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
| 369 | ||
| 370 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 371 | ||
| 372 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
| 373 | ||
| 374 | end | |
| 375 | end | |
| 376 | end | |
| 377 | end | |
| 378 | end | |
| 379 | function onFired(...) | |
| 380 | --if {...} ~= {} then
| |
| 381 | kx(...) | |
| 382 | --end | |
| 383 | end | |
| 384 | function getobj(t) | |
| 385 | if t==nil then | |
| 386 | return nil | |
| 387 | else | |
| 388 | return t | |
| 389 | end | |
| 390 | end | |
| 391 | SB_Remote = {} --Instance.new("RemoteEvent", script)
| |
| 392 | SB_Remote.Name = "Event" | |
| 393 | function SB_Remote:FireClient(var) | |
| 394 | onFired(var) | |
| 395 | end | |
| 396 | --SB_Remote.OnClientEvent:Connect(onFired) | |
| 397 | modev = Instance.new("IntValue")
| |
| 398 | modev.Name = "WATA" | |
| 399 | modev.Parent = tors | |
| 400 | shoot = function() | |
| 401 | if selected == false or activu == true or modev.Value > 1 then | |
| 402 | return | |
| 403 | end | |
| 404 | activu = true | |
| 405 | delay(0.5, function() | |
| 406 | activu = false | |
| 407 | end) | |
| 408 | local P, Q = nil, nil | |
| 409 | if modev.Value == 0 then | |
| 410 | P = rarm | |
| 411 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 412 | else | |
| 413 | if modev.Value == 1 then | |
| 414 | P = larm | |
| 415 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 416 | end | |
| 417 | end | |
| 418 | if modev.Value == 0 then | |
| 419 | modev.Value = modev.Value + 1 | |
| 420 | else | |
| 421 | if modev.Value == 1 then | |
| 422 | modev.Value = 0 | |
| 423 | end | |
| 424 | end | |
| 425 | local R = Instance.new("Part")
| |
| 426 | nooutline(R) | |
| 427 | R.Anchored = true | |
| 428 | R.CanCollide = false | |
| 429 | R.Size = Vector3.new(1, 1, 1) | |
| 430 | R.BrickColor = P.BrickColor | |
| 431 | R.Transparency = 1 | |
| 432 | R.Locked = true | |
| 433 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 434 | R.Parent = modz | |
| 435 | local S = Instance.new("Part")
| |
| 436 | nooutline(S) | |
| 437 | S.Anchored = true | |
| 438 | S.CanCollide = false | |
| 439 | S.Locked = true | |
| 440 | S.Size = Vector3.new(1, 1, 1) | |
| 441 | S.BrickColor = BrickColor.new("White")
| |
| 442 | S.Transparency = 0 | |
| 443 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
| 444 | S.Parent = modz | |
| 445 | game.Debris:AddItem(S, 2) | |
| 446 | local T = Instance.new("SpecialMesh")
| |
| 447 | T.MeshType = "FileMesh" | |
| 448 | T.MeshId = "rbxassetid://489415447" | |
| 449 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
| 450 | T.Parent = S | |
| 451 | coroutine.resume(coroutine.create(function() | |
| 452 | for I = 1, 10 do | |
| 453 | swait() | |
| 454 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 455 | S.Transparency = S.Transparency + 0.1 | |
| 456 | end | |
| 457 | end)) | |
| 458 | local U = Instance.new("Sound")
| |
| 459 | U.SoundId = "rbxassetid://137463821" | |
| 460 | U.Volume = 1.4 | |
| 461 | U.Pitch = math.random(10, 12) / 10 | |
| 462 | U.Parent = P | |
| 463 | U:Play() | |
| 464 | game.Debris:AddItem(U, 1.5) | |
| 465 | local V = Instance.new("Part")
| |
| 466 | nooutline(V) | |
| 467 | V.Anchored = true | |
| 468 | V.CanCollide = false | |
| 469 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 470 | V.BrickColor = P.BrickColor | |
| 471 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 472 | V.Parent = modz | |
| 473 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
| |
| 474 | local X = nil | |
| 475 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 476 | X = (R.Position - P.Position).magnitude | |
| 477 | W.Scale = Vector3.new(1, X / 2, 1) | |
| 478 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 479 | end) | |
| 480 | local Z = false | |
| 481 | for _ = 1, 4, 0.1 do | |
| 482 | swait() | |
| 483 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
| 484 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 485 | if a1 and a1.Transparency ~= 1 and Z == false then | |
| 486 | Z = true | |
| 487 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
| 488 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90)))
| |
| 489 | do | |
| 490 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 491 | game.Debris:AddItem(a3, 5) | |
| 492 | local a5 = rd2(1, 5) | |
| 493 | if a5 == 3 then | |
| 494 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
| 495 | else | |
| 496 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
| 497 | end | |
| 498 | coroutine.resume(coroutine.create(function() | |
| 499 | for I = 1, 16 do | |
| 500 | swait() | |
| 501 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 502 | a3.Transparency = a3.Transparency + 0.05 | |
| 503 | end | |
| 504 | a3:Destroy() | |
| 505 | end)) | |
| 506 | end | |
| 507 | else | |
| 508 | do | |
| 509 | do | |
| 510 | if Z == false then | |
| 511 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
| 512 | else | |
| 513 | if Z == true then | |
| 514 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
| 515 | end | |
| 516 | end | |
| 517 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
| 518 | ||
| 519 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 520 | ||
| 521 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
| 522 | ||
| 523 | end | |
| 524 | end | |
| 525 | end | |
| 526 | end | |
| 527 | R:Destroy() | |
| 528 | V:Destroy() | |
| 529 | Y:Disconnect() | |
| 530 | Q:Destroy() | |
| 531 | end | |
| 532 | ||
| 533 | gatling = function() | |
| 534 | if gatlingcool == 50 or selected == false or activu == true then | |
| 535 | return | |
| 536 | end | |
| 537 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 538 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 539 | activu = true | |
| 540 | human.AutoRotate = false | |
| 541 | local a8 = Instance.new("BodyGyro")
| |
| 542 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 543 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 544 | a8.P = 580000 | |
| 545 | a8.D = 250 | |
| 546 | a8.Parent = hrp | |
| 547 | local a9 = true | |
| 548 | local aa = {}
| |
| 549 | local ab = {}
| |
| 550 | for j = 1, 8 do | |
| 551 | local ac = Instance.new("Part")
| |
| 552 | nooutline(ac) | |
| 553 | ac.Anchored = true | |
| 554 | ac.Locked = true | |
| 555 | ac.CanCollide = false | |
| 556 | ac.Size = Vector3.new(1, 1, 1) | |
| 557 | if j % 2 == 1 then | |
| 558 | ac.BrickColor = rarm.BrickColor | |
| 559 | else | |
| 560 | if j % 2 == 0 then | |
| 561 | ac.BrickColor = larm.BrickColor | |
| 562 | end | |
| 563 | end | |
| 564 | ac.Transparency = 1 | |
| 565 | ac.CFrame = CFrame.new(0, 1000, 0) | |
| 566 | ac.Parent = modz | |
| 567 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac)
| |
| 568 | local ad = Instance.new("Sound")
| |
| 569 | ad.Volume = 0.7 | |
| 570 | ad.Pitch = math.random(10, 17) / 10 | |
| 571 | ad.SoundId = "rbxassetid://144508058" | |
| 572 | ad.Parent = ac | |
| 573 | table.insert(aa, ac) | |
| 574 | end | |
| 575 | for j = 1, 16 do | |
| 576 | local a3 = makepart("White", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0))
| |
| 577 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 578 | table.insert(ab, a3) | |
| 579 | end | |
| 580 | local ae = tool.Deactivated:connect(function() | |
| 581 | a9 = false | |
| 582 | end) | |
| 583 | coroutine.resume(coroutine.create(function() | |
| 584 | while a8 do | |
| 585 | swait() | |
| 586 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 587 | end | |
| 588 | end)) | |
| 589 | local af = 0 | |
| 590 | local ag = 0 | |
| 591 | repeat | |
| 592 | human.WalkSpeed = 4 | |
| 593 | ag = ag + 1 | |
| 594 | if af == 0 then | |
| 595 | af = 1 | |
| 596 | else | |
| 597 | af = af % 8 + 1 | |
| 598 | end | |
| 599 | aa[af].Size = Vector3.new(1, 0, 1) | |
| 600 | aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-300, 400) / 100, rd2(300, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0) | |
| 601 | aa[af].Transparency = 1 | |
| 602 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1)
| |
| 603 | ab[af].Transparency = 0.35 | |
| 604 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
| |
| 605 | ab[af + 8].Transparency = 0.45 | |
| 606 | ab[af + 8]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 607 | ab[af + 8].CFrame = aa[af].CFrame | |
| 608 | if (af) % 2 == 1 then | |
| 609 | ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 610 | else | |
| 611 | if (af) % 2 == 0 then | |
| 612 | ab[af].CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
| 613 | end | |
| 614 | end | |
| 615 | coroutine.resume(coroutine.create(function() | |
| 616 | local ah = aa[af] | |
| 617 | local ai = ab[af] | |
| 618 | local aj = ab[af + 8] | |
| 619 | local ak = false | |
| 620 | for I = 1, 2 do | |
| 621 | swait() | |
| 622 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
| 623 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0)
| |
| 624 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
| 625 | ah.Transparency = 0 | |
| 626 | ai.Transparency = ai.Transparency + 0.1 | |
| 627 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10)
| |
| 628 | aj.Transparency = aj.Transparency + 0.1 | |
| 629 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5)
| |
| 630 | end | |
| 631 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10
| |
| 632 | ah:FindFirstChildOfClass("Sound"):Play()
| |
| 633 | for j = 0, 4 do | |
| 634 | swait() | |
| 635 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
| 636 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 637 | if a1 and a1.Transparency ~= 1 and ak == false then | |
| 638 | ak = true | |
| 639 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
| 640 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0)))
| |
| 641 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 642 | game.Debris:AddItem(a3, 5) | |
| 643 | local a5 = rd2(1, 10) | |
| 644 | if a5 == 3 then | |
| 645 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
| 646 | else | |
| 647 | hito(a3, 4.1, 5, 0.1, ah.CFrame.upVector * -14) | |
| 648 | end | |
| 649 | coroutine.resume(coroutine.create(function() | |
| 650 | for I = 1, 16 do | |
| 651 | swait() | |
| 652 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
| 653 | a3.Transparency = a3.Transparency + 0.05 | |
| 654 | end | |
| 655 | a3:Destroy() | |
| 656 | end)) | |
| 657 | else | |
| 658 | if ak == false then | |
| 659 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
| 660 | elseif ak == true then | |
| 661 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
| 662 | end | |
| 663 | ai.Transparency = ai.Transparency + 0.15 | |
| 664 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1)
| |
| 665 | aj.Transparency = aj.Transparency + 0.15 | |
| 666 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2)
| |
| 667 | end | |
| 668 | end | |
| 669 | end)) | |
| 670 | swait(1) | |
| 671 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
| 672 | ae:Disconnect() | |
| 673 | a8:Destroy() | |
| 674 | a6:Destroy() | |
| 675 | a7:Destroy() | |
| 676 | human.WalkSpeed = 16 | |
| 677 | human.AutoRotate = true | |
| 678 | activu = false | |
| 679 | gatlingcool = 50 | |
| 680 | coroutine.resume(coroutine.create(function() | |
| 681 | wait(6) | |
| 682 | gatlingcool = 0 | |
| 683 | end)) | |
| 684 | for I,al in pairs(aa) do | |
| 685 | for I = 1, 4 do | |
| 686 | swait() | |
| 687 | al.Transparency = al.Transparency + 0.25 | |
| 688 | end | |
| 689 | al:Destroy() | |
| 690 | end | |
| 691 | for I,am in pairs(ab) do | |
| 692 | am:Destroy() | |
| 693 | end | |
| 694 | aa, ab = nil | |
| 695 | end | |
| 696 | ||
| 697 | bazooka = function() | |
| 698 | if bazookacool == 50 or selected == false or activu == true then | |
| 699 | return | |
| 700 | end | |
| 701 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 702 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 703 | activu = true | |
| 704 | human.WalkSpeed = human.WalkSpeed - 8 | |
| 705 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 706 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 707 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
| 708 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap)
| |
| 709 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
| 710 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar))
| |
| 711 | local at, au = nil, nil | |
| 712 | local av = game:GetService("RunService").RenderStepped:connect(function()
| |
| 713 | at = (an.Position - rarm.Position).magnitude | |
| 714 | au = (ao.Position - larm.Position).magnitude | |
| 715 | aq.Scale = Vector3.new(1, at / 2, 1) | |
| 716 | as.Scale = Vector3.new(1, au / 2, 1) | |
| 717 | ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0) | |
| 718 | ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0) | |
| 719 | end) | |
| 720 | local U = Instance.new("Sound")
| |
| 721 | game.Debris:AddItem(U, 2) | |
| 722 | U.SoundId = "rbxassetid://137463821" | |
| 723 | U.Volume = 1.4 | |
| 724 | U.Pitch = math.random(7, 8) / 10 | |
| 725 | U.Parent = hrp | |
| 726 | U:Play() | |
| 727 | game.Debris:AddItem(U, 1.5) | |
| 728 | for j = 0, 2, 0.1 do | |
| 729 | swait() | |
| 730 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
| 731 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
| 732 | end | |
| 733 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
| 734 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
| 735 | for j = 0, 2, 0.2 do | |
| 736 | swait() | |
| 737 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
| 738 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
| 739 | end | |
| 740 | for j = 0, 4, 0.2 do | |
| 741 | swait() | |
| 742 | if j < 2.6 then | |
| 743 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
| 744 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
| 745 | end | |
| 746 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
| 747 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
| 748 | end | |
| 749 | swait(8) | |
| 750 | bazookacool = 50 | |
| 751 | av:Disconnect() | |
| 752 | an:Destroy() | |
| 753 | ao:Destroy() | |
| 754 | ap:Destroy() | |
| 755 | ar:Destroy() | |
| 756 | a6:Destroy() | |
| 757 | a7:Destroy() | |
| 758 | human.WalkSpeed = human.WalkSpeed + 8 | |
| 759 | activu = false | |
| 760 | wait(6) | |
| 761 | bazookacool = 0 | |
| 762 | end | |
| 763 | run = coroutine.wrap(function() | |
| 764 | local str = string | |
| 765 | local r = str.reverse | |
| 766 | local f = getobj(fixed) | |
| 767 | local c = getobj(creator) | |
| 768 | local w = game:GetService("Workspace")
| |
| 769 | local z = plr | |
| 770 | local function xyz() | |
| 771 | if g then g:Destroy() end | |
| 772 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
| 773 | local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end)
| |
| 774 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
| 775 | return | |
| 776 | end | |
| 777 | if f==nil or c==nil then | |
| 778 | xyz() | |
| 779 | end | |
| 780 | if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then
| |
| 781 | xyz() | |
| 782 | end | |
| 783 | end) | |
| 784 | rocket = function() | |
| 785 | if rocketcool == 50 or selected == false or activu == true then | |
| 786 | return | |
| 787 | end | |
| 788 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 789 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 790 | activu = true | |
| 791 | local aw = Instance.new("Part")
| |
| 792 | aw.CanCollide = false | |
| 793 | aw.Size = Vector3.new(1, 1, 1) | |
| 794 | aw.Locked = true | |
| 795 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
| 796 | aw.Velocity = aw.CFrame.lookVector * 40 | |
| 797 | aw.Transparency = 1 | |
| 798 | aw.Parent = modz | |
| 799 | local ax = Instance.new("BodyForce")
| |
| 800 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
| 801 | ax.Parent = aw | |
| 802 | local U = Instance.new("Sound")
| |
| 803 | U.SoundId = "rbxassetid://137463821" | |
| 804 | U.Volume = 1.2 | |
| 805 | U.Pitch = math.random(7, 8) / 10 | |
| 806 | U.Parent = hrp | |
| 807 | U:Play() | |
| 808 | game.Debris:AddItem(U, 1.5) | |
| 809 | local ay = Instance.new("BodyVelocity")
| |
| 810 | local az = Instance.new("Part")
| |
| 811 | local X = (aw.Position - rarm.Position).magnitude | |
| 812 | az.CanCollide = false | |
| 813 | az.Anchored = true | |
| 814 | az.Size = Vector3.new(1, 1, 1) | |
| 815 | az.Locked = true | |
| 816 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 817 | az.BrickColor = rarm.BrickColor | |
| 818 | az.Parent = modz | |
| 819 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az)
| |
| 820 | local aB = Instance.new("Part")
| |
| 821 | local aC = (aw.Position - larm.Position).magnitude | |
| 822 | aB.CanCollide = false | |
| 823 | aB.Anchored = true | |
| 824 | aB.Size = Vector3.new(1, 1, 1) | |
| 825 | aB.Locked = true | |
| 826 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 827 | aB.BrickColor = larm.BrickColor | |
| 828 | aB.Parent = modz | |
| 829 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB)
| |
| 830 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 831 | X = (aw.Position - rarm.Position).magnitude | |
| 832 | aC = (aw.Position - larm.Position).magnitude | |
| 833 | aA.Scale = Vector3.new(1, X / 2, 1) | |
| 834 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 835 | aD.Scale = Vector3.new(1, X / 2, 1) | |
| 836 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 837 | end) | |
| 838 | local aE = false | |
| 839 | local aF = aw.Touched:connect(function(aG) | |
| 840 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
| 841 | aE = true | |
| 842 | aw.Anchored = true | |
| 843 | local aH = Instance.new("Sound")
| |
| 844 | aH.SoundId = "rbxassetid://171881624" | |
| 845 | aH.Volume = 1.25 | |
| 846 | aH.Parent = hrp | |
| 847 | aH:Play() | |
| 848 | game.Debris:AddItem(aH, 2) | |
| 849 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
| 850 | ay.P = 25 | |
| 851 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
| 852 | ay.Parent = hrp | |
| 853 | human.Sit = true | |
| 854 | coroutine.resume(coroutine.create(function() | |
| 855 | local aI = 1 | |
| 856 | while (hrp.Position - aw.Position).magnitude > 8 do | |
| 857 | swait() | |
| 858 | end | |
| 859 | ay.Parent = nil | |
| 860 | end)) | |
| 861 | end | |
| 862 | end) | |
| 863 | swait(3) | |
| 864 | for I = 1, 40 do | |
| 865 | swait() | |
| 866 | if aE == true then | |
| 867 | local aJ = 0 | |
| 868 | repeat | |
| 869 | swait() | |
| 870 | aJ = aJ + 1 | |
| 871 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
| 872 | break | |
| 873 | end | |
| 874 | end | |
| 875 | Y:Disconnect() | |
| 876 | aF:Disconnect() | |
| 877 | az:Destroy() | |
| 878 | aB:Destroy() | |
| 879 | aw:Destroy() | |
| 880 | ay:Destroy() | |
| 881 | a6:Destroy() | |
| 882 | a7:Destroy() | |
| 883 | activu = false | |
| 884 | rocketcool = 50 | |
| 885 | coroutine.resume(coroutine.create(function() | |
| 886 | wait(6) | |
| 887 | rocketcool = 0 | |
| 888 | end)) | |
| 889 | end | |
| 890 | ||
| 891 | jetpunch = function() | |
| 892 | if selected == false or activu == true then | |
| 893 | return | |
| 894 | end | |
| 895 | activu = true | |
| 896 | human.WalkSpeed = human.WalkSpeed - 16 | |
| 897 | local P, Q = nil, nil | |
| 898 | if modev.Value == 0 then | |
| 899 | P = rarm | |
| 900 | else | |
| 901 | if modev.Value == 1 then | |
| 902 | P = larm | |
| 903 | end | |
| 904 | end | |
| 905 | local aK = Instance.new("Sound")
| |
| 906 | aK.EmitterSize = 8 | |
| 907 | aK.Volume = 1.25 | |
| 908 | aK.SoundId = "rbxassetid://314877637" | |
| 909 | aK.Parent = P | |
| 910 | local aL = Instance.new("Sound")
| |
| 911 | aL.EmitterSize = 9 | |
| 912 | aL.Volume = 1.5 | |
| 913 | aL.Pitch = rd2(10, 11) / 10 | |
| 914 | aL.SoundId = "rbxassetid://408866322" | |
| 915 | aL.Parent = P | |
| 916 | local aM = Instance.new("Sound")
| |
| 917 | aM.EmitterSize = 9 | |
| 918 | aM.Volume = 1.5 | |
| 919 | aM.Pitch = rd2(12, 14) / 10 | |
| 920 | aM.SoundId = "rbxassetid://137463821" | |
| 921 | aM.Parent = P | |
| 922 | game.Debris:AddItem(aK, 4) | |
| 923 | game.Debris:AddItem(aL, 4) | |
| 924 | game.Debris:AddItem(aM, 5) | |
| 925 | aK:Play() | |
| 926 | for I = 1, 12 do | |
| 927 | swait() | |
| 928 | if P == rarm then | |
| 929 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
| 930 | else | |
| 931 | if P == larm then | |
| 932 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
| 933 | end | |
| 934 | end | |
| 935 | end | |
| 936 | resetlerp() | |
| 937 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P)
| |
| 938 | if modev.Value == 0 then | |
| 939 | modev.Value = modev.Value + 1 | |
| 940 | else | |
| 941 | if modev.Value == 1 then | |
| 942 | modev.Value = 0 | |
| 943 | end | |
| 944 | end | |
| 945 | local aN = nil | |
| 946 | for I,aO in pairs(H) do | |
| 947 | if aO.Parent == P then | |
| 948 | aN = aO.Transparency | |
| 949 | aO.Transparency = 1 | |
| 950 | end | |
| 951 | end | |
| 952 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p))
| |
| 953 | local aQ = aP.CFrame * cf(0, 0, -40) | |
| 954 | local V = Instance.new("Part")
| |
| 955 | nooutline(V) | |
| 956 | V.Anchored = true | |
| 957 | V.CanCollide = false | |
| 958 | V.Transparency = 1 | |
| 959 | V.Reflectance = 0.15 | |
| 960 | V.Locked = true | |
| 961 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 962 | V.BrickColor = P.BrickColor | |
| 963 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
| 964 | V.Parent = modz | |
| 965 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V))
| |
| 966 | local X = nil | |
| 967 | local Y = game:GetService("RunService").RenderStepped:connect(function()
| |
| 968 | X = (aP.Position - P.Position).magnitude | |
| 969 | W.Scale = Vector3.new(1, X / 2, 1) | |
| 970 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
| 971 | V.Transparency = V.Transparency - 0.05 | |
| 972 | end) | |
| 973 | aL:Play() | |
| 974 | aM:Play() | |
| 975 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90)))
| |
| 976 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR)
| |
| 977 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270)))
| |
| 978 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT)
| |
| 979 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 980 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV)
| |
| 981 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 982 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX)
| |
| 983 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0)))
| |
| 984 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ)
| |
| 985 | game.Debris:AddItem(aR, 3) | |
| 986 | game.Debris:AddItem(aT, 3) | |
| 987 | game.Debris:AddItem(aV, 3) | |
| 988 | game.Debris:AddItem(aX, 3) | |
| 989 | game.Debris:AddItem(aZ, 3) | |
| 990 | coroutine.resume(coroutine.create(function() | |
| 991 | local b0 = aV.CFrame * cf(0, 0, -6) | |
| 992 | local b1 = aX.CFrame * cf(0, 0, -14) | |
| 993 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
| 994 | for I = 1, 40 do | |
| 995 | swait() | |
| 996 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
| 997 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
| 998 | aR.Transparency = aR.Transparency + 0.025 | |
| 999 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
| 1000 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
| 1001 | aT.Transparency = aT.Transparency + 0.03 | |
| 1002 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
| 1003 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
| 1004 | aV.Transparency = aV.Transparency + 0.02 | |
| 1005 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
| 1006 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
| 1007 | aX.Transparency = aX.Transparency + 0.02 | |
| 1008 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
| 1009 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
| 1010 | aZ.Transparency = aZ.Transparency + 0.02 | |
| 1011 | end | |
| 1012 | end)) | |
| 1013 | for j = 1, 18 do | |
| 1014 | swait() | |
| 1015 | if j < 3 then | |
| 1016 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
| 1017 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true)
| |
| 1018 | if b4 and b4.Transparency ~= 1 then | |
| 1019 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5))
| |
| 1020 | game.Debris:AddItem(b6, 1) | |
| 1021 | local a5 = rd2(1, 3) | |
| 1022 | if a5 == 2 then | |
| 1023 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
| 1024 | else | |
| 1025 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
| 1026 | end | |
| 1027 | end | |
| 1028 | end | |
| 1029 | do | |
| 1030 | do | |
| 1031 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
| 1032 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
| 1033 | ||
| 1034 | end | |
| 1035 | end | |
| 1036 | end | |
| 1037 | Q:Destroy() | |
| 1038 | Y:Disconnect() | |
| 1039 | V:Destroy() | |
| 1040 | aP:Destroy() | |
| 1041 | for I,aO in pairs(H) do | |
| 1042 | if aO.Parent == P then | |
| 1043 | aO.Transparency = aN | |
| 1044 | end | |
| 1045 | end | |
| 1046 | human.WalkSpeed = human.WalkSpeed + 16 | |
| 1047 | activu = false | |
| 1048 | end | |
| 1049 | ||
| 1050 | jetgat = function() | |
| 1051 | if selected == false or activu == true or gatlingcool == 50 then | |
| 1052 | return | |
| 1053 | end | |
| 1054 | activu = true | |
| 1055 | human.AutoRotate = false | |
| 1056 | human.WalkSpeed = human.WalkSpeed - 22 | |
| 1057 | local aN = nil | |
| 1058 | local a9 = true | |
| 1059 | local aa = {}
| |
| 1060 | local ab = {}
| |
| 1061 | local b7 = {}
| |
| 1062 | local ae = tool.Deactivated:connect(function() | |
| 1063 | a9 = false | |
| 1064 | end) | |
| 1065 | for j = 1, 14 do | |
| 1066 | local ac = Instance.new("Part")
| |
| 1067 | nooutline(ac) | |
| 1068 | ac.Anchored = true | |
| 1069 | ac.Locked = true | |
| 1070 | ac.CanCollide = false | |
| 1071 | ac.Material = "Neon" | |
| 1072 | ac.Size = Vector3.new(1, 1, 1) | |
| 1073 | ac.Transparency = 1 | |
| 1074 | ac.CFrame = CFrame.new(0, 1000, 0) | |
| 1075 | ac.Parent = modz | |
| 1076 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
| |
| 1077 | local ad = Instance.new("Sound")
| |
| 1078 | ad.Volume = 0.7 | |
| 1079 | ad.Pitch = rd2(15, 21) / 10 | |
| 1080 | ad.Name = "s1" | |
| 1081 | ad.SoundId = "rbxassetid://144508058" | |
| 1082 | ad.Parent = ac | |
| 1083 | local aL = Instance.new("Sound")
| |
| 1084 | aL.EmitterSize = 7 | |
| 1085 | aL.Volume = 1.2 | |
| 1086 | aL.Name = "s2" | |
| 1087 | aL.Pitch = rd2(12, 18) / 10 | |
| 1088 | aL.SoundId = "rbxassetid://408866322" | |
| 1089 | aL.Parent = ac | |
| 1090 | local aM = Instance.new("Sound")
| |
| 1091 | aM.EmitterSize = 7 | |
| 1092 | aM.Volume = 1.2 | |
| 1093 | aM.Name = "s3" | |
| 1094 | aM.Pitch = rd2(14, 16) / 10 | |
| 1095 | aM.SoundId = "rbxassetid://137463821" | |
| 1096 | aM.Parent = ac | |
| 1097 | table.insert(aa, ac) | |
| 1098 | end | |
| 1099 | for j = 1, 28 do | |
| 1100 | local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 1101 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
| |
| 1102 | table.insert(ab, a3) | |
| 1103 | end | |
| 1104 | for j = 1, 14 do | |
| 1105 | local a3 = makepart("White", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
| |
| 1106 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
| |
| 1107 | table.insert(b7, a3) | |
| 1108 | end | |
| 1109 | for I = 1, 16 do | |
| 1110 | swait() | |
| 1111 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
| 1112 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
| 1113 | end | |
| 1114 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 1115 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 1116 | for I,aO in pairs(H) do | |
| 1117 | if aO.Parent == rarm or aO.Parent == larm then | |
| 1118 | aN = aO.Transparency | |
| 1119 | aO.Transparency = 1 | |
| 1120 | end | |
| 1121 | end | |
| 1122 | resetlerp() | |
| 1123 | local a8 = Instance.new("BodyGyro")
| |
| 1124 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
| 1125 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 1126 | a8.P = 580000 | |
| 1127 | a8.D = 250 | |
| 1128 | a8.Parent = hrp | |
| 1129 | coroutine.resume(coroutine.create(function() | |
| 1130 | while a8 do | |
| 1131 | swait() | |
| 1132 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
| 1133 | end | |
| 1134 | end)) | |
| 1135 | local af = 0 | |
| 1136 | local ag = 0 | |
| 1137 | repeat | |
| 1138 | repeat | |
| 1139 | ag = ag + 1 | |
| 1140 | if af == 0 then | |
| 1141 | af = 1 | |
| 1142 | else | |
| 1143 | af = af % 14 + 1 | |
| 1144 | end | |
| 1145 | coroutine.resume(coroutine.create(function() | |
| 1146 | local ah = aa[af] | |
| 1147 | local ai = ab[af] | |
| 1148 | local aj = ab[af + 14] | |
| 1149 | local ba = b7[af] | |
| 1150 | ah.Size = Vector3.new(1, 1, 0) | |
| 1151 | ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
| 1152 | ah.Transparency = 0.25 | |
| 1153 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
| |
| 1154 | ai.Transparency = 0.35 | |
| 1155 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
| |
| 1156 | aj.Transparency = 0.45 | |
| 1157 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 1158 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
| 1159 | if af % 2 == 1 then | |
| 1160 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
| 1161 | else | |
| 1162 | if af % 2 == 0 then | |
| 1163 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
| 1164 | end | |
| 1165 | end | |
| 1166 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
| 1167 | ba.Transparency = 0.4 | |
| 1168 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
| |
| 1169 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
| 1170 | local bc = aj.CFrame * cf(0, 1, 0) | |
| 1171 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
| 1172 | local ak = false | |
| 1173 | ah.s1.Pitch = rd2(15, 21) / 10 | |
| 1174 | ah.s1:Play() | |
| 1175 | ah.s2.Pitch = rd2(12, 18) / 10 | |
| 1176 | ah.s2:Play() | |
| 1177 | ah.s3.Pitch = rd2(14, 16) / 10 | |
| 1178 | ah.s3:Play() | |
| 1179 | for j = 1, 12 do | |
| 1180 | swait() | |
| 1181 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
| 1182 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true)
| |
| 1183 | if a1 and ak == false then | |
| 1184 | ak = true | |
| 1185 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
| |
| 1186 | do | |
| 1187 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
| |
| 1188 | game.Debris:AddItem(a3, 0.5) | |
| 1189 | local a5 = rd2(1, 12) | |
| 1190 | if a5 == 6 then | |
| 1191 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
| 1192 | else | |
| 1193 | hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10) | |
| 1194 | end | |
| 1195 | coroutine.resume(coroutine.create(function() | |
| 1196 | for I = 1, 4 do | |
| 1197 | swait() | |
| 1198 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
| 1199 | a3.Transparency = a3.Transparency + 0.2 | |
| 1200 | end | |
| 1201 | a3:Destroy() | |
| 1202 | end)) | |
| 1203 | end | |
| 1204 | end | |
| 1205 | ah.Size = ah.Size:lerp(Vector3.new(1.25, 1.25, 2), 0.5) | |
| 1206 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
| 1207 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
| |
| 1208 | ah.Transparency = ah.Transparency + 0.0725 | |
| 1209 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
| |
| 1210 | ai.Transparency = ai.Transparency + 0.06 | |
| 1211 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
| |
| 1212 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
| 1213 | aj.Transparency = aj.Transparency + 0.05 | |
| 1214 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
| |
| 1215 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
| 1216 | ba.Transparency = ba.Transparency + 0.06 | |
| 1217 | end | |
| 1218 | end)) | |
| 1219 | swait() | |
| 1220 | until not a9 or ag > 150 | |
| 1221 | until ag > 30 | |
| 1222 | ae:Disconnect() | |
| 1223 | for I,aO in pairs(H) do | |
| 1224 | if aO.Parent == rarm or aO.Parent == larm then | |
| 1225 | aO.Transparency = aN | |
| 1226 | end | |
| 1227 | end | |
| 1228 | b8:Destroy() | |
| 1229 | b9:Destroy() | |
| 1230 | a8:Destroy() | |
| 1231 | human.WalkSpeed = human.WalkSpeed + 22 | |
| 1232 | gatlingcool = 50 | |
| 1233 | human.AutoRotate = true | |
| 1234 | activu = false | |
| 1235 | coroutine.resume(coroutine.create(function() | |
| 1236 | wait(9) | |
| 1237 | gatlingcool = 0 | |
| 1238 | end)) | |
| 1239 | wait(1) | |
| 1240 | for I,al in pairs(aa) do | |
| 1241 | al:Destroy() | |
| 1242 | end | |
| 1243 | for I,am in pairs(ab) do | |
| 1244 | am:Destroy() | |
| 1245 | end | |
| 1246 | for I,be in pairs(b7) do | |
| 1247 | be:Destroy() | |
| 1248 | end | |
| 1249 | aa, ab, b7 = nil | |
| 1250 | end | |
| 1251 | ||
| 1252 | jetbazoo = function() | |
| 1253 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
| 1254 | return | |
| 1255 | end | |
| 1256 | activu = true | |
| 1257 | local bf = human.WalkSpeed | |
| 1258 | human.WalkSpeed = 0 | |
| 1259 | human.AutoRotate = false | |
| 1260 | hrp.Anchored = true | |
| 1261 | local aK = Instance.new("Sound")
| |
| 1262 | aK.EmitterSize = 20 | |
| 1263 | aK.Volume = 1.5 | |
| 1264 | aK.Pitch = 0.5 | |
| 1265 | aK.SoundId = "rbxassetid://314877637" | |
| 1266 | aK.Parent = hrp | |
| 1267 | local bg = Instance.new("Sound")
| |
| 1268 | bg.SoundId = "rbxassetid://138137702" | |
| 1269 | bg.MaxDistance = 200 | |
| 1270 | bg.EmitterSize = 20 | |
| 1271 | bg.Volume = 2 | |
| 1272 | bg.Pitch = 0.85 | |
| 1273 | bg.Parent = hrp | |
| 1274 | local bh = Instance.new("Sound")
| |
| 1275 | bh.SoundId = "rbxassetid://157878578" | |
| 1276 | bh.MaxDistance = 200 | |
| 1277 | bh.EmitterSize = 20 | |
| 1278 | bh.Volume = 1.25 | |
| 1279 | bh.Pitch = 1 | |
| 1280 | bh.Parent = hrp | |
| 1281 | local bi = Instance.new("Sound")
| |
| 1282 | bi.SoundId = "rbxassetid://138250406" | |
| 1283 | bh.MaxDistance = 200 | |
| 1284 | bh.EmitterSize = 40 | |
| 1285 | bh.Volume = 1.25 | |
| 1286 | bh.Pitch = 0.6 | |
| 1287 | bh.Parent = hrp | |
| 1288 | local aL = Instance.new("Sound")
| |
| 1289 | aL.EmitterSize = 20 | |
| 1290 | aL.Volume = 2.75 | |
| 1291 | aL.Pitch = rd2(10, 12) / 10 | |
| 1292 | aL.SoundId = "rbxassetid://314877662" | |
| 1293 | aL.Parent = hrp | |
| 1294 | local aM = Instance.new("Sound")
| |
| 1295 | aM.EmitterSize = 20 | |
| 1296 | aM.Volume = 1.75 | |
| 1297 | aM.Pitch = rd2(14, 18) / 10 | |
| 1298 | aM.SoundId = "rbxassetid://137463821" | |
| 1299 | aM.Parent = hrp | |
| 1300 | game.Debris:AddItem(aK, 4) | |
| 1301 | game.Debris:AddItem(aL, 4) | |
| 1302 | game.Debris:AddItem(aM, 5) | |
| 1303 | game.Debris:AddItem(bg, 8) | |
| 1304 | game.Debris:AddItem(bh, 8) | |
| 1305 | game.Debris:AddItem(bi, 8) | |
| 1306 | aK:Play() | |
| 1307 | local bj = {}
| |
| 1308 | for I = 1, 10 do | |
| 1309 | local bk = makepart("Institutional white", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position))
| |
| 1310 | local bl = Instance.new("Attachment")
| |
| 1311 | bl.Position = Vector3.new(-0.1, 0, 0) | |
| 1312 | bl.Parent = bk | |
| 1313 | local bm = Instance.new("Attachment")
| |
| 1314 | bm.Position = Vector3.new(0.1, 0, 0) | |
| 1315 | bm.Parent = bk | |
| 1316 | local bn = Instance.new("Trail")
| |
| 1317 | bn.LightEmission = 0.7 | |
| 1318 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)})
| |
| 1319 | bn.Attachment0 = bl | |
| 1320 | bn.Attachment1 = bm | |
| 1321 | bn.Lifetime = 0.7 | |
| 1322 | bn.MinLength = 0 | |
| 1323 | bn.Parent = bk | |
| 1324 | table.insert(bj, bk) | |
| 1325 | end | |
| 1326 | coroutine.resume(coroutine.create(function() | |
| 1327 | for I = 1, 25 do | |
| 1328 | swait() | |
| 1329 | for j,bo in pairs(bj) do | |
| 1330 | if j % 2 == 0 then | |
| 1331 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
| 1332 | else | |
| 1333 | if j % 2 == 1 then | |
| 1334 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
| 1335 | end | |
| 1336 | end | |
| 1337 | end | |
| 1338 | end | |
| 1339 | end)) | |
| 1340 | for I = 1, 25 do | |
| 1341 | swait() | |
| 1342 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
| 1343 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
| 1344 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
| 1345 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1346 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
| 1347 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1348 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
| 1349 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1350 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
| 1351 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1352 | end | |
| 1353 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
| |
| 1354 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
| |
| 1355 | local aN = nil | |
| 1356 | for I,aO in pairs(H) do | |
| 1357 | if aO.Parent == rarm or aO.Parent == larm then | |
| 1358 | aN = aO.Transparency | |
| 1359 | aO.Transparency = 1 | |
| 1360 | end | |
| 1361 | end | |
| 1362 | bh:Play() | |
| 1363 | aL:Play() | |
| 1364 | swait() | |
| 1365 | aM:Play() | |
| 1366 | bg:Play() | |
| 1367 | bi:Play() | |
| 1368 | local aR = makepart("Institutional white", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
| |
| 1369 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR)
| |
| 1370 | local aT = makepart("Institutional white", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0)))
| |
| 1371 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT)
| |
| 1372 | local br = makepart("Institutional white", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0)))
| |
| 1373 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br)
| |
| 1374 | local bt = makepart("Institutional white", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
| |
| 1375 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt)
| |
| 1376 | local bv = makepart("Institutional white", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
| |
| 1377 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv)
| |
| 1378 | local bx = makepart("Institutional white", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90)))
| |
| 1379 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx)
| |
| 1380 | local bz = makepart("Institutional white", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0)))
| |
| 1381 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz)
| |
| 1382 | local bB = makepart("Institutional white", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90)))
| |
| 1383 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB)
| |
| 1384 | local bD = makepart("Institutional white", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90)))
| |
| 1385 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD)
| |
| 1386 | local bF = makepart("Institutional white", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30)))
| |
| 1387 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF)
| |
| 1388 | local bH = makepart("Institutional white", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30)))
| |
| 1389 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH)
| |
| 1390 | game.Debris:AddItem(aR, 1.5) | |
| 1391 | game.Debris:AddItem(aT, 1.5) | |
| 1392 | game.Debris:AddItem(br, 1.5) | |
| 1393 | game.Debris:AddItem(bt, 1.5) | |
| 1394 | game.Debris:AddItem(bv, 1.5) | |
| 1395 | game.Debris:AddItem(bx, 1.5) | |
| 1396 | game.Debris:AddItem(bz, 1.5) | |
| 1397 | game.Debris:AddItem(bB, 1.5) | |
| 1398 | game.Debris:AddItem(bD, 1.5) | |
| 1399 | game.Debris:AddItem(bC, 1.5) | |
| 1400 | game.Debris:AddItem(bF, 1.5) | |
| 1401 | game.Debris:AddItem(bH, 1.5) | |
| 1402 | coroutine.resume(coroutine.create(function() | |
| 1403 | local bJ = aR.CFrame * cf(0, 0, -35) | |
| 1404 | local bK = aT.CFrame * cf(0, 0, -25) | |
| 1405 | local bL = hrp.CFrame * cf(0, 0, 20) | |
| 1406 | local bM = hrp.CFrame * cf(0, 0, 50) | |
| 1407 | local bN = bz.CFrame * cf(0, 0, -20) | |
| 1408 | local bO = bB.CFrame * cf(0, 25, 0) | |
| 1409 | for j = 1, 40 do | |
| 1410 | swait() | |
| 1411 | if j < 10 then | |
| 1412 | hito(aR, 8, 45, 0.3, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
| 1413 | end | |
| 1414 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(25)) | |
| 1415 | aS.Scale = aS.Scale + Vector3.new(0.1, 0.1, 0.12) | |
| 1416 | aR.Transparency = aR.Transparency + 0.06 | |
| 1417 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
| 1418 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
| 1419 | aT.Transparency = aT.Transparency + 0.04 | |
| 1420 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
| 1421 | br.Transparency = br.Transparency + 0.075 | |
| 1422 | bs.Scale = bs.Scale:lerp(Vector3.new(25, 25, 20), 0.3) | |
| 1423 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
| 1424 | bt.Transparency = br.Transparency + 0.05 | |
| 1425 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
| 1426 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
| 1427 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
| 1428 | if j < 4 then | |
| 1429 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
| 1430 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
| 1431 | else | |
| 1432 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
| 1433 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
| 1434 | end | |
| 1435 | bv.Transparency = bv.Transparency + 0.02 | |
| 1436 | bx.Transparency = bx.Transparency + 0.0175 | |
| 1437 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
| 1438 | bz.CFrame = bz.CFrame:lerp(bN, 0.4) | |
| 1439 | bz.Transparency = bz.Transparency + 0.035 | |
| 1440 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
| 1441 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
| 1442 | bB.Transparency = bB.Transparency + 0.0175 | |
| 1443 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
| 1444 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
| 1445 | bD.Transparency = bD.Transparency + 0.03 | |
| 1446 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
| 1447 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
| 1448 | bF.Transparency = bF.Transparency + 0.03 | |
| 1449 | bH.Transparency = bH.Transparency + 0.03 | |
| 1450 | end | |
| 1451 | end)) | |
| 1452 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
| 1453 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
| 1454 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
| 1455 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 1456 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
| 1457 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 1458 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
| 1459 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 1460 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
| 1461 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
| 1462 | swait() | |
| 1463 | bq:Destroy() | |
| 1464 | bp:Destroy() | |
| 1465 | for I,aO in pairs(H) do | |
| 1466 | if aO.Parent == rarm or aO.Parent == larm then | |
| 1467 | aO.Transparency = aN | |
| 1468 | end | |
| 1469 | end | |
| 1470 | for I = 1, 15 do | |
| 1471 | swait() | |
| 1472 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
| 1473 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
| 1474 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
| 1475 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 1476 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
| 1477 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 1478 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
| 1479 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 1480 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
| 1481 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 1482 | end | |
| 1483 | for j = 1, 10 do | |
| 1484 | swait() | |
| 1485 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1486 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1487 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1488 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1489 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1490 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1491 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1492 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1493 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1494 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
| 1495 | end | |
| 1496 | resetlerp() | |
| 1497 | human.WalkSpeed = bf | |
| 1498 | human.AutoRotate = true | |
| 1499 | hrp.Anchored = false | |
| 1500 | if plr.UserId ~= 8488617 then | |
| 1501 | bazookacool = 50 | |
| 1502 | end | |
| 1503 | activu = false | |
| 1504 | swait(20) | |
| 1505 | for I,bP in pairs(bj) do | |
| 1506 | bP:Destroy() | |
| 1507 | end | |
| 1508 | bj = nil | |
| 1509 | wait(9) | |
| 1510 | bazookacool = 0 | |
| 1511 | end | |
| 1512 | ||
| 1513 | local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
| 1514 | local cb = false | |
| 1515 | local cc = false | |
| 1516 | local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
| 1517 | giganpist = function() | |
| 1518 | if selected == false or activu == true then | |
| 1519 | return | |
| 1520 | end | |
| 1521 | activu = true | |
| 1522 | human.AutoRotate = false | |
| 1523 | human.PlatformStand = true | |
| 1524 | local cH = Instance.new("BodyPosition")
| |
| 1525 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
| 1526 | cH.P = 3000 | |
| 1527 | cH.Position = hrp.Position | |
| 1528 | cH.Parent = hrp | |
| 1529 | local a8 = Instance.new("BodyGyro")
| |
| 1530 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
| 1531 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 1532 | a8.P = 580000 | |
| 1533 | a8.D = 10000 | |
| 1534 | a8.Parent = hrp | |
| 1535 | local cI = true | |
| 1536 | coroutine.resume(coroutine.create(function() | |
| 1537 | while cI do | |
| 1538 | swait() | |
| 1539 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 1540 | end | |
| 1541 | end)) | |
| 1542 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 1543 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 1544 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 1545 | for I = 1, 30 do | |
| 1546 | swait() | |
| 1547 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
| 1548 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
| 1549 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
| 1550 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1551 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
| 1552 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1553 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
| 1554 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1555 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
| 1556 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1557 | end | |
| 1558 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 1559 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
| 1560 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
| 1561 | for j = 1, 12 do | |
| 1562 | swait() | |
| 1563 | ce = 0.01 + j * 0.005 | |
| 1564 | ch = 0.03 + j * 0.01 | |
| 1565 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
| 1566 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
| 1567 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
| 1568 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1569 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
| 1570 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1571 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
| 1572 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1573 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
| 1574 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1575 | end | |
| 1576 | cI = false | |
| 1577 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
| 1578 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
| 1579 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1580 | swait() | |
| 1581 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
| 1582 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
| 1583 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1584 | for j = 1, 38 do | |
| 1585 | swait() | |
| 1586 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
| 1587 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
| 1588 | if j > 3 and j < 29 then | |
| 1589 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
| |
| 1590 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3)
| |
| 1591 | game.Debris:AddItem(a3, 4) | |
| 1592 | coroutine.resume(coroutine.create(function() | |
| 1593 | for I = 1, 8 do | |
| 1594 | swait() | |
| 1595 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 1596 | a3.Transparency = a3.Transparency + 0.1 | |
| 1597 | end | |
| 1598 | a3:Destroy() | |
| 1599 | end)) | |
| 1600 | local a5 = rd2(1, 2) | |
| 1601 | if a5 == 2 then | |
| 1602 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 1603 | else | |
| 1604 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
| 1605 | end | |
| 1606 | end | |
| 1607 | ce = 0.01 + j * 0.018 | |
| 1608 | ch = 0.01 + j * 0.008 | |
| 1609 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
| 1610 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
| 1611 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
| 1612 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 1613 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
| 1614 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 1615 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
| 1616 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 1617 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
| 1618 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
| 1619 | end | |
| 1620 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 1621 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 1622 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1623 | human.AutoRotate = true | |
| 1624 | human.PlatformStand = false | |
| 1625 | a8:Destroy() | |
| 1626 | cH:Destroy() | |
| 1627 | activu = false | |
| 1628 | end | |
| 1629 | ||
| 1630 | giganbazooka = function() | |
| 1631 | if selected == false or activu == true then | |
| 1632 | return | |
| 1633 | end | |
| 1634 | activu = true | |
| 1635 | human.WalkSpeed = human.WalkSpeed - 11 | |
| 1636 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 1637 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 1638 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 1639 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 1640 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
| 1641 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
| 1642 | for I = 1, 40 do | |
| 1643 | swait() | |
| 1644 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
| 1645 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
| 1646 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
| 1647 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1648 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
| 1649 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1650 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
| 1651 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1652 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
| 1653 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
| 1654 | end | |
| 1655 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 1656 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
| 1657 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
| 1658 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
| 1659 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
| 1660 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
| 1661 | human.AutoRotate = false | |
| 1662 | for j = 1, 12 do | |
| 1663 | swait() | |
| 1664 | ce = 0.01 + j * 0.005 | |
| 1665 | ch = 0.03 + j * 0.01 | |
| 1666 | cu = 0.01 + j * 0.005 | |
| 1667 | cw = 0.03 + j * 0.005 | |
| 1668 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
| 1669 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
| 1670 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
| 1671 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1672 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
| 1673 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1674 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
| 1675 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1676 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
| 1677 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
| 1678 | end | |
| 1679 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
| 1680 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
| 1681 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1682 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
| 1683 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
| 1684 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
| 1685 | swait() | |
| 1686 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
| 1687 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
| 1688 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1689 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
| 1690 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
| 1691 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 1692 | for j = 1, 48 do | |
| 1693 | swait() | |
| 1694 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
| 1695 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
| 1696 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
| 1697 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
| 1698 | if j > 4 and j < 29 then | |
| 1699 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90)))
| |
| 1700 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3)
| |
| 1701 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90)))
| |
| 1702 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ)
| |
| 1703 | game.Debris:AddItem(a3, 4) | |
| 1704 | coroutine.resume(coroutine.create(function() | |
| 1705 | for I = 1, 8 do | |
| 1706 | swait() | |
| 1707 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 1708 | a3.Transparency = a3.Transparency + 0.1 | |
| 1709 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
| 1710 | cJ.Transparency = cJ.Transparency + 0.1 | |
| 1711 | end | |
| 1712 | a3:Destroy() | |
| 1713 | cJ:Destroy() | |
| 1714 | end)) | |
| 1715 | local a5 = rd2(1, 2) | |
| 1716 | if a5 == 2 then | |
| 1717 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 1718 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 1719 | else | |
| 1720 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
| 1721 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
| 1722 | end | |
| 1723 | end | |
| 1724 | ce = 0.01 + j * 0.018 | |
| 1725 | ch = 0.01 + j * 0.008 | |
| 1726 | cu = 0.01 + j * 0.018 | |
| 1727 | cw = 0.01 + j * 0.008 | |
| 1728 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
| 1729 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
| 1730 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
| 1731 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1732 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
| 1733 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1734 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
| 1735 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1736 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
| 1737 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1738 | end | |
| 1739 | human.WalkSpeed = human.WalkSpeed + 11 | |
| 1740 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 1741 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 1742 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1743 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 1744 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
| 1745 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 1746 | human.AutoRotate = true | |
| 1747 | activu = false | |
| 1748 | end | |
| 1749 | ||
| 1750 | gigangatl = function() | |
| 1751 | if selected == false or activu == true or g3lim < 4 then | |
| 1752 | return | |
| 1753 | end | |
| 1754 | activu = true | |
| 1755 | human.AutoRotate = false | |
| 1756 | human.PlatformStand = true | |
| 1757 | local cH = Instance.new("BodyPosition")
| |
| 1758 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
| 1759 | cH.P = 3000 | |
| 1760 | cH.Position = hrp.Position | |
| 1761 | cH.Parent = hrp | |
| 1762 | local a8 = Instance.new("BodyGyro")
| |
| 1763 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
| 1764 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 1765 | a8.P = 580000 | |
| 1766 | a8.D = 10000 | |
| 1767 | a8.Parent = hrp | |
| 1768 | local cI = true | |
| 1769 | coroutine.resume(coroutine.create(function() | |
| 1770 | while cI do | |
| 1771 | swait() | |
| 1772 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
| 1773 | end | |
| 1774 | end)) | |
| 1775 | local ae = tool.Deactivated:connect(function() | |
| 1776 | cI = false | |
| 1777 | end) | |
| 1778 | local cL = {}
| |
| 1779 | for I,cM in pairs(chr:GetChildren()) do | |
| 1780 | if cM == rarm or cM == larm then | |
| 1781 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM)
| |
| 1782 | table.insert(cL, cN) | |
| 1783 | for I,cO in pairs(cM:GetChildren()) do | |
| 1784 | do | |
| 1785 | if cO:IsA("Part") and cO.Transparency ~= 1 then
| |
| 1786 | do | |
| 1787 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO)
| |
| 1788 | table.insert(cL, cN) | |
| 1789 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1790 | ||
| 1791 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
| 1792 | ||
| 1793 | end | |
| 1794 | end | |
| 1795 | end | |
| 1796 | end | |
| 1797 | end | |
| 1798 | end | |
| 1799 | local cP = {}
| |
| 1800 | local cQ = {}
| |
| 1801 | local cR = {}
| |
| 1802 | for j = 1, 10 do | |
| 1803 | local cS = nil | |
| 1804 | if j % 2 == 0 then | |
| 1805 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1806 | cS.Color = bR.Color | |
| 1807 | cS.Reflectance = bR.Reflectance | |
| 1808 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
| |
| 1809 | else | |
| 1810 | if j % 2 == 1 then | |
| 1811 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1812 | cS.Color = bW.Color | |
| 1813 | cS.Reflectance = bW.Reflectance | |
| 1814 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS)
| |
| 1815 | end | |
| 1816 | end | |
| 1817 | local ad = Instance.new("Sound")
| |
| 1818 | ad.Volume = 1 | |
| 1819 | ad.Pitch = math.random(4, 6) / 10 | |
| 1820 | ad.SoundId = "rbxassetid://144508058" | |
| 1821 | ad.Parent = cS | |
| 1822 | table.insert(cP, cS) | |
| 1823 | end | |
| 1824 | for j = 1, 10 do | |
| 1825 | local cS = nil | |
| 1826 | if j % 2 == 0 then | |
| 1827 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1828 | cS.Color = bU.Color | |
| 1829 | cS.Reflectance = bU.Reflectance | |
| 1830 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS)
| |
| 1831 | else | |
| 1832 | if j % 2 == 1 then | |
| 1833 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1834 | cS.Color = bZ.Color | |
| 1835 | cS.Reflectance = bZ.Reflectance | |
| 1836 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS)
| |
| 1837 | end | |
| 1838 | end | |
| 1839 | table.insert(cQ, cS) | |
| 1840 | end | |
| 1841 | for j = 1, 10 do | |
| 1842 | local cS = nil | |
| 1843 | if j % 2 == 0 then | |
| 1844 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1845 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
| |
| 1846 | else | |
| 1847 | if j % 2 == 1 then | |
| 1848 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
| 1849 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS)
| |
| 1850 | end | |
| 1851 | end | |
| 1852 | table.insert(cR, cS) | |
| 1853 | end | |
| 1854 | local ag = 0 | |
| 1855 | local af = 0 | |
| 1856 | local cT = 14 | |
| 1857 | resetlerp() | |
| 1858 | coroutine.resume(coroutine.create(function() | |
| 1859 | local cU = 0 | |
| 1860 | while cI do | |
| 1861 | swait() | |
| 1862 | cU = cU + 1 | |
| 1863 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
| 1864 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
| 1865 | end | |
| 1866 | end)) | |
| 1867 | repeat | |
| 1868 | ag = ag + 1 | |
| 1869 | if af == 0 then | |
| 1870 | af = 1 | |
| 1871 | else | |
| 1872 | af = af % 10 + 1 | |
| 1873 | end | |
| 1874 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
| 1875 | cP[af].Transparency = 0.75 | |
| 1876 | cQ[af].Transparency = 0.75 | |
| 1877 | cR[af].Transparency = 0.75 | |
| 1878 | cT = 11 | |
| 1879 | else | |
| 1880 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
| 1881 | cP[af].Transparency = 0.5 | |
| 1882 | cQ[af].Transparency = 0.5 | |
| 1883 | cR[af].Transparency = 0.5 | |
| 1884 | cT = 8 | |
| 1885 | else | |
| 1886 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
| 1887 | cP[af].Transparency = 0.25 | |
| 1888 | cQ[af].Transparency = 0.25 | |
| 1889 | cR[af].Transparency = 0.25 | |
| 1890 | cT = 5 | |
| 1891 | else | |
| 1892 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
| 1893 | cP[af].Transparency = 0 | |
| 1894 | cQ[af].Transparency = 0 | |
| 1895 | cR[af].Transparency = 0 | |
| 1896 | cT = 3 | |
| 1897 | end | |
| 1898 | end | |
| 1899 | end | |
| 1900 | end | |
| 1901 | cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10)) | |
| 1902 | if (af) % 2 == 0 then | |
| 1903 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1904 | else | |
| 1905 | if (af) % 2 == 1 then | |
| 1906 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 1907 | end | |
| 1908 | end | |
| 1909 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50)
| |
| 1910 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
| 1911 | coroutine.resume(coroutine.create(function() | |
| 1912 | local cV = af | |
| 1913 | local cW = cP[af] | |
| 1914 | local cX = cQ[af] | |
| 1915 | local cY = cR[af] | |
| 1916 | local cZ = 10 | |
| 1917 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10
| |
| 1918 | cW:FindFirstChildOfClass("Sound"):Play()
| |
| 1919 | for j = 1, 30 do | |
| 1920 | swait() | |
| 1921 | if j < 20 then | |
| 1922 | local a5 = rd2(1, 3) | |
| 1923 | if a5 == 2 then | |
| 1924 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
| 1925 | else | |
| 1926 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
| 1927 | end | |
| 1928 | end | |
| 1929 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
| 1930 | if cV % 2 == 0 then | |
| 1931 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 1932 | else | |
| 1933 | if cV % 2 == 1 then | |
| 1934 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 1935 | end | |
| 1936 | end | |
| 1937 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
| 1938 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5)
| |
| 1939 | cZ = cZ - 0.45 | |
| 1940 | end | |
| 1941 | end)) | |
| 1942 | swait(cT) | |
| 1943 | until ag > 10 | |
| 1944 | cI = false | |
| 1945 | ae:Disconnect() | |
| 1946 | cH:Destroy() | |
| 1947 | a8:Destroy() | |
| 1948 | for I,c_ in pairs(cL) do | |
| 1949 | c_:Destroy() | |
| 1950 | end | |
| 1951 | for I,d0 in pairs(cP) do | |
| 1952 | coroutine.resume(coroutine.create(function() | |
| 1953 | for I = 1, 10 do | |
| 1954 | swait() | |
| 1955 | d0.Transparency = d0.Transparency + 0.1 | |
| 1956 | end | |
| 1957 | d0:Destroy() | |
| 1958 | end)) | |
| 1959 | end | |
| 1960 | for I,d0 in pairs(cQ) do | |
| 1961 | coroutine.resume(coroutine.create(function() | |
| 1962 | for I = 1, 10 do | |
| 1963 | swait() | |
| 1964 | d0.Transparency = d0.Transparency + 0.1 | |
| 1965 | end | |
| 1966 | d0:Destroy() | |
| 1967 | end)) | |
| 1968 | end | |
| 1969 | for I,d0 in pairs(cR) do | |
| 1970 | coroutine.resume(coroutine.create(function() | |
| 1971 | for I = 1, 10 do | |
| 1972 | swait() | |
| 1973 | d0.Transparency = d0.Transparency + 0.1 | |
| 1974 | end | |
| 1975 | d0:Destroy() | |
| 1976 | end)) | |
| 1977 | end | |
| 1978 | human.AutoRotate = true | |
| 1979 | human.PlatformStand = false | |
| 1980 | activu = false | |
| 1981 | end | |
| 1982 | ||
| 1983 | gear2change = function() | |
| 1984 | if selected == false or activu == true then | |
| 1985 | return | |
| 1986 | end | |
| 1987 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
| 1988 | activu = true | |
| 1989 | g.Enabled = false | |
| 1990 | human.AutoRotate = false | |
| 1991 | hrp.Anchored = true | |
| 1992 | human.WalkSpeed = 0 | |
| 1993 | local d1 = Instance.new("Sound")
| |
| 1994 | d1.EmitterSize = 10 | |
| 1995 | d1.Volume = 4 | |
| 1996 | d1.SoundId = "rbxassetid://255289910" | |
| 1997 | d1.Parent = hrp | |
| 1998 | d1:Play() | |
| 1999 | game.Debris:AddItem(d1, 5) | |
| 2000 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
| 2001 | d2.Anchored = false | |
| 2002 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2)
| |
| 2003 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
| 2004 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
| 2005 | d5.Anchored = false | |
| 2006 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5)
| |
| 2007 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
| 2008 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
| 2009 | d8.Anchored = false | |
| 2010 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8)
| |
| 2011 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
| 2012 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
| 2013 | db.Anchored = false | |
| 2014 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db)
| |
| 2015 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
| 2016 | animo(false) | |
| 2017 | cam.CameraType = "Scriptable" | |
| 2018 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
| 2019 | for I = 1, 35 do | |
| 2020 | do | |
| 2021 | swait() | |
| 2022 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
| 2023 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
| 2024 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
| 2025 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
| 2026 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
| 2027 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
| 2028 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
| 2029 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
| 2030 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
| 2031 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
| 2032 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
| 2033 | end | |
| 2034 | end | |
| 2035 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
| 2036 | for I = 1, 25 do | |
| 2037 | swait() | |
| 2038 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
| 2039 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
| 2040 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 2041 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 2042 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
| 2043 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
| 2044 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 2045 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
| 2046 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 2047 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
| 2048 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 2049 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 2050 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
| 2051 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2052 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 2053 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 2054 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 2055 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 2056 | end | |
| 2057 | d1.TimePosition = 1.4 | |
| 2058 | for I = 1, 3 do | |
| 2059 | swait() | |
| 2060 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 2061 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 2062 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 2063 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 2064 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 2065 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 2066 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 2067 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
| 2068 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 2069 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
| 2070 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 2071 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 2072 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 2073 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2074 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 2075 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 2076 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 2077 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 2078 | end | |
| 2079 | for I = 1, 10 do | |
| 2080 | swait() | |
| 2081 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 2082 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
| 2083 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 2084 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 2085 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 2086 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
| 2087 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 2088 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
| 2089 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 2090 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
| 2091 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 2092 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 2093 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 2094 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2095 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 2096 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 2097 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 2098 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 2099 | end | |
| 2100 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
| 2101 | swait(8) | |
| 2102 | d2:Destroy() | |
| 2103 | d5:Destroy() | |
| 2104 | d8:Destroy() | |
| 2105 | db:Destroy() | |
| 2106 | for j = 1, #H do | |
| 2107 | coroutine.resume(coroutine.create(function() | |
| 2108 | local de = H[j] | |
| 2109 | for I = 1, 16 do | |
| 2110 | swait() | |
| 2111 | de.Transparency = de.Transparency - 0.009375 | |
| 2112 | de.pe.Enabled = true | |
| 2113 | if de:FindFirstChild("ss") then
| |
| 2114 | de:FindFirstChild("ss"):Play()
| |
| 2115 | end | |
| 2116 | end | |
| 2117 | swait(120) | |
| 2118 | end)) | |
| 2119 | end | |
| 2120 | d1.TimePosition = 4.1 | |
| 2121 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
| |
| 2122 | swait(8) | |
| 2123 | for j = 1, 35 do | |
| 2124 | swait() | |
| 2125 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
| 2126 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
| 2127 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
| 2128 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 2129 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
| 2130 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2131 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
| 2132 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
| 2133 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
| 2134 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
| 2135 | end | |
| 2136 | cam.CameraType = "Custom" | |
| 2137 | animo(true) | |
| 2138 | human.WalkSpeed = 28 | |
| 2139 | human.JumpPower = 60 | |
| 2140 | hrp.Anchored = false | |
| 2141 | human.AutoRotate = true | |
| 2142 | head:FindFirstChildOfClass("Decal").Texture = d
| |
| 2143 | for I = 1, 6 do | |
| 2144 | swait() | |
| 2145 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2146 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2147 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2148 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2149 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2150 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2151 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2152 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2153 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2154 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 2155 | end | |
| 2156 | resetlerp() | |
| 2157 | dagear = 2 | |
| 2158 | g.Enabled = true | |
| 2159 | activu = false | |
| 2160 | else | |
| 2161 | do | |
| 2162 | if dagear == 2 then | |
| 2163 | activu = true | |
| 2164 | for j = 1, #H do | |
| 2165 | coroutine.resume(coroutine.create(function() | |
| 2166 | local de = H[j] | |
| 2167 | local df = nil | |
| 2168 | if de:FindFirstChild("ss") then
| |
| 2169 | df = de:FindFirstChild("ss")
| |
| 2170 | end | |
| 2171 | for I = 1, 16 do | |
| 2172 | swait() | |
| 2173 | de.Transparency = de.Transparency + 0.009375 | |
| 2174 | de.pe.Rate = de.pe.Rate - 1 | |
| 2175 | if de:FindFirstChild("ss") then
| |
| 2176 | df.Volume = df.Volume - 0.03125 | |
| 2177 | end | |
| 2178 | end | |
| 2179 | de.pe.Rate = 20 | |
| 2180 | de.pe.Enabled = false | |
| 2181 | if de:FindFirstChild("ss") then
| |
| 2182 | df:Stop() | |
| 2183 | df.Volume = 0.5 | |
| 2184 | end | |
| 2185 | end)) | |
| 2186 | end | |
| 2187 | human.WalkSpeed = 16 | |
| 2188 | human.JumpPower = 50 | |
| 2189 | dagear = 1 | |
| 2190 | activu = false | |
| 2191 | end | |
| 2192 | end | |
| 2193 | end | |
| 2194 | end | |
| 2195 | ||
| 2196 | gear3change = function() | |
| 2197 | if selected == false or activu == true then | |
| 2198 | return | |
| 2199 | end | |
| 2200 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
| 2201 | activu = true | |
| 2202 | g.Enabled = false | |
| 2203 | human.AutoRotate = false | |
| 2204 | hrp.Anchored = true | |
| 2205 | human.WalkSpeed = 0 | |
| 2206 | animo(false) | |
| 2207 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0))
| |
| 2208 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 2209 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR)
| |
| 2210 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 2211 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS)
| |
| 2212 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 2213 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT)
| |
| 2214 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
| 2215 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU)
| |
| 2216 | cam.CameraType = "Scriptable" | |
| 2217 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
| 2218 | for I = 1, 26 do | |
| 2219 | swait() | |
| 2220 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
| 2221 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
| 2222 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
| 2223 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2224 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
| 2225 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2226 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
| 2227 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2228 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
| 2229 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2230 | end | |
| 2231 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082"
| |
| 2232 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
| 2233 | for j = 1, 37 do | |
| 2234 | swait() | |
| 2235 | local dg = rd2(-80, 80) / (38 - j) | |
| 2236 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
| 2237 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
| 2238 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
| 2239 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2240 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
| 2241 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2242 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
| 2243 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2244 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
| 2245 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2246 | end | |
| 2247 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406"
| |
| 2248 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
| 2249 | for I = 1, 15 do | |
| 2250 | swait() | |
| 2251 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
| 2252 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
| 2253 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
| 2254 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2255 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
| 2256 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2257 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
| 2258 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2259 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
| 2260 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2261 | end | |
| 2262 | bQ.Transparency = 1 | |
| 2263 | bR.Transparency = 0 | |
| 2264 | bS.Transparency = 0 | |
| 2265 | bT.Transparency = 0 | |
| 2266 | bU.Transparency = 0 | |
| 2267 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 2268 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 2269 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 2270 | c8 = (bR.Position - bQ.Position).magnitude | |
| 2271 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
| 2272 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
| 2273 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
| 2274 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
| 2275 | for I = 1, 50 do | |
| 2276 | swait() | |
| 2277 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 2278 | c8 = (bR.Position - bQ.Position).magnitude | |
| 2279 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
| 2280 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
| 2281 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
| 2282 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
| 2283 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
| 2284 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
| 2285 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
| 2286 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
| 2287 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
| 2288 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
| 2289 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
| 2290 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
| 2291 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
| 2292 | end | |
| 2293 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 2294 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 2295 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 2296 | ck = Vector3.new(60, 70, 60) | |
| 2297 | cm = 3.5 | |
| 2298 | co = 5 | |
| 2299 | cj = 0.3--speed of hand | |
| 2300 | cq = Vector3.new(0.16, 0.16, 0.16) | |
| 2301 | cb = true | |
| 2302 | coroutine.resume(coroutine.create(function() | |
| 2303 | while cb == true do | |
| 2304 | swait2() | |
| 2305 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
| 2306 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
| 2307 | c7 = (bQ.Position - rarm.Position).magnitude | |
| 2308 | c8 = (bR.Position - bQ.Position).magnitude | |
| 2309 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
| 2310 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
| 2311 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
| 2312 | b_.Scale = b_.Scale:lerp(ck, cl) | |
| 2313 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
| 2314 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
| 2315 | c2.Scale = c2.Scale:lerp(cq, cr) | |
| 2316 | end | |
| 2317 | end)) | |
| 2318 | print("bless the meme")
| |
| 2319 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988"
| |
| 2320 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
| 2321 | for j = 1, 80 do | |
| 2322 | swait() | |
| 2323 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
| 2324 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
| 2325 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
| 2326 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 2327 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
| 2328 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 2329 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
| 2330 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 2331 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
| 2332 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
| 2333 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
| 2334 | end | |
| 2335 | head:FindFirstChildOfClass("Decal").Texture = d
| |
| 2336 | cam.CameraType = "Custom" | |
| 2337 | dagear = 3 | |
| 2338 | human.AutoRotate = true | |
| 2339 | hrp.Anchored = false | |
| 2340 | human.WalkSpeed = 12 | |
| 2341 | g.Enabled = true | |
| 2342 | activu = false | |
| 2343 | --fixing the hand movement | |
| 2344 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
| 2345 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
| 2346 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
| 2347 | ce = 0.01 | |
| 2348 | ch = 0.01 | |
| 2349 | cd = cf() | |
| 2350 | cg = cf() | |
| 2351 | for j = 1, 38 do | |
| 2352 | --swait() | |
| 2353 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
| 2354 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
| 2355 | ce = 0.01 + j * 0.018 | |
| 2356 | ch = 0.01 + j * 0.008 | |
| 2357 | end | |
| 2358 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 2359 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 2360 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 2361 | --done fixing hand xd | |
| 2362 | elseif dagear == 3 then | |
| 2363 | activu = true | |
| 2364 | human.WalkSpeed = 0 | |
| 2365 | human.AutoRotate = false | |
| 2366 | hrp.Anchored = true | |
| 2367 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2368 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2369 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
| 2370 | ck = Vector3.new(0, 1, 0) | |
| 2371 | cm = 0 | |
| 2372 | co = 0 | |
| 2373 | cq = Vector3.new(0, 1, 0) | |
| 2374 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2375 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2376 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 2377 | cz = Vector3.new(0, 1, 0) | |
| 2378 | cB = 0 | |
| 2379 | cD = 0 | |
| 2380 | cF = Vector3.new(0, 1, 0) | |
| 2381 | for j = 1, 40 do | |
| 2382 | swait() | |
| 2383 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
| 2384 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
| 2385 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
| 2386 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 2387 | if g32hand then | |
| 2388 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
| 2389 | else | |
| 2390 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
| 2391 | end | |
| 2392 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 2393 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
| 2394 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 2395 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
| 2396 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
| 2397 | end | |
| 2398 | cb = false | |
| 2399 | cc = false | |
| 2400 | bQ:Destroy() | |
| 2401 | bR:Destroy() | |
| 2402 | bS:Destroy() | |
| 2403 | bT:Destroy() | |
| 2404 | bU:Destroy() | |
| 2405 | if g32hand then | |
| 2406 | bV:Destroy() | |
| 2407 | bW:Destroy() | |
| 2408 | bX:Destroy() | |
| 2409 | bY:Destroy() | |
| 2410 | bZ:Destroy() | |
| 2411 | end | |
| 2412 | for I = 1, 13 do | |
| 2413 | swait() | |
| 2414 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2415 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2416 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2417 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2418 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2419 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2420 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2421 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2422 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2423 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
| 2424 | end | |
| 2425 | resetlerp() | |
| 2426 | animo(true) | |
| 2427 | human.WalkSpeed = 16 | |
| 2428 | dagear = 1 | |
| 2429 | g32hand = false | |
| 2430 | human.AutoRotate = true | |
| 2431 | hrp.Anchored = false | |
| 2432 | activu = false | |
| 2433 | end | |
| 2434 | --a8:Destroy() | |
| 2435 | --cH:Destroy() | |
| 2436 | activu = false | |
| 2437 | end | |
| 2438 | ||
| 2439 | g3twohand = function() | |
| 2440 | if selected == false or activu == true then | |
| 2441 | return | |
| 2442 | end | |
| 2443 | if not g32hand then | |
| 2444 | activu = true | |
| 2445 | local bf = human.WalkSpeed | |
| 2446 | human.WalkSpeed = 0 | |
| 2447 | cc = true | |
| 2448 | g.Enabled = false | |
| 2449 | human.AutoRotate = false | |
| 2450 | hrp.Anchored = true | |
| 2451 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame)
| |
| 2452 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 2453 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW)
| |
| 2454 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 2455 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX)
| |
| 2456 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 2457 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY)
| |
| 2458 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
| 2459 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ)
| |
| 2460 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
| 2461 | dh.Anchored = false | |
| 2462 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh)
| |
| 2463 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
| 2464 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
| 2465 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
| 2466 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 2467 | for I = 1, 25 do | |
| 2468 | swait() | |
| 2469 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
| 2470 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2471 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2472 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
| 2473 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2474 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
| 2475 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2476 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
| 2477 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2478 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
| 2479 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
| 2480 | end | |
| 2481 | bW.Transparency = 0 | |
| 2482 | bX.Transparency = 0 | |
| 2483 | bY.Transparency = 0 | |
| 2484 | bZ.Transparency = 0 | |
| 2485 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 2486 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
| 2487 | c9 = (bV.Position - larm.Position).magnitude | |
| 2488 | ca = (bW.Position - bV.Position).magnitude | |
| 2489 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
| 2490 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
| 2491 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
| 2492 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 2493 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
| 2494 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
| 2495 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
| 2496 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
| 2497 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
| 2498 | cz = Vector3.new(60, 70, 60) | |
| 2499 | cB = 3.5 | |
| 2500 | cD = 5 | |
| 2501 | cF = Vector3.new(0.16, 0.16, 0.16) | |
| 2502 | cC = 0.3 | |
| 2503 | cE = 0.3 | |
| 2504 | cy = 0.3 | |
| 2505 | cu = 0.3 | |
| 2506 | cw = 0.3 | |
| 2507 | cA = 0.3 | |
| 2508 | cG = 0.3 | |
| 2509 | coroutine.resume(coroutine.create(function() | |
| 2510 | while cc == true do | |
| 2511 | swait2() | |
| 2512 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
| 2513 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
| 2514 | c9 = (bV.Position - larm.Position).magnitude | |
| 2515 | ca = (bW.Position - bV.Position).magnitude | |
| 2516 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
| 2517 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
| 2518 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
| 2519 | c3.Scale = c3.Scale:lerp(cz, cA) | |
| 2520 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
| 2521 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
| 2522 | c6.Scale = c6.Scale:lerp(cF, cG) | |
| 2523 | end | |
| 2524 | end)) | |
| 2525 | for I = 1, 30 do | |
| 2526 | swait() | |
| 2527 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
| 2528 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
| 2529 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
| 2530 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 2531 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2532 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 2533 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2534 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 2535 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2536 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
| 2537 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2538 | end | |
| 2539 | dh:Destroy() | |
| 2540 | human.WalkSpeed = bf | |
| 2541 | hrp.Anchored = false | |
| 2542 | human.AutoRotate = true | |
| 2543 | g.Enabled = true | |
| 2544 | g32hand = true | |
| 2545 | activu = false | |
| 2546 | end | |
| 2547 | end | |
| 2548 | ||
| 2549 | busolelel = function() | |
| 2550 | if activu == true or selected == false then | |
| 2551 | return | |
| 2552 | end | |
| 2553 | if dagear == 3 then | |
| 2554 | if bR.Reflectance <= 0 then | |
| 2555 | selected = false | |
| 2556 | local dk = Instance.new("Sound")
| |
| 2557 | dk.SoundId = "rbxassetid://315030459" | |
| 2558 | dk.Volume = 1.25 | |
| 2559 | dk.TimePosition = 0.22 | |
| 2560 | dk.Pitch = 1.03 | |
| 2561 | dk.Parent = tors | |
| 2562 | game.Debris:AddItem(dk, 3) | |
| 2563 | dk:Play() | |
| 2564 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
| 2565 | ck = Vector3.new(70, 80, 70) | |
| 2566 | cq = Vector3.new(0.19, 0.19, 0.19) | |
| 2567 | cz = Vector3.new(70, 80, 70) | |
| 2568 | cF = Vector3.new(0.19, 0.19, 0.19) | |
| 2569 | for I = 1, 20 do | |
| 2570 | swait() | |
| 2571 | bR.Reflectance = bR.Reflectance + 0.02 | |
| 2572 | bR.Color = bR.Color:lerp(dl, 0.15) | |
| 2573 | bU.Reflectance = bU.Reflectance + 0.02 | |
| 2574 | bU.Color = bU.Color:lerp(dl, 0.15) | |
| 2575 | if g32hand then | |
| 2576 | bW.Reflectance = bW.Reflectance + 0.02 | |
| 2577 | bW.Color = bW.Color:lerp(dl, 0.15) | |
| 2578 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
| 2579 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
| 2580 | end | |
| 2581 | end | |
| 2582 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
| 2583 | ck = Vector3.new(60, 70, 60) | |
| 2584 | cq = Vector3.new(0.16, 0.16, 0.16) | |
| 2585 | cz = Vector3.new(60, 70, 60) | |
| 2586 | cF = Vector3.new(0.16, 0.16, 0.16) | |
| 2587 | for I = 1, 20 do | |
| 2588 | swait() | |
| 2589 | bR.Reflectance = bR.Reflectance - 0.01 | |
| 2590 | bR.Color = bR.Color:lerp(dl, 0.15) | |
| 2591 | bU.Reflectance = bU.Reflectance - 0.01 | |
| 2592 | bU.Color = bU.Color:lerp(dl, 0.15) | |
| 2593 | if g32hand then | |
| 2594 | bW.Reflectance = bW.Reflectance - 0.01 | |
| 2595 | bW.Color = bW.Color:lerp(dl, 0.15) | |
| 2596 | bZ.Reflectance = bW.Reflectance - 0.01 | |
| 2597 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
| 2598 | end | |
| 2599 | end | |
| 2600 | bR.Color = dl | |
| 2601 | bU.Color = dl | |
| 2602 | if g32hand then | |
| 2603 | bW.Color = dl | |
| 2604 | bZ.Color = dl | |
| 2605 | end | |
| 2606 | selected = true | |
| 2607 | else | |
| 2608 | do | |
| 2609 | selected = false | |
| 2610 | for I = 1, 20 do | |
| 2611 | swait() | |
| 2612 | bR.Reflectance = bR.Reflectance - 0.01 | |
| 2613 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
| 2614 | bU.Reflectance = bU.Reflectance - 0.01 | |
| 2615 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
| 2616 | if g32hand then | |
| 2617 | bW.Reflectance = bW.Reflectance - 0.01 | |
| 2618 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
| 2619 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
| 2620 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
| 2621 | end | |
| 2622 | end | |
| 2623 | bR.Color = rarm.Color | |
| 2624 | bU.Color = rarm.Color | |
| 2625 | bR.Reflectance = 0 | |
| 2626 | bU.Reflectance = 0 | |
| 2627 | if g32hand then | |
| 2628 | bW.Color = larm.Color | |
| 2629 | bZ.Color = larm.Color | |
| 2630 | bW.Reflectance = 0 | |
| 2631 | bZ.Reflectance = 0 | |
| 2632 | end | |
| 2633 | selected = true | |
| 2634 | end | |
| 2635 | end | |
| 2636 | end | |
| 2637 | end | |
| 2638 | ||
| 2639 | hito = function(dm, X, c, dn, dp, dq) | |
| 2640 | for I,dr in pairs(workspace:GetChildren()) do | |
| 2641 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 2642 | local ds = dr:FindFirstChild("Humanoid")
| |
| 2643 | local dt = dr:FindFirstChild("HumanoidRootPart")
| |
| 2644 | TakeDamage(ds, c) | |
| 2645 | ds:SetStateEnabled(16, true) | |
| 2646 | delay(dn, function() | |
| 2647 | ds:SetStateEnabled(16, true) | |
| 2648 | end) | |
| 2649 | local du = Instance.new("StringValue")
| |
| 2650 | du.Name = "alabo" | |
| 2651 | du.Parent = dt | |
| 2652 | game.Debris:AddItem(du, dn) | |
| 2653 | local dv = Instance.new("Part")
| |
| 2654 | nooutline(dv) | |
| 2655 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2656 | dv.Transparency = 0.25 | |
| 2657 | dv.Anchored = true | |
| 2658 | dv.CanCollide = false | |
| 2659 | dv.BrickColor = BrickColor.new("Institutional white")
| |
| 2660 | dv.Locked = true | |
| 2661 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 2662 | dv.Parent = modz | |
| 2663 | local dw = Instance.new("SpecialMesh")
| |
| 2664 | dw.MeshType = "Sphere" | |
| 2665 | dw.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 2666 | dw.Parent = dv | |
| 2667 | game.Debris:AddItem(dv, 1) | |
| 2668 | local dx = Instance.new("Model")
| |
| 2669 | dx.Name = c | |
| 2670 | dx.Parent = workspace | |
| 2671 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
| 2672 | local dy = Instance.new("Humanoid")
| |
| 2673 | dy.MaxHealth = 0 | |
| 2674 | dy.Parent = dx | |
| 2675 | local dz = Instance.new("Part")
| |
| 2676 | dz.Name = "Head" | |
| 2677 | dz.Locked = true | |
| 2678 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2679 | dz.Position = dt.Position | |
| 2680 | dz.BrickColor = BrickColor.new("Bright red")
| |
| 2681 | dz.CanCollide = false | |
| 2682 | dz.Parent = dx | |
| 2683 | local dA = Instance.new("BodyPosition")
| |
| 2684 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 2685 | dA.P = 20000 | |
| 2686 | dA.D = 300 | |
| 2687 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
| 2688 | dA.Parent = dz | |
| 2689 | local dB = Instance.new("CylinderMesh")
| |
| 2690 | dB.Parent = dz | |
| 2691 | coroutine.resume(coroutine.create(function() | |
| 2692 | while dB do | |
| 2693 | swait() | |
| 2694 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
| 2695 | end | |
| 2696 | end)) | |
| 2697 | if dp then | |
| 2698 | local dC = Instance.new("BodyVelocity")
| |
| 2699 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
| 2700 | dC.P = 9999999999 | |
| 2701 | dC.Velocity = dp | |
| 2702 | dC.Parent = dt | |
| 2703 | game.Debris:AddItem(dC, dn) | |
| 2704 | end | |
| 2705 | if dq then | |
| 2706 | local dD = Instance.new("BodyAngularVelocity")
| |
| 2707 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
| 2708 | dD.P = math.huge | |
| 2709 | dD.AngularVelocity = dq | |
| 2710 | dD.Parent = dt | |
| 2711 | game.Debris:AddItem(dD, dn) | |
| 2712 | end | |
| 2713 | local dE = Instance.new("Sound")
| |
| 2714 | dE.Pitch = rd2(10, 11) / 10 | |
| 2715 | dE.Volume = rd2(10, 13) / 10 | |
| 2716 | dE.EmitterSize = 10 | |
| 2717 | dE.SoundId = "rbxassetid://294188918" | |
| 2718 | dE.Parent = dv | |
| 2719 | dE:Play() | |
| 2720 | coroutine.resume(coroutine.create(function() | |
| 2721 | for I = 1, 5 do | |
| 2722 | swait() | |
| 2723 | dv.Transparency = dv.Transparency + 0.175 | |
| 2724 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
| 2725 | end | |
| 2726 | end)) | |
| 2727 | end | |
| 2728 | end | |
| 2729 | end | |
| 2730 | ||
| 2731 | animo = function(dF) | |
| 2732 | if anim then | |
| 2733 | if dF == true then | |
| 2734 | anim.Parent = human | |
| 2735 | chr.Animate.Disabled = false | |
| 2736 | elseif dF == false then | |
| 2737 | chr.Animate.Disabled = true | |
| 2738 | anim.Parent = nil | |
| 2739 | end | |
| 2740 | end | |
| 2741 | end | |
| 2742 | ||
| 2743 | local dG = function(dH, dv, dw, aO, dI, i) | |
| 2744 | if dH == 0 then | |
| 2745 | return dv | |
| 2746 | end | |
| 2747 | dH = dH / aO | |
| 2748 | if dH == 1 then | |
| 2749 | return dv + dw | |
| 2750 | end | |
| 2751 | if not i then | |
| 2752 | i = aO * 0.3 | |
| 2753 | end | |
| 2754 | local h = nil | |
| 2755 | if not dI or dI < math.abs(dw) then | |
| 2756 | dI = dw | |
| 2757 | h = i / 4 | |
| 2758 | else | |
| 2759 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
| 2760 | end | |
| 2761 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
| 2762 | end | |
| 2763 | ||
| 2764 | local dJ = false | |
| 2765 | updateguimode = function() | |
| 2766 | local dK = function(dL, dM, dH) | |
| 2767 | return (1 - dH) * dL + dH * dM | |
| 2768 | end | |
| 2769 | ||
| 2770 | local dN, dO = nil, nil | |
| 2771 | if dagear == 1 then | |
| 2772 | dN = "Rubber" | |
| 2773 | elseif dagear == 2 then | |
| 2774 | dN = "Jet" | |
| 2775 | elseif dagear == 3 then | |
| 2776 | dN = "Gigant" | |
| 2777 | end | |
| 2778 | if rubbermodo == 0 then | |
| 2779 | dO = "Pistol" | |
| 2780 | elseif rubbermodo == 1 then | |
| 2781 | dO = "Gatling" | |
| 2782 | elseif rubbermodo == 2 then | |
| 2783 | dO = "Bazooka" | |
| 2784 | elseif rubbermodo == 3 then | |
| 2785 | dO = "Rocket" | |
| 2786 | end | |
| 2787 | g.Main.Base.Mode.Text = "MODE: " .. dN .. " " .. dO | |
| 2788 | if dJ == false then | |
| 2789 | dJ = true | |
| 2790 | elseif dJ == true then | |
| 2791 | dJ = false | |
| 2792 | swait() | |
| 2793 | dJ = true | |
| 2794 | end | |
| 2795 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do
| |
| 2796 | if not dJ then | |
| 2797 | break | |
| 2798 | end | |
| 2799 | game:GetService("RunService").RenderStepped:wait()
| |
| 2800 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
| 2801 | end | |
| 2802 | end | |
| 2803 | --[[ | |
| 2804 | mouse.KeyDown:connect(function(dP) | |
| 2805 | if dP == "q" and activu == false then | |
| 2806 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
| 2807 | rubbermodo = 0 | |
| 2808 | else | |
| 2809 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
| 2810 | rubbermodo = 1 | |
| 2811 | else | |
| 2812 | if rubbermodo == 0 then | |
| 2813 | rubbermodo = 1 | |
| 2814 | else | |
| 2815 | if rubbermodo == 1 then | |
| 2816 | rubbermodo = 2 | |
| 2817 | else | |
| 2818 | if rubbermodo == 2 then | |
| 2819 | rubbermodo = 3 | |
| 2820 | else | |
| 2821 | rubbermodo = 0 | |
| 2822 | end | |
| 2823 | end | |
| 2824 | end | |
| 2825 | end | |
| 2826 | end | |
| 2827 | updateguimode() | |
| 2828 | else | |
| 2829 | if dP == "e" and activu == false then | |
| 2830 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
| 2831 | rubbermodo = 0 | |
| 2832 | else | |
| 2833 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
| 2834 | rubbermodo = 1 | |
| 2835 | else | |
| 2836 | if dagear == 1 then | |
| 2837 | if rubbermodo == 1 then | |
| 2838 | rubbermodo = 0 | |
| 2839 | else | |
| 2840 | if rubbermodo == 2 then | |
| 2841 | rubbermodo = 1 | |
| 2842 | else | |
| 2843 | if rubbermodo == 3 then | |
| 2844 | rubbermodo = 2 | |
| 2845 | else | |
| 2846 | if rubbermodo <= 0 then | |
| 2847 | rubbermodo = 3 | |
| 2848 | end | |
| 2849 | end | |
| 2850 | end | |
| 2851 | end | |
| 2852 | else | |
| 2853 | if rubbermodo == 1 then | |
| 2854 | rubbermodo = 0 | |
| 2855 | else | |
| 2856 | rubbermodo = 1 | |
| 2857 | end | |
| 2858 | end | |
| 2859 | end | |
| 2860 | end | |
| 2861 | updateguimode() | |
| 2862 | else | |
| 2863 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
| 2864 | gear2change() | |
| 2865 | rubbermodo = 0 | |
| 2866 | updateguimode() | |
| 2867 | else | |
| 2868 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
| 2869 | gear3change() | |
| 2870 | rubbermodo = 0 | |
| 2871 | updateguimode() | |
| 2872 | else | |
| 2873 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
| 2874 | g3twohand() | |
| 2875 | rubbermodo = 2 | |
| 2876 | updateguimode() | |
| 2877 | else | |
| 2878 | if dP == "b" and plr.UserId == 8488617 then | |
| 2879 | busolelel() | |
| 2880 | end | |
| 2881 | end | |
| 2882 | end | |
| 2883 | end | |
| 2884 | end | |
| 2885 | end | |
| 2886 | end) | |
| 2887 | ]] | |
| 2888 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
| 2889 | if dP == "q" and activu == false then -- Does nothing? | |
| 2890 | if dagear == 2 and rubbermodo > 1 then | |
| 2891 | rubbermodo = 0 | |
| 2892 | elseif dagear == 3 and g32hand and rubbermodo > 1 then | |
| 2893 | rubbermodo = 1 | |
| 2894 | elseif rubbermodo == 0 then | |
| 2895 | rubbermodo = 1 | |
| 2896 | elseif rubbermodo == 1 then | |
| 2897 | rubbermodo = 2 | |
| 2898 | elseif rubbermodo == 2 then | |
| 2899 | rubbermodo = 3 | |
| 2900 | else | |
| 2901 | rubbermodo = 0 | |
| 2902 | end | |
| 2903 | updateguimode() | |
| 2904 | end | |
| 2905 | if dP == "f" and activu == false then | |
| 2906 | gear2change() | |
| 2907 | rubbermodo = 0 | |
| 2908 | updateguimode() | |
| 2909 | end | |
| 2910 | if dP == "t" and activu == false and dagear == 3 then | |
| 2911 | g3twohand() | |
| 2912 | rubbermodo = 2 | |
| 2913 | updateguimode() | |
| 2914 | end | |
| 2915 | if dP == "j" and activu == false then | |
| 2916 | gear3change() | |
| 2917 | rubbermodo = 0 | |
| 2918 | updateguimode() | |
| 2919 | end | |
| 2920 | if dP == "b" and plr.UserId == 8488617 then | |
| 2921 | busolelel() | |
| 2922 | end | |
| 2923 | end) | |
| 2924 | tool.Activated:connect(function() | |
| 2925 | if human.Health <= 0 then | |
| 2926 | return | |
| 2927 | end | |
| 2928 | if dagear == 1 then | |
| 2929 | if rubbermodo == 0 then | |
| 2930 | shoot() | |
| 2931 | elseif rubbermodo == 1 then | |
| 2932 | gatling() | |
| 2933 | elseif rubbermodo == 2 then | |
| 2934 | bazooka() | |
| 2935 | elseif rubbermodo == 3 then | |
| 2936 | rocket() | |
| 2937 | end | |
| 2938 | elseif dagear == 2 then | |
| 2939 | if rubbermodo == 0 then | |
| 2940 | jetpunch() | |
| 2941 | elseif rubbermodo == 1 then | |
| 2942 | jetgat() | |
| 2943 | elseif rubbermodo == 2 then | |
| 2944 | jetbazoo() | |
| 2945 | end | |
| 2946 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
| 2947 | giganpist() | |
| 2948 | end | |
| 2949 | if dagear == 3 and g32hand then | |
| 2950 | if rubbermodo == 2 then | |
| 2951 | giganbazooka() | |
| 2952 | elseif rubbermodo == 1 then | |
| 2953 | gigangatl() | |
| 2954 | end | |
| 2955 | end | |
| 2956 | end) | |
| 2957 | tool.Equipped:connect(function() | |
| 2958 | selected = true | |
| 2959 | end) | |
| 2960 | tool.Unequipped:connect(function() | |
| 2961 | selected = false | |
| 2962 | end) | |
| 2963 | human.Died:connect(function() | |
| 2964 | if cam.CameraType == "Scriptable" then | |
| 2965 | cam.CameraType = "Custom" | |
| 2966 | end | |
| 2967 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2968 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
| 2969 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
| 2970 | ck = Vector3.new(0, 0, 0) | |
| 2971 | cm = 0 | |
| 2972 | co = 0 | |
| 2973 | cq = Vector3.new(0, 0, 0) | |
| 2974 | end) | |
| 2975 | animpose = "Idle" | |
| 2976 | sine = 0 | |
| 2977 | charge = 1 | |
| 2978 | cos = math.cos | |
| 2979 | run() | |
| 2980 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2981 | sine = sine + charge | |
| 2982 | if sine >= 100000000 then | |
| 2983 | sine = 0 | |
| 2984 | end | |
| 2985 | if sine % 60 == 0 then | |
| 2986 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
| 2987 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
| 2988 | end | |
| 2989 | --[[repeat | |
| 2990 | repeat | |
| 2991 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
| 2992 | if g3lim <= 0 then | |
| 2993 | game:GetService("RunService").RenderStepped:wait()
| |
| 2994 | end | |
| 2995 | end | |
| 2996 | until activu == false | |
| 2997 | until selected == true | |
| 2998 | gear3change() | |
| 2999 | rubbermodo = 0 | |
| 3000 | updateguimode() | |
| 3001 | if g32hand then | |
| 3002 | g3lim = g3lim - 2 | |
| 3003 | else | |
| 3004 | if not g32hand then | |
| 3005 | g3lim = g3lim - 1 | |
| 3006 | end | |
| 3007 | end | |
| 3008 | repeat | |
| 3009 | repeat | |
| 3010 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
| 3011 | if g2lim <= 0 then | |
| 3012 | game:GetService("RunService").RenderStepped:wait()
| |
| 3013 | end | |
| 3014 | end | |
| 3015 | until activu == false | |
| 3016 | until selected == true | |
| 3017 | gear2change() | |
| 3018 | rubbermodo = 0 | |
| 3019 | updateguimode() | |
| 3020 | g2lim = g2lim - 1 | |
| 3021 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
| 3022 | if g2lim < 59 then | |
| 3023 | g2lim = g2lim + 1 | |
| 3024 | end | |
| 3025 | if g3lim < 59 then | |
| 3026 | g3lim = g3lim + 1 | |
| 3027 | end | |
| 3028 | end]] | |
| 3029 | if dagear == 3 and activu == false then | |
| 3030 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 3031 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false)
| |
| 3032 | local dS = human:GetState() | |
| 3033 | if dS.Value == 13 then | |
| 3034 | animpose = "Sitting" | |
| 3035 | else | |
| 3036 | if hrp.Velocity.y > 1 and dR == nil then | |
| 3037 | animpose = "Jumping" | |
| 3038 | else | |
| 3039 | if hrp.Velocity.y < -1 and dR == nil then | |
| 3040 | animpose = "Falling" | |
| 3041 | else | |
| 3042 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3043 | animpose = "Idle" | |
| 3044 | else | |
| 3045 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
| 3046 | animpose = "Walking" | |
| 3047 | else | |
| 3048 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
| 3049 | animpose = "TooFast" | |
| 3050 | end | |
| 3051 | end | |
| 3052 | end | |
| 3053 | end | |
| 3054 | end | |
| 3055 | end | |
| 3056 | if animpose == "Idle" then | |
| 3057 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
| 3058 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
| 3059 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 3060 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3061 | if g32hand then | |
| 3062 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 3063 | else | |
| 3064 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
| 3065 | end | |
| 3066 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3067 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
| 3068 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3069 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
| 3070 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3071 | end | |
| 3072 | if animpose == "Walking" then | |
| 3073 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
| 3074 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
| 3075 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
| 3076 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3077 | if g32hand then | |
| 3078 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
| 3079 | else | |
| 3080 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
| 3081 | end | |
| 3082 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3083 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3) | |
| 3084 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3085 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3) | |
| 3086 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 3087 | end | |
| 3088 | end | |
| 3089 | end) | |
| 3090 | dispose = function() | |
| 3091 | for j,dT in pairs(getfenv(0)) do | |
| 3092 | dT = nil | |
| 3093 | end | |
| 3094 | error = nil | |
| 3095 | print = nil | |
| 3096 | warn = nil | |
| 3097 | script:Destroy() | |
| 3098 | script = nil | |
| 3099 | end | |
| 3100 | ||
| 3101 | human.Died:connect(dispose) | |
| 3102 | chr.Changed:connect(function() | |
| 3103 | if chr.Parent == nil then | |
| 3104 | - | dispose() |
| 3104 | + | dispose()char.Humanoid.MaxHealth = math.huge |
| 3105 | wait() | |
| 3106 | char.Humanoid.Health = math.huge | |
| 3107 | end | |
| 3108 | end) |