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

im not so sure what to do here someone help me?

Asked by 9 years ago

When i reset the character the script only prints up to line 18 which is Varaibles

i tried waiting for the character but it doesnt work help?

01local plr = game.Players.LocalPlayer
02local char = plr.Character or plr.CharacterAdded:wait()
03local backpack = plr.Backpack
04local light = game.Lighting
05local safe = script.Parent.Parent:FindFirstChild('IsSafe')
06 
07 
08 
09local deb = false
10script.Parent.MouseButton1Click:connect(function(press)
11    if deb then return end
12    deb = true
13    print '1'
14        local h = char:WaitForChild('Humanoid')
15        local he = char:WaitForChild('Head')
View all 93 lines...

2 answers

Log in to vote
1
Answered by 9 years ago

On the bottom the h can be included. but the he is not. the code is here.

1game.Workspace.("Example").Transparency = (Number)
2--Remember. the he is not included. game.Workspace is included.
3h.MaxHealth = 100
4--Remember the math.huge is not gonna work.
5--same with h.Health.
0
Thats not the case, the script stops at line 18 i dont know how this is gonna help xlaser23 60 — 9y
Ad
Log in to vote
0
Answered by
lukedm 0
9 years ago

Try making a variable for the print text.

0
....? xlaser23 60 — 9y

Answer this question