Right now when i hover over baseplate the hover flickers alot any help?
local players = game:GetService("Players")
local plr = players.LocalPlayer
local PosStart = game.Workspace.PosTree.PrimaryPart.CFrame
local runService = game:GetService("RunService")
wait(0.5)
local mouse = plr:GetMouse()
function ishovering(part)
if mouse.Target == part then
workspace.PosTree.PrimaryPart.CFrame = CFrame.new(mouse.Hit.Position)
else
workspace.PosTree.PrimaryPart.CFrame = PosStart
end
end
runService.Heartbeat:Connect(function()
local h = ishovering(workspace.Baseplate)
end)