Hi why ist my script working?? I made it in a local script cause i want it to only happen for that one player and not for all? is there anyway to fix this here is the script:
If you want a local script to run inside an object in the workspace you have to do something different. LocalScripts work a little wonky based on where they are located
Create a Script, then set it’s RunContext property to Client. It should then run properly
Hi thanks guys but how do i make it so that when the player click the dectors only for him the block turns transparent? cause if it doesnt work in workspace then like what do i do?
Using same script, put it in startergui or starterplayerscripts.
local clickdetector = workspace.Part.ClickDetector -- path to ur clickdetector
clickdetector.MouseClick:Connect(function()
clickdetector.Parent.Transparency += 0.1
end)