Skip to content

Instantly share code, notes, and snippets.

View Unifiedlol-droid's full-sized avatar

Unifiedlol-droid

View GitHub Profile
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
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"