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: Scripts

Previous Thread :: Next Thread 
AbdallahBakri1234 is not online. AbdallahBakri1234
Joined: 19 Apr 2011
Total Posts: 715
28 Oct 2011 12:30 PM
Some Scripts that will Help you:

Head Remove Script
game.Workspace.AbdallahBakri1234.Head:Remove()

Hat Remove Script
g = game.Workspace.AbdallahBakri1234:GetChildren()
for i = 1, #g do
if g[i]:IsA("Hat") then
g[i]:Remove()
end
end

Head On Fire
f = Instance.new("Fire", Game.Workspace.AbdallahBakri1234.Head)

Body Explosion Script
e = Instance.new("Explosion", Game.Workspace)
e.Position = game.Workspace.AbdallahBakri1234.Torso.Position

Brick Remove Script (Put it in the Brick)
script.Parent:remove()
Report Abuse
mysteryman1234567 is not online. mysteryman1234567
Joined: 23 Apr 2011
Total Posts: 139
28 Oct 2011 01:39 PM
For the head on fire and the hat remove, how would you make it evreyone?
Report Abuse
DXPower is not online. DXPower
Joined: 21 Oct 2008
Total Posts: 2866
28 Oct 2011 07:05 PM
heads = game.Players:GetChildren()
for i = 1, #heads do
head = heads[i].Head
heed = head:Remove()
end end
Report Abuse
Nateinator is not online. Nateinator
Joined: 17 May 2008
Total Posts: 984
28 Oct 2011 07:09 PM
:D
Report Abuse
headjoe2 is not online. headjoe2
Joined: 26 Aug 2010
Total Posts: 971
29 Oct 2011 09:23 AM
Nateinator u made a mistake

Heads[i].Head

well the players doesn't have a Head. the Character does. You should replace that line with:

Heads[i].Character.Head:remove()
Report Abuse
headjoe2 is not online. headjoe2
Joined: 26 Aug 2010
Total Posts: 971
29 Oct 2011 09:26 AM
i made it myself

while true do
z=game.Workspace.headjoe2.Head.Position
x=Instance.new("Seat")
x.Parent=game.Workspace
x.BrickColor=BrickColor.new(21)
x.Shape=("Ball")
x.Position=z + Vector3.new(0,100,0)
x.Size=Vector3.new(1,1,1)
c=Instance.new("Fire")
c.Parent=x
v=Instance.new("Smoke")
v.Parent=x
b=Instance.new("Sparkles")
b.Parent=x
wait(0.1)
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