Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end local Player,game,owner = owner,game local RealPlayer = Player do local rp = RealPlayer script.Parent = rp.Character local Event = Instance.new("RemoteEvent") Event.Name = "UserInput_Event" local function fakeEvent() local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} t.connect = t.Connect return t end local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil end} CAS.UnbindAction = CAS.BindAction local function te(self,ev,...) local t = m[ev] if t and t._fakeEvent then for _,f in pairs(t.Functions) do f(...) end end end m.TrigEvent = te UIS.TrigEvent = te Event.OnServerEvent:Connect(function(plr,io) if plr~=rp then return end m.Target = io.Target m.Hit = io.Hit if not io.isMouse then local b = io.UserInputState == Enum.UserInputState.Begin if io.UserInputType == Enum.UserInputType.MouseButton1 then return m:TrigEvent(b and "Button1Down" or "Button1Up") end for _,t in pairs(CAS.Actions) do for _,k in pairs(t.Keys) do if k==io.KeyCode then t.Function(t.Name,io.UserInputState,io) end end end m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) end end) Event.Parent = NLS([==[ local Player = game:GetService("Players").LocalPlayer local Event = script:WaitForChild("UserInput_Event") local Mouse = Player:GetMouse() local UIS = game:GetService("UserInputService") local input = function(io,a) if a then return end Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) end UIS.InputBegan:Connect(input) UIS.InputEnded:Connect(input) local h,t while wait(1/30) do if h~=Mouse.Hit or t~=Mouse.Target then h,t=Mouse.Hit,Mouse.Target Event:FireServer({isMouse=true,Target=t,Hit=h}) end end]==],Player.Character) local _rg = game local fsmt = { __index = function(self,k) local s = rawget(self,"_RealService") if s then return s[k] end end, __newindex = function(self,k,v) local s = rawget(self,"_RealService") if s then s[k]=v end end, __call = function(self,...) local s = rawget(self,"_RealService") if s then return s(...) end end } local function FakeService(t,RealService) t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService return setmetatable(t,fsmt) end local g = { GetService = function(self,s) return self[s] end, Players = FakeService({ LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) },"Players"), UserInputService = FakeService(UIS,"UserInputService"), ContextActionService = FakeService(CAS,"ContextActionService"), } rawset(g.Players,"localPlayer",g.Players.LocalPlayer) g.service = g.GetService g.RunService = FakeService({ RenderStepped = _rg:GetService("RunService").Heartbeat, BindToRenderStep = function(self,name,_,fun) self._btrs[name] = self.Heartbeat:Connect(fun) end, UnbindFromRenderStep = function(self,name) self._btrs[name]:Disconnect() end, },"RunService") setmetatable(g,{ __index=function(self,s) return _rg:GetService(s) or typeof(_rg[s])=="function" and function(_,...)return _rg[s](_rg,...)end or _rg[s] end, __newindex = fsmt.__newindex, __call = fsmt.__call }) game,owner = g,g.Players.LocalPlayer end
- warn([[
- T-Pose GER script by MechaXYZ
- --CONTROLS--
- E - Barrage (does 2.5 dmg each hit)
- R - Heavy Punch (does 25 dmg)
- T - Scorpion Shot (does 20 dmg)
- Y - Heal (heals 30 hp)
- J - super bad beatdown
- ]])
- owner.Character.Humanoid.MaxHealth = 250
- owner.Character.Humanoid.Health = 250
- local RA = owner.Character["Right Arm"]
- local LA = owner.Character["Left Arm"]
- local RL = owner.Character["Right Leg"]
- local LL = owner.Character["Left Leg"]
- local Head = owner.Character.Head
- local Torso = owner.Character.Torso
- local Humanoid = owner.Character.Humanoid
- local Character = owner.Character
- local Player = owner
- local HRP = owner.Character.HumanoidRootPart
- local RS = owner.Character.Torso["Right Shoulder"]
- local LS = owner.Character.Torso["Left Shoulder"]
- local RH = owner.Character.Torso['Right Hip']
- local LH = owner.Character.Torso['Left Hip']
- local RootJoint = owner.Character.HumanoidRootPart.RootJoint
- local Neck = owner.Character.Torso.Neck
- local m = owner:GetMouse()
- local tw = game:GetService("TweenService")
- local summoned = false
- local summondb = false
- local edb = false
- local barraging = false
- local rdb = false
- local brgdb = false
- local summon = Instance.new("Sound" , Head)
- summon.SoundId = 'rbxassetid://5371606324'
- summon.Volume = 1.5
- local brg = Instance.new("Sound" , Head)
- brg.SoundId = 'rbxassetid://4897569543'
- brg.Volume = 3.5
- brg.Looped = true
- local hevhit = Instance.new("Sound" , Head)
- hevhit.SoundId = 'rbxassetid://6527704537'
- hevhit.Volume = 1.5
- local bhit = Instance.new("Sound" , Head)
- bhit.SoundId = 'rbxassetid://541909913'
- bhit.Volume = 1.5
- local hevp = Instance.new("Sound" , Head)
- hevp.SoundId = 'rbxassetid://6164853733'
- hevp.Volume = 1.5
- local q1 = Instance.new("Sound" , Head)
- q1.SoundId = 'rbxassetid://6174594065'
- q1.Volume = 2.75
- local q2 = Instance.new("Sound" , Head)
- q2.SoundId = 'rbxassetid://6509584039'
- q2.Volume = 2.75
- q2.TimePosition = .5
- local q3 = Instance.new("Sound" , Head)
- q3.SoundId = 'rbxassetid://6174591978'
- q3.Volume = 2.75
- local shoots = Instance.new("Sound" , Head)
- shoots.SoundId = 'rbxassetid://3895246074'
- shoots.Volume = 1.25
- local heal = Instance.new("Sound" , Head)
- heal.SoundId = 'rbxassetid://3057029635'
- heal.Volume = 2.75
- local ger = Instance.new("SpawnLocation" , owner.Character)
- ger.CanCollide = false
- ger.Enabled = false
- ger.CanTouch = false
- ger.Massless = true
- ger.CanQuery = false
- ger.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(2.5,1.5,2)
- ger.Name = "GER"
- ger.Transparency = 1
- ger.Size = Vector3.new(3,6,2)
- local germesh = Instance.new("SpecialMesh" , ger)
- germesh.MeshId = 'rbxassetid://6528388141'
- germesh.TextureId = 'rbxassetid://6528388259'
- germesh.Scale = Vector3.new(.999999999,.999999999,.999999999)
- local spos = Instance.new("Weld" , HRP)
- spos.Part0 = ger
- spos.Part1 = HRP
- spos.C0 = CFrame.new()
- local startheight = 1.3
- coroutine.wrap(function()
- while task.wait() do
- startheight = 1.3 + (math.sin(tick())/5)
- end
- end)()
- local insummon = false
- local function ragdoll(parent, humer)
- for ia, va in pairs(parent:GetDescendants()) do
- if va:IsA("Motor6D") or va:IsA("Motor") then
- local a0, a1 = Instance.new("Attachment"), Instance.new("Attachment")
- a0.CFrame = va.C0
- a1.CFrame = va.C1
- a0.Parent = va.Part0
- a1.Parent = va.Part1
- local b = Instance.new("BallSocketConstraint")
- b.Attachment0 = a0
- b.Attachment1 = a1
- b.Parent = va.Part0
- va:Destroy()
- humer.PlatformStand = true
- end
- end
- end
- local function chatfunc(text)
- local chat = coroutine.wrap(function()
- if owner.Character.Head:FindFirstChild("TalkingBillBoard") ~= nil then
- owner.Character.Head:FindFirstChild("TalkingBillBoard"):Destroy()
- end
- local naeeym2 = Instance.new("BillboardGui" , owner.Character.Head)
- naeeym2.Size = UDim2.new(0, 500, 0, 500)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextBox",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Bodoni"
- tecks2.TextSize = 50
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(1,1,1)
- tecks2.TextStrokeColor3 = Color3.new()
- tecks2.Size = UDim2.new(1,0,.5,0)
- for c = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,c)
- task.wait(.05)
- end
- task.wait(2)
- for i = 1, 50 do
- task.wait()
- tecks2.TextTransparency += .04
- tecks2.TextStrokeTransparency += .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- local function DamageIndicator(amount, parent, color, scolor)
- local naeeym2 = Instance.new("BillboardGui" , parent)
- naeeym2.Size = UDim2.new(0, 500, 0, 500)
- naeeym2.StudsOffset = Vector3.new(0,0,0)
- naeeym2.Name = "DamageIndicator"
- local tecks2 = Instance.new("TextBox",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = tostring(amount)
- tecks2.Font = "Arcade"
- tecks2.TextSize = 35
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = color
- tecks2.TextStrokeColor3 = scolor
- tecks2.Size = UDim2.new(1,0,.5,0)
- tw:Create(naeeym2, TweenInfo.new(1), {StudsOffset = Vector3.new(0,3,0)}):Play()
- tw:Create(tecks2, TweenInfo.new(1), {TextTransparency = 1, TextStrokeTransparency = 1}):Play()
- game:GetService("Debris"):AddItem(naeeym2, 1)
- end
- m.KeyDown:Connect(function(k)
- if k == 'q' and summoned == false then
- summoned = true
- summon:Play()
- chatfunc("Star Platinum!")
- insummon = true
- tw:Create(spos, TweenInfo.new(.3), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- tw:Create(ger, TweenInfo.new(.3), {Transparency = 0}):Play()
- task.wait(.3)
- insummon = false
- elseif k == 'q' and summoned == true then
- summoned = false
- insummon = true
- tw:Create(spos, TweenInfo.new(.3), {C1 = CFrame.new(0,0,0)}):Play()
- tw:Create(ger, TweenInfo.new(.3), {Transparency = 1}):Play()
- end
- end)
- local bding = false
- local heavying = false
- local healing = false
- m.KeyDown:Connect(function(k)
- if k == 'y' and summoned == true and Humanoid.Health ~= Humanoid.MaxHealth and heavying == false and barraging == false and bding == false then
- healing = true
- tw:Create(spos, TweenInfo.new(.5), {C1 = CFrame.new(0,0,-2.5) * CFrame.Angles(0,math.rad(180),0)}):Play()
- task.wait(.5)
- heal:Play()
- coroutine.wrap(function()
- for i = 1, 10 do
- task.wait(heal.TimeLength/10)
- Humanoid.Health += 3
- DamageIndicator(3, owner.Character.Head, Color3.new(0,1,0), Color3.new(0,.75,0))
- end
- end)()
- heal.Ended:Wait()
- tw:Create(spos, TweenInfo.new(.5), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- task.wait(.495)
- healing = false
- end
- end)
- coroutine.wrap(function()
- while task.wait() do
- pcall(function()
- local speed = HRP.Velocity.X or HRP.Velocity.Z
- if speed ~= 0 and barraging == false and heavying == false and bding == false and insummon == false and healing == false then
- tw:Create(spos, TweenInfo.new(.15), {C1 = CFrame.new(2.5,startheight,2.5) * CFrame.Angles(math.rad(-15),0,0)}):Play()
- brg:Stop()
- elseif speed <= 0 and barraging == false and heavying == false and bding == false and insummon == false and healing == false then
- tw:Create(spos, TweenInfo.new(.15), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- brg:Stop()
- end
- end)
- end
- end)()
- local deg = math.rad
- local rand = math.random
- local rhevdb = false
- local function barragehitbox()
- coroutine.wrap(function()
- while task.wait() do
- pcall(function()
- local params = OverlapParams.new()
- params.FilterDescendantsInstances = {owner.Character}
- params.FilterType = Enum.RaycastFilterType.Blacklist
- for i, hit in pairs(workspace:GetPartBoundsInBox(ger.CFrame, Vector3.new(10,8,5.5), params)) do
- if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and brgdb == false and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 0 then
- brgdb = true
- bhit:Play()
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health -= 2.5
- DamageIndicator(2.5, hit, BrickColor.new("Bright orange").Color, Color3.new())
- local humer = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid")
- humer.WalkSpeed = 2.5
- coroutine.wrap(function()
- task.wait(.05)
- brgdb = false
- humer.WalkSpeed = 16
- end)()
- break
- end
- end
- end)
- if barraging == false then break end
- end
- end)()
- end
- local function hevbox()
- coroutine.wrap(function()
- local params = OverlapParams.new()
- params.FilterDescendantsInstances = {owner.Character}
- params.FilterType = Enum.RaycastFilterType.Blacklist
- for i, hit in pairs(workspace:GetPartBoundsInBox(ger.CFrame, Vector3.new(8,5,8), params)) do
- if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 0 then
- bhit:Play()
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health -= 25
- DamageIndicator(25, hit, Color3.new(1,0,0), Color3.new(.5,0,0))
- local humer = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid")
- humer.Sit = true
- local e = Instance.new("BodyVelocity" , hit)
- e.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- e.Velocity = Vector3.new(0,50,0) + (HRP.CFrame.lookVector * 25)
- if hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health <= 22.5 then
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
- ragdoll(hit:FindFirstAncestorOfClass("Model"),hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid"))
- end
- hevhit:Play()
- game:GetService("Debris"):AddItem(e, .05)
- coroutine.wrap(function()
- task.wait(2)
- humer.Sit = false
- end)()
- break
- end
- end
- end)()
- end
- m.KeyUp:Connect(function(k)
- if k == 'e' and bding == false and healing == false and heavying == false then
- barraging = false
- tw:Create(spos, TweenInfo.new(.3), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- brg:Stop()
- end
- end)
- local bdb = false
- local bdmuda = Instance.new("Sound" , owner.Character.Head)
- bdmuda.SoundId = 'rbxassetid://5752946521'
- bdmuda.TimePosition = 6
- bdmuda.Volume = 3.25
- local function bd()
- pcall(function()
- bdmuda.TimePosition = 6
- hevp:Play()
- local params = OverlapParams.new()
- params.FilterDescendantsInstances = {owner.Character}
- params.FilterType = Enum.RaycastFilterType.Blacklist
- for i, hit in pairs(workspace:GetPartBoundsInBox(ger.CFrame, Vector3.new(8,5,8), params)) do
- if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 0 then
- hevp:Stop()
- bdmuda:Play()
- owner.Character.Humanoid.MaxHealth = 0/0
- owner.Character.Humanoid.Health = 0/0
- HRP.CFrame += Vector3.new(0,25,0)
- spos.C1 = CFrame.new(0,.25,-1.5)
- bding = true
- local gn = true
- local humer = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid")
- local tors = hit:FindFirstAncestorOfClass("Model"):FindFirstChild("Torso") or hit:FindFirstAncestorOfClass("Model"):FindFirstChild("HumanoidRootPart")
- coroutine.wrap(function()
- while task.wait() do
- local eff = ger:Clone()
- eff:BreakJoints()
- eff.Anchored = true
- eff.Transparency = .75
- eff.Parent = script
- game:GetService("Debris"):AddItem(eff, .15)
- if gn == false then break end
- end
- end)()
- humer.Health -= 10
- DamageIndicator(10, hit, BrickColor.new("Bright orange").Color, Color3.fromRGB(218/10, 133/10, 65/10))
- tors.CFrame = HRP.CFrame * CFrame.new(0,2,-8) * CFrame.Angles(0,math.rad(180),0)
- for ia, va in pairs(hit:FindFirstAncestorOfClass("Model"):GetDescendants()) do
- if va:IsA("BasePart") then
- va.Anchored = true
- end
- end
- humer.BreakJointsOnDeath = false
- local effect = Instance.new("SpawnLocation" ,script)
- effect.CanCollide = false
- effect.Anchored = true
- local oldcf = (HRP.CFrame.p + tors.CFrame.p)/2
- effect.CFrame = CFrame.new(oldcf)
- local msh = Instance.new("SpecialMesh" , effect)
- msh.MeshId = 'rbxassetid://0'
- msh.TextureId = 'rbxassetid://0'
- msh.Scale = Vector3.new(-50,-50,-50)
- coroutine.wrap(function()
- while effect do
- task.wait()
- pcall(function()
- effect.CFrame *= CFrame.Angles(0,math.rad(15),0)
- end)
- end
- end)()
- tw:Create(spos, TweenInfo.new(2), {C1 = CFrame.new(0,.75,-5.5) * CFrame.Angles(deg(15),0,0)}):Play()
- coroutine.wrap(function()
- task.wait()
- for ia, va in pairs(owner.Character:GetDescendants()) do
- if va:IsA("BasePart") and va ~= ger then
- va.Anchored = true
- end
- end
- end)()
- task.wait(2)
- local a = true
- gn = false
- coroutine.wrap(function()
- while task.wait() do
- if a == true then
- humer.Health -= (.25)
- DamageIndicator(.25, hit, Color3.new(1,0,0), Color3.new(.5,0,0))
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.75,-5.5) * CFrame.Angles(deg(15),deg(-35),deg(15))}):Play()
- task.wait(.06)
- humer.Health -= (.25)
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.75,-5.5) * CFrame.Angles(deg(15),deg(35),deg(-15))}):Play()
- task.wait(.06)
- humer.Health -= (.25)
- end
- end
- end)()
- task.wait(2)
- a = false
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.75,-5.5) * CFrame.Angles(deg(15),0,0)}):Play()
- coroutine.wrap(function()
- task.wait(1)
- chatfunc("You fool...")
- end)()
- task.wait(1)
- chatfunc("You're dead.")
- task.wait(1)
- a = true
- task.wait(10)
- a = false
- tw:Create(spos, TweenInfo.new(2), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(deg(15),math.rad(180),0)}):Play()
- task.wait(2.5)
- coroutine.wrap(function()
- for i = 1, 11 do
- task.wait()
- spos.C1 = spos.C1:Lerp(CFrame.new(0,.25,-5) * CFrame.Angles(deg(15),0,0), .1)
- end
- end)()
- task.wait(.100)
- for ia, va in pairs(owner.Character:GetDescendants()) do
- if va:IsA("BasePart") and va ~= ger then
- va.Anchored = false
- end
- end
- effect:Destroy()
- if hit and hit:FindFirstAncestorOfClass("Model") and humer and tors then
- for ia, va in pairs(hit:FindFirstAncestorOfClass("Model"):GetDescendants()) do
- if va:IsA("BasePart") then
- va.Anchored = false
- end
- end
- local e = Instance.new("BodyVelocity" , tors)
- e.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- e.Velocity = Vector3.new(0,75,0) + (HRP.CFrame.lookVector * 100)
- game:GetService("Debris"):AddItem(e, .05)
- ragdoll(hit:FindFirstAncestorOfClass("Model"), humer)
- DamageIndicator(humer.Health, hit, Color3.new(1,0,0), Color3.new(.5,0,0))
- humer.Health = 0
- end
- tw:Create(spos, TweenInfo.new(.3), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- bding = false
- owner.Character.Humanoid.MaxHealth = 250
- owner.Character.Humanoid.Health = 250
- bdmuda.Ended:Wait()
- chatfunc("Here is your pentition.")
- break
- end
- end
- end)
- end
- function showbeam(origin, direction)
- local midpoint = origin + direction/2
- local part = Instance.new("SpawnLocation")
- part.Parent = script
- part.Anchored = true
- part.Enabled = false
- part.Material = Enum.Material.Neon
- part.BrickColor = BrickColor.new("Bright yellow")
- part.CanCollide = false
- part.CFrame = CFrame.new(midpoint, origin)
- part.Size = Vector3.new(.1, .1, direction.Magnitude)
- game:GetService("TweenService"):Create(part, TweenInfo.new(.5), {Size = Vector3.new(0, 0, direction.Magnitude)}):Play()
- game:GetService("Debris"):AddItem(part, .5)
- return part
- end
- local function shoot()
- coroutine.wrap(function()
- shoots:Play()
- chatfunc("Star Shooter!")
- end)()
- local origin = (ger.CFrame * CFrame.new(3,2,0)).p
- local direction = (m.Hit.p - origin) * 10000
- local raycastParams = RaycastParams.new()
- raycastParams.FilterDescendantsInstances = {owner.Character, script}
- raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
- local result = workspace:Raycast(origin, direction, raycastParams)
- local part = showbeam(origin, result and result.Position - origin or direction)
- if not result then return end
- local hit = result.Instance
- if hit:FindFirstAncestorOfClass("Model") and hit:IsDescendantOf(owner.Character) == false and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") then
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health =
- hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health - 20
- DamageIndicator(20, hit, BrickColor.new("Bright red").Color, Color3.new(.25,0,0))
- end
- end
- m.KeyDown:Connect(function(k)
- if k == 't' and summoned == true and barraging == false and healing == false and bding == false and heavying == false then
- heavying = true
- tw:Create(spos, TweenInfo.new(.1), {C1 = CFrame.new(0,.25,-5)}):Play()
- task.wait(.15)
- shoot()
- task.wait(.25)
- tw:Create(spos, TweenInfo.new(.15), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- heavying = false
- end
- end)
- m.KeyDown:Connect(function(k)
- if k == 'r' and summoned == true and barraging == false and healing == false and bding == false then
- heavying = trueY
- coroutine.wrap(function()
- tw:Create(spos, TweenInfo.new(.035), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(0,math.rad(75),0)}):Play()
- hevp:Play()
- task.wait(.035)
- tw:Create(spos, TweenInfo.new(.03), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(0,math.rad(125),0)}):Play()
- task.wait(.03)
- tw:Create(spos, TweenInfo.new(.03), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(0,math.rad(165),0)}):Play()
- task.wait(.03)
- tw:Create(spos, TweenInfo.new(.03), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(0,math.rad(-190),0)}):Play()
- end)()
- task.wait(.15)
- hevbox()
- task.wait(.1)
- tw:Create(spos, TweenInfo.new(.15), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- heavying = false
- end
- end)
- m.KeyDown:Connect(function(key)
- if key == 'j' and summoned == true and heavying == false and healing == false and barraging == false then
- bding = true
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.25,-5) * CFrame.Angles(0,math.rad(75),0)}):Play()
- task.wait(.15)
- bd()
- task.wait(.5)
- tw:Create(spos, TweenInfo.new(.15), {C1 = CFrame.new(2.5,startheight,2.5)}):Play()
- bding = false
- end
- end)
- m.KeyDown:Connect(function(k)
- if k == 'e' and summoned == true and healing == false and heavying == false and bding == false then
- barraging = true
- tw:Create(spos, TweenInfo.new(.1), {C1 = CFrame.new(0,.5,-2.5)}):Play()
- task.wait(.1)
- brg:Play()
- barragehitbox()
- while barraging == true do
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.5,-2.5) * CFrame.Angles(deg(-5),deg(-35),deg(15))}):Play()
- task.wait(.06)
- tw:Create(spos, TweenInfo.new(.05), {C1 = CFrame.new(0,.5,-2.5) * CFrame.Angles(deg(-5),deg(35),deg(-15))}):Play()
- task.wait(.06)
- end
- end
- end)
Add Comment
Please, Sign In to add comment