Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

VERY VERY VERY VERY VERY VERY SIMPLE QUESTION? [closed]

Asked by
Bulvyte 388 Moderation Voter
8 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

what i want this to do go invisible and get the script DESTROYED

script.Parent.Transparency = 1
script.Destroy()

when i run in Studio, it just makes it transparent but not destroying the script, whats the prob ?

i don't know why it doesnt work but it worked before what am i doing wrong am i stupid or what

5
Love this clickbait title. Unclear 1776 — 8y
0
Ikr lmfao neoG457 315 — 8y
0
da fu u mean "ClickBait" Bulvyte 388 — 8y
0
Clickbait. You bait people to click on your post with an interesting/unique/hooking title. Redbullusa 1580 — 8y
0
oh lol Bulvyte 388 — 8y

Locked by Redbullusa, MessorAdmin, and User#5978

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
3
Answered by
xAtom_ik 574 Moderation Voter
8 years ago

Very simple. Here is an explanation:

When using methods, they activate something (of course) and they are not called unless you put a ":" infront. So your problem is that your . needs to be a :

Fixed:

script.Parent.Transparency = 1
script:Destroy()
0
ok im really stupid lol i didn't see that!!! Bulvyte 388 — 8y
0
thank you! Bulvyte 388 — 8y
Ad