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: Coin Script (and PLEASE no trolls)

Previous Thread :: Next Thread 
Imaginator113 is not online. Imaginator113
Joined: 31 Mar 2011
Total Posts: 9482
18 Mar 2014 02:41 PM
Okay I'm posting this again because you know most of people here are stupid ... anyway. I need a script for a coin that when you touch it it adds up to a counter in the leaderboard, I can pay up to 50 robux if it works, but I have to try it first. Also you can only have it once in a life. Thanks.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
18 Mar 2014 02:44 PM
If you are going to call us stupid, we won't help. That's how it works.
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
18 Mar 2014 02:48 PM
Here's the thing:
We are here to help you with scripts that you make. We are not here to write scripts for you.
Report Abuse
coplox is not online. coplox
Joined: 07 Jun 2008
Total Posts: 3252
18 Mar 2014 02:49 PM
Script or scripter requests are not allowed, you have to PM people individually if you want to stay within the ROBLOX rules.

http://www.roblox.com/info/terms-of-service
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
18 Mar 2014 02:52 PM
Prevoius post please i have posted ne that will a tiny bit of editing will work. Im not shure exactly what your looking for but it will work. just edit it a lil bit
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
18 Mar 2014 02:59 PM
waittime = 4
amnt = 5
function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if (h~=nil) then
local thisplr = game.Players:findFirstChild(h.Parent.Name)
if (thisplr~=nil) then
local stats = thisplr:findFirstChild("leaderstats")
if (stats~=nil) then
local score = stats:findFirstChild("Points")
if (score~=nil) then
score.Value = score.Value + amnt
while true do
print("HI")
print("HI")
print("HI")
end
end
end
end
end

script.Parent.Transparency = 1
script.Disabled = true
wait(waittime)
script.Parent.Transparency = 0
script.Disabled = false
end
end
script.Parent.Touched:connect(onTouched)


-- I sense this script might will ruin a game but how scripters?
Report Abuse
Sunsshines is not online. Sunsshines
Joined: 16 Sep 2012
Total Posts: 8395
18 Mar 2014 03:06 PM
@McChicken:

He just called all of us stupid, why help him?
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
18 Mar 2014 03:07 PM
Hold on i will PM u why
Report Abuse
Venitel is not online. Venitel
Joined: 28 Jul 2012
Total Posts: 706
18 Mar 2014 03:17 PM
@Imaginator, First you call scripters idiots, and when people find errors in what you say.. you go against them. If you would like a scripter to HELP you make a script, post here. If you want them to MAKE your script for you... Pay someone personally to do it, and PM them. I don't usually post here because I usually can do my scripts, but I do not appreciate you calling the people that are here to help you idiots. How do you have the audacity to post another thread after you just had the other thread with like 2k views(f5).

Venitel Brenan
TSG Auxiliary

"There are basically two types of people. People who accomplish things, and people who claim to have accomplished things. The first group is less crowded."
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
19 Mar 2014 09:02 PM
time = 5--time to wait here
Ammount = 10 --ammount here

script.Parent.Touched:connect(function(thit)
if game.Players:GetChildren(thit) then
thit.leaderstats.Coin.Value = thit.leaderstats.Coin.Value+Ammount/2-Ammount--don't edit
wait (time-time)--waits the EXACT ammount
script.Parent = Workspace--reparenting will delete it from ONLY the Player who hit it,so anyone else can get it
end
end))

--it'll work,right guys?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
19 Mar 2014 09:07 PM
time = 5--time to wait here
Ammount = 10 --ammount here

script.Parent.Touched:connect(function(thit)
if game.Players:GetChildren(thit) then
thit.leaderstats.Coin.Value = thit.leaderstats.Coin.Value+Ammount/2-Ammount--don't edit
wait (time-time)--waits the EXACT ammount
while game.Workspace.Name == "Workspace" do --Checks for ws
--game.Workspace.LeaderBoardValue:AddValue("Gold",ammount)
if game.Name == "game" then --checks to see if server works
repeat print(game.Workspace.Name) until game == nil
end --ends the function and moves on
script.Parent = Workspace--reparenting will delete it from ONLY the Player who hit it,so anyone else can get it
end
end))

They're trolling you, this'll work.
Regular script inside the coin.
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