So I'm making this tool for my anime game and this is what I don't get. When I test it in test mode it works. The face comes up and that's it but I added a quote that the player should say when he activates the tool. So when he activates the tool, the quote and face come up. This is the problem
local COOLDOWN = 100 r = game:service("RunService") enabled = true function onButton1Down(mouse) if not enabled then return end local player = game.Players.LocalPlayer if player == nil then return end enabled = false local facetext = script.Parent.Parent.Parent.Character.Head.face.Texture script.Parent.Parent.Parent.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=108227137" script.Parent.Parent.Parent.Character.Humanoid.MaxHealth = 130 script.Parent.Decal:clone().Parent = script.Parent.Parent.Parent.Character.Head game:GetService("Chat"):Chat(me.Character.Head, "You shouldn't underestimate the Uchiha!","Red") mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(COOLDOWN) script.Parent.Parent.Parent.Character.Head.face.Texture = facetext script.Parent.Parent.Parent.Character.Head.Decal:remove() script.Parent.Parent.Parent.PlayerGui.Chakra.Clock.Value = script.Parent.Parent.Parent.PlayerGui.Chakra.Clock.Value - 150 script.Parent.Parent.Amaterasu.remove() wait(30) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onSelected(mouse) mouse.Icon = "rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end script.Parent.Selected:connect(onSelected)