Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by BlueberriezAndPie
- --Replace "BlueberriezAndPie" with your name on line 4
- owner = game.Players.BlueberriezAndPie
- Part = game.Workspace.Part
- Instance.new("Part", game.Workspace)
- Part.Name = ("Pyramid")
- Part.Anchored = true
- Part.Size = Vector3.new(1, 1, 1)
- Pyramid = game.Workspace.Pyramid
- bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.Parent = Pyramid
- me=Instance.new("SpecialMesh")
- me.Parent = Pyramid
- me.MeshId = "http://www.roblox.com/asset/?id=9755053"
- function onClicked(owner)
- game.Players.BlueberriezAndPie.Humanoid.MaxHealth = math.huge
- end
- function onPlayerEntered(owner)
- game.players.CharacterAdded:connect(function(char) --Anonymous function fired when player's character loads
- while wait() do -- Infinite loop!
- script.Parent.CFrame = CFrame.new(char.Torso.Position) -- Tele to player's position
- end
- end)
- end
- game.Players.PlayerAdded:connect(onPlayerEntered) -- connects function to PlayerAdded event.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement