RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"can you make me a Sport mode script for my chassis tune and vehicle on roblox?"
-- Here's a basic script to switch between normal and sport mode. This script assumes that you have a button in your GUI named 'ModeButton' and a VehicleSeat named 'VehicleSeat' in your car. local button = script.Parent.ModeButton local seat = game.Workspace.VehicleSeat local sportMode = false local function switchMode() if sportMode then sportMode = false button.Text = 'Mode: Normal' seat.MaxSpeed = 50 seat.Torque = 100 else sportMode = true button.Text = 'Mode: Sport' seat.MaxSpeed = 100 seat.Torque = 200 end end button.MouseButton1Click:Connect(switchMode)