Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --SynapseX Decompiler
- repeat
- do break end
- while true do
- end
- until true
- local U3483e8be82 = game:GetService("ReplicatedStorage")
- local l1c1ea = game:GetService("MarketplaceService")
- local x2617913940 = game:GetService("RunService")
- local D1f0f765 = x2617913940:IsStudio()
- local G5dbe1b49 = game:GetService("UserInputService")
- local saf4a82b89 = G5dbe1b49.TouchEnabled
- local y90567ac9e3f = game:GetService("GuiService")
- local Uea1a8 = game:GetService("SoundService")
- local j8188c1640 = game:GetService("Players")
- local P0dd235 = j8188c1640.LocalPlayer
- local ne15e70 = P0dd235:GetMouse()
- local La47eb1308 = workspace.CurrentCamera
- local e8d42fa58 = require(U3483e8be82.Module.R15IKv2)
- local X0501d6bd4d = require(U3483e8be82.Module.UI)
- local kb96fae78b7 = game:GetService("CollectionService")
- local Zc4a68d35d9 = require(U3483e8be82.Module.Joint)
- local B18678a7ef = require(U3483e8be82.Module.Math)
- local F433d9 = require(U3483e8be82.Module.AlexInput)
- local Ld5062d032 = require(U3483e8be82.Module.AlexParticles)
- local E8df386a5d = require(U3483e8be82.Module.AlexWM)
- local t2c57bc3d7 = require(U3483e8be82.Resource.Settings)
- local u9f8e864 = require(U3483e8be82.Module.Signalv2)
- local z4a2b9de = require(U3483e8be82.Module.Maid)
- local Z90420b5 = game:GetService("StarterGui")
- local T3cd8cb = require(U3483e8be82.Module.Localization)
- local Oac73c1cdd, k507e291f, V9f61cf07b = CFrame.new, CFrame.Angles, Vector3.new
- local pcdd597f98, mcaa393d = Oac73c1cdd(0, 0, 0), V9f61cf07b(0, 0, 0)
- local s1020805b = math.sin
- local H7d7840, c107ae2f3, b54fb77, M57c355a = math.floor, math.abs, math.log, math.max
- local Ve07a63ea
- Ve07a63ea = {}
- do
- local i8a6d2d2533 = false
- if not D1f0f765 then
- i8a6d2d2533 = false
- end
- if i8a6d2d2533 then
- print("PROFILE DEBUGGING ENABLED")
- Ve07a63ea.profilebegin = debug.profilebegin
- Ve07a63ea.profileend = debug.profileend
- else
- local I1f26f = function()
- end
- Ve07a63ea.profilebegin = I1f26f
- Ve07a63ea.profileend = I1f26f
- end
- end
- local tc52b647c32 = {}
- local x730a4243, x9936ade5d2, X7b3811
- do
- local Zce0398029f = {}
- for N13611d8, z6410ad5f0e in next, U3483e8be82.Resource.Events:GetChildren() do
- z6410ad5f0e.Name = B18678a7ef.GUID()
- table.insert(Zce0398029f, z6410ad5f0e)
- end
- local function Gb008821908()
- return Zce0398029f[math.random(1, #Zce0398029f)]
- end
- for X77d4cca10 = 1, 10 do
- local n11840f27 = Instance.new("RemoteEvent")
- n11840f27.Name = B18678a7ef.GUID()
- n11840f27.Parent = U3483e8be82.Resource.Events
- end
- local pf078d
- x730a4243 = {}
- local raa9381ea64 = Instance.new("RemoteEvent").FireServer
- function x9936ade5d2(b022ba7dd8, ...)
- local sebf6fa = Gb008821908()
- raa9381ea64(sebf6fa, pf078d and pf078d[b022ba7dd8] or b022ba7dd8, ...)
- end
- function x730a4243:FireServer(K2e4aeb0, ...)
- return x9936ade5d2(K2e4aeb0, ...)
- end
- local function j3e4a2(M18dcb293ea7, ...)
- assert(tc52b647c32[M18dcb293ea7], M18dcb293ea7)(...)
- end
- function X7b3811()
- for b9b9d44d057d, F11f799356 in next, Zce0398029f, nil do
- F11f799356.OnClientEvent:Connect(j3e4a2)
- end
- end
- function tc52b647c32.t2dfm5mu(s5a604af75)
- tc52b647c32.hems = true
- pf078d = s5a604af75
- end
- end
- local V4b1010f = {}
- V4b1010f.Chassis = require(U3483e8be82.Module.AlexChassis)
- V4b1010f.Chassis.SetEvent(x730a4243)
- V4b1010f.Chassis2 = require(U3483e8be82.Module.AlexChassis2)
- V4b1010f.Chassis2.SetEvent(x730a4243)
- V4b1010f.Volt = require(U3483e8be82.Game.Vehicle.Volt)
- V4b1010f.Volt.Init({Event = x730a4243, em = tc52b647c32})
- local je2c717b
- Z90420b5.ResetPlayerGuiOnSpawn = false
- local B56d7d189f78 = P0dd235:WaitForChild("PlayerGui")
- local Z68c6ed0 = P0dd235:WaitForChild("TeamValue")
- local function X7cdb36f45(V4c2b42122c4)
- local ud4e2049c = B56d7d189f78:FindFirstChild(V4c2b42122c4)
- if not ud4e2049c then
- ud4e2049c = U3483e8be82.StarterGui:FindFirstChild(V4c2b42122c4):Clone()
- ud4e2049c.Parent = B56d7d189f78
- end
- return ud4e2049c
- end
- local F8b87cc3 = X7cdb36f45("MainGui")
- local Yb913835 = X7cdb36f45("ProductGui")
- local g55ba5 = X7cdb36f45("Particles")
- local Eb2b114b7 = X7cdb36f45("DeathGui")
- X0501d6bd4d.CircleAction.Frame = F8b87cc3.CircleAction
- Z90420b5:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
- local q92cc9665d
- do
- local function o598d243()
- for Sec0ef0120, J17193b in next, F8b87cc3.Inventory.Inner:GetChildren() do
- J17193b.ImageColor3 = Color3.new(1, 1, 1)
- J17193b.ImageTransparency = 0
- end
- end
- local function e3fbd1f23364(Nda610a815)
- o598d243()
- if Nda610a815.i then
- local x950880fc3 = F8b87cc3.Inventory.Inner:FindFirstChild(Nda610a815.i)
- if x950880fc3 then
- x950880fc3.ImageColor3 = Color3.new(0.7, 0.7, 0.7)
- x950880fc3.ImageTransparency = 0.5
- end
- end
- end
- q92cc9665d = require(U3483e8be82.Module.ItemSystem)(x730a4243, tc52b647c32, {ItemEquippedCallback = e3fbd1f23364, ItemUnequippedCallback = o598d243})
- end
- require(U3483e8be82.Game.ItemModule.Gun)(q92cc9665d, x730a4243, tc52b647c32)
- require(U3483e8be82.Game.ItemModule.Grenade)(q92cc9665d, x730a4243, tc52b647c32)
- require(U3483e8be82.Game.ItemModule.Turret)(q92cc9665d, x730a4243, tc52b647c32)
- require(U3483e8be82.Game.ItemModule.RocketLauncher)(q92cc9665d, x730a4243, tc52b647c32)
- require(U3483e8be82.Game.ItemModule.Basic)(q92cc9665d, x730a4243, tc52b647c32)
- local je959b91a259
- do
- local g08e2bc8bd = {}
- function je959b91a259(X2c762a655d, la22c4a, z1d62d1)
- local r2f0aff622 = {
- t = 0,
- i = X2c762a655d,
- c = la22c4a
- }
- table.insert(g08e2bc8bd, r2f0aff622)
- end
- local function Re018ab12e(h584758, oe67cd1e0)
- Ve07a63ea.profilebegin("Thread Loop")
- for vb2c88 = 1, #g08e2bc8bd do
- local Vffb299c = g08e2bc8bd[vb2c88]
- if h584758 - Vffb299c.t > Vffb299c.i then
- Vffb299c.t = h584758
- Vffb299c.c(h584758, oe67cd1e0)
- end
- end
- Ve07a63ea.profileend()
- end
- x2617913940.Stepped:Connect(Re018ab12e)
- end
- local function b5f531(td0f8c95a4a)
- local w13a7d1 = false
- local S53848a6, Rdc22aa010b = pcall(function()
- if td0f8c95a4a.Group then
- w13a7d1 = true
- w13a7d1 = w13a7d1 and P0dd235:IsInGroup(td0f8c95a4a.Group)
- if td0f8c95a4a.Rank then
- w13a7d1 = w13a7d1 and P0dd235:GetRankInGroup(td0f8c95a4a.Group) >= td0f8c95a4a.Rank
- end
- end
- if w13a7d1 then
- return
- end
- if td0f8c95a4a.Id then
- w13a7d1 = true
- w13a7d1 = w13a7d1 and td0f8c95a4a.Id[tostring(P0dd235.UserId)]
- end
- end)
- if not S53848a6 then
- print(Rdc22aa010b)
- end
- return S53848a6 and w13a7d1
- end
- local xa39293e9681 = E8df386a5d.MakeWindowGroup()
- require(U3483e8be82.Module.Mission)(tc52b647c32, x730a4243, je959b91a259, xa39293e9681)
- local Y43fa895
- local G5be7dd6 = {
- ItemStacks = {}
- }
- local B4f88f74f29 = {}
- local s24832 = {}
- local Gd8c378a9ce
- local m445e22a = {
- VehiclesOwned = {},
- VehiclesRented = {},
- Nitro = 50,
- NitroLastMax = 50,
- LastVehicleExit = tick()
- }
- local p3b34926a
- local w4a3e5b4f = {}
- local Zc047d2ac8 = mcaa393d
- local n4e0e1aa54c7, A8cf606e2 = false, false
- local f6d92b90f1 = "Yard"
- local cd2805d2055 = false
- local function Y1ac117b1(B8c1fb856)
- if je2c717b == Enum.UserInputType.Gamepad1 then
- y90567ac9e3f.SelectedObject = B8c1fb856
- end
- end
- local mae40bfe = {}
- mae40bfe.MainWindowGroup = xa39293e9681
- mae40bfe.ScreenGui = F8b87cc3
- mae40bfe.ProductGui = Yb913835
- mae40bfe.Event = x730a4243
- mae40bfe.em = tc52b647c32
- mae40bfe.UI = X0501d6bd4d
- mae40bfe.LocalWalkSpeedModifier = 1
- mae40bfe.SelectIfGamepad = Y1ac117b1
- function mae40bfe.GetVehiclePacket()
- return Gd8c378a9ce
- end
- local R60823
- R60823 = {}
- do
- local V80b6f19735, ue9b248 = table.insert, table.remove
- local X70711c8f7a3 = {}
- local function z0307e(rffee0898)
- local Q490471e7b6 = mcaa393d
- local v1f0eee4824 = rffee0898:GetChildren()
- for J21242c0cc8c, m306ee in next, v1f0eee4824, nil do
- if not m306ee.PrimaryPart then
- m306ee.PrimaryPart = m306ee:GetChildren()[1]
- end
- Q490471e7b6 = Q490471e7b6 + m306ee.PrimaryPart.Position
- end
- Q490471e7b6 = Q490471e7b6 / #v1f0eee4824
- return Q490471e7b6
- end
- function R60823.LODSplitEach(m275f5ecb4)
- local Zc7e50dfbb09 = {}
- for K1905d569b1, t235783664d in next, m275f5ecb4:GetChildren() do
- local qec7f2b521 = Instance.new("Model")
- t235783664d.Parent = qec7f2b521
- table.insert(Zc7e50dfbb09, qec7f2b521)
- end
- for E115d2, x852e1a05 in next, Zc7e50dfbb09, nil do
- x852e1a05.Parent = m275f5ecb4
- end
- end
- function R60823.LODSplitModel(R079c8, e9baef15151)
- local I258296ad71 = H7d7840(e9baef15151 ^ 0.5)
- local Eda0938bbb = R079c8:GetExtentsSize()
- local K6feefe9c1c4 = z0307e(R079c8)
- local J147d4e1f = H7d7840(Eda0938bbb.X / I258296ad71 + 0.5)
- local i09600881900 = H7d7840(Eda0938bbb.Z / I258296ad71 + 0.5)
- local Z58287 = {}
- for O5c59097f9, D681a5e0a in next, R079c8:GetChildren() do
- local Xaacc1bfc4 = D681a5e0a.PrimaryPart.Position
- local P0650a1 = H7d7840((Xaacc1bfc4.X - K6feefe9c1c4.X) / J147d4e1f) * J147d4e1f
- local K70d2645ee = H7d7840((Xaacc1bfc4.Z - K6feefe9c1c4.Z) / i09600881900) * i09600881900
- local ve7bc38 = ("%d/%d"):format(P0650a1, K70d2645ee)
- local sce485e = Z58287[ve7bc38]
- if not sce485e then
- sce485e = Instance.new("Model")
- sce485e.Parent = workspace
- sce485e.Name = ve7bc38
- Z58287[ve7bc38] = sce485e
- end
- D681a5e0a.Parent = sce485e
- end
- for gf319da, Fbfcc013ad5 in next, Z58287, nil do
- Fbfcc013ad5.Parent = R079c8
- end
- return math.max(0.25 * (J147d4e1f + i09600881900) * 1.4142135623730951, 100)
- end
- function R60823.LODAddModel(Dd618a643649, Aa6162340)
- local o23b02192 = Dd618a643649.Parent
- assert(o23b02192)
- local R7f598d = {
- Model = Dd618a643649,
- Parent = o23b02192,
- Center = z0307e(Dd618a643649),
- MinDist = Aa6162340,
- Loaded = true,
- Locked = false
- }
- table.insert(X70711c8f7a3, R7f598d)
- return R7f598d
- end
- function R60823.LODAddModels(b06f7487bf, P6f579d8)
- local y6e0a5ec7 = {}
- for M714f397cdb, U3408eb8632 in next, b06f7487bf:GetChildren() do
- local nfca4f292 = R60823.LODAddModel(U3408eb8632, P6f579d8)
- table.insert(y6e0a5ec7, nfca4f292)
- end
- return y6e0a5ec7
- end
- function R60823.LODLockModel(gbda9e75)
- for Nf8a65610b46 = 1, #X70711c8f7a3 do
- local pd827e08229a = X70711c8f7a3[Nf8a65610b46]
- if pd827e08229a.Model == gbda9e75 then
- R60823.LODForceLoad(pd827e08229a)
- pd827e08229a.Locked = true
- return pd827e08229a
- end
- end
- return false
- end
- function R60823.LODForceLoad(m5d3c114)
- m5d3c114.Model.Parent = m5d3c114.Parent
- m5d3c114.Loaded = true
- m5d3c114.Locked = true
- end
- local G50121712b1f = {}
- local Jb6806a2 = {}
- function R60823.LODUpdateInterest(R1182c)
- G50121712b1f = {}
- Jb6806a2 = {}
- for Zfbea2, E0d4bc in next, X70711c8f7a3, nil do
- local p99d19b32a1 = (E0d4bc.Center - R1182c).magnitude
- E0d4bc.Sort = p99d19b32a1
- local m57e225a = p99d19b32a1 < E0d4bc.MinDist
- if E0d4bc.Locked then
- m57e225a = true
- end
- local K4f5bc9e63c = E0d4bc.Loaded
- if m57e225a and not K4f5bc9e63c then
- local Q32144051f71 = B18678a7ef.BinaryFind(G50121712b1f, p99d19b32a1)
- V80b6f19735(G50121712b1f, Q32144051f71, E0d4bc)
- elseif not m57e225a and K4f5bc9e63c then
- local t4b1713ba12 = B18678a7ef.BinaryFind(Jb6806a2, p99d19b32a1)
- V80b6f19735(Jb6806a2, t4b1713ba12, E0d4bc)
- end
- end
- end
- local function A06fcf109()
- if #G50121712b1f > 0 then
- local B68c877f = ue9b248(G50121712b1f, 1)
- B68c877f.Model.Parent = B68c877f.Parent
- B68c877f.Loaded = true
- end
- if #Jb6806a2 > 0 then
- local Se8536d8 = ue9b248(Jb6806a2)
- Se8536d8.Model.Parent = nil
- Se8536d8.Loaded = false
- end
- end
- function R60823.LODStart(O80b976a6)
- je959b91a259(O80b976a6, A06fcf109, "LOD Queue")
- end
- end
- do
- local Rbf7e43a05c1 = workspace:FindFirstChild("Trees")
- if Rbf7e43a05c1 then
- end
- local G435c272a = workspace:FindFirstChild("Streetlights")
- if G435c272a and not D1f0f765 then
- local ib744f1505 = R60823.LODSplitModel(G435c272a, 100)
- R60823.LODAddModels(G435c272a, ib744f1505 * 3)
- end
- local Q56168506c9 = workspace:FindFirstChild("Bush")
- if Q56168506c9 then
- local Ra9a410cb5 = R60823.LODSplitModel(Q56168506c9, 100)
- R60823.LODAddModels(Q56168506c9, Ra9a410cb5 * 2.5)
- end
- local qe6c6b = workspace:FindFirstChild("Cells")
- if qe6c6b then
- R60823.LODSplitEach(qe6c6b)
- Ma6b979d99 = R60823.LODAddModels(qe6c6b, 200)
- end
- local x8f413d = workspace:FindFirstChild("Roads")
- if x8f413d then
- local j0b9e2 = R60823.LODSplitModel(x8f413d, 150)
- R60823.LODAddModels(x8f413d, 1000)
- end
- local h6d4a0709f = workspace:FindFirstChild("Railroad")
- if h6d4a0709f then
- local Mb607c2 = R60823.LODSplitModel(h6d4a0709f, 150)
- R60823.LODAddModels(h6d4a0709f, 800)
- end
- R60823.LODStart(0.06666666666666667)
- local function E89f99747886()
- if La47eb1308.CameraType == Enum.CameraType.Scriptable then
- local b81f0ad8b05c = La47eb1308.CFrame.p
- R60823.LODUpdateInterest(b81f0ad8b05c)
- return
- end
- local Yef66be89f59 = P0dd235.Character
- if not Yef66be89f59 then
- local D6524bca2e = La47eb1308.CFrame.p
- R60823.LODUpdateInterest(D6524bca2e)
- return
- end
- local E4588f = Yef66be89f59:FindFirstChild("HumanoidRootPart")
- if not E4588f then
- return
- end
- local Mcd00176 = Yef66be89f59:FindFirstChild("Humanoid")
- if not Mcd00176 then
- return
- end
- if Mcd00176.Health <= 0 then
- return
- end
- local l7b3c0e8b = E4588f.Position
- R60823.LODUpdateInterest(l7b3c0e8b)
- end
- je959b91a259(1, E89f99747886, "LOD Interest Update")
- function tc52b647c32.jlisgoer(y5e010)
- R60823.LODUpdateInterest(y5e010)
- end
- end
- local Bd2ee22ad
- do
- local b714bd144b = require(U3483e8be82.Module.RoundedBackingBuilder).new()
- b714bd144b:Create(Yb913835.Gamepass.ContainerFrame)
- local n157ba86b01b = 0
- function Bd2ee22ad(u8189133f3b)
- local fe3b2c5ef8 = u8189133f3b.PassId
- local m16dc0ec8 = n157ba86b01b + 1
- n157ba86b01b = m16dc0ec8
- if u8189133f3b.OldPassId then
- l1c1ea:PromptPurchase(P0dd235, u8189133f3b.OldPassId)
- else
- l1c1ea:PromptGamePassPurchase(P0dd235, fe3b2c5ef8)
- end
- Yb913835.Gamepass.ContainerFrame.TextLabel.Text = u8189133f3b.Text
- delay(0.2, function()
- if n157ba86b01b ~= m16dc0ec8 then
- return
- end
- Yb913835.Gamepass.Visible = true
- end)
- end
- local function x8b6e635c21e(w05ef168, j079267f, I4e414)
- local m76dfe67e = n157ba86b01b + 1
- n157ba86b01b = m76dfe67e
- delay(0.1, function()
- if n157ba86b01b ~= m76dfe67e then
- return
- end
- Yb913835.Gamepass.Visible = false
- end)
- end
- l1c1ea.PromptGamePassPurchaseFinished:Connect(x8b6e635c21e)
- l1c1ea.PromptPurchaseFinished:Connect(x8b6e635c21e)
- end
- mae40bfe.PromptPurchase = Bd2ee22ad
- do
- local rf01ed6ff69 = require(U3483e8be82.Module.Time)
- rf01ed6ff69.Init()
- require(U3483e8be82.Module.Confirmation).Init({ScreenGui = F8b87cc3})
- require(U3483e8be82.Module.Apartment)(mae40bfe)
- require(U3483e8be82.Module.Minimap).Init(mae40bfe)
- require(U3483e8be82.Module.StarterPack)(mae40bfe)
- require(U3483e8be82.Module.NetSync).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.TrainSystem).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.TrackSwitch).Init({Event = x730a4243, em = tc52b647c32})
- V4b1010f.Heli = require(U3483e8be82.Game.Vehicle.Heli)(mae40bfe)
- spawn(function()
- if D1f0f765 or b5f531(t2c57bc3d7.Perm.Dev) then
- local A9366efef = U3483e8be82.StarterGui.AdminHax:Clone()
- A9366efef.Parent = B56d7d189f78
- require(U3483e8be82.Game.AdminHax)(mae40bfe, A9366efef)
- end
- end)
- require(U3483e8be82.Game.Museum)(mae40bfe, q92cc9665d)
- require(U3483e8be82.Game.GunShop)(mae40bfe, G5be7dd6)
- require(U3483e8be82.Game.L18n)({ScreenGui = F8b87cc3, ProductGui = Yb913835})
- require(U3483e8be82.Game.Turbines).Init()
- require(U3483e8be82.Game.Level).Init({
- Event = x730a4243,
- em = tc52b647c32,
- ScreenGui = F8b87cc3,
- Team = Z68c6ed0
- })
- require(U3483e8be82.Game.AirDrop).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.Hologram).Init({em = tc52b647c32})
- require(U3483e8be82.Game.Codes).Init({
- ProductGui = Yb913835,
- MainWindowGroup = xa39293e9681,
- Event = x730a4243
- })
- require(U3483e8be82.Game.SecretBases).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.GameMode).Init({
- Event = x730a4243,
- em = tc52b647c32,
- ScreenGui = F8b87cc3
- })
- require(U3483e8be82.Game.Robbery.RobberyBank).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.Robbery.RobberyJewelry).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.Robbery.RobberyCargoTrain).Init({Event = x730a4243, em = tc52b647c32})
- require(U3483e8be82.Game.Robbery.RobberyPassengerTrain).Init({
- Event = x730a4243,
- em = tc52b647c32,
- ItemSystem = q92cc9665d,
- ScreenGui = F8b87cc3
- })
- local E7627663 = require(U3483e8be82.Game.Cell)
- E7627663.Init({
- ItemSystem = q92cc9665d,
- Inventory = G5be7dd6,
- Event = x730a4243,
- em = tc52b647c32,
- LOD = R60823,
- ScreenGui = F8b87cc3
- })
- require(U3483e8be82.Game.MilitaryBase).Init({Event = x730a4243, em = tc52b647c32})
- local Hb4b15 = require(U3483e8be82.Game.Vehicle)
- Hb4b15.Init({
- GetVehiclePacket = mae40bfe.GetVehiclePacket
- })
- local Jb77fd7501 = require(U3483e8be82.Game.Garage.GarageUI)
- Jb77fd7501.Init({
- GetScreenGui = X7cdb36f45,
- Event = x730a4243,
- em = tc52b647c32,
- ScreenGui = F8b87cc3,
- PromptPurchase = Bd2ee22ad
- })
- end
- local N519b66402 = require(U3483e8be82.Game.Paraglide)
- N519b66402.Init({Event = x730a4243, em = tc52b647c32})
- function tc52b647c32.qle8gybj()
- local u7aff343587a = U3483e8be82.StarterGui.KickGui:Clone()
- u7aff343587a.Parent = B56d7d189f78
- require(U3483e8be82.Module.KickGui)(mae40bfe, u7aff343587a)
- end
- local Yfc67fb5, D89615050e2, y3a53d36ba12
- local Ze9749acf = function(gc8ec8)
- local p072efed6871, of4f99d826, m954956ec = string.match(gc8ec8, "^([^%d]*%d)(%d*)(.-)$")
- return p072efed6871 .. of4f99d826:reverse():gsub("(%d%d%d)", "%1,"):reverse() .. m954956ec
- end
- local function R260ff17ff(gb0d0c9)
- local Wdd3886 = gb0d0c9 >= 0 and "" or "-"
- return Wdd3886 .. T3cd8cb:FormatByKey("General.Cash", {
- Ze9749acf(c107ae2f3(gb0d0c9))
- })
- end
- local M31c1c7110
- do
- local L289e0c = workspace.FindPartOnRayWithIgnoreList
- function M31c1c7110(K6cd2fa, R36a5f43548, ...)
- local Lcd67e0f43 = R36a5f43548.magnitude
- R36a5f43548 = R36a5f43548.unit
- local m9f028 = K6cd2fa
- local X3aade0 = 0
- local xb3b17 = {
- ...
- }
- local td12ff7, e514464, Y53de5 = nil, mcaa393d, mcaa393d
- local sa4efc = 0
- local F48f8dd01
- repeat
- sa4efc = sa4efc + 1
- local Q8c1ca = Ray.new(m9f028, R36a5f43548 * (Lcd67e0f43 - X3aade0))
- td12ff7, e514464, Y53de5 = L289e0c(workspace, Q8c1ca, xb3b17, false, true)
- F48f8dd01 = td12ff7 and td12ff7.CanCollide
- if not F48f8dd01 then
- table.insert(xb3b17, td12ff7)
- end
- X3aade0 = (K6cd2fa - e514464).magnitude
- m9f028 = e514464
- until F48f8dd01 or Lcd67e0f43 - X3aade0 <= 0.001 or sa4efc > 4
- if not td12ff7 then
- e514464, Y53de5 = K6cd2fa + R36a5f43548 * Lcd67e0f43, mcaa393d
- end
- return td12ff7, e514464, Y53de5
- end
- end
- local ea380ea38 = function(nc1427c1, k9d2ea241, m36f848)
- local W5c8d9c = {}
- for hcea9c2a909a, z3d58eea4749 in next, k9d2ea241, nil do
- local y179a5a313, L8595051e3, ze49e0 = z3d58eea4749, nc1427c1[hcea9c2a909a], nil
- if type(z3d58eea4749) == "number" then
- local sa532d71e36 = 1 - m36f848
- ze49e0 = sa532d71e36 * L8595051e3 + m36f848 * y179a5a313
- else
- ze49e0 = L8595051e3:lerp(y179a5a313, m36f848)
- end
- W5c8d9c[hcea9c2a909a] = ze49e0
- end
- return W5c8d9c
- end
- local Xd179a9b0fd, ea0d47802f2
- do
- local zb5920d0 = {}
- function Xd179a9b0fd(F6c9de1c8, n5f806f66a9, o3dc0b5306f8)
- if not n5f806f66a9.Source then
- return
- end
- n5f806f66a9.Play = true
- if not o3dc0b5306f8 then
- x730a4243:FireServer("l" .. ("k3urx4x"):sub(3, 3):reverse() .. "" .. "6whojb", F6c9de1c8, n5f806f66a9)
- end
- tc52b647c32.lu6whojb(P0dd235.Name, F6c9de1c8, n5f806f66a9)
- end
- function ea0d47802f2(Ycc6dfd, f49f3a70)
- local T81e8f8a9 = {}
- if not f49f3a70 then
- x730a4243:FireServer("l" .. ("mgz4hw6uf99"):sub(5, 8):reverse():reverse():reverse():reverse():reverse() .. "" .. "ojb", Ycc6dfd, T81e8f8a9)
- end
- tc52b647c32.lu6whojb(P0dd235.Name, Ycc6dfd, T81e8f8a9)
- end
- local Pef93d574 = 0
- function tc52b647c32.lu6whojb(xc6b0941971b, j696fcff3f, Z8f0eb)
- local S3877c1 = Z8f0eb.Source
- local g0d9da = Z8f0eb.Volume or 0.5
- local N07e1add = Z8f0eb.Pitch or 1
- local g720102 = Z8f0eb.MaxTime or 1
- local I4b38c9f12c7 = Z8f0eb.Looped
- local Ya18dc25ed6b = Z8f0eb.Play
- local O9d9c3c = Z8f0eb.TimeStart
- local J76e939 = Z8f0eb.Delay
- local pbc4792f9 = Z8f0eb.EmitterSize or 10
- if Z8f0eb.TimeStop then
- g720102 = O9d9c3c + Z8f0eb.TimeStop
- end
- local cc21264d1d = Pef93d574 + 1
- Pef93d574 = cc21264d1d
- local od9144 = Z8f0eb.Multi and ("%s_%s_%d"):format(xc6b0941971b, j696fcff3f, cc21264d1d) or ("%s_%s"):format(xc6b0941971b, j696fcff3f)
- local j1dee9e9e719 = zb5920d0[od9144]
- if j1dee9e9e719 then
- j1dee9e9e719.Object:Stop()
- j1dee9e9e719.Object:Destroy()
- zb5920d0[od9144] = nil
- end
- if not Ya18dc25ed6b then
- return
- end
- if not S3877c1 then
- return
- end
- local Ud2827e908 = t2c57bc3d7.Sounds[j696fcff3f]
- if not Ud2827e908 then
- return
- end
- local e2ec8d9a8 = Instance.new("Sound")
- e2ec8d9a8.SoundId = "rbxassetid://" .. Ud2827e908
- if O9d9c3c then
- e2ec8d9a8.TimePosition = O9d9c3c
- end
- if Z8f0eb.SoundGroup then
- e2ec8d9a8.SoundGroup = Z8f0eb.SoundGroup
- end
- e2ec8d9a8.Name = od9144
- e2ec8d9a8.Looped = I4b38c9f12c7
- e2ec8d9a8.Volume = g0d9da
- e2ec8d9a8.PlaybackSpeed = N07e1add
- e2ec8d9a8.EmitterSize = pbc4792f9
- e2ec8d9a8.MaxDistance = 400
- e2ec8d9a8.Parent = S3877c1
- if J76e939 then
- delay(J76e939, function()
- e2ec8d9a8:Play()
- end)
- else
- e2ec8d9a8:Play()
- end
- zb5920d0[od9144] = {Object = e2ec8d9a8, Proxy = cc21264d1d}
- local function nbad2a()
- local J7f6febe3 = zb5920d0[od9144]
- if not J7f6febe3 then
- return
- end
- if J7f6febe3.Proxy > cc21264d1d then
- return
- end
- J7f6febe3.Object:Stop()
- J7f6febe3.Object:Destroy()
- zb5920d0[od9144] = nil
- end
- delay(g720102, nbad2a)
- end
- end
- local function c773f9(l26f5a3e21c7)
- local Rc1e9c59 = Ld5062d032.MakeState()
- Rc1e9c59.Frame = g55ba5.Particles
- Ld5062d032.EasySimulate(Rc1e9c59, 4)
- local Ked19b9 = Rc1e9c59.Frame.AbsoluteSize
- local D42b047, S51a16d6807d = Ked19b9.X, Ked19b9.Y
- local function A99eb9e5(Ud8365c32)
- if l26f5a3e21c7 <= 4 or math.random() > 0.2 then
- Xd179a9b0fd("FireworkBang", {
- Source = F8b87cc3,
- Volume = 0.2 + math.random() * 0.3,
- Multi = true
- }, true)
- end
- end
- for ld1982498008 = 1, l26f5a3e21c7 do
- local z6a89c83f22 = S51a16d6807d * 0.3 + S51a16d6807d * 0.6 * math.random()
- local X1d6a4c4 = V9f61cf07b(0, -400, 0) + B18678a7ef.Uniform2D(150)
- local jd2554d43f = (S51a16d6807d - z6a89c83f22) / X1d6a4c4.magnitude
- local I4ab0a0 = Ld5062d032.Firework(Rc1e9c59, V9f61cf07b(math.random() * D42b047, S51a16d6807d, 0), X1d6a4c4, mcaa393d)
- I4ab0a0.ttl = jd2554d43f
- I4ab0a0.OnDestroy = A99eb9e5
- wait(0.1 + math.random() * 0.1 * 0.5)
- end
- end
- function tc52b647c32.t5veyju8(ka9efc949)
- assert(ka9efc949 <= 50)
- c773f9(ka9efc949)
- end
- mae40bfe.Fireworks = c773f9
- require(U3483e8be82.Game.Party).Init({Fireworks = c773f9})
- local function w23322886d67(Aadf7a7)
- x730a4243:FireServer("p" .. ("inz09fu8"):sub(3, 5):reverse():reverse():reverse() .. "" .. "iugp", Aadf7a7.Name)
- end
- function tc52b647c32.ejepbmzt(b9536c123)
- if b9536c123.Bribed then
- tc52b647c32.pib8a20m({
- Title = "Arrest",
- Text = ("You are bribed! Wait %d seconds."):format(b9536c123.Bribed)
- })
- end
- end
- local function B0c74cf1(r5307d01b9f)
- x730a4243:FireServer("x" .. "" .. ("l5j6tt"):sub(5, 5):reverse():reverse():reverse() .. "" .. "" .. ("vkhprlmwr"):sub(4, 7):reverse():reverse():reverse() .. "" .. "yd", r5307d01b9f.Name)
- end
- local function s2d8996(w54b0d197ed)
- x730a4243:FireServer("u" .. "" .. ("ijl3mu"):sub(4, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("bkpqz1kk"):sub(4, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "jy0a", w54b0d197ed.Name)
- end
- local function m3c41d2ab95(K4ecc7492)
- x730a4243:FireServer("e" .. ("ufylmoi"):sub(5, 6):reverse() .. "" .. "t8ke8", K4ecc7492.Name)
- end
- function tc52b647c32.f5vyqnp2(X63a9aa9c4)
- if X63a9aa9c4.Cooldown then
- tc52b647c32.pib8a20m({
- Title = "Breakout",
- Text = ("Wait %d seconds."):format(X63a9aa9c4.Cooldown)
- })
- end
- end
- local function r77406f7d5cc(h471db)
- x730a4243:FireServer("j" .. ("sq2lqydxb3u"):sub(4, 7):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("byruq4uc"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "u", h471db)
- end
- local function V77a328e210(e6095ada0fc0)
- x730a4243:FireServer("t" .. "mf0xb1c", e6095ada0fc0)
- end
- do
- local X4533e85 = require(U3483e8be82.Game.Bullets)
- function tc52b647c32.hxfxk23t(te1b6f8115ce)
- for Uc1aa4, t733e2bb92 in next, te1b6f8115ce, nil do
- local ed5b6080b = j8188c1640:FindFirstChild(Uc1aa4)
- if ed5b6080b then
- local R94871102ec = ed5b6080b.Character
- if R94871102ec then
- local gda5b5811b6 = R94871102ec:FindFirstChild("Head")
- if gda5b5811b6 then
- X4533e85.DisplayDamage(Uc1aa4, R94871102ec.Head, math.floor(t733e2bb92 + 0.5))
- end
- end
- end
- end
- end
- end
- local k96cdb8, K960321991
- function k96cdb8()
- return {
- StartPosition = nil,
- Position = mcaa393d,
- TargetPosition = nil,
- LookVector = V9f61cf07b(0, 0, -1),
- TargetFocus = nil,
- TargetLookVector = nil
- }
- end
- function K960321991(X1e72e34, f5758d, sb885f2af, fdbaea66ee3)
- if X1e72e34.TargetPosition then
- if X1e72e34.StartPosition then
- X1e72e34.Position = X1e72e34.StartPosition * (1 - sb885f2af) + X1e72e34.TargetPosition * sb885f2af
- else
- X1e72e34.Position = X1e72e34.Position + (X1e72e34.TargetPosition - X1e72e34.Position) * f5758d * sb885f2af
- end
- end
- local o6303cf = X1e72e34.TargetLookVector
- if X1e72e34.TargetFocus then
- o6303cf = (X1e72e34.TargetFocus - X1e72e34.Position).unit
- end
- if o6303cf then
- X1e72e34.LookVector = X1e72e34.LookVector + (o6303cf - X1e72e34.LookVector) * f5758d * fdbaea66ee3
- end
- La47eb1308.CFrame = Oac73c1cdd(mcaa393d, X1e72e34.LookVector) + X1e72e34.Position
- end
- local y2fdba, S533635c9
- do
- local C84090692ac = tick()
- local e464ef1b5 = false
- local function Cca1ef9()
- if e464ef1b5 then
- e464ef1b5 = false
- local D90f6a7 = tick() - C84090692ac
- x730a4243:FireServer("z" .. "" .. ("hivs"):sub(2, 2):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("o0zv5gbsdi"):sub(2, 6):reverse():reverse():reverse() .. "" .. "p", D90f6a7)
- end
- end
- local h26a0d0455f = tick()
- function y2fdba()
- if tick() - h26a0d0455f < 0.1 then
- return
- end
- h26a0d0455f = tick()
- if e464ef1b5 then
- Cca1ef9()
- end
- e464ef1b5 = true
- C84090692ac = tick()
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- Gd8c378a9ce.Nitro = true
- Xd179a9b0fd("Nitro1", {
- Source = Gd8c378a9ce.Nitrous[1].Parent,
- TimeStart = 0.5,
- Volume = 1
- })
- Xd179a9b0fd("NitroLoop", {
- Source = Gd8c378a9ce.Nitrous[1].Parent,
- Looped = true,
- MaxTime = 30,
- Volume = 1,
- Delay = 0.3
- })
- for Q5a9db7a84c6, Ndc722 in next, Gd8c378a9ce.Nitrous, nil do
- Ndc722.Enabled = true
- end
- end
- x730a4243:FireServer("x" .. ("c2qugdq1"):sub(3, 5):reverse():reverse():reverse() .. "" .. "zi6x")
- if m445e22a.Nitro / m445e22a.NitroLastMax <= 0.01 then
- tc52b647c32.iyx9po0r(true, true)
- end
- end
- function S533635c9()
- ea0d47802f2("NitroLoop")
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- Gd8c378a9ce.Nitro = false
- if Gd8c378a9ce.Nitrous then
- for A909fb1, Ja4b55b in next, Gd8c378a9ce.Nitrous, nil do
- Ja4b55b.Enabled = false
- end
- end
- end
- Cca1ef9()
- x730a4243:FireServer("w" .. ("ag9hbpgjdzy9"):sub(4, 8):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("qgqyuxg"):sub(4, 4):reverse():reverse():reverse() .. "" .. "8")
- end
- function tc52b647c32.b1mauira(E4ccf0022b2a, Xabe209)
- m445e22a.Nitro = E4ccf0022b2a
- m445e22a.NitroLastMax = Xabe209
- m445e22a.NitroForceUIUpdate = true
- Yb913835.Nitro.Body.Bar.Value.Size = UDim2.new(E4ccf0022b2a / t2c57bc3d7.Scalar.NitroMax, 0, 1, 0)
- Yb913835.Nitro.Body.Bar.TextLabel.Text = ("%d/%d Fuel"):format(E4ccf0022b2a, t2c57bc3d7.Scalar.NitroMax)
- end
- end
- local d7a9130a0c71 = 0
- local k8156fcd9ec = mcaa393d
- do
- local Badae1
- x2617913940.Stepped:Connect(function(Rb8beda49, c6eb73)
- local rf24eff5 = tick()
- local Ae107bfa3 = Badae1 and rf24eff5 - Badae1 or 0
- Badae1 = rf24eff5
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- if Gd8c378a9ce.Type == "Chassis" then
- V4b1010f.Chassis.UpdatePrePhysics(Gd8c378a9ce, Ae107bfa3)
- elseif Gd8c378a9ce.Type == "Motorcycle" or Gd8c378a9ce.Type == "DuneBuggy" then
- V4b1010f.Chassis2.UpdateHQ(Gd8c378a9ce, Ae107bfa3)
- elseif Gd8c378a9ce.Type == "Custom" and Gd8c378a9ce.Make == "Volt" then
- V4b1010f.Volt.UpdatePrePhysics(Gd8c378a9ce, Ae107bfa3)
- end
- end
- end)
- end
- local Ee72a5
- x2617913940.Heartbeat:connect(function()
- local i54ac2c30b1 = tick()
- local h4cdfd4 = Ee72a5 and i54ac2c30b1 - Ee72a5 or 0
- Ee72a5 = i54ac2c30b1
- Ve07a63ea.profilebegin("Vehicle Updates")
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- if Gd8c378a9ce.Type == "Chassis" then
- V4b1010f.Chassis.UpdatePostPhysics(Gd8c378a9ce, h4cdfd4)
- elseif Gd8c378a9ce.Type == "Heli" then
- V4b1010f.Heli.Update(Gd8c378a9ce, h4cdfd4)
- end
- end
- Ve07a63ea.profileend()
- local M494ad7 = q92cc9665d.Equipped[P0dd235.Name]
- if M494ad7 and M494ad7.Name == "Binoculars" and M494ad7.MouseDown then
- local pfa000f58cb = 0.6
- local f7b7f41e = F8b87cc3.AbsoluteSize.X + 40
- local x5a718 = F8b87cc3.AbsoluteSize.Y
- F8b87cc3.Binoculars.ImageLabel.Size = UDim2.new(0, f7b7f41e, 0, f7b7f41e * pfa000f58cb)
- F8b87cc3.Binoculars.ImageLabel.Position = UDim2.new(0.5, -f7b7f41e * 0.5, 0.5, -f7b7f41e * pfa000f58cb * 0.5)
- F8b87cc3.Binoculars.BarTop.Size = UDim2.new(1, 0, 0, (x5a718 - f7b7f41e * pfa000f58cb) * 0.5 + 20)
- F8b87cc3.Binoculars.BarBottom.Size = UDim2.new(1, 0, 0, (x5a718 - f7b7f41e * pfa000f58cb) * 0.5 + 20)
- F8b87cc3.Binoculars.BarBottom.Position = UDim2.new(0, 0, 1, -((x5a718 - f7b7f41e * pfa000f58cb) * 0.5 + 20))
- F8b87cc3.Binoculars.Visible = true
- La47eb1308.FieldOfView = 20
- elseif F8b87cc3.Binoculars.Visible then
- F8b87cc3.Binoculars.Visible = false
- La47eb1308.FieldOfView = 70
- end
- local V40d6f2b504, dee1aa3038a = Zc047d2ac8.X, Zc047d2ac8.Y
- Ve07a63ea.profilebegin("Camera Looking")
- local afc5ae6e209a = La47eb1308:ScreenPointToRay(V40d6f2b504, dee1aa3038a)
- k8156fcd9ec = k8156fcd9ec + (afc5ae6e209a.Origin + afc5ae6e209a.Direction * 30 - k8156fcd9ec) * 0.2
- local sff9e8 = P0dd235.Character
- if sff9e8 then
- local aa31f74bd0 = sff9e8:FindFirstChild("HumanoidRootPart")
- if aa31f74bd0 then
- local h533c4ee = sff9e8:FindFirstChild("Head")
- local U38189bd = sff9e8:FindFirstChild("UpperTorso")
- if h533c4ee and U38189bd then
- local Zae24ed55d = U38189bd:FindFirstChild("Waist")
- local yae9b0d4c839 = h533c4ee:FindFirstChild("Neck")
- if Zae24ed55d and yae9b0d4c839 then
- local Ie7e8f797f0, b080e7c25f = 0, 0
- local Q6ad81, Dadbaf95
- Ve07a63ea.profilebegin("Calculate looking")
- if not A8cf606e2 then
- local a838b34a2 = aa31f74bd0.CFrame.lookVector
- local lb4c034ddfb2 = (La47eb1308.CFrame * k507e291f(0.2, 0, 0)).lookVector
- if B18678a7ef.IsNaNv3(lb4c034ddfb2) then
- lb4c034ddfb2 = V9f61cf07b(0, 0, -1)
- end
- local Dd3894e = 1
- Ie7e8f797f0, b080e7c25f = a838b34a2:Dot(lb4c034ddfb2:Cross(V9f61cf07b(0, 1, 0))), math.asin(lb4c034ddfb2.Y)
- if Gd8c378a9ce and (not Gd8c378a9ce.Passenger or Gd8c378a9ce.NoLook) or q92cc9665d.Equipped[P0dd235.Name] then
- Ie7e8f797f0, b080e7c25f = 0, 0
- end
- if B18678a7ef.IsNaN(Ie7e8f797f0) then
- Ie7e8f797f0 = 0
- end
- if B18678a7ef.IsNaN(b080e7c25f) then
- b080e7c25f = 0
- end
- Q6ad81 = Oac73c1cdd(Zae24ed55d.C1.p) * k507e291f(0, -Ie7e8f797f0 * 0.5 * Dd3894e, 0) * k507e291f(-b080e7c25f * 0.2 * Dd3894e, 0, 0)
- Dadbaf95 = Oac73c1cdd(yae9b0d4c839.C1.p) * k507e291f(-b080e7c25f * 0.5 * Dd3894e, 0, 0) * k507e291f(0, -Ie7e8f797f0 * 0.5 * Dd3894e, 0)
- else
- Q6ad81 = Oac73c1cdd(Zae24ed55d.C1.p)
- Dadbaf95 = Oac73c1cdd(yae9b0d4c839.C1.p)
- end
- if B18678a7ef.IsNaNcf(Q6ad81) then
- Q6ad81 = Oac73c1cdd(Zae24ed55d.C1.p)
- end
- if B18678a7ef.IsNaNcf(Dadbaf95) then
- Dadbaf95 = Oac73c1cdd(yae9b0d4c839.C1.p)
- end
- Zae24ed55d.C1 = Q6ad81
- yae9b0d4c839.C1 = Dadbaf95
- if i54ac2c30b1 - d7a9130a0c71 >= 0.4 then
- d7a9130a0c71 = i54ac2c30b1
- if B18678a7ef.IsNaN(Ie7e8f797f0) then
- Ie7e8f797f0 = 0
- end
- if B18678a7ef.IsNaN(b080e7c25f) then
- b080e7c25f = 0
- end
- if tc52b647c32.hems then
- x730a4243:FireServer("f" .. "" .. ("f863arpr"):sub(3, 4):reverse() .. "" .. "" .. ("jr8ky"):sub(3, 3):reverse() .. "" .. "" .. ("b2gke"):sub(2, 3):reverse() .. "" .. "94", Ie7e8f797f0, b080e7c25f)
- end
- end
- Ve07a63ea.profileend()
- end
- end
- end
- end
- for O4ef3f7e, Aee63254c9dc in next, s24832, nil do
- local mc25a5bc, raf36a74 = B18678a7ef.Spring(Aee63254c9dc.HeadingSpring)
- local D3564c1e, E2851a2ee9b = B18678a7ef.Spring(Aee63254c9dc.PitchSpring)
- local sa87ed, Ra518d
- local A3708af309 = Aee63254c9dc.Waist
- if A3708af309 then
- sa87ed = Oac73c1cdd(A3708af309.C1.p) * k507e291f(-D3564c1e * 0.2, -mc25a5bc * 0.5, 0)
- if B18678a7ef.IsNaNcf(sa87ed) then
- sa87ed = pcdd597f98
- end
- A3708af309.C1 = sa87ed
- end
- local Nae9da = Aee63254c9dc.Neck
- if Nae9da then
- Ra518d = Oac73c1cdd(Nae9da.C1.p) * k507e291f(-D3564c1e * 0.5, -mc25a5bc * 0.5, 0)
- if B18678a7ef.IsNaNcf(Ra518d) then
- Ra518d = pcdd597f98
- end
- Nae9da.C1 = Ra518d
- end
- end
- Ve07a63ea.profileend()
- X0501d6bd4d.CircleAction.Update(h4cdfd4)
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger and Gd8c378a9ce.Type ~= "Heli" then
- local m9ea2049 = false
- if Gd8c378a9ce.Type ~= "Heli" and not F8b87cc3.Nitro.Visible then
- F8b87cc3.Nitro.Visible = true
- m9ea2049 = true
- end
- if m445e22a.NitroForceUIUpdate then
- m445e22a.NitroForceUIUpdate = false
- m9ea2049 = true
- end
- if Gd8c378a9ce.Nitro then
- m9ea2049 = true
- m445e22a.Nitro = m445e22a.Nitro - h4cdfd4 * 5
- end
- if 0 > m445e22a.Nitro then
- m9ea2049 = true
- m445e22a.Nitro = 0
- S533635c9()
- end
- if m9ea2049 then
- local df5b5b0f1c9 = m445e22a.Nitro / t2c57bc3d7.Scalar.NitroMax
- F8b87cc3.Nitro.Value.Size = UDim2.new(1, 0, df5b5b0f1c9, 0)
- F8b87cc3.Nitro.Value.Position = UDim2.new(0, 0, 1 - df5b5b0f1c9, 0)
- end
- elseif F8b87cc3.Nitro.Visible then
- F8b87cc3.Nitro.Visible = false
- end
- end)
- local function k074eae51a(D252cc, Zf692c7)
- local x9d10f6e, Bfb2fecea, Sa03585 = D252cc.Model, D252cc.Height, D252cc.IKP
- if not x9d10f6e then
- return
- end
- local o731970c6596 = x9d10f6e:FindFirstChild("Engine")
- if not o731970c6596 then
- return
- end
- local a53bf4d = (o731970c6596.Position - La47eb1308.CFrame.p).magnitude
- if a53bf4d > 350 then
- return false
- end
- local G9e64b5f9c7 = o731970c6596.CFrame:vectorToObjectSpace(o731970c6596.Velocity)
- local f3107e4271f = G9e64b5f9c7.Z * Zf692c7
- local d2f026146b2e = D252cc.WheelRotation + f3107e4271f / (x9d10f6e.WheelFrontRight.Wheel.Size.Y * 0.5 * math.pi)
- d2f026146b2e = d2f026146b2e % (2 * math.pi)
- D252cc.WheelRotation = d2f026146b2e
- V4b1010f.Chassis.UpdateWheelLowQuality(x9d10f6e, Bfb2fecea, D252cc.PartFrontRight, d2f026146b2e)
- V4b1010f.Chassis.UpdateWheelLowQuality(x9d10f6e, Bfb2fecea, D252cc.PartFrontLeft, d2f026146b2e)
- V4b1010f.Chassis.UpdateWheelLowQuality(x9d10f6e, Bfb2fecea, D252cc.PartBackRight, d2f026146b2e)
- V4b1010f.Chassis.UpdateWheelLowQuality(x9d10f6e, Bfb2fecea, D252cc.PartBackLeft, d2f026146b2e)
- V4b1010f.Chassis.UpdateSoundLowQuality(D252cc, D252cc.Gears, G9e64b5f9c7)
- local Veb2e8d = c107ae2f3(G9e64b5f9c7.X)
- if Veb2e8d > 10 then
- D252cc.Sounds.DriftSqueal.Volume = math.min((Veb2e8d - 10) / 4, 0.3)
- else
- D252cc.Sounds.DriftSqueal.Volume = 0
- end
- if not Sa03585 then
- local gcd2c55fb8ab = D252cc.PlayerName
- local K301c8ae1 = j8188c1640:FindFirstChild(gcd2c55fb8ab)
- if not K301c8ae1 then
- return
- end
- local Z7a820fecf52 = K301c8ae1.Character
- if not Z7a820fecf52 then
- return
- end
- local z4d9653b34 = Z7a820fecf52:FindFirstChild("Humanoid")
- if not z4d9653b34 then
- return false
- end
- local udf75290ace = z4d9653b34.RootPart
- if not udf75290ace then
- return false
- end
- Sa03585 = e8d42fa58.BuildPacketArms(Z7a820fecf52)
- D252cc.IKP = Sa03585
- end
- local X4271d = 0.7 * o731970c6596.RotVelocity.Y
- if D252cc.WeldSteer and Sa03585 then
- D252cc.WeldSteer.C0 = k507e291f(0, X4271d, 0)
- local k033616a = x9d10f6e.Steer.CFrame
- local C36cef443 = Sa03585
- C36cef443.RightArm = k033616a * V9f61cf07b(0.8, 0.1, 0)
- C36cef443.RightAngle = -X4271d
- C36cef443.LeftArm = k033616a * V9f61cf07b(-0.8, 0.1, 0)
- C36cef443.LeftAngle = -X4271d
- e8d42fa58.Arms(C36cef443)
- end
- end
- local function re40d8f5c87c(N5597d281ca, n023f851d)
- local Y0363066 = N5597d281ca.Model
- if not Y0363066 then
- return
- end
- local t70853c6e = Y0363066:FindFirstChild("Engine")
- if not t70853c6e then
- return
- end
- local Pe0b68a79c25 = N5597d281ca.Make
- if N5597d281ca.HasProp then
- V4b1010f.Heli.SpinProp(N5597d281ca, n023f851d)
- end
- end
- local function w97e4535(d0053ec29109, Vf1530a)
- local U89e81 = d0053ec29109.IKP
- V4b1010f.Chassis2.UpdateLQ(d0053ec29109, Vf1530a)
- end
- local nf031f84e7, Xc80473a5de1, Y47a91024
- do
- local gffcd08bdea = require(U3483e8be82.Module.AlexRagdoll)
- Y47a91024 = false
- local J2c45a41 = 0
- local Wb702d5b164 = 0
- local Ff7377e4b = false
- local y11c652e14 = true
- local function L6b8eefa()
- if not Y47a91024 then
- return
- end
- local e4d53f3c84 = tick()
- local Aad316a28ed = e4d53f3c84 - J2c45a41
- if Aad316a28ed >= 2 and not Ff7377e4b then
- local Z548186fb78e = P0dd235.Character
- local o37a5e3796ad = Z548186fb78e:FindFirstChild("HumanoidRootPart")
- if not o37a5e3796ad then
- y11c652e14 = false
- return
- end
- local Gc31647d = Z548186fb78e:FindFirstChild("UpperTorso")
- if not Gc31647d then
- return false
- end
- local y5945e64f9d = Ray.new(Gc31647d.Position, Vector3.new(0, -8, 0))
- local dc2f6432d, U43e663bc2 = workspace:FindPartOnRay(y5945e64f9d, Z548186fb78e)
- if dc2f6432d then
- Ff7377e4b = true
- Wb702d5b164 = e4d53f3c84 + 1.5
- end
- end
- if e4d53f3c84 >= Wb702d5b164 then
- Ff7377e4b = false
- y11c652e14 = false
- x730a4243:FireServer("d" .. "" .. ("ar9ok"):sub(3, 3):reverse():reverse():reverse() .. "" .. "" .. ("t2gt6o4vgnr3"):sub(4, 8):reverse() .. "" .. "w")
- end
- end
- function Xc80473a5de1()
- if Y47a91024 and y11c652e14 then
- L6b8eefa()
- end
- end
- function nf031f84e7()
- if Y47a91024 then
- return
- end
- if N519b66402.IsFlying() then
- return false
- end
- local yc23434d = P0dd235.Character
- if not yc23434d then
- return
- end
- if Gd8c378a9ce then
- return
- end
- local L39520b8 = yc23434d:FindFirstChild("HumanoidRootPart")
- if not L39520b8 then
- return
- end
- local Za0c83c5 = yc23434d:FindFirstChild("Humanoid")
- if not Za0c83c5 then
- return
- end
- if Za0c83c5.Health <= 4 then
- return
- end
- if Za0c83c5.PlatformStand then
- return
- end
- local nd65310d7 = q92cc9665d.Equipped[P0dd235.Name]
- if nd65310d7 and nd65310d7.Locked then
- return
- end
- local A893aa54 = L39520b8.Velocity.magnitude
- Wb702d5b164 = tick() + 5
- Y47a91024 = true
- y11c652e14 = true
- J2c45a41 = tick()
- local function kab1df3b()
- local z3a82975 = false
- local La592686 = yc23434d:FindFirstChild("HumanoidRootPart")
- if not La592686 then
- z3a82975 = true
- end
- if Gd8c378a9ce then
- z3a82975 = true
- end
- if z3a82975 then
- Y47a91024 = false
- return
- end
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- gffcd08bdea.Ragdoll(yc23434d)
- x730a4243:FireServer("r" .. ("vf451gjw"):sub(3, 7):reverse():reverse():reverse():reverse():reverse() .. "" .. "uu")
- end
- delay(0.1, kab1df3b)
- end
- function tc52b647c32.d9v4o6tw(Eb556d447f57)
- y11c652e14 = false
- if Eb556d447f57 then
- local i85b3f = P0dd235.Character
- gffcd08bdea.Unragdoll(i85b3f)
- wait(0.5)
- end
- Y47a91024 = false
- end
- end
- local Fff61159b0 = 0
- local B8e90f5a2
- do
- local Sa08c6fc = 0
- function B8e90f5a2(k8226c8db)
- local zfb7d2 = tick()
- if zfb7d2 - Sa08c6fc < 0.1 then
- return false
- end
- Sa08c6fc = zfb7d2
- Fff61159b0 = k8226c8db
- local mde58bf566 = q92cc9665d.Equipped[P0dd235.Name]
- if mde58bf566 and mde58bf566.Locked then
- return false
- end
- if A8cf606e2 then
- return false
- end
- if Y47a91024 then
- return false
- end
- local ob07a62217e = P0dd235.Character
- if not ob07a62217e then
- return false
- end
- local j8dd8ca447e = ob07a62217e:FindFirstChild("Humanoid")
- if not j8dd8ca447e then
- return false
- end
- if j8dd8ca447e.Health <= 0 then
- return false
- end
- local neb582655 = G5be7dd6.ItemStacks[k8226c8db]
- local q8757a6f127 = false
- local Z151fc41 = false
- local e26cf5bb73a = true
- if Gd8c378a9ce then
- e26cf5bb73a = false
- if Gd8c378a9ce.Seat:FindFirstChild("Items") then
- e26cf5bb73a = true
- elseif Gd8c378a9ce.Seat:FindFirstChild("Lean") and neb582655 and neb582655.Type == "Gun" then
- q8757a6f127 = true
- Z151fc41 = 0 < Gd8c378a9ce.Model.Engine.CFrame:pointToObjectSpace(Gd8c378a9ce.Seat.Position).X
- e26cf5bb73a = true
- end
- end
- if not e26cf5bb73a then
- return false
- end
- if mde58bf566 and (not neb582655 or mde58bf566.Type == neb582655.Type and mde58bf566.Name == neb582655.Name) then
- if mde58bf566.Type == "Gun" and mde58bf566.Leaning then
- x730a4243:FireServer("r" .. ("og6y490p4xg"):sub(4, 7):reverse() .. "" .. "" .. ("fsw8ol"):sub(4, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "wv", false)
- tc52b647c32.boznkuxd(P0dd235.Name, "GunLean", false)
- end
- q92cc9665d.Unequip()
- elseif neb582655 then
- q92cc9665d.Equip(neb582655)
- if q8757a6f127 then
- x730a4243:FireServer("r" .. ("l8y490d"):sub(2, 6):reverse():reverse():reverse() .. "" .. "wv", true, Z151fc41)
- tc52b647c32.boznkuxd(P0dd235.Name, "GunLean", true, Z151fc41)
- end
- local i611bfce243 = P0dd235.Character
- if i611bfce243 then
- local i36a67c4c4 = i611bfce243:FindFirstChild("HumanoidRootPart")
- Xd179a9b0fd("Equip", {Source = i36a67c4c4, Volume = 0.8})
- end
- end
- end
- end
- local obec209d70d, l54311b25d, ea3691011, j0ad3b81ec12
- function obec209d70d()
- return {}
- end
- function ea3691011(A290dfa213b3, K6a06267)
- for f3c219f2a70 = #A290dfa213b3, 1, -1 do
- if A290dfa213b3[f3c219f2a70] == K6a06267 then
- return table.remove(A290dfa213b3, f3c219f2a70)
- end
- end
- end
- function l54311b25d(T17b170ac4, u854e24a38)
- ea3691011(T17b170ac4, u854e24a38)
- table.insert(T17b170ac4, u854e24a38)
- end
- function j0ad3b81ec12(Q0628b)
- return Q0628b[#Q0628b]
- end
- local u34188d6ff1f
- u34188d6ff1f = obec209d70d()
- local k3bd3a20f61c
- do
- local f7834ef388e9 = F8b87cc3:WaitForChild("Radio")
- local function i8b529e0f()
- f7834ef388e9.Visible = true
- end
- local function u17a50()
- f7834ef388e9.Visible = false
- end
- k3bd3a20f61c = E8df386a5d.MakeWindow()
- k3bd3a20f61c.OpenFun = i8b529e0f
- k3bd3a20f61c.CloseFun = u17a50
- E8df386a5d.WindowGroupAdd(xa39293e9681, k3bd3a20f61c)
- local function Jb6ab01c()
- local z7b3ec6b = f7834ef388e9.TextBox
- local Gdf279 = z7b3ec6b.Text:match("%d+")
- if not Gdf279 then
- return
- end
- local I9cb3d6a4e5 = P0dd235.Character:FindFirstChild("HumanoidRootPart")
- if not I9cb3d6a4e5 then
- return
- end
- x730a4243:FireServer("r" .. ("q0mco"):sub(2, 3):reverse() .. "" .. "" .. ("b9byqa8f5gz"):sub(5, 7):reverse() .. "" .. "" .. ("g3rp9bwu"):sub(5, 5):reverse() .. "" .. "9", Gdf279)
- end
- local function ecc30cc8e6c()
- local z019a7 = P0dd235.Character:FindFirstChild("HumanoidRootPart")
- if not z019a7 then
- return
- end
- x730a4243:FireServer("t" .. "" .. ("tq48y5pq6s"):sub(4, 7):reverse() .. "" .. "cnc")
- end
- local function A842f3cf5fb0()
- local z384b76 = l1c1ea:UserOwnsGamePassAsync(P0dd235.UserId, t2c57bc3d7.Gamepass.Stereo.PassId)
- if not z384b76 then
- Bd2ee22ad(t2c57bc3d7.Gamepass.Stereo)
- return
- end
- return Jb6ab01c()
- end
- f7834ef388e9.Play.MouseButton1Down:connect(A842f3cf5fb0)
- f7834ef388e9.Stop.MouseButton1Down:connect(ecc30cc8e6c)
- f7834ef388e9.Close.MouseButton1Down:connect(u17a50)
- local Kf14984b3c8 = {
- Bass = {Scalar = 0.5}
- }
- local Zbdeac = 0
- local function ne5cc35(G4f06965a, Oda0ce)
- local q6aca007cf66 = Kf14984b3c8[G4f06965a]
- local d6fb4e = f7834ef388e9[G4f06965a .. "Level"]
- d6fb4e.TextButton.MouseButton1Down:connect(function(Cad43a2, D964d024bafa)
- q6aca007cf66.MinY = d6fb4e.AbsolutePosition.Y + 5
- q6aca007cf66.MaxY = q6aca007cf66.MinY + d6fb4e.AbsoluteSize.Y - d6fb4e.TextButton.AbsoluteSize.Y + 5
- local C2116bbd = Zbdeac + 1
- Zbdeac = C2116bbd
- while Zbdeac == C2116bbd do
- local A1a4ac6cc22 = Zc047d2ac8.y + 5
- A1a4ac6cc22 = A1a4ac6cc22 < q6aca007cf66.MinY and q6aca007cf66.MinY or A1a4ac6cc22 > q6aca007cf66.MaxY and q6aca007cf66.MaxY or A1a4ac6cc22
- local s4942d7b9e = (A1a4ac6cc22 - q6aca007cf66.MinY) / (q6aca007cf66.MaxY - q6aca007cf66.MinY)
- q6aca007cf66.Scalar = s4942d7b9e
- Oda0ce(G4f06965a, s4942d7b9e)
- d6fb4e.TextButton.Position = UDim2.new(0.5, -15, 0, A1a4ac6cc22 - q6aca007cf66.MinY - 5)
- x2617913940.Stepped:wait()
- end
- end)
- end
- G5dbe1b49.InputEnded:connect(function(re89a145f)
- if re89a145f.UserInputType == Enum.UserInputType.MouseButton1 then
- Zbdeac = Zbdeac + 1
- end
- end)
- local j665b8 = Uea1a8.Music
- local C58a23af3, xf6e9ff0 = 0, 10
- local q06bb8cd380, pd33f5 = 0, 3
- local e677908a44f, V5f76f236 = 0, 3
- local function Vd79c50109(M706e22ba2, n9476360c)
- local be94df = 2 * n9476360c - 1
- n9476360c = be94df ^ 3 * 0.5 + 0.5
- local lb2ec04c4d = 1 - n9476360c
- if M706e22ba2 == "Bass" then
- local Hc02fee33 = n9476360c * (C58a23af3 - xf6e9ff0 * 0.5) + lb2ec04c4d * (C58a23af3 + xf6e9ff0 * 0.5)
- local Bda600 = lb2ec04c4d * (q06bb8cd380 - pd33f5 * 0.5) + n9476360c * (q06bb8cd380 + pd33f5 * 0.5)
- local Le2c0a8175 = lb2ec04c4d * (q06bb8cd380 - pd33f5 * 0.5) + n9476360c * (q06bb8cd380 + pd33f5 * 0.5)
- j665b8.EqualizerSoundEffect.LowGain = Hc02fee33
- j665b8.EqualizerSoundEffect.MidGain = Bda600
- j665b8.EqualizerSoundEffect.HighGain = Le2c0a8175
- end
- end
- ne5cc35("Bass", Vd79c50109)
- end
- mae40bfe.RadioWindow = k3bd3a20f61c
- local Ibe8f9b15d6, P743e8e748f5
- do
- local c80898149f62 = 0
- function Ibe8f9b15d6()
- local k13fa3 = tick()
- if k13fa3 - c80898149f62 < 0.15 then
- return
- end
- c80898149f62 = k13fa3
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- if b5f531(t2c57bc3d7.Perm.InjanHorn) then
- Xd179a9b0fd("InjanHorn", {
- Source = Gd8c378a9ce.Model.Engine,
- Volume = 1
- })
- else
- local k6af17bfb = 0.96
- Xd179a9b0fd("Horn", {
- Source = Gd8c378a9ce.Model.Engine,
- Volume = 0.3,
- Pitch = k6af17bfb,
- MaxTime = 8
- })
- end
- end
- end
- function P743e8e748f5()
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- ea0d47802f2("Horn")
- end
- end
- end
- local If16e163c25 = Instance.new("Animation")
- If16e163c25.AnimationId = "rbxassetid://685258011"
- local H0e2e60069, zde1a0bb97
- zde1a0bb97 = {}
- do
- local s3fc43871 = Instance.new("Animation")
- s3fc43871.AnimationId = "rbxassetid://758003506"
- table.insert(zde1a0bb97, s3fc43871)
- local Dc1bf3fea6 = Instance.new("Animation")
- Dc1bf3fea6.AnimationId = "rbxassetid://758005053"
- table.insert(zde1a0bb97, Dc1bf3fea6)
- end
- local Ge6a54987
- local H66d77c18f4 = tick()
- local ub5d5d31b = tick()
- local p5d8761 = {
- 0,
- 0,
- 0
- }
- local function jbb6e121(ga545750d779, N91451a, C4763a780ed4)
- local Vdc63f1cce = ga545750d779.Name
- if N91451a then
- if Vdc63f1cce == "Sprint" then
- n4e0e1aa54c7 = true
- elseif Vdc63f1cce == "Crawl" then
- do
- local O417601f8 = P0dd235.Character
- if not O417601f8 then
- return
- end
- local ra4cf0c = O417601f8:FindFirstChild("Humanoid")
- if not ra4cf0c then
- return
- end
- if not H0e2e60069 and ra4cf0c.Sit then
- return
- end
- local Pb5ec8502 = O417601f8:FindFirstChild("HumanoidRootPart")
- if not Pb5ec8502 then
- return
- end
- if Y47a91024 then
- return
- end
- if N519b66402.IsFlying() then
- return false
- end
- local Ia8e2fcf52 = q92cc9665d.Equipped[P0dd235.Name]
- if Ia8e2fcf52 and Ia8e2fcf52.Locked then
- return
- end
- if tick() - ub5d5d31b < 0.1 then
- return
- end
- if tick() - p5d8761[#p5d8761] < 2 then
- return
- end
- ub5d5d31b = tick()
- if H0e2e60069 then
- table.remove(p5d8761)
- table.insert(p5d8761, 1, ub5d5d31b)
- end
- A8cf606e2 = not H0e2e60069
- local x026fe = O417601f8:FindFirstChild("UpperTorso")
- local s4bf0270bfc = O417601f8:FindFirstChild("LowerTorso")
- local J16da373 = {}
- local function T443b69a87b4(lcac6d84075b)
- for V095908ce2, t90779035 in next, lcac6d84075b:GetChildren() do
- if t90779035:IsA("JointInstance") and (t90779035.Part1 == x026fe or t90779035.Part1 == s4bf0270bfc or t90779035.Part0 == x026fe or t90779035.Part0 == s4bf0270bfc) then
- table.insert(J16da373, {
- Motor = t90779035,
- Part0 = t90779035.Part0,
- Part1 = t90779035.Part1
- })
- t90779035.Part0, t90779035.Part1 = nil, nil
- end
- T443b69a87b4(t90779035)
- end
- end
- T443b69a87b4(O417601f8)
- if A8cf606e2 then
- local lb8085 = Instance.new("Part")
- lb8085.Shape = Enum.PartType.Ball
- lb8085.Size = Vector3.new(2, 1, 4)
- lb8085.Name = "Ball"
- lb8085.CanCollide = true
- lb8085.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 1, 1)
- lb8085.CFrame = Pb5ec8502.CFrame * CFrame.new(0, 0, 1)
- lb8085.Transparency = 1
- lb8085.Parent = O417601f8
- Zc4a68d35d9.CustomWeld(lb8085, Pb5ec8502, CFrame.new(0, 1, 0), pcdd597f98)
- else
- local fccb74 = O417601f8:FindFirstChild("Ball")
- if fccb74 then
- fccb74:Destroy()
- end
- end
- do
- local J58da1c04bc = x026fe.Size
- x026fe.Size = A8cf606e2 and Vector3.new(J58da1c04bc.x, J58da1c04bc.y, math.min(J58da1c04bc.z, 0.8)) or x026fe.OriginalSize.Value
- x026fe.CanCollide = not A8cf606e2
- end
- do
- local O7a9a2c = s4bf0270bfc.Size
- s4bf0270bfc.Size = A8cf606e2 and Vector3.new(O7a9a2c.x, O7a9a2c.y, math.min(O7a9a2c.z, 0.8)) or s4bf0270bfc.OriginalSize.Value
- s4bf0270bfc.CanCollide = not A8cf606e2
- end
- for J25f2fae4b, Qee8c76 in next, J16da373, nil do
- Qee8c76.Motor.Part0, Qee8c76.Motor.Part1 = Qee8c76.Part0, Qee8c76.Part1
- end
- O417601f8.HumanoidRootPart.CanCollide = not A8cf606e2
- if H0e2e60069 then
- H0e2e60069:Stop()
- H0e2e60069 = nil
- return
- end
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- H0e2e60069 = ra4cf0c:LoadAnimation(If16e163c25)
- H0e2e60069:Play()
- end
- elseif Vdc63f1cce == "Punch" then
- if tick() - H66d77c18f4 < 0.5 then
- return
- end
- local x39cc4ea5580 = P0dd235.Character
- if not x39cc4ea5580 then
- return
- end
- local x59ece255787 = x39cc4ea5580:FindFirstChild("Humanoid")
- if not x59ece255787 then
- return
- end
- local Ta29d8f9 = q92cc9665d.Equipped[P0dd235.Name]
- if Ta29d8f9 then
- return
- end
- if Ge6a54987 then
- Ge6a54987:Stop()
- end
- local h6287bb = table.remove(zde1a0bb97, 1)
- table.insert(zde1a0bb97, h6287bb)
- Ge6a54987 = x59ece255787:LoadAnimation(h6287bb)
- Ge6a54987:Play()
- H66d77c18f4 = tick()
- x730a4243:FireServer("f" .. ("dwrhojg6tzhf"):sub(5, 10):reverse():reverse():reverse():reverse():reverse() .. "" .. "u")
- elseif Vdc63f1cce == "Horn" then
- Ibe8f9b15d6()
- elseif Vdc63f1cce == "Radio" then
- if Gd8c378a9ce then
- E8df386a5d.WindowToggle(k3bd3a20f61c)
- end
- elseif Vdc63f1cce == "Flip" then
- if Gd8c378a9ce then
- x730a4243:FireServer("o" .. ("baxlh"):sub(2, 3):reverse():reverse():reverse() .. "" .. "" .. ("lp2xtl"):sub(3, 4):reverse() .. "" .. "" .. ("dleiw1i"):sub(3, 3):reverse():reverse():reverse():reverse():reverse() .. "" .. "tx", Gd8c378a9ce.Model)
- end
- elseif Vdc63f1cce == "Nitro" and Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- y2fdba()
- end
- elseif Vdc63f1cce == "Sprint" then
- n4e0e1aa54c7 = false
- elseif Vdc63f1cce == "Horn" then
- P743e8e748f5()
- elseif Vdc63f1cce == "Nitro" then
- S533635c9()
- end
- end
- local Be3406e7 = F433d9.MakeUI()
- F433d9.UpdateUI(Be3406e7)
- Be3406e7.Container.Parent = F8b87cc3.ActionButtons
- local h49b665fcdcd = {}
- local Ababa7f139, X62782d2c, z57fce3b, M08521, d80b9768095, D32360f88
- do
- local j3e42ec58ef4 = F433d9.MakeBindA("Crawl", jbb6e121, Enum.KeyCode.C, Enum.KeyCode.Z, Enum.KeyCode.ButtonL3)
- j3e42ec58ef4.Image = t2c57bc3d7.Images.Crawl
- local f41c4638ae = F433d9.MakeBindA("Punch", jbb6e121, Enum.KeyCode.F, Enum.KeyCode.ButtonB)
- f41c4638ae.Image = t2c57bc3d7.Images.Punch
- local a376ae = F433d9.MakeBindA("Sprint", jbb6e121, Enum.KeyCode.LeftShift, Enum.KeyCode.RightShift, Enum.KeyCode.ButtonL2)
- a376ae.Image = t2c57bc3d7.Images.Sprint
- Ababa7f139 = F433d9.MakeGroupA(j3e42ec58ef4, f41c4638ae, a376ae)
- Ababa7f139.UI = Be3406e7
- local nf0d41b2 = F433d9.MakeBindA("Horn", jbb6e121, Enum.KeyCode.H, Enum.KeyCode.ButtonL3)
- nf0d41b2.Image = t2c57bc3d7.Images.Horn
- local Ye2e34 = F433d9.MakeBindA("Drift", V4b1010f.Chassis.OnAction, Enum.KeyCode.LeftShift, Enum.KeyCode.RightShift, Enum.KeyCode.ButtonX)
- Ye2e34.Image = t2c57bc3d7.Images.Drift
- local I7e8710f586 = F433d9.MakeBindA("Lights", V4b1010f.Chassis.OnAction, Enum.KeyCode.L, Enum.KeyCode.ButtonY)
- I7e8710f586.Image = t2c57bc3d7.Images.Headlights
- local f358ecbcaf = F433d9.MakeBindA("Sirens", V4b1010f.Chassis.OnAction, Enum.KeyCode.F, Enum.KeyCode.ButtonB)
- f358ecbcaf.Image = t2c57bc3d7.Images.Siren
- f358ecbcaf.Hidden = true
- local Ze3904f273 = F433d9.MakeBindA("Radio", jbb6e121, Enum.KeyCode.R)
- Ze3904f273.Image = t2c57bc3d7.Images.Radio
- local q2fb2860c091 = F433d9.MakeBindA("Flip", jbb6e121, Enum.KeyCode.V, Enum.KeyCode.ButtonR1)
- q2fb2860c091.Image = t2c57bc3d7.Images.CarFlip
- local x0c2b6c = F433d9.MakeBindA("Nitro", jbb6e121, Enum.KeyCode.Q, Enum.KeyCode.ButtonL1)
- x0c2b6c.Image = t2c57bc3d7.Images.Nitro
- local w2a0fdc10 = F433d9.MakeBindA("Action", V4b1010f.Chassis.OnAction, Enum.KeyCode.G, Enum.KeyCode.ButtonY)
- w2a0fdc10.Image = t2c57bc3d7.Images.Action
- w2a0fdc10.Hidden = true
- X62782d2c = F433d9.MakeGroupA(Ye2e34, x0c2b6c, nf0d41b2, I7e8710f586, Ze3904f273, q2fb2860c091, f358ecbcaf, w2a0fdc10)
- X62782d2c.UI = Be3406e7
- d80b9768095 = F433d9.MakeGroupA(Ye2e34, x0c2b6c, nf0d41b2, I7e8710f586, Ze3904f273, q2fb2860c091)
- d80b9768095.UI = Be3406e7
- spawn(function()
- if b5f531(t2c57bc3d7.Perm.Autopilot) then
- local E87fc38 = F433d9.MakeBindA("Autopilot", V4b1010f.Chassis.OnAction, Enum.KeyCode.T)
- E87fc38.Hidden = true
- table.insert(X62782d2c.Binds, E87fc38)
- end
- end)
- local L6cce124b6a = F433d9.MakeBindA("Up", V4b1010f.Heli.OnAction, Enum.KeyCode.E, Enum.KeyCode.ButtonR2)
- L6cce124b6a.Image = t2c57bc3d7.Images.HeliUp
- local n0babb = F433d9.MakeBindA("Down", V4b1010f.Heli.OnAction, Enum.KeyCode.Q, Enum.KeyCode.ButtonL2)
- n0babb.Image = t2c57bc3d7.Images.HeliDown
- local Qb17b8a = F433d9.MakeBindA("Missile", V4b1010f.Heli.OnAction, Enum.KeyCode.F, Enum.KeyCode.ButtonX)
- Qb17b8a.Image = t2c57bc3d7.Images.HeliMissile
- local h2a0d2866a = F433d9.MakeBindA("Bomb", V4b1010f.Heli.OnAction, Enum.KeyCode.B, Enum.KeyCode.ButtonB)
- h2a0d2866a.Image = t2c57bc3d7.Images.HeliMissile
- local W5e082f1 = F433d9.MakeBindA("Rope", V4b1010f.Heli.OnAction, Enum.KeyCode.G, Enum.KeyCode.ButtonY)
- W5e082f1.Image = t2c57bc3d7.Images.HeliRope
- z57fce3b = F433d9.MakeGroupA(nf0d41b2, L6cce124b6a, n0babb, W5e082f1, Qb17b8a, h2a0d2866a, Ze3904f273)
- z57fce3b.UI = Be3406e7
- M08521 = F433d9.MakeGroupA(W5e082f1)
- M08521.UI = Be3406e7
- D32360f88 = F433d9.MakeGroupA()
- D32360f88.UI = Be3406e7
- F433d9.BindGroup(Ababa7f139)
- h49b665fcdcd.Bind_Sirens = f358ecbcaf
- h49b665fcdcd.Bind_Missile = Qb17b8a
- h49b665fcdcd.Bind_Action = w2a0fdc10
- end
- function tc52b647c32.ad00irh4(idfb54d, Te0439e902f)
- f6d92b90f1 = idfb54d
- if Te0439e902f then
- return
- end
- local Z23751bec88 = F8b87cc3.Banner
- Z23751bec88.Visible = true
- Z23751bec88.Title.Text = T3cd8cb:FormatByKey("Schedule." .. idfb54d)
- Z23751bec88.Desc.Text = T3cd8cb:FormatByKey("Banner." .. idfb54d .. "Desc")
- delay(8, function()
- Z23751bec88.Visible = false
- end)
- end
- function tc52b647c32.f368g294(c0604b4, We9a3d53b4, ic79fd374)
- local tc49951be148 = s24832[c0604b4]
- if not tc49951be148 then
- tc49951be148 = {}
- tc49951be148.HeadingSpring = B18678a7ef.MakeSpring(0, 10, 0.8)
- tc49951be148.PitchSpring = B18678a7ef.MakeSpring(0, 10, 0.8)
- s24832[c0604b4] = tc49951be148
- end
- local f914f70 = j8188c1640:FindFirstChild(c0604b4)
- if not f914f70 then
- s24832[c0604b4] = nil
- return
- end
- local P9c745a9466 = f914f70.Character
- if not P9c745a9466 then
- s24832[c0604b4] = nil
- return
- end
- local dc5ca33d4087 = P9c745a9466:FindFirstChild("UpperTorso")
- if not dc5ca33d4087 then
- s24832[c0604b4] = nil
- return
- end
- local Ve62cb9c4b1f = dc5ca33d4087:FindFirstChild("Waist")
- local w174454b8 = P9c745a9466.Head:FindFirstChild("Neck")
- tc49951be148.Waist = Ve62cb9c4b1f
- tc49951be148.Neck = w174454b8
- B18678a7ef.SpringSetTarget(tc49951be148.HeadingSpring, We9a3d53b4)
- B18678a7ef.SpringSetTarget(tc49951be148.PitchSpring, ic79fd374)
- end
- local function l935ee50(Abdf671999)
- if Gd8c378a9ce then
- Abdf671999 = true
- if q92cc9665d.Equipped[P0dd235.Name] and Gd8c378a9ce.Seat:FindFirstChild("Lean") then
- x730a4243:FireServer("r" .. ("ne0yg"):sub(3, 3):reverse() .. "" .. "" .. ("j149tfc"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("rdmykbz"):sub(4, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "8wv", false)
- tc52b647c32.boznkuxd(P0dd235.Name, "GunLean", false)
- end
- x730a4243:FireServer("n" .. ("xao5d4x8msem"):sub(5, 9):reverse():reverse():reverse() .. "" .. "" .. ("lnokd"):sub(3, 3):reverse() .. "" .. "i")
- m445e22a.LastVehicleExit = tick()
- end
- if not Abdf671999 then
- delay(0.1, function()
- l935ee50(true)
- end)
- end
- end
- do
- local laa90f, h22fa2543
- function tc52b647c32.nisvah8q()
- wait()
- local o7a5455 = P0dd235.Character
- if not o7a5455 then
- return
- end
- local A2c242 = o7a5455:FindFirstChild("Humanoid")
- if not A2c242 then
- return
- end
- A2c242.Seated:connect(function(lf26a2d)
- if lf26a2d and A8cf606e2 then
- jbb6e121({Name = "Crawl"}, true)
- end
- end)
- if h22fa2543 then
- do
- local pa81168 = game.Lighting:FindFirstChild("ColorCorrection")
- local w278373 = game.Lighting:FindFirstChild("Blur")
- local n3d44245dd8d, Ga75d0d31ba = 0, nil
- local function Y416839034c()
- if Ga75d0d31ba then
- Ga75d0d31ba:Disconnect()
- end
- local kd7e1e8488 = ea380ea38(h22fa2543, laa90f, 1)
- pa81168.Saturation = kd7e1e8488.Saturation
- w278373.Size = kd7e1e8488.Blur
- w278373.Enabled = false
- end
- local function Yb3b35(Lef88e7a)
- n3d44245dd8d = n3d44245dd8d + Lef88e7a * 2
- if n3d44245dd8d >= 1 then
- return Y416839034c()
- end
- local g11c1d9523 = ea380ea38(h22fa2543, laa90f, 1)
- pa81168.Saturation = g11c1d9523.Saturation
- w278373.Size = g11c1d9523.Blur
- end
- Ga75d0d31ba = x2617913940.RenderStepped:connect(Yb3b35)
- Eb2b114b7.Frame:TweenSizeAndPosition(UDim2.new(1, 40, 0, 0), UDim2.new(0, -20, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.1, true, function()
- Eb2b114b7.Frame.Visible = false
- end)
- end
- end
- end
- function tc52b647c32.bckmi3mv(s6c21a0d8a)
- A8cf606e2 = false
- n4e0e1aa54c7 = false
- Y47a91024 = false
- cd2805d2055 = false
- mae40bfe.HasEscaped = false
- l935ee50(true)
- if s6c21a0d8a then
- return
- end
- local Nf359d19dbb9 = math.random(0, 13)
- Eb2b114b7.Frame.TextLabel.Text = T3cd8cb:FormatByKey("DeathMessage." .. Nf359d19dbb9)
- local Ra5027e15a = game.Lighting:FindFirstChild("ColorCorrection")
- local O5a410 = game.Lighting:FindFirstChild("Blur")
- O5a410.Enabled = true
- laa90f = {Blur = 0, Saturation = 0}
- h22fa2543 = {Blur = 8, Saturation = -1}
- local u738ec97bad5, n06f57fc54 = 0, nil
- local function sf1f44()
- if n06f57fc54 then
- n06f57fc54:Disconnect()
- end
- local Pd10d9b = ea380ea38(laa90f, h22fa2543, 1)
- Ra5027e15a.Saturation = Pd10d9b.Saturation
- O5a410.Size = Pd10d9b.Blur
- end
- local function u3c167(w845371184)
- u738ec97bad5 = u738ec97bad5 + w845371184 * 1
- if u738ec97bad5 >= 1 then
- return sf1f44()
- end
- local ydc76c = ea380ea38(laa90f, h22fa2543, u738ec97bad5)
- Ra5027e15a.Saturation = ydc76c.Saturation
- O5a410.Size = ydc76c.Blur
- end
- n06f57fc54 = x2617913940.RenderStepped:connect(u3c167)
- delay(0.5, function()
- Eb2b114b7.Frame.Size = UDim2.new(1, 40, 0, 0)
- Eb2b114b7.Frame.Position = UDim2.new(0, -20, 0.5, 0)
- Eb2b114b7.Frame:TweenSizeAndPosition(UDim2.new(1, 40, 0, 150), UDim2.new(0, -20, 0.5, -75), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
- Eb2b114b7.Frame.Visible = true
- end)
- end
- end
- function tc52b647c32.ojt8cwxs()
- cd2805d2055 = true
- nf031f84e7()
- wait(t2c57bc3d7.Time.Stunned)
- cd2805d2055 = false
- end
- function tc52b647c32.pib8a20m(se5d817)
- Xd179a9b0fd("Notification", {Source = Z90420b5, Volume = 0.3}, true)
- pcall(function()
- Z90420b5:SetCore("SendNotification", se5d817)
- end)
- end
- mae40bfe.Notification = tc52b647c32.pib8a20m
- function tc52b647c32.tgkqc50y(t73c0ef19de)
- pcall(function()
- Z90420b5:SetCore("ChatMakeSystemMessage", {
- Text = ("[Server] %s"):format(t73c0ef19de),
- Color = Color3.new(0.9490196078431372, 0.8588235294117647, 0.06274509803921569)
- })
- end)
- end
- function tc52b647c32.c5dtq6vm(qe75e7535e70)
- B4f88f74f29 = qe75e7535e70
- local k2c58c = R260ff17ff(qe75e7535e70.Cash)
- Yb913835.Safe.Money.Text = k2c58c
- Yb913835.DevProduct.Money.Text = k2c58c
- F8b87cc3.BuyVehicle.Money.Text = k2c58c
- F8b87cc3.MissilesBuy.Money.Text = k2c58c
- end
- function tc52b647c32.amk42sr5(S60b6d9cb3, G0d317)
- if S60b6d9cb3 > 0 then
- c773f9(2)
- F8b87cc3.PlusCash.TextColor3 = Color3.fromRGB(68, 194, 93)
- F8b87cc3.PlusCash.TextStrokeColor3 = Color3.fromRGB(33, 97, 44)
- else
- F8b87cc3.PlusCash.TextColor3 = Color3.fromRGB(240, 30, 30)
- F8b87cc3.PlusCash.TextStrokeColor3 = Color3.fromRGB(180, 0, 0)
- end
- F8b87cc3.PlusCash.Text = ("%s Cash"):format(R260ff17ff(S60b6d9cb3))
- if G0d317 then
- F8b87cc3.PlusCash.Desc.Text = G0d317
- F8b87cc3.PlusCash.Desc.Visible = true
- else
- F8b87cc3.PlusCash.Desc.Visible = false
- end
- F8b87cc3.PlusCash.Visible = true
- delay(3, function()
- F8b87cc3.PlusCash.Visible = false
- end)
- end
- function tc52b647c32.izlnblx2(X02fc00, Vc65a59620)
- if Vc65a59620 then
- if Vc65a59620.Sounds then
- for g56790134, Lbed944d in next, Vc65a59620.Sounds, nil do
- Lbed944d.Volume = 0
- end
- end
- if Vc65a59620.Type == "Heli" then
- Vc65a59620.PropAlpha = 0
- re40d8f5c87c(Vc65a59620, 0)
- end
- if p3b34926a then
- for J7500bdb, Rdcc17b in next, p3b34926a, nil do
- if Vc65a59620.PlayerName == Rdcc17b.PlayerName then
- if not Rdcc17b.PlayerName or Rdcc17b.PlayerName ~= P0dd235.Name then
- end
- break
- end
- end
- end
- end
- p3b34926a = X02fc00
- end
- function tc52b647c32.qvyup0fu(Cda7bd8)
- s24832[Cda7bd8] = nil
- end
- local t86cb1c5f6
- do
- local a7e9117fda8 = require(P0dd235.PlayerScripts.PlayerModule)
- t86cb1c5f6 = a7e9117fda8:GetCameras()
- end
- local k09f2bdd8313
- do
- local Y946160814 = 0
- local C8256684f0 = false
- function k09f2bdd8313(D31dfc4698, B569f3af9f, e005a44, t2c643ac0, Mfa909830, M483b1a, Jb9fe9e5e)
- local d6c8fe3 = Y946160814 + 1
- Y946160814 = d6c8fe3
- local Gc64f7 = k96cdb8()
- Gc64f7.Position = La47eb1308.CFrame.p
- Gc64f7.LookVector = La47eb1308.CFrame.lookVector
- La47eb1308.CameraType = Enum.CameraType.Scriptable
- local t3775f072 = 0
- local function k82110ba61()
- x2617913940:UnbindFromRenderStep("MoveTransitionCamera" .. d6c8fe3)
- if Y946160814 ~= d6c8fe3 then
- return
- end
- La47eb1308.CameraType = Enum.CameraType.Custom
- if t86cb1c5f6 then
- local c6afdce = t86cb1c5f6.activeCameraController
- if c6afdce then
- c6afdce:SetCameraToSubjectDistance(Mfa909830)
- end
- end
- end
- local R231e4bd22 = Jb9fe9e5e or D31dfc4698.CFrame - D31dfc4698.CFrame.p
- local function j6bbcb13()
- local o59db837d6a = 0.016666666666666666
- t3775f072 = t3775f072 + o59db837d6a * (1 / B569f3af9f)
- if Y946160814 ~= d6c8fe3 then
- k82110ba61()
- return
- end
- local G8d94aa21
- if M483b1a then
- G8d94aa21 = R231e4bd22 + D31dfc4698.CFrame.p
- else
- G8d94aa21 = D31dfc4698.CFrame
- end
- Gc64f7.TargetPosition = G8d94aa21 * e005a44
- Gc64f7.TargetFocus = G8d94aa21 * t2c643ac0
- K960321991(Gc64f7, o59db837d6a, 6 + 50 * t3775f072 * t3775f072, 10 + 50 * t3775f072 * t3775f072)
- if t3775f072 >= 1 then
- k82110ba61()
- end
- end
- x2617913940:BindToRenderStep("MoveTransitionCamera" .. d6c8fe3, Enum.RenderPriority.Camera.Value + 1, j6bbcb13)
- end
- end
- do
- local Rd582e5107e
- local T02f69 = F8b87cc3.BuyVehicle
- local function wb900a()
- T02f69.Visible = false
- l935ee50()
- end
- local function Lfef792e79()
- if not Rd582e5107e then
- wb900a()
- return
- end
- x730a4243:FireServer("b" .. ("q812otx"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("eshmq3q"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "3dg", Rd582e5107e)
- end
- local function m28cccace4c()
- if not Rd582e5107e then
- wb900a()
- return
- end
- l1c1ea:PromptProductPurchase(P0dd235, 437705749)
- x730a4243:FireServer("o" .. ("pj8bp9cramfns"):sub(5, 10):reverse() .. "" .. "l", Rd582e5107e)
- end
- local function N879d305d6e0()
- wb900a()
- D11d1fe5()
- end
- T02f69.Buy.MouseButton1Down:connect(Lfef792e79)
- T02f69.Cancel.MouseButton1Down:connect(wb900a)
- T02f69.Rent.MouseButton1Down:connect(m28cccace4c)
- T02f69.BuyCash.MouseButton1Down:connect(N879d305d6e0)
- function tc52b647c32.btomh3dg(P1dd2a)
- if P1dd2a.Success then
- T02f69.Visible = false
- c773f9(5)
- elseif P1dd2a.NotEnoughMoney then
- N879d305d6e0()
- elseif P1dd2a.LowLevel then
- tc52b647c32.pib8a20m({
- Title = "Vehicle",
- Text = ("This requires level %d."):format(P1dd2a.LowLevel)
- })
- else
- wb900a()
- end
- end
- function tc52b647c32.clo5j3ry(T369d7ab7cb)
- m445e22a.VehiclesOwned = T369d7ab7cb
- end
- function tc52b647c32.keq6jx1p(c50993ae2)
- m445e22a.VehiclesRented = c50993ae2
- end
- function tc52b647c32.jjbbof4v(Sdf907a3f4, Rf322425f2fe, E382ab1)
- Rd582e5107e = Sdf907a3f4
- local H570c75b5 = t2c57bc3d7.Price[Sdf907a3f4]
- if Rf322425f2fe then
- Bd2ee22ad(Rf322425f2fe)
- elseif H570c75b5 then
- local R655fcf9af67 = ("Buy %s for %s?"):format(Sdf907a3f4, R260ff17ff(t2c57bc3d7.Price[Sdf907a3f4]))
- local S28facf69 = F8b87cc3.BuyVehicle
- S28facf69.TextLabel.Text = R655fcf9af67
- S28facf69.Rent.Visible = E382ab1
- S28facf69.Visible = true
- Y1ac117b1(S28facf69.Buy)
- end
- end
- function tc52b647c32.brjxfp0i()
- local l62241fbf2 = F8b87cc3.SimpleMessage
- l62241fbf2.Visible = true
- l62241fbf2.Text = T3cd8cb:FormatByKey("Vehicle.Locked")
- local function N1cfba()
- l62241fbf2.Visible = false
- end
- delay(1, N1cfba)
- end
- local function Ibabd3fefb()
- if not Gd8c378a9ce or Gd8c378a9ce.Passenger then
- F8b87cc3.Lock.Visible = false
- return
- end
- local rf6d14cf79 = Gd8c378a9ce.Locked
- F8b87cc3.Lock.Visible = true
- F8b87cc3.Lock.TextLabel.Text = rf6d14cf79 and T3cd8cb:FormatByKey("Vehicle.Unlock") or T3cd8cb:FormatByKey("Vehicle.Lock")
- F8b87cc3.Lock.ImageColor3 = rf6d14cf79 and Color3.fromRGB(82, 149, 208) or Color3.new(0.6, 0.6, 0.6)
- F8b87cc3.Lock.TextLabel.TextColor3 = rf6d14cf79 and Color3.fromRGB(51, 93, 130) or Color3.new(0.4, 0.4, 0.4)
- end
- local function Hc0ff12()
- if not Gd8c378a9ce or Gd8c378a9ce.Passenger then
- F8b87cc3.Lock.Visible = false
- return
- end
- Gd8c378a9ce.Locked = not Gd8c378a9ce.Locked
- x730a4243:FireServer("k1109xds", Gd8c378a9ce.Locked)
- Ibabd3fefb()
- end
- F8b87cc3.Lock.MouseButton1Down:Connect(Hc0ff12)
- function tc52b647c32.hu09mchi(Cab9e9b1a4)
- if A8cf606e2 then
- jbb6e121({Name = "Crawl"}, true)
- end
- local y0b0b88cc8e9 = Cab9e9b1a4.Type
- local Z61334ade4a = Cab9e9b1a4.Make
- n4e0e1aa54c7 = false
- F433d9.UnbindGroup(Ababa7f139)
- local db1e40 = false
- if Cab9e9b1a4.Passenger and Cab9e9b1a4.Seat:FindFirstChild("Items") then
- db1e40 = true
- end
- if not db1e40 and q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- k09f2bdd8313(Cab9e9b1a4.Model.Camera, 0.5, V9f61cf07b(0, 7, 24), V9f61cf07b(0, 0, 0), 25)
- if Cab9e9b1a4.Type == "Chassis" then
- if Z61334ade4a == "Ambulance" or Z61334ade4a == "Firetruck" or Z61334ade4a == "Jeep" then
- h49b665fcdcd.Bind_Action.Hidden = false
- else
- h49b665fcdcd.Bind_Action.Hidden = true
- end
- if Cab9e9b1a4.Model.Model:FindFirstChild("Lights") then
- h49b665fcdcd.Bind_Sirens.Hidden = false
- else
- h49b665fcdcd.Bind_Sirens.Hidden = true
- end
- if Cab9e9b1a4.Passenger then
- F433d9.BindGroup(D32360f88)
- else
- F433d9.BindGroup(X62782d2c)
- end
- V4b1010f.Chassis.VehicleEnter(Cab9e9b1a4)
- if Cab9e9b1a4.Seat:FindFirstChild("Turret") and Cab9e9b1a4.Turret then
- local id41cd9a0c = {}
- id41cd9a0c.Type = "Turret"
- id41cd9a0c.Name = "Turret"
- id41cd9a0c.VerticalMotor = Cab9e9b1a4.Turret.VerticalMotor
- id41cd9a0c.HorizontalMotor = Cab9e9b1a4.Turret.HorizontalMotor
- id41cd9a0c.BarrelMotor = Cab9e9b1a4.Turret.BarrelMotor
- id41cd9a0c.Model = Cab9e9b1a4.Turret.Model
- id41cd9a0c.Heat = Cab9e9b1a4.Turret.Heat
- id41cd9a0c.Locked = true
- q92cc9665d.Equip(id41cd9a0c)
- end
- elseif Cab9e9b1a4.Type == "Heli" then
- if Cab9e9b1a4.IsBlackHawk then
- h49b665fcdcd.Bind_Missile.Hidden = false
- else
- h49b665fcdcd.Bind_Missile.Hidden = true
- end
- if Cab9e9b1a4.Passenger then
- F433d9.BindGroup(M08521)
- else
- F433d9.BindGroup(z57fce3b)
- end
- V4b1010f.Heli.VehicleEnter(Cab9e9b1a4)
- elseif Cab9e9b1a4.Type == "Motorcycle" or Cab9e9b1a4.Type == "DuneBuggy" then
- if Cab9e9b1a4.Passenger then
- F433d9.BindGroup(D32360f88)
- else
- F433d9.BindGroup(d80b9768095)
- end
- V4b1010f.Chassis2.VehicleEnter(Cab9e9b1a4)
- elseif Cab9e9b1a4.Type == "Custom" and Cab9e9b1a4.Make == "Volt" then
- F433d9.BindGroup(X62782d2c)
- V4b1010f.Volt.VehicleEnter(Cab9e9b1a4)
- end
- if Cab9e9b1a4.Passenger then
- Cab9e9b1a4.Nitro = false
- end
- Gd8c378a9ce = Cab9e9b1a4
- Ibabd3fefb()
- end
- function tc52b647c32.r0fs5cqk()
- if not Gd8c378a9ce then
- return
- end
- local hd89ab = Gd8c378a9ce
- local Id0b1a283f5, j9e08c46 = hd89ab.Type, hd89ab.Make
- Gd8c378a9ce = nil
- if hd89ab.Nitro then
- S533635c9()
- end
- hd89ab.Nitro = false
- if hd89ab.Nitrous then
- for v7dbe65c880c, wc2917d5 in next, hd89ab.Nitrous, nil do
- wc2917d5.Enabled = false
- end
- end
- if Id0b1a283f5 == "Chassis" then
- F433d9.UnbindGroup(X62782d2c)
- V4b1010f.Chassis.VehicleLeave(hd89ab)
- if q92cc9665d.Equipped[P0dd235.Name] and q92cc9665d.Equipped[P0dd235.Name].Type == "Turret" then
- x730a4243:FireServer("c" .. ("axvxmhi5"):sub(4, 5):reverse() .. "" .. "69x00", hd89ab.Model, q92cc9665d.Equipped[P0dd235.Name].Heat)
- q92cc9665d.Unequip()
- end
- elseif Id0b1a283f5 == "Heli" then
- F433d9.UnbindGroup(z57fce3b)
- V4b1010f.Heli.VehicleLeave(hd89ab)
- elseif Id0b1a283f5 == "Motorcycle" or Id0b1a283f5 == "DuneBuggy" then
- F433d9.UnbindGroup(d80b9768095)
- V4b1010f.Chassis2.VehicleLeave(hd89ab)
- elseif Id0b1a283f5 == "Custom" and j9e08c46 == "Volt" then
- F433d9.UnbindGroup(X62782d2c)
- V4b1010f.Volt.VehicleLeave(hd89ab)
- end
- F433d9.BindGroup(Ababa7f139)
- E8df386a5d.WindowClose(k3bd3a20f61c)
- if P0dd235.Character then
- end
- local B37a0f1 = t86cb1c5f6.activeCameraController
- if B37a0f1 then
- B37a0f1:SetCameraToSubjectDistance(15)
- end
- Ibabd3fefb()
- if Id0b1a283f5 == "Heli" then
- do
- local j08341 = P0dd235.Character
- local wdc3286 = false
- local function T0c5889043b4()
- if wdc3286 then
- return
- end
- local b3e0d10e = j08341:FindFirstChild("HumanoidRootPart")
- if b3e0d10e then
- local x8eae5ae6 = j08341:FindFirstChild("Humanoid")
- if x8eae5ae6 and not x8eae5ae6.PlatformStand then
- local ye9df6c52 = b3e0d10e.Velocity.magnitude
- if ye9df6c52 >= 30 then
- wdc3286 = true
- N519b66402.Parachute()
- end
- end
- end
- end
- for Ydbe0b3f41 = 1, 8 do
- delay(0.2 + Ydbe0b3f41 * 0.25, T0c5889043b4)
- end
- end
- end
- end
- function tc52b647c32.axxgi3ut(Vb5e538)
- if not Gd8c378a9ce then
- return
- end
- for Ed76923f01, lcbbea4e in next, Vb5e538, nil do
- Gd8c378a9ce[Ed76923f01] = lcbbea4e
- end
- end
- function tc52b647c32.zstuui15()
- if not Gd8c378a9ce then
- return
- end
- if Gd8c378a9ce.Type ~= "Heli" then
- return
- end
- V4b1010f.Heli.FallOutOfSky(Gd8c378a9ce)
- end
- end
- function tc52b647c32.xi0vgbb8()
- F8b87cc3.FaultyAction.Visible = true
- wait(4)
- F8b87cc3.FaultyAction.Visible = false
- end
- do
- local uc112f88e = false
- local function k62b6308c1(Ccf6ca22073)
- uc112f88e = true
- for s4a137c75f92 = 1, #G5be7dd6.ItemStacks do
- G5be7dd6.ItemStacks[s4a137c75f92].j = s4a137c75f92
- end
- local b2be8671f81 = Ccf6ca22073.j
- local z0c36feb, y05d26637b0
- y05d26637b0 = x2617913940.Heartbeat:Connect(function(k4bf72)
- local Lc4ad4d7 = F8b87cc3.Inventory.AbsolutePosition
- local j11f1816ee9 = G5dbe1b49:GetMouseLocation()
- local Lb125c2888d = j11f1816ee9.X - Lc4ad4d7.X
- local Rafd21b656 = math.floor(Lb125c2888d / 80) + 1
- if Rafd21b656 < 1 then
- Rafd21b656 = 1
- end
- if Rafd21b656 > #G5be7dd6.ItemStacks then
- Rafd21b656 = #G5be7dd6.ItemStacks
- end
- z0c36feb = Rafd21b656
- for J337eae73e3, v38ba188545 in next, G5be7dd6.ItemStacks, nil do
- local oc00820b = 0
- if Rafd21b656 > b2be8671f81 then
- if J337eae73e3 > b2be8671f81 and J337eae73e3 <= Rafd21b656 then
- oc00820b = -1
- end
- elseif Rafd21b656 <= b2be8671f81 and J337eae73e3 < b2be8671f81 and J337eae73e3 >= Rafd21b656 then
- oc00820b = 1
- end
- local a1229c543610 = v38ba188545.Frame
- a1229c543610.Position = UDim2.new(0, 80 * (J337eae73e3 - 1 + oc00820b), 0, 0)
- end
- local Wc4a8c46a20e = Ccf6ca22073.Frame
- Wc4a8c46a20e.Position = UDim2.new(0, 80 * (Rafd21b656 - 1), 0, 0)
- end)
- local J716c8668
- J716c8668 = G5dbe1b49.InputEnded:Connect(function(x67373)
- if x67373.UserInputType == Enum.UserInputType.MouseButton1 or x67373.UserInputType == Enum.UserInputType.Touch then
- y05d26637b0:Disconnect()
- J716c8668:Disconnect()
- assert(z0c36feb, "No LastIndex set")
- if b2be8671f81 ~= z0c36feb then
- local Mf01652f53f = table.remove(G5be7dd6.ItemStacks, b2be8671f81)
- table.insert(G5be7dd6.ItemStacks, z0c36feb, Mf01652f53f)
- end
- uc112f88e = false
- tc52b647c32.pth6qxwi(nil, nil, nil, true)
- end
- end)
- end
- local z68e814d65 = 0
- G5dbe1b49.InputEnded:Connect(function(h5bb6f98ba)
- if h5bb6f98ba.UserInputType == Enum.UserInputType.MouseButton1 or h5bb6f98ba.UserInputType == Enum.UserInputType.Touch then
- z68e814d65 = z68e814d65 + 1
- end
- end)
- function tc52b647c32.pth6qxwi(j40e943fc84, o9b869ed, g5acc7, A74d29e323c)
- if g5acc7 then
- G5be7dd6.ItemData = g5acc7
- end
- if j40e943fc84 then
- local Y05bd7 = {}
- for dd6526d0, o621d4be in next, G5be7dd6.ItemStacks, nil do
- Y05bd7[o621d4be.i] = o621d4be
- end
- local C9b288e72 = {}
- for dc9158c, Y299667d08 in next, j40e943fc84.ItemStacks, nil do
- C9b288e72[Y299667d08.i] = true
- end
- for q38f05 = #G5be7dd6.ItemStacks, 1, -1 do
- local Td731f14fb = G5be7dd6.ItemStacks[q38f05]
- if not C9b288e72[Td731f14fb.i] then
- table.remove(G5be7dd6.ItemStacks, q38f05)
- end
- end
- for idc41d = 1, #j40e943fc84.ItemStacks do
- local T586ee3 = j40e943fc84.ItemStacks[idc41d]
- local f7a2e7ed71 = Y05bd7[T586ee3.i]
- if not f7a2e7ed71 then
- table.insert(G5be7dd6.ItemStacks, T586ee3)
- else
- for jd897f, Q89bcb4a08 in next, T586ee3, nil do
- f7a2e7ed71[jd897f] = Q89bcb4a08
- end
- end
- end
- end
- local f96ba953ab43 = q92cc9665d.Equipped[P0dd235.Name]
- if f96ba953ab43 and not A74d29e323c then
- local a502f02f0 = false
- for b9cc124, d527eb in next, G5be7dd6.ItemStacks, nil do
- if d527eb.i == f96ba953ab43.i then
- a502f02f0 = true
- break
- end
- end
- if not a502f02f0 then
- q92cc9665d.Unequip()
- end
- end
- local d0cde1b77583 = F8b87cc3.Inventory.Inner
- local Bf0c2c6fbb = F8b87cc3.Inventory.ItemPreset
- local L5d0c8d = {}
- for Pe07ca338, Z29b92cbfdbf in next, G5be7dd6.ItemStacks, nil do
- do
- local U3cbc2d4867 = Z29b92cbfdbf.Name
- local R28a74f731c = d0cde1b77583:FindFirstChild(Z29b92cbfdbf.i)
- if not R28a74f731c then
- R28a74f731c = Bf0c2c6fbb:Clone()
- R28a74f731c.Name = Z29b92cbfdbf.i
- R28a74f731c.Parent = d0cde1b77583
- R28a74f731c.Visible = true
- local function X66b19()
- local v46a1740341d = z68e814d65 + 1
- z68e814d65 = v46a1740341d
- if uc112f88e then
- return
- end
- local cd8aaf3043
- for Yfb2b4c515 = 1, #G5be7dd6.ItemStacks do
- local ib70e3d8a = G5be7dd6.ItemStacks[Yfb2b4c515]
- if ib70e3d8a.i == Z29b92cbfdbf.i then
- cd8aaf3043 = Yfb2b4c515
- break
- end
- end
- assert(cd8aaf3043)
- B8e90f5a2(cd8aaf3043)
- end
- R28a74f731c.MouseButton1Up:Connect(X66b19)
- local function R9c5072f()
- local W04b8fb = z68e814d65 + 1
- z68e814d65 = W04b8fb
- delay(0.3, function()
- if z68e814d65 == W04b8fb then
- k62b6308c1(Z29b92cbfdbf)
- end
- end)
- end
- R28a74f731c.MouseButton1Down:Connect(R9c5072f)
- end
- R28a74f731c.Position = UDim2.new(0, 80 * (Pe07ca338 - 1), 0, 0)
- R28a74f731c.TextLabel.Text = Pe07ca338
- local mc47eb4
- if U3cbc2d4867 == "Rifle" then
- mc47eb4 = t2c57bc3d7.Images.Rifle
- elseif U3cbc2d4867 == "Pistol" then
- mc47eb4 = t2c57bc3d7.Images.Pistol
- elseif U3cbc2d4867 == "Shotgun" then
- mc47eb4 = t2c57bc3d7.Images.Shotgun
- elseif U3cbc2d4867 == "AK47" then
- mc47eb4 = t2c57bc3d7.Images.AK47
- elseif U3cbc2d4867 == "Flashlight" then
- mc47eb4 = t2c57bc3d7.Images.Flashlight
- elseif U3cbc2d4867 == "Knife" then
- mc47eb4 = t2c57bc3d7.Images.Knife
- elseif U3cbc2d4867 == "Taser" then
- mc47eb4 = t2c57bc3d7.Images.Taser
- elseif U3cbc2d4867 == "Handcuffs" then
- mc47eb4 = t2c57bc3d7.Images.Handcuffs
- elseif U3cbc2d4867 == "Key" then
- mc47eb4 = t2c57bc3d7.Images.Key
- elseif U3cbc2d4867 == "ShieldSWAT" then
- mc47eb4 = t2c57bc3d7.Images.ShieldSWAT
- elseif U3cbc2d4867 == "Donut" then
- mc47eb4 = t2c57bc3d7.Images.Donut
- elseif U3cbc2d4867 == "Binoculars" then
- mc47eb4 = t2c57bc3d7.Images.Binoculars
- elseif U3cbc2d4867 == "Glider" then
- mc47eb4 = t2c57bc3d7.Images.Glider
- elseif U3cbc2d4867 == "RocketLauncher" then
- mc47eb4 = t2c57bc3d7.Images[U3cbc2d4867]
- elseif U3cbc2d4867 == "Grenade" then
- mc47eb4 = t2c57bc3d7.Images[U3cbc2d4867]
- elseif U3cbc2d4867 == "Uzi" then
- mc47eb4 = t2c57bc3d7.Images[U3cbc2d4867]
- end
- R28a74f731c.ImageLabel.Image = mc47eb4 or ""
- if Z68c6ed0.Value == "Prisoner" then
- R28a74f731c.Image = t2c57bc3d7.Images.CirclePrisoner
- R28a74f731c.TextLabel.TextColor3 = t2c57bc3d7.Images.CirclePrisonerColor
- elseif Z68c6ed0.Value == "Police" then
- R28a74f731c.Image = t2c57bc3d7.Images.CirclePolice
- R28a74f731c.TextLabel.TextColor3 = t2c57bc3d7.Images.CirclePoliceColor
- end
- Z29b92cbfdbf.Frame = R28a74f731c
- L5d0c8d[R28a74f731c] = true
- end
- end
- for Ob41e9442c7c, wf3807 in next, d0cde1b77583:GetChildren() do
- if not L5d0c8d[wf3807] then
- wf3807:Destroy()
- end
- end
- local C7083446 = 80 * #G5be7dd6.ItemStacks - 40
- F8b87cc3.Inventory.Size = UDim2.new(0, C7083446, 0, 60, 0)
- F8b87cc3.Inventory.Position = UDim2.new(0.5, -C7083446 * 0.5, 0.97, -84)
- if o9b869ed then
- local Jad6009870c5 = q92cc9665d.Equipped[P0dd235.Name]
- if Gd8c378a9ce then
- return
- end
- if Jad6009870c5 and Jad6009870c5.Locked then
- return
- end
- q92cc9665d.Equip(o9b869ed)
- end
- end
- end
- local function e2f34a36(zca072)
- local Vbe683389 = U3483e8be82.Resource.Item:FindFirstChild(zca072)
- if not Vbe683389 then
- return
- end
- Vbe683389 = Vbe683389:Clone()
- Vbe683389.Skeleton.BoundingBox.Parent = Vbe683389.Model
- Vbe683389 = Vbe683389.Model
- Vbe683389.PrimaryPart = Vbe683389.BoundingBox
- Vbe683389.PrimaryPart.CanCollide = true
- Vbe683389.Parent = workspace
- return Vbe683389
- end
- local I46abbf337 = function(cffb45ed4282, Te0d9b0c39, W722180475d7, yc4e55cc0b)
- cffb45ed4282 = cffb45ed4282 / yc4e55cc0b * 2
- if cffb45ed4282 < 1 then
- return W722180475d7 * 0.5 * cffb45ed4282 * cffb45ed4282 + Te0d9b0c39
- else
- return -W722180475d7 * 0.5 * ((cffb45ed4282 - 1) * (cffb45ed4282 - 3) - 1) + Te0d9b0c39
- end
- end
- local W1ad53f
- local function be9c606(x1ea5c1)
- if saf4a82b89 then
- return
- end
- local Ecbe2f9ae380 = j0ad3b81ec12(u34188d6ff1f)
- if Ecbe2f9ae380 then
- if Ecbe2f9ae380 ~= W1ad53f then
- F8b87cc3.MouseIcon.Visible = true
- G5dbe1b49.MouseIconEnabled = false
- end
- local Ufef08
- if Ecbe2f9ae380 == "Stash" then
- local M4a52db0b5 = q92cc9665d.Equipped[P0dd235.Name]
- if M4a52db0b5 then
- Ufef08 = "Drawer"
- else
- Ufef08 = "Grab"
- end
- elseif Ecbe2f9ae380 == "Hotwire" then
- Ufef08 = "Lockpick"
- end
- F8b87cc3.MouseIcon.Image = t2c57bc3d7.Images[Ufef08]
- local N10835efce3 = V9f61cf07b(ne15e70.X, ne15e70.Y, 0)
- if N10835efce3 then
- F8b87cc3.MouseIcon.Position = UDim2.new(0, N10835efce3.X - 16, 0, N10835efce3.Y - 16)
- end
- end
- W1ad53f = Ecbe2f9ae380
- end
- local H0c7da5792
- H0c7da5792 = {}
- do
- local xde9d6a8f1
- xde9d6a8f1 = {}
- do
- local ec7cf7d, w6a8ce026d43 = table.insert, table.remove
- local Vde5c3fb3 = {}
- function xde9d6a8f1.AddPart(u8700c60b56, x817513151a8, D6d6fcfae, x87bc59c7a)
- local e240c482f08 = {
- Part = u8700c60b56,
- Distance = x817513151a8,
- f = D6d6fcfae,
- Meta = x87bc59c7a
- }
- table.insert(Vde5c3fb3, e240c482f08)
- return e240c482f08
- end
- function xde9d6a8f1.RemovePart(h447b0)
- for bc0082 = #Vde5c3fb3, 1, -1 do
- local p132df1 = Vde5c3fb3[bc0082]
- if p132df1.Part == bc0082 then
- return table.remove(Vde5c3fb3, bc0082)
- end
- end
- return false
- end
- function xde9d6a8f1.RemoveTag(h11c5f7)
- for m5707dbea = #Vde5c3fb3, 1, -1 do
- local v3e01a4f2 = Vde5c3fb3[m5707dbea]
- if v3e01a4f2.Meta.Tag == h11c5f7 then
- table.remove(Vde5c3fb3, m5707dbea)
- return true
- end
- end
- return false
- end
- local yf19ac = {}
- local F48caf = {}
- local function Ab5e44()
- local Abae5b46 = P0dd235.Character
- if not Abae5b46 then
- return
- end
- local ad96fd965 = Abae5b46:FindFirstChild("HumanoidRootPart")
- if not ad96fd965 then
- return
- end
- local V88453172 = Abae5b46:FindFirstChild("Humanoid")
- if not V88453172 then
- return
- end
- if V88453172.Health <= 0 then
- return
- end
- local L8e1e1dcd = ad96fd965.Position
- xde9d6a8f1.UpdateInterest(L8e1e1dcd)
- end
- function xde9d6a8f1.UpdateInterest(v102a6d1fa)
- Ab5e44()
- yf19ac = {}
- F48caf = {}
- for Ta33b3f = #Vde5c3fb3, 1, -1 do
- local u008edf4e278 = Vde5c3fb3[Ta33b3f]
- if not u008edf4e278.Part then
- table.remove(Vde5c3fb3, Ta33b3f)
- end
- end
- for l6853b1297c, Dc7c1d4fa84e in next, Vde5c3fb3, nil do
- Dc7c1d4fa84e.Center = Dc7c1d4fa84e.Part.Position
- local O020cc21 = (Dc7c1d4fa84e.Center - v102a6d1fa).magnitude
- Dc7c1d4fa84e.Sort = O020cc21
- local ma52ec29d1ff = O020cc21 < Dc7c1d4fa84e.Distance
- if Dc7c1d4fa84e.Locked then
- ma52ec29d1ff = true
- end
- local if9c7fde5143 = Dc7c1d4fa84e.Loaded
- if ma52ec29d1ff and not if9c7fde5143 then
- ec7cf7d(yf19ac, Dc7c1d4fa84e)
- elseif not ma52ec29d1ff and if9c7fde5143 then
- ec7cf7d(F48caf, Dc7c1d4fa84e)
- end
- end
- end
- local function u388e47bc96b()
- while #yf19ac > 0 do
- local Q5f0788a3e1 = w6a8ce026d43(yf19ac, 1)
- Q5f0788a3e1.Loaded = true
- Q5f0788a3e1:f(Q5f0788a3e1.Loaded)
- end
- while #F48caf > 0 do
- local C7109f3f43 = w6a8ce026d43(F48caf)
- C7109f3f43.Loaded = false
- C7109f3f43:f(C7109f3f43.Loaded)
- end
- end
- function xde9d6a8f1.Run(n9af5db2)
- je959b91a259(n9af5db2, u388e47bc96b, "Proximity Queue")
- end
- xde9d6a8f1.Run(0.1)
- end
- local id61f1290bd3, lf3adc
- do
- local l819e30a604 = U3483e8be82.Resource.ButtonY:Clone()
- local v5515d40f0 = {}
- local function edcd48b1f85(u3d1516e8daa, K442ee8e)
- if K442ee8e then
- local Bef3f18 = B18678a7ef.BinaryFind(v5515d40f0, u3d1516e8daa.Sort)
- table.insert(v5515d40f0, Bef3f18, u3d1516e8daa)
- else
- for w55382a64bdd = #v5515d40f0, 1, -1 do
- if v5515d40f0[w55382a64bdd] == u3d1516e8daa then
- table.remove(v5515d40f0, w55382a64bdd)
- break
- end
- end
- end
- local J4b38e48bfe = v5515d40f0[1]
- if J4b38e48bfe and je2c717b == Enum.UserInputType.Gamepad1 then
- l819e30a604.Parent = J4b38e48bfe.Meta.Button
- else
- l819e30a604.Parent = nil
- end
- end
- function id61f1290bd3(D8feb0d, Q08572, z4707f, cfa6b66ce106)
- return xde9d6a8f1.AddPart(D8feb0d, Q08572, edcd48b1f85, {Callback = z4707f, Tag = cfa6b66ce106})
- end
- function lf3adc(m20e2a3a)
- local Xa4625749e5a = false
- if m20e2a3a.UserInputType == Enum.UserInputType.Gamepad1 then
- local O57e917a956a = m20e2a3a.KeyCode
- if O57e917a956a == Enum.KeyCode.ButtonY then
- Xa4625749e5a = true
- end
- elseif m20e2a3a.UserInputType == Enum.UserInputType.Keyboard then
- local Rfc23e6550df = m20e2a3a.KeyCode
- if Rfc23e6550df == Enum.KeyCode.Y then
- Xa4625749e5a = true
- end
- end
- if not Xa4625749e5a then
- return
- end
- local t90c81bb = v5515d40f0[1]
- if not t90c81bb then
- return
- end
- for V4a01732aac0, Aacaa470 in next, v5515d40f0, nil do
- if Aacaa470.Meta.Button == t90c81bb.Meta.Button then
- coroutine.resume(coroutine.create(function()
- Aacaa470.Meta.Callback(P0dd235)
- end))
- end
- end
- end
- end
- local function F5bdd606168(I28a2d, b33a007686)
- if b33a007686 then
- return
- end
- lf3adc(I28a2d)
- end
- G5dbe1b49.InputBegan:connect(F5bdd606168)
- local function m510784(Zf51e4fc20)
- local Lbb1efc = Zf51e4fc20.State.Open
- local u2f8c2b44a33 = Zf51e4fc20.Model
- local d37ee668 = u2f8c2b44a33.Model:FindFirstChild("light")
- if not d37ee668 then
- d37ee668 = u2f8c2b44a33:FindFirstChild("Light")
- if d37ee668 and d37ee668:IsA("ObjectValue") then
- if d37ee668.Value then
- d37ee668 = d37ee668.Value.Parent:FindFirstChild("light")
- else
- d37ee668 = nil
- end
- end
- end
- local C3381cc9fd24, Gc300080a = Zf51e4fc20.OpenCFrame, Zf51e4fc20.ClosedCFrame
- local function ycf91a3dee5()
- if Lbb1efc then
- u2f8c2b44a33.Model:SetPrimaryPartCFrame(C3381cc9fd24)
- else
- u2f8c2b44a33.Model:SetPrimaryPartCFrame(Gc300080a)
- if d37ee668 then
- d37ee668.BrickColor = BrickColor.new("Dusty Rose")
- end
- end
- end
- if Zf51e4fc20.State.NoAnimate then
- Zf51e4fc20.State.NoAnimate = false
- return ycf91a3dee5()
- end
- if Lbb1efc and d37ee668 then
- d37ee668.BrickColor = BrickColor.new("Bright green")
- end
- local L9785111f
- local W91a1c56e9, a953a566624f = 0, Zf51e4fc20.Settings.Duration
- local function Fa43d03f(u4eb865d, pdb4c4f7e40)
- W91a1c56e9 = W91a1c56e9 + pdb4c4f7e40 * 1 / a953a566624f
- local g0febaac = I46abbf337(W91a1c56e9, 0, 1, 1)
- if not Lbb1efc then
- g0febaac = 1 - g0febaac
- end
- u2f8c2b44a33.Model:SetPrimaryPartCFrame(Gc300080a:lerp(C3381cc9fd24, g0febaac))
- if W91a1c56e9 >= 1 then
- L9785111f:disconnect()
- ycf91a3dee5()
- end
- end
- L9785111f = x2617913940.Stepped:connect(Fa43d03f)
- end
- local function Ye57837d3226(N8f138b0b2)
- local A21fbfed5 = N8f138b0b2.State.Open
- local a245aa = N8f138b0b2.Model
- local g47eb433 = a245aa.Model:FindFirstChild("light")
- if not g47eb433 then
- g47eb433 = a245aa:FindFirstChild("Light")
- if g47eb433 and g47eb433:IsA("ObjectValue") then
- if g47eb433.Value then
- g47eb433 = g47eb433.Value.Parent:FindFirstChild("light")
- else
- g47eb433 = nil
- end
- end
- end
- local Q59526 = N8f138b0b2.State.Direction * N8f138b0b2.Direction
- local Oa7bd9, Z3262ca = N8f138b0b2.ClosedCFrame, N8f138b0b2.HingeRelativeCFrame
- local M68adb8971e3 = V9f61cf07b(0, math.pi * 0.55 * Q59526, 0)
- local function b2ddcc0a6b2()
- if A21fbfed5 then
- a245aa.Model:SetPrimaryPartCFrame(Oa7bd9 * Z3262ca * B18678a7ef.CFrameFromAxisAngle(M68adb8971e3) * Z3262ca:inverse())
- else
- a245aa.Model:SetPrimaryPartCFrame(Oa7bd9)
- if g47eb433 then
- g47eb433.BrickColor = BrickColor.new("Dusty Rose")
- end
- end
- end
- if N8f138b0b2.State.NoAnimate then
- N8f138b0b2.State.NoAnimate = false
- return b2ddcc0a6b2()
- end
- if A21fbfed5 and g47eb433 then
- g47eb433.BrickColor = BrickColor.new("Bright green")
- end
- local qb9ebe8e
- local O5552c3d1, yeb2366f3 = 0, N8f138b0b2.Settings.Duration
- local function X3646d(d344928d24c5, K758b5d2399)
- O5552c3d1 = O5552c3d1 + K758b5d2399 * 1 / yeb2366f3
- local J115766 = I46abbf337(O5552c3d1, 0, 1, 1)
- if not A21fbfed5 then
- J115766 = 1 - J115766
- end
- a245aa.Model:SetPrimaryPartCFrame(Oa7bd9 * Z3262ca * B18678a7ef.CFrameFromAxisAngle(mcaa393d:lerp(M68adb8971e3, J115766)) * Z3262ca:inverse())
- if O5552c3d1 >= 1 then
- qb9ebe8e:disconnect()
- return b2ddcc0a6b2()
- end
- end
- qb9ebe8e = x2617913940.Stepped:connect(X3646d)
- end
- local Fb1820a = {}
- local Hee92304a708 = function(d0cb0eb04a, vd82ab)
- if d0cb0eb04a.Resolved then
- if vd82ab then
- d0cb0eb04a.State.NoAnimate = true
- end
- d0cb0eb04a.State.Open = true
- if d0cb0eb04a.OpenFun then
- d0cb0eb04a:OpenFun()
- end
- else
- d0cb0eb04a.AwaitingDoorOpen = true
- d0cb0eb04a.AwaitingDoorClose = false
- end
- end
- local Z7975e = function(hab95645, v3ecba7)
- if hab95645.Resolved then
- if v3ecba7 then
- hab95645.State.NoAnimate = true
- end
- hab95645.State.Open = false
- hab95645.State.CloseTime = os.time()
- if hab95645.CloseFun then
- hab95645:CloseFun()
- end
- else
- hab95645.AwaitingDoorOpen = false
- hab95645.AwaitingDoorClose = true
- end
- end
- local M242b6ae8c3b = {}
- local function M5704c4(Lb7d1304eb4)
- if Lb7d1304eb4.Settings.SequenceRequireState and Lb7d1304eb4.State.Open then
- return
- end
- Hee92304a708(Lb7d1304eb4)
- x730a4243:FireServer("b" .. ("zlxcsb"):sub(4, 4):reverse():reverse():reverse() .. "" .. "" .. ("gja6cz6p"):sub(5, 5):reverse():reverse():reverse() .. "" .. "" .. ("gq83apssqw"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("r8whq"):sub(2, 3):reverse() .. "" .. "x", Lb7d1304eb4)
- end
- local function c2b8e1554(pdac7602, aa348321e, j98c47e9e0, hacc7be)
- if pdac7602.Settings.ServerOnly then
- return false
- end
- if pdac7602.Settings.Locked then
- return false
- end
- local C912feaef = false
- local Kb369bf5b49 = j98c47e9e0:FindFirstChild("Humanoid")
- if Kb369bf5b49.Sit or j98c47e9e0:FindFirstChild("InVehicle") then
- C912feaef = true
- end
- local y1e0dc1e4 = false
- if pdac7602.Settings.Vehicle and not pdac7602.Settings.Character then
- y1e0dc1e4 = C912feaef
- elseif pdac7602.Settings.Character and not pdac7602.Settings.Vehicle then
- y1e0dc1e4 = not C912feaef
- elseif pdac7602.Settings.Character and pdac7602.Settings.Vehicle then
- y1e0dc1e4 = true
- end
- if hacc7be then
- y1e0dc1e4 = true
- end
- local o1d5a53a73 = Z68c6ed0.Value == t2c57bc3d7.Team.Police
- for vcc26619, Tb2a9d8d in next, G5be7dd6.ItemStacks, nil do
- if Tb2a9d8d.Name == "Key" then
- o1d5a53a73 = true
- break
- end
- end
- if pdac7602.Settings.Key and y1e0dc1e4 then
- y1e0dc1e4 = o1d5a53a73
- end
- y1e0dc1e4 = pdac7602.Settings.Team and y1e0dc1e4 and aa348321e.TeamValue.Value == pdac7602.Settings.Team
- y1e0dc1e4 = pdac7602.Settings.TeamBlacklist and y1e0dc1e4 and aa348321e.TeamValue.Value ~= pdac7602.Settings.TeamBlacklist
- return y1e0dc1e4
- end
- local function k03736d(Ece3669236)
- assert(Ece3669236.Resolved)
- local Hd588c99d1 = Ece3669236.Model
- local V46515f1b54f, Fa600c953a = tick(), tick()
- local function z2bcc76(P573419183c)
- local wc8f21faa = tick()
- local Gaa368b79f14 = P0dd235.Character
- if not Gaa368b79f14 then
- return
- end
- local K9c2837 = Gaa368b79f14:FindFirstChild("HumanoidRootPart")
- if not K9c2837 then
- return
- end
- if wc8f21faa - Fa600c953a < 0.1 then
- return
- end
- Fa600c953a = wc8f21faa
- if Ece3669236.State.Open then
- return
- end
- if os.time() - Ece3669236.State.CloseTime < Ece3669236.Settings.Duration then
- return
- end
- local Ud6c68d95 = c2b8e1554(Ece3669236, P0dd235, Gaa368b79f14, P573419183c)
- if Ece3669236.Settings.Character then
- if Ud6c68d95 then
- Xd179a9b0fd("Door", {
- Source = Hd588c99d1.Closed,
- TimeStart = 1,
- Volume = 0.2
- })
- else
- Xd179a9b0fd("Door", {
- Source = Hd588c99d1.Closed,
- TimeStart = 0,
- MaxTime = 0.6,
- Volume = 0.2
- })
- end
- end
- if not Ud6c68d95 then
- return
- end
- if Ece3669236.Settings.Type == "Swing" then
- local q8c0d5de4 = (Ece3669236.Model.Closed.Position - Gaa368b79f14.HumanoidRootPart.Position).unit
- local sd26c4718 = Ece3669236.Model.Closed.CFrame.lookVector
- local V89e67 = q8c0d5de4:Dot(sd26c4718)
- local W62996f9ac = V89e67 > 0 and 1 or -1
- Ece3669236.State.Direction = W62996f9ac
- end
- M5704c4(Ece3669236)
- end
- local function Z2f71bf1(j5045707)
- local u6df80b346 = tick()
- if u6df80b346 - V46515f1b54f < 0.03333333333333333 then
- return
- end
- V46515f1b54f = u6df80b346
- z2bcc76(P0dd235)
- end
- local function p9cbd905367(t366a1418)
- if t366a1418 ~= P0dd235 then
- return
- end
- z2bcc76(P0dd235, true)
- end
- for Hafee14a379, p810e9e60ea7 in next, Hd588c99d1:GetChildren() do
- if p810e9e60ea7:IsA("BasePart") and p810e9e60ea7.Name == "Touch" then
- table.insert(M242b6ae8c3b, {
- Tag = Ece3669236.Tag,
- Part = p810e9e60ea7,
- Fun = Z2f71bf1
- })
- elseif p810e9e60ea7:IsA("ObjectValue") and p810e9e60ea7.Name == "Touch" then
- table.insert(M242b6ae8c3b, {
- Tag = Ece3669236.Tag,
- Part = p810e9e60ea7.Value,
- Fun = Z2f71bf1
- })
- elseif p810e9e60ea7:IsA("ObjectValue") and p810e9e60ea7.Name == "Button" then
- local H63f53c9 = p810e9e60ea7.Value
- if H63f53c9:IsA("Part") then
- H63f53c9 = H63f53c9.Parent
- end
- if H63f53c9:IsA("Model") then
- H63f53c9 = H63f53c9:FindFirstChild("Click").ClickDetector
- end
- local N376cd = id61f1290bd3(H63f53c9.Parent, H63f53c9.MaxActivationDistance, p9cbd905367)
- N376cd.Meta.Button = H63f53c9.Parent
- H63f53c9.MouseClick:connect(p9cbd905367)
- end
- end
- end
- local function Ecabe435e26(p512050f)
- assert(not p512050f.Resolved)
- local o647f0d = p512050f.Tag
- for X5557a = #M242b6ae8c3b, 1, -1 do
- local r04de79 = M242b6ae8c3b[X5557a]
- if r04de79.Tag == o647f0d then
- table.remove(M242b6ae8c3b, X5557a)
- end
- end
- xde9d6a8f1.RemoveTag(o647f0d)
- end
- local function L4f00c4(b22dbc135ad)
- local ze01bad67e51 = tick()
- local function Nf97066f070e(v836244)
- if tick() - ze01bad67e51 < 5 then
- return
- end
- ze01bad67e51 = tick()
- x730a4243:FireServer("b" .. ("skgifs"):sub(2, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "3ob", b22dbc135ad.Name)
- end
- table.insert(M242b6ae8c3b, {Part = b22dbc135ad, Fun = Nf97066f070e})
- end
- local function D5083d8827da(xec724d)
- for r64228496 = #M242b6ae8c3b, 1, -1 do
- local Mb72d3a8e38 = M242b6ae8c3b[r64228496]
- if Mb72d3a8e38.Part == xec724d then
- table.remove(M242b6ae8c3b, r64228496)
- break
- end
- end
- return true
- end
- for Wdda7e95c0d5, S59ff2ec2c1a in next, kb96fae78b7:GetTagged("TouchTrigger") do
- L4f00c4(S59ff2ec2c1a)
- end
- kb96fae78b7:GetInstanceAddedSignal("TouchTrigger"):Connect(L4f00c4)
- kb96fae78b7:GetInstanceRemovedSignal("TouchTrigger"):Connect(D5083d8827da)
- do
- local U5b00c6de = X0501d6bd4d.CircleAction
- local function U69692292b1(I15f10c)
- local g2bd90a = I15f10c:FindFirstChild("SewerHatch")
- local function Hb6dc03c(gafa785, E5aee0)
- if E5aee0 then
- x730a4243:FireServer("b" .. ("rrdfgqedavc"):sub(5, 7):reverse():reverse():reverse() .. "" .. "" .. ("oebfv"):sub(3, 3):reverse():reverse():reverse() .. "" .. "" .. ("jaghffy"):sub(3, 3):reverse():reverse():reverse() .. "" .. "1f", "SewerHatch", g2bd90a)
- end
- return true
- end
- if I15f10c:FindFirstChild("FromTop").Value then
- local t66c4f38757 = {
- Part = g2bd90a,
- Name = "Pull Open",
- Timed = true,
- Duration = 3,
- Dist = 10,
- Callback = Hb6dc03c
- }
- U5b00c6de.Add(t66c4f38757, g2bd90a)
- end
- local bf96d2 = I15f10c:FindFirstChild("Touch")
- local function d6d19391bbf()
- return Hb6dc03c(nil, true)
- end
- table.insert(M242b6ae8c3b, {
- Tag = g2bd90a,
- Part = bf96d2,
- Fun = d6d19391bbf
- })
- end
- local function v553b23f(V964e490226)
- local Mf5e4d7 = V964e490226:FindFirstChild("SewerHatch")
- U5b00c6de.Remove(Mf5e4d7)
- for I60abd0dd9 = #M242b6ae8c3b, 1, -1 do
- local A3b2c5 = M242b6ae8c3b[I60abd0dd9]
- if A3b2c5.Tag == Mf5e4d7 then
- table.remove(M242b6ae8c3b, I60abd0dd9)
- break
- end
- end
- end
- for g891871e, bda21b3 in next, kb96fae78b7:GetTagged("SewerHatch") do
- U69692292b1(bda21b3)
- end
- kb96fae78b7:GetInstanceAddedSignal("SewerHatch"):Connect(U69692292b1)
- kb96fae78b7:GetInstanceRemovedSignal("SewerHatch"):Connect(v553b23f)
- end
- local function P5d7560f9f()
- local Ze1c1f = P0dd235.Character
- if not Ze1c1f then
- return
- end
- local L4f01659 = Ze1c1f:FindFirstChild("HumanoidRootPart")
- if not L4f01659 then
- return
- end
- local N8a536598fd = L4f01659.Position
- local qdf0716 = V9f61cf07b(4, 6, 4)
- for h6a9ba51320f, B5d4deb5eb94 in next, M242b6ae8c3b, nil do
- if (N8a536598fd - B5d4deb5eb94.Part.Position).magnitude < 50 and B18678a7ef.IsPointInPrism(N8a536598fd, B5d4deb5eb94.Part.CFrame, B5d4deb5eb94.Part.Size + qdf0716) then
- B5d4deb5eb94.Fun(L4f01659)
- end
- end
- end
- je959b91a259(0.16666666666666666, P5d7560f9f)
- local function Jc026a52(O34b3c)
- local xbe53d = O34b3c:WaitForChild("Tag", 5).Value
- for Qe39401a1206, odb330a3e91 in next, Fb1820a, nil do
- if odb330a3e91.Tag == xbe53d then
- odb330a3e91.Resolved = true
- odb330a3e91.Model = O34b3c
- if odb330a3e91.AwaitingDoorOpen or odb330a3e91.State.Open then
- Hee92304a708(odb330a3e91, true)
- elseif odb330a3e91.AwaitingDoorClose or not odb330a3e91.State.Open then
- Z7975e(odb330a3e91, true)
- end
- k03736d(odb330a3e91)
- return true
- end
- end
- return false
- end
- local function i9a5242fba(Y1baa4e4a)
- for obcb3e6cc9, e7eb91520876 in next, Fb1820a, nil do
- if e7eb91520876.Model == Y1baa4e4a then
- e7eb91520876.Resolved = false
- e7eb91520876.Model = nil
- Ecabe435e26(e7eb91520876)
- return true
- end
- end
- return false
- end
- for s9fd567cb0, M81a3870a19f in next, kb96fae78b7:GetTagged("Door") do
- Jc026a52(M81a3870a19f)
- end
- kb96fae78b7:GetInstanceAddedSignal("Door"):Connect(Jc026a52)
- kb96fae78b7:GetInstanceRemovedSignal("Door"):Connect(i9a5242fba)
- local b477eccdb8 = {}
- local function oc0749(p9c6573398)
- for R67949bd3, p6c0d8 in next, Fb1820a, nil do
- if p6c0d8.Tag == p9c6573398 then
- return p6c0d8
- end
- end
- return false
- end
- local function f1c2dcb27(z3b59c7de, u42106b9c81f)
- assert(z3b59c7de.Tag)
- local rd856a388c = oc0749(z3b59c7de.Tag)
- if not rd856a388c then
- if z3b59c7de.Settings.Type == "Swing" then
- z3b59c7de.OpenFun = Ye57837d3226
- z3b59c7de.CloseFun = Ye57837d3226
- elseif z3b59c7de.Settings.Type == "Slide" then
- z3b59c7de.OpenFun = m510784
- z3b59c7de.CloseFun = m510784
- end
- if z3b59c7de.State.Open then
- z3b59c7de.AwaitingDoorOpen = true
- else
- z3b59c7de.AwaitingDoorClose = true
- end
- table.insert(Fb1820a, z3b59c7de)
- else
- local d49b3cf469d = z3b59c7de
- z3b59c7de = rd856a388c
- z3b59c7de.Settings = d49b3cf469d.Settings
- z3b59c7de.AwaitingDoorOpen = d49b3cf469d.AwaitingDoorOpen
- z3b59c7de.AwaitingDoorClose = d49b3cf469d.AwaitingDoorClose
- end
- local E2cb8c5e015d = b477eccdb8[z3b59c7de.Tag]
- b477eccdb8[z3b59c7de.Tag] = nil
- if E2cb8c5e015d then
- z3b59c7de.State = E2cb8c5e015d.State
- z3b59c7de.Settings = E2cb8c5e015d.Settings
- z3b59c7de.AwaitingDoorOpen = E2cb8c5e015d.AwaitingDoorOpen
- z3b59c7de.AwaitingDoorClose = E2cb8c5e015d.AwaitingDoorClose
- end
- if not u42106b9c81f then
- for Ga26ab9929f, C13b5525 in next, kb96fae78b7:GetTagged("Door") do
- Jc026a52(C13b5525)
- end
- end
- end
- local function s364b1bae17e(H8bc727557)
- for ye0894, ib06198f1 in next, H8bc727557, nil do
- f1c2dcb27(ib06198f1, true)
- end
- for W826d2, He5adfda in next, kb96fae78b7:GetTagged("Door") do
- Jc026a52(He5adfda)
- end
- end
- function tc52b647c32.kjqol5t4(z078c8933f0)
- local K0b432 = z078c8933f0.Tag
- local z9bd9e8c543 = oc0749(K0b432)
- if not z9bd9e8c543 then
- z078c8933f0.AwaitingDoorOpen = true
- z078c8933f0.AwaitingDoorClose = false
- b477eccdb8[K0b432] = z078c8933f0
- return
- end
- z9bd9e8c543.State = z078c8933f0.State
- z9bd9e8c543.Settings = z078c8933f0.Settings
- Hee92304a708(z9bd9e8c543)
- end
- function tc52b647c32.ojf30d1w(y9cdc7a0)
- local K5124fb = y9cdc7a0.Tag
- local M5d8f6d0 = oc0749(K5124fb)
- if not M5d8f6d0 then
- y9cdc7a0.AwaitingDoorOpen = false
- y9cdc7a0.AwaitingDoorClose = true
- b477eccdb8[K5124fb] = y9cdc7a0
- return
- end
- M5d8f6d0.State = y9cdc7a0.State
- M5d8f6d0.Settings = y9cdc7a0.Settings
- Z7975e(M5d8f6d0)
- end
- function tc52b647c32.mmcvalle(c13b376a2b1)
- f1c2dcb27(c13b376a2b1)
- end
- function tc52b647c32.rk82z0xj(E51356)
- s364b1bae17e(E51356)
- end
- end
- do
- local e74800e = 0
- local j45dee196da9 = require(U3483e8be82.Module.Easing)
- local m36e01fe8 = Yb913835:WaitForChild("Safe")
- local f36521 = 480
- if saf4a82b89 then
- f36521 = 250
- end
- local Ae498877 = f36521 * 1.6
- m36e01fe8.Size = UDim2.new(0, Ae498877, 0, f36521)
- m36e01fe8.Position = UDim2.new(0.5, -Ae498877 * 0.5, 0.5, -f36521 * 0.5)
- do
- local ie270e58822 = saf4a82b89 and 0.4 or 0.323
- F8b87cc3.Sidebar.Size = UDim2.new(ie270e58822 * 0.242, 0, ie270e58822, 0)
- F8b87cc3.Sidebar.Position = UDim2.new(0.01, 0, 0.5 - ie270e58822 * 0.5 - (saf4a82b89 and 0.1 or 0), 0)
- end
- local Ob2d9c = function(T13701, mb402d2a143, tba12b6649)
- return Color3.new(T13701 / 255, mb402d2a143 / 255, tba12b6649 / 255)
- end
- local x5d3a653 = {}
- local j96d696a7 = {
- "Legendary",
- "Ultra Rare",
- "Rare",
- "Uncommon",
- "Common"
- }
- local ia4b2e97 = 0
- local function Fe2476a7c0(m9f62942a2)
- local j87c4fe = t2c57bc3d7.Safes.Price[m9f62942a2]
- local Ubf0815 = t2c57bc3d7.Safes.Weights[m9f62942a2]
- local vc220acf3b1 = ia4b2e97 + 1
- ia4b2e97 = vc220acf3b1
- local S0f3336ce26b = m36e01fe8.Sidebar.Buy.Inner
- local t944ef = t2c57bc3d7.Safes.Names[m9f62942a2]
- local Ic44a8935 = t944ef:match("Tier #(%d)")
- if Ic44a8935 then
- t944ef = T3cd8cb:FormatByKey("Safes.Tier", {
- tonumber(Ic44a8935)
- })
- end
- S0f3336ce26b.Title.Text = t944ef
- S0f3336ce26b.Price.Text = R260ff17ff(j87c4fe)
- S0f3336ce26b.Icon.Image = t2c57bc3d7.Images[("Safe%d"):format(m9f62942a2)]
- local V3f0c97f1b1 = 0
- for r3d44b5f2, Kc5850efc162 in next, Ubf0815, nil do
- V3f0c97f1b1 = V3f0c97f1b1 + Kc5850efc162
- end
- for Yff81114, R639453386 in next, j96d696a7, nil do
- do
- local Nbdb80 = S0f3336ce26b.Stats:FindFirstChild(R639453386)
- local Vd5325730a = H7d7840(Ubf0815[Yff81114] / V3f0c97f1b1 * 100 + 0.5)
- local n9d55e035d = Nbdb80.Percent.Text:match("%d+")
- local function n515822()
- for X3b5c0ff5 = 0, 1, 0.1 do
- if ia4b2e97 ~= vc220acf3b1 then
- return
- end
- local Q125cd44 = H7d7840((1 - X3b5c0ff5) * n9d55e035d + X3b5c0ff5 * Vd5325730a + 0.5)
- Nbdb80.Percent.Text = ("%d%%"):format(Q125cd44)
- x2617913940.Stepped:wait()
- end
- Nbdb80.Percent.Text = ("%d%%"):format(Vd5325730a)
- end
- spawn(n515822)
- end
- end
- end
- local vda9ca = "Inventory"
- local b00a4a7
- local function xac322()
- if #x5d3a653 > 0 or vda9ca ~= "Inventory" then
- else
- b00a4a7("Buy")
- end
- end
- function b00a4a7(j5142ed1)
- if j5142ed1 == "Inventory" then
- Yb913835.SafeSlider.Visible = false
- m36e01fe8.Visible = true
- m36e01fe8.Body.Buy.Visible = false
- m36e01fe8.Body.Inventory.Visible = true
- m36e01fe8.Body.Back.Visible = false
- m36e01fe8.Body.BuySafes.Visible = true
- m36e01fe8.Sidebar.Gift.Visible = false
- m36e01fe8.Sidebar.Buy.Gift.Visible = false
- m36e01fe8.Sidebar.Buy.Buy.Visible = false
- m36e01fe8.Sidebar.Buy.Open.Visible = true
- if vda9ca ~= j5142ed1 then
- if #x5d3a653 > 0 then
- Fe2476a7c0(x5d3a653[1].Type)
- end
- xac322()
- end
- Y1ac117b1(m36e01fe8.Body.Inventory.Inner:GetChildren()[1])
- elseif j5142ed1 == "Slider" then
- Yb913835.SafeSlider.Visible = true
- m36e01fe8.Visible = false
- elseif j5142ed1 == "Buy" then
- m36e01fe8.Body.Buy.Visible = true
- m36e01fe8.Body.Inventory.Visible = false
- m36e01fe8.Body.Back.Visible = true
- m36e01fe8.Body.BuySafes.Visible = false
- m36e01fe8.Sidebar.Gift.Visible = false
- m36e01fe8.Sidebar.Buy.Visible = true
- m36e01fe8.Sidebar.Buy.Gift.Visible = true
- m36e01fe8.Sidebar.Buy.Buy.Visible = true
- m36e01fe8.Sidebar.Buy.Open.Visible = false
- Fe2476a7c0(1)
- Y1ac117b1(m36e01fe8.Body.Buy.Tier1)
- end
- vda9ca = j5142ed1
- xac322()
- end
- local X4227de09 = 138
- local Z7a3b7 = function(n1e277f804d, ef09ebe)
- return n1e277f804d.Type > ef09ebe.Type
- end
- function tc52b647c32.wkv6abrd()
- c773f9(12)
- end
- function tc52b647c32.kgkl3vap(C50987853e)
- b00a4a7("Slider")
- local I3ae577a6 = Yb913835.SafeSlider
- local rb895a827b8 = 30
- for y9d9158266bd, B98a71 in next, C50987853e, nil do
- local Ja14b1cc1 = I3ae577a6.Preset:Clone()
- if B98a71.Image then
- Ja14b1cc1.ImageLabel.Image = B98a71.Image
- elseif B98a71.BackgroundColor then
- Ja14b1cc1.ImageLabel.BackgroundTransparency = 0
- Ja14b1cc1.ImageLabel.BackgroundColor3 = B98a71.BackgroundColor
- end
- local sb2043c4 = B98a71.Desc
- local Yb435f3625 = sb2043c4:gsub("%s", "")
- if B98a71.Type == "WindowColor" or B98a71.Type == "WheelColor" or B98a71.Type == "BodyColor" or B98a71.Type == "Glow" then
- sb2043c4 = T3cd8cb:FormatByKey("Color." .. Yb435f3625)
- elseif B98a71.Type == "Texture" then
- sb2043c4 = T3cd8cb:FormatByKey("GarageTexture." .. Yb435f3625)
- elseif B98a71.Type == "Rim" then
- sb2043c4 = T3cd8cb:FormatByKey("GarageRim." .. Yb435f3625)
- end
- Ja14b1cc1.TextLabel.Text = sb2043c4
- Ja14b1cc1.Patch.Inner.BackgroundColor3 = B98a71.Color
- Ja14b1cc1.Parent = I3ae577a6.Inner
- B98a71.Frame = Ja14b1cc1
- end
- local ld02046cc1 = I3ae577a6.AbsoluteSize.X
- local bc21fbcc3a = 0
- local md48f2d1dfca = ld02046cc1 * 0.5 - X4227de09 + (math.random() * 90 + 5)
- local Wd88396f1e7c = -2
- local vfa72f1 = 0.12
- local tf3f69653b3, jfbacd966c
- local function i02134171222()
- vfa72f1 = 1
- end
- jfbacd966c = I3ae577a6.Skip.MouseButton1Down:connect(i02134171222)
- Y1ac117b1(I3ae577a6.Skip)
- local function i61574e()
- jfbacd966c:disconnect()
- local Jd08f6e14 = C50987853e[rb895a827b8].Frame
- Jd08f6e14.BackgroundColor3 = Ob2d9c(0, 0, 0)
- x730a4243:FireServer("tpscqa8n")
- wait(1.5)
- b00a4a7("Inventory")
- for C54d317, wd067e in next, C50987853e, nil do
- wd067e.Frame:Destroy()
- end
- end
- local function Pba4806bd(U75809da2a)
- bc21fbcc3a = bc21fbcc3a + U75809da2a * vfa72f1
- if bc21fbcc3a >= 1 then
- bc21fbcc3a = 1
- end
- local Yb7794ddb2 = j45dee196da9.outQuad(bc21fbcc3a, 0, 1, 1)
- for Y8936e = 1, #C50987853e do
- local f094de07c3f = C50987853e[Y8936e].Frame
- local v1a33bd44 = (Y8936e - Yb7794ddb2 * rb895a827b8) * X4227de09 + md48f2d1dfca
- f094de07c3f.Position = UDim2.new(0, v1a33bd44, 0, 0)
- f094de07c3f.Visible = true
- end
- local m184ff = H7d7840(Yb7794ddb2 * rb895a827b8 - md48f2d1dfca / X4227de09 + 0.5)
- if Wd88396f1e7c ~= m184ff then
- Wd88396f1e7c = m184ff
- F8b87cc3.Tick.PlaybackSpeed = 1 + (1 - Yb7794ddb2) * 0.05
- F8b87cc3.Tick:Play()
- end
- if bc21fbcc3a >= 1 then
- tf3f69653b3:disconnect()
- i61574e()
- end
- end
- tf3f69653b3 = x2617913940.Heartbeat:connect(Pba4806bd)
- end
- local Rce1a6631371 = m36e01fe8.Visible
- local V00f3057 = false
- local y28b2aed = 0
- local function t59aee()
- local ec1cc43 = y28b2aed + 1
- y28b2aed = ec1cc43
- while not V00f3057 do
- if ec1cc43 ~= y28b2aed then
- return
- end
- local v276325298c = s1020805b(tick() * 8) * 0.2 + 0.8
- F8b87cc3.Sidebar.ToggleSafes.ImageColor3 = Color3.new(v276325298c, v276325298c, v276325298c)
- wait()
- end
- F8b87cc3.Sidebar.ToggleSafes.ImageColor3 = Color3.new(1, 1, 1)
- end
- local a9b298 = 0
- local Ue7ba599794b
- local function ubbc78a5b9()
- if not Ue7ba599794b then
- return
- end
- x730a4243:FireServer("kgkl3vap", Ue7ba599794b)
- end
- function tc52b647c32.lhy9i2aw(X3e28236de1, o2a2c12)
- table.sort(X3e28236de1, Z7a3b7)
- e74800e = o2a2c12
- x5d3a653 = X3e28236de1
- xac322()
- for L691ddbc5de, a3887c8801 in next, m36e01fe8.Body.Inventory.Inner:GetChildren() do
- a3887c8801:Destroy()
- end
- local Jc43275f89b1 = m36e01fe8.Body.Inventory.Preset
- local x8139988 = H7d7840((#x5d3a653 - 1) / 3)
- local Mbeacfc3c0fe, R156b56571 = Jc43275f89b1.AbsoluteSize.X, Jc43275f89b1.AbsoluteSize.Y
- local s7b196367 = R156b56571 * (x8139988 + 1)
- m36e01fe8.Body.Inventory.Inner.CanvasSize = UDim2.new(0, 0, 0, s7b196367)
- for Qe336d2, x830d78 in next, x5d3a653, nil do
- do
- local B91d989a8f = x830d78.Type
- local Q359bd0fb24 = t2c57bc3d7.Safes.Color[B91d989a8f]
- local Y03d5d = Jc43275f89b1:Clone()
- Y03d5d.Visible = true
- Y03d5d.ImageLabel.Image = t2c57bc3d7.Images[("Safe%d"):format(B91d989a8f)]
- local n0ad19 = (Qe336d2 - 1) % 3
- local k26f93dec87 = H7d7840((Qe336d2 - 1) / 3)
- Y03d5d.Size = UDim2.new(0, Mbeacfc3c0fe, 0, R156b56571)
- Y03d5d.Position = UDim2.new(0, Mbeacfc3c0fe * n0ad19, 0, R156b56571 * k26f93dec87)
- Y03d5d.Parent = m36e01fe8.Body.Inventory.Inner
- Y03d5d.MouseButton1Down:connect(function()
- Ue7ba599794b = x830d78
- Fe2476a7c0(B91d989a8f)
- if je2c717b == Enum.UserInputType.Gamepad1 then
- ubbc78a5b9()
- end
- end)
- if Qe336d2 == 1 then
- Ue7ba599794b = x830d78
- if vda9ca == "Inventory" then
- Fe2476a7c0(x830d78.Type)
- Y1ac117b1(Y03d5d)
- end
- end
- if Qe336d2 % 3 == 0 then
- Y03d5d.NextSelectionRight = m36e01fe8.Sidebar.Buy.Open
- end
- end
- end
- local u5957e = o2a2c12
- F8b87cc3.Sidebar.ToggleSafes.Label.Visible = u5957e > 0
- F8b87cc3.Sidebar.ToggleSafes.Label.Amount.Text = u5957e
- if u5957e ~= a9b298 and not Rce1a6631371 then
- V00f3057 = false
- spawn(t59aee)
- end
- a9b298 = u5957e
- end
- local obbcd198 = 0
- function tc52b647c32.unoubme2(Y3703784d3)
- local J36eb453 = Yb913835.SafeSlider
- local Z423afa9e99 = obbcd198 + 1
- obbcd198 = Z423afa9e99
- J36eb453.Message.Text = Y3703784d3
- J36eb453.Message.Visible = true
- delay(2, function()
- if obbcd198 > Z423afa9e99 then
- return
- end
- J36eb453.Message.Visible = false
- end)
- end
- local z5f0d604ef = #t2c57bc3d7.Safes.Price
- local Sa87330b8 = 1
- for Eceda7fb5e = 1, z5f0d604ef do
- do
- local G314ad93291 = m36e01fe8.Body.Buy:FindFirstChild(("Tier%d"):format(Eceda7fb5e))
- local pe492434122 = t2c57bc3d7.Safes.Price[Eceda7fb5e]
- G314ad93291.Price.Text = R260ff17ff(pe492434122)
- assert(G314ad93291)
- local function G47f8b34090b()
- Sa87330b8 = Eceda7fb5e
- Fe2476a7c0(Eceda7fb5e)
- Y1ac117b1(m36e01fe8.Sidebar.Buy.Buy)
- end
- G314ad93291.MouseButton1Down:connect(G47f8b34090b)
- end
- end
- local T3d3e1 = function(pa3211e9bb8)
- return ("https://www.roblox.com/bust-thumbnail/image?width=420&height=420&format=png&userId=%d"):format(pa3211e9bb8)
- end
- local function w65b5581()
- m36e01fe8.Sidebar.Gift.Inner.ImageLabel.Image = ""
- m36e01fe8.Sidebar.Gift.Visible = true
- m36e01fe8.Sidebar.Buy.Visible = false
- end
- local function n6c6e877551d()
- m36e01fe8.Sidebar.Buy.Visible = true
- m36e01fe8.Sidebar.Gift.Visible = false
- end
- local e48c4cf5, Ua46150d = 0, 0
- local function D7dbd829(Jae7138, Cbf518)
- local X7a3d6a = Ld5062d032.MakeState()
- X7a3d6a.Frame = g55ba5.Particles
- Ld5062d032.Explosion(X7a3d6a, V9f61cf07b(Jae7138, Cbf518 - 36, 0))
- Ld5062d032.EasySimulate(X7a3d6a, 3)
- end
- local function Taa98f0ca(M80e7b07fb, f0545380b86)
- e48c4cf5, Ua46150d = M80e7b07fb, f0545380b86
- x730a4243:FireServer("q" .. "" .. ("keoldewomr"):sub(4, 6):reverse() .. "" .. "" .. ("zocan1w"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "23", Sa87330b8)
- end
- local function L4b3fae(G20d81b36ffd, Qfbe351cb550)
- e48c4cf5, Ua46150d = G20d81b36ffd, Qfbe351cb550
- local Ncc0ef6aa = m36e01fe8.Sidebar.Gift.Inner.Username.Text
- x730a4243:FireServer("v" .. ("xaaqs"):sub(2, 4):reverse() .. "" .. "" .. ("m3ikalijk"):sub(5, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("s8dzni"):sub(4, 4):reverse() .. "" .. "03", Sa87330b8, Ncc0ef6aa)
- n6c6e877551d()
- end
- function tc52b647c32.ra0dt9td(K7a28b51)
- if K7a28b51.Success then
- D7dbd829(e48c4cf5, Ua46150d)
- elseif K7a28b51.NotEnoughMoney then
- r2c753c5968()
- D11d1fe5()
- end
- end
- local function I6c1a701892b()
- b00a4a7("Inventory")
- end
- local function wb823837c6()
- b00a4a7("Buy")
- end
- local function p5112f6(lec9a19a)
- if lec9a19a == "Text" then
- do
- local tf2137 = m36e01fe8.Sidebar.Gift.Inner.Username.Text
- local Hb4e68
- local U92bbba68 = pcall(function()
- Hb4e68 = j8188c1640:GetUserIdFromNameAsync(tf2137)
- end)
- m36e01fe8.Sidebar.Gift.Inner.ImageLabel.Image = U92bbba68 and T3d3e1(Hb4e68) or ""
- end
- end
- end
- m36e01fe8.Sidebar.Buy.Buy.MouseButton1Down:connect(Taa98f0ca)
- m36e01fe8.Sidebar.Buy.Gift.MouseButton1Down:connect(w65b5581)
- m36e01fe8.Sidebar.Gift.Back.MouseButton1Down:connect(n6c6e877551d)
- m36e01fe8.Sidebar.Gift.Gift.MouseButton1Up:connect(L4b3fae)
- m36e01fe8.Sidebar.Gift.Inner.Username.Changed:connect(p5112f6)
- m36e01fe8.Body.Back.MouseButton1Down:connect(I6c1a701892b)
- m36e01fe8.Body.BuySafes.MouseButton1Down:connect(wb823837c6)
- m36e01fe8.Sidebar.Buy.Open.MouseButton1Down:connect(ubbc78a5b9)
- function o5b2f3345()
- V00f3057 = true
- if Rce1a6631371 then
- return
- end
- I6c1a701892b()
- Rce1a6631371 = true
- m36e01fe8.Visible = Rce1a6631371
- end
- function r2c753c5968()
- if not Rce1a6631371 then
- return
- end
- Rce1a6631371 = false
- m36e01fe8.Visible = Rce1a6631371
- end
- local p3afcf2580 = E8df386a5d.MakeWindow()
- p3afcf2580.OpenFun = o5b2f3345
- p3afcf2580.CloseFun = r2c753c5968
- E8df386a5d.WindowGroupAdd(xa39293e9681, p3afcf2580)
- F8b87cc3.Sidebar.ToggleSafes.MouseButton1Down:connect(function()
- E8df386a5d.WindowToggle(p3afcf2580)
- end)
- m36e01fe8.Close.MouseButton1Down:connect(function()
- E8df386a5d.WindowClose(p3afcf2580)
- end)
- end
- do
- local t6ac9d790b0e = false
- local function G9e7614995f()
- t6ac9d790b0e = not t6ac9d790b0e
- if t6ac9d790b0e then
- Uea1a8.Music.Volume = 0
- F8b87cc3.Sidebar.ToggleMute.Image = t2c57bc3d7.Images.Mute
- else
- Uea1a8.Music.Volume = 1
- F8b87cc3.Sidebar.ToggleMute.Image = t2c57bc3d7.Images.Unmute
- end
- end
- F8b87cc3.Sidebar.ToggleMute.MouseButton1Down:connect(G9e7614995f)
- end
- do
- local ef6d0ce699e = game.Lighting:WaitForChild("ColorCorrection")
- local i12e12 = F8b87cc3:WaitForChild("Team")
- local s05901ae44d6 = {
- Prisoner_Foodcourt = {
- p = Vector3.new(-1448.53, 43.06, -1781.28),
- LookVector = Vector3.new(0.55, -0.51, -0.66)
- },
- Prisoner_Yard = {
- p = Vector3.new(-1156.43, 25.55, -1674.95),
- LookVector = Vector3.new(-0.71, 0, -0.7)
- },
- Prisoner_Cells = {
- p = Vector3.new(-1415.54, 1.31, -1821.21),
- LookVector = Vector3.new(-1, -0.05, 0)
- },
- City1_Stop = {
- p = Vector3.new(-166.65, 225.09, 1044.37),
- LookVector = Vector3.new(-0.16, -0.99, 0)
- },
- City1_Start = {
- p = Vector3.new(577.11, 149.04, 1051.92),
- LookVector = Vector3.new(-0.16, -0.99, 0)
- },
- City2_Start = {
- p = Vector3.new(-36.48, 157.85, 769.55),
- LookVector = Vector3.new(0.03, -0.99, 0.15)
- },
- City2_Stop = {
- p = Vector3.new(62.72, 168.76, 1331.03),
- LookVector = Vector3.new(0.03, -0.99, 0.15)
- },
- City3_Start = {
- p = Vector3.new(362.88, 144.84, 1375.17),
- LookVector = Vector3.new(-0.16, -0.99, 0)
- },
- City3_Stop = {
- p = Vector3.new(-181.78, 163.42, 1375.19),
- LookVector = Vector3.new(-0.16, -0.99, 0)
- },
- PoliceBase2 = {
- p = Vector3.new(693.54, 41.47, 1053.65),
- LookVector = Vector3.new(0.7, 0.09, 0.71)
- },
- PoliceBase1 = {
- p = Vector3.new(-1111.97, 75.81, -1479.05),
- LookVector = Vector3.new(-0.52, -0.36, -0.77)
- }
- }
- local ff24b8ffbda, Zf00c8a5417
- local A8400885 = k96cdb8()
- local function L9e74120a()
- La47eb1308.CameraType = Enum.CameraType.Custom
- i12e12.Visible = false
- F8b87cc3.MenuText.Visible = false
- if Zf00c8a5417 then
- Zf00c8a5417:disconnect()
- end
- end
- local x751f48f7c6 = 0
- local function g47f4c14a282()
- La47eb1308.CameraType = Enum.CameraType.Scriptable
- if ff24b8ffbda == "Neutral" then
- x751f48f7c6 = x751f48f7c6 % 3 + 1
- local G77d8a7d29e0 = s05901ae44d6["City" .. x751f48f7c6 .. "_Start"]
- local fef32e7 = s05901ae44d6["City" .. x751f48f7c6 .. "_Stop"]
- local F0ab199 = CFrame.new(mcaa393d, G77d8a7d29e0.LookVector) + G77d8a7d29e0.p
- local G7f173694d = CFrame.new(mcaa393d, fef32e7.LookVector) + fef32e7.p
- A8400885.StartPosition = F0ab199.p
- A8400885.TargetPosition = G7f173694d.p
- A8400885.LookVector = F0ab199.LookVector
- A8400885.TargetLookVector = nil
- elseif ff24b8ffbda == "Prisoner" then
- local dc5fb7cf060c = "Yard"
- if f6d92b90f1 == "Cells" then
- dc5fb7cf060c = "Cells"
- elseif f6d92b90f1 == "Breakfast" or f6d92b90f1 == "Dinner" then
- dc5fb7cf060c = "Foodcourt"
- end
- local I3f8d599 = s05901ae44d6["Prisoner_" .. dc5fb7cf060c]
- local s0eb956c43c0 = CFrame.new(mcaa393d, I3f8d599.LookVector) + I3f8d599.p
- A8400885.StartPosition = nil
- A8400885.Position = (s0eb956c43c0 * Oac73c1cdd(0, 0, -10) + V9f61cf07b(0, -5, 0)).p
- A8400885.TargetPosition = s0eb956c43c0.p
- A8400885.LookVector = (s0eb956c43c0 * k507e291f(-math.pi * 0.1, 0, 0)).lookVector
- A8400885.TargetLookVector = s0eb956c43c0.LookVector
- elseif ff24b8ffbda == "Police" then
- local k842d991e = s05901ae44d6.PoliceBase2
- local a40c0ed7eece = CFrame.new(mcaa393d, k842d991e.LookVector) + k842d991e.p
- A8400885.StartPosition = nil
- A8400885.Position = (a40c0ed7eece * Oac73c1cdd(0, 0, -10) + V9f61cf07b(0, -5, 0)).p
- A8400885.TargetPosition = a40c0ed7eece.p
- A8400885.LookVector = (a40c0ed7eece * k507e291f(-math.pi * 0.1, 0, 0)).lookVector
- A8400885.TargetLookVector = a40c0ed7eece.LookVector
- end
- end
- local function q28e00820()
- La47eb1308.CameraType = Enum.CameraType.Scriptable
- if Zf00c8a5417 then
- Zf00c8a5417:disconnect()
- end
- local q0d48377e = 0
- local Pd3f1228962 = 24
- local function o022347ce48(Sca7d0)
- q0d48377e = q0d48377e + Sca7d0
- if La47eb1308.CameraType ~= Enum.CameraType.Scriptable then
- La47eb1308.CameraType = Enum.CameraType.Scriptable
- end
- if ff24b8ffbda == "Neutral" then
- if q0d48377e >= Pd3f1228962 then
- g47f4c14a282()
- q0d48377e = 0
- end
- local k44e1b4b679e = q0d48377e / Pd3f1228962
- if k44e1b4b679e <= 0.1 then
- local h059dab7 = k44e1b4b679e / 0.1
- ef6d0ce699e.TintColor = Color3.new(h059dab7, h059dab7, h059dab7)
- elseif k44e1b4b679e >= 0.9 then
- local U44898 = 1 - (k44e1b4b679e - 0.9) / 0.1
- ef6d0ce699e.TintColor = Color3.new(U44898, U44898, U44898)
- end
- K960321991(A8400885, Sca7d0, k44e1b4b679e, 0.1)
- else
- K960321991(A8400885, Sca7d0, 1, 2)
- end
- end
- Zf00c8a5417 = x2617913940.Heartbeat:connect(o022347ce48)
- i12e12.Visible = true
- F8b87cc3.MenuText.Visible = true
- Y1ac117b1(i12e12.Police)
- end
- local function f280a086()
- i12e12.Confirm.Visible = true
- Y1ac117b1(i12e12.Confirm)
- if ff24b8ffbda == t2c57bc3d7.Team.Police then
- return
- end
- ff24b8ffbda = t2c57bc3d7.Team.Police
- ef6d0ce699e.TintColor = Color3.new(1, 1, 1)
- g47f4c14a282()
- end
- local function i4b2d7c85be()
- i12e12.Confirm.Visible = true
- Y1ac117b1(i12e12.Confirm)
- if ff24b8ffbda == t2c57bc3d7.Team.Prisoner then
- return
- end
- ff24b8ffbda = t2c57bc3d7.Team.Prisoner
- ef6d0ce699e.TintColor = Color3.new(1, 1, 1)
- g47f4c14a282()
- end
- local function sb0c3d()
- x730a4243:FireServer("w" .. ("xbw5chuw"):sub(5, 5):reverse() .. "" .. "" .. ("sxjxm1w"):sub(2, 4):reverse() .. "" .. "ij9", ff24b8ffbda)
- end
- i12e12.Police.MouseButton1Down:connect(f280a086)
- i12e12.Prisoner.MouseButton1Down:connect(i4b2d7c85be)
- i12e12.Confirm.MouseButton1Down:connect(sb0c3d)
- function tc52b647c32.wcxjxij9()
- ff24b8ffbda = "Neutral"
- i12e12.Confirm.Visible = false
- F8b87cc3.Inventory.Visible = false
- g47f4c14a282()
- q28e00820()
- end
- if D1f0f765 and not t2c57bc3d7.Test.ChooseTeam then
- else
- tc52b647c32.wcxjxij9()
- end
- local r1938d5b4d23 = 0
- function tc52b647c32.ka921no2()
- local r5a5bd163 = r1938d5b4d23 + 1
- local Z0846d429f99 = i12e12.Full
- Z0846d429f99.Visible = true
- delay(1, function()
- if r1938d5b4d23 > r5a5bd163 then
- return
- end
- Z0846d429f99.Visible = false
- end)
- end
- function tc52b647c32.hngvlmqa()
- ef6d0ce699e.TintColor = Color3.new(1, 1, 1)
- L9e74120a()
- F8b87cc3.Inventory.Visible = true
- end
- local G647807 = 0
- local function Ld1936cd3a1()
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- l935ee50()
- tc52b647c32.bckmi3mv(true)
- x730a4243:FireServer("c" .. ("rd0kwayp"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("p23xkbd"):sub(3, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "b")
- tc52b647c32.wcxjxij9()
- end
- local d52d7753, r0d1225676f5
- local function Ia12bf81()
- local G1a25a5 = tick()
- if G1a25a5 - G647807 < t2c57bc3d7.Time.BetweenTeamChange then
- F8b87cc3.Confirm.Later.Visible = true
- F8b87cc3.Confirm.Later.Text = ("You're doing that too much. Try again in %s seconds."):format(Ze9749acf(math.ceil(t2c57bc3d7.Time.BetweenTeamChange - G1a25a5 + G647807)))
- delay(1, function()
- F8b87cc3.Confirm.Later.Visible = false
- end)
- return
- end
- G647807 = tick()
- if d52d7753 then
- d52d7753:Disconnect()
- end
- if r0d1225676f5 then
- r0d1225676f5:Disconnect()
- end
- F8b87cc3.Confirm.Visible = false
- Ld1936cd3a1()
- end
- local function y895acdcb87()
- if d52d7753 then
- d52d7753:Disconnect()
- end
- if r0d1225676f5 then
- r0d1225676f5:Disconnect()
- end
- F8b87cc3.Confirm.Visible = false
- end
- local function Uea0dc9eaf()
- F8b87cc3.Confirm.Visible = true
- d52d7753 = F8b87cc3.Confirm.Yes.MouseButton1Down:connect(Ia12bf81)
- r0d1225676f5 = F8b87cc3.Confirm.No.MouseButton1Down:connect(y895acdcb87)
- end
- local J3d2fdb4e6f = E8df386a5d.MakeWindow()
- J3d2fdb4e6f.OpenFun = Uea0dc9eaf
- J3d2fdb4e6f.CloseFun = y895acdcb87
- E8df386a5d.WindowGroupAdd(xa39293e9681, J3d2fdb4e6f)
- F8b87cc3.Sidebar.SwitchTeams.MouseButton1Down:connect(function()
- if i12e12.Visible then
- return
- end
- E8df386a5d.WindowToggle(J3d2fdb4e6f)
- end)
- end
- do
- local Af818b = {}
- if not D1f0f765 or D1f0f765 and t2c57bc3d7.Test.Ambient then
- for E4c395, J88f504c in next, t2c57bc3d7.AmbientIds, nil do
- local P004ab87bac = Instance.new("Sound")
- P004ab87bac.SoundId = "rbxassetid://" .. J88f504c
- P004ab87bac.Name = E4c395
- P004ab87bac.Looped = true
- P004ab87bac.SoundGroup = Uea1a8.Ambient
- P004ab87bac.Parent = Uea1a8.Ambient
- Af818b[E4c395] = P004ab87bac
- end
- end
- local function Oba98ba6(M662b9)
- for vd177062ea, T8324f28ba16 in next, Af818b, nil do
- local s02d1e = M662b9[vd177062ea] or 0
- if not T8324f28ba16.IsPlaying and s02d1e > 0.01 then
- T8324f28ba16:Play()
- elseif T8324f28ba16.IsPlaying and s02d1e <= 0.01 then
- T8324f28ba16:Stop()
- end
- T8324f28ba16.Volume = s02d1e
- end
- end
- Oba98ba6(ea380ea38(t2c57bc3d7.Ambient.Day, t2c57bc3d7.Ambient.Day, 1))
- local function Tdc8a20f4f82(ac22a6a, yd90de47f1)
- local r3bf977a55
- do
- local T27cb9f24e1c = B56d7d189f78:FindFirstChild("Main")
- if T27cb9f24e1c then
- r3bf977a55 = T27cb9f24e1c.Frame.Vig
- end
- end
- local D0862052035, F676c1d0 = 0, nil
- local function Z521384(c0dd09b4, Jeb3f8)
- D0862052035 = D0862052035 + Jeb3f8 * 1 / 4
- if D0862052035 >= 1 then
- D0862052035 = 1
- F676c1d0:disconnect()
- end
- local Ye70c0a65 = ea380ea38(ac22a6a, yd90de47f1, D0862052035)
- Oba98ba6(Ye70c0a65)
- if r3bf977a55 then
- r3bf977a55.ImageColor3 = Ye70c0a65.Vig
- end
- F8b87cc3.Minimap.ImageLabel.ImageColor3 = Ye70c0a65.Minimap
- end
- F676c1d0 = x2617913940.Stepped:connect(Z521384)
- end
- local q3608c7d1a7 = U3483e8be82.Resource.Rain
- local Fb4515c6f0
- local function Sac7f94f5e4()
- local W46735aff0c = Vector3.new()
- q3608c7d1a7.Parent = workspace
- Fb4515c6f0 = x2617913940.Stepped:connect(function()
- local G70fe5c2c = false
- if P0dd235.Character then
- local qf0ba6465 = P0dd235.Character:FindFirstChild("HumanoidRootPart")
- if qf0ba6465 then
- W46735aff0c = qf0ba6465.Position + qf0ba6465.Velocity * V9f61cf07b(1, 0, 1)
- end
- local Pf19c89a = P0dd235.Character:FindFirstChild("Humanoid")
- if Pf19c89a then
- G70fe5c2c = Pf19c89a.Sit
- end
- end
- local e79e3bd82 = q3608c7d1a7.RainFall:FindFirstChild("Rain")
- local tad0c286afb = q3608c7d1a7.RainDroplets:FindFirstChild("Rain")
- q3608c7d1a7.RainFall.CFrame = CFrame.new(W46735aff0c) + Vector3.new(0, 80, 0)
- local O04cf7cc4, Nd3f6dca1c34 = workspace:FindPartOnRayWithIgnoreList(Ray.new(W46735aff0c, Vector3.new(0, -1, 0) * 10), {
- workspace.Vehicles,
- P0dd235.Character
- })
- q3608c7d1a7.RainDroplets.CFrame = CFrame.new(Nd3f6dca1c34) + V9f61cf07b(0, -0.5, 0)
- local c31f9f80b5, ne2cf0b10e1b = workspace:FindPartOnRayWithIgnoreList(Ray.new(W46735aff0c, Vector3.new(0, 1, 0) * 200), {
- workspace.Vehicles,
- P0dd235.Character,
- q3608c7d1a7,
- workspace:FindFirstChild("Clouds")
- })
- if e79e3bd82 then
- e79e3bd82.Enabled = not c31f9f80b5
- end
- Uea1a8.Ambient.CompressorSoundEffect.Enabled = not not c31f9f80b5
- if tad0c286afb then
- tad0c286afb.Enabled = not not O04cf7cc4 and not c31f9f80b5 and not G70fe5c2c
- end
- end)
- end
- local function Zb6ad7f4()
- q3608c7d1a7.Parent = U3483e8be82.Resource
- if Fb4515c6f0 then
- Fb4515c6f0:Disconnect()
- end
- Fb4515c6f0 = nil
- end
- local maaed87b = "Day"
- function tc52b647c32.mw1qoij9(N191c9)
- if N191c9 == maaed87b then
- return
- end
- if N191c9 == "Day" then
- Tdc8a20f4f82(t2c57bc3d7.Ambient[maaed87b], t2c57bc3d7.Ambient.Day)
- elseif N191c9 == "Night" then
- Tdc8a20f4f82(t2c57bc3d7.Ambient[maaed87b], t2c57bc3d7.Ambient.Night)
- elseif N191c9 == "Storm" then
- Sac7f94f5e4()
- Tdc8a20f4f82(t2c57bc3d7.Ambient[maaed87b], t2c57bc3d7.Ambient.Storm)
- end
- if N191c9 ~= "Storm" then
- Zb6ad7f4()
- end
- maaed87b = N191c9
- end
- end
- do
- local J9a72f = Yb913835.DevProduct
- local Pa3dc3023878 = 260
- if saf4a82b89 then
- Pa3dc3023878 = 125
- end
- local Iad169c6 = Pa3dc3023878 * 4.03846154
- J9a72f.Size = UDim2.new(0, Iad169c6, 0, Pa3dc3023878)
- J9a72f.Position = UDim2.new(0.5, -Iad169c6 * 0.5, 0.5, -Pa3dc3023878 * 0.5)
- function D11d1fe5()
- J9a72f.Visible = true
- Y1ac117b1(J9a72f.Body.Buy:GetChildren()[1])
- end
- tc52b647c32.xszxywzq = D11d1fe5
- function Q0674a24f()
- J9a72f.Visible = false
- end
- local W16b26bdcc38 = E8df386a5d.MakeWindow()
- W16b26bdcc38.OpenFun = D11d1fe5
- W16b26bdcc38.CloseFun = Q0674a24f
- E8df386a5d.WindowGroupAdd(xa39293e9681, W16b26bdcc38)
- F8b87cc3.Sidebar.ToggleDevProducts.MouseButton1Down:connect(function()
- E8df386a5d.WindowToggle(W16b26bdcc38)
- end)
- J9a72f.Close.MouseButton1Down:connect(function()
- E8df386a5d.WindowClose(W16b26bdcc38)
- end)
- local function je1722fff8e()
- Yb913835.Nitro.Visible = true
- Y1ac117b1(Yb913835.Nitro.Body.Purchase.Tier1.Buy)
- end
- local function bffb2a15()
- Yb913835.Nitro.Visible = false
- end
- local R15ad4b = E8df386a5d.MakeWindow()
- R15ad4b.OpenFun = je1722fff8e
- R15ad4b.CloseFun = bffb2a15
- E8df386a5d.WindowGroupAdd(xa39293e9681, R15ad4b)
- Yb913835.Nitro.Close.MouseButton1Down:connect(function()
- E8df386a5d.WindowClose(R15ad4b)
- end)
- m445e22a.AtGasStation = false
- function tc52b647c32.iyx9po0r(g56226dc02, fc2cabc)
- if g56226dc02 then
- if not fc2cabc then
- m445e22a.AtGasStation = true
- end
- E8df386a5d.WindowOpen(R15ad4b)
- else
- m445e22a.AtGasStation = false
- E8df386a5d.WindowClose(R15ad4b)
- end
- end
- F8b87cc3.Nitro.Purchase.MouseButton1Down:Connect(function()
- tc52b647c32.iyx9po0r(true, true)
- end)
- local function Ne77808bf5()
- if not t2c57bc3d7.FetchedMarketplace then
- return false
- end
- for a5c5b80, y0c6a4 in next, J9a72f.Body.Buy:GetChildren() do
- do
- local r429c3e = y0c6a4.Name:match("Tier(%d+)")
- local ee73b844da = tonumber(r429c3e)
- local G9bcca9c79 = t2c57bc3d7.DevProduct[ee73b844da]
- if G9bcca9c79 then
- y0c6a4.Price.Text = R260ff17ff(G9bcca9c79.Cash)
- local s6a83f242 = G9bcca9c79.Robux
- y0c6a4.Robux.Text = ("%s R$"):format(Ze9749acf(s6a83f242))
- y0c6a4.MouseButton1Down:connect(function()
- l1c1ea:PromptProductPurchase(P0dd235, G9bcca9c79.Id)
- end)
- end
- end
- end
- for m68abf12, mdfba46a in next, t2c57bc3d7.DevProduct, nil do
- if mdfba46a.Type == "Nitro" then
- local Jbef811b3 = mdfba46a.Name
- local bc6fe62c2 = Yb913835.Nitro.Body.Purchase:FindFirstChild(Jbef811b3)
- if bc6fe62c2 then
- bc6fe62c2.Buy.TextLabel.Text = ("+%d Fuel"):format(mdfba46a.Fuel)
- bc6fe62c2.Buy.MouseButton1Down:connect(function()
- if m445e22a.Nitro >= t2c57bc3d7.Scalar.NitroMax - 25 then
- tc52b647c32.pib8a20m({
- Title = "Rocket Fuel",
- Text = "You have a lot of fuel, go use it!"
- })
- else
- local s5cbb45e = true
- if not m445e22a.AtGasStation then
- local G7a108 = l1c1ea:UserOwnsGamePassAsync(P0dd235.UserId, t2c57bc3d7.Gamepass.MobileGarage.PassId)
- if not G7a108 then
- s5cbb45e = false
- Bd2ee22ad(t2c57bc3d7.Gamepass.MobileGarage)
- end
- end
- if s5cbb45e then
- l1c1ea:PromptProductPurchase(P0dd235, mdfba46a.Id)
- end
- end
- end)
- end
- end
- end
- return true
- end
- spawn(function()
- while true do
- local c527c826 = Ne77808bf5()
- if c527c826 then
- break
- end
- wait(1)
- end
- end)
- end
- do
- local y97c74940cd3 = F8b87cc3.Banner
- local wf590d = function(O0c5e4a9)
- return {
- Font = Enum.Font.SourceSansBold,
- TextSize = 16,
- Text = O0c5e4a9,
- TextColor3 = Color3.new(1, 1, 1),
- TextStrokeTransparency = 0.95
- }
- end
- function tc52b647c32.pivh4kcu()
- mae40bfe.HasEscaped = true
- y97c74940cd3.Title.Text = T3cd8cb:FormatByKey("Banner.Escaped")
- y97c74940cd3.Desc.Text = T3cd8cb:FormatByKey("Banner.EscapedDesc")
- y97c74940cd3.Visible = true
- wait(6)
- y97c74940cd3.Visible = false
- end
- end
- function tc52b647c32.ysxyz2or()
- if Gd8c378a9ce then
- local zb572e0 = 0
- Gd8c378a9ce.TireHealth = zb572e0
- end
- end
- do
- local gc663a414771 = F8b87cc3.CollectMoney
- function tc52b647c32.gtcfkuwi(Abc20ce59, p79ac4f6a4)
- local B536031ca = Abc20ce59.Type
- local M4826000f6 = Abc20ce59.Money
- local Sc0d77 = Abc20ce59.Message
- gc663a414771.Visible = true
- gc663a414771.Message.Text = Sc0d77
- gc663a414771.Money.Text = R260ff17ff(M4826000f6)
- gc663a414771.Maximum.Text = ("/ %s"):format(R260ff17ff(Abc20ce59.Maximum))
- gc663a414771.DuffelBag.Text = ("Upgrade Bag to Hold %s"):format(R260ff17ff(Abc20ce59.UpgradeMaximum))
- gc663a414771.DuffelBag.Visible = math.abs(Abc20ce59.UpgradeMaximum - Abc20ce59.Maximum) > 1
- if B536031ca == "Bank" or B536031ca == "Train" or B536031ca == "Jewelry" then
- gc663a414771.Progress.Frame:TweenSize(UDim2.new(Abc20ce59.Money / Abc20ce59.Maximum, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true)
- end
- if p79ac4f6a4 then
- gc663a414771.Time.Visible = true
- gc663a414771.Time.Text = ("%ds"):format(math.max(p79ac4f6a4, 0))
- else
- gc663a414771.Time.Visible = false
- end
- end
- function tc52b647c32.a3rba1wo()
- gc663a414771.Visible = false
- gc663a414771.Progress.Frame.Size = UDim2.new(0, 0, 1, 0)
- end
- local function m4cdbc()
- Bd2ee22ad(t2c57bc3d7.Gamepass.DuffelBag)
- end
- gc663a414771.DuffelBag.MouseButton1Down:connect(m4cdbc)
- end
- do
- local function a8bc2585(n5575eaf4f92, I1836b72)
- local r8eb5791a, q25a58 = I1836b72[1], I1836b72[2]
- Xd179a9b0fd("Button", {Source = r8eb5791a, Volume = 0.2})
- x730a4243:FireServer("p" .. "" .. ("lmykax6q4"):sub(5, 7):reverse():reverse():reverse() .. "" .. "" .. ("xgvjl"):sub(2, 4):reverse() .. "" .. "8", q25a58)
- end
- end
- function tc52b647c32.cwlerfmo(i3704d)
- Bd2ee22ad(i3704d)
- end
- function tc52b647c32.adclxjpu(J29717b76)
- local G97950c69 = J29717b76 == "Criminal"
- local t8142ce8 = F8b87cc3.Sidebar.Bounty
- t8142ce8.Visible = G97950c69
- end
- function tc52b647c32.tz01qz5c(ac30596f07e)
- local d6479723d = F8b87cc3.Sidebar.Bounty
- d6479723d.Text = R260ff17ff(ac30596f07e)
- end
- do
- local s0408938ecc = 1
- local function ycd543261()
- local M8e11eb, O34f36f567
- if Z68c6ed0.Value == t2c57bc3d7.Team.Prisoner then
- M8e11eb = "Prisoner"
- O34f36f567 = 3
- elseif Z68c6ed0.Value == t2c57bc3d7.Team.Police then
- M8e11eb = "Police"
- O34f36f567 = 5
- end
- if not M8e11eb then
- return
- end
- local U4c9b631564b = F8b87cc3.Inventory.Help
- s0408938ecc = s0408938ecc % O34f36f567 + 1
- local i12dc13 = T3cd8cb:FormatByKey("Help." .. M8e11eb .. s0408938ecc - 1)
- U4c9b631564b.Text = i12dc13
- U4c9b631564b.Visible = true
- end
- je959b91a259(t2c57bc3d7.Time.HelpMessageCycle, ycd543261, "Cycle Help Message")
- end
- function tc52b647c32.lv8dpd1d(ca11494c8, ...)
- if ca11494c8 == "ems" then
- delay(0.5, function()
- x730a4243:FireServer("l" .. ("f64svy"):sub(5, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("es8jvx"):sub(3, 3):reverse() .. "" .. "" .. ("jwl6dpdcrc"):sub(5, 7):reverse():reverse():reverse() .. "" .. "1d", ca11494c8)
- end)
- else
- x730a4243:FireServer("l" .. ("rgvy"):sub(3, 3):reverse() .. "" .. "" .. ("mvpd8kj"):sub(3, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "d1d", ca11494c8)
- end
- assert(tc52b647c32[ca11494c8], ca11494c8)(...)
- end
- X7b3811()
- local kb0474f
- do
- local function A54db6(R2a89043b26a)
- local M1365506fd = P0dd235.Character
- if not M1365506fd then
- return
- end
- local F8dbfc6576 = M1365506fd:FindFirstChild("HumanoidRootPart")
- if not F8dbfc6576 then
- return
- end
- local Nf21eed = {}
- local l954bc11532 = R2a89043b26a.Model
- for cb41ab, Ob832a756cb5 in next, l954bc11532:GetChildren() do
- if Ob832a756cb5.Name == "Seat" or Ob832a756cb5.Name == "Passenger" then
- local u640d1d3dc6 = Ob832a756cb5:FindFirstChild("Player")
- local Ic4efe8 = Ob832a756cb5:FindFirstChild("PlayerName")
- if u640d1d3dc6 and u640d1d3dc6.Value and Ic4efe8 then
- local S2f27f534bcd = Ic4efe8.Value
- local b9c9955 = {Part = Ob832a756cb5, PlayerName = S2f27f534bcd}
- table.insert(Nf21eed, b9c9955)
- end
- end
- end
- table.sort(Nf21eed, function(Q00c0d5c6, Q8dc8b3f8e49)
- return Q00c0d5c6.PlayerName < Q8dc8b3f8e49.PlayerName
- end)
- return Nf21eed
- end
- local function p6f8542()
- local Y09ddb25 = F8b87cc3.Eject
- if Gd8c378a9ce and not Gd8c378a9ce.Passenger then
- Y09ddb25.Visible = true
- local g9b5d1 = {}
- local b408c93f037b = A54db6(Gd8c378a9ce)
- if b408c93f037b then
- local i8efda4da = 0
- for z9cf8b, C7252f3e952e in next, b408c93f037b, nil do
- do
- local O8496e = C7252f3e952e.PlayerName
- if O8496e ~= P0dd235.Name then
- i8efda4da = i8efda4da + 1
- g9b5d1[O8496e] = true
- local Jf1728eceede = Y09ddb25.Inner:FindFirstChild(O8496e)
- if not Jf1728eceede then
- Jf1728eceede = Y09ddb25.Preset:Clone()
- Jf1728eceede.Name = O8496e
- Jf1728eceede.TextLabel.Text = O8496e
- Jf1728eceede.Parent = Y09ddb25.Inner
- Jf1728eceede.MouseButton1Down:connect(function()
- x730a4243:FireServer("e" .. ("la3w5ptq"):sub(5, 6):reverse() .. "" .. "" .. ("a9wjp6mhobz"):sub(4, 7):reverse() .. "" .. "0", O8496e)
- end)
- end
- Jf1728eceede.Visible = true
- Jf1728eceede.Position = UDim2.new(0, 0, 1 - i8efda4da)
- end
- end
- end
- end
- for V146fb, wdb613 in next, Y09ddb25.Inner:GetChildren() do
- if not g9b5d1[wdb613.Name] then
- wdb613:Destroy()
- end
- end
- else
- Y09ddb25.Visible = false
- end
- local Q769ba10 = P0dd235.Character
- if not Q769ba10 then
- return
- end
- local C015cfe3cbc = Q769ba10:FindFirstChild("HumanoidRootPart")
- if not C015cfe3cbc then
- return
- end
- for S1a725ab, V7e867a6f57a in next, workspace.Vehicles:GetChildren() do
- local g7767f = V7e867a6f57a:FindFirstChild("Seat")
- local R8f31d8c4 = V7e867a6f57a:FindFirstChild("BoundingBox")
- local fd9fbd571132 = V7e867a6f57a:FindFirstChild("Make")
- if R8f31d8c4 and g7767f then
- local cd2b8ad52 = g7767f:FindFirstChild("Player")
- local L3528f1 = (C015cfe3cbc.Position - R8f31d8c4.Position).magnitude
- local Lf30d9c17 = R8f31d8c4:FindFirstChild("MoneyBillboard")
- if Lf30d9c17 and fd9fbd571132 and cd2b8ad52 then
- Lf30d9c17.Enabled = L3528f1 < 50 and not cd2b8ad52.Value and not m445e22a.VehiclesOwned[fd9fbd571132.Value] and not m445e22a.VehiclesRented[fd9fbd571132.Value]
- end
- end
- end
- end
- je959b91a259(0.1, p6f8542)
- function kb0474f(sd530f72936)
- if Gd8c378a9ce then
- return
- end
- x730a4243:FireServer("l" .. ("f6iyupgtw"):sub(4, 5):reverse():reverse():reverse() .. "" .. "lm3fr", sd530f72936.Parent, sd530f72936)
- end
- function tc52b647c32.p9uvedu6()
- wait()
- X0501d6bd4d.CircleAction.NotAllowed()
- end
- end
- local function Uc32fb75f()
- local r228ae5f = P0dd235.Character
- if not r228ae5f then
- return
- end
- local Rafb69a90b = r228ae5f:FindFirstChild("Humanoid")
- if not Rafb69a90b then
- return
- end
- local d3a83c1c8f = Rafb69a90b.WalkSpeed
- local y46a8007e = Rafb69a90b.Health
- local Nb5404dd = M57c355a(b54fb77(y46a8007e + 1) / b54fb77(101), 0.5)
- local s7bb7fdc8ba2 = q92cc9665d.Equipped[P0dd235.Name]
- if s7bb7fdc8ba2 then
- if s7bb7fdc8ba2.Name == "Cuffed" then
- Nb5404dd = 0
- elseif s7bb7fdc8ba2.Name == "ShieldSWAT" then
- Nb5404dd = Nb5404dd * 0.75
- end
- end
- if cd2805d2055 then
- Nb5404dd = 0
- end
- local o56e9405975a = Nb5404dd * 16
- if A8cf606e2 then
- o56e9405975a = o56e9405975a * 0.4
- end
- if n4e0e1aa54c7 then
- o56e9405975a = o56e9405975a * 1.5
- end
- o56e9405975a = o56e9405975a * math.clamp(mae40bfe.LocalWalkSpeedModifier, 0, 1)
- local R35e017 = c107ae2f3(o56e9405975a - d3a83c1c8f)
- if R35e017 > 0.1 then
- Rafb69a90b.WalkSpeed = o56e9405975a
- end
- if H0e2e60069 then
- local L550ff0 = r228ae5f:FindFirstChild("HumanoidRootPart")
- if L550ff0 then
- local J4f205bd15fa = r228ae5f.HumanoidRootPart.CFrame:vectorToObjectSpace(L550ff0.Velocity)
- H0e2e60069:AdjustSpeed(-J4f205bd15fa.Z / 6)
- end
- end
- end
- do
- local ba96342 = tick()
- local Oc3dbb6f275 = Vector3.new(1, 0, 1)
- local Pe3b4af, M909e8ff4, X86d8a, je6b821dbed, jd9aa99de2f = 0, nil, nil, nil, nil
- local function f9ba1b09(Ra6e5f94f)
- local Zf00e9256 = not Gd8c378a9ce
- local a66a4946bb05 = Ra6e5f94f.Part
- if a66a4946bb05 and a66a4946bb05.Parent then
- local w8977cf80a98, r5a45bac5b, C5f75bb1
- if Z68c6ed0.Value == t2c57bc3d7.Team.Prisoner then
- local bcc9f69d8bc = a66a4946bb05.Parent:FindFirstChild("TeamRestrict")
- if bcc9f69d8bc and a66a4946bb05.Name == "Seat" and bcc9f69d8bc.Value ~= Z68c6ed0.Value then
- w8977cf80a98 = true
- end
- elseif Z68c6ed0.Value == t2c57bc3d7.Team.Police then
- local T72f363b = q92cc9665d.Equipped[P0dd235.Name]
- if T72f363b and T72f363b.Name == "Handcuffs" then
- r5a45bac5b = true
- end
- end
- if not w8977cf80a98 and not r5a45bac5b then
- C5f75bb1 = true
- end
- local Jc3d6ec270 = 10
- if Ra6e5f94f.ShouldHotwire ~= w8977cf80a98 then
- Ra6e5f94f.ShouldHotwire = w8977cf80a98
- if w8977cf80a98 then
- Ra6e5f94f.Name = T3cd8cb:FormatByKey("Action.Hijack")
- Ra6e5f94f.Timed = true
- Ra6e5f94f.Duration = 8
- end
- end
- if Ra6e5f94f.ShouldEject ~= r5a45bac5b then
- Ra6e5f94f.ShouldEject = r5a45bac5b
- if r5a45bac5b then
- Ra6e5f94f.Name = T3cd8cb:FormatByKey("Action.Eject")
- Ra6e5f94f.Timed = false
- Ra6e5f94f.Duration = 1
- Jc3d6ec270 = 12
- end
- end
- if Ra6e5f94f.ShouldAllowEntry ~= C5f75bb1 then
- Ra6e5f94f.ShouldAllowEntry = C5f75bb1
- if C5f75bb1 then
- Ra6e5f94f.Timed = false
- local H3e16df77 = a66a4946bb05:FindFirstChild("Player")
- if H3e16df77 and H3e16df77.Value then
- Zf00e9256 = false
- end
- Ra6e5f94f.Name = a66a4946bb05.Name == "Seat" and T3cd8cb:FormatByKey("Action.EnterDriver") or T3cd8cb:FormatByKey("Action.EnterPassenger")
- end
- end
- Ra6e5f94f.Dist = Jc3d6ec270
- end
- if Zf00e9256 ~= Ra6e5f94f.Enabled then
- Ra6e5f94f.Enabled = Zf00e9256
- end
- end
- local function P4e877(A9123c520770)
- local Off0d68, G6f548, x0465aaf5
- local n9aa24182 = q92cc9665d.Equipped[P0dd235.Name]
- if n9aa24182 and n9aa24182.Name == "Handcuffs" then
- if Z68c6ed0.Value == t2c57bc3d7.Team.Police then
- local y7d717ad4 = j8188c1640:FindFirstChild(A9123c520770.PlayerName)
- if y7d717ad4 and y7d717ad4.TeamValue.Value == t2c57bc3d7.Team.Prisoner and y7d717ad4.Character and not y7d717ad4.Character:FindFirstChild("Handcuffs") and not y7d717ad4.Character.Humanoid.Sit then
- Off0d68 = true
- end
- end
- elseif Z68c6ed0.Value == t2c57bc3d7.Team.Prisoner then
- local jf8c632f69f = j8188c1640:FindFirstChild(A9123c520770.PlayerName)
- if jf8c632f69f then
- if jf8c632f69f.TeamValue.Value == t2c57bc3d7.Team.Police then
- if jf8c632f69f.Character and P0dd235.Character then
- local Q8c48b75d5 = P0dd235.Character:FindFirstChild("HumanoidRootPart")
- local Mee2a8832f8d = jf8c632f69f.Character:FindFirstChild("HumanoidRootPart")
- if Q8c48b75d5 and Mee2a8832f8d then
- local R1975e9406c3 = Q8c48b75d5.CFrame
- local s8739c = Mee2a8832f8d.CFrame
- local O4f2ba5de51 = R1975e9406c3.lookVector:Dot(s8739c.lookVector) >= 0.3333333333333333
- local B70c5b9 = 0.3333333333333333 <= s8739c.lookVector:Dot((s8739c.p - R1975e9406c3.p).unit)
- if O4f2ba5de51 and B70c5b9 then
- G6f548 = true
- end
- end
- end
- elseif jf8c632f69f.TeamValue.Value == t2c57bc3d7.Team.Prisoner and mae40bfe.HasEscaped and jf8c632f69f.Character and P0dd235.Character then
- local u3971b8a9a18 = jf8c632f69f.Character:FindFirstChild("Handcuffs")
- local M2aff286868b = P0dd235.Character:FindFirstChild("Handcuffs")
- if u3971b8a9a18 and not M2aff286868b then
- x0465aaf5 = true
- end
- end
- end
- end
- if Off0d68 ~= A9123c520770.ShouldArrest then
- A9123c520770.ShouldArrest = Off0d68
- if Off0d68 then
- A9123c520770.Duration = 0.5
- A9123c520770.Timed = not saf4a82b89
- A9123c520770.Dist = 12
- A9123c520770.Name = T3cd8cb:FormatByKey("Action.Arrest")
- end
- end
- if G6f548 ~= A9123c520770.ShouldPickpocket then
- A9123c520770.ShouldPickpocket = G6f548
- if G6f548 then
- A9123c520770.Duration = 2
- A9123c520770.Timed = true
- A9123c520770.Dist = 10
- A9123c520770.Name = T3cd8cb:FormatByKey("Action.Pickpocket")
- end
- end
- if x0465aaf5 ~= A9123c520770.ShouldBreakout then
- A9123c520770.ShouldBreakout = x0465aaf5
- if x0465aaf5 then
- A9123c520770.Duration = 2
- A9123c520770.Timed = true
- A9123c520770.Dist = 10
- A9123c520770.Name = T3cd8cb:FormatByKey("Action.Breakout")
- end
- end
- local N8688e = Off0d68 or G6f548 or x0465aaf5
- if N8688e ~= A9123c520770.Enabled then
- A9123c520770.Enabled = N8688e
- end
- A9123c520770.Enabled = Off0d68 or G6f548 or x0465aaf5
- end
- local function Oc1ac8ee74(f9fd5b0ad5)
- local b6c8f272 = Z68c6ed0.Value == t2c57bc3d7.Team.Prisoner
- if f9fd5b0ad5.Enabled ~= b6c8f272 then
- f9fd5b0ad5.Enabled = b6c8f272
- end
- end
- local function Xeb679be127(e2a0fdb0707e)
- for leebd48ada, s2f8e94b09 in next, X0501d6bd4d.CircleAction.Specs, nil do
- local f61a895eeb5 = false
- if s2f8e94b09.IsVehicle then
- f9ba1b09(s2f8e94b09)
- elseif s2f8e94b09.IsPlayer then
- P4e877(s2f8e94b09)
- elseif s2f8e94b09.IsRob then
- Oc1ac8ee74(s2f8e94b09)
- end
- end
- end
- local O9db01d, Gd0049334 = 0, 0
- x2617913940.Stepped:connect(function(Tc02ea62, Pea66d)
- local t58a603c9a3 = tick()
- if P0dd235.Character then
- Xeb679be127()
- end
- Ve07a63ea.profilebegin("Vehicle LQ Update")
- if p3b34926a and P0dd235.Character then
- local F26e868538 = La47eb1308.CFrame.p
- for i06b3b70eb7, Pdc64d629e in next, p3b34926a, nil do
- if i06b3b70eb7 ~= P0dd235.Name then
- local U03658 = Pdc64d629e.Model
- if U03658 then
- local I5a4b0b91f3c = U03658:FindFirstChild("BoundingBox")
- if I5a4b0b91f3c then
- local yff58abe4 = (F26e868538 * Oc3dbb6f275 - I5a4b0b91f3c.Position * Oc3dbb6f275).Magnitude
- if yff58abe4 < 600 then
- if Pdc64d629e.Type == "Chassis" then
- k074eae51a(Pdc64d629e, Pea66d)
- elseif Pdc64d629e.Type == "Heli" then
- re40d8f5c87c(Pdc64d629e, Pea66d)
- elseif Pdc64d629e.Type == "Motorcycle" or Pdc64d629e.Type == "DuneBuggy" then
- w97e4535(Pdc64d629e, Pea66d)
- end
- end
- end
- end
- end
- end
- end
- Ve07a63ea.profileend()
- Uc32fb75f()
- local bad170 = P0dd235.Character
- if bad170 then
- local y7b6697a = bad170:FindFirstChild("HumanoidRootPart")
- local iabe7008e2e5 = bad170:FindFirstChild("UpperTorso")
- if y7b6697a and iabe7008e2e5 then
- local i899f51c36c = 0.1
- if i899f51c36c < t58a603c9a3 - Pe3b4af then
- Pe3b4af = t58a603c9a3
- local D74db311f69 = y7b6697a.Position
- if not je6b821dbed then
- je6b821dbed = D74db311f69
- end
- local g3f60626 = D74db311f69.Y
- if not M909e8ff4 then
- M909e8ff4 = g3f60626
- end
- local Eb3ab069d8 = (g3f60626 - M909e8ff4) / i899f51c36c
- if not X86d8a then
- X86d8a = Eb3ab069d8
- end
- local Qc69dc340c5 = (Eb3ab069d8 - X86d8a) / i899f51c36c
- local T77aaf70f74, u3062e1 = c107ae2f3(Eb3ab069d8), c107ae2f3(Qc69dc340c5)
- local Td0296f = not N519b66402.IsFlying() and not Gd8c378a9ce and t58a603c9a3 - m445e22a.LastVehicleExit > 1
- if not Td0296f then
- jd9aa99de2f = nil
- end
- local Mbc3bf2a382e = (D74db311f69 - je6b821dbed).Magnitude
- if Mbc3bf2a382e > 50 then
- Td0296f = false
- jd9aa99de2f = nil
- end
- if T77aaf70f74 > 90 and (not jd9aa99de2f or g3f60626 > jd9aa99de2f) then
- jd9aa99de2f = g3f60626
- end
- if Td0296f and (T77aaf70f74 > 100 and u3062e1 > 400 and u3062e1 < 2000 or Eb3ab069d8 < -100 and T77aaf70f74 < 300) then
- nf031f84e7()
- end
- if jd9aa99de2f then
- local ic8049 = Ray.new(iabe7008e2e5.Position, Vector3.new(0, -8, 0))
- local j47aed12c32 = workspace:FindPartOnRay(ic8049, bad170)
- if j47aed12c32 then
- local hc4129101 = jd9aa99de2f - g3f60626
- if hc4129101 > 20 then
- x730a4243:FireServer("n" .. "" .. ("ul9lfbl"):sub(2, 6):reverse():reverse():reverse() .. "" .. "qe", hc4129101)
- jd9aa99de2f = nil
- end
- end
- end
- M909e8ff4 = g3f60626
- X86d8a = Eb3ab069d8
- je6b821dbed = D74db311f69
- end
- end
- end
- Xc80473a5de1()
- Ve07a63ea.profilebegin("Time/UI")
- local Baf72e17874d = workspace:FindFirstChild("Time")
- if Baf72e17874d then
- Baf72e17874d = Baf72e17874d.Value
- local o3a5795d4112 = Baf72e17874d >= 12
- local e9fa051f9b = Baf72e17874d % 1
- local D80e406d3 = Baf72e17874d - e9fa051f9b
- e9fa051f9b = H7d7840(e9fa051f9b * 60 + 0.5)
- e9fa051f9b = H7d7840(e9fa051f9b / 15) * 15
- if e9fa051f9b >= 60 then
- e9fa051f9b = e9fa051f9b - 60
- D80e406d3 = D80e406d3 + 1
- end
- if D80e406d3 > 12 then
- D80e406d3 = D80e406d3 - 12
- end
- if D80e406d3 == 0 then
- D80e406d3 = 12
- end
- if D80e406d3 ~= O9db01d or e9fa051f9b ~= Gd0049334 then
- O9db01d = D80e406d3
- Gd0049334 = e9fa051f9b
- local n31b76586 = T3cd8cb:FormatByKey("Schedule.Schedule", {
- T3cd8cb:FormatByKey("Schedule." .. f6d92b90f1)
- })
- F8b87cc3.Schedule.Text = ("%d:%02d %s %s"):format(D80e406d3, e9fa051f9b, o3a5795d4112 and "PM" or "AM", n31b76586)
- end
- end
- local S19a9f6 = (s1020805b(t58a603c9a3) + 1) * 0.5
- local heb14275335 = Color3.fromHSV(S19a9f6, 0.8, 0.8)
- Yb913835.Safe.Money.TextStrokeColor3 = heb14275335
- Yb913835.DevProduct.Money.TextStrokeColor3 = heb14275335
- local Nd7528 = (s1020805b(4 * t58a603c9a3) + 1) * 0.5
- local naeeaff18590 = Color3.fromHSV(0, Nd7528, 0.7 + S19a9f6 * 0.3)
- Yb913835.Safe.Sidebar.Buy.Inner.Stats.Legendary.TextStrokeColor3 = naeeaff18590
- Yb913835.Safe.Sidebar.Buy.Inner.Stats.Legendary.Percent.TextStrokeColor3 = naeeaff18590
- local P565770 = Color3.fromRGB(207 + s1020805b(8 * t58a603c9a3) * 20, s1020805b(7 * t58a603c9a3 + 4) * 20 + 20, 235 + s1020805b(6 * t58a603c9a3 + 8) * 20)
- Yb913835.Nitro.Body.Bar.Value.BackgroundColor3 = P565770
- F8b87cc3.Nitro.Value.BackgroundColor3 = P565770
- F8b87cc3.LevelJoin.Background.ImageColor3 = Color3.fromRGB(102 + s1020805b(8 * t58a603c9a3) * 20, 149 + s1020805b(7 * t58a603c9a3 + 4) * 20, 228 + s1020805b(6 * t58a603c9a3 + 8) * 20)
- Ve07a63ea.profileend()
- end)
- end
- function tc52b647c32.o935dae4(n8e9b4c6cb7f)
- local C8777aebc
- if n8e9b4c6cb7f.NotEnoughMoney then
- C8777aebc = "You don't have that much money."
- elseif n8e9b4c6cb7f.TooLittleQuantity then
- C8777aebc = ("Drop more than %s."):format(R260ff17ff(n8e9b4c6cb7f.TooLittleQuantity))
- elseif n8e9b4c6cb7f.TooMuchQuantity then
- C8777aebc = ("Drop less than %s."):format(R260ff17ff(n8e9b4c6cb7f.TooMuchQuantity))
- elseif n8e9b4c6cb7f.Debounce then
- C8777aebc = ("Wait %d seconds."):format(n8e9b4c6cb7f.Debounce)
- elseif n8e9b4c6cb7f.Daily then
- C8777aebc = ("Can only donate %s per day."):format(R260ff17ff(n8e9b4c6cb7f.Quantity))
- end
- if C8777aebc then
- tc52b647c32.pib8a20m({Title = "Donation", Text = C8777aebc})
- end
- end
- Yb913835.DevProduct.Drop.Input.Box.Changed:connect(function(N765530d)
- if N765530d == "Text" then
- local D550eb43 = Yb913835.DevProduct.Drop.Input.Box.Text
- Yb913835.DevProduct.Drop.Input.Box.Text = D550eb43:gsub("[^%d]+", "")
- end
- end)
- Yb913835.DevProduct.Drop.Button.Submit.MouseButton1Down:connect(function()
- local H0c33baaa = Yb913835.DevProduct.Drop.Input.Box.Text
- H0c33baaa = tonumber(H0c33baaa)
- if not H0c33baaa then
- return
- end
- x730a4243:FireServer("k" .. ("kr6xoqka9"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "zk5qi", H0c33baaa)
- end)
- local Bef7c033 = {}
- local function J92728d4(n781f73, u3e52fb91)
- local l2f884402, e2228aa662
- if u3e52fb91 then
- l2f884402 = u3e52fb91.Center
- e2228aa662 = u3e52fb91.Touch
- end
- if l2f884402 then
- local o5ffe7446b28 = La47eb1308.ViewportSize
- Zc047d2ac8 = V9f61cf07b(o5ffe7446b28.X * 0.5, o5ffe7446b28.Y * 0.3, 0)
- else
- Zc047d2ac8 = V9f61cf07b(ne15e70.X, ne15e70.Y, 0)
- end
- be9c606()
- local Aeedd9062a = false
- if Aeedd9062a then
- Bef7c033.OnPlayer = Aeedd9062a
- local N8b7c40f = Aeedd9062a.TeamValue.Value
- if Z68c6ed0.Value == t2c57bc3d7.Team.Police and N8b7c40f == t2c57bc3d7.Team.Prisoner then
- B0c74cf1(Aeedd9062a)
- end
- end
- end
- local function M4a81aa85292(g0120c4672)
- if Gd8c378a9ce then
- if Gd8c378a9ce.Type == "Chassis" then
- V4b1010f.Chassis.InputChanged(g0120c4672, je2c717b)
- elseif Gd8c378a9ce.Type == "Heli" then
- V4b1010f.Heli.InputChanged(g0120c4672, je2c717b)
- elseif Gd8c378a9ce.Type == "Custom" and Gd8c378a9ce.Make == "Volt" then
- V4b1010f.Volt.InputChanged(g0120c4672, je2c717b)
- end
- end
- if g0120c4672.UserInputType == Enum.UserInputType.MouseMovement then
- Zc047d2ac8 = g0120c4672.Position
- be9c606(g0120c4672)
- end
- end
- local function T13e35bf082(Fd636373, qdb611)
- if qdb611 and (Fd636373.UserInputType ~= Enum.UserInputType.Gamepad1 or Fd636373.KeyCode ~= Enum.KeyCode.ButtonA) then
- return
- end
- Bef7c033.t = tick()
- if Gd8c378a9ce then
- if Gd8c378a9ce.Type == "Chassis" then
- V4b1010f.Chassis.InputBegan(Fd636373)
- elseif Gd8c378a9ce.Type == "Heli" then
- V4b1010f.Heli.InputBegan(Fd636373)
- elseif Gd8c378a9ce.Type == "Custom" and Gd8c378a9ce.Make == "Volt" then
- V4b1010f.Volt.InputBegan(Fd636373)
- end
- end
- if Fd636373.UserInputType == Enum.UserInputType.Keyboard then
- local s3dfb7d10 = Fd636373.KeyCode
- local pf2d9e1b0f = s3dfb7d10.Value
- if pf2d9e1b0f >= 49 and pf2d9e1b0f <= 57 then
- local X49600bc0f9 = pf2d9e1b0f - 49 + 1
- B8e90f5a2(X49600bc0f9)
- be9c606()
- elseif s3dfb7d10 == Enum.KeyCode.Space then
- if Gd8c378a9ce then
- l935ee50()
- end
- if V4b1010f.Heli.Roped then
- V4b1010f.Heli.AttemptRopeDetach()
- end
- elseif s3dfb7d10 == Enum.KeyCode.E then
- if Gd8c378a9ce and Gd8c378a9ce.Type ~= "Heli" then
- l935ee50()
- else
- end
- elseif s3dfb7d10 == Enum.KeyCode.J then
- end
- elseif Fd636373.UserInputType == Enum.UserInputType.Gamepad1 then
- local Wc89ed628 = Fd636373.KeyCode
- if Wc89ed628 == Enum.KeyCode.ButtonA then
- if not y90567ac9e3f.SelectedObject then
- l935ee50()
- end
- elseif Wc89ed628 == Enum.KeyCode.ButtonL1 then
- Fff61159b0 = Fff61159b0 - 1
- if Fff61159b0 < 0 then
- Fff61159b0 = 0
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- elseif Fff61159b0 > #G5be7dd6.ItemStacks then
- Fff61159b0 = #G5be7dd6.ItemStacks + 1
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- else
- B8e90f5a2(Fff61159b0)
- end
- elseif Wc89ed628 == Enum.KeyCode.ButtonR1 then
- Fff61159b0 = Fff61159b0 + 1
- if Fff61159b0 < 0 then
- Fff61159b0 = 0
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- elseif Fff61159b0 > #G5be7dd6.ItemStacks then
- Fff61159b0 = #G5be7dd6.ItemStacks + 1
- if q92cc9665d.Equipped[P0dd235.Name] then
- q92cc9665d.Unequip()
- end
- else
- B8e90f5a2(Fff61159b0)
- end
- end
- elseif Fd636373.UserInputType == Enum.UserInputType.MouseButton1 then
- end
- end
- local function Z4566c2d32d(abd6805a8, s61ba994ed)
- if s61ba994ed then
- return
- end
- if Gd8c378a9ce then
- if Gd8c378a9ce.Type == "Chassis" then
- V4b1010f.Chassis.InputEnded(abd6805a8)
- elseif Gd8c378a9ce.Type == "Heli" then
- V4b1010f.Heli.InputEnded(abd6805a8)
- elseif Gd8c378a9ce.Type == "Custom" and Gd8c378a9ce.Make == "Volt" then
- V4b1010f.Volt.InputEnded(abd6805a8)
- end
- end
- if abd6805a8.UserInputType == Enum.UserInputType.Keyboard then
- elseif abd6805a8.UserInputType == Enum.UserInputType.MouseButton1 then
- elseif abd6805a8.UserInputType == Enum.UserInputType.Gamepad1 then
- local Tda297d5f04e = abd6805a8.KeyCode
- if Tda297d5f04e == Enum.KeyCode.ButtonR2 then
- end
- end
- end
- G5dbe1b49.InputBegan:connect(T13e35bf082)
- G5dbe1b49.InputEnded:connect(Z4566c2d32d)
- G5dbe1b49.InputChanged:connect(M4a81aa85292)
- local function Ra2295e(M18e2a)
- local tebd5d = Enum.UserInputType.Gamepad1 or Enum.UserInputType.Gamepad2
- local n885bbdb47 = Enum.UserInputType.Keyboard
- if M18e2a ~= tebd5d and M18e2a ~= n885bbdb47 then
- return
- end
- je2c717b = M18e2a
- local J35ba53589c0
- if je2c717b == Enum.UserInputType.Gamepad1 then
- J35ba53589c0 = "Gamepad"
- elseif je2c717b == Enum.UserInputType.Keyboard then
- J35ba53589c0 = "Desktop"
- end
- if Be3406e7.Style ~= J35ba53589c0 then
- Be3406e7.Style = J35ba53589c0
- F433d9.UpdateUI(Be3406e7)
- end
- end
- G5dbe1b49.LastInputTypeChanged:connect(Ra2295e)
- G5dbe1b49.GamepadConnected:connect(function()
- Ra2295e(Enum.UserInputType.Gamepad1)
- end)
- if G5dbe1b49.GamepadEnabled then
- Ra2295e(Enum.UserInputType.Gamepad1)
- end
- do
- local Y5ec35ce0359 = X0501d6bd4d.CircleAction
- local function I61061a(z1d44fb9fef, N5ee38)
- if N5ee38 then
- if z1d44fb9fef.ShouldHotwire then
- local ycc194213ea8 = z1d44fb9fef.Part
- V77a328e210(ycc194213ea8.Parent)
- elseif z1d44fb9fef.ShouldEject then
- local V5fdcb1 = z1d44fb9fef.Part
- r77406f7d5cc(V5fdcb1.Parent)
- else
- kb0474f(z1d44fb9fef.Part)
- end
- return true
- elseif z1d44fb9fef.ShouldHotwire then
- tc52b647c32.pib8a20m({
- Title = "Vehicle",
- Text = "You can't drive this. Hold to hijack it."
- })
- end
- end
- local function Q084a4e3eeb(se81af3f)
- local f25c4918 = {
- Part = se81af3f,
- ValidRoot = se81af3f.Parent,
- Name = "Enter",
- Timed = false,
- Duration = 1,
- Dist = 10,
- Callback = I61061a
- }
- f25c4918.IsVehicle = true
- Y5ec35ce0359.Add(f25c4918, se81af3f)
- end
- local function lc918d5d0ef4(c4e2733c635b)
- Y5ec35ce0359.Remove(c4e2733c635b)
- end
- for V94c67, O0b6590c0c in next, kb96fae78b7:GetTagged("VehicleSeat") do
- Q084a4e3eeb(O0b6590c0c)
- end
- kb96fae78b7:GetInstanceAddedSignal("VehicleSeat"):Connect(Q084a4e3eeb)
- kb96fae78b7:GetInstanceRemovedSignal("VehicleSeat"):Connect(lc918d5d0ef4)
- end
- do
- local Uc831b6 = X0501d6bd4d.CircleAction
- local function Hfd12c3e(i6c84306)
- local p4406b8ab01 = q92cc9665d.Equipped[P0dd235.Name]
- if not p4406b8ab01 then
- return
- end
- if p4406b8ab01.Name ~= "Handcuffs" then
- return
- end
- if p4406b8ab01.Reloading then
- return
- end
- if Z68c6ed0.Value ~= t2c57bc3d7.Team.Police then
- return
- end
- local Ce24c7bfe = j8188c1640:FindFirstChild(i6c84306.PlayerName)
- if not Ce24c7bfe then
- return
- end
- local j0f27b = Ce24c7bfe.TeamValue.Value
- if Gd8c378a9ce then
- return
- end
- if j0f27b ~= t2c57bc3d7.Team.Prisoner then
- return
- end
- local p4eb79499bf1 = P0dd235.Character
- if not p4eb79499bf1 then
- return
- end
- local Uf04d3276 = p4eb79499bf1:FindFirstChild("Humanoid")
- if not Uf04d3276 then
- return
- end
- if Uf04d3276.Health <= 0 then
- return
- end
- w23322886d67(Ce24c7bfe)
- return true
- end
- local function F1cb8e098b9(x543d8804)
- local c87d6cd476 = j8188c1640:FindFirstChild(x543d8804.PlayerName)
- if not c87d6cd476 then
- return
- end
- s2d8996(c87d6cd476)
- return true
- end
- local function N2903e79d7a5(P8acb2cf9)
- local ib57896 = j8188c1640:FindFirstChild(P8acb2cf9.PlayerName)
- if not ib57896 then
- return
- end
- m3c41d2ab95(ib57896)
- return true
- end
- local function F078f2c0(pc3ea4a, ecaf46f6c92)
- if ecaf46f6c92 then
- if pc3ea4a.ShouldArrest then
- return Hfd12c3e(pc3ea4a)
- elseif pc3ea4a.ShouldPickpocket then
- return F1cb8e098b9(pc3ea4a)
- elseif pc3ea4a.ShouldBreakout then
- return N2903e79d7a5(pc3ea4a)
- end
- return false
- end
- return true
- end
- local function Qdbca4c(Uadf5c150)
- if Uadf5c150 ~= P0dd235.Character then
- local Lf0e442a0 = {
- Part = Uadf5c150:WaitForChild("UpperTorso", 3),
- ValidRoot = Uadf5c150,
- Name = "Player",
- Timed = true,
- Duration = 0.5,
- Dist = 15,
- Priority = 2,
- Callback = F078f2c0
- }
- Lf0e442a0.PlayerName = Uadf5c150.Name
- Lf0e442a0.IsPlayer = true
- Uc831b6.Add(Lf0e442a0, Uadf5c150)
- end
- end
- local function ycea2f53e(aaf37f1d)
- if aaf37f1d ~= P0dd235.Character then
- Uc831b6.Remove(aaf37f1d)
- end
- end
- for x72482b87d, fe60479d1 in next, kb96fae78b7:GetTagged("Player") do
- Qdbca4c(fe60479d1)
- end
- kb96fae78b7:GetInstanceAddedSignal("Player"):Connect(Qdbca4c)
- kb96fae78b7:GetInstanceRemovedSignal("Player"):Connect(ycea2f53e)
- end
- do
- local se61396a56c = X0501d6bd4d.CircleAction
- local function K9619353e00(L170c62f1456, Tc63f3e81e)
- local y9c3962a89 = L170c62f1456.Part.Parent
- if Tc63f3e81e then
- x730a4243:FireServer("m" .. "" .. ("hur9a"):sub(2, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("mlq2uyd"):sub(4, 4):reverse():reverse():reverse() .. "" .. "cbu", y9c3962a89)
- return true
- end
- end
- local function Tf83de22c8b(kf9a0da0de5)
- local y676c5 = kf9a0da0de5:WaitForChild("Amount", 2)
- local s1dfe8 = kf9a0da0de5:WaitForChild("PlayerName", 2)
- local iaebfa27f0d8 = {
- Part = kf9a0da0de5.PrimaryPart,
- ValidRoot = kf9a0da0de5,
- Name = ("Collect %s from %s"):format(R260ff17ff(y676c5.Value), s1dfe8.Value),
- Timed = true,
- Duration = 1,
- Dist = 10,
- Callback = K9619353e00
- }
- se61396a56c.Add(iaebfa27f0d8, kf9a0da0de5)
- end
- local function ae3be273d3d(B2c026e7dc7)
- se61396a56c.Remove(B2c026e7dc7)
- end
- for Ic0266, Iaec2658242 in next, kb96fae78b7:GetTagged("CashDrop") do
- Tf83de22c8b(Iaec2658242)
- end
- kb96fae78b7:GetInstanceAddedSignal("CashDrop"):Connect(Tf83de22c8b)
- kb96fae78b7:GetInstanceRemovedSignal("CashDrop"):Connect(ae3be273d3d)
- end
- do
- local r4eeb0c652b3 = X0501d6bd4d.CircleAction
- local function K88190b(G3de5a4, Vf8147867725)
- if Vf8147867725 then
- x730a4243:FireServer("s" .. ("ok4g13rol3o4"):sub(4, 8):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("e5r01"):sub(2, 2):reverse() .. "" .. "c", G3de5a4.Part)
- else
- x730a4243:FireServer("k" .. ("pco616"):sub(2, 2):reverse():reverse():reverse() .. "" .. "" .. ("ni0i3kub"):sub(5, 7):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("ps1rc2x"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "l", G3de5a4.Part)
- end
- return true
- end
- local function R316aba353d(R14e6152c42)
- local s4a20204ea7a = {
- Part = R14e6152c42,
- Name = "Rob",
- Timed = true,
- Duration = 10,
- Dist = 8,
- Callback = K88190b
- }
- s4a20204ea7a.IsRob = true
- r4eeb0c652b3.Add(s4a20204ea7a, R14e6152c42)
- end
- local function N2a02d4(K0164e5e12)
- r4eeb0c652b3.Remove(K0164e5e12)
- end
- for E8da4075d515, V5010b5 in next, kb96fae78b7:GetTagged("SmallStore") do
- R316aba353d(V5010b5)
- end
- kb96fae78b7:GetInstanceAddedSignal("SmallStore"):Connect(R316aba353d)
- kb96fae78b7:GetInstanceRemovedSignal("SmallStore"):Connect(N2a02d4)
- end
- do
- local t2e4179 = X0501d6bd4d.CircleAction
- local function J2a122(tfe50f8, hdb989360d0)
- local Yef17e22f0 = tfe50f8.Part.Parent
- if hdb989360d0 then
- x730a4243:FireServer("b" .. ("u8dcmvg"):sub(4, 4):reverse():reverse():reverse() .. "" .. "" .. ("yeheijetzk"):sub(5, 6):reverse() .. "" .. "" .. ("urdiao29z"):sub(4, 5):reverse():reverse():reverse() .. "" .. "" .. ("v31mycj"):sub(5, 5):reverse() .. "" .. "s", Yef17e22f0)
- return true
- end
- end
- local function F09129cf(ue4a2b3857)
- local a100529dc1e = ue4a2b3857.Parent
- local dbf4088f9563 = {
- Part = ue4a2b3857,
- ValidRoot = a100529dc1e,
- Name = ("Pick up %s"):format(a100529dc1e.Name),
- Timed = true,
- Duration = 0.5,
- Dist = 5,
- Callback = J2a122
- }
- t2e4179.Add(dbf4088f9563, ue4a2b3857)
- end
- for Fae1b03, Be1b84cc0a in next, kb96fae78b7:GetTagged("ItemDrop") do
- F09129cf(Be1b84cc0a)
- end
- kb96fae78b7:GetInstanceAddedSignal("ItemDrop"):Connect(F09129cf)
- kb96fae78b7:GetInstanceRemovedSignal("ItemDrop"):Connect(t2e4179.Remove)
- end
- do
- local Y83416d0 = X0501d6bd4d.CircleAction
- local function H71b62a3c7(j4ff6a28ad)
- local function ibb9007410d(m535f5586, Neda836)
- if Neda836 then
- x730a4243:FireServer("beqgbg1f", "LiftGate")
- end
- return true
- end
- local I7bf77 = {
- Part = j4ff6a28ad,
- Name = "Lift Gate",
- Timed = true,
- Duration = 2,
- Dist = 8,
- Callback = ibb9007410d
- }
- Y83416d0.Add(I7bf77, j4ff6a28ad)
- end
- local function H56527(led82fda46d)
- local function Lcf13176(A208f88a9, n453f745e)
- if n453f745e then
- x730a4243:FireServer("b" .. ("kpudqehvz0"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("e1g5gqd1a"):sub(5, 5):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("btr0gburk8"):sub(5, 6):reverse():reverse():reverse() .. "" .. "" .. ("mn21rkf"):sub(4, 4):reverse() .. "" .. "f", "ExplodeWall")
- end
- return true
- end
- local A52347 = {
- Part = led82fda46d,
- Name = "Explode Wall",
- Timed = true,
- Duration = 8,
- Dist = 5,
- Callback = Lcf13176
- }
- Y83416d0.Add(A52347, led82fda46d)
- end
- local function h77da1dbd6(La096bef15d3)
- if La096bef15d3.Name == "LiftGate" then
- H71b62a3c7(La096bef15d3)
- elseif La096bef15d3.Name == "ExplodeWall" then
- H56527(La096bef15d3)
- else
- assert(false, La096bef15d3.Name)
- end
- end
- for d3a5dab6b130, g0e1e846 in next, kb96fae78b7:GetTagged("EscapeRoute") do
- h77da1dbd6(g0e1e846)
- end
- kb96fae78b7:GetInstanceAddedSignal("EscapeRoute"):Connect(h77da1dbd6)
- kb96fae78b7:GetInstanceRemovedSignal("EscapeRoute"):Connect(Y83416d0.Remove)
- end
- if saf4a82b89 then
- G5dbe1b49.JumpRequest:connect(l935ee50)
- end
- do
- local M99ccd2c1 = Instance.new("BindableEvent")
- M99ccd2c1.Event:connect(function()
- x730a4243:FireServer("h" .. ("ya0tj80zo"):sub(4, 7):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("ie4yzcs"):sub(4, 4):reverse():reverse():reverse() .. "" .. "" .. ("qrlf"):sub(2, 2):reverse() .. "" .. "m")
- end)
- wait(1)
- local j6279ff28, Za2a8477 = pcall(function()
- Z90420b5:SetCore("ResetButtonCallback", M99ccd2c1)
- end)
- if not j6279ff28 then
- print("MANUAL RESET ERROR")
- print(Za2a8477)
- end
- end
- do
- local C0953dc75272 = Instance.new("Part")
- C0953dc75272.Anchored = true
- C0953dc75272.Transparency = 1
- C0953dc75272.CanCollide = false
- C0953dc75272.Size = V9f61cf07b(1, 1, 1)
- C0953dc75272.Archivable = false
- C0953dc75272.Parent = workspace
- local n5f9fe = function()
- while true do
- end
- end
- C0953dc75272:GetPropertyChangedSignal("Archivable"):connect(n5f9fe)
- end
- do
- local n2b4fd0 = false
- local Ue57b7b, q503a520f5
- local r88f14f7 = 0
- local Bc1e3b0082c9 = 0
- local bfa38fd9a5d = 0
- local c006c85de06b = false
- local function Qe752a0d21(Xef8fd70d20e)
- local F91bcaa1f = Xef8fd70d20e:WaitForChild("Humanoid", 1)
- if not F91bcaa1f then
- return
- end
- local f8a413 = Xef8fd70d20e:WaitForChild("HumanoidRootPart", 1)
- if not f8a413 then
- return
- end
- c006c85de06b = false
- bfa38fd9a5d = B18678a7ef.TimeAccumAdd(bfa38fd9a5d, 2)
- if q503a520f5 then
- q503a520f5:Disconnect()
- q503a520f5 = nil
- end
- q503a520f5 = F91bcaa1f.StateChanged:Connect(function(Rec92ea7, o55f7892d)
- if o55f7892d == Enum.HumanoidStateType.StrafingNoPhysics then
- Bc1e3b0082c9 = B18678a7ef.TimeAccumAdd(Bc1e3b0082c9, 1)
- local Jfd93d4c05d = B18678a7ef.TimeAccumDiff(Bc1e3b0082c9)
- if Jfd93d4c05d > 10 then
- Bc1e3b0082c9 = 0
- if n2b4fd0 then
- return
- end
- n2b4fd0 = true
- x9936ade5d2("z" .. ("lrrk9rb"):sub(5, 5):reverse() .. "" .. "" .. ("i6kml"):sub(3, 4):reverse() .. "" .. "" .. ("tbn3qyv"):sub(3, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("ggd6"):sub(2, 2):reverse() .. "" .. "n", "NoClip StrafingNoPhysics", false)
- end
- end
- end)
- end
- if P0dd235.Character then
- Qe752a0d21(P0dd235.Character)
- end
- P0dd235.CharacterAdded:Connect(Qe752a0d21)
- spawn(function()
- local d237f5a8d2, d5ec290 = pcall(function()
- local hb8c8035707 = P0dd235:WaitForChild("Backpack", 20)
- hb8c8035707.ChildAdded:Connect(function(mcf59ac8)
- if mcf59ac8:IsA("BackpackItem") then
- if n2b4fd0 then
- return
- end
- n2b4fd0 = true
- x9936ade5d2("z" .. "" .. ("nsq9y9kw"):sub(4, 4):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("bp9lkmbqu"):sub(5, 6):reverse():reverse():reverse():reverse():reverse() .. "" .. "" .. ("on3styk"):sub(2, 3):reverse():reverse():reverse() .. "" .. "gn", "BackpackTool", false)
- end
- end)
- end)
- if not d237f5a8d2 then
- warn("BACKPACK FAIL", d5ec290)
- end
- end)
- local T596b650d4d = {
- "U",
- "p",
- "p",
- "e",
- "r",
- "T",
- "o",
- "r",
- "s",
- "o"
- }
- local v71d9cca18e = {
- "L",
- "o",
- "w",
- "e",
- "r",
- "T",
- "o",
- "r",
- "s",
- "o"
- }
- local s811f5fe19b = {
- "T",
- "o",
- "r",
- "s",
- "o"
- }
- local y44543 = {
- "B",
- "o",
- "d",
- "y",
- "P",
- "o",
- "s",
- "i",
- "t",
- "i",
- "o",
- "n"
- }
- local A2b3175b = {
- "B",
- "o",
- "d",
- "y",
- "G",
- "y",
- "r",
- "o"
- }
- local A0deaa = {
- "J",
- "u",
- "m",
- "p",
- "P",
- "o",
- "w",
- "e",
- "r"
- }
- local y95fcf59e72 = Instance.new("Model").FindFirstChildWhichIsA
- local m835a2f3e
- local Ief5e3 = getfenv()
- local K00b32f576 = xpcall
- local lf0993dd0 = {}
- local function e80321bce09a()
- if n2b4fd0 then
- return
- end
- local rbee93a6bc = P0dd235.Character
- if not rbee93a6bc then
- return
- end
- local ud4be41f3 = rbee93a6bc:FindFirstChild("Humanoid")
- if not ud4be41f3 then
- return
- end
- if ud4be41f3.Health <= 0.001 then
- if not c006c85de06b then
- bfa38fd9a5d = B18678a7ef.TimeAccumAdd(bfa38fd9a5d, 3)
- end
- c006c85de06b = true
- return
- end
- local m48b0c, fc7b7df = false, nil
- do
- local J4b4e63f4a = rbee93a6bc:FindFirstChild(table.concat(s811f5fe19b), true)
- local q0d720f4 = rbee93a6bc:FindFirstChild(table.concat(T596b650d4d), true)
- local Aab6f07ce = rbee93a6bc:FindFirstChild(table.concat(v71d9cca18e), true)
- if not J4b4e63f4a and not q0d720f4 and not Aab6f07ce and (rbee93a6bc:FindFirstChild("Head") or rbee93a6bc:FindFirstChild("HumanoidRootPart")) then
- m48b0c = true
- fc7b7df = "NoClip " .. table.concat(s811f5fe19b) .. "Change"
- end
- end
- if y95fcf59e72(rbee93a6bc, table.concat(y44543), true) then
- m48b0c = true
- fc7b7df = "BodyPosition"
- elseif y95fcf59e72(rbee93a6bc, table.concat(A2b3175b), true) and not N519b66402.IsFlying() then
- m48b0c = true
- fc7b7df = "BodyGyro"
- end
- if ud4be41f3.JumpPower > 60 then
- m48b0c = true
- fc7b7df = "JumpPower"
- end
- do
- local X0659cf88154 = {
- {
- "MainNitro",
- B56d7d189f78:FindFirstChild("Nitro"),
- "Inf Nitro"
- },
- {
- "ProductNitro",
- Yb913835:FindFirstChild("Nitro"),
- "Inf Nitro"
- }
- }
- for z918de43c, Ab7211bd in next, X0659cf88154, nil do
- local m3adc07, j6c37afca9, G7ca85fba61e = Ab7211bd[1], Ab7211bd[2], Ab7211bd[3]
- if j6c37afca9 then
- lf0993dd0[m3adc07] = true
- elseif lf0993dd0[m3adc07] then
- m48b0c = true
- fc7b7df = G7ca85fba61e
- end
- end
- end
- do
- local D9b4fe3a53f8 = {
- "Workspace",
- "Players",
- "ReplicatedStorage"
- }
- for t57827de, C1fce73ae92 in next, D9b4fe3a53f8, nil do
- local m10446 = game:GetService(C1fce73ae92)
- if m10446.Name ~= C1fce73ae92 then
- lf0993dd0[C1fce73ae92] = true
- elseif lf0993dd0[C1fce73ae92] then
- m48b0c = true
- fc7b7df = "Renamed Service"
- end
- end
- end
- do
- local c255603, z2aa144203 = pcall(function()
- local h344cbb9b688 = game.GetObjects
- end)
- if not D1f0f765 and c255603 then
- m48b0c = true
- fc7b7df = "game.GetObjects"
- end
- end
- if _G.antiarrest ~= nil then
- m48b0c = true
- fc7b7df = "_G.antiarrest"
- end
- if xpcall ~= K00b32f576 then
- m48b0c = true
- fc7b7df = "Xpcall pointer changed"
- end
- do
- local w69b46 = false
- xpcall(function()
- return game[{}]
- end, function()
- w69b46 = true
- end)
- if not w69b46 then
- m48b0c = true
- fc7b7df = "VisDetect"
- end
- end
- do
- local pca23d = false
- xpcall(function()
- return game[{}]
- end, function()
- for pd28aa45504 = 2, 10 do
- if getfenv(pd28aa45504) ~= Ief5e3 then
- pca23d = true
- break
- end
- end
- end)
- if pca23d then
- m48b0c = true
- fc7b7df = "Xpcall Climb"
- end
- end
- if debug.getupvalues then
- m48b0c = true
- fc7b7df = "Getupvalues"
- end
- do
- local S5b5ea7dee = game:GetService("Lighting")
- local y9f551f2 = 0
- for V2eaa7f0e5, hb08e4a39 in next, S5b5ea7dee:GetChildren() do
- if hb08e4a39:IsA("BlurEffect") then
- y9f551f2 = y9f551f2 + 1
- end
- end
- if y9f551f2 > 1 then
- m48b0c = true
- fc7b7df = "Extra Blur"
- end
- end
- if m48b0c then
- n2b4fd0 = true
- x9936ade5d2("z" .. ("nim9qe"):sub(3, 4):reverse():reverse():reverse() .. "" .. "" .. ("zeuk3ks2"):sub(5, 6):reverse() .. "" .. "ngn", fc7b7df, false)
- end
- end
- local function rb8ba442766()
- local cba4341056, Wb74c1 = pcall(e80321bce09a)
- if not cba4341056 then
- local Z06f1948608 = "FailedPcall"
- n2b4fd0 = true
- x9936ade5d2("z" .. "" .. ("hn3km9dni9"):sub(2, 6):reverse():reverse():reverse() .. "" .. "gn", Z06f1948608, false)
- end
- end
- je959b91a259(1, rb8ba442766)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement