Advertisement
xXEpicScripterXx

Hitbox script ability wars

Dec 13th, 2022 (edited)
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. -- working for every game*
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local label = Instance.new("TextLabel")
  6. local Hitbox =
  7. Instance.new("TextButton")
  8.  
  9. ScreenGui.Parent = game.CoreGui
  10.  
  11. main.Name = "main"
  12. main.Parent = ScreenGui
  13. main.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  14. main.Position = UDim2.new(0.40427351, 0, 0.34591195, 0)
  15. main.Size = UDim2.new(0, 100, 0, 100)
  16. main.Active = true
  17. main.Draggable = true
  18.  
  19. label.Name = "label"
  20. label.Parent = main
  21. label.BackgroundColor3 = Color3.fromRGB(139,0,0)
  22. label.Size = UDim2.new(0, 100, 0, 20)
  23. label.Font = Enum.Font.SourceSans
  24. label.Text = "Teen Titan GUI"
  25. label.TextColor3 = Color3.fromRGB(0, 0, 0)
  26. label.TextScaled = true
  27. label.TextSize = 5.000
  28. label.TextWrapped = true
  29.  
  30. Hitbox.Name = "Hit box"
  31. Hitbox.Parent = main
  32. Hitbox.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  33. Hitbox.Position = UDim2.new(0.114285722, 0, 0.372448981, 0)
  34. Hitbox.Size = UDim2.new(0, 90, 0, 40)
  35. Hitbox.Font = Enum.Font.SourceSans
  36. Hitbox.Text = "Hit box"
  37. Hitbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  38. Hitbox.TextSize = 40.000
  39. Hitbox.MouseButton1Down:connect(function()
  40. _G.HeadSize = 30
  41.  
  42.  
  43. _G.Disabled = true
  44.  
  45.  
  46. game:GetService('RunService').RenderStepped:connect(function()
  47. if _G.Disabled then
  48. for i,v in next, game:GetService('Players'):GetPlayers() do
  49. if v.Name ~= game:GetService('Players').LocalPlayer.Name then
  50. pcall(function()
  51. v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
  52. v.Character.HumanoidRootPart.Transparency = 0.7
  53. v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
  54. v.Character.HumanoidRootPart.Material = "Neon"
  55. v.Character.HumanoidRootPart.CanCollide = false
  56. end)
  57. end
  58. end
  59. end
  60. end)
  61. end)
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement