generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Will this Work?

Previous Thread :: Next Thread 
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
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
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
03 Nov 2012 03:32 PM
No.
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:33 PM
The how do I fix it? :P
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
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
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:36 PM
Oh, Thanks!
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
03 Nov 2012 03:36 PM
And you need a connection for it.
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:39 PM
Please refer to the first line of the first post.
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:47 PM
:Connect.Player.Torso ?
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:55 PM
Need help here!
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
03 Nov 2012 03:56 PM
put the script in the part that is touched.


script.Parent.Touched:connect(onTouch)
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 03:57 PM
Ok Let me try it. :\
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
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
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 04:00 PM
Will it work if I test in studio mode?
Report Abuse
TheGamer101 is not online. TheGamer101
Joined: 14 Feb 2009
Total Posts: 11943
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
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 04:04 PM
Thanks Gamer!

My scripting= the IQ of a rock.
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
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
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 04:09 PM
Its okay ^_^ I'm going to credit you in my game anyways.
Report Abuse
TheGamer101 is not online. TheGamer101
Joined: 14 Feb 2009
Total Posts: 11943
03 Nov 2012 04:35 PM
@blackboy167thst

I used this :

http://wiki.roblox.com/index.php/CreateSlider_(Function)
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
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
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
03 Nov 2012 05:30 PM
StarterPack:ClearAllChildren()
Report Abuse
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 05:31 PM
Oh. Well now I AM a idiot. (I just started scripting today.)
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
03 Nov 2012 05:35 PM
Nope, clearallchildren uses :Remove()
Report Abuse
cntkillme is not online. 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
Woodstauk4 is not online. Woodstauk4
Joined: 27 Dec 2010
Total Posts: 3061
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
pokelunadog is not online. pokelunadog
Joined: 26 Apr 2011
Total Posts: 324
03 Nov 2012 05:53 PM
That is solved Cnt.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image