View previous topic :: View next topic |
Author |
Message |
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 1:52 am Post subject: Teleport Brick |
|
|
Name:Tele brick
Items needed: game.Workspace.tele1 (this is the brick that will be stepped on)
game.Workspace.tele2 (this is the brick that the user will be moved to if they step on tele1)
Desc. When a user steps on tele1 , it will move them to the location of tele2
Please help if you can!!
This is what i have so far:
function onTouch(part)
local h = part.Parent:findFirstChild()
if h~= nill then
h.Position=game.Workspace.tele2
end
end
connection = script.Parent.Touched:connect(onTouch) |
|
Back to top |
|
|
kiddietron Site Admin
Joined: 06 Feb 2008 Posts: 797 Location: On Roblox
|
Posted: Sat Feb 09, 2008 2:09 am Post subject: |
|
|
brick = script.Parent
debounce = false
function onTouched(part)
if debounce == true then return end
if part.Parent == game.Workspace then
if part.Anchored == false then
part.Position = game.Workspace.tele2.Position
end
else
debounce = true
local h = part.Parent:findFirstChild("Humanoid")
if h == nil then return end
local x = game.Workspace.tele2.Position.x
local y = game.Workspace.tele2.Position.y
local z = game.Workspace.tele2.Position.z
part.Parent:move(Vector3.new(x,y,z))
end
end
wait(3)
debounce = false
end
script.Parent.Touched:connect(onTouched)
Once again I haven't tested. Might Work. _________________ �Kiddietron
�Phailing at making a signature
Free Money here just sign up and click away.
http://bux.to/?r=kiddietron
Spam is for noobs.
|
|
Back to top |
|
|
robloxcop2/ROBLOXianuser Delta Corp Veteran
Joined: 06 Feb 2008 Posts: 339 Location: Mississippi
|
Posted: Sat Feb 09, 2008 2:12 am Post subject: |
|
|
There's already a Tele Brick... _________________ .`~Delta Corp Veteran~'.
Find me on ROBLOX as robloxcop2.
I <3 pie |
|
Back to top |
|
|
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 2:13 am Post subject: |
|
|
It didnt work but thanks for trying Kiddietron |
|
Back to top |
|
|
kiddietron Site Admin
Joined: 06 Feb 2008 Posts: 797 Location: On Roblox
|
Posted: Sat Feb 09, 2008 2:14 am Post subject: |
|
|
Alright I'll actually go test. _________________ �Kiddietron
�Phailing at making a signature
Free Money here just sign up and click away.
http://bux.to/?r=kiddietron
Spam is for noobs.
|
|
Back to top |
|
|
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 2:14 am Post subject: |
|
|
Sorry for the Double Post, but robloxcop what can I type in to find the Tele brick?? |
|
Back to top |
|
|
robloxcop2/ROBLOXianuser Delta Corp Veteran
Joined: 06 Feb 2008 Posts: 339 Location: Mississippi
|
Posted: Sat Feb 09, 2008 2:16 am Post subject: |
|
|
Go to All Models, then type Teleport... _________________ .`~Delta Corp Veteran~'.
Find me on ROBLOX as robloxcop2.
I <3 pie |
|
Back to top |
|
|
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 2:17 am Post subject: |
|
|
Thats the teleport tool that teles you to where you want.. Im talking about a brick called tele1 that when you step on , it teleports you to the exact location of a brick called tele2..... I think Kiddietron is trying to solve the problem with the script :\ |
|
Back to top |
|
|
kiddietron Site Admin
Joined: 06 Feb 2008 Posts: 797 Location: On Roblox
|
Posted: Sat Feb 09, 2008 2:20 am Post subject: |
|
|
I fixed it, I'll post a link on my releases page. _________________ �Kiddietron
�Phailing at making a signature
Free Money here just sign up and click away.
http://bux.to/?r=kiddietron
Spam is for noobs.
|
|
Back to top |
|
|
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 2:23 am Post subject: |
|
|
Yay Thank you again Kiddietron |
|
Back to top |
|
|
kiddietron Site Admin
Joined: 06 Feb 2008 Posts: 797 Location: On Roblox
|
Posted: Sat Feb 09, 2008 2:24 am Post subject: |
|
|
Did you get it? _________________ �Kiddietron
�Phailing at making a signature
Free Money here just sign up and click away.
http://bux.to/?r=kiddietron
Spam is for noobs.
|
|
Back to top |
|
|
ganswish Beginner Poster
Joined: 06 Feb 2008 Posts: 37
|
Posted: Sat Feb 09, 2008 2:38 am Post subject: |
|
|
Ya I got it Thanks |
|
Back to top |
|
|
kiddietron Site Admin
Joined: 06 Feb 2008 Posts: 797 Location: On Roblox
|
Posted: Sat Feb 09, 2008 2:47 am Post subject: |
|
|
Oh btw, miked has had a teleport brick system for a long time. Lol. I've wanted to make my own for a while though. _________________ �Kiddietron
�Phailing at making a signature
Free Money here just sign up and click away.
http://bux.to/?r=kiddietron
Spam is for noobs.
|
|
Back to top |
|
|
|