Сontent continues after AD

Сontent continues after AD

Сontent continues after AD

Script – Crown Divers

Thank you for using our website
Your script:

				
					local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Coins = workspace:WaitForChild("Coins")
local player = Players.LocalPlayer
local HRP = player.Character:WaitForChild("HumanoidRootPart")

local function collectCoin(coin)
    if coin:IsA("BasePart") then
        coin.CFrame = HRP.CFrame
        task.wait()
    end
end

RunService.Heartbeat:Connect(function()
    for _, coin in ipairs(Coins:GetChildren()) do
        collectCoin(coin)
    end
end)

Coins.ChildAdded:Connect(collectCoin)
				
			

if the script does not work, try other scripts on our website