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: Yet another ff script

Previous Thread :: Next Thread 
kobybok is not online. kobybok
Joined: 27 Aug 2012
Total Posts: 217
01 Sep 2013 03:36 PM
Can someone make me a script that gives ff on touch?
Report Abuse
Maileh is not online. Maileh
Joined: 14 Jun 2011
Total Posts: 1067
01 Sep 2013 03:38 PM
#freemodels
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
01 Sep 2013 03:41 PM
d = false
script.Parent.Touched:connect(function(toucher)
human = toucher.Parent:FindFirstChild("Humanoid")
if human and d == false then
ff = Instance.new("ForceField", toucher.Parent)
end
wait(1)
d = true
end)
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
01 Sep 2013 03:41 PM
put in a brick
script.Parent.Touched:connect(function(hit)
char = hit.Parent
if not char then return end
hum = char.Humanoid
if not hum then return end
plr = game.Players:GetPlayerFromCharacter(char)
if not plr then return end
Instance.new("ForceField", char)
end)
ff remover
script.Parent.Touched:connect(function(hit)
char = hit.Parent
if not char then return end
hum = char.Humanoid
if not hum then return end
plr = game.Players:GetPlayerFromCharacter(char)
if not plr then return end
for i,v in pairs(char:children()) do if v:IsA("ForceField") then v:remove() end
end)
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