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