player = game.Players.LocalPlayer local tool = script.Parent local trav = tool:WaitForChild("Travel") local uis = game:GetService("UserInputService") local move = tool.Movement local other = tool.Other
--local module = require(tool.module) uis.InputBegan:Connect(function(K, chat) if equipped == true and not chat then if (K.KeyCode == Enum.KeyCode.Space) then --module.fix() if move.Disabled == false then trav:FireServer() end --[[elseif (K.KeyCode == Enum.KeyCode.Space) then --module.travel() if move.Disabled == false then trav:FireServer() end--]] end end end)
humanoid.Jumpping:Connect(function() if move.Disabled == false then trav:FireServer("Travel") end end)
tool.Equipped:Connect(function() equipped = true end)
tool.Unequipped:Connect(function() equipped = false end)

2 comments
Thank you
If it works please mark it as a solution :)