
Key Required
AutoFarm Coins
Lua Script•931 lines (31464 chars)
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local MarketplaceService = game:GetService("MarketplaceService")
local HttpService = game:GetService("HttpService")
local LocalPlayer = Players.LocalPlayer
local gameId = game.PlaceId
local targetGameId = 8457392226
if gameId ~= targetGameId then
local notification = Instance.new("ScreenGui")
notification.Name = "WrongGameNotification"
notification.DisplayOrder = 999
notification.ResetOnSpawn = false
notification.Parent = LocalPlayer:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 120)
frame.Position = UDim2.new(0.5, -175, 0.1, 0)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = frame
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(60, 60, 70)
stroke.Thickness = 2
stroke.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -20, 0, 30)
title.Position = UDim2.new(0, 10, 0, 10)
title.BackgroundTransparency = 1
title.Text = "WRONG GAME DETECTED"
title.TextColor3 = Color3.fromRGB(255, 100, 100)
title.TextSize = 16
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Center
title.Parent = frame
local message = Instance.new("TextLabel")
message.Size = UDim2.new(1, -20, 0, 60)
message.Position = UDim2.new(0, 10, 0, 45)
message.BackgroundTransparency = 1
message.Text = "This autofarm is for RH Dance Studio only.\nJoin game ID: 8457392226 to use this feature."
message.TextColor3 = Color3.fromRGB(220, 220, 220)
message.TextSize = 13
message.Font = Enum.Font.Gotham
message.TextWrapped = true
message.TextXAlignment = Enum.TextXAlignment.Center
message.Parent = frame
frame.Parent = notification
delay(8, function()
notification:Destroy()
end)
return
end
local isDeveloper = LocalPlayer.Name == "One_Problemfour"
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "RHDS_Autofarm"
screenGui.DisplayOrder = 100
screenGui.ResetOnSpawn = false
screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 400, 0, 360)
mainFrame.Position = UDim2.new(0.5, -200, 0.5, -180)
mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.ClipsDescendants = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = mainFrame
local header = Instance.new("Frame")
header.Size = UDim2.new(1, 0, 0, 50)
header.BackgroundColor3 = Color3.fromRGB(50, 50, 65)
header.BorderSizePixel = 0
header.Parent = mainFrame
local headerCorner = Instance.new("UICorner")
headerCorner.CornerRadius = UDim.new(0, 12, 0, 0)
headerCorner.Parent = header
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -80, 1, 0)
title.Position = UDim2.new(0, 20, 0, 0)
title.BackgroundTransparency = 1
title.Text = "RH DANCE STUDIO"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 18
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = header
local subtitle = Instance.new("TextLabel")
subtitle.Size = UDim2.new(1, -80, 0, 20)
subtitle.Position = UDim2.new(0, 20, 0.5, 2)
subtitle.BackgroundTransparency = 1
subtitle.Text = "Coin Autofarm"
subtitle.TextColor3 = Color3.fromRGB(180, 180, 200)
subtitle.TextSize = 12
subtitle.Font = Enum.Font.Gotham
subtitle.TextXAlignment = Enum.TextXAlignment.Left
subtitle.Parent = header
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -40, 0.5, -15)
closeBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(220, 220, 220)
closeBtn.TextSize = 16
closeBtn.Font = Enum.Font.GothamBold
closeBtn.AutoButtonColor = false
closeBtn.Parent = header
local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 6)
closeCorner.Parent = closeBtn
local content = Instance.new("Frame")
content.Size = UDim2.new(1, -40, 1, -70)
content.Position = UDim2.new(0, 20, 0, 60)
content.BackgroundTransparency = 1
content.Parent = mainFrame
local farmBtn = Instance.new("TextButton")
farmBtn.Size = UDim2.new(1, 0, 0, 60)
farmBtn.Position = UDim2.new(0, 0, 0, 10)
farmBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
farmBtn.Text = "START AUTOFARM"
farmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
farmBtn.TextSize = 18
farmBtn.Font = Enum.Font.GothamBold
farmBtn.AutoButtonColor = false
farmBtn.Parent = content
local farmCorner = Instance.new("UICorner")
farmCorner.CornerRadius = UDim.new(0, 10)
farmCorner.Parent = farmBtn
local statusLabel = Instance.new("TextLabel")
statusLabel.Size = UDim2.new(1, 0, 0, 20)
statusLabel.Position = UDim2.new(0, 0, 0, 80)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Ready to farm coins"
statusLabel.TextColor3 = Color3.fromRGB(150, 150, 170)
statusLabel.TextSize = 12
statusLabel.Font = Enum.Font.Gotham
statusLabel.TextXAlignment = Enum.TextXAlignment.Center
statusLabel.Parent = content
local timerFrame = Instance.new("Frame")
timerFrame.Size = UDim2.new(1, 0, 0, 50)
timerFrame.Position = UDim2.new(0, 0, 0, 110)
timerFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
timerFrame.BorderSizePixel = 0
timerFrame.Visible = false
timerFrame.Parent = content
local timerCorner = Instance.new("UICorner")
timerCorner.CornerRadius = UDim.new(0, 8)
timerCorner.Parent = timerFrame
local timerLabel = Instance.new("TextLabel")
timerLabel.Size = UDim2.new(1, -20, 1, 0)
timerLabel.Position = UDim2.new(0, 10, 0, 0)
timerLabel.BackgroundTransparency = 1
timerLabel.Text = "00:00"
timerLabel.TextColor3 = Color3.fromRGB(100, 200, 255)
timerLabel.TextSize = 20
timerLabel.Font = Enum.Font.GothamBold
timerLabel.TextXAlignment = Enum.TextXAlignment.Left
timerLabel.Parent = timerFrame
local timeText = Instance.new("TextLabel")
timeText.Size = UDim2.new(0, 60, 1, 0)
timeText.Position = UDim2.new(1, -60, 0, 0)
timeText.BackgroundTransparency = 1
timeText.Text = "TIME"
timeText.TextColor3 = Color3.fromRGB(200, 200, 220)
timeText.TextSize = 12
timeText.Font = Enum.Font.Gotham
timeText.TextXAlignment = Enum.TextXAlignment.Right
timeText.Parent = timerFrame
local playerCard = Instance.new("Frame")
playerCard.Size = UDim2.new(1, 0, 0, 80)
playerCard.Position = UDim2.new(0, 0, 0, 170)
playerCard.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
playerCard.BorderSizePixel = 0
playerCard.Parent = content
local playerCardCorner = Instance.new("UICorner")
playerCardCorner.CornerRadius = UDim.new(0, 8)
playerCardCorner.Parent = playerCard
local avatarFrame = Instance.new("Frame")
avatarFrame.Size = UDim2.new(0, 60, 0, 60)
avatarFrame.Position = UDim2.new(0, 10, 0.5, -30)
avatarFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
avatarFrame.BorderSizePixel = 0
avatarFrame.Parent = playerCard
local avatarCorner = Instance.new("UICorner")
avatarCorner.CornerRadius = UDim.new(0, 8)
avatarCorner.Parent = avatarFrame
local playerAvatar = Instance.new("ImageLabel")
playerAvatar.Size = UDim2.new(1, -6, 1, -6)
playerAvatar.Position = UDim2.new(0, 3, 0, 3)
playerAvatar.BackgroundColor3 = Color3.fromRGB(50, 50, 65)
playerAvatar.BorderSizePixel = 0
playerAvatar.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
playerAvatar.Parent = avatarFrame
local avatarCorner2 = Instance.new("UICorner")
avatarCorner2.CornerRadius = UDim.new(0, 6)
avatarCorner2.Parent = playerAvatar
local playerName = Instance.new("TextLabel")
playerName.Size = UDim2.new(1, -90, 0, 25)
playerName.Position = UDim2.new(0, 80, 0, 18)
playerName.BackgroundTransparency = 1
playerName.Text = LocalPlayer.DisplayName
playerName.TextColor3 = Color3.fromRGB(255, 255, 255)
playerName.TextSize = 16
playerName.Font = Enum.Font.GothamBold
playerName.TextXAlignment = Enum.TextXAlignment.Left
playerName.TextTruncate = Enum.TextTruncate.AtEnd
playerName.Parent = playerCard
local usernameLabel = Instance.new("TextLabel")
usernameLabel.Size = UDim2.new(1, -90, 0, 20)
usernameLabel.Position = UDim2.new(0, 80, 0, 42)
usernameLabel.BackgroundTransparency = 1
usernameLabel.Text = "@" .. LocalPlayer.Name
usernameLabel.TextColor3 = Color3.fromRGB(180, 180, 200)
usernameLabel.TextSize = 13
usernameLabel.Font = Enum.Font.Gotham
usernameLabel.TextXAlignment = Enum.TextXAlignment.Left
usernameLabel.TextTruncate = Enum.TextTruncate.AtEnd
usernameLabel.Parent = playerCard
local gameIcon = Instance.new("ImageLabel")
gameIcon.Size = UDim2.new(0, 24, 0, 24)
gameIcon.Position = UDim2.new(1, -34, 0.5, -12)
gameIcon.BackgroundTransparency = 1
gameIcon.Image = "rbxassetid://6031302936"
gameIcon.ImageColor3 = Color3.fromRGB(255, 215, 0)
gameIcon.Parent = playerCard
if isDeveloper then
local devBadge = Instance.new("TextLabel")
devBadge.Size = UDim2.new(0, 80, 0, 20)
devBadge.Position = UDim2.new(0, 10, 1, 5)
devBadge.BackgroundColor3 = Color3.fromRGB(255, 87, 34)
devBadge.Text = "DEVELOPER"
devBadge.TextColor3 = Color3.fromRGB(255, 255, 255)
devBadge.TextSize = 10
devBadge.Font = Enum.Font.GothamBold
devBadge.Parent = playerCard
local badgeCorner = Instance.new("UICorner")
badgeCorner.CornerRadius = UDim.new(0, 4)
badgeCorner.Parent = devBadge
end
local feedbackBtn = Instance.new("TextButton")
feedbackBtn.Size = UDim2.new(1, 0, 0, 30)
feedbackBtn.Position = UDim2.new(0, 0, 0, 260)
feedbackBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
feedbackBtn.Text = "Send Feedback"
feedbackBtn.TextColor3 = Color3.fromRGB(220, 220, 220)
feedbackBtn.TextSize = 14
feedbackBtn.Font = Enum.Font.Gotham
feedbackBtn.AutoButtonColor = false
feedbackBtn.Parent = content
local feedbackCorner = Instance.new("UICorner")
feedbackCorner.CornerRadius = UDim.new(0, 6)
feedbackCorner.Parent = feedbackBtn
if isDeveloper then
local adminBtn = Instance.new("TextButton")
adminBtn.Size = UDim2.new(1, 0, 0, 30)
adminBtn.Position = UDim2.new(0, 0, 0, 295)
adminBtn.BackgroundColor3 = Color3.fromRGB(255, 87, 34)
adminBtn.Text = "Admin Controls"
adminBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
adminBtn.TextSize = 14
adminBtn.Font = Enum.Font.GothamBold
adminBtn.AutoButtonColor = false
adminBtn.Parent = content
local adminCorner = Instance.new("UICorner")
adminCorner.CornerRadius = UDim.new(0, 6)
adminCorner.Parent = adminBtn
end
mainFrame.Parent = screenGui
local function loadPlayerAvatar()
local userId = LocalPlayer.UserId
local success, result = pcall(function()
return Players:GetUserThumbnailAsync(userId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100)
end)
if success and result then
playerAvatar.Image = result
end
playerName.Text = LocalPlayer.DisplayName
usernameLabel.Text = "@" .. LocalPlayer.Name
end
delay(1, loadPlayerAvatar)
local dragging = false
local dragStart = Vector2.new(0, 0)
local frameStart = UDim2.new(0, 0, 0, 0)
local function onDragStart(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
frameStart = mainFrame.Position
local connection
connection = input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
if connection then
connection:Disconnect()
end
end
end)
end
end
local function onDragChanged(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or
input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
local newX = frameStart.X.Offset + delta.X
local newY = frameStart.Y.Offset + delta.Y
local viewportSize = workspace.CurrentCamera.ViewportSize
local frameSize = mainFrame.AbsoluteSize
newX = math.clamp(newX, 0, viewportSize.X - frameSize.X)
newY = math.clamp(newY, 0, viewportSize.Y - frameSize.Y)
mainFrame.Position = UDim2.new(0, newX, 0, newY)
end
end
header.InputBegan:Connect(onDragStart)
header.InputChanged:Connect(onDragChanged)
title.InputBegan:Connect(onDragStart)
title.InputChanged:Connect(onDragChanged)
local isFarming = false
local startTime = 0
local farmConnection = nil
local timeConnection = nil
local adminControlsOpen = false
local noclipEnabled = false
local infiniteJumpEnabled = false
local originalWalkspeed = 16
local originalJumpPower = 50
local function formatTime(seconds)
local minutes = math.floor(seconds / 60)
local secs = math.floor(seconds % 60)
return string.format("%02d:%02d", minutes, secs)
end
local function checkCoinSpawn()
local folder = Workspace:FindFirstChild("CoinSpawn")
if not folder then return false end
for _, spawn in pairs(folder:GetChildren()) do
if spawn.Name == "CoinSpawn" and spawn:IsA("BasePart") then
local coin = spawn:FindFirstChild("Coin")
if coin and coin:IsA("BasePart") then
return true
end
end
end
return false
end
local function findCoins()
local coins = {}
local folder = Workspace:FindFirstChild("CoinSpawn")
if not folder then return coins end
for _, spawn in pairs(folder:GetChildren()) do
if spawn.Name == "CoinSpawn" and spawn:IsA("BasePart") then
local coin = spawn:FindFirstChild("Coin")
if coin and coin:IsA("BasePart") then
table.insert(coins, coin)
end
end
end
return coins
end
local function teleportToCoin(coin)
local character = LocalPlayer.Character
if not character then return false end
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoidRootPart then return false end
character:SetPrimaryPartCFrame(CFrame.new(coin.Position + Vector3.new(0, 3, 0)))
return true
end
local function startFarming()
if isFarming then return end
if not checkCoinSpawn() then
farmBtn.Text = "NO COINS"
farmBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
statusLabel.Text = "CoinSpawn folder not found"
delay(2, function()
if farmBtn then
farmBtn.Text = "START AUTOFARM"
farmBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
statusLabel.Text = "Ready to farm coins"
end
end)
return
end
isFarming = true
startTime = os.time()
farmBtn.Text = "STOP AUTOFARM"
farmBtn.BackgroundColor3 = Color3.fromRGB(231, 76, 60)
statusLabel.Text = "Farming coins..."
timerFrame.Visible = true
timerLabel.Text = "00:00"
timeConnection = RunService.Heartbeat:Connect(function()
if not isFarming then return end
local elapsed = os.time() - startTime
timerLabel.Text = formatTime(elapsed)
end)
farmConnection = RunService.Heartbeat:Connect(function()
if not isFarming then return end
local coins = findCoins()
if #coins == 0 then
wait(0.5)
return
end
for _, coin in pairs(coins) do
if not isFarming then break end
if coin and coin.Parent then
teleportToCoin(coin)
wait(0.1)
end
end
end)
end
local function stopFarming()
if not isFarming then return end
isFarming = false
farmBtn.Text = "START AUTOFARM"
farmBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
statusLabel.Text = "Ready to farm coins"
if farmConnection then
farmConnection:Disconnect()
farmConnection = nil
end
if timeConnection then
timeConnection:Disconnect()
timeConnection = nil
end
end
local function showFeedbackPopup()
local feedbackGui = Instance.new("ScreenGui")
feedbackGui.Name = "FeedbackPopup"
feedbackGui.DisplayOrder = 999
feedbackGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 200)
frame.Position = UDim2.new(0.5, -175, 0.5, -100)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -20, 0, 40)
title.Position = UDim2.new(0, 10, 0, 10)
title.BackgroundTransparency = 1
title.Text = "SEND FEEDBACK"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 18
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Center
title.Parent = frame
local inputBox = Instance.new("TextBox")
inputBox.Size = UDim2.new(1, -20, 0, 80)
inputBox.Position = UDim2.new(0, 10, 0, 60)
inputBox.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
inputBox.TextColor3 = Color3.fromRGB(255, 255, 255)
inputBox.TextSize = 14
inputBox.Font = Enum.Font.Gotham
inputBox.PlaceholderText = "Enter your feedback here..."
inputBox.PlaceholderColor3 = Color3.fromRGB(150, 150, 170)
inputBox.TextWrapped = true
inputBox.ClearTextOnFocus = false
inputBox.Parent = frame
local inputCorner = Instance.new("UICorner")
inputCorner.CornerRadius = UDim.new(0, 6)
inputCorner.Parent = inputBox
local sendBtn = Instance.new("TextButton")
sendBtn.Size = UDim2.new(0, 100, 0, 30)
sendBtn.Position = UDim2.new(0.5, -110, 1, -45)
sendBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
sendBtn.Text = "SEND"
sendBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
sendBtn.TextSize = 14
sendBtn.Font = Enum.Font.GothamBold
sendBtn.AutoButtonColor = false
sendBtn.Parent = frame
local sendCorner = Instance.new("UICorner")
sendCorner.CornerRadius = UDim.new(0, 6)
sendCorner.Parent = sendBtn
local cancelBtn = Instance.new("TextButton")
cancelBtn.Size = UDim2.new(0, 100, 0, 30)
cancelBtn.Position = UDim2.new(0.5, 10, 1, -45)
cancelBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
cancelBtn.Text = "CANCEL"
cancelBtn.TextColor3 = Color3.fromRGB(220, 220, 220)
cancelBtn.TextSize = 14
cancelBtn.Font = Enum.Font.Gotham
cancelBtn.AutoButtonColor = false
cancelBtn.Parent = frame
local cancelCorner = Instance.new("UICorner")
cancelCorner.CornerRadius = UDim.new(0, 6)
cancelCorner.Parent = cancelBtn
frame.Parent = feedbackGui
sendBtn.MouseButton1Click:Connect(function()
local feedbackText = inputBox.Text
if #feedbackText > 0 then
print("Feedback from " .. LocalPlayer.Name .. ": " .. feedbackText)
local successMsg = Instance.new("TextLabel")
successMsg.Size = UDim2.new(1, -20, 0, 30)
successMsg.Position = UDim2.new(0, 10, 0.5, -15)
successMsg.BackgroundTransparency = 1
successMsg.Text = "Feedback sent! Thank you."
successMsg.TextColor3 = Color3.fromRGB(46, 204, 113)
successMsg.TextSize = 14
successMsg.Font = Enum.Font.GothamBold
successMsg.TextXAlignment = Enum.TextXAlignment.Center
successMsg.Parent = frame
inputBox.Visible = false
sendBtn.Visible = false
cancelBtn.Visible = false
delay(2, function()
feedbackGui:Destroy()
end)
end
end)
cancelBtn.MouseButton1Click:Connect(function()
feedbackGui:Destroy()
end)
end
local function showAdminControls()
if not isDeveloper then return end
if adminControlsOpen then return end
adminControlsOpen = true
local adminGui = Instance.new("ScreenGui")
adminGui.Name = "AdminControls"
adminGui.DisplayOrder = 998
adminGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 300)
frame.Position = UDim2.new(0.5, -175, 0.5, -150)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
frame.BorderSizePixel = 0
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -20, 0, 40)
title.Position = UDim2.new(0, 10, 0, 10)
title.BackgroundTransparency = 1
title.Text = "ADMIN CONTROLS"
title.TextColor3 = Color3.fromRGB(255, 87, 34)
title.TextSize = 18
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Center
title.Parent = frame
local noclipBtn = Instance.new("TextButton")
noclipBtn.Size = UDim2.new(1, -20, 0, 30)
noclipBtn.Position = UDim2.new(0, 10, 0, 60)
noclipBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
noclipBtn.Text = "NOCLIP: OFF"
noclipBtn.TextColor3 = Color3.fromRGB(220, 220, 220)
noclipBtn.TextSize = 14
noclipBtn.Font = Enum.Font.Gotham
noclipBtn.AutoButtonColor = false
noclipBtn.Parent = frame
local noclipCorner = Instance.new("UICorner")
noclipCorner.CornerRadius = UDim.new(0, 6)
noclipCorner.Parent = noclipBtn
local walkspeedFrame = Instance.new("Frame")
walkspeedFrame.Size = UDim2.new(1, -20, 0, 40)
walkspeedFrame.Position = UDim2.new(0, 10, 0, 100)
walkspeedFrame.BackgroundTransparency = 1
walkspeedFrame.Parent = frame
local walkspeedLabel = Instance.new("TextLabel")
walkspeedLabel.Size = UDim2.new(0.5, 0, 1, 0)
walkspeedLabel.Position = UDim2.new(0, 0, 0, 0)
walkspeedLabel.BackgroundTransparency = 1
walkspeedLabel.Text = "WalkSpeed: 16"
walkspeedLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
walkspeedLabel.TextSize = 14
walkspeedLabel.Font = Enum.Font.Gotham
walkspeedLabel.TextXAlignment = Enum.TextXAlignment.Left
walkspeedLabel.Parent = walkspeedFrame
local walkspeedSlider = Instance.new("TextBox")
walkspeedSlider.Size = UDim2.new(0.5, 0, 1, 0)
walkspeedSlider.Position = UDim2.new(0.5, 0, 0, 0)
walkspeedSlider.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
walkspeedSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
walkspeedSlider.Text = "16"
walkspeedSlider.TextSize = 14
walkspeedSlider.Font = Enum.Font.Gotham
walkspeedSlider.Parent = walkspeedFrame
local sliderCorner = Instance.new("UICorner")
sliderCorner.CornerRadius = UDim.new(0, 4)
sliderCorner.Parent = walkspeedSlider
local jumpPowerFrame = Instance.new("Frame")
jumpPowerFrame.Size = UDim2.new(1, -20, 0, 40)
jumpPowerFrame.Position = UDim2.new(0, 10, 0, 150)
jumpPowerFrame.BackgroundTransparency = 1
jumpPowerFrame.Parent = frame
local jumpPowerLabel = Instance.new("TextLabel")
jumpPowerLabel.Size = UDim2.new(0.5, 0, 1, 0)
jumpPowerLabel.Position = UDim2.new(0, 0, 0, 0)
jumpPowerLabel.BackgroundTransparency = 1
jumpPowerLabel.Text = "JumpPower: 50"
jumpPowerLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
jumpPowerLabel.TextSize = 14
jumpPowerLabel.Font = Enum.Font.Gotham
jumpPowerLabel.TextXAlignment = Enum.TextXAlignment.Left
jumpPowerLabel.Parent = jumpPowerFrame
local jumpPowerSlider = Instance.new("TextBox")
jumpPowerSlider.Size = UDim2.new(0.5, 0, 1, 0)
jumpPowerSlider.Position = UDim2.new(0.5, 0, 0, 0)
jumpPowerSlider.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
jumpPowerSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
jumpPowerSlider.Text = "50"
jumpPowerSlider.TextSize = 14
jumpPowerSlider.Font = Enum.Font.Gotham
jumpPowerSlider.Parent = jumpPowerFrame
local jumpCorner = Instance.new("UICorner")
jumpCorner.CornerRadius = UDim.new(0, 4)
jumpCorner.Parent = jumpPowerSlider
local infiniteJumpBtn = Instance.new("TextButton")
infiniteJumpBtn.Size = UDim2.new(1, -20, 0, 30)
infiniteJumpBtn.Position = UDim2.new(0, 10, 0, 200)
infiniteJumpBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
infiniteJumpBtn.Text = "INFINITE JUMP: OFF"
infiniteJumpBtn.TextColor3 = Color3.fromRGB(220, 220, 220)
infiniteJumpBtn.TextSize = 14
infiniteJumpBtn.Font = Enum.Font.Gotham
infiniteJumpBtn.AutoButtonColor = false
infiniteJumpBtn.Parent = frame
local infiniteCorner = Instance.new("UICorner")
infiniteCorner.CornerRadius = UDim.new(0, 6)
infiniteCorner.Parent = infiniteJumpBtn
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(1, -20, 0, 30)
closeBtn.Position = UDim2.new(0, 10, 1, -40)
closeBtn.BackgroundColor3 = Color3.fromRGB(231, 76, 60)
closeBtn.Text = "CLOSE"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.TextSize = 14
closeBtn.Font = Enum.Font.GothamBold
closeBtn.AutoButtonColor = false
closeBtn.Parent = frame
local closeAdminCorner = Instance.new("UICorner")
closeAdminCorner.CornerRadius = UDim.new(0, 6)
closeAdminCorner.Parent = closeBtn
frame.Parent = adminGui
local noclipConnection
noclipBtn.MouseButton1Click:Connect(function()
noclipEnabled = not noclipEnabled
if noclipEnabled then
noclipBtn.Text = "NOCLIP: ON"
noclipBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
noclipConnection = RunService.Stepped:Connect(function()
local character = LocalPlayer.Character
if character then
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
end
end)
else
noclipBtn.Text = "NOCLIP: OFF"
noclipBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
if noclipConnection then
noclipConnection:Disconnect()
noclipConnection = nil
end
end
end)
walkspeedSlider.FocusLost:Connect(function()
local value = tonumber(walkspeedSlider.Text)
if value and value >= 0 and value <= 500 then
originalWalkspeed = value
local character = LocalPlayer.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.WalkSpeed = value
walkspeedLabel.Text = "WalkSpeed: " .. value
end
end
else
walkspeedSlider.Text = tostring(originalWalkspeed)
end
end)
jumpPowerSlider.FocusLost:Connect(function()
local value = tonumber(jumpPowerSlider.Text)
if value and value >= 0 and value <= 500 then
originalJumpPower = value
local character = LocalPlayer.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.JumpPower = value
jumpPowerLabel.Text = "JumpPower: " .. value
end
end
else
jumpPowerSlider.Text = tostring(originalJumpPower)
end
end)
infiniteJumpBtn.MouseButton1Click:Connect(function()
infiniteJumpEnabled = not infiniteJumpEnabled
if infiniteJumpEnabled then
infiniteJumpBtn.Text = "INFINITE JUMP: ON"
infiniteJumpBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
else
infiniteJumpBtn.Text = "INFINITE JUMP: OFF"
infiniteJumpBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
end
end)
closeBtn.MouseButton1Click:Connect(function()
adminControlsOpen = false
adminGui:Destroy()
end)
UserInputService.JumpRequest:Connect(function()
if infiniteJumpEnabled then
local character = LocalPlayer.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end
end
end)
end
farmBtn.MouseEnter:Connect(function()
if farmBtn.Text:find("START") then
farmBtn.BackgroundColor3 = Color3.fromRGB(56, 214, 123)
elseif farmBtn.Text:find("STOP") then
farmBtn.BackgroundColor3 = Color3.fromRGB(241, 86, 70)
end
end)
farmBtn.MouseLeave:Connect(function()
if farmBtn.Text:find("START") then
farmBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113)
elseif farmBtn.Text:find("STOP") then
farmBtn.BackgroundColor3 = Color3.fromRGB(231, 76, 60)
end
end)
closeBtn.MouseEnter:Connect(function()
closeBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
end)
closeBtn.MouseLeave:Connect(function()
closeBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
end)
feedbackBtn.MouseEnter:Connect(function()
feedbackBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 90)
end)
feedbackBtn.MouseLeave:Connect(function()
feedbackBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
end)
if isDeveloper then
local adminBtn = content:FindFirstChild("AdminControls")
if adminBtn then
adminBtn.MouseEnter:Connect(function()
adminBtn.BackgroundColor3 = Color3.fromRGB(255, 107, 44)
end)
adminBtn.MouseLeave:Connect(function()
adminBtn.BackgroundColor3 = Color3.fromRGB(255, 87, 34)
end)
end
end
farmBtn.MouseButton1Click:Connect(function()
if isFarming then
stopFarming()
else
startFarming()
end
end)
closeBtn.MouseButton1Click:Connect(function()
stopFarming()
screenGui:Destroy()
end)
feedbackBtn.MouseButton1Click:Connect(function()
showFeedbackPopup()
end)
if isDeveloper then
local adminBtn = content:FindFirstChild("AdminControls")
if adminBtn then
adminBtn.MouseButton1Click:Connect(function()
showAdminControls()
end)
end
end
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.KeyCode == Enum.KeyCode.F9 then
screenGui.Enabled = not screenGui.Enabled
end
end)
delay(1, function()
if not checkCoinSpawn() then
statusLabel.Text = "Not in RH Dance Studio"
farmBtn.Text = "NOT IN GAME"
farmBtn.BackgroundColor3 = Color3.fromRGB(255, 193, 7)
end
end)Features & Information
Autofarm Coins in RH Dance Studio!
You can use these Coins to have access to some in-game items like gear, or something else.
You can also give you feedback if you want to!
Community Comments (0)
No comments yet for this script.
