local player = game.Players.LocalPlayer local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") -- GUI local gui = Instance.new("ScreenGui") gui.Name = "AutoClaimGui" gui.Parent = player:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 180, 0, 55) button.Position = UDim2.new(0.5, -90, 0.6, -27) button.BackgroundColor3 = Color3.fromRGB(180, 60, 60) button.TextColor3 = Color3.new(1,1,1) button.TextScaled = true button.Text = "AUTO CLAIM : OFF" button.Font = Enum.Font.GothamBold button.Parent = gui button.AutoButtonColor = false button.Active = true -- Developer Text local devText = Instance.new("TextLabel") devText.Size = UDim2.new(1, 0, 0, 18) devText.Position = UDim2.new(0, 0, 1, 0) devText.BackgroundTransparency = 1 devText.Text = "Developer: 14_3xs" devText.TextColor3 = Color3.fromRGB(255,255,255) devText.TextScaled = true devText.Font = Enum.Font.Gotham devText.Parent = button ------------------------------------------------ -- 🎨 ألوان كثيرة + Fade خفيف ------------------------------------------------ task.spawn(function() local colors = { Color3.fromRGB(0, 0, 0), -- Black Color3.fromRGB(0, 200, 0), -- Green Color3.fromRGB(200, 0, 0), -- Red Color3.fromRGB(0, 120, 255), -- Blue Color3.fromRGB(0, 200, 200), -- Cyan Color3.fromRGB(255, 200, 0), -- Yellow Color3.fromRGB(255, 140, 0), -- Orange Color3.fromRGB(120, 0, 180), -- Dark Purple Color3.fromRGB(240, 240, 240) -- White } local index = 1 while true do local tween = TweenService:Create( devText, TweenInfo.new( 0.6, -- سرعة الـ Fade (خفيف) Enum.EasingStyle.Sine, Enum.EasingDirection.InOut ), {TextColor3 = colors[index]} ) tween:Play() index += 1 if index > #colors then index = 1 end task.wait(1) end end) ------------------------------------------------ -- Toggle ------------------------------------------------ local enabled = false button.MouseButton1Click:Connect(function() enabled = not enabled if enabled then button.Text = "AUTO CLAIM : ON" button.BackgroundColor3 = Color3.fromRGB(60, 180, 60) task.spawn(function() while enabled do for i = 1, 400 do if not enabled then break end game.ReplicatedStorage.Modules.EventManagerClient.ServerEvent:FireServer("ClaimReward") end task.wait(0.1) end end) else button.Text = "AUTO CLAIM : OFF" button.BackgroundColor3 = Color3.fromRGB(180, 60, 60) end end) ------------------------------------------------ -- 📱 Drag (موبايل + PC) ------------------------------------------------ local dragging = false local dragStart local startPos local function update(input) local delta = input.Position - dragStart button.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = button.Position end end) button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false 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)