
96 Views
915 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Powerful Heatbox
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
-- 1. إنشاء الواجهة (مع خاصية عدم الاختفاء عند الموت)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "PeknScriptGui"
ScreenGui.ResetOnSpawn = false -- تمنع اختفاء السكربت عند الموت
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 180, 0, 280)
Frame.Position = UDim2.new(0.5, -90, 0.4, -140)
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
-- وظيفة التحريك
local dragging, dragInput, dragStart, startPos
Frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = input.Position
startPos = Frame.Position
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
local delta = input.Position - dragStart
Frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end)
-- العنوان (تكبير الخط والارتفاع)
local Title = Instance.new("TextLabel", Frame)
Title.Size = UDim2.new(0.8, 0, 0.14, 0)
Title.Position = UDim2.new(0, 0, 0.01, 0)
Title.Text = "سكربت قناتنا في اليوتيوب بيكن سكربت"
Title.BackgroundColor3 = Color3.fromRGB(0, 100, 200)
Title.TextColor3 = Color3.new(1,1,1)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







