Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ขั้นตอนที่1 เพิ่มสกินGUI
- 2. เฟรม
- 3.เฟรมในเฟรม
- 4. เพิ่ม เท็กเลเบิ้ล
- 5. โลวโค้วสคริปในเท็กเลเบิ้ล
- สคริป
- local player = game.Players.LocalPlayer
- local leader = player:FindFirstChild("leaderlevel")
- local Exp = leader:FindFirstChild("Exp")
- local MaxExp = leader:FindFirstChild("MaxExp")
- script.Parent.Text = math.floor(Exp.Value).."/"..math.floor(MaxExp.Value)
- Exp.Changed:Connect(function()
- script.Parent.Text = math.floor(Exp.Value).."/"..math.floor(MaxExp.Value)
- end)
- เพิ่มเท็กเลเบิ้ล
- เพิ่มโลโค้วสคริป
- สคริป
- local player = game.Players.LocalPlayer
- local leader = player:FindFirstChild("leaderlevel")
- local level = leader:FindFirstChild("Level")
- script.Parent.Text = "Level : "..math.floor(level.Value)
- level.Changed:Connect(function()
- script.Parent.Text = "Level : "..math.floor(level.Value)
- end)
- ไปทั่เฟรม
- เพิ่มโลวโค้วสคริป
- สคริป
- wait(0.2)
- while true do
- wait(0.1)
- local Exp = game.Players.LocalPlayer:FindFirstChild("leaderlevel"):FindFirstChild("Exp").Value/game.Players.LocalPlayer:FindFirstChild("leaderlevel"):FindFirstChild("MaxExp").Value
- script.Parent:TweenSize((UDim2.new(Exp,0,1,0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.15)
- end
- จบ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement