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
 

Re: why wont this simple script work

Previous Thread :: Next Thread 
FergotCheese is not online. FergotCheese
Joined: 21 Aug 2011
Total Posts: 65
20 Aug 2015 03:44 AM
well i am a very advanced scripter but it bin a year so i forget a lot XD
anyways why does this do not work?

if toucher's name is "fergotcheese"
instance(new)explosion in fergotcheese 's torso
end
Report Abuse
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
20 Aug 2015 03:46 AM
http://wiki.roblox.com/index.php/Absolute_beginner's_guide_to_scripting
Report Abuse
awiton is not online. awiton
Joined: 27 Apr 2012
Total Posts: 2656
20 Aug 2015 04:10 AM
i'll try fix that script:

function OnTouch(hit)
if hit.Parent.Name = "fergotcheese" then
local e = instance.new("explosion")
e.Position = hit.Parent:findFirstChild("Torso").Position
e.BlastPressure = 999999999999999999999999 -- this is so little
e.BlastRadius = 999999999999

end

game.Workspace:GetChildren():remove()

:3
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
20 Aug 2015 04:15 AM
obvious troll is obvious
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
20 Aug 2015 04:17 AM
@awiton that wouldnt work
Report Abuse
awiton is not online. awiton
Joined: 27 Apr 2012
Total Posts: 2656
20 Aug 2015 04:27 AM



08-20-2015 02:10 AM
i'll try fix that script:

function OnTouch(hit)
if hit.Parent.Name = "fergotcheese" then
local e = instance.new("explosion")
e.Position = hit.Parent:findFirstChild("Torso").Position
e.BlastPressure = 999999999999999999999999 -- this is so little
e.BlastRadius = 999999999999
e.Parent = game.Workspace
end

game.Workspace:GetChildren():remove()
Report Abuse
76km is not online. 76km
Joined: 14 Aug 2015
Total Posts: 5455
20 Aug 2015 04:44 AM
nope lol, awit. why do u do this

function abused(hit)
if hit.Parent.Name = "person" then
local boom = Instance.new("Explosion")
boom.Parent = hit.Parent
end
end

script.Parent.Touched:connect(abused)
Report Abuse
IanSplodge is not online. IanSplodge
Joined: 13 Aug 2012
Total Posts: 2686
20 Aug 2015 05:01 AM
this is so painful I just want to put

script.Parent:Destroy()
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
20 Aug 2015 05:02 AM
kid get out of scripter section
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