Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 777
- local box = Instance.new("Part")
- box.Name = "ClickableBox"
- box.Anchored = true
- box.Size = Vector3.new(1, 1, 1)
- box.Position = Vector3.new(0, 0.5, 0) -- 777
- box.BrickColor = BrickColor.new("Institutional white") -- 777
- box.Parent = workspace
- -- 777
- local textLabel = Instance.new("BillboardGui")
- textLabel.Size = UDim2.new(0, 200, 0, 50)
- textLabel.Adornee = box
- textLabel.Parent = box
- local text = Instance.new("TextLabel")
- text.Size = UDim2.new(1, 0, 1, 0)
- text.Text = "تم صناعه السكربت من قبل محمد"
- text.Parent = textLabel
- -- 777
- local clickDetector = Instance.new("ClickDetector")
- clickDetector.Parent = box
- local autoLevelUp = false
- local function onClick(player)
- autoLevelUp = not autoLevelUp -- تبديل الحالة
- while autoLevelUp do
- player.leaderstats.PlayerLevel.Value = player.leaderstats.PlayerLevel.Value + 1
- wait(1) -- 777
- end
- end
- clickDetector.MouseClick:Connect(onClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement