Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- XXI#0021
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local XXIbutton = Instance.new("TextButton")
- --don't forget to v0uch
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.45098, 0.45098, 0.45098)
- Frame.BackgroundTransparency = 0.30000001192093
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 2
- Frame.Position = UDim2.new(0.680526853, 0, 0.846673965, 0)
- Frame.Size = UDim2.new(0, 183, 0, 48)
- XXIbutton.Name = "XXIbutton"
- XXIbutton.Parent = ScreenGui
- XXIbutton.BackgroundColor3 = Color3.new(0.45098, 0.45098, 0.45098)
- XXIbutton.BackgroundTransparency = 0.30000001192093
- XXIbutton.Position = UDim2.new(0.680412412, 0, 0.846613586, 0)
- XXIbutton.Size = UDim2.new(0, 183, 0, 48)
- XXIbutton.Font = Enum.Font.SciFi
- XXIbutton.Text = "Auto Buy xd"
- XXIbutton.TextColor3 = Color3.new(0, 0, 0)
- XXIbutton.TextSize = 14
- -- hi
- function SCRIPT_IOEM86_FAKESCRIPT() -- XXIbutton.Script
- local script = Instance.new('Script')
- script.Parent = XXIbutton
- XXIbutton.MouseButton1Click:connect (function()
- XXIbutton.Text = "Auto Buy xd"
- local send = game.ReplicatedStorage:WaitForChild('Items')
- game.ReplicatedStorage.Limitteds.ChildAdded:connect(function(x)
- if x:IsA('Folder') then
- local id = x:WaitForChild('AssetID')
- local price = x:WaitForChild('Price')
- if id and price then
- local result
- local succ, err = pcall(function()
- result = send:InvokeServer(price.Value, id.Value, x.Name, "ash1337")
- end)
- if succ then
- if result then
- warn('Successfully bought: ' .. x.Name)
- else
- warn('Failed to buy: ' .. x.Name)
- end
- else
- warn('Ran into an error when trying to buy ' .. x.Name .. ': ' .. err)
- end
- end
- end
- end)
- warn('Auto-buy loaded!')
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_IOEM86_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement