SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[Some variables]]-- | |
| 2 | local Obbies = {
| |
| 3 | "RotateJumpsEasy"; | |
| 4 | "RotateJumpsHard"; | |
| 5 | "PanelsWalk"; | |
| 6 | "SquareJumps"; | |
| 7 | "RotateWalkEasy"; | |
| 8 | "RotateWalkHard"; | |
| 9 | } | |
| 10 | local ObbyOwner = "lachieg06"---Change Here | |
| 11 | - | local ObbyOwner = "Imtannerbanner56"---Change Here |
| 11 | + | |
| 12 | ||
| 13 | --[[Doesn't need to be changed.]]-- | |
| 14 | local Owner = game.Players:FindFirstChild(ObbyOwner) | |
| 15 | ||
| 16 | ||
| 17 | function AddObby(Name,Func) | |
| 18 | table.insert(Obbies,{["Name"]=Name,["Func"]=Func})
| |
| 19 | end | |
| 20 | ||
| 21 | AddObby("BasicJumps",
| |
| 22 | function(ifAdding,position,model1) | |
| 23 | if ifAdding == true then | |
| 24 | local model = Instance.new("Model",model1)
| |
| 25 | model.Name = "BasicJumps" | |
| 26 | local base = Instance.new("Part",model)
| |
| 27 | base.Anchored = true | |
| 28 | base.Name = "Base" | |
| 29 | base.Size = Vector3.new(20,1,40) | |
| 30 | base.BottomSurface = "Smooth" | |
| 31 | base.TopSurface = "Smooth" | |
| 32 | local FillBox = Instance.new("Part",model)
| |
| 33 | FillBox.Anchored = true | |
| 34 | FillBox.CanCollide = false | |
| 35 | FillBox.Name = "FillingBox" | |
| 36 | FillBox.Size = Vector3.new(20,20,40) | |
| 37 | FillBox.CFrame = base.CFrame * CFrame.new(0,9.5,0) | |
| 38 | for i = 1,6 do | |
| 39 | local lava = Instance.new("Part",model)
| |
| 40 | lava.Anchored = true | |
| 41 | lava.CanCollide = false | |
| 42 | lava.BrickColor = BrickColor.new("Really red")
| |
| 43 | lava.BottomSurface = "Smooth" | |
| 44 | lava.TopSurface = "Smooth" | |
| 45 | lava.Size = Vector3.new(20, 1, 2) | |
| 46 | lava.CFrame = base.CFrame * CFrame.new(0,1,(-21*(i*6))) | |
| 47 | end | |
| 48 | end | |
| 49 | end) |