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 8 years ago
Edited 8 years ago

My script was this

1function onTouched(part)
2local h = part.Parent:findFirstChild("Humanoid")
3if h~= nil then
4wait (0.001)
5h.Health = 0 end end
6 
7script.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 8 years ago

You didn't put an "end".

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

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 — 8y
0
I see I had to add some other stuff :) fowma01 2 — 8y

Answer this question