#why wont this work

1 messages · Page 1 of 1 (latest)

wind cipher
#

im trying to get a blur to either disable or delete itself when a textbutton is clicked but it WONT work….

(im doing this on my ipad so i cant get a direct version of the script)

finite breach
wind cipher
#

what parts

#

also am i gonna need a remote event 😭 i’m trying to not do those because i dont know how they work but yaknow

fickle zenith
#

Local or server script?

#

Oh wait

#

Don't use game.startergui

#

Everything in startergui gets copied to playergui

#

So use game:GetService("Players").LocalPlayer.PlayerGui

wind cipher
#

and then branch from there or

fickle zenith
#

Yes, branch for there

wind cipher
#

ok i will add that !!!!!! tysm

fickle zenith
#

Yw

wind cipher
#

my game will become Awesome Now

#

wait also.

#

Just

#

Just asking

#

Would it work relatively the same if i wanted to reuse the script in order to mayyybeeee

lucid knotBOT
#

studio** You are now Level 2! **studio

wind cipher
#

change walkspeed

#

actually wait i feel it might be more complicated than that

#

Okay actually

#

It didnt even work with the first thing……..

fickle zenith
wind cipher
#

well

#

blur didnt disable

#

uhhhh

#

yeah i dont think it worked

#

@fickle zenith

#

nothing’s working

#

do you need to see each script?

fickle zenith
#

Any errors??

tired crag
#

Why do u wanna destroy it

#

You will destroy the script aswell since it’s a child of the blur

#

Instead just disable it

#

.Enabled = false

#

And scripts shouldn’t be in Lightning Service

#

Since blur is parented to lightning

#

So instead put it in a local script inside starter gui or idk starter character

#

And remove destroy

#

Do Enabled = false

wind cipher
#

ok thanks

#

very helpful i will try

#

but why doesnt it work with walkspeed either?

#

ok

#

so

#

ykw im grabbig 1 of you……

#

@fickle zenith hi do u know why the walkspeed bit wont work

#

Please someone

vestal shard
#

you're using starter player instead of the actual player

#

you're referencing the default setup tools instead of the player basically

wind cipher
#

Figured out the mistakes on my own

#

used plr (an already existing variable) as a custom variable

#

used a normal sceipt instead of a localscript

#

fixed now, works perfectly

tired crag
#

js to let yk

lucid knotBOT
#

studio** You are now Level 13! **studio

tired crag
#

script is for everyone

#

and local script for the client

#

so bc u did a script

#

the blur will dissapear for everyone

#

once a player clicks the button

#

@wind cipher

wind cipher
#

yeah i changed it to a localscript