|
| 19 Apr 2014 07:38 PM |
Lets get to its point here.
My script is;
local Part = game.Workspace.Part
while wait() do Part.CanCollide = 0 wait() end
The Part does not get affected at all. And when I try to manually override it by clicking on its checkmark to set it to "False", it changes back to "True"... Even when I Change its script to "CanCollide = 1"... Still same thing.
What I need to know is; What are the available values of a check mark?
(Optional); Can you debug my script? |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 07:40 PM |
That was horrid. Why do noobs keep putting while do scripts everywhere? Where did they learn that?!?!?! Anyway, this is all you need..
local Part = game.Workspace.Part Part.CanCollide = false |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 07:43 PM |
@TheProgrammingMaster
The "while true do" or "while [Function Here] do" is meant for loops. Incase they are false, they stop. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 07:45 PM |
| You still don't need to put it there, it's lagging your game to crap.. You only need to set it to false once, than true later.. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 07:50 PM |
Well excuse my Lua Knowledge, I'm a beginner at Lua. However your information found useful. I shall use it to my advantage at scripting.
P.S. It only lags your game if your PC is old/outdated/Low RAM/Bad GC. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:10 PM |
| It wouldn't really lag your game, but if you added more things to it, it would. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:14 PM |
JUST DO THIS put script in the part and...
script.Parent.CanCollide = false |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:15 PM |
| He is learning, he doesn't have that much Lua knowledge.. Stop posting. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:18 PM |
And if we stop posting that will help him learn? I don't like your attitude one bit. Why are you even here? Are you here just to pick on the beginners to make yourself feel better?
Honestly, grow up. Surely you have better things to do than pick on some anonymous people on the internet all day. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:19 PM |
| What am I doing wrong..? You can't just tell someone a bunch of things and think we will know it all, Slowly you must go. |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:25 PM |
But you CAN tell someone a bunch of things and expect them to know it all -- IF you explain it well.
And your first post was unacceptable.
"That was horrid. Why do noobs keep putting while do scripts everywhere? Where did they learn that?!?!?!"
Why would somebody even WANT to continue learning when people like YOU put that kind of GARBAGE in their face when they're TRYING TO LEARN???
I'm getting sick of all the people here that call themselves scripters when in reality they're nothing more than a sack of disgrace that have nothing better to do than pester some people that are not only WILLING to learn (which is extremely rare among the last few generations), but are ACTIVELY TRYING to learn!
I absolutely hate coming to the forums because of that. But if I don't come to help on SH, who will? Who will act as the wall against people like you who seek to demoralize the beginners (even intermediate/advanced scripters!) for not knowing something that they're trying to learn????
It irritates me to no end, you people.
/rant |
|
|
| Report Abuse |
|
|
|
| 19 Apr 2014 08:33 PM |
| Well sorry, forgot that I posted the horrid part. |
|
|
| Report Abuse |
|
|