Hello everyone.
I want to spawn an object by pressing a button 4 times or more, can someone tell me do i script it?
note: I just want to press 1 botton to make it spawn, not 2,3,4 or more buttons.
Hello everyone.
I want to spawn an object by pressing a button 4 times or more, can someone tell me do i script it?
note: I just want to press 1 botton to make it spawn, not 2,3,4 or more buttons.
Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start despawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
Edit: spelling errors and wrong words used
> 2533274819319946;2:
> Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start spawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
I’ll give it a try, if something don’t works ill ask again, thanks for your response.
> 2533274905245971;3:
> > 2533274819319946;2:
> > Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start spawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
>
>
> I’ll give it a try, if something don’t works ill ask again, thanks for your response.
No problem. Good luck!
And just curious, why do you want one button to be pushed 4 times to spawn an object? Just seems kind of redundant to me lol.
> 2533274819319946;4:
> > 2533274905245971;3:
> > > 2533274819319946;2:
> > > Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start spawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
> >
> >
> > I’ll give it a try, if something don’t works ill ask again, thanks for your response.
>
>
> No problem. Good luck!
>
> And just curious, why do you want one button to be pushed 4 times to spawn an object? Just seems kind of redundant to me lol.
i want to make something like a vending machine… v: im boring xD
> 2533274905245971;5:
> > 2533274819319946;4:
> > > 2533274905245971;3:
> > > > 2533274819319946;2:
> > > > Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start spawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
> > >
> > >
> > > I’ll give it a try, if something don’t works ill ask again, thanks for your response.
> >
> >
> > No problem. Good luck!
> >
> > And just curious, why do you want one button to be pushed 4 times to spawn an object? Just seems kind of redundant to me lol.
>
>
> i want to make something like a vending machine… v: im boring xD
Ahhhh, gotcha lol
> 2533274819319946;6:
> > 2533274905245971;5:
> > > 2533274819319946;4:
> > > > 2533274905245971;3:
> > > > > 2533274819319946;2:
> > > > > Don’t think it’s possible. There’s no scripts that are like “On First Interaction:” or “On Second Interaction:” or so on. You would need 4 switches (you could put them all in the same location so it seems like they are just one switch) and script it so when the first one is interacted with send power channel: alpha and a second script that despawns it; then on the second switch have a script that says on round start spawn, and second script that says power channel: alpha spawn, and then copy the rest of switch one; then do the same for switches 3 and 4. Once alpha- delta (or whatever 4 power channels you use) are activated have your object spawn.
> > > >
> > > >
> > > > I’ll give it a try, if something don’t works ill ask again, thanks for your response.
> > >
> > >
> > > No problem. Good luck!
> > >
> > > And just curious, why do you want one button to be pushed 4 times to spawn an object? Just seems kind of redundant to me lol.
> >
> >
> > i want to make something like a vending machine… v: im boring xD
>
>
> Ahhhh, gotcha lol
Really really thanks, it works.