Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local amount = 0
- repeat
- game:GetService("ReplicatedStorage").Remotes.RefillRemote:FireServer(true)
- amount = amount + 1
- until amount == 50
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local UICorner_2 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(120, 120, 120)
- Frame.BackgroundTransparency = 0.100
- Frame.BorderColor3 = Color3.fromRGB(102, 102, 102)
- Frame.Position = UDim2.new(0.359221786, 0, 0.303745508, 0)
- Frame.Size = UDim2.new(0, 363, 0, 202)
- UICorner.Parent = Frame
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.Position = UDim2.new(0.223292843, 0, 0.0997543335, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 40)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Thanks for using my script!"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 20.000
- UICorner_2.Parent = TextLabel
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0.254700333, 0, 0.695563138, 0)
- TextButton.Size = UDim2.new(0, 177, 0, 39)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Close"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- UICorner_3.Parent = TextButton
- -- Scripts:
- local function OVJH_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent:Destroy()
- end)
- end
- coroutine.wrap(OVJH_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement