Advertisement
HowToRoblox

OnClickCreditsScript

Dec 24th, 2019
1,933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local function onClick()
  2.    
  3.     script.Parent.Parent.Visible = false
  4.    
  5.     script.Parent.Parent.Parent.Credits.Visible = true
  6.    
  7. end
  8.  
  9. script.Parent.MouseButton1Click:Connect(onClick)
  10. script.Parent.CreditsButton.MouseButton1Click:Connect(onClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement