How do I make an OnTouch script where it only happens on the players view that touched the part?
for example,The player touched the part and then it turned red on its screen and then, on the other player's screen it needs to be green not red.
Maybe like this?
- script.Parent.Touched:Connect(function()
- script.Parent.BrickColor = BrickColor.new("Bright red")
- end)
- script.Parent.TouchEnded:Connect(function()
- wait(0) --does nothing
- end)
Pls Help me because I am a beginner at scripting.

2 comments
local script
:clap: :clap: