ADVERTISEMENTREMOVE ADS
give litteraly inf money
47,050 views
Script Preview
Description
ADVERTISEMENTREMOVE ADS
222 Lines • 7.3 KiB
--đŸ’¸Millionaire Empire Tycoon
--https://www.roblox.com/es/games/6677985923/Millionaire-Empire-Tycoon
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local function makeWobble(button)
button.MouseEnter:Connect(function()
TweenService:Create(button, TweenInfo.new(0.2), {Size = button.Size + UDim2.new(0, 2, 0, 2)}):Play()
end)
button.MouseLeave:Connect(function()
TweenService:Create(button, TweenInfo.new(0.2), {Size = button.Size - UDim2.new(0, 2, 0, 2)}):Play()
end)
end
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "MoneyHub"
gui.ResetOnSpawn = false
-- Main frame with macOS styling
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 260, 0, 140)
frame.Position = UDim2.new(0.5, -130, 0.5, -70)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
frame.Active = true
-- Add corner radius to main frame
local frameCorner = Instance.new("UICorner", frame)
frameCorner.CornerRadius = UDim.new(0, 12)
-- Add subtle shadow effect
local frameShadow = Instance.new("Frame", gui)
frameShadow.Size = frame.Size + UDim2.new(0, 6, 0, 6)
frameShadow.Position = UDim2.new(0.5, -133, 0.5, -67)
frameShadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
frameShadow.BackgroundTransparency = 0.8
frameShadow.ZIndex = frame.ZIndex - 1
local shadowCorner = Instance.new("UICorner", frameShadow)
shadowCorner.CornerRadius = UDim.new(0, 15)
-- Title bar
local titleBar = Instance.new("Frame", frame)
titleBar.Size = UDim2.new(1, 0, 0, 35)
titleBar.Position = UDim2.new(0, 0, 0, 0)
titleBar.BackgroundColor3 = Color3.fromRGB(50, 50, 55)
titleBar.ZIndex = frame.ZIndex + 1
local titleCorner = Instance.new("UICorner", titleBar)
titleCorner.CornerRadius = UDim.new(0, 12)
-- Fix title bar bottom corners
local titleBarFix = Instance.new("Frame", titleBar)
titleBarFix.Size = UDim2.new(1, 0, 0, 12)
titleBarFix.Position = UDim2.new(0, 0, 1, -12)
titleBarFix.BackgroundColor3 = Color3.fromRGB(50, 50, 55)
titleBarFix.BorderSizePixel = 0
-- macOS style close button (red circle) - moved to right
local closeBtn = Instance.new("TextButton", titleBar)
closeBtn.Size = UDim2.new(0, 20, 0, 20)
closeBtn.Position = UDim2.new(1, -30, 0.5, -10)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 95, 87)
closeBtn.Text = ""
closeBtn.BorderSizePixel = 0
closeBtn.ZIndex = titleBar.ZIndex + 10
local closeBtnCorner = Instance.new("UICorner", closeBtn)
closeBtnCorner.CornerRadius = UDim.new(0.5, 0)
-- Hover effect for close button
closeBtn.MouseEnter:Connect(function()
TweenService:Create(closeBtn, TweenInfo.new(0.1), {
BackgroundColor3 = Color3.fromRGB(220, 50, 47)
}):Play()
end)
closeBtn.MouseLeave:Connect(function()
TweenService:Create(closeBtn, TweenInfo.new(0.1), {
BackgroundColor3 = Color3.fromRGB(255, 95, 87)
}):Play()
end)
-- macOS style minimize button (yellow circle) - just for decoration
local minimizeBtn = Instance.new("Frame", titleBar)
minimizeBtn.Size = UDim2.new(0, 12, 0, 12)
minimizeBtn.Position = UDim2.new(0, 32, 0.5, -6)
minimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 189, 46)
minimizeBtn.BorderSizePixel = 0
local minimizeBtnCorner = Instance.new("UICorner", minimizeBtn)
minimizeBtnCorner.CornerRadius = UDim.new(0.5, 0)
-- macOS style maximize button (green circle) - just for decoration
local maximizeBtn = Instance.new("Frame", titleBar)
maximizeBtn.Size = UDim2.new(0, 12, 0, 12)
maximizeBtn.Position = UDim2.new(0, 52, 0.5, -6)
maximizeBtn.BackgroundColor3 = Color3.fromRGB(40, 201, 64)
maximizeBtn.BorderSizePixel = 0
local maximizeBtnCorner = Instance.new("UICorner", maximizeBtn)
maximizeBtnCorner.CornerRadius = UDim.new(0.5, 0)
-- Window title
local titleLabel = Instance.new("TextLabel", titleBar)
titleLabel.Size = UDim2.new(1, -80, 1, 0)
titleLabel.Position = UDim2.new(0, 40, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Money Hub"
titleLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
titleLabel.Font = Enum.Font.Gotham
titleLabel.TextSize = 13
titleLabel.TextXAlignment = Enum.TextXAlignment.Center
-- Discord label
local discord = Instance.new("TextLabel", frame)
discord.Size = UDim2.new(1, -20, 0, 20)
discord.Position = UDim2.new(0, 10, 0, 45)
discord.BackgroundTransparency = 1
discord.Text = "by cilo"
discord.TextColor3 = Color3.fromRGB(200, 200, 200)
discord.Font = Enum.Font.Gotham
discord.TextSize = 12
discord.TextXAlignment = Enum.TextXAlignment.Center
-- Money button with modern styling
local moneyBtn = Instance.new("TextButton", frame)
moneyBtn.Size = UDim2.new(0.85, 0, 0, 40)
moneyBtn.Position = UDim2.new(0.075, 0, 0.55, 0)
moneyBtn.Text = "Get a lot of Money"
moneyBtn.TextColor3 = Color3.new(1, 1, 1)
moneyBtn.Font = Enum.Font.GothamBold
moneyBtn.TextSize = 16
moneyBtn.BorderSizePixel = 0
local moneyBtnCorner = Instance.new("UICorner", moneyBtn)
moneyBtnCorner.CornerRadius = UDim.new(0, 8)
-- Add gradient effect to money button
local moneyBtnGradient = Instance.new("UIGradient", moneyBtn)
moneyBtnGradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 122, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(40, 150, 255))
}
moneyBtnGradient.Rotation = 45
makeWobble(moneyBtn)
-- Close button functionality with faster animation
closeBtn.MouseButton1Click:Connect(function()
-- Quick window closing animation
local closeTween = TweenService:Create(frame, TweenInfo.new(0.15, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
Size = UDim2.new(0, 0, 0, 0),
Position = UDim2.new(0.5, 0, 0.5, 0)
})
local shadowTween = TweenService:Create(frameShadow, TweenInfo.new(0.15, Enum.EasingStyle.Back, Enum.EasingDirection.In), {
Size = UDim2.new(0, 0, 0, 0),
Position = UDim2.new(0.5, 0, 0.5, 0),
BackgroundTransparency = 1
})
closeTween:Play()
shadowTween:Play()
closeTween.Completed:Connect(function()
gui:Destroy()
end)
end)
-- Money button functionality
moneyBtn.MouseButton1Click:Connect(function()
local args = {[1] = 10000000000 }
local remote = ReplicatedStorage:FindFirstChild("fewjnfejwb3")
if remote then
remote:FireServer(unpack(args))
else
warn("Remote fewjnfejwb3 not found")
end
end)
-- Dragging functionality
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
)
frameShadow.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X - 3,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y + 3
)
end
titleBar.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)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS






Comments
SCRIPT IS NOW WORKING !!!
@kokkiavox ._.
@kokkiavox bro why did you reduce the money he gives
@Cil Why did you reported this post?
@uerd you can ignore it