The bug is that when you get into a cart in Roblox on a track and you spawn another one on top of it and get into it, it makes you stuck in the 2 carts it and gives you some sort of controlled fly ability.

local a = script.Parent.Parent.Cart:clone()
local deb = false

function chng()
	if deb == true then return end
	deb = true
	local new = a:clone()
	new.Parent = script.Parent.Parent
	new:MakeJoints()
	script.Parent.BrickColor = BrickColor.new(21)
	wait(6)
	script.Parent.BrickColor = BrickColor.new(28)
	deb = false
end

script.Parent.Click.MouseClick:connect(chng)

2 comments

0

What is the problem?