#How to make it so if someone bought from the shop it will automatically be placed in a specific spot

1 messages · Page 1 of 1 (latest)

true temple
#

Uh can your draw an example?

old palm
#

When buy | Execute Mechanics Map.Generate Object then Execute Mechanics.Bag.Reduce item

#

bought item

#

you can replace when buy by When Itilizing Object

#

Infinite Loop
If System.Bag.Item amount > 0 then
Execute Mechanics Map.Generate Object
Execute Mechanics.Bag.Reduce item
ExitLoop

#

put this script at when Itilizing Object in your item object

#

remember to save the object to asset library

true temple
#

Mostly people will write the scripts but i will try to make that rel

#

Btw you know how to script it, right?

old palm
#

@raw ruin

#

i was having trouble with heavy file i cant upload

#

huh

#

i sent you a script above

#

you can adjust the position of something to be spawned and something need to be spawned

#

what

#

no

#

just do what i told you

#

and it will works

#

amount is in system.bag

#

huh wdym

#

you script it

#

manually

old palm
# old palm

what are you having problem with in this script

#

i just showed in the video above

#

alright one sec

#

it might be hard for a new guy

#

you will need to know how to script so we can help you easier

#

sure go ahead

#

ill guide you

#

add a Tappable Component in your baby actor

#

And Make a script
Set Money + value

#

or if youre using built-in silver coins
Execute Mechanics.Bag.Give item

#

execute mechanics.Map.Generate Object

#

what

#

i told you when tapped Generate Object coins at the baby coordinates

slow pasture
#

Nvm

old palm
#

h

slow pasture
#

Btw satt u play Roblox?

old palm
#

#🌐・general-en

#

no problem im a bit busy

#

@tired depot will help

tired depot
#

jhj.

#

Okay one second

#

@raw ruin so you want the baby to give money whenever it touches a certain object..??

tired depot
#

sorry i fell asleep imjust really sick rn

#

You can give the couch a collision detector