local part = script.Parent -- Create a ClickDetector so we can tell when the part is clicked local cd = Instance.new("ClickDetector", part) -- This function updates how the part looks based on its Anchored state local function updateVisuals() if
This tutorial will show you how to make a clickdetector script on Roblox. A clickdetector is used for when you want to give a brick the ability to be clicked. This offers many levels of customisation as to what happens after the brick has been clicked. in
I'm trying to make this compatible using Filtering Enabled, but i can't seem to get the click detector to respond please help? wait(0.1) --Declarations-- local ready = true local surfacegui = script.Parent.SurfaceGui local stuff = surfacegui.Frame
Post a Comment:
Showing 0 Comments: