#What's wrong with my script
1 messages · Page 1 of 1 (latest)
HEY
hey
do you have a clickdetector in said cube?
i dont know
k
what is the first variable?
its naming the cube in the workspace part
There is so much wrong with this code, lol
its getting the clickdetector in cube 4 and naming it clicked
saying that isnt helping it
srry im new
k
ok perfect
is there a clickdetector in cube 4?
Shooting in the dark, my man
would it be in the properties?
no sir
a clickdetector is not included in a part
it is a seperate entity so you would see it in the workspace
oh
yup
i understand
yea i just click the plus and search click detector
perfect
You've solved 1 of 3 immediate problems
thats why your code got stuck
In total, you've solved 1 of 7 problems
now make sure the name of that ClickDetector matches the one in the cube
since it's default it already does
it works now but i need it to add 1 to the 0
ok perfect
the way you are adding can work
so in the function you made
you did not reference "number" at all
wait im lying
you did
when i collect the object its not adding one, whats wrong?
Are there any errors in the output
also what is the variable "grabbed"?
@fringe spruce ?
it says 16:32:36.397 Workspace.Cube.004.Script:10: attempt to call a string value - Server - Script:10
** You are now Level 2! **
@fringe spruce, do you know what a function is?
i didnt know what i was supposed to put in the parentheses
Ah okay
a function like has something happen after preforming a action i think
In a broader sense, a function is a packaged piece of dormant, configurable code. Functions are often made to create reusable code
Arguments & parameters are what make functions configurable. The basic syntax is as follows:
local function name(parameter)
-- ...
end
name(--[[Argument]])
Parameters act as placeholder variables within the function body. Think of it like holes where information needs to be provided. That information is provided when the function is called in the form of an argument (example 2)
local function printMessage(message)
print(message)
end
printMessage("Hello, world!")
As you can see, a function is called upon by stating its name and following it with a pair of parentheses
name()
Here, you're attempting to call the "Text" property of a TextLabel
That property is not a function. It's a string:
Hence
He's way out of his depth right now
yea there is literally smoke coming out of my head
Good sign that you're in too deep
Continue to study the basics before attempting to implement game mechanics
using functions?
lol
@fringe spruce i got you big dawg
basically
functions are just repeatable code you can put variables in to change later
This entire script. There's 7 total problems he would not understand
yes there is
you just have to practice teaching friend
Variables
Datatypes
Arithmetic operators
If statements
Relational operators
Logical operators
Boolean logic
Scope
Loops
Functions
Arguments & parameters
Higher-order functions & callbacks
Tables
String library / miscellaneous operators
Task & coroutine library
Client-Server model
Events
Algorithms and data structures
@fringe spruce dm me this guy is trying to intimidate you
Learn these things before you start, @fringe spruce
k
I'm tryna be real
You're gonna be at this for a while, and all for no real gain
He still needs to study these things explicitly
Start by modifying the player’s playergui instead of the starter gui
Use script.Parent instead of workspace.Part when its the Part’s parent
And there isn’t any ClickDetector in your part
Conclusion: learn the basics
dude why are you and ziffix so mean like im trying my best
What are you talking about
I am not mean ?
I’m helping
But clearly you’re missing important basics, so that’s why I recommend learning them
So recommending someone to learn is mean ? How sensitive
Additionally, I’ve never said you were not doing your best
You just need to learn it’s fine
ive learned the basics but i dont have good memory so i was just asking for extra help
The documentation is perfect to learn more stuff
In your case, the problem is the lack of practice
Practice what you learn until you remember it easily
what do you think i was trying to do
Attempting to use a ClickDetector without knowing how to use it
like i said, i dont have a good memory
And like I said, it’s just a lack of practice
Practicing will help
i have memory loss dude just stop arguing with me
It’ll help
Practice
It’s not my problem anyways
Good luck fixing your system by getting demotivated and taking personally helping comments
People are so ungrateful
Denying your lack of practice by justifying it with memory loss won’t make you better
So stfu
Get lost
Say something meaningful instead of responding
That’s what I did lmfao
No you didn’t
Lmfao
I told him his errors, shared him a link to the doc and told what he needed to get better
You’re not willing to sit and explain it
Because he is not willing to sit and learn and practice
He is
So why would I waste my time trying to help if he doesn’t want to get better
You just gotta bring that out of somebody
Sure bud
Then do it
Dude I told him how to fix it slowly and he did it all on himself
peak of "MT. Stupid"
See
You claim to be so good at teaching but you’re already stooping to insults
Just self reflect man
I don’t
It’s not easy to teach, especially when the person you teach has no interest in investing time to get better
Well you’re also expecting them to get the same knowledge as you instantly
I helped him fix it by asking questions
Nuh uh
While you guys are sitting and degrading him
Just expecting them to take the time to practice
We moved to dms and he fixed it and I didn’t give him any answers
That’s the whole point of the help channel
They’re coming here for help not to get told to practice lol
Yh, not denying your laziness
insult once again
So what do you propose ?
lol
To fix the script and say goodbye ?
Still disrespectful
But refer to this message if you have any more concerns
And why isn’t the post marked as solved ?
Refer to my previous message