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: Post some scripts here. c:

Previous Thread :: Next Thread 
mooncoon123 is not online. mooncoon123
Joined: 26 Oct 2011
Total Posts: 200
11 Mar 2013 06:16 PM
1st Script
Name of script: I have no idea what to call it
_____________________________________________________________

while true do

wait(1)
local B = Instance.new("Part",game.Workspace)
B.Name = "Test"
B.Size = Vector3.new(3, 3, 3)
B.BrickColor = BrickColor.new(21)
B.Position = Vector3.new(0, 25, 0)
B.Anchored = false
B.CanCollide = true
wait(1)
B.Anchored = true
wait(1)
B.Position = Vector3.new(20, 5, 20)
wait(1)
for i=1,30 do
B.CFrame = B.CFrame - Vector3.new(0.1, 0, 0)
wait(0.01)
end
B.Transparency = 0.5
wait(2)
B:Remove()
end
_____________________________________________________________________
2nd script
Name of script: UFO head

game.Workspace.PLAYERNAME.Head.Mesh.MeshType = "Sphere" game.Workspace.PLAYERNAME.Mesh.Scale = Vector3.new(2, 0.5, 2)

_______________________________________________________________________
3rd script
kill script examples:
______________________________________________________________________

1:
game.Workspace.PLAYERNAME.Humanoid.Health = 0

2:
game.Workspace.PLAYERNAME:BreakJoints()

3:
game.Workspace.PLAYERNAME.Head:Remove

4:
game.Workspace.PLAYERNAME.Torso:Remove
_______________________________________________________________________-
I will come up with more later
Report Abuse
CubeBuilder12 is not online. CubeBuilder12
Joined: 21 Nov 2011
Total Posts: 14596
11 Mar 2013 06:22 PM
game.Workspace

Is that enough? :3
Report Abuse
CubeBuilder12 is not online. CubeBuilder12
Joined: 21 Nov 2011
Total Posts: 14596
11 Mar 2013 06:23 PM
And posting my scripts dont feel good..

Report Abuse
mooncoon123 is not online. mooncoon123
Joined: 26 Oct 2011
Total Posts: 200
11 Mar 2013 06:23 PM
NO!
Let me help you a bit.
Try
game.Workspace:Remove()


c:
Report Abuse
CubeBuilder12 is not online. CubeBuilder12
Joined: 21 Nov 2011
Total Posts: 14596
11 Mar 2013 06:24 PM
game.Players.mooncoon123:Destroy()

ya :3
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