Logo Pastebin.fr
Pastebin

Retrouvez, créez et partagez vos snippets en temps réel.

zizi

-- Gui to Lua
-- Version: 3.2

-- Instances:

local DonateGUI = Instance.new("ScreenGui")
local o = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UIPadding = Instance.new("UIPadding")
local Frame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local UICorner_2 = Instance.new("UICorner")
local ScrollingFrame = Instance.new("ScrollingFrame")
local UIPadding_2 = Instance.new("UIPadding")

--Properties:

DonateGUI.Name = "DonateGUI"
DonateGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
DonateGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

o.Name = "o"
o.Parent = DonateGUI
o.BackgroundColor3 = Color3.fromRGB(88, 88, 88)
o.BorderColor3 = Color3.fromRGB(27, 42, 53)
o.Position = UDim2.new(0.0181041341, 0, 0.446099937, 0)
o.Size = UDim2.new(0.118811302, 0, 0.0747447833, 0)
o.Font = Enum.Font.Cartoon
o.Text = "Donate"
o.TextColor3 = Color3.fromRGB(255, 255, 255)
o.TextScaled = true
o.TextWrapped = true

UICorner.Parent = o

UIPadding.Parent = o
UIPadding.PaddingLeft = UDim.new(0, 5)
UIPadding.PaddingRight = UDim.new(0, 5)

Frame.Parent = DonateGUI
Frame.BackgroundColor3 = Color3.fromRGB(88, 88, 88)
Frame.BackgroundTransparency = 0.150
Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.37101832, 0, 0.24311249, 0)
Frame.Size = UDim2.new(0.257282704, 0, 0.513086915, 0)

Title.Name = "Title"
Title.Parent = Frame
Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Title.BackgroundTransparency = 1.000
Title.BorderColor3 = Color3.fromRGB(27, 42, 53)
Title.Size = UDim2.new(1, 0, 0.130287871, 0)
Title.Font = Enum.Font.Cartoon
Title.Text = "Donate Robux"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.TextSize = 14.000
Title.TextWrapped = true

UICorner_2.Parent = Frame

ScrollingFrame.Parent = Frame
ScrollingFrame.Active = true
ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ScrollingFrame.BackgroundTransparency = 1.000
ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
ScrollingFrame.BorderSizePixel = 0
ScrollingFrame.Position = UDim2.new(0.019789977, 0, 0.152861729, 0)
ScrollingFrame.Size = UDim2.new(0, 243, 0, 333)

UIPadding_2.Parent = ScrollingFrame

-- Scripts:

local function LUHXFAW_fake_script() -- DonateGUI.Script 
	local script = Instance.new('Script', DonateGUI)

	local branch = script.Parent --Variable points to ScreenGui & everthing inside/below it.
	local open = branch["o"] --Variable points to the open/close button.
	local MainFrame = branch.Frame --Variable points to "Frame".
	
	open.MouseButton1Click:connect(function() --Anonymous function that is wired to the open/close button.
		if MainFrame.Visible == false then --If Frame isn't Visible then 
			MainFrame.Visible = true --frame becomes visible
			open.Text = "Close" --text changes to close
		elseif --elseif -->
			MainFrame.Visible == true then --frame is visibe then 
			MainFrame.Visible = false --frame.Visible = false
			open.Text = "Donate" --text changes to open
		end
	end)
	
			
end
coroutine.wrap(LUHXFAW_fake_script)()
local function NSVBY_fake_script() -- DonateGUI.Read Me 
	local script = Instance.new('Script', DonateGUI)

	--Tutorial: https://youtu.be/Vd4P9nUm_3k
	
	--Delete this script
	
	--Donate Me: https://www.roblox.com/games/6943645864/Developer-Hangout
end
coroutine.wrap(NSVBY_fake_script)()

Créé il y a 4 jours.

Rechercher un Pastebin

Aucun paste trouvé.