Advertisement - Why am I seeing ads? Report
   
 

YUNO WORK?!

Sort:
Previous Thread :: Next Thread 
jessemccullough9292 is not online. jessemccullough9292
Joined: 10 Jul 2008
Total Posts: 590
22 Mar 2012 09:56 AM
No output was outputted in the making of this script:
function onTouched(hit)
char = hit.Parent.Character
ha = script.Parent["BillboardGui"].Something
normal = ha.Text
if char ~= nil then
ha.Text = "I said DO NOT TOUCH!"
wait(2)
ha.Text = "YUNOLISTEN!?!?"
wait(2)
z = char:children()
for x = 1,#z do
if z[x]:IsA("BasePart") then
for num, 0,1,.1 do
z[x].Transparency = num
wait(.1)
end
end
end
h.Health = 0
ha.Text = normal
end
end
script.Parent.Touched:connect(onTouched)
ReplyReport Abuse
Trapper4O77 is not online. Trapper4O77
Joined: 03 Aug 2011
Total Posts: 5584
22 Mar 2012 12:18 PM
'no output was outputted' -- Lol'd
ReplyReport Abuse
ggfunny1234 is not online. ggfunny1234
Joined: 09 Jul 2010
Total Posts: 3402
22 Mar 2012 02:15 PM
-- Hope this works.

script.Parent.Touched:connect(function(hit)
if hit.Parent and hit.Parent.Character then
char = hit.Parent.Character
ha = script.Parent["BillboardGui"].Something
if char ~= nil then
ha.Text = "I said DO NOT TOUCH!"
wait(2)
ha.Text = "YUNOLISTEN!?!?"
wait(2)
z = char:GetChildren()
for x = 1, #z do
if z[x]:IsA("BasePart") then
for num, 0, 1, .1 do
z[x].Transparency = num
wait(.1)
end
end
end
hit.Parent.Health = 0
ha.Text = "normal"
end)

-- Some of your for loops were rather annoying, due to their.. Messiness. Hopefully I solved your problem.
ReplyReport Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
Add a Reply
 
   
 
Advertisement Report