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: Another debug script help

Previous Thread :: Next Thread 
neongoo51 is not online. neongoo51
Joined: 12 May 2009
Total Posts: 33061
13 Apr 2012 03:08 AM
(90% of the threads I post here are about debugging anyway, Lol)

function DropTrash(part)
m = Instance.new("Part", workspace)
m.Name = PlasticBag
m.Size = Vector3.new(10,10,10)
m.Position = Vector3.new(0,39898,-44)
m.BrickColor = BrickColor.new(1003)
e = Instance.new("SpecialMesh", workspace)
e.Parent = m
e.MeshID = "http://www.roblox.com/asset/?id=25921854"
e.Scale = Vector3.new(22,20,22)
end

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

The script is supposed to make a new object, but the object does not appear at all.

Notes:
- I tried running it in Tools > Play solo
- It's supposed to have a really high altitude
- The output doesn't print anything
Report Abuse
neongoo51 is not online. neongoo51
Joined: 12 May 2009
Total Posts: 33061
13 Apr 2012 03:34 AM
function Bump()
Report Abuse
neongoo51 is not online. neongoo51
Joined: 12 May 2009
Total Posts: 33061
13 Apr 2012 04:14 AM
I guess I'll have to fix it some other time.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
13 Apr 2012 06:17 AM
Insert Prints and check again.
Report Abuse
neongoo51 is not online. neongoo51
Joined: 12 May 2009
Total Posts: 33061
13 Apr 2012 06:52 AM
It still doesn't print anything.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
13 Apr 2012 07:35 AM
It isn't disabled, right?
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