Really basic script not working

This would be ncie but errors may be thrown if its not a Model… then again, it may be a good test to see if touched event is working for him, as well, to see the errors.

I can’t count on my hands how many times that I put a capital i in FindFirstChild lol

1 Like
local Players = game:GetService("Players")
script.Parent.Touched:Connect(function(Hit)
    local Plr = Players:GetPlayerFromCharacter(Hit.Parent)
    if Plr then
       print("Working!")
    end
end)

Try this

1 Like

Screenshot 2022-02-27 at 9.12.21 PM
I’m pretty sure its not working as your output has searched for the words containing “WA”
:monkey_face:

2 Likes

Bruh moment lol. That’s why it didn’t worked for him actually.

would you mind showing a picture of what you trying to achieve in the explorer to get a better understanding?

As the person above said, he was searching for “WA” in the output, that’s why it wasn’t showing.

Wow…I’m so dumb. It worked now! Thanks to everyone’s replies!

1 Like