Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Platform = Instance.new("Part", workspace)
- local player = game.Players.LocalPlayer
- local character = player.Character
- local allow = (
- player.Name == "Ethanbox11" or
- player.Name == "Jthawks76" or
- player.Name == "grahamf" or
- player.Name == "Player"
- )
- if allow then
- print("You're allowed")
- else
- Platform:Destroy()
- end
- mouse = player:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key:byte() == 32 then
- Platform.CFrame = character.Torso.CFrame * CFrame.new(0, -3, 0)
- Platform.Anchored = true
- Platform.Size = Vector3.new(10, 1.2, 10)
- Platform.Transparency = 0 -- Change 0 to 2 if you would not like to see the bricks underneath you. ~~ Ethanbox11
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement