Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
TweenService = :()
UIS = :()
VM = :()
CoreGui = :()
player = Players.LocalPlayer
().StretchConfig = ().StretchConfig {
Scale = ,
PopSoundId = ,
DotTexture = ,
SprintKey = .KeyCode.W,
HoldKey = .KeyCode.LeftShift,
ForceFieldUser = ,
AutoSprint = ,
StretchEnabled = ,
CustomSoundsEnabled =
}
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
gui.DisplayOrder =
gui.Parent = CoreGui
main = .()
main.Name =
main.Size = .(, , , )
main.Position = .(, , , -)
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.ClipsDescendants =
main.Parent = gui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = main
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = main
header = .()
header.Size = .(, , , )
header.BackgroundColor3 = .(, , )
header.BorderSizePixel =
header.Parent = main
headerCorner = .()
headerCorner.CornerRadius = .(, )
headerCorner.Parent = header
headerCover = .()
headerCover.Size = .(, , , )
headerCover.Position = .(, , , -)
headerCover.BackgroundColor3 = .(, , )
headerCover.BorderSizePixel =
headerCover.Parent = header
title = .()
title.Size = .(, , , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.TextSize =
title.Font = .Font.Code
title.TextXAlignment = .TextXAlignment.Left
title.Parent = header
hideBtn = .()
hideBtn.Size = .(, , , )
hideBtn.Position = .(, -, , )
hideBtn.BackgroundColor3 = .(, , )
hideBtn.Text =
hideBtn.TextColor3 = .(, , )
hideBtn.TextSize =
hideBtn.Font = .Font.Code
hideBtn.Parent = header
hideBtnCorner = .()
hideBtnCorner.CornerRadius = .(, )
hideBtnCorner.Parent = hideBtn
content = .()
content.Size = .(, -, , -)
content.Position = .(, , , )
content.BackgroundTransparency =
content.BorderSizePixel =
content.ScrollBarThickness =
content.ScrollBarImageColor3 = .(, , )
content.CanvasSize = .(, , , )
content.AutomaticCanvasSize = .AutomaticSize.Y
content.Parent = main
layout = .()
layout.Padding = .(, )
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = content
(text, order)
lbl = .()
lbl.Size = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = text
lbl.TextColor3 = .(, , )
lbl.TextSize =
lbl.Font = .Font.Code
lbl.TextXAlignment = .TextXAlignment.Left
lbl.LayoutOrder = order
lbl.Parent = content
(labelText, min, max, default, callback, order)
container = .()
container.Size = .(, , , )
container.BackgroundColor3 = .(, , )
container.BorderSizePixel =
container.LayoutOrder = order
container.Parent = content
cCorner = .()
cCorner.CornerRadius = .(, )
cCorner.Parent = container
label = .()
label.Size = .(, , , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.TextSize =
label.Font = .Font.Code
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
value = .()
value.Size = .(, , , )
value.Position = .(, , , )
value.BackgroundTransparency =
value.Text = (default)
value.TextColor3 = .(, , )
value.TextSize =
value.Font = .Font.Code
value.TextXAlignment = .TextXAlignment.Right
value.Parent = container
leftBtn = .()
leftBtn.Size = .(, , , )
leftBtn.Position = .(, , , -)
leftBtn.BackgroundColor3 = .(, , )
leftBtn.Text =
leftBtn.TextColor3 = .(, , )
leftBtn.TextSize =
leftBtn.Font = .Font.Code
leftBtn.Parent = container
lCorner = .()
lCorner.CornerRadius = .(, )
lCorner.Parent = leftBtn
rightBtn = .()
rightBtn.Size = .(, , , )
rightBtn.Position = .(, -, , -)
rightBtn.BackgroundColor3 = .(, , )
rightBtn.Text =
rightBtn.TextColor3 = .(, , )
rightBtn.TextSize =
rightBtn.Font = .Font.Code
rightBtn.Parent = container
rCorner = .()
rCorner.CornerRadius = .(, )
rCorner.Parent = rightBtn
current = default
step = (max - min) /
leftBtn.MouseButton1Click:(()
current = .(min, current - step)
current = .(current * + ) /
value.Text = (current)
(current)
)
rightBtn.MouseButton1Click:(()
current = .(max, current + step)
current = .(current * + ) /
value.Text = (current)
(current)
)
(labelText, default, callback, order)
container = .()
container.Size = .(, , , )
container.BackgroundColor3 = .(, , )
container.BorderSizePixel =
container.LayoutOrder = order
container.Parent = content
cCorner = .()
cCorner.CornerRadius = .(, )
cCorner.Parent = container
label = .()
label.Size = .(, , , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.TextSize =
label.Font = .Font.Code
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
toggle = .()
toggle.Size = .(, , , )
toggle.Position = .(, -, , -)
toggle.BackgroundColor3 = default .(, , ) .(, , )
toggle.Text = default
toggle.TextColor3 = .(, , )
toggle.TextSize =
toggle.Font = .Font.Code
toggle.Parent = container
tCorner = .()
tCorner.CornerRadius = .(, )
tCorner.Parent = toggle
state = default
toggle.MouseButton1Click:(()
state = state
(state)
TweenService:(toggle, TweenInfo.(), {
BackgroundColor3 = state .(, , ) .(, , )
}):()
toggle.Text = state
)
(labelText, default, callback, order)
container = .()
container.Size = .(, , , )
container.BackgroundColor3 = .(, , )
container.BorderSizePixel =
container.LayoutOrder = order
container.Parent = content
cCorner = .()
cCorner.CornerRadius = .(, )
cCorner.Parent = container
label = .()
label.Size = .(, -, , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.TextSize =
label.Font = .Font.Code
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
box = .()
box.Size = .(, -, , )
box.Position = .(, , , -)
box.BackgroundColor3 = .(, , )
box.Text = default
box.TextColor3 = .(, , )
box.TextSize =
box.Font = .Font.Code
box.PlaceholderText =
box.PlaceholderColor3 = .(, , )
box.ClearTextOnFocus =
box.Parent = container
bCorner = .()
bCorner.CornerRadius = .(, )
bCorner.Parent = box
box.FocusLost:(()
(box.Text)
)
notifications = .()
notifications.Name =
notifications.Size = .(, , , )
notifications.Position = .(, -, , )
notifications.BackgroundTransparency =
notifications.Parent = gui
notifLayout = .()
notifLayout.Padding = .(, )
notifLayout.SortOrder = .SortOrder.LayoutOrder
notifLayout.VerticalAlignment = .VerticalAlignment.Top
notifLayout.Parent = notifications
(text, duration)
notif = .()
notif.Size = .(, , , )
notif.BackgroundColor3 = .(, , )
notif.BorderSizePixel =
notif.BackgroundTransparency =
notif.ClipsDescendants =
notif.Parent = notifications
nCorner = .()
nCorner.CornerRadius = .(, )
nCorner.Parent = notif
nStroke = .()
nStroke.Color = .(, , )
nStroke.Thickness =
nStroke.Transparency =
nStroke.Parent = notif
label = .()
label.Size = .(, -, , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text = text
label.TextColor3 = .(, , )
label.TextSize =
label.Font = .Font.Code
label.TextXAlignment = .TextXAlignment.Left
label.TextWrapped =
label.TextTransparency =
label.Parent = notif
textBounds = label.TextBounds.Y +
TweenService:(notif, TweenInfo.(, .EasingStyle.Quart, .EasingDirection.Out), {
Size = .(, , , textBounds),
BackgroundTransparency =
}):()
TweenService:(label, TweenInfo.(), {TextTransparency = }):()
TweenService:(nStroke, TweenInfo.(), {Transparency = }):()
.(duration , ()
TweenService:(notif, TweenInfo.(), {
Size = .(, , , ),
BackgroundTransparency =
}):()
TweenService:(label, TweenInfo.(), {TextTransparency = }):()
TweenService:(nStroke, TweenInfo.(), {Transparency = }):()
.()
notif:()
)
(, )
(, ().StretchConfig.StretchEnabled, (v)
().StretchConfig.StretchEnabled = v
( .. (v ), )
, )
(, ().StretchConfig.CustomSoundsEnabled, (v)
().StretchConfig.CustomSoundsEnabled = v
( .. (v ), )
, )
(, )
(, , , ().StretchConfig.Scale, (v)
().StretchConfig.Scale = v
( .. v, )
, )
(, )
(, ().StretchConfig.PopSoundId, (v)
().StretchConfig.PopSoundId = v
(, )
, )
(, )
(, ().StretchConfig.DotTexture, (v)
().StretchConfig.DotTexture = v
(, )
, )
(, )
(, ().StretchConfig.AutoSprint, (v)
().StretchConfig.AutoSprint = v
( .. (v ), )
, )
(, )
(, ().StretchConfig.ForceFieldUser, (v)
().StretchConfig.ForceFieldUser = v
( .. v, )
, )
visible =
animating =
()
animating
animating =
visible = visible
targetPos = visible .(, -, , -) .(, , , -)
TweenService:(main, TweenInfo.(, .EasingStyle.Quart, .EasingDirection.Out), {
Position = targetPos
}):()
.()
animating =
hideBtn.MouseButton1Click:(toggleGui)
UIS.InputBegan:((input, gpe)
gpe
input.KeyCode == .KeyCode.P
()
)
processed = ({}, {__mode = })
originalSounds = {}
()
Lighting = :()
Lighting.Technology = .Technology.Compatibility
Lighting.GlobalShadows =
Lighting.ShadowSoftness =
(obj)
processed[obj]
processed[obj] =
obj:()
obj.Material = .Material.SmoothPlastic
obj.CastShadow =
obj:()
originalSounds[obj] = obj.SoundId
().StretchConfig.CustomSoundsEnabled
obj.SoundId = ().StretchConfig.PopSoundId
obj:()
obj.Texture = ().StretchConfig.DotTexture
obj.Rate =
obj.Size = NumberSequence.()
_, obj (:())
.(process, obj)
.DescendantAdded:(process)
RunService.Heartbeat:(()
().StretchConfig.CustomSoundsEnabled
sound, original (originalSounds)
sound sound.Parent
sound.SoundId = ().StretchConfig.PopSoundId
)
(plr, character)
plr.Name ~= ().StretchConfig.ForceFieldUser
_, obj (character:())
obj:()
obj.Material = .Material.ForceField
obj.BrickColor = BrickColor.()
obj.CastShadow =
Players.PlayerAdded:((plr)
plr.CharacterAdded:((char)
.(applyForceField, plr, char)
)
)
player.Character
.(applyForceField, player, player.Character)
player.CharacterAdded:((char)
.(applyForceField, player, char)
)
holding =
UIS.InputBegan:((input, gpe)
gpe ().StretchConfig.AutoSprint
input.KeyCode == ().StretchConfig.SprintKey
VM:(, ().StretchConfig.HoldKey, , )
holding =
)
UIS.InputEnded:((input)
input.KeyCode == ().StretchConfig.SprintKey holding
VM:(, ().StretchConfig.HoldKey, , )
holding =
)
Camera = .CurrentCamera
RunService.RenderStepped:(()
().StretchConfig.StretchEnabled
cfg = ().StretchConfig
Camera.CFrame = Camera.CFrame * .(
, , ,
, , ,
, cfg.Scale, ,
, ,
)
)
.(optimizeGame)
(, )