how to know who clicked a click detector roblox
function GoGoGo()
print("executing some code")
print("code code code")
error("error!!")
end
script.Parent.ClickDetector.MouseClick:Connect(GoGoGo)
how to know who clicked a click detector roblox
function GoGoGo()
print("executing some code")
print("code code code")
error("error!!")
end
script.Parent.ClickDetector.MouseClick:Connect(GoGoGo)
lua click detection
local clickDetector = workspace.Part.ClickDetector
function onMouseClick()
print("You clicked me!")
end
clickDetector.MouseClick:connect(onMouseClick)
click detector roblox
function onClicked()
--code here
end
script.Parent.ClickDetector.MouseClick:Connect(onClicked)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us