Universal Script 📌
1.3k Views
269 Executions

8k

Universal Script 📌
vobBox
vobBoxPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

8k

View Raw
-- 🌟 تأثير النجوم على جسم اللاعب بالكامل 🌟

local Players = game:GetService("Players")

-- عند انضمام اللاعب
Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        -- تحديد أجزاء الجسم التي سيُضاف لها التأثير
        local bodyParts = {"Head", "Torso", "HumanoidRootPart", "LeftLeg", "RightLeg", "LeftArm", "RightArm"}

        for _, partName in pairs(bodyParts) do
            local part = character:FindFirstChild(partName)
            if part then
                -- إضافة ParticleEmitter لكل جزء
                local starEmitter = Instance.new("ParticleEmitter")
                starEmitter.Name = "StarEffect"
                starEmitter.Parent = part
                starEmitter.Texture = "rbxassetid://241594819" -- معرف صورة النجوم
                starEmitter.Rate = 30 -- كثافة النجوم
                starEmitter.Lifetime = NumberRange.new(1, 3) -- مدة بقاء النجوم
                starEmitter.Speed = NumberRange.new(0.5, 1) -- سرعة الحركة
                starEmitter.VelocitySpread = 360 -- توزيع النجوم في جميع الاتجاهات
                starEmitter.Rotation = NumberRange.new(0, 360) -- دوران النجوم
                starEmitter.RotSpeed = NumberRange.new(5, 10) -- سرعة الدوران
                starEmitter.Size = NumberSequence.new{
                    NumberSequenceKeypoint.new(0, 0.5), -- حجم النجوم في البداية
                    NumberSequenceKeypoint.new(1, 0.1) -- حجم النجوم عند التلاشي
                }
                starEmitter.Transparency = NumberSequence.new{
                    NumberSequenceKeypoint.new(0, 0.2), -- شفافية في البداية
                    NumberSequenceKeypoint.new(1, 1) -- شفافية عند الاختفاء
                }
                starEmitter.Color = ColorSequence.new(Color3.fromRGB(0, 102, 255)) -- لون أزرق
                starEmitter.LightInfluence = 0.5 -- التأثير بالإضاءة
                starEmitter.EmissionDirection = Enum.NormalId.Top -- اتجاه الانبعاث لأعلى

                print("✅ تم إضافة تأثير النجوم إلى: " .. partName)
            end
        end
    end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
783
5.0k
Bumped 2 hours ago
Universal Script 📌
6.2k
54.4k
Bumped 2 hours ago
Universal Script 📌
2.4k
2.1k
Bumped 3 hours ago
Key System
Script hub
14.4k
75.0k
Bumped 5 hours ago
Universal Script 📌
97
99
Approved 6 hours ago
Key System
Universal Script 📌
97
120
Approved 7 hours ago