8ntlers
(antlers)
April 3, 2024, 4:17am
#1
I was making a super simple example for my friend and I was showing him how to use ___.Touched:Connect(function() and it just didn’t work? I’m so confused…
game.Workspace.owPart.Touched:Connect(function()
game.Workspace.Sound:Play()
print("Touched Part")
end)
This should 100% work am I wrong?
Genuinely confused, as an alright scripter I’m so confused.
Hahah,touched is the worst thing
If u want to use touched event,you have to do these three stayments
Local player =(your pararmeter thing).Parent
Local humanoid = player:wai…
Local gameplayer = game.Players:GetPlayerFromCharacter(player)
If gameplayer then
End
1 Like
If I remember, that’s the icon for a local script? Local scripts cannot be ran in the workspace
1 Like
Yes,you are abosultely right .you are correct
8ntlers
(antlers)
April 3, 2024, 4:28am
#5
YES TY!!!SDNAFJAGSJFHAGSYESDNAFJAGSJFHAGSYESDNAFJAGSJFHAGSYESDNAFJAGSJFHAGSYE thanks!
system
(system)
Closed
April 17, 2024, 4:28am
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.