Advertisement
legendofswag

Untitled

Aug 30th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. local Platform = Instance.new("Part", workspace)
  2. local player = game.Players.LocalPlayer
  3. local character = player.Character
  4. local allow = (
  5. player.Name == "Ethanbox11" or
  6. player.Name == "Jthawks76" or
  7. player.Name == "grahamf" or
  8. player.Name == "Player"
  9. )
  10. if allow then
  11. print("You're allowed")
  12. else
  13. Platform:Destroy()
  14. end
  15. mouse = player:GetMouse()
  16. mouse.KeyDown:connect(function(key)
  17. if key:byte() == 32 then
  18. Platform.CFrame = character.Torso.CFrame * CFrame.new(0, -3, 0)
  19. Platform.Anchored = true
  20. Platform.Size = Vector3.new(10, 1.2, 10)
  21. Platform.Transparency = 0 -- Change 0 to 2 if you would not like to see the bricks underneath you. ~~ Ethanbox11
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement