Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local mouse = plr:GetMouse()
- local tweenservice = game:GetService("TweenService")
- local humanoid = char:WaitForChild("Humanoid")
- local shieldspellname = "Bubble Situation!"
- local UINS = game:GetService("UserInputService")
- local Debounce = false
- local Remote = game:GetService("ReplicatedStorage"):WaitForChild('🔐🔐🔐🔐🔐🔐🔐🔐')
- local torso = char.HumanoidRootPart
- local ten = true
- local ten2 = true
- local ten3 = true
- local ten4 = true
- local ten5 = true
- UINS.InputEnded:connect(function(key)
- if key.KeyCode == Enum.KeyCode.Q then
- if ten == true then
- ten = false
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0)
- game:GetService("Chat"):Chat(char.Head, "Bubble Shield!")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://1932813608"
- local anim = humanoid:LoadAnimation(animation)
- anim:Play()
- local bubbleshield = Instance.new("Part", game.Workspace)
- bubbleshield.CanCollide = false
- bubbleshield.Material = "Glass"
- bubbleshield.Color = Color3.fromRGB(237, 234, 234)
- bubbleshield.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,1,-5)
- bubbleshield.Size = Vector3.new(0,0,0)
- bubbleshield.Transparency = 0.5
- bubbleshield.Name = shieldspellname
- bubbleshield.Shape = "Ball"
- bubbleshield.Touched:Connect(function(hit)
- local pop = {}
- pop.Size = Vector3.new(20,20,20)
- pop.Transparency = 1
- local tweeninfo1 = TweenInfo.new(0.1)
- local tween1 = tweenservice:Create(bubbleshield, tweeninfo1, pop)
- tween1:Play()
- wait(0.3)
- bubbleshield:Destroy()
- local animation3 = Instance.new("Animation")
- animation3.AnimationId = "rbxassetid://01932836089"
- local anim3 = humanoid:LoadAnimation(animation3)
- anim3:Play()
- end)
- local v = Instance.new("BodyVelocity", bubbleshield)
- v.Name = "BodyVelocity"
- v.Velocity = char.HumanoidRootPart.CFrame.lookVector * math.random(1, 80)
- v.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local connection = Instance.new("Attachment", bubbleshield)
- local connection2 = Instance.new("Attachment", char["Right Arm"])
- local beam = Instance.new("Beam", bubbleshield)
- beam.Attachment0 = connection
- beam.Attachment1 = connection2
- beam.TextureLength = -1
- beam.Texture = "http://www.roblox.com/asset/?id=1931087996"
- local goal = {}
- goal.Size = Vector3.new(5,5,5)
- local tweeninfo = TweenInfo.new(0.5)
- local tween = tweenservice:Create(bubbleshield, tweeninfo, goal)
- tween:Play()
- wait(5)
- local pop2 = {}
- pop2.Color = Color3.new(math.random(),math.random(),math.random())
- pop2.Size = Vector3.new(20,20,20)
- pop2.Transparency = 1
- local tweeninfo1 = TweenInfo.new(0.1)
- local tween1 = tweenservice:Create(bubbleshield, tweeninfo1, pop2)
- tween1:Play()
- bubbleshield.Anchored = true
- wait(0.3)
- bubbleshield:Destroy()
- wait(5)
- ten = true
- end
- end
- end)
- UINS.InputEnded:connect(function(key)
- if key.KeyCode == Enum.KeyCode.E then
- if ten2 == true then
- ten2 = false
- game:GetService("Chat"):Chat(char.Head, "Bubble Trap!")
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- local bubbletrap = Instance.new("Part", game.Workspace)
- bubbletrap.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(-8,5,0)
- bubbletrap.Shape = "Ball"
- bubbletrap.Material = "Glass"
- bubbletrap.Transparency = 0.5
- bubbletrap.CanCollide = false
- bubbletrap.Size = Vector3.new(0,0,0)
- bubbletrap.Touched:Connect(function()
- local pop1 = {}
- pop1.Size = Vector3.new(30,30,30)
- pop1.Transparency = 1
- local tween3 = tweenservice:Create(bubbletrap, TweenInfo.new(0.5), pop1)
- tween3:Play()
- wait(2)
- bubbletrap:Destroy()
- end)
- local v = Instance.new("BodyVelocity", bubbletrap)
- v.Name = "BodyVelocity"
- v.Velocity = char.HumanoidRootPart.CFrame.lookVector * 30
- v.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local goal = {}
- goal.Size = Vector3.new(10,10,10)
- local tweeninfo = TweenInfo.new(0.1)
- local tween = tweenservice:Create(bubbletrap, tweeninfo, goal)
- tween:Play()
- wait(3)
- local pop = {}
- pop.Size = Vector3.new(30,30,30)
- pop.Transparency = 1
- local tween3 = tweenservice:Create(bubbletrap, TweenInfo.new(0.5), pop)
- tween3:Play()
- wait(2)
- bubbletrap:Destroy()
- wait(4)
- ten2 = true
- end
- end
- end)
- UINS.InputEnded:connect(function(key)
- if key.KeyCode == Enum.KeyCode.R then
- if ten3 == true then
- ten3 = false
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- game:GetService("Chat"):Chat(char.Head, "Bubble Trouble!")
- local bubbletrouble = Instance.new("Part", game.Workspace)
- bubbletrouble.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,0)
- bubbletrouble.Shape = "Ball"
- bubbletrouble.Material = "Glass"
- bubbletrouble.Transparency = 0.5
- bubbletrouble.CanCollide = false
- bubbletrouble.Anchored = true
- bubbletrouble.Color = Color3.fromRGB(192, 193, 247)
- bubbletrouble.Size = Vector3.new(0,0,0)
- mouse.Move:Connect(function()
- local teleport = {}
- teleport.CFrame = CFrame.new(mouse.Hit.p.X, mouse.hit.p.Y, mouse.Hit.p.Z)
- local teleporting = tweenservice:Create(bubbletrouble, TweenInfo.new(1), teleport)
- teleporting:Play()
- end)
- local goal = {}
- goal.Size = Vector3.new(15,15,15)
- local goal5 = {}
- goal.Size = Vector3.new(15,15,15)
- local tween0 = tweenservice:Create(bubbletrouble, TweenInfo.new(5), goal5)
- tween0:Play()
- local tween = tweenservice:Create(bubbletrouble, TweenInfo.new(5), goal)
- tween:Play()
- wait(3)
- local goal2 = {}
- goal2.Transparency = 1
- local tween2 = tweenservice:Create(bubbletrouble, TweenInfo.new(0.3), goal2)
- tween2:Play()
- wait(1)
- bubbletrouble:Destroy()
- wait(3)
- ten3 = true
- end
- end
- end)
- UINS.InputEnded:connect(function(key)
- if key.KeyCode == Enum.KeyCode.T then
- if ten4 == true then
- ten4 = false
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- game:GetService("Chat"):Chat(char.Head, "Flowing Bubble!")
- char.Humanoid.Jump = true
- wait(0.3)
- local moving = Instance.new("BodyVelocity", char.HumanoidRootPart)
- moving.Velocity = char.HumanoidRootPart.CFrame.lookVector * 70
- moving.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local armlefthumanoid = char["Left Arm"]
- local torso = char.Torso
- local head = char.Head
- local hleg = char["Left Leg"]
- local fleg = char["Right Leg"]
- local armrighthumanoid = char["Right Arm"]
- local aura = Instance.new("ParticleEmitter", char.HumanoidRootPart)
- aura.Speed = NumberRange.new(0,0)
- aura.RotSpeed = NumberRange.new(360,360)
- aura.Texture = "rbxassetid://1931087996"
- local goal = {}
- goal.Transparency = 0.9
- local goal2 = {}
- goal2.Transparency = 0.9
- local goal3 = {}
- goal3.Transparency = 0.9
- local goal4 = {}
- goal4.Transparency = 0.9
- local goal5 = {}
- goal5.Transparency = 0.9
- local he = {}
- he.Transparency = 0.9
- local tween = tweenservice:Create(armlefthumanoid, TweenInfo.new(5), goal)
- tween:Play()
- local tween2 = tweenservice:Create(armrighthumanoid, TweenInfo.new(5), goal2)
- tween2:Play()
- local tween3 = tweenservice:Create(fleg, TweenInfo.new(5), goal3)
- tween3:Play()
- local tween4 = tweenservice:Create(hleg, TweenInfo.new(5), goal4)
- tween4:Play()
- local tween6 = tweenservice:Create(torso, TweenInfo.new(5), goal5)
- tween6:Play()
- local tween7 = tweenservice:Create(head, TweenInfo.new(5), he)
- tween7:Play()
- wait(3)
- local goal6 = {}
- goal6.Transparency = 0
- local goal7 = {}
- goal7.Transparency = 0
- local goal8 = {}
- goal8.Transparency = 0
- local goal9 = {}
- goal9.Transparency = 0
- local goal10 = {}
- goal10.Transparency = 0
- local goal0 = {}
- goal0.Transparency = 0
- local tween6 = tweenservice:Create(armlefthumanoid, TweenInfo.new(0.5), goal6)
- tween6:Play()
- local tween7 = tweenservice:Create(armrighthumanoid, TweenInfo.new(0.5), goal7)
- tween7:Play()
- local tween8 = tweenservice:Create(fleg, TweenInfo.new(0.5), goal8)
- tween8:Play()
- local tween9 = tweenservice:Create(hleg, TweenInfo.new(0.5), goal9)
- tween9:Play()
- local tween10 = tweenservice:Create(torso, TweenInfo.new(0.5), goal10)
- tween10:Play()
- local tween0 = tweenservice:Create(head, TweenInfo.new(0.,5), goal0)
- tween0:Play()
- moving:Destroy()
- aura:Destroy()
- wait(3)
- ten4 = true
- end
- end
- end)
- UINS.InputEnded:connect(function(key)
- if key.KeyCode == Enum.KeyCode.Y then
- if ten5 == true then
- ten5 = false
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- local shockwaves = Instance.new("Part", game.Workspace)
- shockwaves.Shape = "Cylinder"
- shockwaves.Anchored = true
- shockwaves.Material = "Neon"
- shockwaves.Color = Color3.fromRGB(4, 175, 236)
- shockwaves.Transparency = 0.5
- shockwaves.Size = Vector3.new(0,0,0)
- shockwaves.CanCollide = false
- shockwaves.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,-3, 0)
- local shockwaves2 = Instance.new("Part", game.Workspace)
- shockwaves2.Shape = "Cylinder"
- shockwaves2.Anchored = true
- shockwaves2.Material = "Neon"
- shockwaves2.Color = Color3.fromRGB(4, 175, 236)
- shockwaves2.Transparency = 0.5
- shockwaves2.Size = Vector3.new(0,0,0)
- shockwaves2.CanCollide = false
- shockwaves2.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,-3, 0)
- local goal2 = {}
- goal2.Orientation = Vector3.new(0, 0, 90)
- local t = tweenservice:Create(shockwaves, TweenInfo.new(0.1), goal2)
- t:Play()
- local goal4 = {}
- goal4.Orientation = Vector3.new(0,0,90)
- local t3 = tweenservice:Create(shockwaves2, TweenInfo.new(0.1), goal4)
- t3:Play()
- wait(0.1)
- local goal3 = {}
- goal3.Size = Vector3.new(1,150,150)
- goal3.Transparency = 1
- local t2 = tweenservice:Create(shockwaves, TweenInfo.new(5), goal3)
- t2:Play()
- wait(0.1)
- local goal5 = {}
- goal5.Size = Vector3.new(1,150,150)
- goal5.Transparency = 1
- local t7 = tweenservice:Create(shockwaves2, TweenInfo.new(10), goal5)
- t7:Play()
- wait(5)
- torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
- game:GetService("Chat"):Chat(char.Head, "Bubble Spin!")
- shockwaves:Destroy()
- shockwaves2:Destroy()
- local bubbleshiel = Instance.new("Part", game.Workspace)
- bubbleshiel.CanCollide = false
- bubbleshiel.Material = "Glass"
- bubbleshiel.Color = Color3.fromRGB(237, 234, 234)
- bubbleshiel.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,1,-3)
- bubbleshiel.Size = Vector3.new(0,0,0)
- bubbleshiel.Transparency = 0.5
- bubbleshiel.Name = shieldspellname
- bubbleshiel.Shape = "Ball"
- local v = Instance.new("BodyVelocity", bubbleshiel)
- v.Velocity = char.HumanoidRootPart.CFrame.lookVector * 50
- v.MaxForce = Vector3.new(math.huge,math.huge,math.huge) -- (inf,inf,inf)
- local goal = {}
- goal.Size = Vector3.new(150,150,150)
- local tw = tweenservice:Create(bubbleshiel, TweenInfo.new(10), goal)
- tw:Play()
- wait(70)
- ten5 = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement