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: Im new to scripting is this right?

Previous Thread :: Next Thread 
LordDray is not online. LordDray
Joined: 02 Apr 2011
Total Posts: 1307
13 Sep 2011 05:16 PM
a=Anchored
b=CanCollide
c=Part

if c.b=true
wait(10)
then c.a=True
end

THIS IS JUST A TEST IDK IF IT IS REAL
Report Abuse
ScriptDrone is not online. ScriptDrone
Joined: 24 Jun 2010
Total Posts: 64
13 Sep 2011 05:18 PM


c = game.Workspace.Part -- assuming it's name is Part...
if c.Anchored ~= true then
c.Anchored = true
else
print("Anchored already :U")
end
Report Abuse
Cachinnation is not online. Cachinnation
Joined: 21 Aug 2011
Total Posts: 1797
13 Sep 2011 05:21 PM
c = game:FindFirstChild("Part",true)

if not c.Anchored then
c.Anchored = true
else print("Anchored already :U")
end
Report Abuse
ScriptDrone is not online. ScriptDrone
Joined: 24 Jun 2010
Total Posts: 64
13 Sep 2011 05:22 PM
@Cach

If Anchored is a Boolean, I don't think line 3 on yours will work.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
13 Sep 2011 05:25 PM
@Script - If you're talking about the if statement, yes it would work.


-Like an __AWESOME__ boss
Report Abuse
ScriptDrone is not online. ScriptDrone
Joined: 24 Jun 2010
Total Posts: 64
13 Sep 2011 05:26 PM
Hm..
Can someone help me also?
http://www.roblox.com/Forum/ShowPost.aspx?PostID=54762237

Because you seem to help everyone but me.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
13 Sep 2011 05:29 PM
Just did. :P


-Like an __AWESOME__ boss
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