local Bell = game.workspace.bellmodel.Bell.bellhitbox
Bell.ClickDetector.MouseClick:Connect(function(hit)
if Bell.ClickDetector.MouseClick == true then
game.Workspace[“Boat Model”].Position = Vector3(360, 163.12, -80.714)
wait(.05)
game.Workspace[“Boat Model”].Transparency = 0
end
end)
I used print(“Hello world!”) to see if the event was truly being triggered, which it was, but now I’m out of ideas as to why this won’t function.
Any help?
local Bell = workspace.bellmodel.Bell.bellhitbox
Bell.ClickDetector.MouseClick:Connect(function(hit)
workspace["Boat Model"].Position = Vector3.new(360, 163.12, -80.714) -- Vector3.new is the constructor, not just Vector3
task.wait(.05) -- you should increase this, the amount of time here is way too low to notice anything
workspace["Boat Model"].Transparency = 0
end)
Is Boat Model a Model? If so, you cannot use Position and Transparency for that.
oh well yes its a model, I didn’t know.
also the wait time is temporary ill change it to the time it takes for a certain sound file
also thanks for the notes I’m new as you can tell lol