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: Could anyone change this script to make your body disappear?

Previous Thread :: Next Thread 
lionheart200089 is not online. lionheart200089
Joined: 20 Jan 2012
Total Posts: 1375
07 Jun 2014 01:49 PM
I still want it to kill you and award points, but I want it to make your body disappear.

local pointgiver = script.Parent
pointgiver.Touched:connect(function(pointgiver)
local g = game.Players:GetPlayerFromCharacter(pointgiver.Parent)
if pointgiver:IsA("Part") and (g) then
pps = game:GetService("PointsService")
if pps:GetAwardablePoints() >= 1 then
pps:AwardPoints(g.userId, 1)
end
end
end)
Report Abuse
lionheart200089 is not online. lionheart200089
Joined: 20 Jan 2012
Total Posts: 1375
08 Jun 2014 03:35 AM
B1
Report Abuse
YeahNick is not online. YeahNick
Joined: 28 Feb 2009
Total Posts: 2536
08 Jun 2014 03:51 AM
What do you mean with 'disappear'? Do you want the body to become invisible or to delete the body (like put it into game.lighting)?
Report Abuse
lionheart200089 is not online. lionheart200089
Joined: 20 Jan 2012
Total Posts: 1375
08 Jun 2014 04:04 AM
Delete the body, I didn't know how to put it. xD Any help is appreciated.

Report Abuse
YeahNick is not online. YeahNick
Joined: 28 Feb 2009
Total Posts: 2536
08 Jun 2014 04:11 AM
pointgiver.Parent.Parent = game.Lighting

This puts it into lighting, basically just makes it disappear.
Report Abuse
lionheart200089 is not online. lionheart200089
Joined: 20 Jan 2012
Total Posts: 1375
08 Jun 2014 04:22 AM
wa?
Report Abuse
lionheart200089 is not online. lionheart200089
Joined: 20 Jan 2012
Total Posts: 1375
08 Jun 2014 04:44 AM
b2
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