ImRealLenny

Header Cheat - Roblox Universal

Jan 1st, 2022 (edited)
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. -- Header is cheat which locally increases size of enemy head so it's easier to hit a headshot
  2. -- However - the cheat doesn't work on games which verify hits by raycast - for example Arsenal
  3.  
  4. -- Instances:
  5.  
  6. local Header = Instance.new("ScreenGui")
  7. local Body = Instance.new("Frame")
  8. local Body_2 = Instance.new("ImageLabel")
  9. local Title = Instance.new("TextLabel")
  10. local TurnOn = Instance.new("TextButton")
  11. local Status = Instance.new("ImageLabel")
  12. local SubtractSize = Instance.new("TextButton")
  13. local AddSize = Instance.new("TextButton")
  14. local Sizing = Instance.new("TextLabel")
  15.  
  16. --Properties:
  17.  
  18. Header.Name = "Header"
  19. Header.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  20. Header.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. Body.Name = "Body"
  23. Body.Parent = Header
  24. Body.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  25. Body.BackgroundTransparency = 1.000
  26. Body.Position = UDim2.new(0.34562844, 0, 0.252747238, 0)
  27. Body.Size = UDim2.new(0, 225, 0, 225)
  28. Body.ZIndex = 10
  29.  
  30. Body_2.Name = "Body"
  31. Body_2.Parent = Body
  32. Body_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  33. Body_2.BackgroundTransparency = 1.000
  34. Body_2.Position = UDim2.new(0.00807607174, 0, -0.00308729336, 0)
  35. Body_2.Size = UDim2.new(0.978590608, 0, 1.00275147, 0)
  36. Body_2.Image = "http://www.roblox.com/asset/?id=8411425774"
  37. Body_2.ImageColor3 = Color3.fromRGB(52, 52, 52)
  38. Body_2.SliceScale = 10.000
  39.  
  40. Title.Name = "Title"
  41. Title.Parent = Body
  42. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. Title.BackgroundTransparency = 1.000
  44. Title.Position = UDim2.new(0.0933333337, 0, 0.139365107, 0)
  45. Title.Size = UDim2.new(0, 180, 0, 33)
  46. Title.ZIndex = 11
  47. Title.Font = Enum.Font.SourceSans
  48. Title.Text = "@ZGamerPoland's Universal Header Cheat"
  49. Title.TextColor3 = Color3.fromRGB(255, 0, 0)
  50. Title.TextScaled = true
  51. Title.TextSize = 14.000
  52. Title.TextStrokeColor3 = Color3.fromRGB(103, 103, 103)
  53. Title.TextTransparency = 0.250
  54. Title.TextWrapped = true
  55.  
  56. TurnOn.Name = "TurnOn"
  57. TurnOn.Parent = Body
  58. TurnOn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  59. TurnOn.BackgroundTransparency = 1.000
  60. TurnOn.Position = UDim2.new(0.128888875, 0, 0.603888869, 0)
  61. TurnOn.Size = UDim2.new(0, 97, 0, 24)
  62. TurnOn.ZIndex = 11
  63. TurnOn.Font = Enum.Font.SourceSans
  64. TurnOn.Text = "Turn On Header"
  65. TurnOn.TextColor3 = Color3.fromRGB(255, 255, 255)
  66. TurnOn.TextSize = 14.000
  67.  
  68. Status.Name = "Status"
  69. Status.Parent = Body
  70. Status.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  71. Status.BackgroundTransparency = 1.000
  72. Status.Position = UDim2.new(0.648888886, 0, 0.582222223, 0)
  73. Status.Size = UDim2.new(0, 29, 0, 29)
  74. Status.ZIndex = 11
  75. Status.Image = "http://www.roblox.com/asset/?id=660373145"
  76. Status.ImageColor3 = Color3.fromRGB(255, 0, 0)
  77. Status.ImageTransparency = 0.500
  78.  
  79. SubtractSize.Name = "SubtractSize"
  80. SubtractSize.Parent = Body
  81. SubtractSize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  82. SubtractSize.BackgroundTransparency = 1.000
  83. SubtractSize.Position = UDim2.new(0.26222223, 0, 0.377777785, 0)
  84. SubtractSize.Size = UDim2.new(0, 36, 0, 36)
  85. SubtractSize.ZIndex = 11
  86. SubtractSize.Font = Enum.Font.SourceSans
  87. SubtractSize.Text = "- Head size"
  88. SubtractSize.TextColor3 = Color3.fromRGB(255, 255, 255)
  89. SubtractSize.TextScaled = true
  90. SubtractSize.TextSize = 14.000
  91. SubtractSize.TextTransparency = 0.500
  92. SubtractSize.TextWrapped = true
  93.  
  94. AddSize.Name = "AddSize"
  95. AddSize.Parent = Body
  96. AddSize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  97. AddSize.BackgroundTransparency = 1.000
  98. AddSize.Position = UDim2.new(0.591111124, 0, 0.377777785, 0)
  99. AddSize.Size = UDim2.new(0, 36, 0, 36)
  100. AddSize.ZIndex = 11
  101. AddSize.Font = Enum.Font.SourceSans
  102. AddSize.Text = "+ Head size"
  103. AddSize.TextColor3 = Color3.fromRGB(255, 255, 255)
  104. AddSize.TextScaled = true
  105. AddSize.TextSize = 14.000
  106. AddSize.TextTransparency = 0.500
  107. AddSize.TextWrapped = true
  108.  
  109. Sizing.Name = "Sizing"
  110. Sizing.Parent = Body
  111. Sizing.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  112. Sizing.BackgroundTransparency = 1.000
  113. Sizing.Position = UDim2.new(0.457777798, 0, 0.404444426, 0)
  114. Sizing.Size = UDim2.new(0, 23, 0, 23)
  115. Sizing.ZIndex = 11
  116. Sizing.Font = Enum.Font.SourceSans
  117. Sizing.Text = "NaN"
  118. Sizing.TextColor3 = Color3.fromRGB(255, 255, 255)
  119. Sizing.TextSize = 14.000
  120.  
  121. -- Scripts:
  122.  
  123. local function CUVZFEA_fake_script() -- Title.LocalScript
  124. local script = Instance.new('LocalScript', Title)
  125.  
  126. local service = game:GetService('TweenService')
  127.  
  128. local part = script.Parent
  129. local tweenInf = TweenInfo.new(2.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 1, true)
  130.  
  131. local tData = {
  132.  
  133. TextColor3 = Color3.new(0.333333, 1, 0)
  134.  
  135. }
  136.  
  137. local tween = service:Create(part, tweenInf, tData)
  138.  
  139. local function loop()
  140. tween:Play()
  141. wait(5)
  142. loop()
  143. end
  144.  
  145. loop()
  146. end
  147. coroutine.wrap(CUVZFEA_fake_script)()
  148. local function QHFKPBS_fake_script() -- TurnOn.CreateHeader
  149. local script = Instance.new('LocalScript', TurnOn)
  150.  
  151. local Psize = 5
  152. local serv = game:GetService('RunService')
  153.  
  154. function loopHeader()
  155. local plr = game:GetService('Players').LocalPlayer
  156. local players = game:GetService('Players')
  157. local children = players:GetChildren()
  158. for i = 1, #children do
  159. if children[i].Name ~= plr.Name then
  160. local target = children[i].Character
  161. if target.Head:FindFirstChild('Mesh') then
  162. target.Head.Mesh:Destroy()
  163. local targetPart = target.Head
  164. targetPart.Size = Vector3.new(Psize, Psize, Psize)
  165. targetPart.Transparency = 0.6
  166. targetPart.CanCollide = false
  167. print(plr.Name, '; player found; head proportion changed; cheat activated')
  168. else
  169. local targetPart = target.Head
  170. targetPart.Size = Vector3.new(Psize, Psize, Psize)
  171. targetPart.Transparency = 0.6
  172. targetPart.CanCollide = false
  173. print(plr.Name, '; player found; head proportion changed; cheat activated')
  174. end
  175. end
  176. end
  177. end
  178.  
  179. script.Parent.Parent.AddSize.MouseButton1Click:Connect(function()
  180. if Psize < 15 then
  181. Psize += 1
  182. else
  183. Psize = 15
  184. end
  185. end)
  186.  
  187. script.Parent.Parent.SubtractSize.MouseButton1Click:Connect(function()
  188. if Psize < 1 then
  189. Psize = 0
  190. else
  191. Psize -= 1
  192. end
  193. end)
  194.  
  195. serv.RenderStepped:Connect(function()
  196. script.Parent.Parent.Sizing.Text = Psize
  197. end)
  198.  
  199. script.Parent.MouseButton1Click:Connect(function()
  200. while wait(0.75) do
  201. loopHeader()
  202. script.Parent.Parent.Status.ImageColor3 = Color3.new(0, 0.666667, 0)
  203. end
  204. end)
  205. end
  206. coroutine.wrap(QHFKPBS_fake_script)()
  207. local function WDAV_fake_script() -- Body.ToggleVisibility
  208. local script = Instance.new('LocalScript', Body)
  209.  
  210. local service = game:GetService('UserInputService')
  211. local isEnabled = true
  212.  
  213. service.InputBegan:Connect(function(key)
  214. if key.KeyCode == Enum.KeyCode.RightAlt then
  215. if isEnabled == true then
  216. isEnabled = false
  217. script.Parent.Parent.Enabled = false
  218. else
  219. isEnabled = true
  220. script.Parent.Parent.Enabled = true
  221. end
  222. end
  223. end)
  224. end
  225. coroutine.wrap(WDAV_fake_script)()
  226.  
Add Comment
Please, Sign In to add comment