Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
driving = .()
resolution = .()
shaker = .()
UIAspectRatioConstraint = .()
driving.Name =
driving.Parent = .Players.LocalPlayer:()
driving.IgnoreGuiInset =
driving.ZIndexBehavior = .ZIndexBehavior.Sibling
resolution.Name =
resolution.Parent = driving
resolution.AnchorPoint = .(, )
resolution.BackgroundColor3 = .(, , )
resolution.BackgroundTransparency =
resolution.BorderColor3 = .(, , )
resolution.BorderSizePixel =
resolution.Position = .(, , , )
resolution.Size = .(, , , )
UIAspectRatioConstraint.Parent = resolution
shaker.Name =
shaker.Parent = resolution
shaker.BackgroundColor3 = .(, , )
shaker.BackgroundTransparency =
shaker.BorderColor3 = .(, , )
shaker.BorderSizePixel =
shaker.Size = .(, , , )
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
rootPart = character:()
camera = .CurrentCamera
camera.FieldOfView =
humanoid.AutoRotate =
playerGui = player:()
drivingGui = playerGui:()
resolutionFrame = drivingGui:()
shakerFrame = resolutionFrame:()
GEAR_POSITIONS = {
[] = {position = .(, , , ), rotation = -},
[] = {position = .(, , , ), rotation = },
[] = {position = .(, , , ), rotation = }
}
isDriving =
hiddenfling =
currentSpeed =
acceleration =
deceleration =
reverseSpeed = -
turnSpeed =
steerSensitivity =
steerDamping =
GEAR_SPEEDS = {
[] = ,
[] = ,
[] =
}
isClicking =
interactingWith =
currentGear =
steerRotation =
steerAttachPoint =
initialMousePos =
initialMouseAngle =
initialSteerRotation =
targetSteerRotation =
border1 = .()
border2 = .()
border3 = .()
border4 = .()
border1.Name =
border1.Parent = shaker
border1.AnchorPoint = .(, )
border1.BackgroundColor3 = .(, , )
border1.BorderColor3 = .(, , )
border1.BorderSizePixel =
border1.Position = .(-, , , )
border1.Size = .(, , , )
border1.ZIndex =
border2.Name =
border2.Parent = shaker
border2.AnchorPoint = .(, )
border2.BackgroundColor3 = .(, , )
border2.BorderColor3 = .(, , )
border2.BorderSizePixel =
border2.Position = .(, , , )
border2.Size = .(, , , )
border2.ZIndex =
border3.Name =
border3.Parent = shaker
border3.AnchorPoint = .(, )
border3.BackgroundColor3 = .(, , )
border3.BorderColor3 = .(, , )
border3.BorderSizePixel =
border3.Position = .(, , -, )
border3.Rotation =
border3.Size = .(, , , )
border3.ZIndex =
border4.Name =
border4.Parent = shaker
border4.AnchorPoint = .(, )
border4.BackgroundColor3 = .(, , )
border4.BorderColor3 = .(, , )
border4.BorderSizePixel =
border4.Position = .(, , , )
border4.Rotation =
border4.Size = .(, , , )
border4.ZIndex =
dashboard = .()
roof = .()
steer = .()
mirror = .()
card = .()
gearshift = .()
kris = .()
asgore = .()
mirror.Name =
mirror.Parent = shaker
mirror.BackgroundColor3 = .(, , )
mirror.BackgroundTransparency =
mirror.BorderColor3 = .(, , )
mirror.BorderSizePixel =
mirror.Position = .(, , , -)
mirror.Size = .(, , , )
mirror.Image =
mirror.ScaleType = .ScaleType.Fit
mirror.ResampleMode = .ResamplerMode.Pixelated
card.Name =
card.Parent = mirror
card.BackgroundColor3 = .(, , )
card.BackgroundTransparency =
card.BorderColor3 = .(, , )
card.BorderSizePixel =
card.Position = .(, , , )
card.Size = .(, , , )
card.Image =
card.ScaleType = .ScaleType.Fit
card.ResampleMode = .ResamplerMode.Pixelated
gearshift.Name =
gearshift.Parent = shaker
gearshift.BackgroundColor3 = .(, , )
gearshift.BackgroundTransparency =
gearshift.BorderColor3 = .(, , )
gearshift.BorderSizePixel =
gearshift.Position = .(, , , )
gearshift.Rotation = -
gearshift.Size = .(, , , )
gearshift.Image =
gearshift.ZIndex =
gearshift.ScaleType = .ScaleType.Fit
gearshift.ResampleMode = .ResamplerMode.Pixelated
kris.Name =
kris.Parent = shaker
kris.BackgroundColor3 = .(, , )
kris.BackgroundTransparency =
kris.BorderColor3 = .(, , )
kris.BorderSizePixel =
kris.Position = .(, , , )
kris.Size = .(, , , )
kris.Image =
kris.ZIndex =
kris.ScaleType = .ScaleType.Fit
kris.ResampleMode = .ResamplerMode.Pixelated
krisInitialPosition = kris.Position
asgore.Name =
asgore.Parent = shaker
asgore.BackgroundColor3 = .(, , )
asgore.BackgroundTransparency =
asgore.BorderColor3 = .(, , )
asgore.BorderSizePixel =
asgore.Position = .(-, , , )
asgore.Size = .(, , , )
asgore.ZIndex =
asgore.Image =
asgore.ScaleType = .ScaleType.Fit
asgore.ResampleMode = .ResamplerMode.Pixelated
asgoreInitialPosition = asgore.Position
dashboard.Name =
dashboard.Parent = shaker
dashboard.BackgroundColor3 = .(, , )
dashboard.BackgroundTransparency =
dashboard.BorderColor3 = .(, , )
dashboard.BorderSizePixel =
dashboard.Position = .(-, , , )
dashboard.Size = .(, , , )
dashboard.Image =
dashboard.ScaleType = .ScaleType.Fit
dashboard.ResampleMode = .ResamplerMode.Pixelated
roof.Name =
roof.Parent = shaker
roof.BackgroundColor3 = .(, , )
roof.BackgroundTransparency =
roof.BorderColor3 = .(, , )
roof.BorderSizePixel =
roof.Position = .(-, , , -)
roof.Size = .(, , , )
roof.Image =
roof.ScaleType = .ScaleType.Fit
roof.ResampleMode = .ResamplerMode.Pixelated
steer.Name =
steer.Parent = shaker
steer.BackgroundColor3 = .(, , )
steer.BackgroundTransparency =
steer.BorderColor3 = .(, , )
steer.BorderSizePixel =
steer.Position = .(-, , , )
steer.Size = .(, , , )
steer.ZIndex =
steer.Image =
steer.ScaleType = .ScaleType.Fit
steer.ResampleMode = .ResamplerMode.Pixelated
arm = .()
arm.Name =
arm.Parent = shakerFrame
arm.Size = .(, , , )
arm.Image =
arm.ImageRectSize = .(, )
arm.ImageRectOffset = .(, )
arm.BackgroundTransparency =
arm.ResampleMode = .ResamplerMode.Pixelated
arm.ScaleType = .ScaleType.Fit
arm.ZIndex =
arm.AnchorPoint = .(, )
hitbox = .()
hitbox_2 = .()
hitbox_3 = .()
hitbox_4 = .()
hitbox_5 = .()
hitbox_6 = .()
hitbox_7 = .()
hitbox_8 = .()
hitbox_9 = .()
hitbox_10 = .()
hitbox_11 = .()
hitbox_12 = .()
hitbox_13 = .()
hitbox_14 = .()
honk = .()
hitbox.Name =
hitbox.Parent = steer
hitbox.BackgroundColor3 = .(, , )
hitbox.BackgroundTransparency =
hitbox.BorderColor3 = .(, , )
hitbox.BorderSizePixel =
hitbox.Position = .(, , , )
hitbox.Size = .(, , , )
hitbox_2.Name =
hitbox_2.Parent = steer
hitbox_2.BackgroundColor3 = .(, , )
hitbox_2.BackgroundTransparency =
hitbox_2.BorderColor3 = .(, , )
hitbox_2.BorderSizePixel =
hitbox_2.Position = .(, , , )
hitbox_2.Rotation = -
hitbox_2.Size = .(, , , )
hitbox_3.Name =
hitbox_3.Parent = steer
hitbox_3.BackgroundColor3 = .(, , )
hitbox_3.BackgroundTransparency =
hitbox_3.BorderColor3 = .(, , )
hitbox_3.BorderSizePixel =
hitbox_3.Position = .(, , , )
hitbox_3.Rotation = -
hitbox_3.Size = .(, , , )
hitbox_4.Name =
hitbox_4.Parent = steer
hitbox_4.BackgroundColor3 = .(, , )
hitbox_4.BackgroundTransparency =
hitbox_4.BorderColor3 = .(, , )
hitbox_4.BorderSizePixel =
hitbox_4.Position = .(, , , -)
hitbox_4.Rotation = -
hitbox_4.Size = .(, , , )
hitbox_5.Name =
hitbox_5.Parent = steer
hitbox_5.BackgroundColor3 = .(, , )
hitbox_5.BackgroundTransparency =
hitbox_5.BorderColor3 = .(, , )
hitbox_5.BorderSizePixel =
hitbox_5.Position = .(, , , )
hitbox_5.Rotation =
hitbox_5.Size = .(, , , )
hitbox_6.Name =
hitbox_6.Parent = steer
hitbox_6.BackgroundColor3 = .(, , )
hitbox_6.BackgroundTransparency =
hitbox_6.BorderColor3 = .(, , )
hitbox_6.BorderSizePixel =
hitbox_6.Position = .(, , , )
hitbox_6.Rotation = -
hitbox_6.Size = .(, , , )
hitbox_7.Name =
hitbox_7.Parent = steer
hitbox_7.BackgroundColor3 = .(, , )
hitbox_7.BackgroundTransparency =
hitbox_7.BorderColor3 = .(, , )
hitbox_7.BorderSizePixel =
hitbox_7.Position = .(, , , )
hitbox_7.Rotation =
hitbox_7.Size = .(, , , )
hitbox_8.Name =
hitbox_8.Parent = steer
hitbox_8.BackgroundColor3 = .(, , )
hitbox_8.BackgroundTransparency =
hitbox_8.BorderColor3 = .(, , )
hitbox_8.BorderSizePixel =
hitbox_8.Position = .(, , , )
hitbox_8.Rotation =
hitbox_8.Size = .(, , , )
hitbox_9.Name =
hitbox_9.Parent = steer
hitbox_9.BackgroundColor3 = .(, , )
hitbox_9.BackgroundTransparency =
hitbox_9.BorderColor3 = .(, , )
hitbox_9.BorderSizePixel =
hitbox_9.Position = .(, , , )
hitbox_9.Size = .(, , , )
hitbox_10.Name =
hitbox_10.Parent = steer
hitbox_10.BackgroundColor3 = .(, , )
hitbox_10.BackgroundTransparency =
hitbox_10.BorderColor3 = .(, , )
hitbox_10.BorderSizePixel =
hitbox_10.Position = .(, , , )
hitbox_10.Rotation = -
hitbox_10.Size = .(, , , )
hitbox_11.Name =
hitbox_11.Parent = steer
hitbox_11.BackgroundColor3 = .(, , )
hitbox_11.BackgroundTransparency =
hitbox_11.BorderColor3 = .(, , )
hitbox_11.BorderSizePixel =
hitbox_11.Position = .(, , , )
hitbox_11.Rotation = -
hitbox_11.Size = .(, , , )
hitbox_12.Name =
hitbox_12.Parent = steer
hitbox_12.BackgroundColor3 = .(, , )
hitbox_12.BackgroundTransparency =
hitbox_12.BorderColor3 = .(, , )
hitbox_12.BorderSizePixel =
hitbox_12.Position = .(, , , )
hitbox_12.Rotation =
hitbox_12.Size = .(, , , )
hitbox_13.Name =
hitbox_13.Parent = steer
hitbox_13.BackgroundColor3 = .(, , )
hitbox_13.BackgroundTransparency =
hitbox_13.BorderColor3 = .(, , )
hitbox_13.BorderSizePixel =
hitbox_13.Position = .(, , , )
hitbox_13.Rotation =
hitbox_13.Size = .(, , , )
hitbox_14.Name =
hitbox_14.Parent = steer
hitbox_14.BackgroundColor3 = .(, , )
hitbox_14.BackgroundTransparency =
hitbox_14.BorderColor3 = .(, , )
hitbox_14.BorderSizePixel =
hitbox_14.Position = .(, , , )
hitbox_14.Rotation =
hitbox_14.Size = .(, , , )
honk.Name =
honk.Parent = steer
honk.BackgroundColor3 = .(, , )
honk.BackgroundTransparency =
honk.BorderColor3 = .(, , )
honk.BorderSizePixel =
honk.Position = .(, , , )
honk.Size = .(, , , )
CONTROLS = .()
CONTROLS.Name =
CONTROLS.Parent = driving
CONTROLS.BackgroundColor3 = .(, , )
CONTROLS.BackgroundTransparency =
CONTROLS.BorderColor3 = .(, , )
CONTROLS.BorderSizePixel =
CONTROLS.Size = .(, , , )
CONTROLS.Image =
CONTROLS.ImageTransparency =
CONTROLS.ScaleType = .ScaleType.Fit
CONTROLS.ResampleMode = .ResamplerMode.Pixelated
honkSound = .()
honkSound.SoundId =
honkSound.Parent = shakerFrame
honkSound.Volume =
music = .()
equalizer1 = .()
equalizer2 = .()
distortionEffect = .()
music.SoundId =
music.Volume =
music.PlaybackSpeed =
music.Looped =
music.Parent = shakerFrame
equalizer1.HighGain =
equalizer1.LowGain =
equalizer1.MidGain =
equalizer1.Priority =
equalizer1.Parent = music
equalizer2.HighGain =
equalizer2.LowGain =
equalizer2.MidGain =
equalizer2.Priority =
equalizer2.Parent = music
distortionEffect.Level =
distortionEffect.Priority =
distortionEffect.Parent = music
music:()
steerImg = shakerFrame:()
gearImg = shakerFrame:()
honkFrame = steerImg:()
mirrorImg = shakerFrame:()
currentBounceOffset =
bounceDecay =
bounceMultiplier =
loudnessThreshold =
()
mousePos = UserInputService:()
screenSize = resolutionFrame.AbsoluteSize
screenPos = resolutionFrame.AbsolutePosition
.(mousePos.X - screenPos.X, mousePos.Y - screenPos.Y)
(guiObject)
mouse = ()
absPos = guiObject.AbsolutePosition - resolutionFrame.AbsolutePosition
absSize = guiObject.AbsoluteSize
mouse.X >= absPos.X mouse.X <= absPos.X + absSize.X
mouse.Y >= absPos.Y mouse.Y <= absPos.Y + absSize.Y
(mousePos)
nearestHitbox =
nearestDistance = .huge
_, child (steerImg:())
child.Name == child:()
hitboxCenter = child.AbsolutePosition + child.AbsoluteSize / - resolutionFrame.AbsolutePosition
distance = (.(hitboxCenter.X, hitboxCenter.Y) - mousePos).Magnitude
distance < nearestDistance
nearestDistance = distance
nearestHitbox = child
nearestHitbox
(mouseX)
screenWidth = resolutionFrame.AbsoluteSize.X
relativeX = mouseX / screenWidth
relativeX <
relativeX >
()
mousePos = ()
screenHeight = resolutionFrame.AbsoluteSize.Y
screenHeight >
mouseYRatio = .(mousePos.Y / screenHeight, , )
yOffset = (mouseYRatio - ) *
asgore.Position = .(asgoreInitialPosition.X.Scale, asgoreInitialPosition.X.Offset, asgoreInitialPosition.Y.Scale, asgoreInitialPosition.Y.Offset + yOffset)
screenSize = resolutionFrame.AbsoluteSize
target = .(mousePos.X, mousePos.Y)
interactingWith == steerAttachPoint
steerCenter = steerImg.AbsolutePosition + steerImg.AbsoluteSize / - resolutionFrame.AbsolutePosition
currentMouseAngle = .(mousePos.Y - steerCenter.Y, mousePos.X - steerCenter.X)
angleDelta = currentMouseAngle - initialMouseAngle
angleDelta > .pi
angleDelta = angleDelta - ( * .pi)
angleDelta < -.pi
angleDelta = angleDelta + ( * .pi)
targetSteerRotation = initialSteerRotation + .(angleDelta) * steerSensitivity
targetSteerRotation = .(targetSteerRotation, -, )
hitboxCenter = steerAttachPoint.AbsolutePosition + steerAttachPoint.AbsoluteSize / - resolutionFrame.AbsolutePosition
radius = (.(hitboxCenter.X, hitboxCenter.Y) - .(steerCenter.X, steerCenter.Y)).Magnitude
initialHitboxAngle = .(hitboxCenter.Y - steerCenter.Y, hitboxCenter.X - steerCenter.X)
currentHitboxAngle = initialHitboxAngle + .(steerRotation)
target = .(steerCenter.X + .(currentHitboxAngle) * radius, steerCenter.Y + .(currentHitboxAngle) * radius)
interactingWith ==
currentGear = (mousePos.X)
gearData = GEAR_POSITIONS[currentGear]
target = mousePos
gearImg.Position = gearData.position
gearImg.Rotation = gearData.rotation
centerScreen = screenSize /
pivotBasePosition = .(centerScreen.X, screenSize.Y * )
mouseOffset = mousePos - centerScreen
pivotPoint = pivotBasePosition + .(mouseOffset.X * , mouseOffset.Y * )
gearshiftYOffset = interactingWith == -
steerYOffset = interactingWith == -
targetWithOffset = .(target.X, target.Y + (gearshiftYOffset + steerYOffset))
vectorToTarget = targetWithOffset - pivotPoint
angleToTarget = .(vectorToTarget.Y, vectorToTarget.X)
arm.Rotation = .(angleToTarget) +
arm.Position = .(, pivotPoint.X, , pivotPoint.Y)
arm.Size = .(, , , )
RunService.Stepped:(()
_, otherPlayer (Players:())
otherPlayer ~= player otherPlayer.Character
_, part (otherPlayer.Character:())
part:()
part.CanCollide =
)
UserInputService.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
isClicking =
initialMousePos = ()
arm.ImageRectOffset = .(, )
mousePos = ()
(honkFrame)
honkSound:()
(steerImg)
interactingWith =
steerAttachPoint = (mousePos)
steerAttachPoint
steerCenter = steerImg.AbsolutePosition + steerImg.AbsoluteSize / - resolutionFrame.AbsolutePosition
initialMouseAngle = .(mousePos.Y - steerCenter.Y, mousePos.X - steerCenter.X)
initialSteerRotation = steerRotation
(gearImg)
interactingWith =
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
isClicking =
initialMousePos =
arm.ImageRectOffset = .(, )
interactingWith ==
targetSteerRotation =
interactingWith =
steerAttachPoint =
)
(dt)
()
loudness = music.PlaybackLoudness
currentBounceOffset = currentBounceOffset * bounceDecay
loudness > loudnessThreshold
newBounce = (loudness - loudnessThreshold) * bounceMultiplier
newBounce > currentBounceOffset
currentBounceOffset = newBounce
targetPosition = .(krisInitialPosition.X.Scale, krisInitialPosition.X.Offset, krisInitialPosition.Y.Scale, krisInitialPosition.Y.Offset - currentBounceOffset)
kris.Position = targetPosition
musicSway =
currentBounceOffset >
swayFrequency =
swayAmplitude = currentBounceOffset *
musicSway = .(() * swayFrequency) * swayAmplitude
isDriving
steerRotation = steerRotation + (targetSteerRotation - steerRotation) * steerDamping * dt
steerImg.Rotation = steerRotation
shakerFrame.Rotation = steerRotation *
camera.CameraType = .CameraType.Scriptable
UserInputService.MouseBehavior = .MouseBehavior.Default
head = character:()
head
camera.CFrame = .(head.Position, head.Position + rootPart.CFrame.LookVector)
maxSpeed = GEAR_SPEEDS[currentGear]
moveDirection =
UserInputService:(.KeyCode.W)
moveDirection =
UserInputService:(.KeyCode.S)
moveDirection = -
moveDirection ==
currentSpeed = .(maxSpeed, currentSpeed + acceleration * dt)
moveDirection == -
currentSpeed = .(reverseSpeed, currentSpeed - acceleration * dt)
currentSpeed >
currentSpeed = .(, currentSpeed - deceleration * dt)
currentSpeed = .(, currentSpeed + deceleration * dt)
turn =
steerRotation ~=
turn = -steerRotation / * turnSpeed * (currentSpeed / maxSpeed)
steerSway = turn *
asgoreTargetRotation = -steerSway
mirrorrot = steerSway
mirrorImg.Rotation = mirrorImg.Rotation + (mirrorrot - mirrorImg.Rotation) * * dt
kris.Rotation = kris.Rotation + (musicSway - kris.Rotation) * * dt
asgore.Rotation = asgore.Rotation + (asgoreTargetRotation - asgore.Rotation) * * dt
currentSpeed ~=
rootPart.CFrame = rootPart.CFrame * .(, .(turn) * dt * , )
rootPart.Velocity = rootPart.CFrame.LookVector * currentSpeed
rootPart.Velocity = .(,,)
RunService.RenderStepped:(onRenderStepped)
RunService.Heartbeat:(()
hiddenfling
c = Players.LocalPlayer.Character
c c.Parent
hrp = c:()
hrp
vel = hrp.Velocity
hrp.Velocity = hrp.Velocity.Unit * .(, , ) + .(, , )
RunService.RenderStepped:()
c c.Parent hrp hrp.Parent
hrp.Velocity = vel
)for the deltarune fans :)

Universal