How do i make converting system(bricks to money)

local Proximity = script.Parent
local MoneyValue = workspace.Factory.PlayerMoney
local BrickValue = workspace.Factory.PlayerBricks
Proximity.Triggered:Connect(function()
		MoneyValue.Value = MoneyValue.Value + BrickValue.Value * 1
		BrickValue.Value = 0
end)

change the *1 to whatever your conversion is

there is no changes from my last script, it’s won’t work

“there is no changes” check the first script you posted and check mine, tell me if it dosn’t work but don’t be aggersive

I mean from last script which was given by octanagolamen

They are same, and they both no works.

Bru i thought it will be very simple problem, but we already have 46 replies(47 already lol)

huh?

local Proximity = script.Parent
local MoneyValue = workspace.Factory.PlayerMoney
local BrickValue = workspace.Factory.PlayerBricks
Proximity.Triggered:Connect(function()
		MoneyValue.Value = MoneyValue.Value + BrickValue.Value * 1
		BrickValue.Value = 0
end)

think they are diffrant

Oh i see, but even if so, they both no works. I already tested

(so no output error and no anything?)

No errors, even print in octanagolamen script

i don’t think i can slove this then, my last suggestion is use leaderstats ;-;

I wanna test someth with print

Wait a second, maybe just proximity no works

OH, Proximity just no works!!!

It didn’t print anything hmmmmm

local function onPromptTriggered(promptObject, player)
end

Wat is that lol

try add “on” infront of prompt

My roblox studio is work strange, I can’t publish anything, and sometimes i can see 2-3 places like that.