This is needed to turn into a localscript I need to take out all of the function parts and mkae it do what it does here but in a localscript manually inserted into a script i already made. Thanks -Chain the Darkness Unchain the Darkness
function touch(hit)
hit.Parent.Head:findFirstChild("face").Parent=nil
end
function onTouched(hit)
local d = hit.Parent:GetChildren()
for i=1, #d do
if (d[i].className == "ShirtGraphic") then
wait(1)
d[i]:remove()
end
end
end
function onTouched(hit)
local d = hit.Parent.Torso:GetChildren()
for i=1, #d do
if (d[i].className == "Decal") then
wait(1)
d[i]:remove()
end
end
end
script.Parent.Touched:connect(onTouched)
script.Parent.Touched:connect(onTouched)
script.Parent.Touched:connect(touch)
function touch(hit)
hit.Parent:findFirstChild("").Parent=nil
end
script.Parent.Touched:connect(touch)
function onTouched(hit)
local d = hit.Parent:GetChildren()
for i=1, #d do
if (d[i].className == "Hat") then
d[i]:remove()
end
end
end
script.Parent.Touched:connect(onTouched)
GUI = game.Lighting.NuclearGui
if hit.Parent and game.Players:FindFirstChild(hit.Parent.Name) then
Play = game.Players[hit.Parent.Name]
if Play:FindFirstChild("PlayerGui") and not Play.PlayerGui:FindFirstChild(GUI.Name) then
wait(0.567) --Right here.
GUI:Clone().Parent = Play.PlayerGui
end
end
local bodyParts = {"Left Arm","Right Leg","Left Leg","Right Arm","Head","Torso"} --In that order
function onTouch(part)
local human = part.Parent:findFirstChild("Humanoid")
if human ~= nil then
pcall(function() part.Parent:findFirstChild("Shirt"):remove() end)
pcall(function() part.Parent:findFirstChild("Pants"):remove() end)
for _,bodyPart in ipairs(part.Parent:GetChildren()) do
if bodyPart:IsA("Part") and bodyPart.Name ~= "HumanoidRootPart" then
bodyPart.BrickColor = BrickColor.new("Bright green")
end
end
pcall(function()
human.WalkSpeed = -11
wait(0.5)
human.WalkSpeed = -25
wait(1)
human.WalkSpeed = 16
wait(1.5)
human.WalkSpeed = -12
end)
for _,bodyPart in ipairs(bodyParts) do
pcall(function()
for transparency = 0,.5,.1 do
part.Parent[bodyPart].Transparency = transparency
wait(.1)
end
end)
end
wait(2.5)
pcall(function()
Instance.new("Smoke", part.Parent.Head).Color = Color3.new(0, 255, 0)
end)
pcall(function()
while true do
wait(0.5)
human:TakeDamage(5)
wait(0.1)
human.WalkSpeed = -11
wait(0.5)
human:TakeDamage(5)
wait(0.5)
human.WalkSpeed = -25
wait(1)
human:TakeDamage(5)
wait(0.5)
human.WalkSpeed = 16
wait(1.5)
human:TakeDamage(5)
wait(0.5)
human.WalkSpeed = -12
end
end)
end
end
script.Parent.Touched:connect(onTouch)

7 comments
bump
Code block please. Also, bumps do not work here, as there is no Recently Updated Threads section.
Code Block? What do you mean?
Nevermind, I got it
I really, nned help. this is urgent
BUMP
Stop "bumping," this isn't a forum, that doesn't do anything. Don't waste space on your own question..