Run it
Copy the script and paste it into your executor.
TweenService = :()
Players = :()
UserInputService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
PlayerGui
Player.CharacterAdded:()
PlayerGui = Player:()
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = PlayerGui
main = .()
main.Size = .(, , , )
main.Position = .(, -, , -)
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.AnchorPoint = .(, )
main.Active =
main.Draggable =
main.Parent = gui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = main
label = .()
label.Size = .(, -, , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Text =
label.TextColor3 = .(, , )
label.Font = .Font.GothamSemibold
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.TextYAlignment = .TextYAlignment.Center
label.Parent = main
toggleBg = .()
toggleBg.Size = .(, , , )
toggleBg.Position = .(, -, , -)
toggleBg.BackgroundColor3 = .(, , )
toggleBg.BorderSizePixel =
toggleBg.BackgroundTransparency =
toggleBg.ClipsDescendants =
toggleBg.Parent = main
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleBg
circle = .()
circle.Size = .(, , , )
circle.Position = .(, , , )
circle.BackgroundColor3 = .(, , )
circle.BorderSizePixel =
circle.Parent = toggleBg
circleCorner = .()
circleCorner.CornerRadius = .(, )
circleCorner.Parent = circle
toggled =
isAnimating =
tweenInfo = TweenInfo.(, .EasingStyle.Quart, .EasingDirection.Out)
onTween = TweenService:(circle, tweenInfo, {
Position = .(, -, , ),
BackgroundColor3 = .(, , )
})
offTween = TweenService:(circle, tweenInfo, {
Position = .(, , , ),
BackgroundColor3 = .(, , )
})
bgOnTween = TweenService:(toggleBg, tweenInfo, {
BackgroundColor3 = .(, , )
})
bgOffTween = TweenService:(toggleBg, tweenInfo, {
BackgroundColor3 = .(, , )
})
()
isAnimating
isAnimating =
toggled = toggled
toggled
onTween:()
bgOnTween:()
()
offTween:()
bgOffTween:()
()
onTween.Completed:(()
isAnimating =
)
offTween.Completed:(()
isAnimating =
)
toggleBg.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
()
)
circle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
()
)
()
toggled
(state)
state ~= toggled
()
Players.PlayerRemoving:((player)
player == Player
gui:()
)Just a toggle and cool gui toggle If you see the print("On") or print("Off") you can Change the code :)

Universal