This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local Players = game:GetService("Players") | |
| local CoreGui = game:GetService("CoreGui") | |
| local UserInputService = game:GetService("UserInputService") | |
| local TweenService = game:GetService("TweenService") | |
| local parent = CoreGui | |
| if not pcall(function() local x = CoreGui.Name end) then | |
| parent = Players.LocalPlayer:WaitForChild("PlayerGui") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local Players = game:GetService("Players") | |
| local UserInputService = game:GetService("UserInputService") | |
| local player = Players.LocalPlayer | |
| local animationsEnabled = true | |
| local idleTrack = nil | |
| -- GUI | |
| local gui = Instance.new("ScreenGui") | |
| gui.Name = "AnimationToggleGUI" |