So the current script is something like this, even if it doesn't really have anything to do with the problem addressed.
Mouse.Button2Down:connect(function()
local Clone = game.ServerStorage.RightClick:clone()
if not Player.PlayerGui.ScreenGui:FindFirstChild("RightClick") and Mouse.Target.Name == "Part" then
Clone.Parent = Player.PlayerGui.ScreenGui
Clone.Position = UDim2.new(0, ((Mouse.X)-90), 0, ((Mouse.Y)-20))
Clone.Spot.Value = Mouse.Target.Name
wait(.5)
print(Clone.Spot.Value)
end
end)
So, my issue is when I right click the part, the one under it is the one selected. Any ideas on how I could address this problem?
