Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Some variables]]--
- local Obbies = {
- "RotateJumpsEasy";
- "RotateJumpsHard";
- "PanelsWalk";
- "SquareJumps";
- "RotateWalkEasy";
- "RotateWalkHard";
- }
- local ObbyOwner = "Imtannerbanner56"---Change Here
- --[[Doesn't need to be changed.]]--
- local Owner = game.Players:FindFirstChild(ObbyOwner)
- function AddObby(Name,Func)
- table.insert(Obbies,{["Name"]=Name,["Func"]=Func})
- end
- AddObby("BasicJumps",
- function(ifAdding,position,model1)
- if ifAdding == true then
- local model = Instance.new("Model",model1)
- model.Name = "BasicJumps"
- local base = Instance.new("Part",model)
- base.Anchored = true
- base.Name = "Base"
- base.Size = Vector3.new(20,1,40)
- base.BottomSurface = "Smooth"
- base.TopSurface = "Smooth"
- local FillBox = Instance.new("Part",model)
- FillBox.Anchored = true
- FillBox.CanCollide = false
- FillBox.Name = "FillingBox"
- FillBox.Size = Vector3.new(20,20,40)
- FillBox.CFrame = base.CFrame * CFrame.new(0,9.5,0)
- for i = 1,6 do
- local lava = Instance.new("Part",model)
- lava.Anchored = true
- lava.CanCollide = false
- lava.BrickColor = BrickColor.new("Really red")
- lava.BottomSurface = "Smooth"
- lava.TopSurface = "Smooth"
- lava.Size = Vector3.new(20, 1, 2)
- lava.CFrame = base.CFrame * CFrame.new(0,1,(-21*(i*6)))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement