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

Seat Not Working? {EDIT: Fixed}

Asked by 9 years ago

Basically, the thing I want is a working vehicle- where the seat and everything works so it can navigate around without bugging out. I made a vehicle model and added on a VehicleSeat to the model, however, the vehicle does NOT move and my character glitches out like this.. I worked on a Script to disable the issue, like possibly to anchor the humanoid to the VehicleSeat and this is what I got:

local.character.anchor = (VehicleSeat01)
    wait(500000000000000000000000000000) -- Or an infinite number to block disable at all.
        repeat -- Just incase for some odd reason the user takes 5000000000000000000000 seconds in a Jeep. I am a weird idiot, huh? :)
    end

Thank you for you guys' help, it means alot to me. :)

EDIT: I FIXED THE ISSUE, HAD TO UNANCHOR THE VEHICLESEAT

1
this q made me lol so much. thank you. you livened up my life ConnorVIII 448 — 9y

1 answer

Log in to vote
1
Answered by 9 years ago

Hm. Not sure that's the best solution. If you really wanted it to pause forever, you could use

wait(math.huge); -- in lua, math.huge = +infinity

I don't know what you're trying to accomplish though. Could you elaborate on what "local.character.anchor = (VehicleSeat01)" is supposed to do? Thank.

1
It's supposed to make it so that the glitch I showed on the image link doesn't occur, thus anchoring the user to the vehicleseat. If you anchor the user, it shouldn't happen. JustGimmeDaBux 18 — 9y
1
I haven't been on since ~09, so my API understanding is rusty. Could you point me to the wiki page with the ".anchor" property? BowtieMod 20 — 9y
0
I'm not honestly sure the anchor property is existant, but I need to figure out a way to make it so the image doesn't happen. Do you happen to know how to fix the issue? JustGimmeDaBux 18 — 9y
0
You could use CFrame, but that seems like overkill for the image. You could try, though : http://wiki.roblox.com/index.php?title=Cframe#Moving_bricks_around BowtieMod 20 — 9y
1
EDIT: I FIXED THE ISSUE, HAD TO UNANCHOR THE VEHICLESEAT JustGimmeDaBux 18 — 9y
Ad

Answer this question