I’m currently creating a nice note system where you can place post-it note like things, however you can only place it on certain parts. I’m currently using .Touched to try and do this, but .Touched doesn’t work even when I move the part it’s supposed to be placed on over it.
Snippets of code:
script.Parent.Equipped:Connect(function()
Equipped = true
local UI = script.NoteUI:Clone()
UI.Parent = LocalPlayer.PlayerGui
UI.Enabled = true
script.Parent.RemoteEvent:FireServer("Equip")
while task.wait() do
script.Parent.RemoteEvent:FireServer("MoveNote", Mouse.Hit.Position)
end
end)
elseif Action == "MoveNote" then
if Equipped then
ActiveNote.Position = Args[1]
end
end
Video of whats happening: