wghcbgfftgh

Untitled

May 10th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10.  
  11. --Properties:
  12.  
  13. Frame.Parent = game.StarterGui.ScreenGui
  14. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  15. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  16. Frame.BorderSizePixel = 5
  17. Frame.Position = UDim2.new(0.304733723, 0, 0.344198167, 0)
  18. Frame.Size = UDim2.new(0, 285, 0, 159)
  19.  
  20. TextLabel.Parent = Frame
  21. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  22. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  23. TextLabel.BorderSizePixel = 0
  24. TextLabel.Size = UDim2.new(0, 285, 0, 50)
  25. TextLabel.Font = Enum.Font.SourceSans
  26. TextLabel.Text = "TV Hub | Forsaken"
  27. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  28. TextLabel.TextScaled = true
  29. TextLabel.TextSize = 14.000
  30. TextLabel.TextWrapped = true
  31.  
  32. TextLabel_2.Parent = Frame
  33. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  34. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  35. TextLabel_2.BorderSizePixel = 0
  36. TextLabel_2.Position = UDim2.new(0, 0, 0.314465404, 0)
  37. TextLabel_2.Size = UDim2.new(0, 284, 0, 57)
  38. TextLabel_2.Font = Enum.Font.SourceSans
  39. TextLabel_2.Text = "You Executor is not Support"
  40. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  41. TextLabel_2.TextScaled = true
  42. TextLabel_2.TextSize = 14.000
  43. TextLabel_2.TextWrapped = true
  44.  
  45. TextButton.Parent = Frame
  46. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  47. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  48. TextButton.BorderSizePixel = 4
  49. TextButton.Position = UDim2.new(0.22807017, 0, 0.67295599, 0)
  50. TextButton.Size = UDim2.new(0, 154, 0, 41)
  51. TextButton.Font = Enum.Font.SourceSans
  52. TextButton.Text = "Leave"
  53. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. TextButton.TextScaled = true
  55. TextButton.TextSize = 14.000
  56. TextButton.TextWrapped = true
  57.  
  58. -- Scripts:
  59.  
  60. local function DWBUSPK_fake_script() -- Frame.LocalScript
  61. local script = Instance.new('LocalScript', Frame)
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. function dragify(Frame)
  65. dragToggle = nil
  66. local dragSpeed = 0
  67. dragInput = nil
  68. dragStart = nil
  69. local dragPos = nil
  70. function updateInput(input)
  71. local Delta = input.Position - dragStart
  72. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  73. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25), {Position = Position}):Play()
  74. end
  75. Frame.InputBegan:Connect(function(input)
  76. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  77. dragToggle = true
  78. dragStart = input.Position
  79. startPos = Frame.Position
  80. input.Changed:Connect(function()
  81. if input.UserInputState == Enum.UserInputState.End then
  82. dragToggle = false
  83. end
  84. end)
  85. end
  86. end)
  87. Frame.InputChanged:Connect(function(input)
  88. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  89. dragInput = input
  90. end
  91. end)
  92. game:GetService("UserInputService").InputChanged:Connect(function(input)
  93. if input == dragInput and dragToggle then
  94. updateInput(input)
  95. end
  96. end)
  97. end
  98.  
  99. dragify(script.Parent)
  100. end
  101. coroutine.wrap(DWBUSPK_fake_script)()
  102.  
Advertisement
Add Comment
Please, Sign In to add comment