|
| 03 Nov 2012 03:31 PM |
(BEFORE you start calling me a idiot I don't know anything hardly about scripting)
function onTouched(part)
game.Workspace.Player.Torso.CFrame = CFrame.new(Vector3.new(444, 1.8, -222))
(end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 03 Nov 2012 03:35 PM |
function onTouched(part)
game.Workspace.Player.Torso.CFrame = CFrame.new(Vector3.new(444, 1.8, -222))
end |
|
|
| Report Abuse |
|
|
| |
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 03 Nov 2012 03:36 PM |
| And you need a connection for it. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 03:39 PM |
| Please refer to the first line of the first post. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 03 Nov 2012 03:56 PM |
put the script in the part that is touched.
script.Parent.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Nov 2012 03:57 PM |
function onTouched(part) if part.Parent:findFirstChild("Humanoid") then part.Parent.Torso.CFrame = CFrame.new(Vector3.new(444, 1.8, -222)) end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:00 PM |
| Will it work if I test in studio mode? |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:01 PM |
@blackboy167thst Needs another end.
function onTouched(part) if part.Parent:findFirstChild("Humanoid") then part.Parent.Torso.CFrame = CFrame.new(Vector3.new(444, 1.8, -222)) end end script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:04 PM |
Thanks Gamer!
My scripting= the IQ of a rock. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:05 PM |
Didn't see that ._. Gamer, can I ask you a question?
How did you make that donation bar with the scrolling? |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:09 PM |
| Its okay ^_^ I'm going to credit you in my game anyways. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 04:35 PM |
@blackboy167thst
I used this :
http://wiki.roblox.com/index.php/CreateSlider_(Function) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:29 PM |
New question: I need a script that and remove the tools form the Starterpack, I thought I saw a tutorial for it on the Wiki but I can't find it. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:30 PM |
| StarterPack:ClearAllChildren() |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:31 PM |
| Oh. Well now I AM a idiot. (I just started scripting today.) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:35 PM |
| Nope, clearallchildren uses :Remove() |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Nov 2012 05:36 PM |
CFrame.new(Vector3.new(444, 1.8, -222))
IS SAME AS
CFrame.new(444, 1.8, -222) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:38 PM |
Chop
Dude, if the parent isn't the starterpack, it won't be given to players = correct effect wanted
k so forgive me if im too lazy to write the 2 extra lines that do nothing to affect the game kthx |
|
|
| Report Abuse |
|
|
| |
|