(output when I click on this blue brick below)
These are the properties of the part if they’re needed.
Not too sure if this is a building issue or a scripting one
I’m using Mouse.Target to check if the mouse is hovering over one of my vehicle spawn pads, it’s ignoring the SpawnPad and printing Terrain.
Code:
local Mouse
local function Equipped(mouse)
Mouse = mouse
end
local function Activated()
if Mouse then
if Mouse.Target then
print(Mouse.Target)
end
end
end
Tool.Equipped:Connect(Equipped)
Tool.Activated:Connect(Activated)
Any help is appreciated, thanks.