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: Hopperbin NOT working

Previous Thread :: Next Thread 
Darkorbitrocks123 is not online. Darkorbitrocks123
Joined: 27 May 2011
Total Posts: 604
07 Oct 2014 08:29 PM
I have a hopperbin that spawns vehicles on mouse click. For some reason it doesn't work when you play the place. But works perfectly fine in Solo Mode. And no errors show up in the output or Script Analysis -_-


bin = script.Parent

function onButton1Down(mouse)

local model = bin.Figure:clone()

model.Parent = game.Workspace
model:MakeJoints()
model:MoveTo(mouse.hit.p)

end

function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end



bin.Selected:connect(onSelected)
Report Abuse
Darkorbitrocks123 is not online. Darkorbitrocks123
Joined: 27 May 2011
Total Posts: 604
07 Oct 2014 08:31 PM
[Starter bump]
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
07 Oct 2014 09:04 PM
Is it in a Local script?
Report Abuse
Darkorbitrocks123 is not online. Darkorbitrocks123
Joined: 27 May 2011
Total Posts: 604
07 Oct 2014 09:06 PM
No it is not. Should it be?
Report Abuse
Subete is not online. Subete
Joined: 10 Jul 2011
Total Posts: 917
07 Oct 2014 09:13 PM
yees
Report Abuse
Darkorbitrocks123 is not online. Darkorbitrocks123
Joined: 27 May 2011
Total Posts: 604
07 Oct 2014 09:21 PM
Oh wow, that simply. Thanks guys.
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