Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am was to fix this bug for months now but nothing works? (cart ride bug)

Asked by 2 years ago

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)

0
What is the problem? SnakitoGamer 20 — 2y

Answer this question