Weird_Dood

Danger

Dec 26th, 2023
824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | Source Code | 0 0
  1. local balloon = game.workspace.HERE
  2.  
  3. script.Parent.ClickDetector.MouseClick:Connect(function()
  4.     script.Parent.Transparency = 1
  5. end)
  6.  
  7. while true do
  8.     wait()
  9.     if balloon.Position.Y >= script.Parent.Position.Y - 4.35 and balloon.Position.Y <= script.Parent.Position.Y - 3 and balloon.Position.X <= script.Parent.Position.X - 4 and balloon.Position.X >= script.Parent.Position.X + 4 and script.Parent.Transparency == 0 then
  10.         script.Parent.Parent.Value.Value = 1
  11.     end
  12. end
  13.  
Advertisement
Add Comment
Please, Sign In to add comment