gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
bana roblox oyun kodu yaz
- User
bana roblox oyun kodu yaz
- Assistant
Tabii ki! Roblox'ta bir oyun kodu yazmak için bir örnek oluşturabilirim. İşte basit bir "Hello, World!" scripti içeren bir Roblox Script örneği:
- Roblox Studio'yu açın.
- Yeni bir yer oluşturun veya mevcut bir yer açın.
- Explorer panelini açın ve "StarterPlayer" veya "StarterPack" içinde bir Script ekleyin.
- Aşağıdaki kodu scriptin içine yapıştırın:
-- Bu bir basit "Hello, World!" scriptidir print("Hello, World!") -- Oyunculara bir mesaj göster game.Players.PlayerAdded:Connect(function(player) player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui", player.PlayerGui) local textLabel = Instance.new("TextLabel", screenGui) textLabel.Text = "Hoş geldin, " .. player.Name .. "!" textLabel.Size = UDim2.new(0, 400, 0, 100) textLabel.Position = UDim2.new(0.5, -200, 0.5, -50) textLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) textLabel.TextColor3 = Color3.fromRGB(0, 0, 0) textLabel.TextScaled = true end)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.