return function() local PlayerGui = game:GetService("Players").LocalPlayer.PlayerGui local Roact = require(game.ReplicatedStorage.Roact) local app = Roact.createElement("ScreenGui", nil, { Main = Roact.createElement("TextLabel", { Size = UDim2.new(0, 400, 0, 300), Position = UDim2.new(0.5, 0, 0.5, 0), AnchorPoint = Vector2.new(0.5, 0.5), Text = "Hello, Roact!", }), }) local handle = Roact.mount(app, PlayerGui) local function stop() Roact.unmount(handle) end return stop end