Facebook
From Cyka, 1 Month ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 120
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextLabel_2 = Instance.new("TextLabel")
  10. local touchfling_btn = Instance.new("TextButton")
  11. local flingall_btn = Instance.new("TextButton")
  12. local playerfling_btn = Instance.new("TextButton")
  13. local music_btn = Instance.new("TextButton")
  14. local f3x_btn = Instance.new("TextButton")
  15. local Animator_btn = Instance.new("TextButton")
  16. local TextButton = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22. ScreenGui.ResetOnSpawn = false
  23.  
  24. Frame.Parent = ScreenGui
  25. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  26. Frame.BorderColor3 = Color3.fromRGB(255, 0, 0)
  27. Frame.BorderSizePixel = 4
  28. Frame.Position = UDim2.new(0.2825059, 0, 0.347085208, 0)
  29. Frame.Size = UDim2.new(0, 368, 0, 226)
  30.  
  31. TextLabel.Parent = Frame
  32. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  33. TextLabel.BorderColor3 = Color3.fromRGB(255, 0, 0)
  34. TextLabel.BorderSizePixel = 4
  35. TextLabel.Size = UDim2.new(0, 368, 0, 50)
  36. TextLabel.Font = Enum.Font.SourceSansBold
  37. TextLabel.Text = "YHG Gui"
  38. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  39. TextLabel.TextSize = 35.000
  40.  
  41. TextLabel_2.Parent = Frame
  42. TextLabel_2.BackgroundColor3 = Color3.fromRGB(197, 0, 0)
  43. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  44. TextLabel_2.BorderSizePixel = 0
  45. TextLabel_2.Position = UDim2.new(0, 0, 0.840707958, 0)
  46. TextLabel_2.Size = UDim2.new(0, 368, 0, 36)
  47. TextLabel_2.Font = Enum.Font.Oswald
  48. TextLabel_2.Text = "Made by YHG"
  49. TextLabel_2.TextColor3 = Color3.fromRGB(80, 0, 0)
  50. TextLabel_2.TextSize = 27.000
  51.  
  52. touchfling_btn.Name = "touchfling_btn"
  53. touchfling_btn.Parent = Frame
  54. touchfling_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  55. touchfling_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  56. touchfling_btn.BorderSizePixel = 2
  57. touchfling_btn.Position = UDim2.new(0, 0, 0.28761062, 0)
  58. touchfling_btn.Size = UDim2.new(0, 120, 0, 50)
  59. touchfling_btn.Font = Enum.Font.SourceSans
  60. touchfling_btn.Text = "touch fling"
  61. touchfling_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  62. touchfling_btn.TextSize = 20.000
  63.  
  64. flingall_btn.Name = "flingall_btn"
  65. flingall_btn.Parent = Frame
  66. flingall_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  67. flingall_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  68. flingall_btn.BorderSizePixel = 2
  69. flingall_btn.Position = UDim2.new(0.336956531, 0, 0.28761062, 0)
  70. flingall_btn.Size = UDim2.new(0, 120, 0, 50)
  71. flingall_btn.Font = Enum.Font.SourceSans
  72. flingall_btn.Text = "fling all"
  73. flingall_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. flingall_btn.TextSize = 20.000
  75.  
  76. playerfling_btn.Name = "playerfling_btn"
  77. playerfling_btn.Parent = Frame
  78. playerfling_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  79. playerfling_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  80. playerfling_btn.BorderSizePixel = 2
  81. playerfling_btn.Position = UDim2.new(0.673913062, 0, 0.28761062, 0)
  82. playerfling_btn.Size = UDim2.new(0, 120, 0, 50)
  83. playerfling_btn.Font = Enum.Font.SourceSans
  84. playerfling_btn.Text = "join yhg"
  85. playerfling_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  86. playerfling_btn.TextSize = 20.000
  87.  
  88. music_btn.Name = "music_btn"
  89. music_btn.Parent = Frame
  90. music_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  91. music_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  92. music_btn.BorderSizePixel = 2
  93. music_btn.Position = UDim2.new(0, 0, 0.566371679, 0)
  94. music_btn.Size = UDim2.new(0, 120, 0, 50)
  95. music_btn.Font = Enum.Font.SourceSans
  96. music_btn.Text = "music"
  97. music_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. music_btn.TextSize = 20.000
  99.  
  100. f3x_btn.Name = "f3x_btn"
  101. f3x_btn.Parent = Frame
  102. f3x_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  103. f3x_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  104. f3x_btn.BorderSizePixel = 2
  105. f3x_btn.Position = UDim2.new(0.336956531, 0, 0.566371679, 0)
  106. f3x_btn.Size = UDim2.new(0, 120, 0, 50)
  107. f3x_btn.Font = Enum.Font.SourceSans
  108. f3x_btn.Text = "chat spam"
  109. f3x_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  110. f3x_btn.TextSize = 20.000
  111.  
  112. Animator_btn.Name = "Animator_btn"
  113. Animator_btn.Parent = Frame
  114. Animator_btn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  115. Animator_btn.BorderColor3 = Color3.fromRGB(255, 0, 0)
  116. Animator_btn.BorderSizePixel = 2
  117. Animator_btn.Position = UDim2.new(0.673913062, 0, 0.566371679, 0)
  118. Animator_btn.Size = UDim2.new(0, 120, 0, 50)
  119. Animator_btn.Font = Enum.Font.SourceSans
  120. Animator_btn.Text = "FE Animator"
  121. Animator_btn.TextColor3 = Color3.fromRGB(255, 255, 255)
  122. Animator_btn.TextSize = 20.000
  123.  
  124. TextButton.Parent = Frame
  125. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  126. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  127. TextButton.BorderSizePixel = 0
  128. TextButton.Position = UDim2.new(0, 0, 1.04424775, 0)
  129. TextButton.Size = UDim2.new(0, 368, 0, 30)
  130. TextButton.Font = Enum.Font.SourceSansBold
  131. TextButton.Text = "DESTROY GUI"
  132. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  133. TextButton.TextSize = 30.000
  134.  
  135. -- Scripts:
  136.  
  137. local function EZQSD_fake_script() -- touchfling_btn.LocalScript
  138.  local script = Instance.new('LocalScript', touchfling_btn)
  139.  
  140.  script.Parent.MouseButton1Down:Connect(function()
  141.   loadstring(game:HttpGet(('https://raw.githubusercontent.com/0Ben1/fe/main/Protected - 2023-05-28T184134.923.lua.txt'),true))()
  142.  end)
  143. end
  144. coroutine.wrap(EZQSD_fake_script)()
  145. local function LNZFE_fake_script() -- flingall_btn.LocalScript
  146.  local script = Instance.new('LocalScript', flingall_btn)
  147.  
  148.  script.Parent.MouseButton1Down:Connect(function()
  149.   loadstring(game:HttpGet("https://pastebin.com/raw/zqyDSUWX"))()
  150.  end)
  151. end
  152. coroutine.wrap(LNZFE_fake_script)()
  153. local function TGZV_fake_script() -- playerfling_btn.LocalScript
  154.  local script = Instance.new('LocalScript', playerfling_btn)
  155.  
  156.  script.Parent.MouseButton1Down:Connect(function()
  157.   loadstring(game:HttpGet("https://pastebin.com/raw/KFayrwL3"))()
  158.  end)
  159. end
  160. coroutine.wrap(TGZV_fake_script)()
  161. local function JSMFE_fake_script() -- music_btn.LocalScript
  162.  local script = Instance.new('LocalScript', music_btn)
  163.  
  164.  script.Parent.MouseButton1Down:Connect(function()
  165.   loadstring(game:HttpGet('https://pastebin.com/raw/SHzbUM9b'))()
  166.  end)
  167. end
  168. coroutine.wrap(JSMFE_fake_script)()
  169. local function FHVDV_fake_script() -- f3x_btn.LocalScript
  170.  local script = Instance.new('LocalScript', f3x_btn)
  171.  
  172.  script.Parent.MouseButton1Down:Connect(function()
  173.   loadstring(game:GetObjects("rbxassetid://6695644299")[1].Source)()
  174.  end)
  175. end
  176. coroutine.wrap(FHVDV_fake_script)()
  177. local function FGFFJZ_fake_script() -- Animator_btn.LocalScript
  178.  local script = Instance.new('LocalScript', Animator_btn)
  179.  
  180.  script.Parent.MouseButton1Down:Connect(function()
  181.   loadstring(game:HttpGet(('https://pastebin.com/raw/Rx4Qqicd'),true))()
  182.  end)
  183. end
  184. coroutine.wrap(FGFFJZ_fake_script)()
  185. local function ONLUT_fake_script() -- TextButton.LocalScript
  186.  local script = Instance.new('LocalScript', TextButton)
  187.  
  188.  script.Parent.MouseButton1Down:Connect(function()
  189.   script.Parent.Parent.Visible = false
  190.  end)
  191. end
  192. coroutine.wrap(ONLUT_fake_script)()
  193. local function QGLEPVW_fake_script() -- Frame.LocalScript
  194.  local script = Instance.new('LocalScript', Frame)
  195.  
  196.  local UIS = game:GetService('UserInputService')
  197.  local frame = script.Parent
  198.  local dragToggle = nil
  199.  local dragSpeed = 0.1
  200.  local dragStart = nil
  201.  local startPos = nil
  202.  
  203.  local function updateInput(input)
  204.   local delta = input.Position - dragStart
  205.   local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  206.    startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  207.   game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  208.  end
  209.  
  210.  frame.InputBegan:Connect(function(input)
  211.   if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  212.    dragToggle = true
  213.    dragStart = input.Position
  214.    startPos = frame.Position
  215.    input.Changed:Connect(function()
  216.     if input.UserInputState == Enum.UserInputState.End then
  217.      dragToggle = false
  218.     end
  219.    end)
  220.   end
  221.  end)
  222.  
  223.  UIS.InputChanged:Connect(function(input)
  224.   if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  225.    if dragToggle then
  226.     updateInput(input)
  227.    end
  228.   end
  229.  end)
  230. end
  231. coroutine.wrap(QGLEPVW_fake_script)()