Run it
Copy the script and paste it into your executor.
Players = :()
ContentProvider = :()
RunService = :()
UserInputService = :()
HttpService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
TextureId =
MusicUrl =
MusicFile =
PositionFile =
Columns =
Rows =
TotalFrames =
FPS =
SpriteSize =
Dragging =
DragInput =
DragStart =
StartPosition =
()
SavedData =
ReadFile = readfile
IsFile = isfile
(ReadFile) ==
HasFile =
(IsFile) ==
CheckSuccess, FileExists = (IsFile, PositionFile)
HasFile = CheckSuccess FileExists ==
HasFile
ReadSuccess, FileContents = (ReadFile, PositionFile)
ReadSuccess (FileContents) ==
DecodeSuccess, DecodedData = (()
HttpService:(FileContents)
)
DecodeSuccess (DecodedData) ==
SavedData = DecodedData
SavedData () ==
EnvironmentSuccess, Environment = ()
EnvironmentSuccess (Environment) ==
EnvironmentPosition = Environment.MaxwellSavedPosition
(EnvironmentPosition) ==
SavedData = EnvironmentPosition
(SavedData) ~=
XScale = SavedData.XScale
XOffset = SavedData.XOffset
YScale = SavedData.YScale
YOffset = SavedData.YOffset
(XScale) ~= (XOffset) ~= (YScale) ~= (YOffset) ~=
XScale ~= XScale XOffset ~= XOffset YScale ~= YScale YOffset ~= YOffset
.(XScale, XOffset, YScale, YOffset)
OldGui = PlayerGui:()
OldGui
OldGui:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.IgnoreGuiInset =
ScreenGui.DisplayOrder =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = PlayerGui
SpriteViewport = .()
SpriteViewport.Name =
SpriteViewport.AnchorPoint = .(, )
SpriteViewport.Position = () .(, )
SpriteViewport.Size = .(SpriteSize, SpriteSize)
SpriteViewport.BackgroundTransparency =
SpriteViewport.BorderSizePixel =
SpriteViewport.ClipsDescendants =
SpriteViewport.Active =
SpriteViewport.Parent = ScreenGui
MaxwelledSprite = .()
MaxwelledSprite.Name =
MaxwelledSprite.BackgroundTransparency =
MaxwelledSprite.BorderSizePixel =
MaxwelledSprite.Position = .(, )
MaxwelledSprite.Size = .(SpriteSize * Columns, SpriteSize * Rows)
MaxwelledSprite.Image = .. TextureId
MaxwelledSprite.ImageRectSize = .zero
MaxwelledSprite.ImageRectOffset = .zero
MaxwelledSprite.ScaleType = .ScaleType.Stretch
MaxwelledSprite.ImageTransparency =
MaxwelledSprite.ImageColor3 = .(, , )
MaxwelledSprite.Active =
MaxwelledSprite.Parent = SpriteViewport
()
CurrentPosition = SpriteViewport.Position
SavedData = {
XScale = CurrentPosition.X.Scale,
XOffset = CurrentPosition.X.Offset,
YScale = CurrentPosition.Y.Scale,
YOffset = CurrentPosition.Y.Offset
}
() ==
EnvironmentSuccess, Environment = ()
EnvironmentSuccess (Environment) ==
Environment.MaxwellSavedPosition = SavedData
(writefile) ==
EncodeSuccess, EncodedData = (()
HttpService:(SavedData)
)
EncodeSuccess
(writefile, PositionFile, EncodedData)
(FrameNumber)
FrameIndex = (FrameNumber - ) % TotalFrames
Column = FrameIndex % Columns
Row = .(FrameIndex / Columns)
MaxwelledSprite.Position = .(-Column * SpriteSize, -Row * SpriteSize)
(Input)
Input.UserInputType == .UserInputType.MouseButton1 Input.UserInputType == .UserInputType.Touch
Dragging =
DragStart = Input.Position
StartPosition = SpriteViewport.Position
(Input)
Input.UserInputType == .UserInputType.MouseMovement Input.UserInputType == .UserInputType.Touch
DragInput = Input
SpriteViewport.InputBegan:(BeginDrag)
MaxwelledSprite.InputBegan:(BeginDrag)
SpriteViewport.InputChanged:(TrackDragInput)
MaxwelledSprite.InputChanged:(TrackDragInput)
UserInputService.InputChanged:((Input)
Dragging Input == DragInput
Delta = Input.Position - DragStart
SpriteViewport.Position = .(
StartPosition.X.Scale,
StartPosition.X.Offset + Delta.X,
StartPosition.Y.Scale,
StartPosition.Y.Offset + Delta.Y
)
)
UserInputService.InputEnded:((Input)
Dragging (Input.UserInputType == .UserInputType.MouseButton1 Input.UserInputType == .UserInputType.Touch)
Dragging =
DragInput =
()
)
ScreenGui.Destroying:(SavePosition)
()
.(()
FrameAccumulator =
FrameDuration = / FPS
CurrentFrame =
ScreenGui.Parent SpriteViewport.Parent MaxwelledSprite.Parent
FrameAccumulator += RunService.RenderStepped:()
FrameAccumulator >= FrameDuration
FrameAccumulator -= FrameDuration
CurrentFrame = (CurrentFrame % TotalFrames) +
(CurrentFrame)
)
Music = .()
Music.Name =
Music.Volume =
Music.Looped =
Music.Parent = ScreenGui
.(()
GetAsset = getsynasset getcustomasset
WriteFile = writefile
IsFile = isfile
(GetAsset) ~= (WriteFile) ~=
HasFile =
(IsFile) ==
CheckSuccess, FileExists = (IsFile, MusicFile)
HasFile = CheckSuccess FileExists ==
HasFile
DownloadSuccess, Data = (()
:(MusicUrl)
)
DownloadSuccess (Data) ~= #Data ==
SaveSuccess = (WriteFile, MusicFile, Data)
SaveSuccess
AssetSuccess, Asset = (GetAsset, MusicFile)
AssetSuccess (Asset) ~= Asset == ScreenGui.Parent
Music.SoundId = Asset
(()
ContentProvider:({Music})
)
ScreenGui.Parent
(()
Music:()
)
)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.

Universal