
664 Views
319 Executions
R0van Gui V3 Reupload
Universal Script ๐
Revan_LoL32Published 5
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
Visual
local CoreGui = game:GetService("CoreGui")
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = CoreGui
ScreenGui.ResetOnSpawn = false
local Frame = Instance.new('Frame')
Frame.Parent = ScreenGui
Frame.Size = UDim2.new(0,324,0,378)
Frame.Position = UDim2.new(0,260,0,-50)
Frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
Frame.BackgroundTransparency = 0
Frame.BorderSizePixel = 1
Frame.BorderColor3 = Color3.fromRGB(78,255,254)
local frame = Frame
local drag = false
local dragInput
local dragStart
local startPos
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
drag = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
drag = false
end
end)
end
end)
frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







