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)
roblox if position of block
local pos = Vector3.new(0,1,0) -- not the actual position
local region = GetFromRegionsTable(regionName)
local parts = game:GetService("Workspace"):FindPartsInRegion3(region)
for _,part in pairs(parts) do
if part.pos == pos then
print("Found part inside region!")
break
end
end
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