Once it the part (Bomb) hits the position it's supposed to hit, it should anchor. But, it won't anchor, but instead I'll get an error once the part hits the ground that says,
"ServerScriptService.BombDropScript:10: attempt to call a Vector3 value."
Script I did:
local bomb = game.Workspace.Bomb local rope = game.Workspace.Rope
wait(5)
bomb.Anchored = false rope.Transparency = 1 rope.Fire.Size = 2
if bomb.Position (-56, 2, -12) then bomb.Anchored = true end
I feel like I'm doing something wrong, but I don't know what it is.
I tried fixing the script. Try replacing it with this instead.
local bomb = game.Workspace.Bomb local rope = game.Workspace.Rope wait(5) bomb.Anchored = false rope.Transparency = 1 rope.Fire.Size = 2 if bomb.Position = Vector3.new(-56, 2, -12) then bomb.Anchored = true end
It should work normally. Tell me if it didn't.