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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: need a script

Previous Thread :: Next Thread 
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 06:39 PM
A script when you walk on a brick it ff's you when you walk off it unff's you
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 06:41 PM
Brick.Touched:connect(function(hit)
if not hit or not hit.Parent then return end
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if not user or hit.Parent:FindFirstChild("ForceField") then return end
Instance.new("ForceField", hit.Parent)
end)

Brick.Untouched:connect(function(hit)
if not hit or not hit.Parent then return end
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if not user or not hit.Parent:FindFirstChild("ForceField") then return end
hit.Parent["Force Field"]:Destroy()
end)
Report Abuse
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 06:51 PM
cnt, i put a brick down opened script then pasted it, it didnt work -.-
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 06:53 PM
http://wiki.roblox.com/index.php/TouchEnded_(Event)

TouchEnded, not Untouched
Report Abuse
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 06:57 PM
what do you mean, can you post working one
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 06:58 PM
"Brick.Untouched:"
"Brick.TouchEnded:"

pbaogmafmaseigmkanfj
Report Abuse
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 07:00 PM
PLEASE JUST POST THE WORKING SCRIPT! IM GETTING CONFUSED
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 07:00 PM
Brick.Touched:connect(function(hit)
if not hit or not hit.Parent then return end
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if not user or hit.Parent:FindFirstChild("ForceField") then return end
Instance.new("ForceField", hit.Parent)
end)

Brick.TouchEnded:connect(function(hit)
if not hit or not hit.Parent then return end
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if not user or not hit.Parent:FindFirstChild("ForceField") then return end
hit.Parent["Force Field"]:Destroy()
end)
Report Abuse
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 07:22 PM
Isnt working :j
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Aug 2013 07:23 PM
Output/
Report Abuse
dizzywaffle is not online. dizzywaffle
Joined: 13 Jun 2011
Total Posts: 3075
03 Aug 2013 07:28 PM
what do you mean output
Report Abuse
Foged is not online. Foged
Joined: 21 Jun 2008
Total Posts: 307
03 Aug 2013 09:09 PM
Go to Roblox Studio > Your place > Tools > Test > Play Solo

View > Output Window.

Paste output here.
Report Abuse
im2awsm is not online. im2awsm
Joined: 25 Aug 2010
Total Posts: 2295
03 Aug 2013 09:17 PM
It would be preferabble if you knew something about scripting before coming here, it seems like you don't know much about it, not even knowing what the Output is.
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