local button = script.Parent
local Players = game:GetService("Players")
button.MouseClick:Connect(function(player)
player:Kick("Ты нажал кнопку!")
end)local part = script.Parent
for i = 1, 10 do
part.Transparency = 1 - i * 0.1
wait(0.1)
endlocal part = script.Parent
local sound = part:FindFirstChild("Sound")
part.Touched:Connect(function()
sound:Play()
end)local part = script.Parent
local destination = workspace.TeleportTo
part.Touched:Connect(function(hit)
local character = hit.Parent
if character:FindFirstChild("HumanoidRootPart") then
character.HumanoidRootPart.CFrame = destination.CFrame
end
end)local part = script.Parent
while true do
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(1), 0)
wait()
endlocal part = script.Parent
part.Touched:Connect(function()
if part.BrickColor == BrickColor.new("Bright red") then
part.BrickColor = BrickColor.new("Bright blue")
else
part.BrickColor = BrickColor.new("Bright red")
end
end)local part = script.Parent
for i = 1, 50 do
part.Position = part.Position + Vector3.new(0, 0.1, 0)
wait(0.01)
endlocal part = script.Parent
local fire = Instance.new("Fire")
fire.Parent = partlocal player = game.Players.LocalPlayer
player.CameraMode = Enum.CameraMode.LockFirstPersonlocal part = script.Parent
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Jump = true
end
end)local part = script.Parent
part.Touched:Connect(function()
local explosion = Instance.new("Explosion")
explosion.Position = part.Position
explosion.BlastRadius = 5
explosion.Parent = workspace
end)