local player = game.Players.LocalPlayer local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local languages = { ar = { money = "مال لا حصر له", close = "X", discord = "دسكورد: 1w69", lang = "English" }, en = { money = "inf money", close = "X", discord = "Discord: 1w69", lang = "عربي" } } local currentLang = "ar" local dailyRemote = ReplicatedStorage.CratesUtilities.Remotes:FindFirstChild("GiveReward") local function makeWobble(button) button.MouseEnter:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {Rotation = 6}):Play() end) button.MouseLeave:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {Rotation = 0}):Play() end) end local function rainbow(button) local hue = 0 while true do hue = (hue + 0.01) % 1 button.BackgroundColor3 = Color3.fromHSV(hue, 1, 1) task.wait(0.05) end end local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.Name = "MoneyHub" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 260, 0, 200) frame.Position = UDim2.new(0.5, -130, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.Active = true frame.Visible = true local discord = Instance.new("TextLabel", frame) discord.Size = UDim2.new(0, 160, 0, 20) discord.Position = UDim2.new(0, 5, 0, 5) discord.BackgroundTransparency = 1 discord.Text = languages[currentLang].discord discord.TextColor3 = Color3.new(1, 1, 1) discord.Font = Enum.Font.Gotham discord.TextSize = 13 discord.TextXAlignment = Enum.TextXAlignment.Left discord.Visible = true local closeBtn = Instance.new("TextButton", frame) closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 5) closeBtn.BackgroundColor3 = Color3.fromRGB(50, 0, 0) closeBtn.Text = languages[currentLang].close closeBtn.TextColor3 = Color3.new(1, 1, 1) closeBtn.Font = Enum.Font.GothamBold closeBtn.TextSize = 14 makeWobble(closeBtn) closeBtn.Visible = true closeBtn.MouseButton1Click:Connect(function() frame.Visible = false end) local moneyBtn = Instance.new("TextButton", frame) moneyBtn.Size = UDim2.new(0.8, 0, 0, 50) moneyBtn.Position = UDim2.new(0.1, 0, 0.3, 0) moneyBtn.TextColor3 = Color3.new(0, 0, 0) moneyBtn.Font = Enum.Font.GothamBold moneyBtn.TextSize = 16 moneyBtn.Text = languages[currentLang].money makeWobble(moneyBtn) moneyBtn.Visible = true moneyBtn.MouseButton1Click:Connect(function() if dailyRemote then dailyRemote:FireServer("inf") end end) task.spawn(function() rainbow(moneyBtn) end) local langBtn = Instance.new("TextButton", frame) langBtn.Size = UDim2.new(0.8, 0, 0, 40) langBtn.Position = UDim2.new(0.1, 0, 0.65, 0) langBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200) langBtn.TextColor3 = Color3.new(1, 1, 1) langBtn.Font = Enum.Font.GothamBold langBtn.TextSize = 14 langBtn.Text = languages[currentLang].lang makeWobble(langBtn) langBtn.Visible = true langBtn.MouseButton1Click:Connect(function() currentLang = currentLang == "ar" and "en" or "ar" moneyBtn.Text = languages[currentLang].money closeBtn.Text = languages[currentLang].close discord.Text = languages[currentLang].discord langBtn.Text = languages[currentLang].lang end) local dragging, dragStart, startPos local function update(input) local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) UIS.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input) end end)