Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

i want to make a hologram, how?

Asked by 7 years ago
Edited 7 years ago

My script was this

function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if h~= nil then
wait (0.001)
h.Health = 0 end end

script.Parent.Touched:connect(onTouched)

And I Forgot to put end But any other ways or ideas?

2 answers

Log in to vote
0
Answered by 7 years ago

You didn't put an "end".

a = script.Parent.sb

while true do 
wait() 
a.Adornee = script.Parent
a.Color = script.Parent.BrickColor 
wait(0.5)
end
0
THX fowma01 2 — 7y
0
Srry It still did not work fowma01 2 — 7y
Ad
Log in to vote
0
Answered by 7 years ago
a = script.Parent.sb

while true do
wait()
a.Adornee = script.Parent
a.BrickColor = BrickColor.new(script.Parent.BrickColor)
wait(0.5)
end

This should work bud :-)

0
In the event of this script not working (It should work) try the script without using the variables sythan12 5 — 7y
0
I see I had to add some other stuff :) fowma01 2 — 7y

Answer this question