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
 

Need Help, WILL PAY!!

Previous Thread :: Next Thread 
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 09:32 AM
I am trying to learn scripting so I can't make this yet. I am trying to make a coin that a person can get only one time, but other people can also get it one time. I have a coin but I need a script for it, If someone agrees to do this then Ill send you the model of the coin. I will pay 100-150 R$, If it works.
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
11 May 2014 09:35 AM
#ThisGurlWantsLocalParts
first u need to go to the wiki, and search "Localparts"
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
11 May 2014 09:36 AM
[ Content Deleted ]
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 09:42 AM
Neon I tryed your message, It has a red line (error) under ParentIsA("Humaniod)" then
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 09:43 AM
Wait nvm I fixed it, imma try it now,.
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 09:53 AM
I'm sry it does not work.
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
11 May 2014 09:54 AM
[ Content Deleted ]
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 10:17 AM
Neon, I don't think that is the right script for this, I tried that new thing and
it does not give any coins. Output says there is nothing wrong with it though.
Report Abuse
ajmhm1111 is not online. ajmhm1111
Joined: 22 Jun 2013
Total Posts: 164
11 May 2014 10:55 AM
Hello,

Did you remember a connection line?

--ajmhm111
Report Abuse
NeonRiver is not online. NeonRiver
Joined: 12 Feb 2013
Total Posts: 4936
11 May 2014 11:08 AM
[ Content Deleted ]
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 11:31 AM
There is a red error line under: if hit.Parent:IsA("Humanoid") then
Report Abuse
ajmhm1111 is not online. ajmhm1111
Joined: 22 Jun 2013
Total Posts: 164
11 May 2014 12:06 PM
Hello,

l = script.Parent.Parent.Parent:FindFirstChild("leaderstats") --assuming coin is in workspace
g = game.Workspace.Coin
script.Parent.Touched:connect(function(hit)
if hit.Parent:IsA("Humanoid") then
l.Points.Value = l.Points.Value +1 --Change points to what it is, and change 1 also
wait(.1)
g:Destroy()
end
end)

Right there we go, that should be this thread ended.

--ajmhm1111
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 12:13 PM
Guys, this script is not working, I found this script that works fine, the only problem is only one person can get it, plz try to fix it,same offer remains.


local Money = script.Parent
local Player
function Touch(hit)
if hit==nil then return end ---saves from bullets
if hit.Parent:findFirstChild("Humanoid")==nil then return end ---only Humanoids can use

if game.Players:findFirstChild(hit.Parent.Name)~=nil then ---Local Player?
Player = game.Players:findFirstChild(hit.Parent.Name)
if Player:findFirstChild(Money.Name)==nil then
Player.leaderstats["Coins"].Value = Player.leaderstats["Coins"].Value +1 ---givePoints Time :D
ch=Instance.new("CFrameValue") -- No Cheating at the same egg.
ch.Name = Money.Coin --Be sure that all your eggs have a different Name.
ch.Parent = Player
end
end
end
script.Parent.Touched:connect(Touch)
Report Abuse
botaranng is not online. botaranng
Joined: 26 Dec 2012
Total Posts: 454
11 May 2014 12:18 PM
The script above, It gives only one to you, but ONLY one person can get it. Try to fix it so that everybody can get it but it gives only one to everybody.
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