I want to make damage indicator ui like this
https://gyazo.com/1b5e836cb2c858db6eeb902d0dec9a8e
like i wanna know how to those number like go apart idk how to explain but i want to make something like in the gif.
Yeah so i hope you guys can help me with this
1 Like
well, this does sound like you want someone to make your script, first, try make some parts your self like when the numbers show up.
All right hereโs the script that i tried making
local Tinfo = TweenInfo.new(0.454, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
local Partchache = require(game.ReplicatedStorage.Modules.PartCache)
local B = game.ReplicatedStorage.DamageBoard.DamageBoard2:Clone()
B.Size = Vector3.new(0,0,0)
B.Position = HumRoot.Position
B.CanCollide = false
B.CanTouch = false
B.Anchored = false
B.Archivable = true
B.Locked = false
B.CastShadow = false
B.Transparency = 1
B.Massless = true
local partCache1 = Partchache.new(B, 1, game.Workspace.FX)
local partCache = partCache1:GetPart()
partCache.Size = Vector3.new(0,0,0)
partCache.Position = HumRoot.Position
partCache.CanCollide = false
partCache.CanTouch = false
partCache.Anchored = false
partCache.Archivable = true
partCache.Locked = false
partCache.CastShadow = false
partCache.Transparency = 1
partCache.Massless = true
partCache:FindFirstChild("DamageBoard").Damage.Text = Damage1
partCache:FindFirstChild("DamageBoard").Damage1.Text = Damage1
local bv = Instance.new("BodyVelocity"); bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge); bv.Velocity = Vector3.new(math.random(-15,15),math.random(15,30),math.random(-15,15)); bv.P = 20; bv.Velocity = Vector3.new(math.random(-15,15),math.random(15,30),math.random(-15,15));
bv.Parent = partCache;
local TS = game:GetService("TweenService")
game.Debris:AddItem(bv,0.05)
--local M = TS:Create(partCache:FindFirstChild("DamageBoard").Damage,TweenInfo.new(0.85,Enum.EasingStyle.Back,Enum.EasingDirection.Out),{TextColor3 = Color3.new(0.729412, 0.619608, 1)}) --255, 29, 29
--M:Play()
wait(0.3)
local K1 = TS:Create(partCache:FindFirstChild("DamageBoard"),Tinfo,{Size = UDim2.new(0,0,0,0)})
--K1:Play()
game:GetService("Debris"):AddItem(partCache, 0.1)
partCache.Parent = game.Workspace.FX
does this work or is there an error?
itโs working fine (30 C_ h a r a c t o r)