Advertisement
pitrioptixiop

Random obama script

Jun 2nd, 2018
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. if game.Players.LocalPlayer == nil then
  2. error("ayy you gotta rl/ this")
  3. end
  4. names = {"Base","base","Baseplate","baseplate","BasePlate","BASEPLATE","BASE","Ground","ground","GROUND"}
  5. base = nil
  6. pause = false
  7. lp = game.Players.LocalPlayer
  8. for i=1, #names do
  9. wait(0.01)
  10. ff = workspace:FindFirstChild(names[i])
  11. if ff then
  12. base = ff
  13. end
  14. end
  15. if base ~= nil then
  16. base.BrickColor = BrickColor.new("Dirt brown")
  17. base.Material = Enum.Material.Wood
  18. end
  19. part = Instance.new("Part",lp.Character)
  20. part.Anchored = true
  21. part.CFrame = CFrame.new(0,0,0)
  22. part.BrickColor = BrickColor.new("Dirt brown")
  23. part.BackSurface = Enum.SurfaceType.Smooth
  24. part.FrontSurface = Enum.SurfaceType.Smooth
  25. part.LeftSurface = Enum.SurfaceType.Smooth
  26. part.RightSurface = Enum.SurfaceType.Smooth
  27. part.TopSurface = Enum.SurfaceType.Smooth
  28. part.BottomSurface = Enum.SurfaceType.Smooth
  29. part.Material = Enum.Material.Wood
  30. part.Size = Vector3.new(10,20,10)
  31. base.BrickColor = BrickColor.new("Dirt brown")
  32. base.BackSurface = Enum.SurfaceType.Smooth
  33. base.FrontSurface = Enum.SurfaceType.Smooth
  34. base.LeftSurface = Enum.SurfaceType.Smooth
  35. base.RightSurface = Enum.SurfaceType.Smooth
  36. base.TopSurface = Enum.SurfaceType.Smooth
  37. base.BottomSurface = Enum.SurfaceType.Smooth
  38. part2 = Instance.new("Part",lp.Character)
  39. decal = Instance.new("Decal",part)
  40. decal.Face = "Top"
  41. decal.Texture = "http://www.roblox.com/asset/?id=675302795"
  42. wait(0.5)
  43. part2.Position = part.Position
  44. topcframe = part2.CFrame
  45. part2:Destroy()
  46. lp.Character.Head.CFrame = part2.CFrame
  47. wait(0.5)
  48. lp.Character.Head.Anchored = true
  49. sound = Instance.new("Sound",lp.Character.Head)
  50. sound.SoundId = "rbxassetid://157518993"
  51. sound.Volume = 10
  52. sound.Looped = true
  53. sound:Play()
  54. while true do
  55. wait(0.01)
  56. repeat
  57. wait(0.01)
  58. until lp.Character.Humanoid.Jump == true
  59. if pause == false then
  60. pause = true
  61. sound:Pause()
  62. else
  63. sound:Resume()
  64. pause = false
  65. end
  66. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement