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 UserInputService = game:GetService("UserInputService") | |
local Players = game:GetService("Players") | |
local LocalPlayer = Players.LocalPlayer | |
-- Variables to store the animation tracks for F and G | |
local fAnimationTracks, gAnimationTracks = {}, {} | |
local isEnabled = true -- Flag to enable or disable the script | |
local toggleKey = Enum.KeyCode.Four -- Keybind set to the number 4 (not the numpad 4) | |
-- Function to stop animations |
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 userInputService = game:GetService("UserInputService") | |
local toolExists = false | |
local function createTool() | |
if not toolExists then | |
local tool = Instance.new("Tool") | |
tool.Name = "Black Path" | |
tool.RequiresHandle = false | |
tool.Parent = game.Players.LocalPlayer.Backpack |