CODINGGIAN

Untitled

Mar 29th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. while true do
  2.     wait(script.Time.Value)
  3.     local part = Instance.new("Part")
  4.     part.Size = Vector3.new(1,1,1)
  5.     local money = Instance.new("NumberValue", part)
  6.     money.Name = "Money"
  7.     money.Value = script.Rate.Value
  8.     local mesh = script.Mesh:Clone()
  9.     mesh.Parent = part
  10.     part.Position = script.Parent.Position
  11.     part.Parent = workspace.Bin
  12.     game.Debris:AddItem(part,10)
  13. end
Add Comment
Please, Sign In to add comment