Answers for "how to check ours on roblox"

7

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)
Posted by: Guest on January-20-2021
0

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
Posted by: Guest on November-15-2020

Browse Popular Code Answers by Language