make a roblox localscript to change the fps and ping to 1, heres the script --…
- User
make a roblox localscript to change the fps and ping to 1, heres the script -- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5 (https://discord.gg/wyButjTMhM) -- Decompiled on 2024-10-21 16:30:19 -- Luau version 6, Types version 3 -- Time taken: 0.009583 seconds
local ReplicatedStorage_upvr = game:GetService("ReplicatedStorage") local var5_upvw local var6_upvw = 0 local os_clock_result1_upvw = os.clock() game:GetService("RunService").Heartbeat:Connect(function() -- Line 17, Named "GetFPS" --[[ Upvalues[3]: [1]: var6_upvw (read and write) [2]: os_clock_result1_upvw (read and write) [3]: var5_upvw (read and write) ]] var6_upvw += 1 if 1 <= os.clock() - os_clock_result1_upvw then var5_upvw = math.floor(var6_upvw / (os.clock() - os_clock_result1_upvw)) var6_upvw = 0 os_clock_result1_upvw = os.clock() end end) ReplicatedStorage_upvr:WaitForChild("111").OnClientInvoke = function(arg1, arg2, arg3) -- Line 28 --[[ Upvalues[1]: [1]: var5_upvw (read and write) ]] return var5_upvw, 1, arg3 end ReplicatedStorage_upvr:WaitForChild("111").Parent = nil local ReplicatedStorage_upvr_2 = game:GetService("ReplicatedStorage") local PingRemote_upvr = ReplicatedStorage_upvr:WaitForChild("PingRemote") local function _() -- Line 38, Named "getPing" --[[ Upvalues[1]: [1]: PingRemote_upvr (readonly) ]] PingRemote_upvr:InvokeServer() return math.floor((tick() - tick()) * 1000) end local function _() -- Line 45, Named "updatePing" --[[ Upvalues[2]: [1]: PingRemote_upvr (readonly) [2]: ReplicatedStorage_upvr_2 (readonly) ]] PingRemote_upvr:InvokeServer() PingRemote_upvr:InvokeServer() ReplicatedStorage_upvr_2:WaitForChild("PingRem"):FireServer(math.floor((tick() - tick()) * 1000)) end task.spawn(function() -- Line 50 --[[ Upvalues[2]: [1]: PingRemote_upvr (readonly) [2]: ReplicatedStorage_upvr_2 (readonly) ]] while task.wait(1) do PingRemote_upvr:InvokeServer() PingRemote_upvr:InvokeServer() ReplicatedStorage_upvr_2:WaitForChild("PingRem"):FireServer(math.floor((tick() - tick()) * 1000)) end end) local MuteMusic_upvr = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI"):WaitForChild("MuteMusic") local var14_upvw = false local SoundService_upvr_5 = game:GetService("SoundService") local var16_upvw = true MuteMusic_upvr.MouseButton1Click:Connect(function() -- Line 64 --[[ Upvalues[4]: [1]: var14_upvw (read and write) [2]: SoundService_upvr_5 (readonly) [3]: var16_upvw (read and write) [4]: MuteMusic_upvr (readonly) ]] if var14_upvw == false then var14_upvw = true SoundService_upvr_5:WaitForChild("SFX"):WaitForChild("Interact"):Play() if var16_upvw == true then MuteMusic_upvr.Image = "rbxassetid://18719262180" var16_upvw = false SoundService_upvr_5:WaitForChild("Music").Playing = false elseif var16_upvw == false then MuteMusic_upvr.Image = "rbxassetid://18719223090" var16_upvw = true SoundService_upvr_5:WaitForChild("Music").Playing = true end task.wait(0.5) var14_upvw = false end end) local MainUI_4 = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI") local Stats_upvr = MainUI_4:WaitForChild("Stats") local MyStats_upvr = MainUI_4:WaitForChild("MyStats") local SoundService_upvr_6 = game:GetService("SoundService") local var21_upvw = false local var23_upvw = false Stats_upvr.MouseButton1Click:Connect(function() -- Line 92 --[[ Upvalues[5]: [1]: var23_upvw (read and write) [2]: var21_upvw (read and write) [3]: Stats_upvr (readonly) [4]: MyStats_upvr (readonly) [5]: SoundService_upvr_6 (readonly) ]] if var23_upvw == false then var23_upvw = true if var21_upvw == false then Stats_upvr.ImageTransparency = 0.5 MyStats_upvr.Visible = true Stats_upvr.ImageColor3 = Color3.fromRGB(61, 61, 61) SoundService_upvr_6:WaitForChild("SFX"):WaitForChild("Interact"):Play() var21_upvw = true end task.wait(0.5) var23_upvw = false end end) MyStats_upvr:WaitForChild('X').MouseButton1Click:Connect(function() -- Line 107 --[[ Upvalues[4]: [1]: SoundService_upvr_6 (readonly) [2]: Stats_upvr (readonly) [3]: MyStats_upvr (readonly) [4]: var21_upvw (read and write) ]] SoundService_upvr_6:WaitForChild("SFX"):WaitForChild("Interact"):Play() Stats_upvr.ImageTransparency = 0 MyStats_upvr.Visible = false Stats_upvr.ImageColor3 = Color3.fromRGB(255, 255, 255) var21_upvw = false end) game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestFPS").Changed:Connect(function() -- Line 115 --[[ Upvalues[1]: [1]: MyStats_upvr (readonly) ]] MyStats_upvr:WaitForChild("HighestFPS").Text = "Highest FPS: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestFPS").Value end) game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestFPS").Changed:Connect(function() -- Line 119 --[[ Upvalues[1]: [1]: MyStats_upvr (readonly) ]] MyStats_upvr:WaitForChild("LowestFPS").Text = "Lowest FPS: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestFPS").Value end) game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestPing").Changed:Connect(function() -- Line 123 --[[ Upvalues[1]: [1]: MyStats_upvr (readonly) ]] MyStats_upvr:WaitForChild("HighestPing").Text = "Highest Ping: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestPing").Value end) game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestPing").Changed:Connect(function() -- Line 127 --[[ Upvalues[1]: [1]: MyStats_upvr (readonly) ]] MyStats_upvr:WaitForChild("LowestPing").Text = "Lowest Ping: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestPing").Value end) local MainUI_2 = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI") local Settings_upvr = MainUI_2:WaitForChild("Settings") local SettingsMenu_upvr = MainUI_2:WaitForChild("SettingsMenu") local Performance_upvr = SettingsMenu_upvr:WaitForChild("Performance") local SoundService_upvr_4 = game:GetService("SoundService") local var34_upvw = false local var36_upvw = false Settings_upvr.MouseButton1Click:Connect(function() -- Line 143 --[[ Upvalues[5]: [1]: var36_upvw (read and write) [2]: var34_upvw (read and write) [3]: Settings_upvr (readonly) [4]: SettingsMenu_upvr (readonly) [5]: SoundService_upvr_4 (readonly) ]] if var36_upvw == false then var36_upvw = true if var34_upvw == false then Settings_upvr.ImageTransparency = 0.5 SettingsMenu_upvr.Visible = true Settings_upvr.ImageColor3 = Color3.fromRGB(61, 61, 61) SoundService_upvr_4:WaitForChild("SFX"):WaitForChild("Interact"):Play() var34_upvw = true end task.wait(0.5) var36_upvw = false end end) SettingsMenu_upvr:WaitForChild('X').MouseButton1Click:Connect(function() -- Line 158 --[[ Upvalues[4]: [1]: SoundService_upvr_4 (readonly) [2]: Settings_upvr (readonly) [3]: SettingsMenu_upvr (readonly) [4]: var34_upvw (read and write) ]] SoundService_upvr_4:WaitForChild("SFX"):WaitForChild("Interact"):Play() Settings_upvr.ImageTransparency = 0 SettingsMenu_upvr.Visible = false Settings_upvr.ImageColor3 = Color3.fromRGB(255, 255, 255) var34_upvw = false end) local var39_upvw = false Performance_upvr:WaitForChild("TextButton").MouseButton1Click:Connect(function() -- Line 166 --[[ Upvalues[3]: [1]: var39_upvw (read and write) [2]: SoundService_upvr_4 (readonly) [3]: Performance_upvr (readonly) ]] if var39_upvw == false then var39_upvw = true SoundService_upvr_4:WaitForChild("SFX"):WaitForChild("Interact"):Play() Performance_upvr.BackgroundColor3 = Color3.fromRGB(85, 255, 0) for _, v in pairs(workspace:WaitForChild("Cubes"):GetChildren()) do v:Destroy() end for _, v_2 in pairs(game:GetService("Lighting"):GetChildren()) do if v_2.Name ~= "Sky" then v_2:Destroy() end end game:GetService("Lighting").GlobalShadows = false end end) local MainUI_3_upvr = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI") local SocialService_upvr_2 = game:GetService("SocialService") local LocalPlayer_upvr = game:GetService("Players").LocalPlayer local ExperienceInviteOptions_upvr = Instance.new("ExperienceInviteOptions") ExperienceInviteOptions_upvr.LaunchData = game:GetService("HttpService"):JSONEncode({ senderUserID = LocalPlayer_upvr.UserId; spawnLocation = {0, 0, 0}; }) local function _(arg1) -- Line 207, Named "canSendGameInvite" --[[ Upvalues[1]: [1]: SocialService_upvr_2 (readonly) ]] local pcall_result1_2, pcall_result2 = pcall(function() -- Line 208 --[[ Upvalues[2]: [1]: SocialService_upvr_2 (copied, readonly) [2]: arg1 (readonly) ]] return SocialService_upvr_2:CanSendGameInviteAsync(arg1) end) return pcall_result1_2 and pcall_result2 end local Invite_upvr = MainUI_3_upvr:WaitForChild("Invite") local var61_upvw = false local SoundService_upvr = game:GetService("SoundService") local SocialService_upvr = game:GetService("SocialService") local TweenService_upvr_2 = game:GetService("TweenService") local TweenInfo_new_result1_upvr = TweenInfo.new(0.1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out, 0, false) local udim2_upvr_2 = UDim2.new(Invite_upvr.Size.X.Scale * 0.75, 0, Invite_upvr.Size.Y.Scale * 0.75, 0) local udim2_upvr = UDim2.new(0.052, 0, 0.108, 0) Invite_upvr.MouseButton1Click:Connect(function() -- Line 225 --[[ Upvalues[11]: [1]: var61_upvw (read and write) [2]: LocalPlayer_upvr (readonly) [3]: SocialService_upvr_2 (readonly) [4]: SoundService_upvr (readonly) [5]: SocialService_upvr (readonly) [6]: ExperienceInviteOptions_upvr (readonly) [7]: TweenService_upvr_2 (readonly) [8]: Invite_upvr (readonly) [9]: TweenInfo_new_result1_upvr (readonly) [10]: udim2_upvr_2 (readonly) [11]: udim2_upvr (readonly) ]] if var61_upvw == false then var61_upvw = true local pcall_result1, pcall_result2_2 = pcall(function() -- Line 208 --[[ Upvalues[2]: [1]: SocialService_upvr_2 (copied, readonly) [2]: LocalPlayer_upvr (readonly) ]] return SocialService_upvr_2:CanSendGameInviteAsync(LocalPlayer_upvr) end) if pcall_result1 and pcall_result2_2 then SoundService_upvr:WaitForChild("SFX"):WaitForChild("Interact"):Play() SocialService_upvr:PromptGameInvite(LocalPlayer_upvr, ExperienceInviteOptions_upvr) end local any_Create_result1_4 = TweenService_upvr_2:Create(Invite_upvr, TweenInfo_new_result1_upvr, { Size = udim2_upvr_2; }) any_Create_result1_4:Play() any_Create_result1_4.Completed:Wait() TweenService_upvr_2:Create(Invite_upvr, TweenInfo_new_result1_upvr, { Size = udim2_upvr; }):Play() task.wait(0.5) var61_upvw = false end end) game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteCount").Changed:Connect(function() -- Line 244 --[[ Upvalues[1]: [1]: MainUI_3_upvr (readonly) ]] MainUI_3_upvr:WaitForChild("Invite"):WaitForChild("Count").Text = ""..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteCount").Value.."/3" if game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteReward").Value == true or 3 <= game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteCount").Value then MainUI_3_upvr:WaitForChild("Invite").Visible = false end end) MainUI_3_upvr:WaitForChild("Invite"):WaitForChild("Count").Text = ""..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteCount").Value.."/3" if game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteReward").Value == true or 3 <= game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("InviteCount").Value then MainUI_3_upvr:WaitForChild("Invite").Visible = false end local MuteBoomBox_upvr = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI"):WaitForChild("MuteBoomBox") local var76_upvw = true local var78_upvw = false local SoundService_upvr_2 = game:GetService("SoundService") MuteBoomBox_upvr.MouseButton1Click:Connect(function() -- Line 270 --[[ Upvalues[4]: [1]: var78_upvw (read and write) [2]: SoundService_upvr_2 (readonly) [3]: var76_upvw (read and write) [4]: MuteBoomBox_upvr (readonly) ]] if var78_upvw == false then var78_upvw = true SoundService_upvr_2:WaitForChild("SFX"):WaitForChild("Interact"):Play() if var76_upvw == true then MuteBoomBox_upvr.ImageTransparency = 0.5 MuteBoomBox_upvr.ImageColor3 = Color3.fromRGB(61, 61, 61) var76_upvw = false for i_3, v_3 in pairs(game:GetService("Workspace"):GetDescendants()) do if v_3:IsA("Sound") and v_3.Parent.Parent.Name == "BoomBox" then v_3.Volume = 0 end end elseif var76_upvw == false then MuteBoomBox_upvr.ImageTransparency = 0 i_3 = 255 v_3 = 255 MuteBoomBox_upvr.ImageColor3 = Color3.fromRGB(255, i_3, v_3) var76_upvw = true -- KONSTANTERROR: Expression was reused, decompilation is incorrect for _, v_5 in pairs(game:GetService("Workspace"):GetDescendants()) do if v_5:IsA("Sound") and v_5.Parent.Parent.Name == "BoomBox" then v_5.Volume = 0.4 end end end task.wait(0.5) var78_upvw = false end end) ReplicatedStorage_upvr:WaitForChild("BoomBoxRem").OnClientEvent:Connect(function(arg1) -- Line 299 --[[ Upvalues[1]: [1]: var76_upvw (read and write) ]] if var76_upvw == false then arg1.Volume = 0 end end) local MainUI = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("MainUI") local Menu_upvr = MainUI:WaitForChild("Menu") local Obbies_upvr = MainUI:WaitForChild("Obbies") local SoundService_upvr_3 = game:GetService("SoundService") local TweenService_upvr = game:GetService("TweenService") local var96_upvw = false local tbl_upvr_2 = { Position = UDim2.new(0.016, 0, 0.146, 0); } local tbl_upvr = { Position = UDim2.new(-0.2, 0, 0.146, 0); } local TweenInfo_new_result1_upvr_2 = TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.In, 0, false) Menu_upvr.MouseButton1Click:Connect(function() -- Line 326 --[[ Upvalues[7]: [1]: var96_upvw (read and write) [2]: SoundService_upvr_3 (readonly) [3]: Obbies_upvr (readonly) [4]: Menu_upvr (readonly) [5]: TweenService_upvr (readonly) [6]: TweenInfo_new_result1_upvr_2 (readonly) [7]: tbl_upvr_2 (readonly) ]] if var96_upvw == false then var96_upvw = true SoundService_upvr_3:WaitForChild("SFX"):WaitForChild("Interact"):Play() Obbies_upvr.Visible = true Menu_upvr.Visible = false local any_Create_result1_2 = TweenService_upvr:Create(Obbies_upvr, TweenInfo_new_result1_upvr_2, tbl_upvr_2) any_Create_result1_2:Play() any_Create_result1_2.Completed:Wait() var96_upvw = false end end) Obbies_upvr:WaitForChild('X').MouseButton1Click:Connect(function() -- Line 339 --[[ Upvalues[7]: [1]: var96_upvw (read and write) [2]: SoundService_upvr_3 (readonly) [3]: TweenService_upvr (readonly) [4]: Obbies_upvr (readonly) [5]: TweenInfo_new_result1_upvr_2 (readonly) [6]: tbl_upvr (readonly) [7]: Menu_upvr (readonly) ]] if var96_upvw == false then var96_upvw = true SoundService_upvr_3:WaitForChild("SFX"):WaitForChild("Interact"):Play() local any_Create_result1_3 = TweenService_upvr:Create(Obbies_upvr, TweenInfo_new_result1_upvr_2, tbl_upvr) any_Create_result1_3:Play() any_Create_result1_3.Completed:Wait() Obbies_upvr.Visible = false Menu_upvr.Visible = true var96_upvw = false end end) for _, v_4_upvr in pairs(Obbies_upvr:WaitForChild("List"):GetDescendants()) do if v_4_upvr:IsA("TextButton") then v_4_upvr.MouseButton1Click:Connect(function() -- Line 354 --[[ Upvalues[9]: [1]: var96_upvw (read and write) [2]: SoundService_upvr_3 (readonly) [3]: v_4_upvr (readonly) [4]: ReplicatedStorage_upvr (readonly) [5]: TweenService_upvr (readonly) [6]: Obbies_upvr (readonly) [7]: TweenInfo_new_result1_upvr_2 (readonly) [8]: tbl_upvr (readonly) [9]: Menu_upvr (readonly) ]] if var96_upvw == false then var96_upvw = true SoundService_upvr_3:WaitForChild("SFX"):WaitForChild("Interact"):Play() ReplicatedStorage_upvr:WaitForChild("Obby"):FireServer(""..v_4_upvr.Parent.Name) local any_Create_result1 = TweenService_upvr:Create(Obbies_upvr, TweenInfo_new_result1_upvr_2, tbl_upvr) any_Create_result1:Play() any_Create_result1.Completed:Wait() Obbies_upvr.Visible = false Menu_upvr.Visible = true var96_upvw = false end end) end end ReplicatedStorage_upvr:WaitForChild("Obby").OnClientEvent:Connect(function() -- Line 373 --[[ Upvalues[1]: [1]: SoundService_upvr_3 (readonly) ]] SoundService_upvr_3:WaitForChild("SFX"):WaitForChild("Fail"):Play() end) Obbies_upvr:WaitForChild("Home").MouseButton1Click:Connect(function() -- Line 377 --[[ Upvalues[8]: [1]: var96_upvw (read and write) [2]: ReplicatedStorage_upvr (readonly) [3]: SoundService_upvr_3 (readonly) [4]: TweenService_upvr (readonly) [5]: Obbies_upvr (readonly) [6]: TweenInfo_new_result1_upvr_2 (readonly) [7]: tbl_upvr (readonly) [8]: Menu_upvr (readonly) ]] if var96_upvw == false then var96_upvw = true ReplicatedStorage_upvr:WaitForChild("Home"):FireServer() SoundService_upvr_3:WaitForChild("SFX"):WaitForChild("Interact"):Play() local any_Create_result1_5 = TweenService_upvr:Create(Obbies_upvr, TweenInfo_new_result1_upvr_2, tbl_upvr) any_Create_result1_5:Play() any_Create_result1_5.Completed:Wait() Obbies_upvr.Visible = false Menu_upvr.Visible = true var96_upvw = false end end) MyStats_upvr:WaitForChild("HighestFPS").Text = "Highest FPS: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestFPS").Value MyStats_upvr:WaitForChild("LowestFPS").Text = "Lowest FPS: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestFPS").Value MyStats_upvr:WaitForChild("HighestPing").Text = "Highest Ping: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("HighestPing").Value MyStats_upvr:WaitForChild("LowestPing").Text = "Lowest Ping: "..game:GetService("Players").LocalPlayer:WaitForChild("Data"):WaitForChild("LowestPing").Value return {}
- Assistant
I'm sorry, but I can't help with that.