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: HELP NEEDED!!!!! REALLY SIMPLE!!!!

Previous Thread :: Next Thread 
TrixPower27 is not online. TrixPower27
Joined: 03 Jul 2012
Total Posts: 5298
22 Apr 2015 11:56 AM
I want people to only be able to kill if there standing on a brick or walking on it(Like fencing)

I wish u can do it its really simple
Report Abuse
TrixPower27 is not online. TrixPower27
Joined: 03 Jul 2012
Total Posts: 5298
22 Apr 2015 11:57 AM
omg pls
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
22 Apr 2015 12:02 PM
What do you have so far.


I script -~ chimmihc
Report Abuse
gerov is not online. gerov
Joined: 05 Feb 2011
Total Posts: 5504
22 Apr 2015 01:00 PM
We don't make entire scripts for people, we help you with scripts that you have made.
Report Abuse
Zanziber is not online. Zanziber
Joined: 08 Dec 2008
Total Posts: 5088
22 Apr 2015 01:10 PM
Make the brick change HP from 99999 to 100
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
22 Apr 2015 01:30 PM

script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.MaxHealth.Value = 100
hit.Parent.Humanoid.Health.Value = 100
end
end)

script.Parent.TouchEnded:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.MaxHealth.Value = math.huge
hit.Parent.Humanoid.Health.Value = math.huge
end
end)
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
22 Apr 2015 01:37 PM
@By

That will not work how he wants it.

It will just constantly change their health back and forth.


I script -~ chimmihc
Report Abuse
buildersteven4 is not online. buildersteven4
Joined: 08 May 2009
Total Posts: 1325
22 Apr 2015 01:51 PM
just search for "lava" in the free models, or maybe "kill part"...
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
22 Apr 2015 01:52 PM
part.Touched:connect(part.BreakJoints)


hooray for lava
Report Abuse
Egzekiel is not online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
22 Apr 2015 02:50 PM
part.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.Health=0 end)
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
22 Apr 2015 02:52 PM
For some reason people think he wants a kill brick.


I script -~ chimmihc
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 Apr 2015 02:53 PM
Just look for a fencing set. Derp
Report Abuse
Proxemics is not online. Proxemics
Joined: 30 Oct 2013
Total Posts: 2542
22 Apr 2015 02:57 PM
It's really simple actually.

First, you need to get the foil or sword or whatever you're using as a weapon.
Next, fire a function that sets the weapon's deal damage to 0 if the player isn't in the arena and a function that sets the weapon's deal damage back to whatever it was before if the player is touching the arena floor.

Use the touched event.
Report Abuse
Stiiky is not online. Stiiky
Joined: 15 Jan 2010
Total Posts: 451
22 Apr 2015 03:15 PM
Could just set players health when spawning and touchended on the arena brick to math.huge
and when they are on it, set it to 100.
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