Why wont my script work did i mess up on anything?

Hello so my script looks good to me but it wont work could someone look over it to see if i messed up on anything i am new to scripting this is the code below
image

You have a lot of typos due to case sensitivity

Script should be script as it’s likely seeing that a variable called Script doesn’t exist
Local should be local, it’s erroring there because Local is not a valid keyword
"players" should be "Players" as the former is deprecated
Player should be player as there;s no variable called Player and thus will try to get Character from nil
Model should be model, same reason as the above

Thank you
was the overall script okay?

Besides those typos, looks like it should work, although not sure why you have those 3 waitforchilds. Think changing the code in the PlayerAdded event to

NoCollide(player.Character or player.CharacterAdded:Wait())
player.CharacterAdded:Connect(NoCollide)

Should still also work I believe

Okay, thanks for your help. :smiley:

1 Like