local UIS = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local gui = plr.PlayerGui:WaitForChild("ScreenGui")
local BarFrame = gui.BarFrame
local Bar = BarFrame.Bar
local Modules = script.Modules
local Abilities = require(Modules.Abilities)
UIS.InputBegan:Connect(function(i,g)
if g then return end
if i.KeyCode == Abilities.Float.KeyCode then
Bar.Size = UDim2.new(0,0,1,0)
Abilities.Use(Bar,"Float")
end
end)