Advertisement
Existence_YT

[RobloxStudioProjects] EmergencyCallSys - CDB_Client

Nov 29th, 2019
1,190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local CDB = script.Parent
  2. local MainFrame = CDB.MainFrame
  3. local CallHolder = MainFrame.CallHolder
  4. local Toggle_CD = CDB.Toggle_CD
  5.  
  6. local Open = false
  7. Toggle_CD.MouseButton1Click:Connect(function()
  8.     if Open then
  9.         MainFrame.Visible = false
  10.         wait(.1)
  11.         Open = false
  12.     elseif not Open then
  13.         MainFrame.Visible = true
  14.         wait(.1)
  15.         Open = true
  16.     end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement