So, I’m trying to make it so if my ship collides with ice it will print the text HIT in output.
But it is not working and I have tried a few scripts but nothing worked.
Here is the script
local ICE = game.Workspace.Union
local SHIP = game.Workspace.TESTSHIPworkspace.Union.Touched:Connect(function(partTouching)
if SHIP == partTouching then print(“HIT”)end
end)
Any help would be appreciated
Thanks in advance!