Advertisement
ERROR_CODE

eyes click

Dec 3rd, 2023 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.33 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local EyesLabel = Instance.new("TextLabel")
  3. local EyeImage = Instance.new("ImageButton")
  4. local EyeImageUICorner = Instance.new("UICorner")
  5. local Eye = 9
  6. local EyeSound = Instance.new("Sound")
  7. local Id = "2097511282"
  8.  
  9.  
  10. EyeSound.Parent = game.Workspace
  11. EyeSound.SoundId = "rbxassetid://"..Id
  12. EyeSound.Playing = true
  13. EyeSound.Looped = false
  14. EyeSound.Volume = 1
  15. EyeSound:Stop()
  16. ScreenGui.Parent = game.CoreGui
  17.  
  18. EyesLabel.Name = "EyesLabel"
  19. EyesLabel.Parent = ScreenGui
  20. EyesLabel.Position = UDim2.new(0.88, 0, 0.2, 0)
  21. EyesLabel.Size = UDim2.new(0, 155, 0, 95)
  22. EyesLabel.Font = Enum.Font.IndieFlower
  23. EyesLabel.Text = "X10"
  24. EyesLabel.BackgroundTransparency = 1
  25. EyesLabel.TextColor3 = Color3.new(255, 255, 255)
  26. EyesLabel.TextSize = 85
  27.  
  28.  
  29. EyeImage.Name = "EyeImage"
  30. EyeImage.Parent = ScreenGui
  31. EyeImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32. EyeImage.Position = UDim2.new(0.85, 0, 0.25, 0)
  33. EyeImage.Size = UDim2.new(0, 70, 0, 50)
  34. EyeImage.BorderSizePixel = 0
  35. EyeImage.Image = "rbxassetid://15537763305"
  36. EyeImageUICorner.Parent = EyeImage
  37. EyeImageUICorner.CornerRadius = UDim.new(0.5, 0)
  38. EyeImage.MouseButton1Down:connect(function()
  39. EyesLabel.Text = "X"..Eye
  40. Eye = Eye - 1
  41. end)
  42.  
  43.  
  44. while wait() do
  45. if Eye == -1 then
  46. EyeImage.Visible = false
  47. EyesLabel.Visible = false
  48. end
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement