SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --Scripted By coolallball |
| 1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
| 2 | - | wait() |
| 2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 3 | - | if game.Players.LocalPlayer.Character.Animate.Disabled==false then |
| 3 | + | local Player,game,owner = owner,game |
| 4 | - | game.Players.LocalPlayer.Character.Animate.Disabled=true |
| 4 | + | local RealPlayer = Player |
| 5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
| |
| 6 | - | if game.Players.LocalPlayer.Character.Humanoid.Animator then |
| 6 | + | |
| 7 | - | game.Players.LocalPlayer.Character.Humanoid.Animator:Destroy() |
| 7 | + | wait(0.016666666666667) |
| 8 | script.Name = "Chaos" | |
| 9 | - | wait() |
| 9 | + | local Player = game.Players.LocalPlayer |
| 10 | - | local Player=game.Players.LocalPlayer |
| 10 | + | repeat |
| 11 | - | repeat wait() |
| 11 | + | wait() |
| 12 | until Player | |
| 13 | - | local Char=Player.Character |
| 13 | + | local Character = Player.Character |
| 14 | - | repeat wait() |
| 14 | + | repeat |
| 15 | - | until Char |
| 15 | + | wait() |
| 16 | - | local CurrentEffects={}
|
| 16 | + | until Character |
| 17 | - | local CurrentDamages={}
|
| 17 | + | local Effects = {}
|
| 18 | - | local Human=Char.Humanoid |
| 18 | + | local Humanoid = Character.Humanoid |
| 19 | - | local LArm=Char["Left Arm"] |
| 19 | + | local mouse = Player:GetMouse() |
| 20 | - | local RArm=Char["Right Arm"] |
| 20 | + | local m = Instance.new("Model", Character)
|
| 21 | - | local LLeg=Char["Left Leg"] |
| 21 | + | m.Name = "WeaponModel" |
| 22 | - | local RLeg=Char["Right Leg"] |
| 22 | + | local LeftArm = Character["Left Arm"] |
| 23 | - | local Torso=Char.Torso |
| 23 | + | local RightArm = Character["Right Arm"] |
| 24 | - | local RS=Torso["Right Shoulder"] |
| 24 | + | local LeftLeg = Character["Left Leg"] |
| 25 | - | local LS=Torso["Left Shoulder"] |
| 25 | + | local RightLeg = Character["Right Leg"] |
| 26 | - | local RH=Torso["Right Hip"] |
| 26 | + | local Head = Character.Head |
| 27 | - | local LH=Torso["Left Hip"] |
| 27 | + | local Torso = Character.Torso |
| 28 | - | local Head=Char.Head |
| 28 | + | local cam = game.Workspace.CurrentCamera |
| 29 | - | local Neck=Torso.Neck |
| 29 | + | local RootPart = Character.HumanoidRootPart |
| 30 | - | local RootPart=Char.HumanoidRootPart |
| 30 | + | local RootJoint = RootPart.RootJoint |
| 31 | - | local RootJoint=RootPart.RootJoint |
| 31 | + | local equipped = false |
| 32 | - | local equipped=false |
| 32 | + | local attack = false |
| 33 | - | local Debounce=false |
| 33 | + | local Anim = "Idle" |
| 34 | - | local Anim="Idle" |
| 34 | + | local idle = 0 |
| 35 | - | local chat = game:GetService("Chat")
|
| 35 | + | local attacktype = 1 |
| 36 | - | local Mouse=Player:GetMouse() |
| 36 | + | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude |
| 37 | - | local Lighting=game.Lighting |
| 37 | + | local velocity = RootPart.Velocity.y |
| 38 | - | local cam=workspace.CurrentCamera |
| 38 | + | local sine = 0 |
| 39 | - | local cf=CFrame.new |
| 39 | + | local change = 1 |
| 40 | - | local v3=Vector3.new |
| 40 | + | local grabbed = false |
| 41 | - | local c3=Color3.new |
| 41 | + | local cn = CFrame.new |
| 42 | - | local it=Instance.new |
| 42 | + | local mr = math.rad |
| 43 | - | local angles=CFrame.Angles |
| 43 | + | local angles = CFrame.Angles |
| 44 | - | local rad=math.rad |
| 44 | + | local ud = UDim2.new |
| 45 | - | local ran=math.random |
| 45 | + | local c3 = Color3.new |
| 46 | - | local huge=math.huge |
| 46 | + | Humanoid.Animator.Parent = nil |
| 47 | - | local attacking=false |
| 47 | + | Character.Animate.Parent = nil |
| 48 | - | local attacktype=1 |
| 48 | + | local newFakeMotor = function(part0, part1, c0, c1) |
| 49 | - | local Sheathed=true |
| 49 | + | |
| 50 | - | Tool=script.Parent |
| 50 | + | local w = Instance.new("Motor", part0)
|
| 51 | - | Equipped=false |
| 51 | + | w.Part0 = part0 |
| 52 | - | op=false |
| 52 | + | w.Part1 = part1 |
| 53 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 53 | + | w.C0 = c0 |
| 54 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
| 54 | + | w.C1 = c1 |
| 55 | - | LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
| 55 | + | return w |
| 56 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
| 56 | + | |
| 57 | - | RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 57 | + | |
| 58 | - | ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 58 | + | clerp = function(a, b, t) |
| 59 | - | RHC01=cf(1, -1, 0, 0, -0.087155737, 0.99619472, 0, 0.99619472, 0.087155737, -1, 0, 0) |
| 59 | + | |
| 60 | - | LHC01=cf(-1, -1, 0, 0, 0.087155737, -0.99619472, 0, 0.99619472, 0.087155737, 1, 0, 0) |
| 60 | + | return a:lerp(b, t) |
| 61 | - | RSC01=cf(1, 0.5, 0, 0, -0.173648179, 0.98480773, 0, 0.98480773, 0.173648179, -1, 0, 0) |
| 61 | + | |
| 62 | - | LSC01=cf(-1, 0.5, 0, 0, 0.173648179, -0.98480773, 0, 0.98480773, 0.173648179, 1, 0, 0) |
| 62 | + | |
| 63 | - | ROOTC01=cf(0, 0, 0, -0.939692616, 0.342020124, 0, 0, 0, 1, 0.342020124, 0.939692616, 0) |
| 63 | + | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 64 | - | NECKC01=cf(0, 1, 0, -0.939692616, -0.342020124, 0, -0.0593911707, 0.163175911, 0.98480773, -0.336824059, 0.925416529, -0.173648179) |
| 64 | + | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
| 65 | - | Joints={RH.C0,LH.C0,RS.C0,LS.C0,RootJoint.C0,Neck.C0}
|
| 65 | + | local RW = newFakeMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) |
| 66 | - | --why do people label stuff with comments, y. |
| 66 | + | local LW = newFakeMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) |
| 67 | - | r=game:service'RunService'.RenderStepped |
| 67 | + | local RH = newFakeMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) |
| 68 | - | clerp=function(a,b,t) |
| 68 | + | local LH = newFakeMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) |
| 69 | - | return a:lerp(b,t) |
| 69 | + | RootJoint.C1 = CFrame.new(0, 0, 0) |
| 70 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 71 | - | Combo=0 |
| 71 | + | Torso.Neck.C1 = CFrame.new(0, 0, 0) |
| 72 | - | TotalDamage=0 |
| 72 | + | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) |
| 73 | - | Damage=0 |
| 73 | + | local rarmc1 = RW.C1 |
| 74 | - | ComboMoves={}
|
| 74 | + | local larmc1 = LW.C1 |
| 75 | - | Inputs={}
|
| 75 | + | local rlegc1 = RH.C1 |
| 76 | - | CurrentTarget="" |
| 76 | + | local llegc1 = LH.C1 |
| 77 | - | Inp=Player:GetChildren() |
| 77 | + | local resetc1 = false |
| 78 | - | LastAnim="" |
| 78 | + | PlayAnimationFromTable = function(table, speed, bool) |
| 79 | ||
| 80 | - | print(cam.CameraType) |
| 80 | + | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) |
| 81 | - | Human.WalkSpeed=30 |
| 81 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) |
| 82 | - | Human.JumpPower=50 |
| 82 | + | RW.C0 = clerp(RW.C0, table[3], speed) |
| 83 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 84 | - | for i=1,#Inp do |
| 84 | + | RH.C0 = clerp(RH.C0, table[5], speed) |
| 85 | - | if Inp[i]:IsA('Sound') then Inp[i]:Remove() end
|
| 85 | + | LH.C0 = clerp(LH.C0, table[6], speed) |
| 86 | if bool == true and resetc1 == false then | |
| 87 | resetc1 = true | |
| 88 | - | --Functions |
| 88 | + | RootJoint.C1 = RootJoint.C1 |
| 89 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 90 | - | function FindDist(a,b) |
| 90 | + | RW.C1 = rarmc1 |
| 91 | - | return math.sqrt((b.p.x-a.p.x)^2+(b.p.y-a.p.y)^2+(b.p.z-a.p.z)^2) |
| 91 | + | LW.C1 = larmc1 |
| 92 | RH.C1 = rlegc1 | |
| 93 | LH.C1 = llegc1 | |
| 94 | - | Round=function(Num) |
| 94 | + | |
| 95 | - | local mid=math.ceil(Num) |
| 95 | + | |
| 96 | - | mid=mid-.5 |
| 96 | + | |
| 97 | - | if Num>=mid then |
| 97 | + | ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
|
| 98 | - | return math.ceil(Num) |
| 98 | + | ArtificialHB.Name = "Heartbeat" |
| 99 | - | else return math.floor(Num) |
| 99 | + | Player.PlayerGui:WaitForChild("Heartbeat")
|
| 100 | - | end |
| 100 | + | frame = 0.033333333333333 |
| 101 | tf = 0 | |
| 102 | allowframeloss = false | |
| 103 | - | SFX=function(id,name,vol) |
| 103 | + | tossremainder = false |
| 104 | - | local s=it("Sound",Sounds)
|
| 104 | + | lastframe = tick() |
| 105 | - | s.SoundId=id |
| 105 | + | Player.PlayerGui.Heartbeat:Fire() |
| 106 | - | s.Name=name |
| 106 | + | local gg = false |
| 107 | - | s.Volume=vol |
| 107 | + | game:GetService("RunService").Heartbeat:connect(function(s, p)
|
| 108 | ||
| 109 | if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
| |
| 110 | - | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) |
| 110 | + | gg = true |
| 111 | - | local gui = Instance.new(GuiType) |
| 111 | + | |
| 112 | - | gui.Parent = parent |
| 112 | + | if gg == true then |
| 113 | - | gui.Text = text |
| 113 | + | return |
| 114 | - | gui.BackgroundTransparency = backtrans |
| 114 | + | |
| 115 | - | gui.BackgroundColor3 = backcol |
| 115 | + | tf = tf + s |
| 116 | - | gui.SizeConstraint = "RelativeXY" |
| 116 | + | if frame <= tf then |
| 117 | - | gui.TextXAlignment = "Center" |
| 117 | + | if allowframeloss then |
| 118 | - | gui.TextYAlignment = "Center" |
| 118 | + | Player.PlayerGui.Heartbeat:Fire() |
| 119 | - | gui.Position = pos |
| 119 | + | lastframe = tick() |
| 120 | - | gui.Size = size |
| 120 | + | |
| 121 | - | gui.Font = "Cartoon" |
| 121 | + | for i = 1, math.floor(tf / frame) do |
| 122 | - | gui.FontSize = "Size60" |
| 122 | + | Player.PlayerGui.Heartbeat:Fire() |
| 123 | - | gui.TextWrapped = false |
| 123 | + | end |
| 124 | - | gui.TextStrokeTransparency = 0 |
| 124 | + | lastframe = tick() |
| 125 | - | gui.TextColor = BrickColor.new("Pastal white")
|
| 125 | + | |
| 126 | - | return gui |
| 126 | + | if tossremainder then |
| 127 | tf = 0 | |
| 128 | else | |
| 129 | - | Torso.Anchored=false |
| 129 | + | tf = tf - frame * math.floor(tf / frame) |
| 130 | end | |
| 131 | end | |
| 132 | end | |
| 133 | - | function rayCast(Position, Direction, Range, Ignore) |
| 133 | + | ) |
| 134 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 134 | + | swait = function(num) |
| 135 | ||
| 136 | - | --Damage function |
| 136 | + | if num == 0 or num == nil then |
| 137 | - | function Damage(part,min,max,range,font) |
| 137 | + | ArtificialHB.Event:wait() |
| 138 | - | for i,v in pairs(workspace:GetChildren()) do |
| 138 | + | else |
| 139 | - | if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v.ClassName=="Model" and FindDist(part,v.Torso.CFrame)<=range and v.Name~= Player.Name then
|
| 139 | + | for i = 0, num do |
| 140 | - | local dmg=Round(math.random(min,max)) |
| 140 | + | ArtificialHB.Event:wait() |
| 141 | - | local bil=Instance.new("BillboardGui",v:FindFirstChild("Torso"))
|
| 141 | + | |
| 142 | - | bil.Adornee=v:FindFirstChild("Torso")
|
| 142 | + | |
| 143 | - | bil.Size=UDim2.new(0, 500, 0, 500) |
| 143 | + | |
| 144 | - | bil.ExtentsOffset=Vector3.new(ran(-3,3),ran(-3,3),ran(-3,3)) |
| 144 | + | |
| 145 | - | local tx=Instance.new("TextLabel",bil)
|
| 145 | + | local RbxUtility = LoadLibrary("RbxUtility")
|
| 146 | - | tx.Text=""..dmg.."" |
| 146 | + | local Create = RbxUtility.Create |
| 147 | - | tx.Font="Cartoon" |
| 147 | + | RemoveOutlines = function(part) |
| 148 | - | tx.FontSize="Size60" |
| 148 | + | |
| 149 | - | tx.TextWrapped = false |
| 149 | + | part.TopSurface = 10 |
| 150 | - | tx.TextStrokeTransparency = 0 |
| 150 | + | |
| 151 | - | tx.TextColor = BrickColor.new("Pastel white")
|
| 151 | + | |
| 152 | - | tx.TextXAlignment = "Center" |
| 152 | + | local co1 = 200 |
| 153 | - | tx.TextYAlignment = "Center" |
| 153 | + | local co2 = 20 |
| 154 | - | tx.TextWrapped = false |
| 154 | + | local co3 = 30 |
| 155 | - | tx.SizeConstraint = "RelativeXY" |
| 155 | + | local co4 = 30 |
| 156 | - | v:FindFirstChild('Humanoid'):TakeDamage(math.random(min,max))
|
| 156 | + | local cooldown1 = 200 |
| 157 | - | spawn(function() |
| 157 | + | local cooldown2 = 0 |
| 158 | - | for ii=1,10 do r:wait() |
| 158 | + | local cooldown3 = 0 |
| 159 | - | tx.TextTransparency=ii/10 end |
| 159 | + | local cooldown4 = 0 |
| 160 | - | bil:Destroy() end) |
| 160 | + | local skillcolorscheme = BrickColor.new("Fossil").Color
|
| 161 | - | end end end |
| 161 | + | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
|
| 162 | makeframe = function(par, trans, pos, size, color) | |
| 163 | - | sine=1 |
| 163 | + | |
| 164 | - | change=1 |
| 164 | + | local frame = Instance.new("Frame", par)
|
| 165 | frame.BackgroundTransparency = trans | |
| 166 | - | --Detect State |
| 166 | + | frame.BorderSizePixel = 0 |
| 167 | frame.Position = pos | |
| 168 | - | detect_state = function() |
| 168 | + | frame.Size = size |
| 169 | - | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
| 169 | + | frame.BackgroundColor3 = color |
| 170 | - | local velocity = RootPart.Velocity.y |
| 170 | + | return frame |
| 171 | - | sine = sine + change |
| 171 | + | |
| 172 | - | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char) |
| 172 | + | |
| 173 | - | if attacking==false then |
| 173 | + | makelabel = function(par, text) |
| 174 | - | if RootPart.Velocity.y > 1 and hit == nil and attacking==false then |
| 174 | + | |
| 175 | - | Anim = "Jump"--print(Anim) |
| 175 | + | local label = Instance.new("TextLabel", par)
|
| 176 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(-15),rad(0),rad(0)),.3) |
| 176 | + | label.BackgroundTransparency = 1 |
| 177 | - | RH.C0=clerp(RH.C0,RHC0*angles(rad(-10),rad(0),rad(0)),.3) |
| 177 | + | label.Size = UDim2.new(1, 0, 1, 0) |
| 178 | - | LH.C0=clerp(LH.C0,LHC0*angles(rad(-10),rad(0),rad(0)),.3) |
| 178 | + | label.Position = UDim2.new(0, 0, 0, 0) |
| 179 | - | RS.C0=clerp(RS.C0,RSC0*angles(rad(-20),rad(0),rad(-20)),.3) |
| 179 | + | label.TextColor3 = Color3.new(255, 255, 255) |
| 180 | - | LS.C0=clerp(LS.C0,LSC0*angles(rad(-20),rad(0),rad(20)),.3) |
| 180 | + | label.TextStrokeTransparency = 0 |
| 181 | - | elseif RootPart.Velocity.y < -1 and hit == nil and attacking==false then |
| 181 | + | label.FontSize = Enum.FontSize.Size32 |
| 182 | - | Anim = "Fall"--print(Anim) |
| 182 | + | label.Font = Enum.Font.SourceSansLight |
| 183 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(35),rad(0),rad(0)),.3) |
| 183 | + | label.BorderSizePixel = 0 |
| 184 | - | RH.C0=clerp(RH.C0,RHC01*angles(rad(0),rad(0),rad(-5)),.3) |
| 184 | + | label.TextScaled = true |
| 185 | - | LH.C0=clerp(LH.C0,LHC01*angles(rad(0),rad(0),rad(20)),.3) |
| 185 | + | label.Text = text |
| 186 | - | RS.C0=clerp(RS.C0,RSC0*angles(rad(-100),rad(0),rad(0)),.3) |
| 186 | + | |
| 187 | - | LS.C0=clerp(LS.C0,LSC0*angles(rad(-100),rad(0),rad(0)),.3) |
| 187 | + | |
| 188 | - | LastAnim="Fall" |
| 188 | + | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) |
| 189 | - | elseif Torsovelocity < 1 and hit ~= nil and Equipped==false and attacking==false then |
| 189 | + | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) |
| 190 | - | Anim = "Idle"--print(Anim) |
| 190 | + | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) |
| 191 | - | change=1 |
| 191 | + | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) |
| 192 | - | if LastAnim~="Idle" then LastAnim="Idle" |
| 192 | + | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) |
| 193 | - | for i=1,16 do r:wait() |
| 193 | + | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) |
| 194 | - | RS.C0=RS.C0:lerp(RSC01,.3) |
| 194 | + | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) |
| 195 | - | LS.C0=LS.C0:lerp(LSC01,.3) |
| 195 | + | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) |
| 196 | - | RH.C0=RH.C0:lerp(RHC01,.3) |
| 196 | + | text1 = Instance.new("TextLabel", framesk1)
|
| 197 | - | LH.C0=LH.C0:lerp(LHC01,.3) |
| 197 | + | text1.BackgroundTransparency = 1 |
| 198 | - | RootJoint.C0=RootJoint.C0:lerp(ROOTC01,.3) |
| 198 | + | text1.Size = UDim2.new(1, 0, 1, 0) |
| 199 | - | Neck.C0=Neck.C0:lerp(NECKC01,.3) |
| 199 | + | text1.Position = UDim2.new(0, 0, 0, 0) |
| 200 | text1.TextColor3 = Color3.new(255, 255, 255) | |
| 201 | text1.TextStrokeTransparency = 0 | |
| 202 | - | r:wait() RS.C0=RS.C0*cf(0,(math.cos(sine/15))/200,0)*angles(0,(math.cos(sine/-15))/-300,0) |
| 202 | + | text1.FontSize = Enum.FontSize.Size18 |
| 203 | - | LS.C0=LS.C0*cf(0,(math.cos(sine/15))/200,0)*angles(0,(math.cos(sine/15))/300,0) |
| 203 | + | text1.Font = Enum.Font.SourceSansLight |
| 204 | - | Neck.C0=Neck.C0*angles((math.cos(sine/15))/300,0,0) |
| 204 | + | text1.BorderSizePixel = 0 |
| 205 | - | RH.C0=RH.C0*cf((math.cos(sine/-15))/500,0,0) |
| 205 | + | text1.TextScaled = true |
| 206 | - | LH.C0=LH.C0*cf((math.cos(sine/-15))/500,0,0) |
| 206 | + | text1.Text = "[Z]\n N/A" |
| 207 | - | RootJoint.C0=RootJoint.C0*cf(0,0,(math.cos(sine/15))/500) |
| 207 | + | text2 = Instance.new("TextLabel", framesk2)
|
| 208 | - | elseif Torsovelocity > 2 and hit ~= nil and attacking==false then |
| 208 | + | text2.BackgroundTransparency = 1 |
| 209 | - | Anim = "Walk" --print(Anim) |
| 209 | + | text2.Size = UDim2.new(1, 0, 1, 0) |
| 210 | - | r:wait() |
| 210 | + | text2.Position = UDim2.new(0, 0, 0, 0) |
| 211 | - | change=3 |
| 211 | + | text2.TextColor3 = Color3.new(255, 255, 255) |
| 212 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(0),0,0),.3) |
| 212 | + | text2.TextStrokeTransparency = 0 |
| 213 | - | RootJoint.C0 = clerp(RootJoint.C0, ROOTC0 * cf(0, 0, 0) * angles(math.rad(10 + 1 * math.cos(sine / 15)), math.rad(0), 0), .3) |
| 213 | + | text2.FontSize = Enum.FontSize.Size18 |
| 214 | - | RH.C0 = clerp(RH.C0, cf(0, 0, 0 - 0.5 * math.cos(sine / 10) / 2) * RHC0 * angles(math.rad(-3), math.rad(10), math.rad(30 * math.cos(sine / 10))), .3) |
| 214 | + | text2.Font = Enum.Font.SourceSansLight |
| 215 | - | LH.C0 = clerp(LH.C0, cf(0, 0, 0 + 0.5 * math.cos(sine / 10) / 2) * LHC0 * angles(math.rad(-3), math.rad(10), math.rad(30 * math.cos(sine / 10))), .3) |
| 215 | + | text2.BorderSizePixel = 0 |
| 216 | - | RS.C0 = clerp(RS.C0, RSC0 * angles(math.rad(-10), math.rad(10), math.rad(-20)),.3) |
| 216 | + | text2.TextScaled = true |
| 217 | - | LS.C0 = clerp(LS.C0, LSC0 * angles(math.rad(-10), math.rad(10), math.rad(20)),.3) |
| 217 | + | text2.Text = "[X]\n Reload" |
| 218 | - | LastAnim="Walk" |
| 218 | + | text3 = Instance.new("TextLabel", framesk3)
|
| 219 | text3.BackgroundTransparency = 1 | |
| 220 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 221 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 222 | text3.TextColor3 = Color3.new(255, 255, 255) | |
| 223 | - | --Folders+More functions |
| 223 | + | text3.TextStrokeTransparency = 0 |
| 224 | text3.FontSize = Enum.FontSize.Size18 | |
| 225 | - | Effects=Instance.new("Folder",Char)
|
| 225 | + | text3.Font = Enum.Font.SourceSansLight |
| 226 | - | Effects.Name="Effects" |
| 226 | + | text3.BorderSizePixel = 0 |
| 227 | - | Welds=Instance.new("Folder",Char)
|
| 227 | + | text3.TextScaled = false |
| 228 | - | Welds.Name="Welds" |
| 228 | + | text3.Text = "[C]\n Armageddon" |
| 229 | - | Sounds=Instance.new("Folder",Char)
|
| 229 | + | text4 = Instance.new("TextLabel", framesk4)
|
| 230 | - | Sounds.Name="Sounds" |
| 230 | + | text4.BackgroundTransparency = 1 |
| 231 | - | part=function(parent,anchored,cancollide,size,cframe,col3,material,trans) |
| 231 | + | text4.Size = UDim2.new(1, 0, 1, 0) |
| 232 | - | local p=it("Part",parent)
|
| 232 | + | text4.Position = UDim2.new(0, 0, 0, 0) |
| 233 | - | p.Anchored=anchored |
| 233 | + | text4.TextColor3 = Color3.new(255, 255, 255) |
| 234 | - | p.CanCollide=cancollide |
| 234 | + | text4.TextStrokeTransparency = 0 |
| 235 | - | p.Size=size |
| 235 | + | text4.FontSize = Enum.FontSize.Size18 |
| 236 | - | p.CFrame=cframe |
| 236 | + | text4.Font = Enum.Font.SourceSansLight |
| 237 | - | p.Color=col3 |
| 237 | + | text4.BorderSizePixel = 0 |
| 238 | - | p.Material=material |
| 238 | + | text4.TextScaled = true |
| 239 | - | p.Transparency=trans |
| 239 | + | text4.Text = "[V]\n Bullet Storm" |
| 240 | - | return p |
| 240 | + | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 241 | ||
| 242 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 243 | - | mesh=function(parent,ttype,scale) |
| 243 | + | RemoveOutlines(Part) |
| 244 | - | local m=it("SpecialMesh",parent)
|
| 244 | + | return Part |
| 245 | - | m.MeshType=ttype |
| 245 | + | |
| 246 | - | m.Scale=scale |
| 246 | + | |
| 247 | - | return m |
| 247 | + | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 248 | ||
| 249 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 250 | - | spmesh=function(parent,id,scale) |
| 250 | + | if Mesh == "SpecialMesh" then |
| 251 | - | local m=it("SpecialMesh",parent)
|
| 251 | + | Msh.MeshType = MeshType |
| 252 | - | m.MeshId=id |
| 252 | + | Msh.MeshId = MeshId |
| 253 | - | m.Scale=scale |
| 253 | + | |
| 254 | - | return m |
| 254 | + | return Msh |
| 255 | end | |
| 256 | ||
| 257 | - | local Smooth=function(Table) |
| 257 | + | CreateWeld = function(Parent, Part0, Part1, C0, C1) |
| 258 | - | for _, v in pairs(Table) do |
| 258 | + | |
| 259 | - | if v.ClassName=="Part" then |
| 259 | + | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
|
| 260 | - | v.TopSurface,v.BottomSurface,v.BackSurface,v.FrontSurface,v.LeftSurface,v.RightSurface=10,10,10,10,10,10 end end |
| 260 | + | return Weld |
| 261 | end | |
| 262 | ||
| 263 | - | local function PowerGlow(Parent,Cframe,Col1,Col2,Material,Size)spawn(function() |
| 263 | + | CFuncs = {
|
| 264 | - | local Colours = {BrickColor.new(Col1),BrickColor.new(Col2)}
|
| 264 | + | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
|
| 265 | - | local Power1 = Instance.new("Part", Parent)
|
| 265 | + | |
| 266 | - | Power1.CFrame = Cframe |
| 266 | + | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
|
| 267 | - | Power1.Size = Vector3.new(0,0,0) |
| 267 | + | RemoveOutlines(Part) |
| 268 | - | Power1.TopSurface = 0 |
| 268 | + | return Part |
| 269 | - | Power1.BottomSurface = 0 |
| 269 | + | |
| 270 | - | Power1.CanCollide = false |
| 270 | + | |
| 271 | - | Power1.Anchored = true |
| 271 | + | , |
| 272 | - | Power1.Material = Material |
| 272 | + | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
|
| 273 | - | Power1.BrickColor = Colours[math.random(1,#Colours)] |
| 273 | + | |
| 274 | - | local m = Instance.new("SpecialMesh", Power1)
|
| 274 | + | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
|
| 275 | - | m.MeshType = "Sphere" |
| 275 | + | if Mesh == "SpecialMesh" then |
| 276 | - | m.Scale = Vector3.new(Size*.3,Size*.3,Size*.3) |
| 276 | + | Msh.MeshType = MeshType |
| 277 | - | local a = Size/30 |
| 277 | + | Msh.MeshId = MeshId |
| 278 | - | local b = Size/30 |
| 278 | + | |
| 279 | - | local c = (Size/3)*13.25999999 |
| 279 | + | return Msh |
| 280 | - | Power1.CFrame = Power1.CFrame*CFrame.Angles(rad(90),0,0) |
| 280 | + | |
| 281 | - | for i = 1,10 do |
| 281 | + | |
| 282 | - | m.Scale = m.Scale+Vector3.new(a,b,c/2) |
| 282 | + | , |
| 283 | - | Power1.Transparency = i/10 |
| 283 | + | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
|
| 284 | - | game:service'RunService'.RenderStepped:wait() |
| 284 | + | |
| 285 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 286 | - | m:Destroy() |
| 286 | + | if Mesh == "SpecialMesh" then |
| 287 | - | Power1:Destroy()end) |
| 287 | + | Msh.MeshType = MeshType |
| 288 | - | end |
| 288 | + | Msh.MeshId = MeshId |
| 289 | end | |
| 290 | - | Lightning = function(Start,End,Times,Offset,Color,Thickness) |
| 290 | + | return Msh |
| 291 | end | |
| 292 | - | local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
|
| 292 | + | |
| 293 | , | |
| 294 | - | for i=1,Times do |
| 294 | + | Weld = {Create = function(Parent, Part0, Part1, C0, C1)
|
| 295 | ||
| 296 | - | local li = Instance.new("Part",Char) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true
|
| 296 | + | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
|
| 297 | return Weld | |
| 298 | - | li.Material = "Neon" |
| 298 | + | |
| 299 | } | |
| 300 | - | li:BreakJoints() |
| 300 | + | , |
| 301 | Sound = {Create = function(id, par, vol, pit)
| |
| 302 | - | li.Transparency = 0 li.BrickColor = Color |
| 302 | + | |
| 303 | coroutine.resume(coroutine.create(function() | |
| 304 | - | li.formFactor = "Custom" li.CanCollide = false |
| 304 | + | |
| 305 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
| |
| 306 | - | li.Size = Vector3.new(Thickness,Thickness,magz/Times) |
| 306 | + | wait() |
| 307 | S:play() | |
| 308 | - | local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) |
| 308 | + | game:GetService("Debris"):AddItem(S, 6)
|
| 309 | end | |
| 310 | - | local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz |
| 310 | + | )) |
| 311 | end | |
| 312 | - | if Times == i then |
| 312 | + | |
| 313 | , | |
| 314 | - | local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2) |
| 314 | + | ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
|
| 315 | ||
| 316 | - | li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2) |
| 316 | + | local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
|
| 317 | return fp | |
| 318 | end | |
| 319 | } | |
| 320 | - | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) |
| 320 | + | |
| 321 | Handle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 0.920000136, 0.200000003)) | |
| 322 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.262939453, -0.121995926, -0.965805054, 0.969704211, 0.236531034, 0.0610490143, -0.0425508283, -0.0825409442, 0.995678902, 0.240548, -0.968111455, -0.069975704)) | |
| 323 | CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 324 | - | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p spawn(function() wait() li:Destroy() end) |
| 324 | + | FakeHandle = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 0.920000136, 0.200000003)) |
| 325 | FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515e-09, 0, 1.86264515e-09, 0.99999994)) | |
| 326 | CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 327 | Barrel = CreatePart(m, Enum.Material.Metal, 0, 1, "Really black", "Barrel", Vector3.new(0.200000003, 0.310000002, 0.350000113)) | |
| 328 | BarrelWeld = CreateWeld(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.955901146, 7.17863464, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) | |
| 329 | CreateMesh("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 330 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 331 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.53586674, 0.307937622, -6.66361237, -0.241776183, -0.307871968, 0.920195222, -0.969704211, 0.0425508283, -0.240548, 0.0349029154, -0.950475931, -0.308832437)) | |
| 332 | - | --Feet Welds |
| 332 | + | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 5))
|
| 333 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.820000112, 0.200000003)) | |
| 334 | - | RightFoot=part(Char,false,false,v3(0,0,0),cf(0,0,0),c3(-1,0,0),"Neon",1) |
| 334 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.0704040527, -0.0807228088, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 335 | - | LeftFoot=part(Char,false,false,v3(0,0,0),cf(0,0,0),c3(-1,0,0),"Neon",1) |
| 335 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 336 | - | RF=it("Weld",Welds)
|
| 336 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(3.48000002, 0.200000003, 0.649999976)) |
| 337 | - | RF.Name="RF" |
| 337 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.0436306, 1.1287384, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 338 | - | RF.Part0=RightFoot |
| 338 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.600000024, 0.200000003)) |
| 339 | - | RF.Part1=RLeg |
| 339 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361092, 0.385857582, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 340 | - | RF.C0=RF.C0*cf(0,1,0) |
| 340 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(4.18000031, 0.200000003, 0.649999976)) |
| 341 | - | LF=it("Weld",Welds)
|
| 341 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, 0.585878372, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 342 | - | LF.Name="LF" |
| 342 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.300000012, 0.200000003, 0.649999976)) |
| 343 | - | LF.Part0=LeftFoot |
| 343 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.55361938, 0.104698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) |
| 344 | - | LF.Part1=LLeg |
| 344 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(3.08000016, 0.200000003, 0.649999976)) |
| 345 | - | LF.C0=LF.C0*cf(0,1,0) |
| 345 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743627548, -1.73353577, -1.36719513, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 346 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(7.28000021, 0.200000003, 0.649999976)) | |
| 347 | - | --Click Combo |
| 347 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361877, 2.01470947, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) |
| 348 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(4.18000078, 0.200000003, 0.649999976)) | |
| 349 | - | --[[Mouse.Button1Down:connect(function() |
| 349 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.49362373, -0.78125, -1.56369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 350 | - | if attacking== false and attacktype == 1 and Equipped==false then print"RAWR" |
| 350 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(7.38000011, 0.200000003, 0.649999976)) |
| 351 | - | attackone() |
| 351 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.89362717, 0.176452637, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 352 | - | attacktype = 2 |
| 352 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976)) |
| 353 | - | elseif attacking== false and attacktype == 1 and Equipped==true then print"Swish" |
| 353 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94362259, -2.38845825, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) |
| 354 | - | attackfour() |
| 354 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.400000006, 0.200000003, 0.649999976)) |
| 355 | - | attacktype=2 |
| 355 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60362244, -0.478485107, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) |
| 356 | - | else |
| 356 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.5, 0.649999976)) |
| 357 | - | if attacking == false and attacktype == 2 and Equipped==false then print"XD" |
| 357 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361702, -1.58352661, -1.36719131, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 358 | - | attacktwo() |
| 358 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976)) |
| 359 | - | attacktype = 3 |
| 359 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361824, -0.928466797, -0.648468018, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) |
| 360 | - | elseif attacking == false and attacktype == 2 and Equipped==true then print"Swash" |
| 360 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.400000036, 0.400000006)) |
| 361 | - | attackfive() |
| 361 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.68361282, 0.485881805, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 362 | - | attacktype=3 |
| 362 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(7.27999973, 0.200000003, 0.649999976)) |
| 363 | - | else |
| 363 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.94361496, 2.49586678, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 364 | - | if attacking == false and attacktype == 3 and Equipped==false then print"DAI" |
| 364 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 1.30000007, 0.649999976)) |
| 365 | - | attackthree() |
| 365 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, 1.13585138, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 366 | - | attacktype = 1 |
| 366 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006)) |
| 367 | - | elseif attacking == false and attacktype == 3 and Equipped==true then print"STEB" |
| 367 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585381, 2.38361931, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) |
| 368 | - | attacksix() |
| 368 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 369 | - | attacktype=1 |
| 369 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(1.64999998, 1.59000015, 1.67000008)) |
| 370 | - | end |
| 370 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585953, 1.62366486, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) |
| 371 | - | end |
| 371 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 372 | - | end |
| 372 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.699999988, 0.649999976)) |
| 373 | - | end)]] |
| 373 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, 1.76469421, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) |
| 374 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007)) | |
| 375 | - | --Sounds |
| 375 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-05, -0.459983826, -0.365005493, 1.00000024, 0, 0, 0, 1, 1.86264515e-09, 0, 1.86264515e-09, 0.99999994)) |
| 376 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 1.20000005, 0.649999976)) | |
| 377 | - | local Draw=Instance.new("Sound",Sounds)
|
| 377 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50361252, 0.604698181, -1.16293335, 0.0349029228, -0.950475931, -0.308832467, 0.765577912, 0.224063158, -0.603064001, 0.642395854, -0.215386584, 0.735483646)) |
| 378 | - | Draw.Name="Draw" |
| 378 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(1.71000004, 0.200000003, 1.81000006)) |
| 379 | - | Draw.SoundId="rbxassetid://608618332" |
| 379 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.09585667, 0.873628616, 0.507064819, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) |
| 380 | - | Draw.Volume=1.1 |
| 380 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 381 | - | local poo=it('Sound',Sounds)
|
| 381 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.920000136, 0.200000003)) |
| 382 | - | poo.Name="JumpEffect" |
| 382 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 1.86264515e-09, 0, 1.86264515e-09, 0.99999994)) |
| 383 | - | poo.SoundId="rbxassetid://231917987" |
| 383 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 384 | - | poo.Volume=.3 |
| 384 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) |
| 385 | - | SFX("rbxassetid://320557487","BasicAttackOne",1)
|
| 385 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696378708, -2.03845215, -0.648483276, 0.0349029228, -0.950475931, -0.308832467, 0.374378681, -0.274084091, 0.885843515, -0.926618993, -0.146538794, 0.346271485)) |
| 386 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.550000012)) | |
| 387 | - | --Key Input Detection |
| 387 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.05175781e-05, 0.460012436, -0.175018311, 1.00000024, 0, 0, 0, 1, 1.86264515e-09, 0, 1.86264515e-09, 0.99999994)) |
| 388 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 1.10000002, 0.649999976)) | |
| 389 | - | Input="" |
| 389 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.50362206, -0.273544312, -1.36717987, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 390 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.5, 1.14999998)) | |
| 391 | - | Mouse.KeyDown:connect(function(key) Input=Input..key wait() Input ="" end) |
| 391 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.28361511, -0.53125, -1.31373596, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 392 | - | spawn(function()while r:wait() do |
| 392 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.930000007)) |
| 393 | - | if Input=="z" and attacking==false then print(Input) |
| 393 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93360138, -0.389587402, -0.345714569, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 394 | - | Input ="" Z()Input="" |
| 394 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 2.0999999, 0.649999976)) |
| 395 | - | elseif Input=="x" and attacking==false then print(Input) |
| 395 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, 0.168762207, -1.56370544, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 396 | - | Input="" X()Input="" |
| 396 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.5, 0.649999976)) |
| 397 | - | elseif Input=="c" and attacking==false then print(Input) |
| 397 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696382523, 2.34584999, -0.317962646, 0.0349029228, -0.950475931, -0.308832467, 0.241776168, 0.307871938, -0.920195222, 0.969704211, -0.0425508283, 0.240548)) |
| 398 | - | Input=""C()Input="" |
| 398 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003)) |
| 399 | - | elseif Input=="v" and attacking==false then print(Input) |
| 399 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78364944, -0.914924622, -1.49900818, 0.0349029228, -0.950475931, -0.308832467, 0.224812746, -0.29363355, 0.929106355, -0.973776877, -0.101857953, 0.203430369)) |
| 400 | - | Input=""V()Input="" |
| 400 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(3.18000031, 1.68000007, 0.200000003)) |
| 401 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.793626785, -0.0424346924, -0.642055511, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 402 | - | end end) |
| 402 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(2.98000097, 0.200000003, 1.14999998)) |
| 403 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.893630981, -0.78125, -1.31369781, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 404 | - | --Moves |
| 404 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.730000496, 0.200000003, 0.200000003)) |
| 405 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.78365326, -1.31258392, -1.40377808, 0.0349029228, -0.950475931, -0.308832467, -0.0348796546, -0.309991032, 0.950099528, -0.998781979, -0.0223892741, -0.0439718515)) | |
| 406 | - | Z=function() |
| 406 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) |
| 407 | - | RH.C0=clerp(RH.C0,RHC0*angles(rad(-5),rad(0),rad(0)),1) |
| 407 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -1.3835144, -1.36720276, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 408 | - | LH.C0=clerp(LH.C0,LHC0*angles(rad(-5),rad(0),rad(0)),1) |
| 408 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.850000024)) |
| 409 | - | RS.C0=clerp(RS.C0,RSC0*angles(rad(-10),rad(0),rad(0)),1) |
| 409 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93361282, 0.530380249, -0.305717468, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 410 | - | LS.C0=clerp(LS.C0,LSC0*angles(rad(-10),rad(0),rad(0)),1) |
| 410 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 0.899999976, 0.649999976)) |
| 411 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(10),rad(0),rad(-20)),1) |
| 411 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696374893, -0.173538208, -1.36718369, 0.0349029228, -0.950475931, -0.308832467, 0.847531557, -0.135605425, 0.513129354, -0.529596448, -0.27965492, 0.800825119)) |
| 412 | - | RootJoint.C0=RootJoint.C0:lerp(ROOTC0*angles(rad(0),rad(0),rad(20)),1) |
| 412 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.200000003, 1.69999993, 1.14999998)) |
| 413 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696380615, -0.0312194824, -1.31369019, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) | |
| 414 | - | print(RH.C0) |
| 414 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.780000925, 0.230000004, 0.309999943)) |
| 415 | - | print(LH.C0) |
| 415 | + | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.39359856, -0.79624939, -1.01370239, 0.0349029228, -0.950475931, -0.308832467, 0.996956468, 0.0546696596, -0.0555818826, 0.0697130263, -0.305952549, 0.949491084)) |
| 416 | - | print(RS.C0) |
| 416 | + | Motor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Medium stone grey", "Motor", Vector3.new(1.60000002, 5.46000004, 1.48000002)) |
| 417 | - | print(LS.C0) |
| 417 | + | MotorWeld = CreateWeld(m, FakeHandle, Motor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.48586464, 4.39365387, -0.312942505, 0.241776183, 0.307871968, -0.920195222, -0.0349029154, 0.950475931, 0.308832437, 0.969704211, -0.0425508283, 0.240548)) |
| 418 | - | print(RootJoint.C0) |
| 418 | + | CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 419 | - | print(Neck.C0) |
| 419 | + | FakeMotor = CreatePart(m, Enum.Material.Metal, 0.20000000298023, 0, "Medium stone grey", "Part", Vector3.new(1.60000002, 5.46000004, 1.48000002)) |
| 420 | FakeMotorWeld = CreateWeld(m, Motor, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) | |
| 421 | CreateMesh("CylinderMesh", FakeMotor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 422 | - | X=function() |
| 422 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 423 | - | attacking=true |
| 423 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.899982452, 0.70710659, -1.13248825e-06, -0.707107067, -0.707107186, 1.49011612e-06, -0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 424 | - | math.randomseed(tick()) |
| 424 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 425 | - | math.random() |
| 425 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Smoky grey", "Part", Vector3.new(0.700000048, 0.200000003, 0.750000119)) |
| 426 | - | local ids={"rbxassetid://327264499","rbxassetid://327264897","rbxassetid://331196652","rbxassetid://298947115"}
|
| 426 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 2.73001862, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 427 | - | local Li = Instance.new("BillboardGui",Char)
|
| 427 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 428 | - | Li.Size = UDim2.new(0,100,0,40) |
| 428 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(1.60000002, 0.210000008, 1.35000002)) |
| 429 | - | Li.StudsOffset = Vector3.new(0,3,0) |
| 429 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295e-06, 2.63498688, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 430 | - | Li.Adornee = Torso |
| 430 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 431 | - | Li.Size=UDim2.new(5,0,5,0) |
| 431 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 432 | - | local img=it("ImageLabel",Li)
|
| 432 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529963493, 2.78498077, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 433 | - | img.Image=ids[math.random(1,#ids)] |
| 433 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 434 | - | img.BackgroundTransparency=1 |
| 434 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 435 | - | img.Size=UDim2.new(1,0,1,0) |
| 435 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529956818, 2.77998734, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 436 | - | for i=1,200000000000000 do r:wait() |
| 436 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 437 | - | img.Image=ids[math.random(1,#ids)] |
| 437 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 438 | - | img.Rotation=math.random(1,360) |
| 438 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, -0.700012207, 0.70710659, -1.13248825e-06, -0.707107067, -0.707107186, 1.49011612e-06, -0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 439 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 440 | - | attacking=false |
| 440 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 441 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678840637, -1.50000381, 0.70710659, -1.13248825e-06, -0.707107067, -0.707107186, 1.49011612e-06, -0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) | |
| 442 | - | li=function() |
| 442 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 443 | - | local ids={"rbxassetid://327264499","rbxassetid://327264897","rbxassetid://331196652","rbxassetid://298947115"}
|
| 443 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 444 | - | local Li = Instance.new("BillboardGui",Torso)
|
| 444 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.77998352, 1.52587891e-05, 0.866025567, -1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, -8.94069601e-08, 0.499999851, 2.98023224e-08, 0.866025507)) |
| 445 | - | Li.Size = UDim2.new(0,300,0,120) |
| 445 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 446 | - | Li.StudsOffset = Vector3.new(0,0,0) |
| 446 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 447 | - | Li.Adornee = Torso |
| 447 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.78498077, 0, 0.500000656, 2.83122063e-07, -0.86602509, -8.34465027e-07, 1, -1.67762096e-07, 0.86602509, 8.04662704e-07, 0.500000656)) |
| 448 | - | Li.Size=UDim2.new(5,0,5,0) |
| 448 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 449 | - | local img=it("ImageLabel",Li)
|
| 449 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 450 | - | img.Image=ids[math.random(1,#ids)] |
| 450 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 7.62939453e-06, 0.500000656, 2.83122063e-07, -0.86602509, -8.34465027e-07, 1, -1.67762096e-07, 0.86602509, 8.04662704e-07, 0.500000656)) |
| 451 | - | img.BackgroundTransparency=1 |
| 451 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 452 | - | img.Size=UDim2.new(1,0,1,0) spawn(function() |
| 452 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 453 | - | while op==true do r:wait() |
| 453 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 3.81469727e-06, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) |
| 454 | - | img.Image=ids[math.random(1,#ids)] |
| 454 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 455 | - | img.Rotation=math.random(1,360) |
| 455 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 456 | - | end |
| 456 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530014038, 2.77998161, 0, 0.500000656, 2.83122063e-07, -0.86602509, -8.34465027e-07, 1, -1.67762096e-07, 0.86602509, 8.04662704e-07, 0.500000656)) |
| 457 | - | Li:Destroy() |
| 457 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 458 | - | end) |
| 458 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.350000113)) |
| 459 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295e-06, 2.79998398, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) | |
| 460 | - | C=function() |
| 460 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 461 | - | attacking=true |
| 461 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 462 | - | local bv=it("BodyVelocity")
|
| 462 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529997826, 2.77997971, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 463 | - | bv.maxForce=v3(huge,huge,huge) |
| 463 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 464 | - | |
| 464 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 465 | - | for i=1,40 do r:wait() |
| 465 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.530006409, 2.78498077, 1.52587891e-05, 0.866025567, -1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, -8.94069601e-08, 0.499999851, 2.98023224e-08, 0.866025507)) |
| 466 | - | RootJoint.C0=clerp(RootJoint.C0,ROOTC0*angles(0,0,rad(-90)),.3) |
| 466 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 467 | - | Neck.C0=clerp(Neck.C0,necko*angles(0,0,rad(90)),.3) |
| 467 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 468 | - | RS.C0=clerp(RS.C0,RSC0*angles(rad(-90),0,0),.3) |
| 468 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498268, 1.52587891e-05, 0.866025567, -1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, -8.94069601e-08, 0.499999851, 2.98023224e-08, 0.866025507)) |
| 469 | - | end |
| 469 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 470 | - | bv.Velocity=((Head.CFrame*angles(0,0,rad(90)).p-Head.CFrame*angles(0,0,rad(90))*cf(0,0,-1).p)*-1).unit*80 |
| 470 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 471 | - | local ball=part(Effects,true,false,v3(.2,.2,.2),RArm.CFrame*cf(0,-1.5,0),BrickColor.new('Cyan').Color,"Neon",0)
|
| 471 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529998779, 2.78499222, 0, 1.00000012, 2.98023224e-08, 0, 2.98023224e-08, 1.00000012, 0, 0, 0, 1)) |
| 472 | - | local bm=mesh(ball,"Sphere",v3(1,1,1)) |
| 472 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 473 | - | ball.Shape="Ball" |
| 473 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 474 | - | for i=1,50 do r:wait() |
| 474 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997398, 1.52587891e-05, 0.866025567, -1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, -8.94069601e-08, 0.499999851, 2.98023224e-08, 0.866025507)) |
| 475 | - | bm.Scale=bm.Scale+v3(.1,.1,.1) |
| 475 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 476 | - | PowerGlow(Effects,RArm.CFrame*cf(0,-1.5,0)*angles(ran(-math.pi,math.pi),ran(-math.pi,math.pi),ran(-math.pi,math.pi)),BrickColor.new('Cyan').Color,'Pastel white',"Neon",i/20)
|
| 476 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 477 | - | end |
| 477 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.7849865, 4.76837158e-06, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) |
| 478 | - | bv.Parent=Torso |
| 478 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 479 | - | spawn(function() |
| 479 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 480 | - | repeat r:wait() |
| 480 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.7849865, 4.76837158e-06, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) |
| 481 | - | ball.CFrame=RArm.CFrame*cf(0,-1.5,0) |
| 481 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 482 | - | until attacking==false |
| 482 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 483 | - | ball:Destroy() |
| 483 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498459, 1.52587891e-05, 0.500000656, 2.83122063e-07, -0.86602509, -8.34465027e-07, 1, -1.67762096e-07, 0.86602509, 8.04662704e-07, 0.500000656)) |
| 484 | - | end) |
| 484 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 485 | - | for i=1,30 do r:wait() |
| 485 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 486 | - | RootJoint.C0=clerp(RootJoint.C0,ROOTC0*angles(rad(45),0,0)*cf(0,0,-.6),.3) |
| 486 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -1.69995308, 0.70710659, -1.13248825e-06, 0.707107067, -0.707107186, 1.49011612e-06, 0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 487 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(5),0,0),.3) |
| 487 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 488 | - | RS.C0=clerp(RS.C0,RSC0*angles(0,0,rad(90))*cf(.3,0,0),.3) |
| 488 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 489 | - | RH.C0=clerp(RH.C0,RHC0*angles(0,0,rad(-45)),.3) |
| 489 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.0999927521, -0.70710659, 1.13248825e-06, -0.707107067, 0.707107186, -1.49011612e-06, -0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 490 | - | LH.C0=clerp(LH.C0,LHC0*angles(0,0,rad(-45)),.3) |
| 490 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 491 | - | end |
| 491 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 492 | - | bv:Destroy() |
| 492 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.09998703, 0.70710659, -1.13248825e-06, 0.707107067, -0.707107186, 1.49011612e-06, 0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 493 | - | wait(.455) |
| 493 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 494 | - | local fg=Ray.new(RArm.Position+v3(0,-1.5,0),v3(0,-5,0)) |
| 494 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 495 | - | local par,pos=workspace:FindPartOnRayWithIgnoreList(fg,Char:children(),false,true) |
| 495 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.77997589, 0, -0.500000656, -2.83122063e-07, -0.86602509, -8.34465027e-07, 1, 1.67762096e-07, 0.86602509, 8.04662704e-07, -0.500000656)) |
| 496 | - | if par and pos then |
| 496 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 497 | - | local bem=part(Effects,true,false,v3(1,1,1),cf(pos)*angles(0,0,rad(-90)),BrickColor.new("Cyan").Color,"Neon",0)
|
| 497 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 498 | - | local beem=mesh(bem,"Cylinder",v3(400,2,400)) |
| 498 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529983521, 2.78498459, 0, -0.500000656, -2.83122063e-07, -0.86602509, -8.34465027e-07, 1, 1.67762096e-07, 0.86602509, 8.04662704e-07, -0.500000656)) |
| 499 | - | local cirs={}
|
| 499 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 500 | - | for i=1,3 do r:wait() |
| 500 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 501 | - | local c=part(Effects,true,false,v3(0,0,0),cf(pos)*angles(rad(-90),0,0),BrickColor.new("Cyan").Color,"Neon",0)
|
| 501 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, -0.899978638, -0.70710659, 1.13248825e-06, -0.707107067, 0.707107186, -1.49011612e-06, -0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 502 | - | local cm=spmesh(c,"rbxassetid://3270017",v3((i*8)+5,(i*8)+5,(i*2)+18)) |
| 502 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 503 | - | table.insert(cirs,c) |
| 503 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 504 | - | |
| 504 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -1.50000191, -0.70710659, 1.13248825e-06, 0.707107067, 0.707107186, -1.49011612e-06, 0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 505 | - | end |
| 505 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 506 | - | for i=1,60 do r:wait() |
| 506 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 507 | - | beem.Scale=beem.Scale+v3(.5,.5,.5) |
| 507 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, -0.899982452, 0.70710659, -1.13248825e-06, 0.707107067, -0.707107186, 1.49011612e-06, 0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 508 | - | bem.Transparency=i/180 |
| 508 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 509 | - | for _,v in pairs(cirs) do |
| 509 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 510 | - | spawn(function() |
| 510 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, 1.69995499, -0.70710659, 1.13248825e-06, 0.707107067, 0.707107186, -1.49011612e-06, 0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 511 | - | v.Transparency=i/60 |
| 511 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 512 | - | v.Mesh.Scale=v.Mesh.Scale+v3(.5,.5,.1) |
| 512 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 513 | - | end) |
| 513 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 7.62939453e-06, -0.500000656, -2.83122063e-07, -0.86602509, -8.34465027e-07, 1, 1.67762096e-07, 0.86602509, 8.04662704e-07, -0.500000656)) |
| 514 | - | end |
| 514 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 515 | - | end |
| 515 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 516 | - | bem:Destroy() |
| 516 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.78497887, -1.52587891e-05, -0.866025567, 1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, 8.94069601e-08, 0.499999851, 2.98023224e-08, -0.866025507)) |
| 517 | - | for _,v in pairs(cirs) do |
| 517 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 518 | - | v:Destroy() |
| 518 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 519 | - | end |
| 519 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77997589, 3.81469727e-06, 0, 0, -1, 0, 1.00000012, 0, 1.00000012, 0, 0)) |
| 520 | - | end |
| 520 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 521 | - | attacking=false |
| 521 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 522 | - | end |
| 522 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.0999755859, -0.70710659, 1.13248825e-06, 0.707107067, 0.707107186, -1.49011612e-06, 0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 523 | - | function mhands(cframe) |
| 523 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 524 | - | spawn(function() |
| 524 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 525 | - | l=BrickColor.new('Cyan')
|
| 525 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.529975891, 2.77997971, -1.52587891e-05, -0.866025567, 1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, 8.94069601e-08, 0.499999851, 2.98023224e-08, -0.866025507)) |
| 526 | - | local h=part(Effects,true,false,v3(0,0,0),cframe*angles(ran(-10,10),ran(-10,10),ran(-10,10)),l.Color,"Neon",0) |
| 526 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 527 | - | local hm=mesh(h,"Brick",v3(7*3,7*3,7*3)) |
| 527 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.310000002, 0.350000113)) |
| 528 | - | for i=1,40 do r:wait() |
| 528 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.78498077, 1.52587891e-05, -0.866025567, 1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, 8.94069601e-08, 0.499999851, 2.98023224e-08, -0.866025507)) |
| 529 | - | h.Transparency=i/40 |
| 529 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 530 | - | end |
| 530 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 531 | - | h:Destroy() |
| 531 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998161, 7.62939453e-06, -0.500000656, -2.83122063e-07, -0.86602509, -8.34465027e-07, 1, 1.67762096e-07, 0.86602509, 8.04662704e-07, -0.500000656)) |
| 532 | - | end) |
| 532 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 533 | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) | |
| 534 | - | function circles(cfr) |
| 534 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 0.0999679565, 0.70710659, -1.13248825e-06, -0.707107067, -0.707107186, 1.49011612e-06, -0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 535 | - | spawn(function() |
| 535 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 536 | - | local cir=part(Effects,true,false,v3(0,0,0),cfr,BrickColor.new('Cyan').Color,"Neon",0)
|
| 536 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 537 | - | local cm=spmesh(cir,"rbxassetid://3270017",v3(4,4,2)) |
| 537 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283050537, 0.678848267, 1.69995308, 0.70710659, -1.13248825e-06, -0.707107067, -0.707107186, 1.49011612e-06, -0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 538 | - | for i=1,180 do r:wait() |
| 538 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 539 | - | cm.Scale=cm.Scale+v3(2,2,2) |
| 539 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 540 | - | cir.Transparency=i/10 |
| 540 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 1.50002289, 0.70710659, -1.13248825e-06, 0.707107067, -0.707107186, 1.49011612e-06, 0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 541 | - | end |
| 541 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 542 | - | cir:Destroy() |
| 542 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Fossil", "Part", Vector3.new(0.400000036, 0.300000012, 0.240000129)) |
| 543 | - | end) |
| 543 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.529998779, 2.77998352, 1.52587891e-05, -0.866025567, 1.49011612e-07, -0.499999821, 1.49011612e-07, 1.00000012, 8.94069601e-08, 0.499999851, 2.98023224e-08, -0.866025507)) |
| 544 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 545 | - | V=function() |
| 545 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 546 | - | attacking=true |
| 546 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673271179, 1.50001907, -0.70710659, 1.13248825e-06, -0.707107067, 0.707107186, -1.49011612e-06, -0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 547 | - | Human.WalkSpeed=0 |
| 547 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 548 | - | Human.JumpPower=0 |
| 548 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 549 | - | li() |
| 549 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673240662, 0.899978638, -0.70710659, 1.13248825e-06, 0.707107067, 0.707107186, -1.49011612e-06, 0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) |
| 550 | - | function sw(t) spawn(function() |
| 550 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 551 | - | local c=part(Effects,true,false,v3(0,0,0),Torso.CFrame*cf(0,-1.3,0),l.Color,"Neon",.9) |
| 551 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 552 | - | local cm=spmesh(c,"rbxassetid://20329976",v3(6,2,6)) |
| 552 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0282745361, 0.678833008, 0.700012207, 0.70710659, -1.13248825e-06, 0.707107067, -0.707107186, 1.49011612e-06, 0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 553 | - | for i=1,100 do r:wait() |
| 553 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 554 | - | cm.Scale=cm.Scale:Lerp(cm.Scale+Vector3.new(4,-.021,4),1) |
| 554 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 555 | - | if t==true then |
| 555 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, -1.69995499, -0.70710659, 1.13248825e-06, -0.707107067, 0.707107186, -1.49011612e-06, -0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 556 | - | c.CFrame=c.CFrame*angles(0,rad(i),0) |
| 556 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 557 | - | elseif t==false then |
| 557 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 558 | - | c.CFrame=c.CFrame*angles(0,rad(i*-1),0) |
| 558 | + | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338973999, 0.673278809, 0.7000103, -0.70710659, 1.13248825e-06, -0.707107067, 0.707107186, -1.49011612e-06, -0.707106531, -1.90734863e-06, -1, 2.52880795e-07)) |
| 559 | - | end |
| 559 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 560 | - | c.Transparency=.9+i/100 |
| 560 | + | Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Really black", "Part", Vector3.new(0.5, 0.200000003, 0.379999995)) |
| 561 | PartWeld = CreateWeld(m, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0338516235, 0.673248291, -0.7000103, -0.70710659, 1.13248825e-06, 0.707107067, 0.707107186, -1.49011612e-06, 0.707106531, 1.90734863e-06, 1, 2.52880795e-07)) | |
| 562 | - | c:Destroy() end) |
| 562 | + | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
|
| 563 | rayCast = function(Position, Direction, Range, Ignore) | |
| 564 | - | for i=1,100 do r:wait() |
| 564 | + | |
| 565 | - | if i%3==0 then |
| 565 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 566 | - | mhands(RArm.CFrame*cf(0,-1.5,0)) |
| 566 | + | |
| 567 | - | mhands(LArm.CFrame*cf(0,-1.5,0)) |
| 567 | + | |
| 568 | - | sw(true) |
| 568 | + | local GetNearest = function(obj, distance) |
| 569 | - | end |
| 569 | + | |
| 570 | - | if i%4==0 then |
| 570 | + | local last, lastx = distance + 1, nil |
| 571 | - | Lightning(RArm.CFrame*cf(0,-1.5,0).p,RArm.CFrame*cf(0,-30,0).p,7,3,BrickColor.new('Cyan'),.2)
|
| 571 | + | for i,v in pairs(workspace:GetChildren()) do |
| 572 | - | Lightning(LArm.CFrame*cf(0,-1.5,0).p,LArm.CFrame*cf(0,-30,0).p,7,3,BrickColor.new('Cyan'),.2)
|
| 572 | + | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
|
| 573 | - | circles(Torso.CFrame*cf(-30,0,0)*angles(0,math.pi/2,0)) |
| 573 | + | local t = v.Torso |
| 574 | - | circles(Torso.CFrame*cf(30,0,0)*angles(0,math.pi/2,0)) |
| 574 | + | local dist = (t.Position - obj.Position).magnitude |
| 575 | - | sw(false) |
| 575 | + | if dist <= distance and dist < last then |
| 576 | - | end |
| 576 | + | last = dist |
| 577 | - | Damage(Torso.CFrame,.5,1,30) |
| 577 | + | lastx = v |
| 578 | - | PowerGlow(Effects,Torso.CFrame*cf(ran(-10,10),-1.3,ran(-10,10)),BrickColor.new('Cyan').Color,'Pastel white',"Neon",3)
|
| 578 | + | end |
| 579 | - | RH.C0=clerp(RH.C0,RHC0*angles(rad(0),rad(0),rad(0))*cf(0,0,0),.3) |
| 579 | + | |
| 580 | - | LH.C0=clerp(LH.C0,LHC0*angles(rad(0),rad(0),rad(0))*cf(0,0,0),.3) |
| 580 | + | |
| 581 | - | RS.C0=clerp(RS.C0,RSC0*angles(rad(-90),rad(0),rad(0))*cf(0,0,0),.3) |
| 581 | + | return lastx |
| 582 | - | LS.C0=clerp(LS.C0,LSC0*angles(rad(-90),rad(0),rad(10)),.3) |
| 582 | + | |
| 583 | - | Neck.C0=clerp(Neck.C0,necko*angles(rad(-15),rad(0),rad(0)),.3) |
| 583 | + | |
| 584 | - | RootJoint.C0=RootJoint.C0:lerp(ROOTC0*angles(rad(0),rad(0),rad(0)),.3) |
| 584 | + | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 585 | - | end |
| 585 | + | |
| 586 | - | Lightning(Torso.Position,Torso.Position+v3(0,200,0),18,3,BrickColor.new('Cyan'),4)
|
| 586 | + | if hit.Parent == nil then |
| 587 | - | local cc=it("ColorCorrectionEffect",game.Lighting)
|
| 587 | + | return |
| 588 | - | cc.Brightness=1 |
| 588 | + | |
| 589 | - | local p=part(Effects,true,false,v3(0,0,0),Torso.CFrame,BrickColor.new('Cyan').Color,"Neon",0)
|
| 589 | + | local h = hit.Parent:FindFirstChild("Humanoid")
|
| 590 | - | local pm=mesh(p,"Sphere",v3(1,1,1)) |
| 590 | + | for _,v in pairs(hit.Parent:children()) do |
| 591 | - | spawn(function() |
| 591 | + | if v:IsA("Humanoid") then
|
| 592 | - | for i=50,1,-1 do r:wait() |
| 592 | + | h = v |
| 593 | - | cc.Brightness=i/50 |
| 593 | + | |
| 594 | - | end |
| 594 | + | |
| 595 | - | cc:Destroy() |
| 595 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 596 | - | end) |
| 596 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
|
| 597 | - | spawn(function()for c=1,25 do r:wait() |
| 597 | + | return |
| 598 | - | pm.Scale=pm.Scale+v3(3,3,3) |
| 598 | + | |
| 599 | - | p.Transparency=c/25 |
| 599 | + | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
|
| 600 | - | |
| 600 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 601 | - | end |
| 601 | + | if HitSound ~= nil and HitPitch ~= nil then |
| 602 | - | local EyePart=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,BrickColor.new('Cyan').Color,"Neon",0)
|
| 602 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 603 | - | EyePart.Name="EyePart" |
| 603 | + | |
| 604 | - | EyePart.Shape="Ball" |
| 604 | + | local Damage = math.random(minim, maxim) |
| 605 | - | local EyePart2=EyePart:Clone() |
| 605 | + | local blocked = false |
| 606 | - | EyePart2.Parent=Char |
| 606 | + | local block = hit.Parent:findFirstChild("Block")
|
| 607 | - | local EyeWeld=it("Weld",Char)
|
| 607 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
| 608 | - | EyeWeld.Part0=EyePart |
| 608 | + | blocked = true |
| 609 | - | EyeWeld.Part1=Head |
| 609 | + | block.Value = block.Value - 1 |
| 610 | - | EyeWeld.C0=EyeWeld.C0*cf(.2,-.25,.578) |
| 610 | + | print(block.Value) |
| 611 | - | local EyeWeld2=it("Weld",Char)
|
| 611 | + | |
| 612 | - | EyeWeld2.Part0=EyePart2 |
| 612 | + | if blocked == false then |
| 613 | - | EyeWeld2.Part1=Head |
| 613 | + | h.Health = h.Health - Damage |
| 614 | - | EyeWeld2.C0=EyeWeld2.C0*cf(-.2,-.25,.578) |
| 614 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 615 | - | local EyeSizes={
|
| 615 | + | |
| 616 | - | NumberSequenceKeypoint.new(0,.4,0), |
| 616 | + | h.Health = h.Health - Damage / 2 |
| 617 | - | NumberSequenceKeypoint.new(1,0,0) |
| 617 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
| 618 | end | |
| 619 | - | local EyeTrans={
|
| 619 | + | if Type == "Knockdown" then |
| 620 | - | NumberSequenceKeypoint.new(0,0,0), |
| 620 | + | local hum = hit.Parent.Humanoid |
| 621 | - | NumberSequenceKeypoint.new(1,1,0) |
| 621 | + | hum.PlatformStand = true |
| 622 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 623 | - | local PE=it("ParticleEmitter",EyePart)
|
| 623 | + | |
| 624 | - | PE.LightEmission=1 |
| 624 | + | swait(1) |
| 625 | - | PE.LockedToPart=false |
| 625 | + | HHumanoid.PlatformStand = false |
| 626 | - | PE.Size=NumberSequence.new(EyeSizes) |
| 626 | + | |
| 627 | - | PE.Transparency=NumberSequence.new(EyeTrans) |
| 627 | + | ), hum) |
| 628 | - | --PE.Acceleration=v3(2,0,0) |
| 628 | + | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
| 629 | - | PE.Lifetime=NumberRange.new(2,2,2) |
| 629 | + | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
|
| 630 | - | PE.Rate=34958349053045 |
| 630 | + | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
|
| 631 | - | PE.Speed=NumberRange.new(2,2,2) |
| 631 | + | game:GetService("Debris"):AddItem(bodvol, 0.5)
|
| 632 | - | PE.Texture="rbxassetid://253188606" |
| 632 | + | game:GetService("Debris"):AddItem(rl, 0.5)
|
| 633 | - | local PE2=PE:Clone() |
| 633 | + | elseif Type == "Normal" then |
| 634 | - | PE2.Parent=EyePart2 |
| 634 | + | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
|
| 635 | - | while r:wait() do |
| 635 | + | if knockback > 0 then |
| 636 | - | PE.Acceleration=v3(math.sin(tick()),0,math.sin(tick())) |
| 636 | + | vp.Parent = hit.Parent.Torso |
| 637 | - | PE2.Acceleration=v3(math.cos(tick()),0,math.cos(tick())) |
| 637 | + | end |
| 638 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 639 | - | end) |
| 639 | + | elseif Type == "Up" then |
| 640 | - | for i=1,10 do r:wait() spawn(function() |
| 640 | + | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
|
| 641 | - | local c=part(Effects,true,false,v3(1,1,1),Head.CFrame,BrickColor.new("Cyan").Color,"Neon",.4)
|
| 641 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
|
| 642 | - | local c2=part(Effects,true,false,v3(1,1,1),Head.CFrame,BrickColor.new("Cyan").Color,"Neon",.4)
|
| 642 | + | elseif Type == "DarkUp" then |
| 643 | - | local cm=spmesh(c,"rbxassetid://3270017",v3(1,1,.4)) |
| 643 | + | coroutine.resume(coroutine.create(function() |
| 644 | - | local cm2=spmesh(c2,"rbxassetid://3270017",v3(1,1,.4)) |
| 644 | + | |
| 645 | - | for ii=1,60 do r:wait() |
| 645 | + | for i = 0, 1, 0.1 do |
| 646 | - | c.CFrame=c.CFrame*angles(ran(-math.pi,math.pi),ran(-math.pi,math.pi),ran(-math.pi,math.pi)) |
| 646 | + | swait() |
| 647 | - | c2.CFrame=c2.CFrame*angles(ran(-math.pi,math.pi),ran(-math.pi,math.pi),ran(-math.pi,math.pi)) |
| 647 | + | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
|
| 648 | - | cm.Scale=cm.Scale+v3(4,4,0) |
| 648 | + | |
| 649 | - | cm2.Scale=cm2.Scale+v3(4,4,0) |
| 649 | + | |
| 650 | - | c.Transparency=.4+ii/50 |
| 650 | + | )) |
| 651 | - | c2.Transparency=.4+ii/50 |
| 651 | + | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
|
| 652 | - | Damage(Torso.CFrame,8,20,35) |
| 652 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 653 | - | end |
| 653 | + | elseif Type == "Snare" then |
| 654 | - | end) wait() |
| 654 | + | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
|
| 655 | - | end |
| 655 | + | game:GetService("Debris"):AddItem(bp, 1)
|
| 656 | - | wait(.75) |
| 656 | + | elseif Type == "Curse" then |
| 657 | - | li() |
| 657 | + | CreateSound("http://roblox.com/asset/?id=283389706", Torso, 1, 1)
|
| 658 | - | p:Destroy() |
| 658 | + | for i = 0, 1, 0.025 do |
| 659 | - | Human.WalkSpeed=20 |
| 659 | + | swait(30) |
| 660 | - | Human.JumpPower=50 |
| 660 | + | SphereEffect(BrickColor.new("Bright violet"), hit.Parent.Torso.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
|
| 661 | - | attacking=false |
| 661 | + | hit.Parent.Humanoid:TakeDamage(1) |
| 662 | - | op=true |
| 662 | + | end |
| 663 | - | for _,v in pairs(Effects:GetChildren()) do |
| 663 | + | elseif Type == "Freeze" then |
| 664 | - | v:Destroy() |
| 664 | + | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
|
| 665 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
| |
| 666 | - | for i=1,40 do r:wait() |
| 666 | + | hit.Parent.Torso.Anchored = true |
| 667 | - | if attacking==true then break end |
| 667 | + | coroutine.resume(coroutine.create(function(Part) |
| 668 | - | RH.C0=clerp(RH.C0,RHC01,.3) |
| 668 | + | |
| 669 | - | LH.C0=clerp(LH.C0,LHC01,.3) |
| 669 | + | swait(1.5) |
| 670 | - | RS.C0=clerp(RS.C0,RSC01,.3) |
| 670 | + | Part.Anchored = false |
| 671 | - | LS.C0=clerp(LS.C0,LSC01,.3) |
| 671 | + | |
| 672 | - | Neck.C0=clerp(Neck.C0,NECKC01,.3) |
| 672 | + | ), hit.Parent.Torso) |
| 673 | - | RootJoint.C0=clerp(RootJoint.C0,ROOTC01,.3) |
| 673 | + | game:GetService("Debris"):AddItem(BodPos, 6)
|
| 674 | - | end |
| 674 | + | game:GetService("Debris"):AddItem(BodGy, 6)
|
| 675 | end | |
| 676 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 677 | - | spawn(function() |
| 677 | + | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 678 | - | for i=1,huge do r:wait() |
| 678 | + | c = Instance.new("ObjectValue")
|
| 679 | - | if op==true then |
| 679 | + | c.Name = "creator" |
| 680 | - | if i%5 ==0 then |
| 680 | + | c.Value = Player |
| 681 | - | sw(true) |
| 681 | + | c.Parent = h |
| 682 | - | sw(false) |
| 682 | + | game:GetService("Debris"):AddItem(c, 0.5)
|
| 683 | - | mhands(RArm.CFrame*cf(0,-1.5,0)) |
| 683 | + | end |
| 684 | - | mhands(LArm.CFrame*cf(0,-1.5,0)) |
| 684 | + | end |
| 685 | - | end |
| 685 | + | |
| 686 | - | if i%40==0 then |
| 686 | + | ShowDamage = function(Pos, Text, Time, Color) |
| 687 | - | Lightning(Torso.CFrame*cf(ran(-10,10),ran(-3,10),ran(-10,10)).p,Torso.CFrame*cf(ran(-10,10),ran(-3,10),ran(-10,10)).p,4,3,BrickColor.new('Cyan'),.2)
|
| 687 | + | |
| 688 | - | end |
| 688 | + | local Rate = 0.033333333333333 |
| 689 | - | end |
| 689 | + | if not Pos then |
| 690 | - | end |
| 690 | + | local Pos = Vector3.new(0, 0, 0) |
| 691 | - | end) |
| 691 | + | |
| 692 | - | while r:wait() do detect_state() end |
| 692 | + | local Text = Text or "" |
| 693 | local Time = Time or 2 | |
| 694 | if not Color then | |
| 695 | local Color = Color3.new(1, 0, 1) | |
| 696 | end | |
| 697 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 698 | EffectPart.Anchored = true | |
| 699 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 700 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 701 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 702 | EffectPart.Parent = game:GetService("Workspace")
| |
| 703 | delay(0, function() | |
| 704 | ||
| 705 | local Frames = Time / Rate | |
| 706 | for Frame = 1, Frames do | |
| 707 | wait(Rate) | |
| 708 | local Percent = Frame / Frames | |
| 709 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 710 | TextLabel.TextTransparency = Percent | |
| 711 | end | |
| 712 | if EffectPart and EffectPart.Parent then | |
| 713 | EffectPart:Destroy() | |
| 714 | end | |
| 715 | end | |
| 716 | ) | |
| 717 | end | |
| 718 | ||
| 719 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 720 | ||
| 721 | for _,c in pairs(workspace:children()) do | |
| 722 | local hum = c:findFirstChild("Humanoid")
| |
| 723 | if hum ~= nil then | |
| 724 | local head = c:findFirstChild("Torso")
| |
| 725 | if head ~= nil then | |
| 726 | local targ = head.Position - Part.Position | |
| 727 | local mag = targ.magnitude | |
| 728 | if mag <= magni and c.Name ~= Player.Name then | |
| 729 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=160432334", 1) | |
| 730 | end | |
| 731 | end | |
| 732 | end | |
| 733 | end | |
| 734 | end | |
| 735 | ||
| 736 | EffectModel = Instance.new("Model", Character)
| |
| 737 | EffectModel.Name = "Effects" | |
| 738 | Effects = {
| |
| 739 | Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
| |
| 740 | ||
| 741 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 742 | prt.Anchored = true | |
| 743 | prt.CFrame = cframe | |
| 744 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 745 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 746 | if Type == 1 or Type == nil then | |
| 747 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 748 | else | |
| 749 | if Type == 2 then | |
| 750 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 751 | end | |
| 752 | end | |
| 753 | end | |
| 754 | } | |
| 755 | , | |
| 756 | Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 757 | ||
| 758 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 759 | prt.Anchored = true | |
| 760 | prt.CFrame = cframe | |
| 761 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 762 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 763 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 764 | end | |
| 765 | } | |
| 766 | , | |
| 767 | Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 768 | ||
| 769 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 770 | prt.Anchored = true | |
| 771 | prt.CFrame = cframe | |
| 772 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 773 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 774 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 775 | end | |
| 776 | } | |
| 777 | , | |
| 778 | Cloud = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 779 | ||
| 780 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 781 | prt.Anchored = true | |
| 782 | prt.CFrame = cframe | |
| 783 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 784 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 785 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 786 | end | |
| 787 | } | |
| 788 | , | |
| 789 | Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 790 | ||
| 791 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 792 | prt.Anchored = true | |
| 793 | prt.CFrame = cframe | |
| 794 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 795 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 796 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 797 | end | |
| 798 | } | |
| 799 | , | |
| 800 | Break = {Create = function(brickcolor, cframe, x1, y1, z1)
| |
| 801 | ||
| 802 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 803 | prt.Anchored = true | |
| 804 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 805 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 806 | local num = math.random(10, 50) / 1000 | |
| 807 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 808 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 809 | end | |
| 810 | } | |
| 811 | } | |
| 812 | local rev = Instance.new("Sound", Barrel)
| |
| 813 | rev.Volume = 1 | |
| 814 | rev.Pitch = 1.2 | |
| 815 | rev.Looped = false | |
| 816 | rev.SoundId = "rbxassetid://357820124" | |
| 817 | rev.MaxDistance = 1000 | |
| 818 | local spim = Instance.new("Sound", Barrel)
| |
| 819 | spim.Volume = 1 | |
| 820 | spim.Pitch = 1 | |
| 821 | spim.Looped = true | |
| 822 | spim.SoundId = "rbxassetid://167882734" | |
| 823 | spim.MaxDistance = 1000 | |
| 824 | local aiming = false | |
| 825 | local nu = 0 | |
| 826 | Aim = function() | |
| 827 | ||
| 828 | aiming = true | |
| 829 | attack = true | |
| 830 | Humanoid.WalkSpeed = 2 | |
| 831 | Humanoid.JumpPower = 0 | |
| 832 | for i = 0, 1, 0.1 do | |
| 833 | swait() | |
| 834 | PlayAnimationFromTable({CFrame.new(-0.170424014, -0.0599999093, 0.143827543, 0.0551210083, -0.0140470108, -0.99838084, 0.246923029, 0.969035149, -1.39987253e-06, 0.967466116, -0.246523187, 0.0568827242), CFrame.new(0.0930410028, 1.51390386, -0.186864346, 0.0551210232, 0.246923029, 0.967466354, -0.0140470145, 0.969035149, -0.246523246, -0.998381078, -1.39987253e-06, 0.0568827391), CFrame.new(1.30572438, 0.549293935, -0.623716354, 0.975685954, 0.166035622, 0.143070266, 0.0081961602, 0.624675274, -0.780841708, -0.219019979, 0.76302886, 0.608125925), CFrame.new(-1.06310928, 0.322490007, -1.00624692, 0.881435692, -0.411378503, -0.232031837, -0.0481262654, 0.410489917, -0.910594344, 0.469845623, 0.813797176, 0.3420223), CFrame.new(0.673036039, -2.17349005, 0.0392552316, 0.988193929, -0.10620904, -0.110418722, 0.0839042664, 0.978192925, -0.189996794, 0.12819016, 0.178489059, 0.975555658), CFrame.new(-1.06996655, -1.72934985, -0.00624912977, 0.727204561, 0.246923029, 0.640470624, -0.185302377, 0.969035149, -0.163199365, -0.660936117, -1.39987253e-06, 0.750442147)}, 0.3, false)
| |
| 835 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 836 | end | |
| 837 | rev:Play() | |
| 838 | while aiming do | |
| 839 | swait() | |
| 840 | if rev.Playing == false and spim.Playing == false then | |
| 841 | spim:Play() | |
| 842 | end | |
| 843 | if nu < 360 then | |
| 844 | nu = nu + 20 | |
| 845 | else | |
| 846 | nu = 0 | |
| 847 | end | |
| 848 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(nu), math.rad(0)), 0.3) | |
| 849 | end | |
| 850 | end | |
| 851 | ||
| 852 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 853 | ||
| 854 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 855 | prt.Anchored = true | |
| 856 | prt.CFrame = cframe | |
| 857 | prt.Material = "Neon" | |
| 858 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 859 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 860 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 861 | ||
| 862 | for i = 0, 1, delay do | |
| 863 | swait() | |
| 864 | Part.Transparency = i | |
| 865 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 866 | end | |
| 867 | Part.Parent = nil | |
| 868 | end | |
| 869 | ), prt, msh) | |
| 870 | end | |
| 871 | ||
| 872 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 873 | ||
| 874 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 875 | prt.Anchored = true | |
| 876 | prt.CFrame = cframe | |
| 877 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 878 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 879 | if Type == 1 or Type == nil then | |
| 880 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 881 | else | |
| 882 | if Type == 2 then | |
| 883 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 884 | end | |
| 885 | end | |
| 886 | end | |
| 887 | ||
| 888 | shoottraildd = function(mouse, partt, SpreadAmount) | |
| 889 | ||
| 890 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 891 | local MainPos = partt.Position | |
| 892 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
| 893 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 894 | local speed = 100 | |
| 895 | local num = 10 | |
| 896 | coroutine.resume(coroutine.create(function() | |
| 897 | ||
| 898 | repeat | |
| 899 | swait() | |
| 900 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 901 | local mag = (MainPos - pos).magnitude | |
| 902 | Laser(BrickColor.new("Bright yellow"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.25, 0, -0.25, 0.15)
| |
| 903 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 904 | num = num - 1 | |
| 905 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 906 | if hit ~= nil then | |
| 907 | num = 0 | |
| 908 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 909 | refpart.Anchored = true | |
| 910 | refpart.CFrame = CFrame.new(pos) | |
| 911 | game:GetService("Debris"):AddItem(refpart, 1)
| |
| 912 | end | |
| 913 | do | |
| 914 | if num <= 0 then | |
| 915 | local refpart2 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 916 | refpart2.Anchored = true | |
| 917 | refpart2.CFrame = CFrame.new(pos) | |
| 918 | game:GetService("Debris"):AddItem(refpart2, 1)
| |
| 919 | if hit ~= nil then | |
| 920 | Effects.Sphere.Create(hit.BrickColor, refpart2.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
| 921 | MagniDamage(refpart2, 5, 5, 5, 0, "Normal") | |
| 922 | end | |
| 923 | end | |
| 924 | end | |
| 925 | until num <= 0 | |
| 926 | end | |
| 927 | )) | |
| 928 | end | |
| 929 | ||
| 930 | IceMortar = function() | |
| 931 | ||
| 932 | local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100) | |
| 933 | local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", Vector3.new())
| |
| 934 | icepart1.Anchored = true | |
| 935 | i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 936 | icepart1.CFrame = dacf | |
| 937 | local cfinc = 99999 | |
| 938 | icepart1.Transparency = 1 | |
| 939 | CFuncs.Sound.Create("rbxassetid://192410089", icepart1, 1, 1)
| |
| 940 | game:GetService("Debris"):AddItem(icepart1, 1)
| |
| 941 | local spread = Vector3.new((math.random(-3, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-3, 3) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100 | |
| 942 | local TheHit = mouse.Hit.p | |
| 943 | local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread) | |
| 944 | local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 945 | local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 946 | local test1, dist1 = mouse.Hit.p, nil | |
| 947 | if target1 ~= nil then | |
| 948 | cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100) | |
| 949 | local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 950 | local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
| |
| 951 | d1.Anchored = true | |
| 952 | d1.CFrame = cn(pos2) | |
| 953 | MagniDamage(d1, 8, 3, 5, -10, "Normal") | |
| 954 | Effects.Sphere.Create(BrickColor.new("White"), Barrel.CFrame, 1, 1, 1, 3, 3, 3, 0.07)
| |
| 955 | Effects.Cloud.Create(target1.BrickColor, Barrel.CFrame, 2, 1, 2, 0.1, 2, 0.1, 0.03) | |
| 956 | Effects.Cloud.Create(target1.BrickColor, cn(pos2), 1, 1, 1, math.random(0.7, 1), math.random(1, 3), math.random(0.7, 1), 0.03) | |
| 957 | Effects.Sphere.Create(BrickColor.new("Bright yellow"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
| |
| 958 | Effects.Block.Create(BrickColor.new("Bright red"), cn(pos2), 1, 1, 1, 3, 3, 3, 0.07)
| |
| 959 | Effects.Sphere.Create(BrickColor.new("White"), cn(pos2), 1, 1, 1, 10, 10, 10, 0.07)
| |
| 960 | Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
| |
| 961 | game.Debris:AddItem(d1, 0.5) | |
| 962 | end | |
| 963 | end | |
| 964 | ||
| 965 | Hee = function() | |
| 966 | ||
| 967 | local dacf = Head.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100) | |
| 968 | local icepart1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Ice", Vector3.new())
| |
| 969 | icepart1.Anchored = true | |
| 970 | i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
| |
| 971 | icepart1.CFrame = dacf | |
| 972 | local cfinc = 99999 | |
| 973 | icepart1.Transparency = 1 | |
| 974 | CFuncs.Sound.Create("rbxassetid://151130059", icepart1, 1, math.random(1, 3))
| |
| 975 | game:GetService("Debris"):AddItem(icepart1, 1)
| |
| 976 | local spread = Vector3.new((math.random(-30, 30) + math.random()) * 16, (math.random(-1, 0) + math.random()) * 16, (math.random(-30, 30) + math.random()) * 16) * (icepart1.Position - (icepart1.Position + Vector3.new(0, -1, 0))).magnitude / 100 | |
| 977 | local TheHit = mouse.Hit.p | |
| 978 | local MouseLook = cn((icepart1.Position + TheHit) / 2, TheHit + spread) | |
| 979 | local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 980 | local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 981 | local test1, dist1 = mouse.Hit.p, nil | |
| 982 | if target1 ~= nil then | |
| 983 | cfda = target1.Position + Vector3.new(math.random(-3000, 3000) / 100, 10, math.random(-3000, 3000) / 100) | |
| 984 | local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character) | |
| 985 | local d1 = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Magenta"), "Effect", Vector3.new())
| |
| 986 | d1.Anchored = true | |
| 987 | d1.CFrame = cn(pos2) | |
| 988 | MagniDamage(d1, 8, 3, 5, 0, "Normal") | |
| 989 | Effects.Sphere.Create(target1.BrickColor, cn(pos2), 1, 1, 1, 4, 4, 4, 0.07) | |
| 990 | Effects.Ring.Create(BrickColor.new("Bright yellow"), cn(pos2), 0.1, 9999, 0.1, 0.5, 10, 0.5, 0.07)
| |
| 991 | game.Debris:AddItem(d1, 0.5) | |
| 992 | end | |
| 993 | end | |
| 994 | ||
| 995 | local soe = Instance.new("Sound", Barrel)
| |
| 996 | soe.Volume = 1 | |
| 997 | soe.Pitch = 1 | |
| 998 | soe.Looped = true | |
| 999 | soe.SoundId = "rbxassetid://341294387" | |
| 1000 | soe.MaxDistance = 1000 | |
| 1001 | local shoot = false | |
| 1002 | local hot = false | |
| 1003 | fire = function() | |
| 1004 | ||
| 1005 | hot = true | |
| 1006 | shoot = true | |
| 1007 | while shoot do | |
| 1008 | while shoot do | |
| 1009 | if shoot == true then | |
| 1010 | swait() | |
| 1011 | for i = 0, 1, 0.5 do | |
| 1012 | swait() | |
| 1013 | PlayAnimationFromTable({CFrame.new(-0.167053476, -0.0588135049, 0.140983686, 0.0654093325, -0.00924067106, -0.997815728, 0.156799912, 0.987629831, 0.0011322886, 0.98546207, -0.156531483, 0.0660491288), CFrame.new(-0.0409736931, 1.51582134, -0.183162034, 0.0654088631, 0.156799927, 0.985462129, -0.00924065989, 0.987629771, -0.156531498, -0.997815788, 0.00113223272, 0.066048637), CFrame.new(1.5242641, 0.608132184, -0.624453306, 0.972154856, 0.108696721, 0.207605079, 0.0937597305, 0.631499469, -0.769686759, -0.214764893, 0.767719507, 0.603723884), CFrame.new(-0.819477558, 0.188001126, -1.01326716, 0.882124126, -0.447403371, -0.147265807, 0.0331753343, 0.370894492, -0.928082407, 0.469847202, 0.813798189, 0.34201774), CFrame.new(0.856069803, -2.10349417, 0.0384711921, 0.977712274, -0.18880485, -0.0918231755, 0.168287143, 0.96627003, -0.194940567, 0.125531688, 0.175143108, 0.976507366), CFrame.new(-0.637022972, -1.86262906, -0.0132773817, 0.75052321, 0.156917602, 0.641943574, -0.118095078, 0.987610161, -0.103342898, -0.650206387, 0.00175085466, 0.759755611)}, 0.3, false)
| |
| 1014 | end | |
| 1015 | if cooldown1 >= 4 then | |
| 1016 | soe:Play() | |
| 1017 | cooldown1 = cooldown1 - 2 | |
| 1018 | shoottraildd(mouse, Barrel, 1) | |
| 1019 | else | |
| 1020 | soe:Stop() | |
| 1021 | CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
| |
| 1022 | end | |
| 1023 | for i = 0, 1, 0.5 do | |
| 1024 | swait() | |
| 1025 | PlayAnimationFromTable({CFrame.new(-0.170424014, -0.0599999093, 0.143827543, 0.0551210083, -0.0140470108, -0.99838084, 0.246923029, 0.969035149, -1.39987253e-06, 0.967466116, -0.246523187, 0.0568827242), CFrame.new(0.0930410028, 1.51390386, -0.186864346, 0.0551210232, 0.246923029, 0.967466354, -0.0140470145, 0.969035149, -0.246523246, -0.998381078, -1.39987253e-06, 0.0568827391), CFrame.new(1.30572438, 0.549293935, -0.623716354, 0.975685954, 0.166035622, 0.143070266, 0.0081961602, 0.624675274, -0.780841708, -0.219019979, 0.76302886, 0.608125925), CFrame.new(-1.06310928, 0.322490007, -1.00624692, 0.881435692, -0.411378503, -0.232031837, -0.0481262654, 0.410489917, -0.910594344, 0.469845623, 0.813797176, 0.3420223), CFrame.new(0.673036039, -2.17349005, 0.0392552316, 0.988193929, -0.10620904, -0.110418722, 0.0839042664, 0.978192925, -0.189996794, 0.12819016, 0.178489059, 0.975555658), CFrame.new(-1.06996655, -1.72934985, -0.00624912977, 0.727204561, 0.246923029, 0.640470624, -0.185302377, 0.969035149, -0.163199365, -0.660936117, -1.39987253e-06, 0.750442147)}, 0.3, false)
| |
| 1026 | end | |
| 1027 | if cooldown1 >= 4 then | |
| 1028 | cooldown1 = cooldown1 - 2 | |
| 1029 | shoottraildd(mouse, Barrel, 1) | |
| 1030 | -- DECOMPILER ERROR at PC252: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1031 | ||
| 1032 | -- DECOMPILER ERROR at PC252: LeaveBlock: unexpected jumping out IF_STMT | |
| 1033 | ||
| 1034 | -- DECOMPILER ERROR at PC252: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1035 | ||
| 1036 | -- DECOMPILER ERROR at PC252: LeaveBlock: unexpected jumping out IF_STMT | |
| 1037 | ||
| 1038 | end | |
| 1039 | end | |
| 1040 | end | |
| 1041 | soe:Stop() | |
| 1042 | CFuncs.Sound.Create("rbxassetid://135886551", Torso, 1, 1)
| |
| 1043 | end | |
| 1044 | hot = false | |
| 1045 | end | |
| 1046 | ||
| 1047 | baka = function() | |
| 1048 | ||
| 1049 | Humanoid.WalkSpeed = 2 | |
| 1050 | Humanoid.JumpPower = 0 | |
| 1051 | attack = true | |
| 1052 | for i = 0, 1, 0.5 do | |
| 1053 | swait() | |
| 1054 | PlayAnimationFromTable({CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475), CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565), CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565), CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855), CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925), CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)}, 0.4, false)
| |
| 1055 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1056 | end | |
| 1057 | for i = 1, 10 do | |
| 1058 | for i = 0, 1, 0.5 do | |
| 1059 | swait() | |
| 1060 | PlayAnimationFromTable({CFrame.new(0, 0, 0, -0.126676023, 0.23911497, -0.962692738, 0.0259660054, 0.970977783, 0.237756103, 0.991604209, 0.00512071373, -0.129208475), CFrame.new(-0.0221787691, 1.45965314, -0.112358943, 0.595528305, -0.284922779, 0.751109242, 0.114603601, 0.955558896, 0.271612644, -0.795117676, -0.0756731778, 0.601715565), CFrame.new(1.10635591, 0.859423637, -0.981054425, 0.608006597, 0.255645812, 0.751646996, 0.66461128, 0.354005992, -0.658005834, -0.434303999, 0.899625063, 0.0453328565), CFrame.new(-1.15179741, 0.192107677, -0.658762455, 0.950540423, -0.300884187, 0.077081807, 0.186789155, 0.355474651, -0.915831685, 0.248158604, 0.884933174, 0.394094855), CFrame.new(0.568166018, -1.92436779, -0.615063548, 0.522848248, -0.20566088, 0.827244461, 0.0774576887, 0.977906942, 0.194160998, -0.848899424, -0.0374402776, 0.527226925), CFrame.new(-0.588464379, -2.00466871, -0.160800442, 0.795416594, 0.0259660054, 0.605506659, 0.123992123, 0.970977783, -0.204519317, -0.593244076, 0.237756103, 0.769112289)}, 0.4, false)
| |
| 1061 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1062 | end | |
| 1063 | IceMortar() | |
| 1064 | for i = 0, 1, 0.5 do | |
| 1065 | swait() | |
| 1066 | PlayAnimationFromTable({CFrame.new(0, 0, 0, -0.335253149, 0.328955054, -0.882832885, 0.107930049, 0.944303334, 0.310873568, 0.935925424, 0.00893715583, -0.352084786), CFrame.new(-0.00419440866, 1.463902, 0.0260094106, 0.372635633, -0.266420603, 0.888911009, 0.176304489, 0.960780025, 0.214053184, -0.91107595, 0.0769551396, 0.404991925), CFrame.new(1.16062069, 1.21589506, -1.1315105, 0.461470664, 0.408944249, 0.787279725, 0.759406447, 0.276684046, -0.588853061, -0.458635807, 0.869603693, -0.182873294), CFrame.new(-1.1017859, 0.105088279, -0.580041945, 0.871761322, -0.489363998, -0.0235606134, 0.251738638, 0.48867017, -0.83536166, 0.420309335, 0.722304821, 0.549195588), CFrame.new(0.356478155, -1.8632127, -0.897590756, 0.318082392, -0.179918393, 0.930834651, 0.152005479, 0.978804231, 0.137247398, -0.935798109, 0.0978359506, 0.33868891), CFrame.new(-0.668343425, -1.97596669, -0.199289501, 0.642908812, 0.107930049, 0.758300424, 0.172217295, 0.944303334, -0.280414909, -0.746330738, 0.310873568, 0.588513494)}, 0.3, false)
| |
| 1067 | end | |
| 1068 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1069 | end | |
| 1070 | Humanoid.WalkSpeed = 14 | |
| 1071 | Humanoid.JumpPower = 50 | |
| 1072 | attack = false | |
| 1073 | end | |
| 1074 | ||
| 1075 | bulletrain = function() | |
| 1076 | ||
| 1077 | attack = true | |
| 1078 | shoot = true | |
| 1079 | Humanoid.WalkSpeed = 2 | |
| 1080 | Humanoid.JumpPower = 0 | |
| 1081 | for i = 0, 1, 0.5 do | |
| 1082 | swait() | |
| 1083 | PlayAnimationFromTable({CFrame.new(-8.64267349e-07, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373e-06, 0.787801504, 0.359675765, 0.500002146), CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877e-07, -0.247665256, 0.968845665, -3.36766243e-06, -2.08616257e-07, 3.39746475e-06, 1)}, 0.3, false)
| |
| 1084 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1085 | end | |
| 1086 | soe:Play() | |
| 1087 | for i = 1, 5 do | |
| 1088 | for i = 0, 1, 0.5 do | |
| 1089 | swait() | |
| 1090 | PlayAnimationFromTable({CFrame.new(-8.64267349e-07, -0.259999782, 0.509999871, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373e-06, 0.787801504, 0.359675765, 0.500002146), CFrame.new(0.047690846, 1.37390435, -0.00346283242, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), CFrame.new(1.1759336, -0.214563698, -0.518012762, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), CFrame.new(-0.00660583377, 0.722521007, -1.36138439, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), CFrame.new(0.993886769, -1.80155158, 0.41332227, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), CFrame.new(-0.795712531, -2.27605748, -0.675008774, 0.968845665, 0.247665286, -6.2584877e-07, -0.247665256, 0.968845665, -3.36766243e-06, -2.08616257e-07, 3.39746475e-06, 1)}, 0.3, false)
| |
| 1091 | end | |
| 1092 | Effects.Ring.Create(BrickColor.new("Bright yellow"), Barrel.CFrame, 0.05, 9999, 0.05, 0.5, 10, 0.5, 0.07)
| |
| 1093 | coroutine.resume(coroutine.create(function() | |
| 1094 | ||
| 1095 | swait(50) | |
| 1096 | for i = 0, 3 do | |
| 1097 | swait() | |
| 1098 | Hee() | |
| 1099 | end | |
| 1100 | end | |
| 1101 | )) | |
| 1102 | for i = 0, 1, 0.5 do | |
| 1103 | swait() | |
| 1104 | PlayAnimationFromTable({CFrame.new(-4.02331352e-07, -0.429999679, 0.509999633, 0.454838723, 0.207662866, -0.866024196, -0.415319771, 0.909675479, 2.65391373e-06, 0.787801504, 0.359675765, 0.500002146), CFrame.new(-0.0229135007, 1.52854931, -0.00346241146, 0.454838723, 0.0202630162, 0.890343308, 0.207662866, 0.969769061, -0.128156841, -0.866024196, 0.243181929, 0.436880678), CFrame.new(1.34206092, -0.578433394, -0.518014491, 0.694960654, 0.00311025977, -0.719041109, -0.715354204, -0.0982373655, -0.691822171, -0.0727884769, 0.995158195, -0.0660461485), CFrame.new(0.159522176, 0.358650804, -1.36138511, 0.0264981389, -0.398905575, 0.916609168, 0.381749183, -0.843399405, -0.378080904, 0.92388618, 0.359933168, 0.129933342), CFrame.new(0.923282862, -1.64690685, 0.413322628, 0.946233869, -0.168109909, -0.276370257, 0.32347101, 0.484278023, 0.812921524, -0.00282013416, -0.858611643, 0.512618959), CFrame.new(-0.866316676, -2.12141252, -0.675008297, 0.968845665, 0.247665286, -6.2584877e-07, -0.247665256, 0.968845665, -3.36766243e-06, -2.08616257e-07, 3.39746475e-06, 1)}, 0.3, false)
| |
| 1105 | end | |
| 1106 | end | |
| 1107 | Humanoid.WalkSpeed = 16 | |
| 1108 | Humanoid.JumpPower = 50 | |
| 1109 | shoot = false | |
| 1110 | attack = false | |
| 1111 | end | |
| 1112 | ||
| 1113 | reload = function() | |
| 1114 | ||
| 1115 | attack = true | |
| 1116 | CFuncs.Sound.Create("rbxassetid://476967191", Torso, 1, 1)
| |
| 1117 | Humanoid.WalkSpeed = 0 | |
| 1118 | Humanoid.JumpPower = 0 | |
| 1119 | for i = 0, 1, 0.1 do | |
| 1120 | swait() | |
| 1121 | PlayAnimationFromTable({CFrame.new(1.8440187e-07, -0.139999658, 4.09781933e-08, 0.961201906, -0.10690318, -0.254288644, 0.21934697, 0.855199099, 0.469597191, 0.167265981, -0.50715512, 0.845467865), CFrame.new(0.118516162, 1.58659482, -0.219019189, 0.961201906, 0.0477932617, 0.271674097, -0.10690318, 0.972449541, 0.20715633, -0.254288644, -0.228161901, 0.939829588), CFrame.new(1.68424237, 0.748442292, -0.706012189, 0.99522835, -0.0820493251, -0.052807644, -0.0259959921, 0.298680395, -0.953999102, 0.094047606, 0.950819731, 0.295122236), CFrame.new(-1.00540316, -0.0433585942, -1.04679382, 0.889593422, -0.412790358, -0.195519671, -0.0179834068, 0.396077901, -0.918040872, 0.456399381, 0.820199132, 0.344924867), CFrame.new(0.077872172, -1.66495073, -0.965118527, 0.971758127, 0.128417134, 0.197978109, -0.14856942, 0.984753489, 0.0904862583, -0.18333964, -0.11734429, 0.976021051), CFrame.new(-0.952379167, -2.22908545, -0.0740788579, 0.971758127, -0.0780466571, 0.222699374, -0.14856942, 0.530862331, 0.834333539, -0.18333964, -0.843856633, 0.504274428)}, 0.3, false)
| |
| 1122 | end | |
| 1123 | for i = 0, 1, 0.3 do | |
| 1124 | swait() | |
| 1125 | PlayAnimationFromTable({CFrame.new(1.24797225e-07, -0.139999777, -1.2293458e-07, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), CFrame.new(0.0842576772, 1.58659482, -0.234341949, 0.912073672, 0.0129638165, 0.409821719, -0.106903367, 0.972449541, 0.207156241, -0.395845294, -0.232753009, 0.888331294), CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), CFrame.new(-1.58909011, 0.00795590132, -0.693813384, 0.872956932, 0.466834873, -0.141462982, -0.292127311, 0.268072933, -0.918040633, -0.390650928, 0.842735052, 0.370391279), CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)}, 0.3, false)
| |
| 1126 | end | |
| 1127 | CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
| |
| 1128 | for i = 0, 1, 0.3 do | |
| 1129 | swait() | |
| 1130 | PlayAnimationFromTable({CFrame.new(1.24797225e-07, -0.139999777, -1.2293458e-07, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853), CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), CFrame.new(-0.412511081, -0.129949987, -1.20445538, 0.850484729, -0.506620288, -0.141463727, 0.0787711143, 0.388581336, -0.918041229, 0.520068347, 0.769636631, 0.370389462), CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)}, 0.3, false)
| |
| 1131 | end | |
| 1132 | CFuncs.Sound.Create("rbxassetid://420157750", Torso, 1, 1)
| |
| 1133 | for i = 0, 1, 0.1 do | |
| 1134 | swait() | |
| 1135 | PlayAnimationFromTable({CFrame.new(1.24797225e-07, -0.139999777, -1.2293458e-07, 0.912073672, -0.106903367, -0.395845294, 0.287424922, 0.855198979, 0.431302249, 0.292418867, -0.50715518, 0.810731053), CFrame.new(0.0842583403, 1.5865947, -0.234342203, 0.996350586, 0.0129648447, 0.0843672305, -0.0322037786, 0.972449422, 0.2308788, -0.0790495872, -0.232753068, 0.969317853), CFrame.new(1.559021, 0.748442054, -0.951093793, 0.998059869, 0.0617666095, -0.00785881281, -0.0259962082, 0.298680305, -0.953999102, -0.0565779954, 0.952352405, 0.299706489), CFrame.new(-1.23337948, -0.0337366089, -0.848193765, 0.985941291, 0.0889243782, -0.141466275, -0.164270043, 0.360854447, -0.91804111, -0.0305874944, 0.928373039, 0.370388746), CFrame.new(-0.0680454671, -1.66495061, -0.965861261, 0.933171809, 0.109325245, 0.342401206, -0.148569614, 0.98475343, 0.0904861391, -0.3272883, -0.135309517, 0.935186505), CFrame.new(-0.952697039, -2.22908521, 0.069880724, 0.933171809, -0.203970551, 0.295950353, -0.148569614, 0.530862331, 0.83433342, -0.3272883, -0.822545528, 0.46508193)}, 0.3, false)
| |
| 1136 | end | |
| 1137 | for i = 0, 1, 0.1 do | |
| 1138 | swait() | |
| 1139 | PlayAnimationFromTable({CFrame.new(2.75671482e-07, -0.139999509, 4.84287739e-08, 0.93023777, -0.149679706, -0.335043013, 0.266118944, 0.903822243, 0.335091412, 0.252662927, -0.400875956, 0.880602121), CFrame.new(0.146082789, 1.46556664, -0.249146447, 0.999015331, 0.0302448869, 0.0324646235, -0.0357455313, 0.982079625, 0.185046405, -0.0262861252, -0.186024636, 0.98219353), CFrame.new(1.60341132, 0.634059429, -0.960381627, 0.999630213, 0.0153988302, -0.0224183053, -0.0267876983, 0.414896607, -0.909474254, -0.00470355153, 0.909738421, 0.415155649), CFrame.new(-1.27817965, 0.483237952, -0.584308505, 0.9862625, -0.0390861779, -0.1604954, -0.16083923, -0.0057964623, -0.986963689, 0.0376463234, 0.999219179, -0.012003392), CFrame.new(-0.0210132897, -1.77229953, -0.753718495, 0.947978377, 0.115773275, 0.296536177, -0.182390139, 0.960999489, 0.207879633, -0.260904163, -0.251150727, 0.932122588), CFrame.new(-0.954967141, -2.2089045, 0.30019033, 0.947978377, -0.163744882, 0.272992253, -0.182390139, 0.423467815, 0.887360692, -0.260904163, -0.890989721, 0.371572882)}, 0.3, false)
| |
| 1140 | end | |
| 1141 | for i = 0, 1, 0.3 do | |
| 1142 | swait() | |
| 1143 | PlayAnimationFromTable({CFrame.new(-7.69272447e-07, -0.140000135, -3.46451998e-07, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)}, 0.3, false)
| |
| 1144 | end | |
| 1145 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1146 | for i = 0, 1, 0.3 do | |
| 1147 | swait() | |
| 1148 | PlayAnimationFromTable({CFrame.new(8.6799264e-07, -0.139999613, 2.19792128e-07, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)}, 0.3, false)
| |
| 1149 | end | |
| 1150 | for i = 0, 1, 0.3 do | |
| 1151 | swait() | |
| 1152 | PlayAnimationFromTable({CFrame.new(-7.69272447e-07, -0.140000135, -3.46451998e-07, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)}, 0.3, false)
| |
| 1153 | end | |
| 1154 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1155 | for i = 0, 1, 0.3 do | |
| 1156 | swait() | |
| 1157 | PlayAnimationFromTable({CFrame.new(8.6799264e-07, -0.139999613, 2.19792128e-07, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)}, 0.3, false)
| |
| 1158 | end | |
| 1159 | for i = 0, 1, 0.3 do | |
| 1160 | swait() | |
| 1161 | PlayAnimationFromTable({CFrame.new(-7.69272447e-07, -0.140000135, -3.46451998e-07, 0.782381177, -0.149679378, -0.60454601, 0.356171101, 0.903822064, 0.23716639, 0.51090312, -0.400876313, 0.760444701), CFrame.new(0.06250453, 1.46556664, -0.281969577, 0.942660391, -0.0283489227, 0.332547724, -0.0357453376, 0.982079625, 0.185045928, -0.331834137, -0.186322451, 0.924754024), CFrame.new(1.1519953, 0.518530607, -1.48000467, 0.949874043, 0.29405424, 0.106168121, -0.0267875418, 0.414896131, -0.909474373, -0.311483502, 0.861042023, 0.40197596), CFrame.new(-1.31573653, 0.564093769, -1.05578232, 0.985590637, -0.064363122, -0.156425014, -0.153479308, 0.0484448671, -0.986963749, 0.0711020529, 0.996749997, 0.0378683656), CFrame.new(-0.251480341, -1.77229917, -0.710838974, 0.822034001, 0.0330443978, 0.568479002, -0.18238984, 0.960999548, 0.207879215, -0.539438784, -0.274568528, 0.796001196), CFrame.new(-0.816619396, -2.20890474, 0.578971326, 0.822034001, -0.429472685, 0.373916447, -0.18238984, 0.423468202, 0.887360513, -0.539438784, -0.797638893, 0.269773781)}, 0.3, false)
| |
| 1162 | end | |
| 1163 | CFuncs.Sound.Create("rbxassetid://140792940", Torso, 1, 1)
| |
| 1164 | for i = 0, 1, 0.3 do | |
| 1165 | swait() | |
| 1166 | PlayAnimationFromTable({CFrame.new(8.6799264e-07, -0.139999613, 2.19792128e-07, 0.972940207, -0.00549634127, -0.230991706, 0.0912460238, 0.927601039, 0.362257659, 0.21227704, -0.373532087, 0.903001845), CFrame.new(-0.0466574468, 1.474949, -0.231621325, 0.990165234, -0.0956909955, -0.102060065, 0.112293385, 0.978708446, 0.171814561, 0.0834459513, -0.181585401, 0.979828417), CFrame.new(1.66388702, 0.579190969, -0.444770992, 0.987100601, -0.14505294, 0.0677664801, 0.120891877, 0.397787958, -0.90947789, 0.104965746, 0.905938506, 0.41019243), CFrame.new(-1.6625241, 0.839273512, -0.0717586502, 0.9169752, 0.398815453, -0.0101394355, 0.00248540938, -0.0311260223, -0.999512553, -0.398936599, 0.916502833, -0.0295330286), CFrame.new(0.323853761, -1.74355471, -0.751475215, 0.98718667, -0.00142863393, 0.159563616, -0.036436528, 0.971523821, 0.234123647, -0.155354321, -0.236937672, 0.959023356), CFrame.new(-0.643794179, -2.33010077, 0.193637908, 0.98718667, -0.127094775, 0.0964857638, -0.036436528, 0.409146309, 0.911741078, -0.155354321, -0.903574109, 0.399272919)}, 0.3, false)
| |
| 1167 | end | |
| 1168 | CFuncs.Sound.Create("rbxassetid://357820124", Torso, 1, 1)
| |
| 1169 | cooldown1 = 200 | |
| 1170 | for i = 0, 1, 0.1 do | |
| 1171 | swait() | |
| 1172 | PlayAnimationFromTable({CFrame.new(8.63336027e-07, -0.139999524, 2.11410224e-07, 0.972940207, -0.0703168139, -0.220097557, 0.0912460238, 0.992072761, 0.0864050239, 0.21227704, -0.104149938, 0.971643686), CFrame.new(0.0565204546, 1.57937229, -0.254729301, 0.939605474, -0.0956909955, 0.32861048, -0.0686053783, 0.887976408, 0.454743028, -0.335313201, -0.449823558, 0.827782691), CFrame.new(1.66388702, 0.430516392, -0.589863598, 0.987100601, -0.14505294, 0.0677664801, 0.145556614, 0.636787474, -0.757175744, 0.0666777343, 0.757272482, 0.649686694), CFrame.new(-1.59538066, 0.0678503811, 0.220779896, 0.9169752, 0.259564161, 0.302957177, -0.109948099, 0.8944121, -0.433518767, -0.383494496, 0.364216447, 0.848692358), CFrame.new(0.323853761, -1.88460708, -0.230116844, 0.98718667, -0.00142863393, 0.159563616, -0.0787070394, 0.865496337, 0.494693071, -0.138808474, -0.500913203, 0.854294121), CFrame.new(-0.643794179, -2.1812942, 0.841914892, 0.98718667, -0.127094775, 0.0964857638, -0.0787070394, 0.138161942, 0.987277389, -0.138808474, -0.982221127, 0.126388401)}, 0.3, false)
| |
| 1173 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1174 | end | |
| 1175 | for i = 0, 1, 0.1 do | |
| 1176 | swait() | |
| 1177 | PlayAnimationFromTable({CFrame.new(-4.63598553e-07, -0.139999643, 7.72997737e-08, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473), CFrame.new(0.110893115, 1.57937193, -0.236186981, 0.78559494, 0.00506232027, 0.618720472, -0.288064182, 0.887976527, 0.358492374, -0.547594428, -0.459860921, 0.699048221), CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379), CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776), CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836), CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)}, 0.3, false)
| |
| 1178 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1179 | end | |
| 1180 | for i = 0, 1, 0.1 do | |
| 1181 | swait() | |
| 1182 | PlayAnimationFromTable({CFrame.new(-4.63598553e-07, -0.139999643, 7.72997737e-08, 0.99752301, -0.0703164712, -0.00185317313, 0.0701259971, 0.992072821, 0.104278311, -0.00549399992, -0.104149975, 0.994546473), CFrame.new(0.110893264, 1.57937276, -0.236186564, 0.891458511, 0.00506000547, -0.453074306, 0.204350829, 0.887976766, 0.411992967, 0.404404104, -0.459860682, 0.790560246), CFrame.new(1.75263917, 0.430516958, -0.211456299, 0.948584676, -0.307252407, -0.0760475099, 0.145556927, 0.636787355, -0.757175744, 0.281070143, 0.707176089, 0.648769379), CFrame.new(-1.60502636, 0.0678498447, -0.133690476, 0.978670716, 0.173570752, 0.109894, -0.109947756, 0.89441222, -0.433518827, -0.173536703, 0.412189603, 0.894418776), CFrame.new(0.366361797, -1.88460708, -0.153670132, 0.993635535, 0.108221181, -0.0312502384, -0.0787066966, 0.865496516, 0.494693041, 0.0805832371, -0.489084959, 0.868505836), CFrame.new(-0.812426805, -2.18129468, 0.68062675, 0.993635535, 0.0909263268, 0.0664891303, -0.0787066966, 0.138162017, 0.987277448, 0.0805832371, -0.986226976, 0.144439206)}, 0.3, false)
| |
| 1183 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1184 | end | |
| 1185 | Humanoid.WalkSpeed = 16 | |
| 1186 | Humanoid.JumpPower = 50 | |
| 1187 | attack = false | |
| 1188 | end | |
| 1189 | ||
| 1190 | mouse.Button1Down:connect(function() | |
| 1191 | ||
| 1192 | if attack == false and aiming == false then | |
| 1193 | Aim() | |
| 1194 | end | |
| 1195 | end | |
| 1196 | ) | |
| 1197 | mouse.Button1Up:connect(function() | |
| 1198 | ||
| 1199 | if attack == true and aiming == true then | |
| 1200 | attack = false | |
| 1201 | aiming = false | |
| 1202 | Humanoid.WalkSpeed = 14 | |
| 1203 | Humanoid.JumpPower = 50 | |
| 1204 | shoot = false | |
| 1205 | end | |
| 1206 | end | |
| 1207 | ) | |
| 1208 | mouse.KeyDown:connect(function(k) | |
| 1209 | ||
| 1210 | k = k:lower() | |
| 1211 | if attack == true and aiming == true and hot == false and k == "z" then | |
| 1212 | fire() | |
| 1213 | else | |
| 1214 | if attack == false and aiming == false and hot == false and k == "c" and co3 <= cooldown3 then | |
| 1215 | cooldown3 = 0 | |
| 1216 | baka() | |
| 1217 | else | |
| 1218 | if attack == false and aiming == false and hot == false and k == "v" and co4 <= cooldown4 then | |
| 1219 | cooldown4 = 0 | |
| 1220 | bulletrain() | |
| 1221 | else | |
| 1222 | if attack == false and aiming == false and hot == false and k == "x" and co2 <= cooldown2 then | |
| 1223 | cooldown2 = 0 | |
| 1224 | reload() | |
| 1225 | end | |
| 1226 | end | |
| 1227 | end | |
| 1228 | end | |
| 1229 | end | |
| 1230 | ) | |
| 1231 | mouse.KeyUp:connect(function(k) | |
| 1232 | ||
| 1233 | k = k:lower() | |
| 1234 | if attack == true and aiming == true and hot == true and k == "z" then | |
| 1235 | shoot = false | |
| 1236 | end | |
| 1237 | end | |
| 1238 | ) | |
| 1239 | updateskills = function() | |
| 1240 | ||
| 1241 | if aiming == false then | |
| 1242 | text1.Text = "[Z]\n N/A" | |
| 1243 | else | |
| 1244 | text1.Text = "[Z]\n Fire" | |
| 1245 | end | |
| 1246 | if cooldown2 <= co2 then | |
| 1247 | cooldown2 = cooldown2 + 0.033333333333333 | |
| 1248 | end | |
| 1249 | if cooldown3 <= co3 then | |
| 1250 | cooldown3 = cooldown3 + 0.033333333333333 | |
| 1251 | end | |
| 1252 | if cooldown4 <= co4 then | |
| 1253 | cooldown4 = cooldown4 + 0.033333333333333 | |
| 1254 | end | |
| 1255 | end | |
| 1256 | ||
| 1257 | Humanoid.WalkSpeed = 14 | |
| 1258 | while true do | |
| 1259 | swait() | |
| 1260 | updateskills() | |
| 1261 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1262 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1263 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1264 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1265 | if shoot == false then | |
| 1266 | soe:Stop() | |
| 1267 | end | |
| 1268 | if aiming == false then | |
| 1269 | spim:Stop() | |
| 1270 | end | |
| 1271 | if aiming == true then | |
| 1272 | local aim = CFrame.new(RootPart.Position, mouse.Hit.p) | |
| 1273 | local direction = aim.lookVector | |
| 1274 | local headingA = math.atan2(direction.x, direction.z) | |
| 1275 | headingA = math.deg(headingA) | |
| 1276 | Humanoid.AutoRotate = false | |
| 1277 | RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
| 1278 | else | |
| 1279 | --do | |
| 1280 | Humanoid.AutoRotate = true | |
| 1281 | end | |
| 1282 | for i,v in pairs(Character:GetChildren()) do | |
| 1283 | if v:IsA("Part") then
| |
| 1284 | v.Material = "SmoothPlastic" | |
| 1285 | else | |
| 1286 | if v:IsA("Hat") then
| |
| 1287 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1288 | end | |
| 1289 | end | |
| 1290 | end | |
| 1291 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1292 | velocity = RootPart.Velocity.y | |
| 1293 | sine = sine + change | |
| 1294 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1295 | if equipped == true or equipped == false then | |
| 1296 | if 1 < RootPart.Velocity.y and hit == nil then | |
| 1297 | Anim = "Jump" | |
| 1298 | if attack == false then | |
| 1299 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1300 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1301 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1302 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1303 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3) | |
| 1304 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1305 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1306 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1307 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1308 | end | |
| 1309 | else | |
| 1310 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 1311 | Anim = "Fall" | |
| 1312 | if attack == false then | |
| 1313 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-30), math.rad(0)), 0.3) | |
| 1314 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(30), math.rad(0)), 0.3) | |
| 1315 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1316 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1317 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3) | |
| 1318 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1319 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1320 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1321 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1322 | end | |
| 1323 | else | |
| 1324 | if Torsovelocity < 1 and hit ~= nil then | |
| 1325 | Anim = "Idle" | |
| 1326 | if attack == false then | |
| 1327 | change = 1 | |
| 1328 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3) | |
| 1329 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)), 0.3) | |
| 1330 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3) | |
| 1331 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -1) * angles(math.rad(70), math.rad(0), math.rad(30)), 0.3) | |
| 1332 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1333 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1334 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-80)), 0.3) | |
| 1335 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1336 | end | |
| 1337 | else | |
| 1338 | if 2 < Torsovelocity and hit ~= nil then | |
| 1339 | Anim = "Walk" | |
| 1340 | if attack == false then | |
| 1341 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(-30), math.rad(0)), 0.3) | |
| 1342 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(30), math.rad(0)), 0.3) | |
| 1343 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(30)), 0.3) | |
| 1344 | LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.4, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3) | |
| 1345 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1346 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1347 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-130)), 0.3) | |
| 1348 | FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1349 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-40), math.rad(0), math.rad(-120)), 0.3) | |
| 1350 | end | |
| 1351 | end | |
| 1352 | end | |
| 1353 | end | |
| 1354 | end | |
| 1355 | end | |
| 1356 | if 0 < #Effects then | |
| 1357 | for e = 1, #Effects do | |
| 1358 | if Effects[e] ~= nil then | |
| 1359 | local Thing = Effects[e] | |
| 1360 | if Thing ~= nil then | |
| 1361 | local Part = Thing[1] | |
| 1362 | local Mode = Thing[2] | |
| 1363 | local Delay = Thing[3] | |
| 1364 | local IncX = Thing[4] | |
| 1365 | local IncY = Thing[5] | |
| 1366 | local IncZ = Thing[6] | |
| 1367 | if Thing[1].Transparency <= 1 then | |
| 1368 | if Thing[2] == "Block1" then | |
| 1369 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1370 | Mesh = Thing[1].Mesh | |
| 1371 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1372 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1373 | else | |
| 1374 | if Thing[2] == "Block2" then | |
| 1375 | Thing[1].CFrame = Thing[1].CFrame | |
| 1376 | Mesh = Thing[7] | |
| 1377 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1378 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1379 | else | |
| 1380 | if Thing[2] == "Cylinder" then | |
| 1381 | Mesh = Thing[1].Mesh | |
| 1382 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1383 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1384 | else | |
| 1385 | if Thing[2] == "Blood" then | |
| 1386 | Mesh = Thing[7] | |
| 1387 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1388 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1389 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1390 | else | |
| 1391 | if Thing[2] == "Elec" then | |
| 1392 | Mesh = Thing[1].Mesh | |
| 1393 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1394 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1395 | else | |
| 1396 | if Thing[2] == "Disappear" then | |
| 1397 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1398 | else | |
| 1399 | if Thing[2] == "Shatter" then | |
| 1400 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1401 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1402 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1403 | Thing[6] = Thing[6] + Thing[5] | |
| 1404 | end | |
| 1405 | end | |
| 1406 | end | |
| 1407 | end | |
| 1408 | end | |
| 1409 | end | |
| 1410 | end | |
| 1411 | else | |
| 1412 | Part.Parent = nil | |
| 1413 | table.remove(Effects, e) | |
| 1414 | end | |
| 1415 | end | |
| 1416 | end | |
| 1417 | end | |
| 1418 | end | |
| 1419 | end |