of     1   

ikoviron
#183361436Thursday, February 11, 2016 3:34 AM GMT

In this game I've made a script that gives a BoolValue to everyone with a VIP Shirt. I can't tell why this script is not working it's not returning any Output or Script Analysis. function onTouch(Part) local Humanoid = Part.Parent:findFirstChild("Humanoid") if (Humanoid ~=nil) then if Part.Parent.Hit == false then Humanoid.WalkSpeed = Humanoid.WalkSpeed + 100 Humanoid.MaxHealth = Humanoid.MaxHealth + 100 Humanoid.Health = Humanoid.MaxHealth Part.Parent.Hit = true -- Don't let this person get the buff twice end end end script.Parent.Touched:connect(onTouch)
cofunction
#183361507Thursday, February 11, 2016 3:35 AM GMT

"if Part.Parent.Hit == false then" if Part.Parent.Hit.Value == false then as you said it's a boolvalue. A little side note: "if (Humanoid ~=nil) then" Just do if Humanoid then as there exactly the same. c;
ikoviron
#183361607Thursday, February 11, 2016 3:37 AM GMT

Thanks so much. :D

    of     1