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 » Scripters
Home Search
 

Re: Quiz: Scripter

Previous Thread :: Next Thread 
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:05 PM
Can someone fix this script?
Its inside of a tool and when you click using the tool a model is supposed to spawn by you. See who can fix it first!
__________________________________________________________

--Info: To Use This Just Inset A Model Inside This Tool And Change The Name Where It Says Below

bin = script.Parent

function onButton1Down(mouse)

local model = bin.Figure:clone() --Change "Plane" to What Ever Model Name You Have

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

end

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



bin.Selected:connect(onSelected)
Report Abuse
ThatChristianGuy is not online. ThatChristianGuy
Joined: 14 Jun 2014
Total Posts: 1283
06 Oct 2015 09:07 PM
Freemodel much?
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:10 PM
Still fixable
Report Abuse
jmt99 is not online. jmt99
Joined: 27 Jul 2008
Total Posts: 4799
06 Oct 2015 09:10 PM
well first of all, you are using a hopper bin, so there's a problem there lmao


and second, :clone() is deprecated, use :Clone()




#code game["GetService"]("LoginService")["Logout"]()
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:13 PM
Could you help make a working version? I have been playing around with it for a while and can't fix it.
Report Abuse
jmt99 is not online. jmt99
Joined: 27 Jul 2008
Total Posts: 4799
06 Oct 2015 09:14 PM
dont use hopperbins


#code game["GetService"]("LoginService")["Logout"]()
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:17 PM
I'm not that familiar with hopperbins, if it isn't too much could post the working version of the script? Really struggling with this.
Report Abuse
jmt99 is not online. jmt99
Joined: 27 Jul 2008
Total Posts: 4799
06 Oct 2015 09:19 PM
You need to transfer the scripts to a normal tool, not a hopperbin, and then rework the script a tad bit to make it work with a tool.


#code game["GetService"]("LoginService")["Logout"]()
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:19 PM
Ah, thanks!
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:27 PM
Alright the script is in a hopperbin, but how would I rework the script to work with a regular tool?
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 09:38 PM
-
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
06 Oct 2015 09:51 PM

--Put your thing named "Figure" into Server Storage
local ss = game:GetService("ServerStorage").Figure

local Cloned = ss:Clone()

local bin = script.Parent

function clone(mouse)

local new = Cloned:Clone()
new.Parent = Workspace
new:MoveTo(mouse.Hit.p)

end

bin.Selected:connect(function(mouse)
mouse.Button1Up:connect(function()
clone(mouse)
end)
end)
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 11:26 PM
Thanks!
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
06 Oct 2015 11:36 PM
Didn't work! :(
Are the scripts supposed to be in a HopperBin or regular Too?
Report Abuse
jmt99 is not online. jmt99
Joined: 27 Jul 2008
Total Posts: 4799
07 Oct 2015 02:35 PM
A regular tool.


#code game["GetService"]("LoginService")["Logout"]()
Report Abuse
CruzeControl is not online. CruzeControl
Joined: 20 Aug 2012
Total Posts: 1073
07 Oct 2015 07:03 PM
No idea how to get this to work..
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
07 Oct 2015 07:44 PM
Gr8B8M8iR8it8/8
Report Abuse
nodnarb2 is not online. nodnarb2
Joined: 24 Jun 2011
Total Posts: 764
07 Oct 2015 08:27 PM
gosh dang hopperbins ruining free models 4 all!


http://www.roblox.com/Recycled-Domino-Crown-100-TAKES-item?id=240294006 love me?
Report Abuse
magicalandre13 is not online. magicalandre13
Joined: 21 Jan 2011
Total Posts: 5327
07 Oct 2015 09:05 PM
tip: don't try to be like, "LETS SEE WHO CAN FIGURE IT OUT FIRST CUZ I NEED QUICK HELP"


but you could ask nicely, we won't bite
Report Abuse
TaintedCode is not online. TaintedCode
Joined: 01 Oct 2015
Total Posts: 19
07 Oct 2015 09:07 PM
@magic, Of course we will bite! Using free models is bad enough, asking for help with a free model is even worse
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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