#:Destroy() action not destroying the needed items?

1 messages · Page 1 of 1 (latest)

versed quartz
#

I have a script that destroys multiple diffrent items when a RemoteEvent is activated, but for some odd reason it dosent seem to function, any reasons why?

#

:Destroy() action not destroying the needed items?

true meteor
#

like values

versed quartz
#

yea

true meteor
#

ok what

versed quartz
#

well it alteast shows the value changing in the explorer

true meteor
#

do u get like any errors or smth

#

making sure

#

cuz am not seeing the problem

versed quartz
#

nope

#

strangely though
even tho in explorer it shows the value changing

#

but everything else seemed to not notice the change?

#

let me elaborate

#

theres another script
basically it checks the values
if the value is 1, the script will restart, if its 0, it will activate a "game over" script

#

and uh

#

for some reason when the explorer says 1, the other script still sees it as 0?

#

so i get the game over script

half pelican
#

can you also show the localscript sending the remoteevent?

versed quartz
half pelican
#

can i ask what this even is

#

also iirc wait() is deprecated, u should use task.wait instead

#

no idea why you have a wait() in there for 362 seconds though

#

and you do realise loops are athing right

#

and also why are they so space out bro 😭

spring yoke
#

rookie move

#

use tweens

versed quartz
#

And the long wait IS needed

#

Fnaf parody game

versed quartz
half pelican
#

i respect the effort to learning but i suggest you might want to review the basics

#

and also please dont make an empty line everytime you write a line of code

#

it hurts me eye

spring yoke
#

id rather suggest spacing out different PARTS of the code instead of singular lines

half pelican
#

seperating sections that do different things is a nice organising tactic,

versed quartz
#

the games visuals are supposed to mimic 2013-16 roblox