Roblox is a game that lets players build virtual objects using
virtual building blocks. To make the objects perform actions, players must create
and run scripts. Scripts are specific instructions that tell an object what to
do, when to begin the action and when to end the action. To begin scripting
with Roblox, you must be familiar with the Roblox game and know your way around
Roblox Studio. This is the program that you will use to make scripts.When scripting,
pay attention to your spelling. Misspellings or syntax errors will cause your
script to malfunction or not work at all. You can edit your scripts in the
View>Output window and test them by hitting the green Play button. Here are
some scripts that you can use courtesy of RobloxCheats.net:
Kill Every Player
(Including Yourself)
Code:
game.Workspace:BreakJoints()
Create a Brick
Code:
local brick = Instance.new("Part")
brick.Parent =
game.Workspace
brick.Name =
"Brick1"
brick.Size =
Vector3.new(10,10,10) -- the size of the brick
brick.Position =
Vector3.new(0,3,0) -- the position of the brick
brick.Anchored =
true --|false = fall|true = never fall|--
brick.CanCollide =
true --can collide?
brick.Locked = false
brick.Shape =
"Block" -- Ball,Block or Cylinder
Create a Floating
Text
Code:
local text = "Floating Text Here" -- put here what
you like to put in the text
local mod = Instance.new("Model")
mod.Parent =
game.Workspace
mod.Name = text --
text = floating text
local head = Instance.new("Part")
head.Parent = mod --
do not touch here '-'
head.Name =
"Head" -- do not change it
head.Size =
Vector3.new(5,4,5) -- the size of the brick
head.Position =
Vector3.new(0,3,0) -- the position of the brick that have the floating text
head.Anchored = true
-- false = fall - - - - true = never fall
local huma = Instance.new("Humanoid")
huma.Parent = mod
Create a Message to
Players
Code:
message = "PUT HERE YOUR MESSAGE"
m=new.Instance("Message")
m.Parent= game.Workspace
m.Text= message
wait(10) -- 10 sec
m:Remove()
Create a ForceField
Code:
local f=new.Instance("ForceField") --Makes a
forcefield
f.Parent=game.Workspace.YOUR NAME HERE.Torso
f.Parent=game.Workspace.YOUR NAME HERE.Head
f.Parent=game.Workspace.YOUR NAME HERE["Left Arm"]
f.Parent=game.Workspace.YOUR NAME HERE["Right
Arm"]
f.Parent=game.Workspace.YOUR NAME HERE["Left Leg"]
f.Parent=game.Workspace.YOUR NAME
HERE["Right Leg"]