RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a grass cutting simulator"
-- server script local grassPart = script.Parent local cutGrass = false local function cutGrass(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player and cutGrass then cutGrass = false grassPart.Transparency = 1 player.leaderstats.Grass.Value = player.leaderstats.Grass.Value + 1 wait(1) grassPart.Transparency = 0 cutGrass = true end end grassPart.Touched:Connect(cutGrass)