local p=game:GetService("Players").LocalPlayer local g=Instance.new("ScreenGui",p:WaitForChild("PlayerGui"))g.ResetOnSpawn=false local b=Instance.new("TextButton",g)b.Size=UDim2.new(0,100,0,50)b.Position=UDim2.new(0,50,0,50) b.BackgroundColor3,b.Text=Color3.fromRGB(0,120,215),"Ability E"b.TextColor3,b.TextSize=Color3.fromRGB(255,255,255),16 b.Active,b.Draggable=true,true local d=false b.InputBegan:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then d=true end end) b.InputEnded:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 then d=false end end) game:GetService("UserInputService").InputChanged:Connect(function(i) if d and i.UserInputType==Enum.UserInputType.MouseMovement then local m=p:GetMouse()b.Position=UDim2.new(0,m.X-50,0,m.Y-25)end end) b.MouseButton1Click:Connect(function() p.Character:WaitForChild("Ability_Event"):FireServer(p,p.Character)end)