|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
| |
|
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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 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
|
  |
| Joined: 02 Feb 2014 |
| Total Posts: 90 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 19 Sep 2014 07:15 AM |
| all yall scripts r inefficient |
|
|
| Report Abuse |
|
|