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

how can i give a player money while him/her are driving?

Asked by 5 years ago

try 2, i want a code that makes it so when a player is driving a vehicle at a certain speed it starts giving them money. the other try was moderated cuz i turned a statement into a question by just adding a question mark at the end :) im not i didnt do that lol

0
um yea we cant help you if you do not already have a script guywithapoo 81 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

um.. maybe try to use

if player.Character.Humanoid.Sit == true

if you are using a seat or a vehicleseat you should

0
That would work but if he put chairs it would also count. Maybe put a script in the vehicle seat that asks if occupant ~= nil then it would award cash over time Mawfix 15 — 5y
0
how about using if script.Parent:IsA('VehicleSeat') then tree_tree00 48 — 5y
0
or use if script.Parent.Name = 'Car Seat' then ; if you changed the seat name to something else tree_tree00 48 — 5y
Ad

Answer this question