Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait(0.1) until game.Players.LocalPlayer.Character
- local Player = game.Players.LocalPlayer
- local mouse = Player:GetMouse()
- local OrigTitan = script.Titan
- local NewTitan = nil
- local Debounce = false
- local ChN = #script:GetChildren()
- local enabled = false
- local cooldown = false
- function onKeyDown(Key)
- Key = Key:lower()
- if Key == "p" and enabled == false and cooldown == false then
- enabled = true
- cooldown = true
- shift = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Animation)
- shift:Play()
- bite = Instance.new("Sound")
- bite.SoundId = "http://www.roblox.com/asset/?id=257001402"
- bite.Volume = 0.2
- bite.Pitch = 2
- bite.Parent = game.Workspace
- bite:play()
- game.Debris:AddItem(bite,0.5)
- b = Instance.new("Sound")
- b.SoundId = "http://www.roblox.com/asset/?id=304999618"
- b.Volume = 1
- b.Pitch = 0.5
- b.Parent = game.Workspace
- b:play()
- game.Debris:AddItem(b,0.5)
- wait(1.5)
- game.Lighting.ColorShift_Top = Color3.new(255, 255, 0)
- a = Instance.new("Sound")
- a.SoundId = "http://www.roblox.com/asset/?id=412831137"
- a.Volume = 1
- a.Pitch = 1
- a.Parent = game.Workspace
- a.Looped = false
- a:play()
- spark2 = script.ParticleEmitter2:clone()
- spark2.Parent = game.Players.LocalPlayer.Character.Torso
- bolt = script.Bolt:Clone()
- bolt.Parent = game.Workspace
- bolt.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- bolt.Expand.Disabled = true
- bolt2 = script.Bolt2:Clone()
- bolt2.Parent = game.Workspace
- bolt2.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- bolt2.Expand.Disabled = false
- -----------------------------------------------------------------------------------
- if not (#script:GetChildren() > ChN) then
- if game.Players.LocalPlayer.Backpack:findFirstChild("3DMG") then
- game.Players.LocalPlayer.Backpack:findFirstChild("3DMG").Disabled = false
- end
- if game.Players.LocalPlayer.Backpack:findFirstChild("Animator") then
- game.Players.LocalPlayer.Backpack:findFirstChild("Animator").Disabled = true
- end
- if game.Players.LocalPlayer.Backpack:findFirstChild("Blades/Flares") then
- game.Players.LocalPlayer.Backpack:findFirstChild("Blades/Flares").Disabled = false
- end
- for n,i in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (i:IsA("BasePart") or i:IsA("UnionOperation")) and i.Name ~= "Head" and i.Name ~= "Torso" and i.Name ~= "HumanoidRootPart" and i.Name ~= "Right Leg" and i.Name ~= "Left Leg" and i.Name ~= "Right Arm" and i.Name ~= "Left Arm" then
- i:remove()
- end
- end
- end
- -----------------------------------------------------------------------------------
- wait(4)
- shift:Stop()
- a:remove()
- spark2:remove()
- bolt:remove()
- bolt2:remove()
- game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
- Body = script.Titan:GetChildren()
- for i = 1, #Body do
- if Body[i].ClassName == "Part" then
- Body[i].BrickColor = Player.Character.Head.BrickColor
- end
- end
- NewTitan = script.Titan:clone()
- NewTitan.Name = "TitanShifter"
- NewTitan.Parent = script
- NewTitan.Titan.Torso.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0,-20,0)
- NewTitan.Robot.Disabled = false
- NewTitan.Robot.Disabled = false
- elseif Key == "u" and enabled == true and cooldown == true and NewTitan then
- enabled = false
- NewTitan = nil
- print("dam")
- T = Player.Character:FindFirstChild("Titan (15 Meters)")
- if Player.Character:FindFirstChild("Shifter") then
- Player.Character:FindFirstChild("Shifter"):remove()
- end
- if T ~= nil then
- T:BreakJoints()
- end
- wait(5)
- cooldown = false
- end
- end
- mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement