--------------------------------------- Tool ------------------------------------ local Equiped = script.Parent local Unequiped = script.Parent ---------------------------------------- Effects ------------------------------------ local ActivedSound = Instance.new("Sound") ActivedSound.SoundId = "rbxassetid://2935387043" ActivedSound.PlaybackSpeed = 1.2 ActivedSound.Volume = 1 ActivedSound.Playing = false
local DeactivedSound = Instance.new("Sound") DeactivedSound.SoundId = "rbxassetid://2935387043" DeactivedSound.PlaybackSpeed = 1.5 DeactivedSound.Volume = 1 DeactivedSound.Playing = false
local SpotLight = Instance.new("SpotLight") SpotLight.Color = Color3.new(255) SpotLight.Face = "Top" SpotLight.Angle = 100 SpotLight.Brightness = 10 SpotLight.Range = 10 SpotLight.Name = "FlashPowerLight" local BottomAttachment = Instance.new("Attachment") BottomAttachment.Name = "Attachment0" local TopAttachment = Instance.new("Attachment") TopAttachment.Name = "Attachment1" ---------------------------------------- Values ------------------------------------ Toggle1 = Instance.new("BoolValue") Toggle1.Value = false Toggle2 = Instance.new("BoolValue") Toggle2.Value = false ---------------------------------------- Cooldown ------------------------------------ local enabled = false ---------------------------------------- Speed ------------------------------------ local SuperSpeed = 65 local NormalSpeed = 16 ---------------------------------------- Main ------------------------------------ Equiped.Activated:Connect(function() if Toggle1.Value == false then if enabled then return end enabled = true local player = game.Players:FindFirstChild(Equiped.Parent.Name) local vCharacter = Equiped.Parent local childs = vCharacter:GetChildren() ---------- Ignore ---------- local human = vCharacter:FindFirstChild("Humanoid") local shirt = vCharacter:FindFirstChild("Shirt") local pants = vCharacter:FindFirstChild("Pants") local Tshirt = vCharacter:FindFirstChild("Shirt Graphics") local face = vCharacter:FindFirstChild("Head"):FindFirstChild("face") local rootpart = vCharacter:FindFirstChild("HumanoidRootPart") local serverstorage = game:FindFirstChild("ServerStorage") ---------- MainPart ---------- SpotLight.Parent = rootpart ActivedSound.Parent = rootpart game:GetService("InsertService"):LoadAsset(9716698010):GetChildren()[1].Parent = rootpart BottomAttachment.Parent = rootpart TopAttachment.Parent = rootpart game:GetService("InsertService"):LoadAsset(9716692661):GetChildren()[1].Parent = rootpart game:GetService("InsertService"):LoadAsset(9716694537):GetChildren()[1].Parent = rootpart rootpart["Orange Lightning"].Attachment0 = BottomAttachment rootpart["Orange Lightning"].Attachment1 = TopAttachment rootpart["Red Lightning"].Attachment0 = BottomAttachment rootpart["Red Lightning"].Attachment1 = TopAttachment game:GetService("InsertService"):LoadAsset(9716699395):GetChildren()[1].Parent = rootpart Toggle1.Value = true Toggle2.Value = false player.Character.Humanoid.WalkSpeed = SuperSpeed ActivedSound:Play() wait(2) enabled = false end end) Unequiped.Activated:Connect(function() if Toggle1.Value == true then if enabled then return end local player = game.Players:FindFirstChild(Unequiped.Parent.Name) enabled = true local vCharacter = Equiped.Parent local childs = vCharacter:GetChildren() ---------- Ignore ---------- local human = vCharacter:FindFirstChild("Humanoid") local shirt = vCharacter:FindFirstChild("Shirt") local pants = vCharacter:FindFirstChild("Pants") local Tshirt = vCharacter:FindFirstChild("Shirt Graphics") local face = vCharacter:FindFirstChild("Head"):FindFirstChild("face") local rootpart = vCharacter:FindFirstChild("HumanoidRootPart") local serverstorage = game:FindFirstChild("ServerStorage") ---------- MainPart ---------- rootpart.w1:Destroy() rootpart["Orange Lightning"]:Destroy() rootpart.w2:Destroy() rootpart["Red Lightning"]:Destroy() SpotLight.Parent = serverstorage DeactivedSound.Parent = rootpart player.Character.Humanoid.WalkSpeed = NormalSpeed DeactivedSound:Play() Toggle1.Value = false Toggle2.Value = true wait(2) enabled = false end end)