`local Ride = script.Parent Ride.CanCollide = true local function RideGO(part) Ride.CanCollide = false Ride = part wait(6) end Ride.Touched:connected(RideGO)`
I want this to fire when my Cart for a ride would touch it, but it doesn't seem to want to fire. Any suggestions?
The proper way to connect events is by using the Connect
function istener. You supplied a non-existing function: connected on line 13 :)
local Ride = script.Parent Ride.CanCollide = true local function RideGO(part) Ride.CanCollide = false Ride = part wait(6) end Ride.Touched:Connect(RideGO)`