I'm working on a game and I need to know how to make a brick teleport? if you could help me that would be great. Thanks!
brick=Workspace.Part --change that to your brick brick.CFrame=CFrame.new(0,100,0) --change that to your position
Depends..if to another game then no. but to another place then yes. (http://)www.youtube.com/watch?v=aqwZ9B-I4MI
brick=Workspace["Part"] --change part to your brick's name. brick.CFrame=CFrame.new(brick.Position)
I used SamuelKing's script and made it easier for the user. If you are asking for a teleport to teleport brick, you need something different.
Ting = 0 script.Parent.Touched:connect(function(p) if p.Parent:findFirstChild("Torso") and Ting == 0 then Ting = 1 p.Parent.Torso.CFrame = script.Parent.Parent["Name of Brick1"].CFrame + Vector3.new(0,5,0) wait(Seconds You Want For It To Not Funtion) Ting = 0 end end)
Then for brick 2:
Ting = 0 script.Parent.Touched:connect(function(p) if p.Parent:findFirstChild("Torso") and Ting == 0 then Ting = 1 p.Parent.Torso.CFrame = script.Parent.Parent["Name of Brick2"].CFrame + Vector3.new(0,5,0) wait(Seconds You Want For It To Not Function) Ting = 0 end end)