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: ATTN: IF YOU GET DLAMED FOR MAKING A REQUEST...

Previous Thread :: Next Thread 
Mathfreak231 is not online. Mathfreak231
Joined: 21 Jun 2010
Total Posts: 5311
11 Aug 2012 11:04 AM
...PM me the request.

~Mathfreak231, most generous SHer ever
~This sig is false~
Report Abuse
Mathfreak231 is not online. Mathfreak231
Joined: 21 Jun 2010
Total Posts: 5311
11 Aug 2012 11:04 AM
Sorry, title fix.

~This sig is false~
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:05 AM
Fail by mathfreak
Report Abuse
Mathfreak231 is not online. Mathfreak231
Joined: 21 Jun 2010
Total Posts: 5311
11 Aug 2012 11:06 AM
@miz

*innocently points to title*
Stick to the topic, pl0x.

~This sig is false~
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:09 AM
Fine. I'll give you a challenge.

Make two tables. One with nouns and one with adjectives.

example

noun = {"Mcdonalds","Obama","Burger king"}
adj = {"Smelly","Boss","ugly"}

For each noun I want you to compare with all the adjectives and only print IF both words are even.

Example

Smelly Mcdonalds -- odd
Boss Mcdonalds -- even

And so on.

If you wish to do it mathfreak good luck.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:10 AM
OH and for my challenge you need at least six values in both tables.
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:13 AM
if
Player.Humanoid.Sit = True
Player.Torso.Anchored = True
Player.Head.Anchored = True
then
if
Player.OnTouched.Player = True
wait(15)
then
Player.Humanoid.Health = +100
Player.Head.Anchored = False
Player.Torso.Anchored = False
Player.Humanoid.Stand = True
elseif
Print ("Invalid")
end
end
end)
end
end)
end



Gah! i'm so troubled
I want the script to check to make sure the player's Torso and Head is Anchored and there siting and if it is then it checks to see if another player is touching them for 15 seconds then they'll be unanchored and be back to full health and they'll stand up.
Please help thank you,

If you're wondering why I'm needing this
then here's the other script that goes hand and hand for this script

local Humanoid = game.Players:GetChildren() --What's humanoid

if Humanoid.Health 20 > 100 then
wait(0.1)
Head.Anchored = True
Torso.Anchored = True
elseif
Wait(0.1)
Head.Anchored = False
Torso.Anchored = False
end
end
end

also Thank you Xnite for fixing this second script ))



Those two scripts need fixed :/
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:14 AM
When i thanked xnite aparently he did not fix it
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:16 AM
@valiant

If statements require two equal signs for comparing stuff.

Booleanse are case sensitive.
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:17 AM
That still wouldnt fix it
it's a well revive scritp basically
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:17 AM
local Humanoid = game.Players:GetChildren() --What's humanoid

if Humanoid.Health 20 > 100 then
wait(0.1)
Head.Anchored == True
Torso.Anchored == True
elseif
Wait(0.1)
Head.Anchored == False
Torso.Anchored == False
end
end
end


?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:18 AM
Well there's a lot of things to fix.

But since you didn't take a little time to tell you what to first fix I can't trust you. So, I'm out.

~"Mark Cuban"~
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:19 AM
plus this


then
Player.Humanoid.Health == + 100
Player.Head.Anchored == False
Player.Torso.Anchored == False
Player.Humanoid.Stand == True
elseif
Print ("Invalid")
end
end
end)
end
end)
end
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:20 AM
Ok you can't trust me? droid and dr hurry up with the episodes

Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:21 AM
Well lets see remove the ends? and uhh == instead of = got ya that does not work so.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
11 Aug 2012 11:35 AM
Miz, your challenge makes no sense whatsoever.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:38 AM
Uhh, it kind of does.

What's so hard about it?

Make two tables. One that has nouns and one with adjectives. For all the nouns compare with the adjectives and make it print both adjectives and nouns together if the length of the string is even.
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
11 Aug 2012 11:40 AM
@Miz you didnt count the spaces. Nor did you tell us the format of how it should go.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
11 Aug 2012 11:43 AM
Last time I checked, "Smelly" had an even number of characters, and McDonalds had an odd number. Your examples are unlegitimate.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 11:43 AM
I did count the spaces if you looked at the example.

By format you mean how you should program it? If you mean it by that way then it doesn't matter. As long as you complete the challenge and if I add an extra value to both tables it still works fine.

Mathfreak seemed to get it.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
11 Aug 2012 11:54 AM
Wait. Do you want to *compare* the strings, or add them as a whole and check if *that* is even? Please be consistent- in the description you said the former, but in the example you did the latter.
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 11:57 AM
King your character looks cool.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 12:22 PM
Add them as a whole and compare the length of the string. Print only if it's even. Like your second choice.
Report Abuse
Valiant8 is not online. Valiant8
Joined: 21 Jul 2012
Total Posts: 308
11 Aug 2012 12:33 PM
How is boss a adjective?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
11 Aug 2012 12:35 PM
"How is boss a adjective"

How is a not an in that sentence?
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