i really want to learn scripting but i wanted to make a special gun only for me but no model and I want to learn how to script so can you guys help me I need to learn those scripts that is compatible with this script
local debounce = 3
local bin = true
script.Parent.Touched:Connect(function(hit)
local Humanoid = hit.Parent:FindFirstChild("Humanoid")
if Humanoid and bin then
bin = false
local HD = Humanoid:GetAppliedDescription()
HD.HeadScale = HD.HeadScale * .2
HD.DepthScale = HD.DepthScale * .2
HD.WidthScale = HD.WidthScale * .2
HD.HeightScale = HD.HeightScale * .2
Humanoid:ApplyDescription(HD)
wait(debounce)
bin = true
end
end)
Thank You!
