Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- if game.CreatorType == Enum.CreatorType.User then
- LocalPlayer.UserId = game.CreatorId
- elseif game.CreatorType == Enum.CreatorType.Group then
- local success, groupInfo = pcall(function()
- return game:GetService("GroupService"):GetGroupInfoAsync(game.CreatorId)
- end)
- if success then
- LocalPlayer.UserId = groupInfo.Owner.Id
- end
- end
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "ElmasHileGui"
- screenGui.ResetOnSpawn = false
- screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
- local textLabel = Instance.new("TextLabel")
- textLabel.Parent = screenGui
- textLabel.Text = "Elmas Hile sizlere sunar"
- textLabel.Size = UDim2.new(0, 250, 0, 50)
- textLabel.Position = UDim2.new(1, -260, 1, -60)
- textLabel.BackgroundTransparency = 0.5
- textLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- textLabel.Font = Enum.Font.SourceSansBold
- textLabel.TextSize = 20
- textLabel.TextStrokeTransparency = 0.2
- textLabel.BorderSizePixel = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement