#Collecting Mechanic

31 messages · Page 1 of 1 (latest)

jaunty berry
#

I have looked through tutorials and other types of media to try and see what went wrong, but it always ends up with the same error message

barren pond
#

is your ProximityPrompt name in explorer all lowercase?

jaunty berry
#

Yes it is

#

I didn’t think that the capitalization would change the outcome

#

That fixed the coding, thank you

cinder wigeon
#

@jaunty berry

#

why did you mention ‘player’ in the prompt.Triggered

finite creek
#

player is the default parameter for the triggered remote

cinder wigeon
#

idk

finite creek
# cinder wigeon but he never uses it

like i said, he probably copied the code from somewhere, as you can tell he is very inexperienced to the point where he doesn’t know about using proper casing. the triggered event was most likely copied over from another site, and then filled in with his 45 script.Parent lines😂

cinder wigeon
#

i cry when i see script.Parent

#

i dont care how short or long it is

#

i’m MAKING them variables

#

but for some scripts i am guilty

#

cause i was lazycrying

cinder wigeon
#

@jaunty berry

#

pk heres a quick lesson

#

lua is case sensitive

#

see all that u wrote? cancollide? wont work

#

anything thats a property, such as CanCollide is capitalized like that

#

also, if u have generative fill on it should do it for you

#

also

#

when quoting bool values

#

use

#

CanCollide = false

#

with SPACES

#

and make your script more readable