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: Cool scripts from 07

Previous Thread :: Next Thread 
007brie is not online. 007brie
Joined: 18 Mar 2009
Total Posts: 789
20 Dec 2011 05:36 PM
Here is a lot. The ones which affect the base, can only be use if you first run the first script listed.

=================================
BASEPLATENAME
================================
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Name = "Shane"
end
end



Roate base 45 degrees
=================================
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)


VELOCITY
====================================
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Velocity = Vector3.new(10000,0,0)
end
end

ROT VELOCITY
=============================
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].RotVelocity = Vector3.new(0,0,0)
end
end



CLEANUP
=========================
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
if p[i].Name ~= "Shane" then
p[i]:remove()
end
end
end
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
20 Dec 2011 05:38 PM
I highly doubt they're from 2007, and by the way, reported for off topic spam.

Pyzothon, novice scripter/programmer.
Report Abuse
007brie is not online. 007brie
Joined: 18 Mar 2009
Total Posts: 789
20 Dec 2011 05:39 PM
Search
Jetpack script

And title rephrase:
Why don't these scripts work
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
20 Dec 2011 05:45 PM
    local p = game.Workspace:GetChildren()
    for i = 1, #p do
        if p[i]:IsA("Part") then
            p[i].Name = "Shane"
        end
    end

    local p = game.Workspace:GetChildren()
    for i = 1, #p do
        if p[i]:IsA("Part") then
            p[i].Velocity = Vector3.new(10000, 0, 0)
        end
    end

    local p = game.Workspace:GetChildren()
    for i = 1, #p do
        if p[i]:IsA("Part") then
            p[i].RotVelocity = Vector3.new(0, 0, 0)
        end
    end

    local p = game.Workspace:GetChildren()
    for i = 1, #p do
        if p[i]:IsA("Part") then
            if p[i].Name ~= "Shane" then
                p[i]:Destroy()
            end
        end
    end

Those four should work...

Pyzothon, novice scripter/programmer.
Report Abuse
007brie is not online. 007brie
Joined: 18 Mar 2009
Total Posts: 789
20 Dec 2011 05:45 PM
Ok thanks
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 06:11 PM
"Roate base 45 degrees
=================================
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)


That doesn't rotate 45 degrees.
It rotates the base 57.295779513082320876798154814105 degrees.
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
20 Dec 2011 06:12 PM
game.Workspace.Shane.CFrame = CFrame.Angles(math.rad(45), 0, 0)

Maybe?

Pyzothon, novice scripter/programmer.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 06:17 PM
Or math.pi/4.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Dec 2011 06:28 PM
Well, by memory pi is 3.14159265.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 06:31 PM
3.14159265358987328

Not sure about the 8, but all the others I know for a fact. ^_^
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 06:32 PM
3.14159265358979328 ****

Keyboard fail.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
20 Dec 2011 06:35 PM
@person above firefox

he is talking about pi/4 radians. if pi radians is 180 degrees, pi/4 = 45
Report Abuse
xxxxIrockzxxxx is not online. xxxxIrockzxxxx
Joined: 02 Jun 2011
Total Posts: 7255
20 Dec 2011 07:08 PM
lololololo i am 007bries main
Report Abuse
Artixlol9999 is not online. Artixlol9999
Joined: 11 Sep 2010
Total Posts: 915
20 Dec 2011 08:04 PM
07?
Report Abuse
Merlin11188 is not online. Merlin11188
Joined: 20 Dec 2007
Total Posts: 4158
20 Dec 2011 08:08 PM
math.pi contains more digits than you think.
print(math.pi) --> 3.1415926535898
print(math.pi == 3.1415926535898) --> false
Anyway, math.rad(45) should work.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 08:12 PM
Pi has infinite amount of digits (thus far).
I can only memorize the first 16-17 digits.


3.141592653589793238


There's 19 digits off the top of my head.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Dec 2011 09:06 PM
I can only remember: 3.14159265... D:. There's on the top of mine, XD.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
20 Dec 2011 09:16 PM
Is it odd that I memorize all of these:

DLN
SSN
3.141592653589793846264



???? >_<
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
20 Dec 2011 09:32 PM
Well, your an adult I'm just thirteen, but that's a probability, XD.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
20 Dec 2011 11:45 PM
Is he really an adult? Shoot I thought he was like 15 maybe.
Report Abuse
Pyzothon is not online. Pyzothon
Joined: 26 Oct 2011
Total Posts: 822
21 Dec 2011 06:38 AM
No, I thought AFF was in high school or something, he's "studying" for his exams.

Pyzothon, novice scripter/programmer.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
21 Dec 2011 02:13 PM
I am (considered) and adult, as I am over 17 years. I'm in high school at the moment.
Stupid state laws prevent me from graduating early, even when I have more than enough credits to graduate...
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