Advertisement
lllkkklkk

project G0D V1

Jul 27th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. -- Place this script in StarterCharacterScripts or StarterPlayerScripts
  2.  
  3. local Players = game:GetService("Players")
  4. local player = Players.LocalPlayer
  5. local character = player.Character or player.CharacterAdded:Wait()
  6. local humanoid = character:WaitForChild("Humanoid")
  7.  
  8. -- Set the player's health to 99999
  9. humanoid.MaxHealth = 99999
  10. humanoid.Health = 99999
  11.  
  12. -- Billboard GUI setup
  13. local billboardGui = Instance.new("BillboardGui")
  14. billboardGui.Name = "G0DGui"
  15. billboardGui.Adornee = character:WaitForChild("Head")
  16. billboardGui.Size = UDim2.new(4, 0, 1, 0)
  17. billboardGui.StudsOffset = Vector3.new(-2, 1.5, 0) -- Adjusted to position it 2 studs to the left and 1.5 studs above the head
  18. billboardGui.AlwaysOnTop = true
  19.  
  20. local textLabel = Instance.new("TextLabel")
  21. textLabel.Size = UDim2.new(1, 0, 1, 0)
  22. textLabel.BackgroundTransparency = 1
  23. textLabel.Text = "G0D"
  24. textLabel.Font = Enum.Font.SourceSans -- Temporary font, will set to Michroma later
  25. textLabel.TextScaled = true
  26. textLabel.TextStrokeTransparency = 0.5
  27. textLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- Initial color
  28.  
  29. billboardGui.Parent = character:WaitForChild("Head")
  30. textLabel.Parent = billboardGui
  31.  
  32. -- Function to cycle through colors to create a rainbow effect
  33. local colors = {
  34. Color3.fromRGB(255, 0, 0), -- Red
  35. Color3.fromRGB(255, 127, 0), -- Orange
  36. Color3.fromRGB(255, 255, 0), -- Yellow
  37. Color3.fromRGB(0, 255, 0), -- Green
  38. Color3.fromRGB(0, 0, 255), -- Blue
  39. Color3.fromRGB(75, 0, 130), -- Indigo
  40. Color3.fromRGB(148, 0, 211) -- Violet
  41. }
  42.  
  43. local currentIndex = 1
  44.  
  45. local function updateTextColor()
  46. textLabel.TextColor3 = colors[currentIndex]
  47. end
  48.  
  49. local function updateBodyColor()
  50. for _, part in ipairs(character:GetChildren()) do
  51. if part:IsA("BasePart") then
  52. part.Color = colors[currentIndex]
  53. end
  54. end
  55. end
  56.  
  57. -- Function to make the TextLabel shake
  58. local function shakeTextLabel()
  59. local offset = math.random(-5, 5) -- Change the range for more or less shake
  60. textLabel.Position = UDim2.new(0.5, offset, 0.5, offset)
  61. end
  62.  
  63. -- Change color and shake every 0.1 seconds
  64. while true do
  65. updateTextColor()
  66. updateBodyColor()
  67. shakeTextLabel()
  68. currentIndex = (currentIndex % #colors) + 1
  69. wait(0.1)
  70. end
  71.  
  72. -- Function to set the Michroma font
  73. local function setMichromaFont()
  74. -- This will only work if Michroma font is available and correctly named
  75. textLabel.Font = Enum.Font.SourceSans
  76. end
  77.  
  78. setMichromaFont()
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement