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: SCRIPT HELPING! :D

Previous Thread :: Next Thread 
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
12 Oct 2012 06:00 PM
If you need help with a script you have, post it here. Just tell me where the error occurs. If you do not do this, I can't help you. I will try to fix the problem. If I cannot find out why it's incorrect, your best hope is to either find another forum thread, or wait and see if someone else helps you.

~ethan
Report Abuse
veerstrong is not online. veerstrong
Joined: 23 Jun 2009
Total Posts: 2450
12 Oct 2012 06:12 PM
Help me with this.
I want this to become false


ethanchuffman_is_in_this_forum = true

Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
12 Oct 2012 06:23 PM
You sir, are a NEWB! >:o THAT IS NOT SCRIPTING!!
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
12 Oct 2012 06:41 PM
@Ethan,
Are you stupid?
> ethanchuffman_is_in_this_forum = true
It's setting a variable called 'ethanchuffman_is_in_this_forum', and it's a boolean variable, and he set it to true, to make it false:
ethanchuffman_is_in_this_forum = false
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
12 Oct 2012 06:41 PM
for i,v in pairs(game.Workspace:GetChildren()) do
if v.Name == "ethanchuffman68" then
v:Destroy()
end
end

~xXTheRobotXx,Machination
Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
12 Oct 2012 06:53 PM
@mamaguy, Oh, I see. But he didn't include the referencing of the variable, so I figured he was new or something. @mach, Yes, that is indeed scripting. x3
Report Abuse
veerstrong is not online. veerstrong
Joined: 23 Jun 2009
Total Posts: 2450
12 Oct 2012 07:55 PM
Referencing? Are you serious?
When you add a debounce, you don't put a reference.
You just put debounce = true

Looks who's new here.
Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
13 Oct 2012 10:51 AM
Dude. You need to reference a variable to something.
Example:

ethanchuffman_is_in_this_forum = Workspace.ethanchuffman68.Humanoid.Jump
ethanchuffman_is_in_this_forum = true

Incorrect example:
ethanchuffman_is_in_this_forum = true




WHY YOU MIGHT ASK?!:
It hasn't referenced to a set thing. SEE?!
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
13 Oct 2012 10:56 AM
*cough* if you need to reference a variable to somthing, then explain why this works perfectly:

lol = true

if lol == true then
lol = false
else
lol = true
end
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
13 Oct 2012 12:11 PM
Ethan is an idiot
Ever heard of a boolean you stupid idiot?
Now get out.
Report Abuse
veerstrong is not online. veerstrong
Joined: 23 Jun 2009
Total Posts: 2450
13 Oct 2012 09:54 PM
Leave him.
Argueing with an idiot is a bad option, he will just drag you down to his level, and beat you with experiance.
Report Abuse
TenGauge is not online. TenGauge
Joined: 22 Sep 2012
Total Posts: 202
13 Oct 2012 09:56 PM
"experience"? Hardly.
Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
16 Oct 2012 04:50 PM
Oh, so you wanna call me inexperienced? I bet 5 tix I can script better than all y'all! >:D
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
16 Oct 2012 04:58 PM
@Ethan
I bet 5000 dollars that I could script better than you.
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
16 Oct 2012 05:20 PM
"Kill script(Might work)"
"might"

get out
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
16 Oct 2012 05:21 PM
Ethan, what's wrong with my script?

ps = game:GetService("Players")

ps.PlayerAdded:connect(function(p)
print(p.Name " has entered the game!")
end

ps.PlayerRemoving:connect(function(p)
print(p.Name " has left the game!")
end
Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
16 Oct 2012 06:11 PM
Try this
It should work:

p = game.Players

p.PlayerAdded:connect(function(plr)
local value = Instance.new("IntValue", Workspace)
print(plr.Name.." has arrived!")

while wait() do
if plr ~= nil then
value.Value = 1
else
value.Value = 2
end
if value.Value == 2 then
print(plr.Name.." is leaving")
end
end
end)
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
16 Oct 2012 06:17 PM
@OP
Get out fool.

@Advurso


game.Players.PlayerAdded:connect(function(p)
print(p.Name.." has entered the game!")
end)

game.Players.PlayerRemoving:connect(function(p)
print(p.Name.." has left the game!")
end)


-------------------------
~thedestroyer115, http://www.roblox.com/String-Word-Randomizer-item?id=94754887~
Report Abuse
TenGauge is not online. TenGauge
Joined: 22 Sep 2012
Total Posts: 202
17 Oct 2012 01:09 AM
@thedestroyer

I believe that was meant for the OP, not you.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
17 Oct 2012 10:01 AM
It's obvious the OP couldn't answer it so I did.

-------------------------
~thedestroyer115, http://www.roblox.com/String-Word-Randomizer-item?id=94754887~
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
17 Oct 2012 10:45 AM
Found this on OP's Blurb "Scripting = 5 "

Sad..
Report Abuse
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
17 Oct 2012 12:03 PM
@ethan:

  First,
"If you need help with a script you have, post it here".
The section 'Scripting Helpers' was created for that. Pointless thread.

  Second, ...
> ps = game:GetService("Players")

> ps.PlayerAdded:connect(function(p)
>> print(p.Name " has entered the game!")
>> end

> ps.PlayerRemoving:connect(function(p)
>> print(p.Name " has left the game!")
>> end

Errors are clearly visible (c.f: thedestroyer115's script correction above):
 - string concatenation missing '..'
 - brackets to close events missing

Why do you answer with another script instead of just correct it ?
By the way, you should use events instead of loops.
And why you're using an 'IntValue' object in this case ?

Want to fix some scripts ? 'Scripting Helpers' section is here (if you didn't notice that before).
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
17 Oct 2012 12:18 PM
"I bet 5 tix I can script better than all y'all! >:D"

Challenge accepted.
Report Abuse
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
17 Oct 2012 03:11 PM
Why do you guys get so mad when people post silly things on here? ._.




~+CClone+~
Report Abuse
ethanchuffman68 is not online. ethanchuffman68
Joined: 27 May 2011
Total Posts: 183
23 Oct 2012 08:16 PM
@pokemon, That was from a long time ago, when I was a not so good scripter.
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