
1.2k Views
105 Executions
Kavo UI Mobile friendly UI drag (Toggle added)
Universal Script 📌
TheBestHakerFirst script
8 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
SUPPORTS MOBILE DRAG AND SUPPORTS SERVER SIDE MODULE LOADING (Toggle added!)
Updates
Script edited: Update script
--// to the 2 peoplee who are constantly watching this repo, get a life yall weird.
--// to the people who are still forking this unoptimized garbage, if you want a custom optimized rewrite for $, hmu on discord: federal6768 or federal.
local Kavo = {}
local tween = game:GetService("TweenService")
local tweeninfo = TweenInfo.new
local input = game:GetService("UserInputService")
local run = game:GetService("RunService")
local Utility = {}
local Objects = {}
function Kavo:DraggingEnabled(frame, parent)
parent = parent or frame
-- stolen from wally or kiriot, kek
local dragging = false
local dragInput, mousePos, framePos
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
mousePos = input.Position
framePos = parent.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement then
dragInput = input
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







