#Need help (I'm a beginner)

1 messages · Page 1 of 1 (latest)

native river
#

id recommend learning luau before attempting this
Tutorials

#

currently you are just shadowing TouchPart with a boolean

azure moat
#

== the comparator, is all I'll say

lime drift
#

touchPart.Material = Enum.Material.Glass

#
TouchPart.TouchedEnded:Connect(function(otherPart)
    if PartIsTouched = true then
        PartIsTouched = false


 TouchPart.Material = Enum.Material.Plastic -- or wtv the defualt material for parts is
    end

#

idk if touchEnded a thing anymore havent used .touched in idk how long but a long time.

undone rover
#

and also u need to add a playercheck

lime drift
#
-- code here
native river
#

use the luau language server