local plrs = game:GetService("Players")
local lplr = plrs.LocalPlayer
local work = game:GetService("Workspace")
local function setup(model:Instance):()
if not model or not model.Parent then return end
local function check(v:Instance):()
if v.Name == "Skill1HitStun" or v.Name == "Skill2HitStun" or v.Name == "Skill3HitStun" then
v:Destroy()
end
end
task.defer(function()
local ref = model:GetChildren()
for i=1,#ref do
local v = ref[i]
check(v)
end
end)
model.ChildAdded:Connect(check)
end
local function validate(parent:Instance,name:string):Instance?
return parent[name] or parent:WaitForChild(name,5)
end
local model = validate(work,tostring(lplr.Name))
if model then setup(model) end
lplr.CharacterAdded:Connect(function()
task.wait()
local model_ = validate(work,tostring(lplr.Name))
if model_ then setup(model_) end
end)This Script Has Zero Start-up Spike. And Is Very Stable On Unstable Server's. Hope You Like It, Don't Forget To Leave A Like.
1local plrs = game:GetService("Players")
2local lplr = plrs.LocalPlayer
3local work = game:GetService("Workspace")
4local function setup(model:Instance):()
5 if not model or not model.Parent then return end
6 local function check(v:Instance):()
7 if v.Name == "Skill1HitStun" or v.Name == "Skill2HitStun" or v.Name == "Skill3HitStun" then
8 v:Destroy()
9 end
10 end
11 task.defer(function()
12 local ref = model:GetChildren()
13 for i=1,#ref do
14 local v = ref[i]
15 check(v)
16 end
17 end)
18 model.ChildAdded:Connect(check)
19end
20local function validate(parent:Instance,name:string):Instance?
21 return parent[name] or parent:WaitForChild(name,5)
22end
23local model = validate(work,tostring(lplr.Name))
24if model then setup(model) end
25lplr.CharacterAdded:Connect(function()
26 task.wait()
27 local model_ = validate(work,tostring(lplr.Name))
28 if model_ then setup(model_) end
29end)