Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --my code script pack for game
- --THE VARIBLES
- --------------------------------------
- --hello = 50
- --bye = 20
- --print(hello+bye)
- --myvariable = false (add before print hello + bye :D)
- --myvariable = ("hi there this is a string") (string addable)
- --print(myvariable)
- --THE PROPERTYS
- --------------------------------------------------------------
- --1.insert a part
- --2.mess around for a bit
- --able to anchor i guess :/
- --and more :D
- --the scripts for behaviors
- --------------------------
- -- Properties
- --game.Workspace.Baseplate.BrickColor = BrickColor.new("New Yeller")
- --or
- --game.Workspace.Baseplate.Color = Color3.fromRGB(103,5,100)
- --or
- --game.Workspace.Baseplate.Transparency = 1
- --or
- --game.Workspace.Baseplate.Anchored = true (or false)
- --or
- --game.Workspace.brick.Position = Vector3.new(-54.93, 0.45, 31.19)
- --THE XYZ SCRIPTS
- -------------------------------------------------------------------------------------
- --game.Workspace.brick.Position = game.Workspace.brick.Position + Vector3.new(50,0,0)
- --INSERTING BLOCKS
- --------------------------------------------------------------------
- --part = Instance.new("Part")
- --part.Anchored = true
- --part.BrickColor = BrickColor.new("Really red")
- --part.Position = Vector3.new(0,5,0)
- --part.Parent = game.Workspace
- --WIRE LOOPING
- -------------------------------
- --while true do
- --print("While loop passed")
- --wait(0.5)
- --end
- --EXPAMPLE OF WIRE LOOPING
- -------------------------------------------------
- --while true do (or false i guess?)
- --wait(0.5)
- --part = Instance.new("Part")
- --part.Anchored = true
- --part.BrickColor = BrickColor.new("Really red")
- --part.Position = Vector3.new(0,5,0)
- --part.Parent = game.Workspace
- --end
- --THE ALTERNATE
- ------------------------------
- --while 2+2==4 do (DO NOT DO 2+2==5 OR THE SCRIPT WONT RUN)
- --wait(0.5)
- --part = Instance.new("Part")
- --part.Anchored = true
- --part.BrickColor = BrickColor.new("Really red")
- --part.Position = Vector3.new(0,5,0)
- --part.Parent = game.Workspace
- --if 2+2==4 then
- --else
- --break
- --end
- --end
- --print("While loop stopped")
- --HOW TO STOP REPEAT
- ------------------------------------------
- --while true do
- --wait(0.5)
- --part = Instance.new("Part")
- --part.Anchored = true
- --part.BrickColor = BrickColor.new("Really red")
- --part.Position = Vector3.new(0,5,0)
- --part.Parent = game.Workspace
- --if 2+2==5 then
- --else
- --break
- --end
- --end
- --print("While loop stopped")
- --WELP THAT IS IT NOW HAVE FUN :D (rember to remove the -- when you paste to code in :) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement