Advertisement
NyonicBear

fas

Feb 27th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. LOGGED BY HALOGUY51
  2. --------------------------------------------------------------------------------
  3.  
  4.  
  5. --[[Some variables]]--
  6. local Obbies = {
  7. "RotateJumpsEasy";
  8. "RotateJumpsHard";
  9. "PanelsWalk";
  10. "SquareJumps";
  11. "RotateWalkEasy";
  12. "RotateWalkHard";
  13. }
  14. local ObbyOwner = "Part_y"---Change Here
  15.  
  16.  
  17. --[[Doesn't need to be changed.]]--
  18. local Owner = game.Players:FindFirstChild(ObbyOwner)
  19.  
  20.  
  21. function AddObby(Name,Func)
  22. table.insert(Obbies,{["Name"]=Name,["Func"]=Func})
  23. end
  24.  
  25. AddObby("BasicJumps",
  26. function(ifAdding,position,model1)
  27. if ifAdding == true then
  28. local model = Instance.new("Model",model1)
  29. model.Name = "BasicJumps"
  30. local base = Instance.new("Part",model)
  31. base.Anchored = true
  32. base.Name = "Base"
  33. base.Size = Vector3.new(20,1,40)
  34. base.BottomSurface = "Smooth"
  35. base.TopSurface = "Smooth"
  36. local FillBox = Instance.new("Part",model)
  37. FillBox.Anchored = true
  38. FillBox.CanCollide = false
  39. FillBox.Name = "FillingBox"
  40. FillBox.Size = Vector3.new(20,20,40)
  41. FillBox.CFrame = base.CFrame * CFrame.new(0,9.5,0)
  42. for i = 1,6 do
  43. local lava = Instance.new("Part",model)
  44. lava.Anchored = true
  45. lava.CanCollide = false
  46. lava.BrickColor = BrickColor.new("Really red")
  47. lava.BottomSurface = "Smooth"
  48. lava.TopSurface = "Smooth"
  49. lava.Size = Vector3.new(20, 1, 2)
  50. lava.CFrame = base.CFrame * CFrame.new(0,1,(-21*(i*6)))
  51. end
  52. end
  53. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement