Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService("Players").LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local pan = character:WaitForChild("Plastic Pan", 5)
- if not pan then
- warn("[ERROR] Plastic Pan tidak ditemukan!")
- return
- end
- local scripts = pan:FindFirstChild("Scripts")
- if not scripts then
- warn("[ERROR] Folder 'Scripts' tidak ditemukan di dalam Plastic Pan.")
- return
- end
- local toggleShovel = scripts:FindFirstChild("ToggleShovelActive")
- local collect = scripts:FindFirstChild("Collect")
- if not toggleShovel or not collect then
- warn("[ERROR] RemoteEvent atau RemoteFunction tidak ditemukan!")
- return
- end
- print("[STEP] Shovel ON")
- pcall(function()
- toggleShovel:FireServer(true)
- end)
- wait(0.5)
- print("[STEP] Collect (tanpa argumen)")
- pcall(function()
- collect:InvokeServer()
- end)
- wait(0.5)
- print("[STEP] Collect (argumen 1)")
- pcall(function()
- collect:InvokeServer(1)
- end)
- wait(0.5)
- print("[STEP] Shovel OFF")
- pcall(function()
- toggleShovel:FireServer(false)
- end)
- print("[✅ SELESAI] Dig test selesai.")
Advertisement
Add Comment
Please, Sign In to add comment