So I made this simple script that will teleport a block using vector 3
It worked well, but i have a problem.
If you stand in that position the block will spawn on top of you or on top of a different part.
Any way to fix this??
script.Parent.ClickDetector.MouseClick:Connect(function() local Block = game.ServerStorage.Block Block.Parent = game.Workspace Block.Position = Vector3.new(0.8, 0.5, 12.76) wait(1) Block:Destroy() end)
You can set the CFrame instead, Vector3 will always round off the position till its not touching anything
script.Parent.ClickDetector.MouseClick:Connect(function() local Block = game.ServerStorage.Block Block.Parent = game.Workspace Block.CFrame = CFrame.new(0.8, 0.5, 12.76) wait(1) Block:Destroy() end)