Universal Script 📌
1.0k Views
35 Executions

Throw a basketball by ScriptDude999

Universal Script 📌
Scriptdude999
Scriptdude999Published 10
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Auto Power and auto win

View Raw
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AutoPowerGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 150)
frame.Position = UDim2.new(0, 50, 0, 50)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.Parent = screenGui
frame.Active = true
frame.Draggable = true

local autoPowerButton = Instance.new("TextButton")
autoPowerButton.Size = UDim2.new(0, 180, 0, 50)
autoPowerButton.Position = UDim2.new(0, 10, 0, 10)
autoPowerButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
autoPowerButton.TextColor3 = Color3.new(1, 1, 1)
autoPowerButton.Text = "Auto Power: OFF"
autoPowerButton.Parent = frame

local autoWinButton = Instance.new("TextButton")
autoWinButton.Size = UDim2.new(0, 180, 0, 50)
autoWinButton.Position = UDim2.new(0, 10, 0, 70)
autoWinButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
autoWinButton.TextColor3 = Color3.new(1, 1, 1)
autoWinButton.Text = "Auto Win: OFF"
autoWinButton.Parent = frame

local autoPower = false
local autoWin = false

autoPowerButton.MouseButton1Click:Connect(function()
    autoPower = not autoPower
    autoPowerButton.Text = "Auto Power: " .. (autoPower and "ON" or "OFF")


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!