Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local kupcake = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local name = Instance.new("TextLabel")
- local cars = Instance.new("TextButton")
- --Properties:
- kupcake.Name = "kupcake"
- kupcake.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = kupcake
- main.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- main.Position = UDim2.new(0.218091697, 0, 0.422712952, 0)
- main.Size = UDim2.new(0, 189, 0, 130)
- main.Active = true
- main.Draggable = true
- title.Name = "title"
- title.Parent = main
- title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- title.BorderSizePixel = 0
- title.Size = UDim2.new(0, 189, 0, 34)
- title.Font = Enum.Font.GothamSemibold
- title.Text = "Kupcake Demo"
- title.TextColor3 = Color3.fromRGB(255, 0, 255)
- title.TextSize = 14.000
- title.TextWrapped = true
- name.Name = "name"
- name.Parent = title
- name.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- name.BorderSizePixel = 0
- name.Position = UDim2.new(0.0740740746, 0, 3.2352941, 0)
- name.Size = UDim2.new(0, 160, 0, 20)
- name.Font = Enum.Font.GothamSemibold
- name.Text = "Made by Toxic Mods#0001"
- name.TextColor3 = Color3.fromRGB(255, 0, 255)
- name.TextSize = 14.000
- name.TextStrokeTransparency = 0.000
- cars.Name = "cars"
- cars.Parent = main
- cars.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- cars.Position = UDim2.new(0.153439149, 0, 0.307692319, 0)
- cars.Size = UDim2.new(0, 130, 0, 50)
- cars.Font = Enum.Font.GothamBlack
- cars.Text = "Bring all cars"
- cars.TextColor3 = Color3.fromRGB(255, 0, 255)
- cars.TextSize = 14.000
- cars.MouseButton1Down:connect(function()
- spawn(function()
- while true do
- game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- game.Players.LocalPlayer.SimulationRadius = math.pow(math.huge,math.huge)*math.huge
- game:GetService("RunService").Stepped:wait()
- end
- end)
- for index, part in pairs(workspace.Vehicles:GetDescendants()) do
- if part:IsA("Part") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false then
- part.CFrame = CFrame.new(game.workspace[game.Players.LocalPlayer.Name].UpperTorso.Position) --gamer
- end
- end
- end)
- function Notify(titletxt, text, time)
- local GUI = Instance.new("ScreenGui")
- local Main = Instance.new("Frame", GUI)
- local title = Instance.new("TextLabel", Main)
- local message = Instance.new("TextLabel", Main)
- GUI.Name = "NotificationOof"
- GUI.Parent = game.CoreGui
- Main.Name = "MainFrame"
- Main.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(1, 5, 0, 50)
- Main.Size = UDim2.new(0, 330, 0, 100)
- title.BackgroundColor3 = Color3.new(0, 0, 0)
- title.BackgroundTransparency = 0.89999997615814
- title.Size = UDim2.new(1, 0, 0, 30)
- title.Font = Enum.Font.SourceSansSemibold
- title.Text = titletxt
- title.TextColor3 = Color3.new(255 , 0, 255)--color to liking
- title.TextSize = 25--size to liking
- message.BackgroundColor3 = Color3.new(0, 0, 0)
- message.BackgroundTransparency = 1
- message.Position = UDim2.new(0, 0, 0, 30)
- message.Size = UDim2.new(1, 0, 1, -30)
- message.Font = Enum.Font.SourceSans
- message.Text = text
- message.TextColor3 = Color3.new(255 , 0, 255)--color to liking
- message.TextSize = 17.5--size to liking
- wait(0.1)
- Main:TweenPosition(UDim2.new(1, -330, 0, 50), "Out", "Sine", 0.5)
- wait(time)
- Main:TweenPosition(UDim2.new(1, 5, 0, 50), "Out", "Sine", 0.5)
- wait(10.0)
- GUI:Destroy();
- end
- Notify("Kupcake Demo", "want to suggest a feature? https://discord.gg/x3D4NEj", 5)
Add Comment
Please, Sign In to add comment