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