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: C79 and Shorty's Help Thread!

Previous Thread :: Next Thread 
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 03:27 AM
Me and Shorty have agreed to make a help thread.We usally do scripting for others,sometimes we might do a little hard things.We mostly will try to fix scripts.


-C79
-Shorty
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 03:43 AM
Hmm,No one needs help?

-C79
Report Abuse
Shorty2315 is not online. Shorty2315
Joined: 05 Aug 2007
Total Posts: 1004
06 Jul 2008 03:45 AM
Step right up! Don't be shy! Who wants to be our first lucky contestant?!?!?

-Shorty
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 03:47 AM
Lol yeah,i make signitures in off-topic section,heres my signiture:

~-{[C]}~-*-~{[7]}-~*-~{[9]}-~
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:06 AM
Come on,the main point of this is to help people...

-(-/8l
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:11 AM
Barf
Up
Monkey
Parts
!

-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:13 AM
i gots a problem that you guys were helping me with >XP

http://www.roblox.com/Forum/ShowPost.aspx?PostID=1678086#1678480
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:15 AM
/\ Not helping person...<[>_<]>
[]
[]
[]


-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:16 AM
why not :(
Report Abuse
cymru72 is not online. cymru72
Joined: 26 Jan 2008
Total Posts: 4362
06 Jul 2008 04:16 AM
Why does'nt this work:

b = script.Parent.Parent.Parent.blockk -- this is the brick that changes apperance
b2 = script.parent.Parent.Parent.brick -- the brick that the other brick gets its apperance from
n = script.Parent.Parent

------------------------------------------
function onClicked()
------------------------------------------
b.BackSurface = b2.BackSurface
b.FrontSurface = b2.FrontSurface
b.BottomSurface = b2.BottomSurface
b.LeftSurface = b2.LeftSurface
brick.RightSurface = b2.RightSurface
b.TopSurface = b2.TopSurface
b.BrickColor = b2.BrickColor
wait(2)
n.Name = "Changes have been made!"
wait(5)
n.Name = "Finished editing? Click me to finish cutomization!"
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:19 AM
b = script.Parent.Parent.blockk -- this is the brick that changes apperance
b2 = script.Parent.Parent.Parent.brick -- the brick that the other brick gets its apperance from
n = script.Parent.Parent

------------------------------------------
function onClicked()
------------------------------------------
b.BackSurface = b2.BackSurface
b.FrontSurface = b2.FrontSurface
b.BottomSurface = b2.BottomSurface
b.LeftSurface = b2.LeftSurface
brick.RightSurface = b2.RightSurface
b.TopSurface = b2.TopSurface
b.BrickColor = b2.BrickColor
while true do
wait(2)
n.Name = "Changes have been made!"
wait(5)
n.Name = "Finished editing? Click me to finish cutomization!"
end
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)


-C79
Report Abuse
cymru72 is not online. cymru72
Joined: 26 Jan 2008
Total Posts: 4362
06 Jul 2008 04:20 AM
thanks il try it now :P
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:20 AM
Kk.


-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:21 AM
output is your friend :)

unfurtunatly mine isnt talking to me?......
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:22 AM
Lolz...I don't know how to use the ouput >:~(

-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:25 AM
ummm output tell you all that is wrong with your scripts

say you have n extra = somwhere in a huge 1000 line script...

output instantly tell you what line its on :)


just click and drag the little white bar a the bottom of your screen and put it up out put is there say hi :)
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:26 AM
Well i know how to make a random number in the output >:)


a = math.random(1, 100)
print(a)

-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:27 AM
yeah print does that

you can use print to see if a certain place in your script it even running :P
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:29 AM
Yeah >=P

-C79
Report Abuse
Shorty2315 is not online. Shorty2315
Joined: 05 Aug 2007
Total Posts: 1004
06 Jul 2008 04:30 AM
Sorry I'm back I just go done fixing Xenxe's gun....

-Shorty
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:31 AM
like say your script has no errors in it but it has somthing like function onhit(blah)

if hit == "cat"
print("cat splatted")
end
script.Parent.Touchedblah:connect(onhit)


but say your brick is accually named cat2 and so you wonder why it isnt working so you go look at you script and realize that it isnt printing that so you automatically know where the problem is


its a problem solver/time saver
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:47 AM
Lol catplatted XD


-C79
Report Abuse
Xenxe is not online. Xenxe
Joined: 15 Feb 2008
Total Posts: 3457
06 Jul 2008 04:50 AM
lol there is so many things wrong with that little mockup script i wrote in 2 seconds XD
Report Abuse
commander79 is not online. commander79
Joined: 18 Jan 2008
Total Posts: 2984
06 Jul 2008 04:52 AM
Lol...<[>_<]>

-C79
Report Abuse
cymru72 is not online. cymru72
Joined: 26 Jan 2008
Total Posts: 4362
06 Jul 2008 04:54 AM
shorty or commander could you help me again please ? this is my script:

b = script.Parent.Parent.Parent.blockk -- this is the brick that changes apperance
b2 = script.Parent.Parent.Parent.brick -- the brick that the other brick gets its apperance from
n = script.Parent.Parent

------------------------------------------
function onClicked() ----when you click the button "b" gets its apperance from "b2"
------------------------------------------
b.BackSurface = b2.BackSurface --changes its surfaces
b.FrontSurface = b2.FrontSurface
b.BottomSurface = b2.BottomSurface
b.LeftSurface = b2.LeftSurface
brick.RightSurface = b2.RightSurface
b.TopSurface = b2.TopSurface
b.BrickColor = b2.BrickColor -- changes its colours
b.Transparency = b2.Transparency -- chnages transparency
b.Reflectance = b2.Reflectance
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
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