RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create a script that makes a particle effect on a player when a player levels up"
-- local script local Players = game:GetService("Players") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local particle = script.Parent.ParticleEffect local function onLevelUp() particle.Parent = character.Head particle:Emit(50) wait(2) particle.Parent = nil end humanoid:GetPropertyChangedSignal("Level"):Connect(onLevelUp)