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: Please help me for a very simple script

Previous Thread :: Next Thread 
jaysonrockz is not online. jaysonrockz
Joined: 28 Jan 2012
Total Posts: 55
13 Sep 2014 03:33 PM
I want the players face invisible/removed when he touches a brick
I have the brick i just want the script that should be put inside the brick so that when any player touches the brick his face will be deleted or invisible. Thank You
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Sep 2014 04:07 PM
I usualy dont make scripts for free but okay.

put this into the brick in the normal script:

script.Parent.Touched:connect(function(hit)

hum = hit.Parent:findFirstChild("Humanoid")
if hum ~= nil then
face = hit.Parent:findFirstChild("Face")
if face ~= nil then
face.Transparency = 1 -- or you can do face:remove()
end
end
end)
Report Abuse
frommage is not online. frommage
Joined: 22 Apr 2014
Total Posts: 100
13 Sep 2014 04:08 PM
Pm me the name of the brick/request for me to do this so I don't forget
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
13 Sep 2014 04:41 PM
So if it's a 1 Player game.

while true do
game.Workspace.Player1.Face.Decal.remove()
end
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
13 Sep 2014 04:41 PM
lol @ ar
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
13 Sep 2014 04:42 PM
I mean

while true do
game.Workspace.Player1.Head.Decal.remove()
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
13 Sep 2014 04:42 PM
I mean

while true do
game.Workspace.Player1.Head.Decal.remove()
end
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
13 Sep 2014 04:43 PM
dude lol lrn 2 script ^
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
13 Sep 2014 04:48 PM
function()

OnTouch()
game.Workspace.h.remove()
local humanoid = h
local s =New.Instance("Message")
s.Text ="haha oder haha oder."
New.Instance ("Explosion")
New.Instance ("Explosion")
New.Instance ("Explosion")
New.Instance ("Explosion")
New.Instance ("Explosion")
New.Instance ("Explosion")
New.Instance ("Explosion")
end
game.Workspace.Part.OnTouched()
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
13 Sep 2014 05:01 PM
> calls me an oder when he's the one wearing an ugly shirt, and striped fedora


your script sucks too. it wouldn't do anything cuz it would error noob
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
17 Sep 2014 09:28 AM
nope oder
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
17 Sep 2014 09:29 AM
I want to give this scripts to oders like you. So they can learn to script.
Report Abuse
ARisings is not online. ARisings
Joined: 02 Feb 2014
Total Posts: 90
17 Sep 2014 09:30 AM
dude als o I was nt callin you a oder. I was saying that to the maker of this Thread idioyt
Report Abuse
jaysonrockz is not online. jaysonrockz
Joined: 28 Jan 2012
Total Posts: 55
19 Sep 2014 05:08 AM
lol you idiot. You calling me an oder your the one who is dressed like one hahhhahhhahhhahahaa
Report Abuse
Expections is not online. Expections
Joined: 19 Aug 2014
Total Posts: 764
19 Sep 2014 05:43 AM
put this in brick(make sure normal script)
TESTED AND WORKS. DO NOT CHANGE ANYTHING

script.Parent.Touched:connect(function(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
if h then
local head = h.Parent:FindFirstChild("Head") -- humanoids parent
if head then
local face = head:FindFirstChild("face")
if face then
face:Destroy()
end
end
end
end)
Report Abuse
DragonODeath is not online. DragonODeath
Joined: 02 May 2011
Total Posts: 1252
19 Sep 2014 07:15 AM
all yall scripts r inefficient
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