Run it
Copy the script and paste it into your executor.
Players = (:())
StarterGui = (:())
UserInputService = (:())
uScale = (xScale, yScale)
screen = .CurrentCamera.ViewportSize
.(, screen.X * xScale, , screen.Y * (yScale xScale))
uPos = (xScale, yScale)
screen = .CurrentCamera.ViewportSize
.(, screen.X * xScale, , screen.Y * yScale)
uSize = (widthScale, heightScale)
screen = .CurrentCamera.ViewportSize
.(, screen.X * widthScale, , screen.Y * (heightScale widthScale))
createNotification = (title, text, duration)
notificationGui = .(, (:()))
notificationGui.Name =
notificationGui.ResetOnSpawn =
mainFrame = .(, notificationGui)
mainFrame.Size = (, )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
corner = .(, mainFrame)
corner.CornerRadius = .(, )
shadow = .(, mainFrame)
shadow.Name =
shadow.BackgroundTransparency =
shadow.Size = .(, , , )
shadow.Position = .(, -, , -)
shadow.Image =
shadow.ImageColor3 = .(, , )
shadow.ImageTransparency =
shadow.ScaleType = .ScaleType.Slice
shadow.SliceCenter = Rect.(, , , )
shadow.ZIndex = -
titleBar = .(, mainFrame)
titleBar.Size = .(, , , )
titleBar.Position = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleCorner = .(, titleBar)
titleCorner.CornerRadius = .(, , , )
titleText = .(, titleBar)
titleText.Size = .(, -, , )
titleText.Position = .(, , , )
titleText.BackgroundTransparency =
titleText.Text = title
titleText.Font = .Font.GothamBold
titleText.TextColor3 = .(, , )
titleText.TextScaled =
titleText.TextXAlignment = .TextXAlignment.Left
timeBarContainer = .(, mainFrame)
timeBarContainer.Size = .(, , , )
timeBarContainer.Position = .(, , , )
timeBarContainer.BackgroundColor3 = .(, , )
timeBarContainer.BorderSizePixel =
timeBar = .(, timeBarContainer)
timeBar.Size = .(, , , )
timeBar.BackgroundColor3 = .(, , )
timeBar.BorderSizePixel =
contentFrame = .(, mainFrame)
contentFrame.Size = .(, -, , -)
contentFrame.Position = .(, , , )
contentFrame.BackgroundTransparency =
messageText = .(, contentFrame)
messageText.Size = .(, , , )
messageText.BackgroundTransparency =
messageText.Text = text
messageText.Font = .Font.Gotham
messageText.TextColor3 = .(, , )
messageText.TextSize =
messageText.TextWrapped =
messageText.TextXAlignment = .TextXAlignment.Left
messageText.TextYAlignment = .TextYAlignment.Top
messageText.TextTruncate = .TextTruncate.AtEnd
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , )
mainFrame:((, ), .EasingDirection.Out, .EasingStyle.Quad, , )
duration duration >
timeBar:(.(, , , ), .EasingDirection.InOut, .EasingStyle.Linear, duration, )
.(duration, ()
mainFrame:(.(, , , ), .EasingDirection.In, .EasingStyle.Quad, , )
.()
notificationGui:()
)
notificationGui
char = Players.LocalPlayer.Character
char char:() char.Humanoid.RigType == .HumanoidRigType.R6
(, ,)
().CarExecuted
().CarExecuted =
()
(, ,)
carstop =
plr = Players.LocalPlayer
cg = (:())
runService = :()
animData = {
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = },
{id = , mult = }
}
currentIndex =
activeTrack
activeConn
sg = .(, cg)
sg.ResetOnSpawn =
sg.Name =
mainFrame = .(, sg)
mainFrame.Size = (,)
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Draggable =
corner = .(, mainFrame)
corner.CornerRadius = .(, )
shadow = .(, mainFrame)
shadow.Name =
shadow.BackgroundTransparency =
shadow.Size = .(, , , )
shadow.Position = .(, -, , -)
shadow.Image =
shadow.ImageColor3 = .(, , )
shadow.ImageTransparency =
shadow.ScaleType = .ScaleType.Slice
shadow.SliceCenter = Rect.(, , , )
shadow.ZIndex = -
title = .(, mainFrame)
title.Size = .(, , , )
title.Position = .(, , , )
title.BackgroundColor3 = .(, , )
title.BorderSizePixel =
titleCorner = .(, title)
titleCorner.CornerRadius = .(, )
titleCorner.Name =
titleText = .(, title)
titleText.Size = .(, -, , )
titleText.Position = .(, , , )
titleText.BackgroundTransparency =
titleText.Text =
titleText.Font = .Font.GothamBold
titleText.TextColor3 = .(, , )
titleText.TextScaled =
titleText.TextXAlignment = .TextXAlignment.Left
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
minBtn = .(, title)
minBtn.Size = .(, , , )
minBtn.Position = .(, -, , )
minBtn.BackgroundColor3 = .(, , )
minBtn.TextColor3 = .(, , )
minBtn.Text =
minBtn.Font = .Font.GothamBold
minBtn.TextScaled =
buttonCorner:().Parent = minBtn
closeBtn = .(, title)
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = .(, , )
closeBtn.TextColor3 = .(, , )
closeBtn.Text =
closeBtn.Font = .Font.GothamBold
closeBtn.TextScaled =
buttonCorner:().Parent = closeBtn
vp = .(, mainFrame)
vp.Size = .(, -, , -)
vp.Position = .(, , , )
vp.BackgroundColor3 = .(, , )
vp.BorderSizePixel =
vpCorner = .(, vp)
vpCorner.CornerRadius = .(, )
innerVp = .(, vp)
innerVp.Size = .(, -, , -)
innerVp.Position = .(, , , )
innerVp.BackgroundColor3 = .(, , )
innerVp.BorderSizePixel =
cam = .()
cam.CameraType = .CameraType.Scriptable
innerVp.CurrentCamera = cam
animNameFrame = .(, mainFrame)
animNameFrame.Size = .(, -, , )
animNameFrame.Position = .(, , , )
animNameFrame.BackgroundColor3 = .(, , )
animNameFrame.BorderSizePixel =
animNameCorner = .(, animNameFrame)
animNameCorner.CornerRadius = .(, )
animNameText = .(, animNameFrame)
animNameText.Size = .(, , , )
animNameText.BackgroundTransparency =
animNameText.Text = ..currentIndex....#animData
animNameText.Font = .Font.Gotham
animNameText.TextColor3 = .(, , )
animNameText.TextScaled =
buttonContainer = .(, mainFrame)
buttonContainer.Size = .(, -, , )
buttonContainer.Position = .(, , , -)
buttonContainer.BackgroundTransparency =
prevBtn = .(, buttonContainer)
prevBtn.Size = .(, , , )
prevBtn.Position = .(, , , )
prevBtn.BackgroundColor3 = .(, , )
prevBtn.TextColor3 = .(, , )
prevBtn.Text =
prevBtn.Font = .Font.Gotham
prevBtn.TextScaled =
buttonCorner:().Parent = prevBtn
nextBtn = .(, buttonContainer)
nextBtn.Size = .(, , , )
nextBtn.Position = .(, -, , )
nextBtn.BackgroundColor3 = .(, , )
nextBtn.TextColor3 = .(, , )
nextBtn.Text =
nextBtn.Font = .Font.Gotham
nextBtn.TextScaled =
buttonCorner:().Parent = nextBtn
selectBtn = .(, mainFrame)
selectBtn.Size = .(, -, , )
selectBtn.Position = .(, , , -)
selectBtn.BackgroundColor3 = .(, , )
selectBtn.TextColor3 = .(, , )
selectBtn.Text =
selectBtn.Font = .Font.GothamBold
selectBtn.TextScaled =
selectCorner = .(, selectBtn)
selectCorner.CornerRadius = .(, )
(button)
originalColor = button.BackgroundColor3
originalSize = button.Size
button.MouseEnter:(()
button.BackgroundColor3 = originalColor:(.(, , ), )
button.Size = originalSize - .(, , , )
button.Position = button.Position + .(, , , )
)
button.MouseLeave:(()
button.BackgroundColor3 = originalColor
button.Size = originalSize
button.Position = button.Position - .(, , , )
)
(prevBtn)
(nextBtn)
(selectBtn)
(minBtn)
(closeBtn)
ensurePrimaryPart = (m)
m
m.PrimaryPart
root = m:() m:()
root
m.PrimaryPart = root
realDummy = Players:()
realDummy.Parent =
(realDummy)
.() (realDummy) realDummy.PrimaryPart
realDummy:(.(, , ))
vpDummy = realDummy:()
(vpDummy)
vpDummy.Parent = innerVp
vpDummy.PrimaryPart realDummy.PrimaryPart
vpDummy:(realDummy.PrimaryPart.CFrame)
hrp = vpDummy:()
hrp
hrp.Transparency =
_, part (vpDummy:())
part:()
part.CanCollide =
_, part (realDummy:())
part:()
part.Transparency =
part.CanCollide =
rotationAngle =
rotationSpeed = .()
radius =
height =
runService.RenderStepped:((deltaTime)
realDummy.Parent vpDummy.Parent
_, part (realDummy:())
part:()
clonePart = vpDummy:(part.Name, )
clonePart part:(realDummy)
clonePart.CFrame = part.CFrame
rotationAngle = rotationAngle + rotationSpeed * deltaTime
x = .(rotationAngle) * radius
z = .(rotationAngle) * radius
targetPos = (vpDummy.PrimaryPart vpDummy.PrimaryPart.Position) .(, , )
cam.CFrame = .(targetPos + .(x, height, z), targetPos)
)
hum = realDummy:()
animator = hum (hum:() .(, hum))
previewAnimTrack =
loadAnim = (index)
previewAnimTrack
previewAnimTrack:()
previewAnimTrack:()
anim = .()
anim.AnimationId = .. animData[index].id
animator
previewAnimTrack = animator:(anim)
previewAnimTrack.Priority = .AnimationPriority.Action
previewAnimTrack.Looped =
previewAnimTrack:()
previewAnimTrack:()
previewAnimTrack:()
animNameText.Text = ..currentIndex....#animData
(currentIndex)
stopAll = ()
activeTrack
activeTrack:()
activeTrack:()
activeTrack =
activeConn
activeConn:()
activeConn =
playCarAnim = (char)
()
hum = char:()
root = char:()
anim = .()
anim.AnimationId = .. animData[currentIndex].id
track = hum:(anim)
activeTrack = track
track.Priority = .AnimationPriority.Action
track:()
track.Looped =
track:()
.CurrentCamera.CameraSubject = plr.Character:()
lastPosition = root.Position
lastTime = .()
activeConn = runService.Heartbeat:(()
currentPosition = root.Position
currentTime = .()
deltaTime = currentTime - lastTime
deltaTime >
displacement = (currentPosition - lastPosition)
velocity = displacement / deltaTime
speed = velocity.Magnitude
speed >
dot = root.CFrame.LookVector:(velocity.Unit)
track:((speed / ) * animData[currentIndex].mult * (dot >= -))
track:()
lastPosition = currentPosition
lastTime = currentTime
)
showConfirmation = (callback)
confirmationgui
confirmationgui =
popup = .(, sg)
popup.Size = (,)
popup.Position = (,)
popup.BackgroundColor3 = .(, , )
popup.BorderSizePixel =
popup.Name =
.(, popup).CornerRadius = .(, )
shadow = .(, popup)
shadow.Name =
shadow.BackgroundTransparency =
shadow.Size = .(, , , )
shadow.Position = .(, -, , -)
shadow.Image =
shadow.ImageColor3 = .(, , )
shadow.ImageTransparency =
shadow.ScaleType = .ScaleType.Slice
shadow.SliceCenter = Rect.(, , , )
shadow.ZIndex = -
label = .(, popup)
label.Size = .(, -, , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text =
label.Font = .Font.Gotham
label.TextScaled =
label.TextColor3 = .(, , )
label.TextWrapped =
buttonContainer = .(, popup)
buttonContainer.Size = .(, -, , )
buttonContainer.Position = .(, , , -)
buttonContainer.BackgroundTransparency =
yesBtn = .(, buttonContainer)
yesBtn.Size = .(, -, , )
yesBtn.Position = .(, , , )
yesBtn.BackgroundColor3 = .(, , )
yesBtn.TextColor3 = .(, , )
yesBtn.Text =
yesBtn.Font = .Font.Gotham
yesBtn.TextScaled =
.(, yesBtn).CornerRadius = .(, )
noBtn = .(, buttonContainer)
noBtn.Size = .(, -, , )
noBtn.Position = .(, , , )
noBtn.BackgroundColor3 = .(, , )
noBtn.TextColor3 = .(, , )
noBtn.Text =
noBtn.Font = .Font.Gotham
noBtn.TextScaled =
.(, noBtn).CornerRadius = .(, )
(yesBtn)
(noBtn)
yesBtn.MouseButton1Click:(()
popup:()
()
confirmationgui =
)
noBtn.MouseButton1Click:(()
popup:()
()
confirmationgui =
)
UserInputService.InputBegan:((input, gpe)
gpe
input.KeyCode == .KeyCode.K
sg.Enabled = sg.Enabled
input.KeyCode == .KeyCode.Left
currentIndex = (currentIndex - ) % #animData +
(currentIndex)
input.KeyCode == .KeyCode.Right
currentIndex = currentIndex % #animData +
(currentIndex)
input.KeyCode == .KeyCode.Return input.KeyCode == .KeyCode.KeypadEnter
(plr.Character)
)
prevBtn.MouseButton1Click:(()
currentIndex = (currentIndex - ) % #animData +
(currentIndex)
)
nextBtn.MouseButton1Click:(()
currentIndex = currentIndex % #animData +
(currentIndex)
)
selectBtn.MouseButton1Click:(()
(plr.Character)
)
minimized =
minBtn.MouseButton1Click:(()
minimized = minimized
minimized
mainFrame.Size = (,)
_, child (mainFrame:())
child ~= title child ~= minBtn child ~= closeBtn child:()
child.Visible =
titleCorner.CornerRadius = .(, )
mainFrame.Size = (,)
_, child (mainFrame:())
child:()
child.Visible =
titleCorner.CornerRadius = .(, , , )
)
closeAll = ()
()
sg:()
closeBtn.MouseButton1Click:(()
((confirm)
confirm
carstop =
()
().CarExecuted =
(,,)
)
)
plr.CharacterAdded:((char)
carstop ==
.()
(char)
().TiltForCarLoaded =
()
(:())()
)
(:())()
(:())()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, rawscripts.net.
Your dreams are coming true, you are now a car