#I had a similar problem a while ago but this one is way more complicated for whatever reason

3 messages · Page 1 of 1 (latest)

dry fable
#

Hello! Since you are new ima give you a tip about using click detectors: Dont. Instead do this:

local mouse = game.Players.LocalPlayer:GetMouse()

mouse.Move:Connect(function()
if mouse.Target.Name == "" then
—what should happen when hovering over?
else
—reset to default here
end
end)
#

Make sure to replace "" with the actual name of the part. You can also use :HasTag("NAME OF TAG") to check if its the correct part

#

You can use mouse.Button1Down:Connect(function() end) to detect when player clicked