Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
local number = script.Parent.PlanksInWIndow local Maxnumber = 10 local WoodsGui = script.Parent.WoodsGui local Proximity = script.Parent.Proximity Proximity.Triggered:Connect(function(player) local Plank = player.Character:FindFirstChild("Plank") if Plank then number.Value += 1 Plank.stacks.Value -= 1 WoodsGui.TextLabel.Text = "Planks: "..number.Value.." / "..Maxnumber if number.Value == Maxnumber then script.Parent.Transparency = 0 Proximity.Enabled = false end end while wait() do if number == Maxnumber then wait(1) break end end end)
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)