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
 

How To Add 5 Second Forcefield To This?

Previous Thread :: Next Thread 
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
21 Apr 2012 08:31 AM
function player()
local h = script.Parent.Parent.Parent.Parent
if h.TeamColor == BrickColor.new("Bright blue") then
script.Parent.TextColor3 = Color3.new(77/250, 77/250, 77/250)
script.Parent.Teleport.Disabled = true
script.Parent.Active = false
else
script.Parent.TextColor3 = Color3.new(255/255, 255/255, 255/255)
script.Parent.Teleport.Disabled = false
script.Parent.Active = true
end
end

script.Parent.MouseButton1Down:connect(player)
Report Abuse
mikeyman10ash is not online. mikeyman10ash
Joined: 29 Aug 2010
Total Posts: 30299
21 Apr 2012 08:32 AM
Just set the forcefield length property to 5 seconds? :o
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
21 Apr 2012 08:33 AM
Why set the 'h' variable, just make the player a parameter?
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
21 Apr 2012 08:33 AM
this is a gui not a spawn
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
21 Apr 2012 08:34 AM
nvm the way my game is set up i could do math.huge
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