Run it
Copy the script and paste it into your executor.
Players = :()
UIS = :()
RunService = :()
player = Players.LocalPlayer
camera = .CurrentCamera
BALL_NAME =
TOGGLE_UI_KEY = .KeyCode.RightShift
LOCK_CAMERA_KEY = .KeyCode.F
OPEN_ICON =
uiOpen =
followBall =
followConn =
()
ball = :(BALL_NAME)
ball ball
:(BALL_NAME)
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player:()
openBtn = .()
openBtn.Name =
openBtn.Size = .(, , , )
openBtn.Position = .(, , , )
openBtn.BackgroundTransparency =
openBtn.Image = OPEN_ICON
openBtn.Parent = gui
openCorner = .()
openCorner.CornerRadius = .(, )
openCorner.Parent = openBtn
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Visible = uiOpen
frame.Parent = gui
frameCorner = .()
frameCorner.CornerRadius = .(, )
frameCorner.Parent = frame
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.TextScaled =
title.Parent = frame
btn = .()
btn.Size = .(, -, , )
btn.Position = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.BorderSizePixel =
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Parent = frame
btnCorner = .()
btnCorner.CornerRadius = .(, )
btnCorner.Parent = btn
hint = .()
hint.Size = .(, -, , )
hint.Position = .(, , , -)
hint.BackgroundTransparency =
hint.Text =
hint.TextColor3 = .(, , )
hint.TextScaled =
hint.Parent = frame
()
btn.Text = followBall
btn.BackgroundColor3 = followBall .(, , ) .(, , )
()
followBall =
followConn
followConn:()
followConn =
camera.CameraType = .CameraType.Custom
()
()
ball = ()
followBall =
camera.CameraType = .CameraType.Scriptable
followConn followConn:()
followConn = RunService.RenderStepped:(()
ball ball.Parent
ball = :(BALL_NAME)
ball
pos = ball.Position
camPos = pos + .(, , )
camera.CFrame = .(camPos, pos)
)
()
()
followBall
()
()
()
uiOpen = uiOpen
frame.Visible = uiOpen
btn.MouseButton1Click:(toggleFollow)
openBtn.MouseButton1Click:(toggleUI)
()
UIS.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == TOGGLE_UI_KEY
()
input.KeyCode == LOCK_CAMERA_KEY
()
)Script de tcs
The Classic Soccer