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: What did I do wrong again :(

Previous Thread :: Next Thread 
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
21 Apr 2015 08:06 PM
local Target = script.Parent
local Num = script.Parent.Value
function onClick()
local Clone = Target:Clone()
Clone.CFrame = CFrame.new(Target.Position)
Clone.Name = "Clone" ..Num.Value
Num.Value = Num.Value + 1
Clone.BrickColor = BrickColor:Random()
Clone.Parent = game.Workspace
endTarget.ClickDetector.MouseClick:connect(onClick)


Lord Of The Epic Face R$690/R$10,000
Report Abuse
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
21 Apr 2015 08:07 PM
qq


Lord Of The Epic Face R$690/R$10,000
Report Abuse
BossfightX is not online. BossfightX
Joined: 06 Feb 2010
Total Posts: 2962
21 Apr 2015 08:09 PM
local Target = script.Parent
local Num = script.Parent.Value
function onClick()
local Clone = Target:Clone()
Clone.CFrame = CFrame.new(Target.Position)
Clone.Name = "Clone" ..Num.Value
Num.Value = Num.Value + 1
Clone.BrickColor = BrickColor:Random()
Clone.Parent = game.Workspace
end
Target.ClickDetector.MouseClick:connect(onClick)



At the last line you forgot to put a piece of code into another line. Your typo made me lol.
Report Abuse
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
22 Apr 2015 04:14 PM
oops
Report Abuse
xman262 is not online. xman262
Joined: 24 Aug 2010
Total Posts: 19094
22 Apr 2015 04:17 PM
It wont work
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