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