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
 

How would I make a clean face remover?

Previous Thread :: Next Thread 
SurrealSupercell is not online. SurrealSupercell
Joined: 22 Jul 2013
Total Posts: 2100
13 Aug 2016 04:35 PM
Like the ones that you step on?
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
13 Aug 2016 04:42 PM
Since there is a "face" decal in every player's characters head, remove that with a .Touched event.

local part = script.Parent
local debounce = false

part.Touched:connect(function(touched)
local player = game.Players:GetPlayerFromCharacter(touched.Parent)
if player and debounce == false then
debounce = true
player.Character.Head.face:Destroy()
wait(1)
debounce = false
end
end)


Report Abuse
SurrealSupercell is not online. SurrealSupercell
Joined: 22 Jul 2013
Total Posts: 2100
13 Aug 2016 04:54 PM
Thanks! It works.
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