The charge thing isn't working I think. It doesn't spawn anything..
wait(3) me = script.Parent.Parent.Parent n = script.Parent local debounce = false mouse = me:GetMouse() run = game:GetService("RunService") aka = 0 char = false function pizza(mouse) if debounce == false then debounce = true char = true LeftShoulder = me.Character.Torso["Left Shoulder"] RightShoulder = me.Character.Torso["Right Shoulder"] Run = game:GetService("RunService") for i = 1, 12 do LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -0.15) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0) LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, -0, 0) RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, 0) Run.Stepped:wait(0.005) end local x = Instance.new("Part") x.Shape = "Block" x.CanCollide = false x.Anchored = true x.TopSurface = "Smooth" x.BottomSurface = "Smooth" x.FormFactor = "Custom" x.Parent = Workspace x.Transparency = 1 x.Rotation = Vector3.new(0, 0, 0) x.Size = Vector3.new(2, 2, 2) x.BrickColor = BrickColor.new("Light blue") x.CFrame = me.Character["Left Arm"].CFrame*CFrame.new(0, -1, 0) while char == true do aka = aka+1 wait(0.2) end mouse.Button1Up:connect(function(mouse) char = false if aka>50 then local x2 = Instance.new("Part") x2.Shape = "Block" x2.CanCollide = false x2.Anchored = true x2.TopSurface = "Smooth" x2.BottomSurface = "Smooth" x2.FormFactor = "Custom" x2.Parent = Workspace x2.Transparency = 1 x2.Rotation = Vector3.new(0, 0, 0) x2.Size = Vector3.new(15, 15, 15) x2.BrickColor = BrickColor.new("Light blue") x2.CFrame = me.Character["Left Arm"].CFrame*CFrame.new(0, -1, 0) y = Instance.new("BodyVelocity") y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = Player.Character.Torso.CFrame.lookVector*100 fa = Instance.new("SpecialMesh", x2) fa.MeshType = "FileMesh" fa.MeshId = "http://www.roblox.com/asset/?id=3270017" aka = 0 else local x2 = Instance.new("Part") x2.Shape = "Block" x2.CanCollide = false x2.Anchored = true x2.TopSurface = "Smooth" x2.BottomSurface = "Smooth" x2.FormFactor = "Custom" x2.Parent = Workspace x2.Transparency = 1 x2.Rotation = Vector3.new(0, 0, 0) x2.Size = Vector3.new(15, 15, 15) x2.BrickColor = BrickColor.new("Light blue") x2.CFrame = me.Character["Left Arm"].CFrame*CFrame.new(0, -1, 0) y = Instance.new("BodyVelocity") y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = Player.Character.Torso.CFrame.lookVector*100 fa = Instance.new("SpecialMesh", x2) fa.MeshType = "FileMesh" fa.MeshId = "http://www.roblox.com/asset/?id=3270017" aka = 0 end end) end wait(10) debounce = false end function onSelected(mouse) mouse.Button1Down:connect(function() pizza(mouse) end) end n.Selected:connect(onSelected)
You need to provide a lot more information. Like what is this script supposed to do? Where is the script? Do you have any output? Is the script a localscript? What have you tried and what is not working?