SHOW:
|
|
- or go back to the newest paste.
1 | - | --MADE BY Tezis (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and 6 and put your name where it says "YOUR NAME HERE" |
1 | + | --[[ Leaked by CLarramore ]]-- |
2 | -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB | |
3 | -- I am now spreading this on | |
4 | -- You can now make ur edits with this | |
5 | - | Names = "cookiebot3000"--------your name goes here |
5 | + | -- ENTIRELY OPEN SOURCED!!!! YAY! |
6 | - | Player = game:GetService("Players").cookiebot3000------your name goes also here |
6 | + | -- 1337 views. l0l |
7 | - | Character = Player.Character |
7 | + | -- NightOwlAce dont kill me |
8 | - | PlayerGui = Player.PlayerGui |
8 | + | Player=game:GetService("Players").LocalPlayer |
9 | - | Backpack = Player.Backpack |
9 | + | Character=Player.Character |
10 | - | Humanoid = Character.Humanoid |
10 | + | PlayerGui=Player.PlayerGui |
11 | - | Torso = Character.Torso |
11 | + | Backpack=Player.Backpack |
12 | - | Head = Character.Head |
12 | + | Torso=Character.Torso |
13 | - | LeftArm = Character["Left Arm"] |
13 | + | Head=Character.Head |
14 | - | RightArm = Character["Right Arm"] |
14 | + | Humanoid=Character.Humanoid |
15 | - | LeftLeg = Character["Left Leg"] |
15 | + | m=Instance.new('Model',Character) |
16 | - | RightLeg = Character["Right Leg"] |
16 | + | LeftArm=Character["Left Arm"] |
17 | - | Neck = Torso["Neck"] |
17 | + | LeftLeg=Character["Left Leg"] |
18 | - | RightShoulder = Torso["Right Shoulder"] |
18 | + | RightArm=Character["Right Arm"] |
19 | - | LeftShoulder = Torso["Left Shoulder"] |
19 | + | RightLeg=Character["Right Leg"] |
20 | - | RightHip = Torso["Right Hip"] |
20 | + | LS=Torso["Left Shoulder"] |
21 | - | LeftHip = Torso["Left Hip"] |
21 | + | LH=Torso["Left Hip"] |
22 | - | NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
22 | + | RS=Torso["Right Shoulder"] |
23 | - | NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
23 | + | RH=Torso["Right Hip"] |
24 | - | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
24 | + | Face = Head.face |
25 | - | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
25 | + | Neck=Torso.Neck |
26 | - | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
26 | + | it=Instance.new |
27 | - | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
27 | + | attacktype=1 |
28 | - | LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
28 | + | vt=Vector3.new |
29 | - | LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
29 | + | cf=CFrame.new |
30 | - | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
30 | + | euler=CFrame.fromEulerAnglesXYZ |
31 | - | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
31 | + | angles=CFrame.Angles |
32 | - | Damage = 2000000 |
32 | + | cloaked=false |
33 | - | Sound = Instance.new("Sound") |
33 | + | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
34 | - | Sound.Parent = Head |
34 | + | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
35 | - | Sound.Name = "Sound" |
35 | + | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
36 | - | Sound.Pitch = .8 |
36 | + | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
37 | - | Sound.SoundId = "" |
37 | + | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
38 | - | Sound.Volume = 2 |
38 | + | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
39 | - | Stuff = Player.Character:GetChildren() |
39 | + | RootPart=Character.HumanoidRootPart |
40 | - | for i = 1 , #Stuff do |
40 | + | RootJoint=RootPart.RootJoint |
41 | - | if Stuff[i].Name == "Shirt" or Stuff[i].Name == "Pants" or Stuff[i].className == "Hat" then |
41 | + | RootCF=euler(-1.57,0,3.14) |
42 | - | Stuff[i]:Remove() |
42 | + | attack = false |
43 | attackdebounce = false | |
44 | deb=false | |
45 | - | Torso.BrickColor = BrickColor.new("really blue") |
45 | + | equipped=true |
46 | - | Head.BrickColor = BrickColor.new("really blue") |
46 | + | hand=false |
47 | - | RightArm.BrickColor = BrickColor.new("really blue") |
47 | + | MMouse=nil |
48 | - | LeftArm.BrickColor = BrickColor.new("really blue") |
48 | + | combo=0 |
49 | - | RightLeg.BrickColor = BrickColor.new("really blue") |
49 | + | mana=0 |
50 | - | LeftLeg.BrickColor = BrickColor.new("really blue") |
50 | + | trispeed=1 |
51 | - | Torso.Reflectance = .4 |
51 | + | pathtrans=.7 |
52 | - | Head.Reflectance = .4 |
52 | + | attackmode='none' |
53 | - | RightArm.Reflectance = .4 |
53 | + | local idle=0 |
54 | - | LeftArm.Reflectance = .4 |
54 | + | local Anim="Idle" |
55 | - | RightLeg.Reflectance = .4 |
55 | + | local Effects={} |
56 | - | LeftLeg.Reflectance = .4 |
56 | + | local gun=false |
57 | - | Character.Head.face:remove() |
57 | + | local shoot=false |
58 | - | Eye1 = Instance.new("Part") |
58 | + | player=nil |
59 | - | Eye1.Parent = Character |
59 | + | cloak=false |
60 | - | Eye1.Size = Vector3.new(1,1,1) |
60 | + | lightcolor='Bright blue' |
61 | - | Eye1.TopSurface = "Smooth" |
61 | + | |
62 | - | Eye1.BottomSurface = "Smooth" |
62 | + | local Color1=Torso.BrickColor |
63 | - | Eye1.CanCollide = false |
63 | + | |
64 | - | Eye1.Reflectance = .1 |
64 | + | local fengui=it("GuiMain") |
65 | - | Eye1.FormFactor = "Symmetric" |
65 | + | fengui.Parent=Player.PlayerGui |
66 | - | Eye1.BrickColor = BrickColor.new("Lime green") |
66 | + | fengui.Name="WeaponGUI" |
67 | - | e1m=Instance.new("BlockMesh") |
67 | + | local fenframe=it("Frame") |
68 | - | e1m.Scale=Vector3.new(.25,.2,.25) |
68 | + | fenframe.Parent=fengui |
69 | - | e1m.Bevel=.1 |
69 | + | fenframe.BackgroundColor3=Color3.new(255,255,255) |
70 | - | e1m.Parent=Eye1 |
70 | + | fenframe.BackgroundTransparency=1 |
71 | - | Eye1:BreakJoints() |
71 | + | fenframe.BorderColor3=Color3.new(17,17,17) |
72 | - | pweld = Instance.new("Weld") |
72 | + | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) |
73 | - | pweld.Parent = Head |
73 | + | fenframe.Position=UDim2.new(0.4,0,0.1,0) |
74 | - | pweld.Part0 = Head |
74 | + | local fenbarmana1=it("TextLabel") |
75 | - | pweld.Part1 = Eye1 |
75 | + | fenbarmana1.Parent=fenframe |
76 | - | pweld.C0 = CFrame.new(.2,0.21,-.55) |
76 | + | fenbarmana1.Text=" " |
77 | - | Eye2 = Instance.new("Part") |
77 | + | fenbarmana1.BackgroundTransparency=0 |
78 | - | Eye2.Parent = Character |
78 | + | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) |
79 | - | Eye2.Size = Vector3.new(1,1,1) |
79 | + | fenbarmana1.SizeConstraint="RelativeXY" |
80 | - | Eye2.TopSurface = "Smooth" |
80 | + | fenbarmana1.TextXAlignment="Center" |
81 | - | Eye2.BottomSurface = "Smooth" |
81 | + | fenbarmana1.TextYAlignment="Center" |
82 | - | Eye2.CanCollide = false |
82 | + | fenbarmana1.Position=UDim2.new(0,0,0,0) |
83 | - | Eye2.Reflectance = .1 |
83 | + | fenbarmana1.Size=UDim2.new(4,0,0.2,0) |
84 | - | Eye2.FormFactor = "Symmetric" |
84 | + | local fenbarmana2=it("TextLabel") |
85 | - | Eye2.BrickColor = BrickColor.new("Lime green") |
85 | + | fenbarmana2.Parent=fenframe |
86 | - | e2m=Instance.new("BlockMesh") |
86 | + | fenbarmana2.Text=" " |
87 | - | e2m.Scale=Vector3.new(.25,.2,.25) |
87 | + | fenbarmana2.BackgroundTransparency=0 |
88 | - | e2m.Bevel=.1 |
88 | + | fenbarmana2.BackgroundColor3=Torso.Color |
89 | - | e2m.Parent=Eye2 |
89 | + | fenbarmana2.SizeConstraint="RelativeXY" |
90 | - | Eye2:BreakJoints() |
90 | + | fenbarmana2.TextXAlignment="Center" |
91 | - | pweld = Instance.new("Weld") |
91 | + | fenbarmana2.TextYAlignment="Center" |
92 | - | pweld.Parent = Head |
92 | + | fenbarmana2.Position=UDim2.new(0,0,0,0) |
93 | - | pweld.Part0 = Head |
93 | + | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) |
94 | - | pweld.Part1 = Eye2 |
94 | + | local fenbarmana3=it("TextLabel") |
95 | - | pweld.C0 = CFrame.new(-.2,0.21,-.55) |
95 | + | fenbarmana3.Parent=fenframe |
96 | - | Mouth = Instance.new("Part") |
96 | + | fenbarmana3.Text=" " |
97 | - | Mouth.Parent = Character |
97 | + | fenbarmana3.BackgroundTransparency=0 |
98 | - | Mouth.Size = Vector3.new(1,1,1) |
98 | + | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) |
99 | - | Mouth.TopSurface = "Smooth" |
99 | + | fenbarmana3.SizeConstraint="RelativeXY" |
100 | - | Mouth.BottomSurface = "Smooth" |
100 | + | fenbarmana3.TextXAlignment="Center" |
101 | - | Mouth.CanCollide = false |
101 | + | fenbarmana3.TextYAlignment="Center" |
102 | - | Mouth.Reflectance = .1 |
102 | + | fenbarmana3.Position=UDim2.new(0,0,0,0) |
103 | - | Mouth.FormFactor = "Symmetric" |
103 | + | fenbarmana3.Size=UDim2.new(0,0,0.2,0) |
104 | - | Mouth.BrickColor = BrickColor.new("Lime green") |
104 | + | local fenbarmana4=it("TextLabel") |
105 | - | MouthMesh=Instance.new("SpecialMesh") |
105 | + | fenbarmana4.Parent=fenframe |
106 | - | MouthMesh.Scale=Vector3.new(.9,0.2,1.05) |
106 | + | fenbarmana4.Text="Energy("..mana..")" |
107 | - | MouthMesh.MeshType = "Sphere" |
107 | + | fenbarmana4.BackgroundTransparency=1 |
108 | - | MouthMesh.Parent=Mouth |
108 | + | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) |
109 | - | Mouth:BreakJoints() |
109 | + | fenbarmana4.SizeConstraint="RelativeXY" |
110 | - | meld = Instance.new("Weld") |
110 | + | fenbarmana4.TextXAlignment="Center" |
111 | - | meld.Parent = Head |
111 | + | fenbarmana4.TextYAlignment="Center" |
112 | - | meld.Part0 = Head |
112 | + | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) |
113 | - | meld.Part1 = Mouth |
113 | + | fenbarmana4.Size=UDim2.new(4,0,0.2,0) |
114 | - | meld.C0 = CFrame.new(0,-.3,-.1) |
114 | + | fenbarmana4.FontSize="Size9" |
115 | - | function PwnWelds() |
115 | + | fenbarmana4.TextStrokeTransparency=0 |
116 | - | TiltX = 0 |
116 | + | fenbarmana4.TextColor=BrickColor.new("White") |
117 | - | TiltY = 0 |
117 | + | |
118 | - | TiltZ = 1.57 |
118 | + | mouse=Player:GetMouse() |
119 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) |
119 | + | --save shoulders |
120 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) |
120 | + | RSH, LSH=nil, nil |
121 | - | TiltX = 0.6 |
121 | + | --welds |
122 | - | TiltY = 0 |
122 | + | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
123 | - | TiltZ = 0 |
123 | + | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
124 | - | MoveX = 0 |
124 | + | LH=Torso["Left Hip"] |
125 | - | MoveY = 0 |
125 | + | RH=Torso["Right Hip"] |
126 | - | MoveZ = -0.3 |
126 | + | TorsoColor=Torso.BrickColor |
127 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) |
127 | + | function NoOutline(Part) |
128 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) |
128 | + | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
129 | - | TiltX = -0.05 |
129 | + | |
130 | - | TiltY = 0 |
130 | + | player=Player |
131 | - | TiltZ = 0 |
131 | + | ch=Character |
132 | - | MoveX = 0 |
132 | + | RSH=ch.Torso["Right Shoulder"] |
133 | - | MoveY = 0.1 |
133 | + | LSH=ch.Torso["Left Shoulder"] |
134 | - | MoveZ = 0 |
134 | + | -- |
135 | - | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) |
135 | + | RSH.Parent=nil |
136 | - | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) |
136 | + | LSH.Parent=nil |
137 | -- | |
138 | - | function RefreshWelds() |
138 | + | RW.Name="Right Shoulder" |
139 | - | Neck.C0 = NeckC0 |
139 | + | RW.Part0=ch.Torso |
140 | - | Neck.C1 = NeckC1 |
140 | + | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
141 | - | RightShoulder.C0 = RightShoulderC0 |
141 | + | RW.C1=cf(0, 0.5, 0) |
142 | - | RightShoulder.C1 = RightShoulderC1 |
142 | + | RW.Part1=ch["Right Arm"] |
143 | - | LeftShoulder.C0 = LeftShoulderC0 |
143 | + | RW.Parent=ch.Torso |
144 | - | LeftShoulder.C1 = LeftShoulderC1 |
144 | + | -- |
145 | - | RightHip.C0 = RightHipC0 |
145 | + | LW.Name="Left Shoulder" |
146 | - | RightHip.C1 = RightHipC1 |
146 | + | LW.Part0=ch.Torso |
147 | - | LeftHip.C0 = LeftHipC0 |
147 | + | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
148 | - | LeftHip.C1 = LeftHipC1 |
148 | + | LW.C1=cf(0, 0.5, 0) |
149 | LW.Part1=ch["Left Arm"] | |
150 | - | function Heal() |
150 | + | LW.Parent=ch.Torso |
151 | - | ShockWave = Instance.new("Part") |
151 | + | |
152 | - | ShockWave.Parent = Torso |
152 | + | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
153 | - | ShockWave.Anchored = true |
153 | + | local fp=it("Part") |
154 | - | ShockWave.CanCollide = false |
154 | + | fp.formFactor=formfactor |
155 | - | ShockWave.Locked = true |
155 | + | fp.Parent=parent |
156 | - | ShockWave.Transparency = 0 |
156 | + | fp.Reflectance=reflectance |
157 | - | ShockWave.Shape = "Ball" |
157 | + | fp.Transparency=transparency |
158 | - | ShockWave.BrickColor = BrickColor.new("Really red") |
158 | + | fp.CanCollide=false |
159 | - | ShockWave.Size = Vector3.new(1, 1, 1) |
159 | + | fp.Locked=true |
160 | - | ShockWave.TopSurface = "Smooth" |
160 | + | fp.BrickColor=brickcolor |
161 | - | ShockWave.BottomSurface = "Smooth" |
161 | + | fp.Name=name |
162 | - | ShockWave.CFrame = Torso.CFrame |
162 | + | fp.Size=size |
163 | - | ShockWaveMesh = Instance.new("SpecialMesh") |
163 | + | fp.Position=Torso.Position |
164 | - | ShockWaveMesh.Parent = ShockWave |
164 | + | NoOutline(fp) |
165 | - | ShockWaveMesh.MeshType = "Sphere" |
165 | + | fp.Material="Neon" |
166 | - | ShockWaveMesh.Scale = Vector3.new(1, 1, 1) |
166 | + | fp:BreakJoints() |
167 | - | game:getService("Debris"):AddItem(ShockWave, 2) |
167 | + | return fp |
168 | - | for i = 1 , 100 do |
168 | + | end |
169 | - | ShockWave.Size = ShockWave.Size + Vector3.new(1, 1, 1) |
169 | + | |
170 | - | ShockWave.Transparency = ShockWave.Transparency + 0.02 |
170 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
171 | - | ShockWave.CFrame = Torso.CFrame |
171 | + | local mesh=it(Mesh) |
172 | - | for u, c in pairs(workspace:GetChildren()) do |
172 | + | mesh.Parent=part |
173 | - | h = c:findFirstChild("Humanoid") |
173 | + | if Mesh=="SpecialMesh" then |
174 | - | t = c:findFirstChild("Torso") |
174 | + | mesh.MeshType=meshtype |
175 | - | if h ~= nil and t ~= nil then |
175 | + | if meshid~="nil" then |
176 | - | if (Torso.Position-t.Position).magnitude <= 20 then |
176 | + | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
177 | - | h.Health = h.Health + 12 |
177 | + | |
178 | end | |
179 | mesh.Offset=offset | |
180 | mesh.Scale=scale | |
181 | - | wait(0.01) |
181 | + | return mesh |
182 | end | |
183 | ||
184 | - | function Roar() |
184 | + | function weld(parent,part0,part1,c0) |
185 | - | for i = 1, 4 do |
185 | + | local weld=it("Weld") |
186 | - | MouthMesh.Scale = MouthMesh.Scale + Vector3.new(0,.2,0) |
186 | + | weld.Parent=parent |
187 | - | meld.C0 = meld.C0 + Vector3.new(0,.05,0) |
187 | + | weld.Part0=part0 |
188 | - | wait(.2) |
188 | + | weld.Part1=part1 |
189 | weld.C0=c0 | |
190 | - | Sound.SoundId = "http://www.roblox.com/asset/?id=24478553"--24478553,24483366 |
190 | + | return weld |
191 | - | Sound.Pitch = 1 |
191 | + | |
192 | - | for i = 1, 50 do |
192 | + | |
193 | - | Sound:play() |
193 | + | local Color1=Torso.BrickColor |
194 | - | Sound:play() |
194 | + | |
195 | - | Sound:play() |
195 | + | local bodvel=Instance.new("BodyVelocity") |
196 | - | Sound:play() |
196 | + | local bg=Instance.new("BodyGyro") |
197 | - | Sound:play() |
197 | + | |
198 | - | Sound:play() |
198 | + | function swait(num) |
199 | - | Sound:play() |
199 | + | if num==0 or num==nil then |
200 | - | Sound:play() |
200 | + | game:service'RunService'.Stepped:wait(0) |
201 | - | for u, c in pairs(workspace:GetChildren()) do |
201 | + | |
202 | - | if c.Name ~= Names then |
202 | + | for i=0,num do |
203 | - | h = c:findFirstChild("Humanoid") |
203 | + | game:service'RunService'.Stepped:wait(0) |
204 | - | t = c:findFirstChild("Torso") |
204 | + | |
205 | - | if h ~= nil and t ~= nil then |
205 | + | |
206 | - | if (Torso.Position-t.Position).magnitude <= 25000 then |
206 | + | |
207 | - | t.CFrame = t.CFrame * CFrame.Angles(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) |
207 | + | |
208 | - | h:TakeDamage(h.Health/1) |
208 | + | |
209 | so = function(id,par,vol,pit) | |
210 | coroutine.resume(coroutine.create(function() | |
211 | local sou = Instance.new("Sound",par or workspace) | |
212 | sou.Volume=vol | |
213 | sou.Pitch=pit or 1 | |
214 | sou.SoundId=id | |
215 | - | wait(2) |
215 | + | swait() |
216 | - | for i = 1, 4 do |
216 | + | sou:play() |
217 | - | MouthMesh.Scale = MouthMesh.Scale - Vector3.new(0,.2,0) |
217 | + | game:GetService("Debris"):AddItem(sou,6) |
218 | - | meld.C0 = meld.C0 - Vector3.new(0,.05,0) |
218 | + | end)) |
219 | - | wait(.2) |
219 | + | |
220 | ||
221 | function clerp(a,b,t) | |
222 | - | function Rocket() |
222 | + | local qa = {QuaternionFromCFrame(a)} |
223 | - | for i = 1, 10 do |
223 | + | local qb = {QuaternionFromCFrame(b)} |
224 | - | e1m.Scale = e1m.Scale + Vector3.new(.025,.025,.025) |
224 | + | local ax, ay, az = a.x, a.y, a.z |
225 | - | e2m.Scale = e2m.Scale + Vector3.new(.025,.025,.025) |
225 | + | local bx, by, bz = b.x, b.y, b.z |
226 | local _t = 1-t | |
227 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
228 | - | Eye1.BrickColor = BrickColor.new("Black") |
228 | + | end |
229 | - | Eye2.BrickColor = BrickColor.new("Black") |
229 | + | |
230 | - | RCKT = Eye1:Clone() |
230 | + | function QuaternionFromCFrame(cf) |
231 | - | RCKT.Parent = Character |
231 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
232 | - | RCKT.Size = Vector3.new(10,2,3) |
232 | + | local trace = m00 + m11 + m22 |
233 | - | RCKT.Anchored = false |
233 | + | if trace > 0 then |
234 | - | RCKT.Position = Head.Position |
234 | + | local s = math.sqrt(1 + trace) |
235 | - | RCKT.CFrame = RCKT.CFrame * CFrame.new(0, -2, 0) |
235 | + | local recip = 0.5/s |
236 | - | RVelocity = Instance.new("BodyVelocity") |
236 | + | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
237 | - | RVelocity.Parent = RCKT |
237 | + | else |
238 | - | RVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
238 | + | local i = 0 |
239 | - | RVelocity.velocity = RCKT.CFrame.lookVector * 30 |
239 | + | if m11 > m00 then |
240 | - | game:getService("Debris"):AddItem(RCKT, 5) |
240 | + | i = 1 |
241 | - | function damage(hit) |
241 | + | |
242 | - | local hum = hit.Parent:FindFirstChild("Humanoid") |
242 | + | if m22 > (i == 0 and m00 or m11) then |
243 | - | if hum ~= nil then |
243 | + | i = 2 |
244 | - | hum.Health = hum.Health - 101 |
244 | + | end |
245 | if i == 0 then | |
246 | local s = math.sqrt(m00-m11-m22+1) | |
247 | - | RCKT.Touched:connect(damage) |
247 | + | local recip = 0.5/s |
248 | - | wait(1) |
248 | + | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
249 | - | for i = 1, 10 do |
249 | + | elseif i == 1 then |
250 | - | e1m.Scale = e1m.Scale - Vector3.new(.025,.025,.025) |
250 | + | local s = math.sqrt(m11-m22-m00+1) |
251 | - | e2m.Scale = e2m.Scale - Vector3.new(.025,.025,.025) |
251 | + | local recip = 0.5/s |
252 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
253 | elseif i == 2 then | |
254 | - | Eye1.BrickColor = BrickColor.new("Really red") |
254 | + | local s = math.sqrt(m22-m00-m11+1) |
255 | - | Eye2.BrickColor = BrickColor.new("Really red") |
255 | + | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
256 | end | |
257 | - | function EyeLaser() |
257 | + | end |
258 | - | Character.Humanoid.WalkSpeed = 0 |
258 | + | |
259 | - | local bea = Instance.new("Model") |
259 | + | |
260 | - | bea.Parent = Character |
260 | + | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
261 | - | for i = 1, 10 do |
261 | + | local xs, ys, zs = x + x, y + y, z + z |
262 | local wx, wy, wz = w*xs, w*ys, w*zs | |
263 | - | transnumb = 0.09*i |
263 | + | local xx = x*xs |
264 | - | pab1 = Eye1:Clone() |
264 | + | local xy = x*ys |
265 | - | pab1.Size = Vector3.new(2,2,4) |
265 | + | local xz = x*zs |
266 | - | pab1.Parent = bea |
266 | + | local yy = y*ys |
267 | - | pab1.Transparency = 0.9-transnumb |
267 | + | local yz = y*zs |
268 | - | pab1.Touched:connect( |
268 | + | local zz = z*zs |
269 | - | function(h) |
269 | + | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
270 | - | if h.Name ~= "Base" and h.Parent ~= Character then else return end |
270 | + | |
271 | - | h.BrickColor = BrickColor.new("Really red") |
271 | + | |
272 | - | h.Transparency = pab1.Transparency |
272 | + | function QuaternionSlerp(a, b, t) |
273 | - | game:getService("Debris"):AddItem(h, 0.6) |
273 | + | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
274 | local startInterp, finishInterp; | |
275 | - | pab1:BreakJoints() |
275 | + | if cosTheta >= 0.0001 then |
276 | - | pab2 = Eye2:Clone() |
276 | + | if (1 - cosTheta) > 0.0001 then |
277 | - | pab2.Size = Vector3.new(2,2,4) |
277 | + | local theta = math.acos(cosTheta) |
278 | - | pab2.Parent = bea |
278 | + | local invSinTheta = 1/math.sin(theta) |
279 | - | pab2.Transparency = 0.9-transnumb |
279 | + | startInterp = math.sin((1-t)*theta)*invSinTheta |
280 | - | pab2.Touched:connect( |
280 | + | finishInterp = math.sin(t*theta)*invSinTheta |
281 | - | function(h) |
281 | + | else |
282 | - | if h.Name ~= "Base" and h.Parent ~= Character then else return end |
282 | + | startInterp = 1-t |
283 | - | h.BrickColor = BrickColor.new("Really red") |
283 | + | finishInterp = t |
284 | - | h.Transparency = pab2.Transparency |
284 | + | end |
285 | - | game:getService("Debris"):AddItem(h, 0.6) |
285 | + | else |
286 | if (1+cosTheta) > 0.0001 then | |
287 | - | pab2:BreakJoints() |
287 | + | local theta = math.acos(-cosTheta) |
288 | - | weld = Instance.new("Weld") |
288 | + | local invSinTheta = 1/math.sin(theta) |
289 | - | weld.Parent = bea |
289 | + | startInterp = math.sin((t-1)*theta)*invSinTheta |
290 | - | weld.Part0 = Eye1 |
290 | + | finishInterp = math.sin(t*theta)*invSinTheta |
291 | - | weld.Part1 = pab1 |
291 | + | else |
292 | - | weld.C0 = CFrame.new(0,0,-1*i) |
292 | + | startInterp = t-1 |
293 | - | weld = Instance.new("Weld") |
293 | + | finishInterp = t |
294 | - | weld.Parent = bea |
294 | + | end |
295 | - | weld.Part0 = Eye2 |
295 | + | end |
296 | - | weld.Part1 = pab2 |
296 | + | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
297 | - | weld.C0 = CFrame.new(0,0,-1*i) |
297 | + | |
298 | ||
299 | - | for i = 1, 50 do |
299 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
300 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
301 | - | lol = bea:GetChildren() |
301 | + | end |
302 | - | for i = 1, #lol do |
302 | + | |
303 | - | if lol[i].className == "Weld" then |
303 | + | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) |
304 | - | lol[i].C0 = lol[i].C0 * CFrame.new(0,0,-1) |
304 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
305 | prt.Anchored=true | |
306 | prt.CFrame=cframe | |
307 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
308 | - | game:getService("Debris"):AddItem(bea, 0.01) |
308 | + | --http://www.roblox.com/asset/?id=4770560 |
309 | - | Character.Humanoid.WalkSpeed = 16 |
309 | + | game:GetService("Debris"):AddItem(prt,2) |
310 | CF=prt.CFrame | |
311 | - | function Suicide() |
311 | + | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) |
312 | - | ef2 = Instance.new("BodyVelocity") |
312 | + | for i=0,1,0.2 do |
313 | - | ef2.Parent = Torso |
313 | + | |
314 | - | ef2.maxForce = Vector3.new(0,math.huge,0) |
314 | + | Part.CFrame=CF*cf(0,0,-0.4) |
315 | - | ef2.velocity = Vector3.new(0, 50, 0) |
315 | + | |
316 | - | Character.Humanoid.PlatformStand = true |
316 | + | for i=0,1,delay do |
317 | - | fu = Instance.new("Fire") |
317 | + | |
318 | - | fu.Parent = Torso |
318 | + | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) |
319 | - | fu.Size = 10 |
319 | + | Mesh.Scale=Mesh.Scale |
320 | - | fu.Heat = -15 |
320 | + | |
321 | - | wait(1) |
321 | + | for i=0,1,0.1 do |
322 | - | Sound.SoundId = "http://www.roblox.com/asset/?id=2101148" |
322 | + | |
323 | - | Sound.Pitch = 1 |
323 | + | Part.Transparency=i |
324 | - | for i = 1, 3 do |
324 | + | |
325 | - | e = Instance.new("Explosion") |
325 | + | Part.Parent=nil |
326 | - | e.Parent = Workspace |
326 | + | end),prt,msh,CF) |
327 | - | e.Position = Torso.Position |
327 | + | |
328 | - | e.BlastRadius = 30 |
328 | + | |
329 | - | e.BlastPressure = 10000 |
329 | + | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
330 | - | Sound:play() |
330 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
331 | - | wait(.2) |
331 | + | prt.Anchored=true |
332 | - | e = Instance.new("Explosion") |
332 | + | prt.CFrame=cframe |
333 | - | e.Parent = Workspace |
333 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
334 | - | e.Position = Head.Position |
334 | + | game:GetService("Debris"):AddItem(prt,5) |
335 | - | e.BlastRadius = 30 |
335 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
336 | - | e.BlastPressure = 1000 |
336 | + | for i=0,1,delay do |
337 | - | Sound:play() |
337 | + | |
338 | - | wait(.2) |
338 | + | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
339 | - | e = Instance.new("Explosion") |
339 | + | Part.Transparency=i |
340 | - | e.Parent = Workspace |
340 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
341 | - | e.Position = RightArm.Position |
341 | + | |
342 | - | e.BlastRadius = 30 |
342 | + | Part.Parent=nil |
343 | - | e.BlastPressure = 1000 |
343 | + | end),prt,msh) |
344 | - | Sound:play() |
344 | + | |
345 | - | wait(.2) |
345 | + | |
346 | - | e = Instance.new("Explosion") |
346 | + | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
347 | - | e.Parent = Workspace |
347 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
348 | - | e.Position = LeftArm.Position |
348 | + | prt.Anchored=false |
349 | - | e.BlastRadius = 30 |
349 | + | prt.CFrame=cframe |
350 | - | e.BlastPressure = 1000 |
350 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
351 | - | Sound:play() |
351 | + | local wld=weld(prt,prt,Parent,cframe) |
352 | - | wait(.2) |
352 | + | game:GetService("Debris"):AddItem(prt,5) |
353 | - | e = Instance.new("Explosion") |
353 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
354 | - | e.Parent = Workspace |
354 | + | for i=0,1,delay do |
355 | - | e.Position = LeftLeg.Position |
355 | + | |
356 | - | e.BlastRadius = 30 |
356 | + | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
357 | - | e.BlastPressure = 1000 |
357 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
358 | - | Sound:play() |
358 | + | Part.Transparency=i |
359 | - | wait(.2) |
359 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
360 | - | e = Instance.new("Explosion") |
360 | + | |
361 | - | e.Parent = Workspace |
361 | + | Part.Parent=nil |
362 | - | e.Position = RightLeg.Position |
362 | + | end),prt,msh,wld) |
363 | - | e.BlastRadius = 1000 |
363 | + | |
364 | - | e.BlastPressure = 1000 |
364 | + | |
365 | - | Sound:play() |
365 | + | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
366 | - | wait(.2) |
366 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
367 | prt.Anchored=false | |
368 | prt.CFrame=cframe | |
369 | - | function Jump() |
369 | + | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
370 | - | Character.Humanoid.PlatformStand = true |
370 | + | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
371 | - | Torso.Velocity = Torso.CFrame.lookVector * 150 + Vector3.new(0, 130, 0) |
371 | + | game:GetService("Debris"):AddItem(prt,5) |
372 | - | for i = 1 , 20 do |
372 | + | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
373 | - | Torso.CFrame = Torso.CFrame * CFrame.Angles(-0.5, 0, 0) |
373 | + | for i=0,1,delay do |
374 | wait() | |
375 | Weld.C0=euler(i*20,0,0) | |
376 | - | Character.Humanoid.PlatformStand = false |
376 | + | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
377 | - | Gyro = Instance.new("BodyGyro") |
377 | + | Part.Transparency=i |
378 | - | Gyro.Parent = Torso |
378 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
379 | - | Gyro.cframe = CFrame.new(0, 0, 0) * CFrame.aAngles(0, 0, 0) |
379 | + | |
380 | - | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
380 | + | Part.Parent=nil |
381 | - | wait(0.1) |
381 | + | end),prt,msh,wld) |
382 | - | Gyro:Remove() |
382 | + | |
383 | ||
384 | - | function Shield() |
384 | + | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
385 | - | Character.Humanoid.PlatformStand = true |
385 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
386 | - | s = Instance.new("Part") |
386 | + | prt.Anchored=true |
387 | - | s.Parent = Character |
387 | + | prt.CFrame=cframe |
388 | - | s.Size = Vector3.new(8,8,8) |
388 | + | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
389 | - | s.Shape = "Ball" |
389 | + | game:GetService("Debris"):AddItem(prt,2) |
390 | - | s.TopSurface = "Smooth" |
390 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
391 | - | s.BottomSurface = "Smooth" |
391 | + | for i=0,1,delay do |
392 | - | s.Transparency = .5 |
392 | + | |
393 | - | s.Position = Torso.Position |
393 | + | Part.CFrame=Part.CFrame |
394 | - | s.BrickColor = BrickColor.new("Royal purple") |
394 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
395 | - | sweld = Instance.new("Weld") |
395 | + | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
396 | - | sweld.Parent = Torso |
396 | + | prt2.Anchored=true |
397 | - | sweld.Part0 = Torso |
397 | + | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
398 | - | sweld.Part1 = s |
398 | + | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) |
399 | - | sweld.C0 = CFrame.new(0,0,0) |
399 | + | game:GetService("Debris"):AddItem(prt2,2) |
400 | - | game:getService("Debris"):AddItem(s, 13) |
400 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
401 | - | wait(10) |
401 | + | for i=0,1,0.1 do |
402 | - | for i = 1, 10 do |
402 | + | |
403 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
404 | - | s.Transparency = s.Transparency + .05 |
404 | + | |
405 | Part.Parent=nil | |
406 | - | Character.Humanoid.PlatformStand = false |
406 | + | end),prt2,msh2) |
407 | - | s:remove() |
407 | + | |
408 | for i=0,1,delay*2 do | |
409 | - | function GroundPound() |
409 | + | |
410 | - | ef2 = Instance.new("BodyVelocity") |
410 | + | Part.CFrame=Part.CFrame |
411 | - | ef2.Parent = Torso |
411 | + | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
412 | - | ef2.maxForce = Vector3.new(0,math.huge,0) |
412 | + | |
413 | - | ef2.velocity = Vector3.new(0, 100, 0) |
413 | + | Part.Parent=nil |
414 | - | --Character.Humanoid.PlatformStand = true |
414 | + | end),prt,msh) |
415 | - | wait(3) |
415 | + | |
416 | - | Torso.CFrame = Torso.CFrame*CFrame.Angles(3.14,0,0) |
416 | + | |
417 | - | ef2.velocity = Vector3.new(0, -100, 0) |
417 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
418 | - | wait(1) |
418 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
419 | - | ef2.velocity = Vector3.new(0, -150, 0) |
419 | + | prt.Anchored=true |
420 | - | fu = Instance.new("Fire") |
420 | + | prt.CFrame=cframe |
421 | - | fu.Parent = Torso |
421 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
422 | - | fu.Size = 10 |
422 | + | game:GetService("Debris"):AddItem(prt,2) |
423 | - | fu.Heat = 15 |
423 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
424 | - | wait(1.3) |
424 | + | for i=0,1,delay do |
425 | - | Range = 10000 |
425 | + | |
426 | - | for i = 1 , 5 do |
426 | + | Part.CFrame=Part.CFrame |
427 | - | Range = Range + 15 |
427 | + | Part.Transparency=i |
428 | - | Character.Humanoid.WalkSpeed = 0 |
428 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
429 | - | Boom = Instance.new("Explosion") |
429 | + | |
430 | - | Boom.Parent = Workspace |
430 | + | Part.Parent=nil |
431 | - | Boom.BlastRadius = Range/2 |
431 | + | end),prt,msh) |
432 | - | Boom.Position = Torso.Position+Vector3.new(Range, 0, 0) |
432 | + | |
433 | - | Boom = Instance.new("Explosion") |
433 | + | |
434 | - | Boom.Parent = Workspace |
434 | + | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) |
435 | - | Boom.BlastRadius = Range/2 |
435 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
436 | - | Boom.Position = Torso.Position+Vector3.new(-Range, 0, 0) |
436 | + | prt.Anchored=true |
437 | - | Boom = Instance.new("Explosion") |
437 | + | prt.CFrame=cframe*euler(x2,y2,z2) |
438 | - | Boom.Parent = Workspace |
438 | + | --"http://www.roblox.com/asset/?id=168892465" |
439 | - | Boom.BlastRadius = Range/2 |
439 | + | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) |
440 | - | Boom.Position = Torso.Position+Vector3.new(0, 0, Range) |
440 | + | game:GetService("Debris"):AddItem(prt,2) |
441 | - | Boom = Instance.new("Explosion") |
441 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
442 | - | Boom.Parent = Workspace |
442 | + | for i=0,1,0.03 do |
443 | - | Boom.BlastRadius = Range/2 |
443 | + | |
444 | - | Boom.Position = Torso.Position+Vector3.new(0, 0, -Range) |
444 | + | Part.CFrame=Part.CFrame |
445 | - | Boom = Instance.new("Explosion") |
445 | + | Part.Transparency=i |
446 | - | Boom.Parent = Workspace |
446 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
447 | - | Boom.BlastRadius = Range/2 |
447 | + | |
448 | - | Boom.Position = Torso.Position+Vector3.new(Range, 0, Range) |
448 | + | Part.Parent=nil |
449 | - | Boom = Instance.new("Explosion") |
449 | + | end),prt,msh) |
450 | - | Boom.Parent = Workspace |
450 | + | |
451 | - | Boom.BlastRadius = Range/2 |
451 | + | |
452 | - | Boom.Position = Torso.Position+Vector3.new(-Range, 0, Range) |
452 | + | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
453 | - | Boom = Instance.new("Explosion") |
453 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
454 | - | Boom.Parent = Workspace |
454 | + | prt.Anchored=true |
455 | - | Boom.BlastRadius = Range/2 |
455 | + | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
456 | - | Boom.Position = Torso.Position+Vector3.new(Range, 0, -Range) |
456 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
457 | - | Boom = Instance.new("Explosion") |
457 | + | game:GetService("Debris"):AddItem(prt,2) |
458 | - | Boom.Parent = Workspace |
458 | + | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
459 | - | Boom.BlastRadius = Range/2 |
459 | + | CF=Part.CFrame |
460 | - | Boom.Position = Torso.Position+Vector3.new(-Range, 0, -Range) |
460 | + | Numbb=0 |
461 | - | wait(0.05) |
461 | + | randnumb=math.random()/10 |
462 | rand1=math.random()/10 | |
463 | - | ef2:remove() |
463 | + | for i=0,1,rand1 do |
464 | - | fu:remove() |
464 | + | |
465 | - | Character.Humanoid.PlatformStand = false |
465 | + | CF=CF*cf(0,math.random()/2,0) |
466 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
467 | - | function Eyez() |
467 | + | Part.CFrame=CF*euler(Numbb,0,0) |
468 | - | for i = 1, 5 do |
468 | + | Part.Transparency=i |
469 | - | e1m.Scale = e1m.Scale + Vector3.new(0,0,.1) |
469 | + | Numbb=Numbb+randnumb |
470 | - | e2m.Scale = e2m.Scale + Vector3.new(0,0,.1) |
470 | + | |
471 | Part.Parent=nil | |
472 | end),prt,CF,Numbb,randnumb) | |
473 | end | |
474 | - | for i = 1, 5 do |
474 | + | |
475 | - | e1m.Scale = e1m.Scale - Vector3.new(0,0,.1) |
475 | + | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
476 | - | e2m.Scale = e2m.Scale - Vector3.new(0,0,.1) |
476 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
477 | prt.Anchored=true | |
478 | prt.CFrame=cframe | |
479 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
480 | - | function FootBlox() |
480 | + | game:GetService("Debris"):AddItem(prt,5) |
481 | - | for u, c in pairs(workspace:GetChildren()) do |
481 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
482 | - | h = c:findFirstChild("Humanoid") |
482 | + | for i=0,1,delay do |
483 | - | t = c:findFirstChild("Torso") |
483 | + | |
484 | - | if h ~= nil and t ~= nil and c.Name ~= Character.Name then |
484 | + | Part.CFrame=Part.CFrame*euler(0,0.7,0) |
485 | - | if h.Health > 0 then |
485 | + | Part.Transparency=i |
486 | - | if (Torso.Position-t.Position).magnitude <= 25000 then |
486 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
487 | - | Gyro = Instance.new("BodyGyro") |
487 | + | |
488 | - | Gyro.Parent = Torso |
488 | + | Part.Parent=nil |
489 | - | Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge) |
489 | + | end),prt,msh) |
490 | - | Gyro.cframe = Torso.CFrame |
490 | + | |
491 | - | PwnWelds() |
491 | + | |
492 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.4) |
492 | + | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
493 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.4) |
493 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
494 | - | wait(0.1) |
494 | + | prt.Anchored=true |
495 | - | t.CFrame = Torso.CFrame |
495 | + | prt.CFrame=cframe |
496 | - | h.PlatformStand = true |
496 | + | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) |
497 | - | ww = Instance.new("Weld") |
497 | + | game:GetService("Debris"):AddItem(prt,2) |
498 | - | ww.Part0 =Torso |
498 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
499 | - | ww.Part1 = t |
499 | + | for i=0,1,delay do |
500 | - | ww.Parent = Torso |
500 | + | |
501 | - | ww.C0 = CFrame.new(0, 0, -2) |
501 | + | Part.CFrame=Part.CFrame*cf(0,y3/2,0) |
502 | - | h:TakeDamage(2) |
502 | + | Part.Transparency=i |
503 | - | wait(1) |
503 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
504 | - | PwnWelds() |
504 | + | |
505 | - | h:TakeDamage(5) |
505 | + | Part.Parent=nil |
506 | - | wait(0.05) |
506 | + | end),prt,msh) |
507 | - | LA = c["Left Arm"] |
507 | + | |
508 | - | LL = c["Left Leg"] |
508 | + | |
509 | - | RA = c["Right Arm"] |
509 | + | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) |
510 | - | RL = c["Right Leg"] |
510 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
511 | - | w = Instance.new("Weld") |
511 | + | prt.Anchored=true |
512 | - | w.Part0 = c["Right Leg"] |
512 | + | prt.CFrame=cframe*cf(x,y,z) |
513 | - | w.Part1 = t |
513 | + | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) |
514 | - | w.Parent = c["Right Leg"] |
514 | + | game:GetService("Debris"):AddItem(prt,5) |
515 | - | w.C0 = CFrame.new(.5, 0, .5) |
515 | + | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
516 | - | w = Instance.new("Weld") |
516 | + | local num=math.random() |
517 | - | w.Part0 = c["Left Leg"] |
517 | + | local num2=math.random(-3,2)+math.random() |
518 | - | w.Part1 = t |
518 | + | local numm=0 |
519 | - | w.Parent = c["Left Leg"] |
519 | + | for i=0,1,delay*2 do |
520 | - | w.C0 = CFrame.new(-.5, 0, .5) |
520 | + | swait() |
521 | - | w = Instance.new("Weld") |
521 | + | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
522 | - | w.Part0 = c["Left Arm"] |
522 | + | Part.Transparency=i |
523 | - | w.Part1 = t |
523 | + | numm=numm+0.01 |
524 | - | w.Parent = c["Left Arm"] |
524 | + | |
525 | - | w.C0 = CFrame.new(-.5, 0, -.5) |
525 | + | Part.Parent=nil |
526 | - | w = Instance.new("Weld") |
526 | + | Mesh.Parent=nil |
527 | - | w.Part0 = c["Right Arm"] |
527 | + | end),prt,msh,x,y,z) |
528 | - | w.Part1 = t |
528 | + | |
529 | - | w.Parent = c["Right Arm"] |
529 | + | |
530 | - | w.C0 = CFrame.new(.5, 0, -.5) |
530 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
531 | - | w = Instance.new("Weld") |
531 | + | if hit.Parent==nil then |
532 | - | w.Part0 = c.Head |
532 | + | return |
533 | - | w.Part1 = t |
533 | + | end |
534 | - | w.Parent = c.Head |
534 | + | h=hit.Parent:FindFirstChild("Humanoid") |
535 | - | w.C0 = CFrame.new(0, -1, 0) |
535 | + | for _,v in pairs(hit.Parent:children()) do |
536 | - | wait(0.2) |
536 | + | if v:IsA("Humanoid") then |
537 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.3) |
537 | + | h=v |
538 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.3) |
538 | + | end |
539 | - | wait(0.15) |
539 | + | end |
540 | - | PwnWelds() |
540 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
541 | - | h:TakeDamage(5) |
541 | + | h=hit.Parent.Parent:FindFirstChild("Humanoid") |
542 | - | wait(0.1) |
542 | + | end |
543 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.4) |
543 | + | if hit.Parent.className=="Hat" then |
544 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.4) |
544 | + | hit=hit.Parent.Parent:findFirstChild("Head") |
545 | - | wait(1.5) |
545 | + | end |
546 | - | for i = 1 , 6 do |
546 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
547 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i) |
547 | + | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end |
548 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i) |
548 | + | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then |
549 | - | RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i) |
549 | + | return |
550 | - | LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i) |
550 | + | end]] |
551 | -- hs(hit,1.2) | |
552 | c=Instance.new("ObjectValue") | |
553 | - | h:TakeDamage(20) |
553 | + | c.Name="creator" |
554 | - | ww:Remove() |
554 | + | c.Value=game:service("Players").LocalPlayer |
555 | - | t.Velocity = Torso.CFrame.lookVector * 500 + Vector3.new(0, 50, 0) |
555 | + | c.Parent=h |
556 | - | wait(0.3) |
556 | + | game:GetService("Debris"):AddItem(c,.5) |
557 | - | for i = 1 , 6 do |
557 | + | Damage=math.random(minim,maxim) |
558 | - | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.15) |
558 | + | -- h:TakeDamage(Damage) |
559 | - | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15) |
559 | + | blocked=false |
560 | - | RightHip.C0 = RightHip.C0 * CFrame.Angles(0, 0, -0.31) |
560 | + | block=hit.Parent:findFirstChild("Block") |
561 | - | LeftHip.C0 = LeftHip.C0 * CFrame.Angles(0, 0, -0.035) |
561 | + | if block~=nil then |
562 | print(block.className) | |
563 | if block.className=="NumberValue" then | |
564 | - | Gyro:Remove() |
564 | + | if block.Value>0 then |
565 | - | RefreshWelds() |
565 | + | blocked=true |
566 | if decreaseblock==nil then | |
567 | block.Value=block.Value-1 | |
568 | end | |
569 | end | |
570 | end | |
571 | - | function HeadAche() |
571 | + | if block.className=="IntValue" then |
572 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14) |
572 | + | if block.Value>0 then |
573 | - | wait(0.4) |
573 | + | blocked=true |
574 | - | Character.Head.Mesh.Scale = Vector3.new(0,0,0) |
574 | + | if decreaseblock~=nil then |
575 | - | Character.Head.Transparency = 1 |
575 | + | block.Value=block.Value-1 |
576 | - | Mouth.Transparency = 1 |
576 | + | end |
577 | - | Eye1.Transparency = 1 |
577 | + | end |
578 | - | Eye2.Transparency = 1 |
578 | + | end |
579 | - | Mod = Instance.new("Model",workspace) |
579 | + | end |
580 | - | Mod.Name = Names |
580 | + | if blocked==false then |
581 | - | HeadPart = Instance.new("Part") |
581 | + | -- h:TakeDamage(Damage) |
582 | - | HeadPart.Parent = Mod |
582 | + | h.Health=h.Health-Damage |
583 | - | HeadPart.CanCollide = false |
583 | + | showDamage(hit.Parent,Damage,.5,TorsoColor) |
584 | - | HeadPart.Size = Vector3.new(1,1,1) |
584 | + | else |
585 | - | HeadPart.BrickColor = Character.Head.BrickColor |
585 | + | h.Health=h.Health-(Damage/2) |
586 | - | HeadPart.Reflectance = Character.Head.Reflectance |
586 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) |
587 | - | HeadPart.formFactor = "Symmetric" |
587 | + | end |
588 | - | HeadPart.Position = RightArm.Position |
588 | + | if Type=="Knockdown" then |
589 | - | HeadPart.Name = "Head" |
589 | + | hum=hit.Parent.Humanoid |
590 | - | Human = Instance.new("Humanoid") |
590 | + | hum.PlatformStand=true |
591 | - | Human.Parent = Mod |
591 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
592 | - | Human.Health = 0 |
592 | + | swait(1) |
593 | - | HPMesh = Instance.new("SpecialMesh") |
593 | + | HHumanoid.PlatformStand=false |
594 | - | HPMesh.MeshType = "Head" |
594 | + | end),hum) |
595 | - | HPMesh.Parent = HeadPart |
595 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
596 | - | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) |
596 | + | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
597 | - | w = Instance.new("Weld") |
597 | + | local bodvol=Instance.new("BodyVelocity") |
598 | - | w.Parent = RightArm |
598 | + | bodvol.velocity=angle*knockback |
599 | - | w.Part0 = RightArm |
599 | + | bodvol.P=5000 |
600 | - | w.Part1 = HeadPart |
600 | + | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
601 | - | w.C0 = CFrame.new(0, -1.3, 0) |
601 | + | bodvol.Parent=hit |
602 | - | wait(0.7) |
602 | + | rl=Instance.new("BodyAngularVelocity") |
603 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -2) |
603 | + | rl.P=3000 |
604 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1) |
604 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
605 | - | wait(0.5) |
605 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
606 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.6) |
606 | + | rl.Parent=hit |
607 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 1.2) |
607 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
608 | game:GetService("Debris"):AddItem(rl,.5) | |
609 | - | w:Remove() |
609 | + | elseif Type=="Normal" then |
610 | - | function damage(hit) |
610 | + | vp=Instance.new("BodyVelocity") |
611 | - | hum = hit.Parent:FindFirstChild("Humanoid") |
611 | + | vp.P=500 |
612 | - | if hit.Parent ~= Character then |
612 | + | vp.maxForce=Vector3.new(math.huge,0,math.huge) |
613 | - | if hum ~= nil then |
613 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
614 | - | Velocity:Remove() |
614 | + | if KnockbackType==1 then |
615 | - | Gyro:Remove() |
615 | + | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
616 | - | hum.PlatformStand = true |
616 | + | elseif KnockbackType==2 then |
617 | - | hum.Health = hum.Health - 6 |
617 | + | vp.velocity=Property.CFrame.lookVector*knockback |
618 | - | hum.Parent.Torso.CFrame = hum.Parent.Torso.CFrame * CFrame.Angles(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) |
618 | + | end |
619 | - | HeadPart.Size = Vector3.new(1,1,1) |
619 | + | if knockback>0 then |
620 | - | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) |
620 | + | vp.Parent=hit.Parent.Torso |
621 | - | HeadPart.CanCollide = true |
621 | + | end |
622 | game:GetService("Debris"):AddItem(vp,.5) | |
623 | elseif Type=="Up" then | |
624 | local bodyVelocity=Instance.new("BodyVelocity") | |
625 | - | HeadPart.Touched:connect(damage) |
625 | + | bodyVelocity.velocity=vt(0,10,0) |
626 | - | Gyro = Instance.new("BodyGyro") |
626 | + | bodyVelocity.P=1000 |
627 | - | Gyro.Parent = HeadPart |
627 | + | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) |
628 | - | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
628 | + | bodyVelocity.Parent=hit |
629 | - | Gyro.cframe = Character.Torso.CFrame * CFrame.Angles(0, 0, 1.57) |
629 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
630 | - | Gyro.D = 50 |
630 | + | rl=Instance.new("BodyAngularVelocity") |
631 | - | Velocity = Instance.new("BodyVelocity") |
631 | + | rl.P=3000 |
632 | - | Velocity.Parent = HeadPart |
632 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
633 | - | Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
633 | + | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) |
634 | - | Velocity.velocity = Character.Torso.CFrame.lookVector * 75 |
634 | + | rl.Parent=hit |
635 | - | -- Torso.CFrame = Torso.CFrame * CFrame.Angles(2, 0, 0) |
635 | + | game:GetService("Debris"):AddItem(rl,.5) |
636 | - | wait(0.5) |
636 | + | elseif Type=="Snare" then |
637 | - | HeadPart.Size = Vector3.new(4,4,4) |
637 | + | bp=Instance.new("BodyPosition") |
638 | - | HPMesh.Scale = Vector3.new(.3125,.3125,.3125) |
638 | + | bp.P=2000 |
639 | - | -- Character.Humanoid.PlatformStand = true |
639 | + | bp.D=100 |
640 | - | RefreshWelds() |
640 | + | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
641 | - | wait(.25) |
641 | + | bp.position=hit.Parent.Torso.Position |
642 | - | HeadPart.CanCollide = true |
642 | + | bp.Parent=hit.Parent.Torso |
643 | - | for i = 1 , 10 do |
643 | + | game:GetService("Debris"):AddItem(bp,1) |
644 | - | Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 1, 1) |
644 | + | elseif Type=="Target" then |
645 | - | wait(0.0625) |
645 | + | if Targetting==false then |
646 | ZTarget=hit.Parent.Torso | |
647 | - | wait(.5) |
647 | + | coroutine.resume(coroutine.create(function(Part) |
648 | - | if Velocity ~= nil then |
648 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
649 | - | Velocity:Remove() |
649 | + | swait(5) |
650 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
651 | - | wait(0.1) |
651 | + | end),ZTarget) |
652 | - | Character.Head.Mesh.Scale = Vector3.new(0,0,0) |
652 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
653 | - | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) |
653 | + | targetgui=Instance.new("BillboardGui") |
654 | - | HeadPart.Size = Vector3.new(1,1,1) |
654 | + | targetgui.Parent=ZTarget |
655 | - | HeadPart.CanCollide = true |
655 | + | targetgui.Size=UDim2.new(10,100,10,100) |
656 | - | if Gyro ~= nil then |
656 | + | targ=Instance.new("ImageLabel") |
657 | - | Gyro:Remove() |
657 | + | targ.Parent=targetgui |
658 | targ.BackgroundTransparency=1 | |
659 | - | wait(1) |
659 | + | targ.Image="rbxassetid://4834067" |
660 | - | Mod:remove() |
660 | + | targ.Size=UDim2.new(1,0,1,0) |
661 | - | Character.Head.Transparency = 0 |
661 | + | cam.CameraType="Scriptable" |
662 | - | Character.Head.Mesh.Scale = Vector3.new(0,0,0) |
662 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
663 | - | for i = 1, 10 do |
663 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
664 | - | Character.Head.Mesh.Scale = Character.Head.Mesh.Scale + Vector3.new(.125,.125,.125) |
664 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
665 | - | wait(.05) |
665 | + | Targetting=true |
666 | RocketTarget=ZTarget | |
667 | - | Mouth.Transparency = 0 |
667 | + | for i=1,Property do |
668 | - | Eye1.Transparency = 0 |
668 | + | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do |
669 | - | Eye2.Transparency = 0 |
669 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
670 | - | wait(0.1) |
670 | + | swait() |
671 | - | --Character.Humanoid.PlatformStand = false |
671 | + | end |
672 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
673 | - | function PrimaryLotus() |
673 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
674 | - | Gyro = Instance.new("BodyGyro") |
674 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
675 | - | Gyro.Parent = Torso |
675 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
676 | - | Gyro.maxTorque = Vector3.new(0, 0, 0) |
676 | + | end |
677 | - | Gyro.cframe = Torso.CFrame |
677 | + | Targetting=false |
678 | - | for i = 1 , 6 do |
678 | + | RocketTarget=nil |
679 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i) |
679 | + | targetgui.Parent=nil |
680 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i) |
680 | + | cam.CameraType="Custom" |
681 | - | RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i) |
681 | + | end |
682 | - | LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i) |
682 | + | end |
683 | debounce=Instance.new("BoolValue") | |
684 | debounce.Name="DebounceHit" | |
685 | - | for i, v in pairs(workspace:GetChildren()) do |
685 | + | debounce.Parent=hit.Parent |
686 | - | eTorso = v:findFirstChild("Torso") |
686 | + | debounce.Value=true |
687 | - | eHumanoid = v:findFirstChild("Humanoid") |
687 | + | game:GetService("Debris"):AddItem(debounce,Delay) |
688 | - | if eTorso ~= nil and eHumanoid ~= nil and v.Name ~= Character.Name then |
688 | + | c=Instance.new("ObjectValue") |
689 | - | if (Torso.Position-eTorso.Position).magnitude <= 6 then |
689 | + | c.Name="creator" |
690 | - | RefreshWelds() |
690 | + | c.Value=Player |
691 | - | eHumanoid.PlatformStand = true |
691 | + | c.Parent=h |
692 | - | Humanoid.PlatformStand = true |
692 | + | game:GetService("Debris"):AddItem(c,.5) |
693 | - | Torso.CFrame = eTorso.CFrame * CFrame.new(0, 5, -1.5) |
693 | + | CRIT=false |
694 | - | TorsoWeld = Instance.new("Weld") |
694 | + | hitDeb=true |
695 | - | TorsoWeld.Parent = Torso |
695 | + | AttackPos=6 |
696 | - | TorsoWeld.Part0 = Torso |
696 | + | end |
697 | - | TorsoWeld.Part1 = eTorso |
697 | + | |
698 | - | TorsoWeld.C0 = CFrame.new(0, 0, -1.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) |
698 | + | |
699 | - | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
699 | + | showDamage=function(Char,Dealt,du,Color) |
700 | - | Gyro.cframe = CFrame.fromEulerAnglesXYZ(0, 0, 0) |
700 | + | m=Instance.new("Model") |
701 | - | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.5) |
701 | + | m.Name=tostring(Dealt) |
702 | - | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.5) |
702 | + | h=Instance.new("Humanoid") |
703 | - | handle21 = Instance.new("Part") |
703 | + | h.Health=0 |
704 | - | handle21.Parent = Character |
704 | + | h.MaxHealth=0 |
705 | - | handle21.TopSurface = "Smooth" |
705 | + | h.Parent=m |
706 | - | handle21.BottomSurface = "Smooth" |
706 | + | c=Instance.new("Part") |
707 | - | handle21.Size = Vector3.new(1, 1, 1) |
707 | + | c.Transparency=0 |
708 | - | handle21.CFrame = Torso.CFrame |
708 | + | c.BrickColor=TorsoColor |
709 | - | weld2 = Instance.new("Weld") |
709 | + | c.Name="Head" |
710 | - | weld2.Part0 = eTorso |
710 | + | c.TopSurface=0 |
711 | - | weld2.Part1 = handle21 |
711 | + | c.BottomSurface=0 |
712 | - | weld2.Parent = eTorso |
712 | + | c.formFactor="Plate" |
713 | - | weld2.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(3.14, 0, 0) |
713 | + | c.Size=Vector3.new(1,.4,1) |
714 | - | p2 = Instance.new("SpecialMesh") |
714 | + | ms=Instance.new("CylinderMesh") |
715 | - | p2.Parent = handle21 |
715 | + | ms.Scale=Vector3.new(.8,.8,.8) |
716 | - | p2.Scale = Vector3.new(0, 0, 0) |
716 | + | so("http://www.roblox.com/asset/?id=199149269",c,1,1) |
717 | - | p2.MeshType = "Sphere" |
717 | + | if CRIT==true then |
718 | - | for i = 1 , 10 do |
718 | + | ms.Scale=Vector3.new(1,1.25,1) |
719 | - | Torso.Velocity = Vector3.new(0, 800, 0) |
719 | + | end |
720 | - | if i >= 5 then |
720 | + | ms.Parent=c |
721 | - | p2.Scale = p2.Scale + Vector3.new(0.62, 1.5, 0.62) |
721 | + | c.Reflectance=0 |
722 | Instance.new("BodyGyro").Parent=c | |
723 | - | wait(0.001) |
723 | + | c.Parent=m |
724 | if Char:findFirstChild("Head")~=nil then | |
725 | - | wait(0.3) |
725 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
726 | - | Torso.Velocity = Vector3.new(0, -400, 0) |
726 | + | elseif Char.Parent:findFirstChild("Head")~=nil then |
727 | - | Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0, -3.14) |
727 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
728 | - | wait(0.3) |
728 | + | end |
729 | - | handle2 = Instance.new("Part") |
729 | + | f=Instance.new("BodyPosition") |
730 | - | handle2.Parent = Character |
730 | + | f.P=2000 |
731 | - | handle2.TopSurface = "Smooth" |
731 | + | f.D=100 |
732 | - | handle2.BottomSurface = "Smooth" |
732 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
733 | - | handle2.Size = Vector3.new(1, 1, 1) |
733 | + | f.position=c.Position+Vector3.new(0,3,0) |
734 | - | handle2.CFrame = Torso.CFrame |
734 | + | f.Parent=c |
735 | - | weld = Instance.new("Weld") |
735 | + | game:GetService("Debris"):AddItem(m,.5+du) |
736 | - | weld.Part0 = eTorso |
736 | + | c.CanCollide=false |
737 | - | weld.Part1 = handle2 |
737 | + | m.Parent=workspace |
738 | - | weld.Parent = eTorso |
738 | + | c.CanCollide=false |
739 | - | weld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(3.14, 0, 0) |
739 | + | |
740 | - | p = Instance.new("SpecialMesh") |
740 | + | |
741 | - | p.Parent = handle2 |
741 | + | Player=game:GetService('Players').LocalPlayer |
742 | - | p.Scale = Vector3.new(5, 15, 5) |
742 | + | Character=Player.Character |
743 | - | p.MeshType = "FileMesh" |
743 | + | Mouse=Player:GetMouse() |
744 | - | p.MeshId = "http://www.roblox.com/asset/?id=1051557" |
744 | + | m=Instance.new('Model',Character) |
745 | - | Torso.CFrame = Torso.CFrame*CFrame.Angles(3.14,0,0) |
745 | + | |
746 | - | wait(.7) |
746 | + | |
747 | - | handle2:Remove() |
747 | + | local function weldBetween(a, b) |
748 | - | handle21:Remove() |
748 | + | local weldd = Instance.new("ManualWeld") |
749 | - | TorsoWeld:Remove() |
749 | + | weldd.Part0 = a |
750 | - | ex = Instance.new("Explosion") |
750 | + | weldd.Part1 = b |
751 | - | ex.Parent = Workspace |
751 | + | weldd.C0 = CFrame.new() |
752 | - | ex.BlastPressure = 0 |
752 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
753 | - | ex.Position = Torso.Position |
753 | + | weldd.Parent = a |
754 | - | eHumanoid:TakeDamage(math.huge) |
754 | + | return weldd |
755 | - | eHumanoid.PlatformStand = false |
755 | + | end |
756 | - | eHumanoid.Sit = true |
756 | + | |
757 | - | for i = 1 , 15 do |
757 | + | it=Instance.new |
758 | - | p = Instance.new("Part") |
758 | + | |
759 | - | p.Parent = Workspace |
759 | + | function nooutline(part) |
760 | - | p.Name = "Rocks" |
760 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
761 | - | p.BrickColor = BrickColor.new("Brown") |
761 | + | end |
762 | - | p.CanCollide = true |
762 | + | |
763 | - | p.TopSurface = "Smooth" |
763 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
764 | - | p.Material = "Concrete" |
764 | + | local fp=it("Part") |
765 | - | p.BottomSurface = "Smooth" |
765 | + | fp.formFactor=formfactor |
766 | - | p.Size = Vector3.new(math.random(3, 5), math.random(3, 5), math.random(3, 5)) |
766 | + | fp.Parent=parent |
767 | - | p.CFrame = Torso.CFrame * CFrame.new(Vector3.new(math.random(-6, 6), -10, math.random(-6, 6))) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) |
767 | + | fp.Reflectance=reflectance |
768 | - | p.Velocity = p.CFrame.lookVector * 150 + Vector3.new(0, 10, 0) |
768 | + | fp.Transparency=transparency |
769 | - | game:getService("Debris"):AddItem(p, 5) |
769 | + | fp.CanCollide=false |
770 | fp.Locked=true | |
771 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
772 | - | RefreshWelds() |
772 | + | fp.Name=name |
773 | - | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
773 | + | fp.Size=size |
774 | - | Gyro.cframe = CFrame.Angles(0, 0, 0) |
774 | + | fp.Position=Character.Torso.Position |
775 | - | Humanoid.Jump = true |
775 | + | nooutline(fp) |
776 | - | Torso.CFrame = CFrame.new(Torso.Position + Vector3.new(0, 5, 10)) |
776 | + | fp.Material=material |
777 | - | wait(.5) |
777 | + | fp:BreakJoints() |
778 | - | Torso.Velocity = Vector3.new(0,0,0) |
778 | + | return fp |
779 | - | eTorso.Velocity = Vector3.new(0,0,0) |
779 | + | end |
780 | ||
781 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
782 | local mesh=it(Mesh) | |
783 | - | wait(0.05) |
783 | + | mesh.Parent=part |
784 | - | Gyro:Remove() |
784 | + | if Mesh=="SpecialMesh" then |
785 | - | Torso.Velocity = Vector3.new(0,0,0) |
785 | + | mesh.MeshType=meshtype |
786 | - | RefreshWelds() |
786 | + | mesh.MeshId=meshid |
787 | end | |
788 | - | function Free() |
788 | + | mesh.Offset=offset |
789 | - | Stuff = Character:GetChildren() |
789 | + | mesh.Scale=scale |
790 | - | for i = 1 , #Stuff do |
790 | + | return mesh |
791 | - | if Stuff[i].className == "Part" then |
791 | + | end |
792 | - | Stuff[i].Anchored = false |
792 | + | |
793 | function weld(parent,part0,part1,c0,c1) | |
794 | local weld=it("Weld") | |
795 | - | Stuff = Character:GetChildren() |
795 | + | weld.Parent=parent |
796 | - | for i = 1 , #Stuff do |
796 | + | weld.Part0=part0 |
797 | - | if Stuff[i].className == "Part" then |
797 | + | weld.Part1=part1 |
798 | - | Stuff[i].Anchored = false |
798 | + | weld.C0=c0 |
799 | weld.C1=c1 | |
800 | - | Stuff2 = Stuff[i]:GetChildren() |
800 | + | return weld |
801 | - | for i = 1 , #Stuff2 do |
801 | + | end |
802 | - | if Stuff2[i].className == "BodyPosition" or Stuff2[i].className == "BodyVelocity" or Stuff2[i].className == "BodyGyro" then |
802 | + | |
803 | - | Stuff2[i]:Remove() |
803 | + | local modelzorz=Instance.new("Model") |
804 | modelzorz.Parent=Character | |
805 | modelzorz.Name="Claw1" | |
806 | ||
807 | - | Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,30,0) |
807 | + | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) |
808 | - | Character.Torso.Anchored = true |
808 | + | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) |
809 | - | wait(.5) |
809 | + | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
810 | - | Character.Torso.Anchored = false |
810 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
811 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
812 | - | Shieldz = false |
812 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
813 | - | function ShieldOn() |
813 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) |
814 | - | Johnny = Instance.new("BodyGyro") |
814 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
815 | - | Johnny.Name = "JooDaddeh" |
815 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
816 | - | Johnny.Parent = Torso |
816 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) |
817 | - | Johnny.cframe = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) |
817 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
818 | - | Johnny.maxTorque = Vector3.new(math.huge, math.huge, math.huge) |
818 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) |
819 | - | Billy = Instance.new("BodyPosition") |
819 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
820 | - | Billy.Name = "JoeMama" |
820 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) |
821 | - | Billy.Parent = Head |
821 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
822 | - | Billy.position = Head.Position |
822 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) |
823 | - | Billy.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
823 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
824 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
825 | - | for i = 1, 5 do |
825 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
826 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
827 | - | Billy.position = Billy.position + Vector3.new(0,1,0) |
827 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
828 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
829 | - | wait(0.5) |
829 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
830 | - | for i = 1, 11 do |
830 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) |
831 | - | Head.Mesh.Scale = Head.Mesh.Scale + Vector3.new(1,1,1) |
831 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
832 | - | wait(0.01) |
832 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) |
833 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
834 | - | Shieldz = true |
834 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
835 | - | while Shieldz do |
835 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) |
836 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
837 | - | for i,v in pairs (workspace:GetChildren()) do |
837 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) |
838 | - | if v.className == "Part" and v.Name ~= "Base" then |
838 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
839 | - | if (Torso.Position-v.Position).magnitude <= 11 then |
839 | + | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) |
840 | - | v:Remove() |
840 | + | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) |
841 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
842 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
843 | - | if v.className == "Model" then |
843 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) |
844 | - | for u, c in pairs (v:GetChildren()) do |
844 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
845 | - | if c.className == "Part" and v.Name ~= Character.Name then |
845 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
846 | - | if (Torso.Position-c.Position).magnitude <= 11 then |
846 | + | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) |
847 | - | c:Remove() |
847 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
848 | ||
849 | local modelzorz2=Instance.new("Model") | |
850 | modelzorz2.Parent=Character | |
851 | - | if v.Name ~= Character.Name then |
851 | + | modelzorz2.Name="Claw2" |
852 | - | BobHumanoid = v:findFirstChild("Humanoid") |
852 | + | |
853 | - | BobHead = v:findFirstChild("Head") |
853 | + | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) |
854 | - | if BobHead ~= nil and BobHumanoid ~= nil then |
854 | + | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) |
855 | - | if (Torso.Position-BobHead.Position).magnitude <= 11 then |
855 | + | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
856 | - | for i = 1, 22 do |
856 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
857 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
858 | - | if i > 12 then |
858 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
859 | - | BobHead.Mesh.Scale = BobHead.Mesh.Scale + Vector3.new(1, 1, 1) |
859 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) |
860 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
861 | - | if v:findFirstChild("Left Arm") ~= nil then |
861 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) |
862 | - | v:findFirstChild("Left Arm"):Remove() |
862 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
863 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
864 | - | if v:findFirstChild("Left Leg") ~= nil then |
864 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
865 | - | v:findFirstChild("Left Leg"):Remove() |
865 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
866 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
867 | - | if v:findFirstChild("Right Arm") ~= nil then |
867 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) |
868 | - | v:findFirstChild("Right Arm"):Remove() |
868 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
869 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
870 | - | if v:findFirstChild("Right Leg") ~= nil then |
870 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) |
871 | - | v:findFirstChild("Right Leg"):Remove() |
871 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) |
872 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
873 | - | if v:findFirstChild("Torso") ~= nil then |
873 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
874 | - | v:findFirstChild("Torso"):Remove() |
874 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) |
875 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
876 | - | BobHead.Mesh.Scale = BobHead.Mesh.Scale + Vector3.new(-1, -1, -1) |
876 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) |
877 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
878 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
879 | - | v:Remove() |
879 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) |
880 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
881 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
882 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
883 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
884 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
885 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
886 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
887 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
888 | - | function ShieldOff() |
888 | + | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) |
889 | - | Shieldz = false |
889 | + | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) |
890 | - | for i = 1, 11 do |
890 | + | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) |
891 | - | Head.Mesh.Scale = Head.Mesh.Scale + Vector3.new(-1,-1,-1) |
891 | + | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) |
892 | - | wait(0.01) |
892 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) |
893 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
894 | - | for i = 1, 5 do |
894 | + | |
895 | - | pcall(function() Head.JoeMama.position = Head.JoeMama.position + Vector3.new(0,-1,0) end) |
895 | + | local modelzorz3=Instance.new("Model") |
896 | - | wait(0.01) |
896 | + | modelzorz3.Parent=Character |
897 | modelzorz3.Name="Eye" | |
898 | - | pcall(function() Head.JoeMama:Remove() end) |
898 | + | |
899 | - | pcall(function() Torso.JooDaddeh:Remove() end) |
899 | + | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) |
900 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
901 | - | function Page(Num,gm) |
901 | + | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) |
902 | - | if Num == 1 then |
902 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) |
903 | - | for _,v in pairs (gm:GetChildren()) do |
903 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
904 | - | if v.Name == "Pg2" then |
904 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) |
905 | - | v:Remove() |
905 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) |
906 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
907 | - | v.Visible = true |
907 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) |
908 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
909 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
910 | - | elseif Num == 2 then |
910 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) |
911 | - | for _,v in pairs (gm:GetChildren()) do |
911 | + | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) |
912 | - | if v.Name ~= "Pg2" then |
912 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) |
913 | - | if v.className == "TextButton" then |
913 | + | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) |
914 | - | v.Visible = false |
914 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
915 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
916 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
917 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
918 | - | tb = Instance.new("TextButton") |
918 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
919 | - | tb.Parent = gm |
919 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) |
920 | - | tb.Size = UDim2.new(0,70,0,30) |
920 | + | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) |
921 | - | tb.Position = UDim2.new(0,800,0,40) |
921 | + | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) |
922 | - | tb.Text = "New Attack" |
922 | + | local moosick = it("Sound",Character) |
923 | - | tb.BackgroundTransparency = .5 |
923 | + | moosick.SoundId = "rbxassetid://163349263" |
924 | - | tb.TextTransparency = .1 |
924 | + | --142653441, 175067863 |
925 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
925 | + | moosick.Looped = true |
926 | - | tb.BorderColor3 = Color3.new(50,255,255) |
926 | + | moosick.Pitch = 1 |
927 | - | tb.Name = "Pg2" |
927 | + | moosick.Volume = 0 |
928 | moosick:Play() | |
929 | ||
930 | - | gm = Instance.new("GuiMain") |
930 | + | anim = Character:findFirstChild("Animate") |
931 | - | gm.Parent = Player.PlayerGui |
931 | + | if anim then |
932 | - | gm.Name = "GUI-Main" |
932 | + | anim:Destroy() |
933 | - | Frame = Instance.new("Frame",gm) |
933 | + | |
934 | - | Frame.Size = UDim2.new(0,310,0,300) |
934 | + | |
935 | - | Frame.Position = UDim2.new(0,780,0,20) |
935 | + | local particleemitter = Instance.new("ParticleEmitter", Handle) |
936 | - | Frame.BackgroundTransparency = .5 |
936 | + | particleemitter.VelocitySpread = 180 |
937 | - | Frame.BackgroundColor3 = Color3.new(50,50,50) |
937 | + | particleemitter.Lifetime = NumberRange.new(0.1) |
938 | - | Frame.BorderColor3 = Color3.new(0,0,0) |
938 | + | particleemitter.Speed = NumberRange.new(2) |
939 | - | Prev = Instance.new("TextButton",Frame) |
939 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) |
940 | - | Prev.Position = UDim2.new(0,0,0,285) |
940 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
941 | - | Prev.Size = UDim2.new(0,70,0,15) |
941 | + | particleemitter.Rate = 100 |
942 | - | Prev.Text = "Page 1" |
942 | + | particleemitter.Rotation = NumberRange.new(-45, 45) |
943 | - | Prev.BackgroundTransparency = .5 |
943 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
944 | - | Prev.TextTransparency = .1 |
944 | + | particleemitter.LightEmission = 0 |
945 | - | Prev.BackgroundColor3 = Color3.new(100,255,255) |
945 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) |
946 | - | Prev.BorderColor3 = Color3.new(50,255,255) |
946 | + | |
947 | - | function onClick() |
947 | + | local particleemitter = Instance.new("ParticleEmitter", Handle2) |
948 | - | Page(1,gm) |
948 | + | particleemitter.VelocitySpread = 180 |
949 | particleemitter.Lifetime = NumberRange.new(0.1) | |
950 | - | Prev.MouseButton1Click:connect(onClick) |
950 | + | particleemitter.Speed = NumberRange.new(2) |
951 | - | Next = Instance.new("TextButton",Frame) |
951 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) |
952 | - | Next.Position = UDim2.new(0,240,0,285) |
952 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
953 | - | Next.Size = UDim2.new(0,70,0,15) |
953 | + | particleemitter.Rate = 100 |
954 | - | Next.Text = "Page 2" |
954 | + | particleemitter.Rotation = NumberRange.new(-45, 45) |
955 | - | Next.BackgroundTransparency = .5 |
955 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
956 | - | Next.TextTransparency = .1 |
956 | + | particleemitter.LightEmission = 0 |
957 | - | Next.BackgroundColor3 = Color3.new(100,255,255) |
957 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) |
958 | - | Next.BorderColor3 = Color3.new(50,255,255) |
958 | + | |
959 | - | function onClick() |
959 | + | local particleemitter = Instance.new("ParticleEmitter", handle) |
960 | - | Page(2,gm) |
960 | + | particleemitter.VelocitySpread = 180 |
961 | particleemitter.Lifetime = NumberRange.new(0.1) | |
962 | - | Next.MouseButton1Click:connect(onClick) |
962 | + | particleemitter.Speed = NumberRange.new(2) |
963 | - | tb = Instance.new("TextButton") |
963 | + | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) |
964 | - | tb.Parent = gm |
964 | + | particleemitter.RotSpeed = NumberRange.new(-45, 45) |
965 | - | tb.Size = UDim2.new(0,70,0,30) |
965 | + | particleemitter.Rate = 100 |
966 | - | tb.Position = UDim2.new(0,800,0,80) |
966 | + | particleemitter.Rotation = NumberRange.new(-45, 45) |
967 | - | tb.Text = "EyeLaser" |
967 | + | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) |
968 | - | tb.BackgroundTransparency = .5 |
968 | + | particleemitter.LightEmission = 0.8 |
969 | - | tb.TextTransparency = .1 |
969 | + | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) |
970 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
970 | + | |
971 | - | tb.BorderColor3 = Color3.new(50,255,255) |
971 | + | local light = Instance.new("PointLight", Character.Torso) |
972 | - | function onClick() |
972 | + | light.Color = Color3.new(255,255,255) |
973 | - | EyeLaser() |
973 | + | light.Brightness = 5 |
974 | light.Range = 15 | |
975 | - | tb.MouseButton1Click:connect(onClick) |
975 | + | |
976 | - | tb = Instance.new("TextButton") |
976 | + | particleemitter.Enabled = true |
977 | - | tb.Parent = gm |
977 | + | |
978 | - | tb.Size = UDim2.new(0,70,0,30) |
978 | + | local Footsteps = it("Sound",Character.Torso) |
979 | - | tb.Position = UDim2.new(0,900,0,80) |
979 | + | Footsteps.SoundId = "rbxassetid://142665235" |
980 | - | tb.Text = "Roar" |
980 | + | Footsteps.Looped = true |
981 | - | tb.BackgroundTransparency = .5 |
981 | + | Footsteps.Pitch = 0.8 |
982 | - | tb.TextTransparency = .1 |
982 | + | Footsteps.Volume = 0.3 |
983 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
983 | + | |
984 | - | tb.BorderColor3 = Color3.new(50,255,255) |
984 | + | local Footsteps2 = it("Sound",Character.Torso) |
985 | - | function onClick() |
985 | + | Footsteps2.SoundId = "rbxassetid://142665235" |
986 | - | Roar() |
986 | + | Footsteps2.Looped = true |
987 | Footsteps2.Pitch = 1 | |
988 | - | tb.MouseButton1Click:connect(onClick) |
988 | + | Footsteps2.Volume = 0.4 |
989 | - | tb = Instance.new("TextButton") |
989 | + | |
990 | - | tb.Parent = gm |
990 | + | local cam = game.Workspace.CurrentCamera |
991 | - | tb.Size = UDim2.new(0,70,0,30) |
991 | + | |
992 | - | tb.Position = UDim2.new(0,1000,0,80) |
992 | + | --cam.CameraSubject = Character |
993 | - | tb.Text = "Heal" |
993 | + | |
994 | - | tb.BackgroundTransparency = .5 |
994 | + | for i,v in pairs(Head:children()) do |
995 | - | tb.TextTransparency = .1 |
995 | + | if v:IsA("Sound") then |
996 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
996 | + | v:Destroy() |
997 | - | tb.BorderColor3 = Color3.new(50,255,255) |
997 | + | end |
998 | - | function onClick() |
998 | + | |
999 | - | Heal() |
999 | + | |
1000 | mouse.Button1Down:connect(function() | |
1001 | - | tb.MouseButton1Click:connect(onClick) |
1001 | + | if attack==false and attacktype==1 then |
1002 | - | tb = Instance.new("TextButton") |
1002 | + | attacktype=2 |
1003 | - | tb.Parent = gm |
1003 | + | attackone() |
1004 | - | tb.Size = UDim2.new(0,70,0,30) |
1004 | + | elseif attack==false and attacktype==2 then |
1005 | - | tb.Position = UDim2.new(0,800,0,120) |
1005 | + | attacktype=3 |
1006 | - | tb.Text = "Suicide" |
1006 | + | attacktwo() |
1007 | - | tb.BackgroundTransparency = .5 |
1007 | + | elseif attack==false and attacktype==3 then |
1008 | - | tb.TextTransparency = .1 |
1008 | + | attacktype=4 |
1009 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1009 | + | attackthree() |
1010 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1010 | + | elseif attack==false and attacktype==4 then |
1011 | - | function onClick() |
1011 | + | attacktype=1 |
1012 | - | Suicide() |
1012 | + | attackfour() |
1013 | end | |
1014 | - | tb.MouseButton1Click:connect(onClick) |
1014 | + | |
1015 | - | tb = Instance.new("TextButton") |
1015 | + | |
1016 | - | tb.Parent = gm |
1016 | + | mouse.KeyDown:connect(function(k) |
1017 | - | tb.Size = UDim2.new(0,70,0,30) |
1017 | + | k=k:lower() |
1018 | - | tb.Position = UDim2.new(0,900,0,120) |
1018 | + | if k=='e' then |
1019 | - | tb.Text = "Rocket" |
1019 | + | if attack==false and mana>=20 then |
1020 | - | tb.BackgroundTransparency = .5 |
1020 | + | Push() |
1021 | - | tb.TextTransparency = .1 |
1021 | + | end |
1022 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1022 | + | elseif k=='g' then |
1023 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1023 | + | if attack==false and mana>=50 then |
1024 | - | function onClick() |
1024 | + | Twirl() |
1025 | - | Rocket() |
1025 | + | end |
1026 | elseif k=='v' then | |
1027 | - | tb.MouseButton1Click:connect(onClick) |
1027 | + | if attack==false and mana>=25 then |
1028 | - | tb = Instance.new("TextButton") |
1028 | + | MagicJump() |
1029 | - | tb.Parent = gm |
1029 | + | end |
1030 | - | tb.Size = UDim2.new(0,70,0,30) |
1030 | + | elseif k=='q' then |
1031 | - | tb.Position = UDim2.new(0,1000,0,120) |
1031 | + | if attack==false then |
1032 | - | tb.Text = "Jump" |
1032 | + | idle=1000 |
1033 | - | tb.BackgroundTransparency = .5 |
1033 | + | end |
1034 | - | tb.TextTransparency = .1 |
1034 | + | elseif k=='h' then |
1035 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1035 | + | if attack==false then |
1036 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1036 | + | mana=100 |
1037 | - | function onClick() |
1037 | + | end |
1038 | - | Jump() |
1038 | + | elseif k=='y' then |
1039 | if attack==false and mana>=100 then | |
1040 | - | tb.MouseButton1Click:connect(onClick) |
1040 | + | Shred() |
1041 | - | tb = Instance.new("TextButton") |
1041 | + | end |
1042 | - | tb.Parent = gm |
1042 | + | elseif k=='f' then |
1043 | - | tb.Size = UDim2.new(0,70,0,30) |
1043 | + | if attack==false and mana>=40 then |
1044 | - | tb.Position = UDim2.new(0,800,0,160) |
1044 | + | Spin() |
1045 | - | tb.Text = "Bubble" |
1045 | + | end |
1046 | - | tb.BackgroundTransparency = .5 |
1046 | + | elseif k=='r' then |
1047 | - | tb.TextTransparency = .1 |
1047 | + | if attack==false and mana>=20 then |
1048 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1048 | + | Clap() |
1049 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1049 | + | end |
1050 | - | function onClick() |
1050 | + | elseif k=='t' then |
1051 | - | Shield() |
1051 | + | if attack==false then |
1052 | Hai() | |
1053 | - | tb.MouseButton1Click:connect(onClick) |
1053 | + | end |
1054 | - | tb = Instance.new("TextButton") |
1054 | + | elseif k=='0' then |
1055 | - | tb.Parent = gm |
1055 | + | if attack==false then |
1056 | - | tb.Size = UDim2.new(0,70,0,30) |
1056 | + | Humanoid.WalkSpeed=(24) |
1057 | - | tb.Position = UDim2.new(0,900,0,160) |
1057 | + | end |
1058 | - | tb.Text = "Ground-Pound" |
1058 | + | elseif k=='j' then |
1059 | - | tb.BackgroundTransparency = .5 |
1059 | + | if attack==false then |
1060 | - | tb.TextTransparency = .1 |
1060 | + | Humanoid.Health = 10 |
1061 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1061 | + | print("Congrats, you commited suicide.") |
1062 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1062 | + | end |
1063 | - | function onClick() |
1063 | + | end |
1064 | - | GroundPound() |
1064 | + | |
1065 | ||
1066 | - | tb.MouseButton1Click:connect(onClick) |
1066 | + | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1067 | - | tb = Instance.new("TextButton") |
1067 | + | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1068 | - | tb.Parent = gm |
1068 | + | prt.Anchored=true |
1069 | - | tb.Size = UDim2.new(0,70,0,30) |
1069 | + | prt.CFrame=cframe |
1070 | - | tb.Position = UDim2.new(0,1000,0,160) |
1070 | + | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1071 | - | tb.Text = "Eyez" |
1071 | + | game:GetService("Debris"):AddItem(prt,2) |
1072 | - | tb.BackgroundTransparency = .5 |
1072 | + | coroutine.resume(coroutine.create(function(Part,Mesh) |
1073 | - | tb.TextTransparency = .1 |
1073 | + | for i=0,1,delay do |
1074 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1074 | + | |
1075 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1075 | + | Part.CFrame=Part.CFrame |
1076 | - | function onClick() |
1076 | + | Part.Transparency=i |
1077 | - | Eyez() |
1077 | + | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1078 | end | |
1079 | - | tb.MouseButton1Click:connect(onClick) |
1079 | + | Part.Parent=nil |
1080 | - | tb = Instance.new("TextButton") |
1080 | + | end),prt,msh) |
1081 | - | tb.Parent = gm |
1081 | + | |
1082 | - | tb.Size = UDim2.new(0,70,0,30) |
1082 | + | |
1083 | - | tb.Position = UDim2.new(0,800,0,200) |
1083 | + | TrailDeb = false |
1084 | - | tb.Text = "FootBlox" |
1084 | + | |
1085 | - | tb.BackgroundTransparency = .5 |
1085 | + | function equipanim() |
1086 | - | tb.TextTransparency = .1 |
1086 | + | attack=true |
1087 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1087 | + | Humanoid.WalkSpeed = 0 |
1088 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1088 | + | if TrailDeb == false then |
1089 | - | function onClick() |
1089 | + | TrailDeb = true |
1090 | - | FootBlox() |
1090 | + | end |
1091 | ||
1092 | - | tb.MouseButton1Click:connect(onClick) |
1092 | + | |
1093 | - | tb = Instance.new("TextButton") |
1093 | + | coroutine.wrap(function() |
1094 | - | tb.Parent = gm |
1094 | + | local Old = handle.CFrame.p |
1095 | - | tb.Size = UDim2.new(0,70,0,30) |
1095 | + | while wait()do |
1096 | - | tb.Position = UDim2.new(0,900,0,200) |
1096 | + | if not TrailDeb then break end |
1097 | - | tb.Text = "Primary Lotus" |
1097 | + | local New = handle.CFrame.p |
1098 | - | tb.BackgroundTransparency = .5 |
1098 | + | local Mag =(Old -New).magnitude |
1099 | - | tb.TextTransparency = .1 |
1099 | + | local Dis =(Old +New)/2 |
1100 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1100 | + | local Trail = Instance.new("Part",Character) |
1101 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1101 | + | Trail.Material = "Neon" |
1102 | - | function onClick() |
1102 | + | Trail.Anchored = true |
1103 | - | PrimaryLotus() |
1103 | + | Trail.CanCollide = false |
1104 | Trail.BrickColor = TorsoColor | |
1105 | - | tb.MouseButton1Click:connect(onClick) |
1105 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1106 | - | tb = Instance.new("TextButton") |
1106 | + | Trail.TopSurface = 0 |
1107 | - | tb.Parent = gm |
1107 | + | Trail.BottomSurface = 0 |
1108 | - | tb.Size = UDim2.new(0,70,0,30) |
1108 | + | Trail.formFactor = "Custom" |
1109 | - | tb.Position = UDim2.new(0,800,0,40) |
1109 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1110 | - | tb.Text = "Red" |
1110 | + | local ms = Instance.new("BlockMesh",Trail) |
1111 | - | tb.BackgroundTransparency = .5 |
1111 | + | ms.Scale = Vector3.new(1,1,1) |
1112 | - | tb.TextTransparency = .1 |
1112 | + | local TM = Instance.new("CylinderMesh",Trail) |
1113 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1113 | + | TM.Scale = Vector3.new(1,1,1) |
1114 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1114 | + | Old = New |
1115 | - | function onClick() |
1115 | + | coroutine.wrap(function() |
1116 | - | Mouth.BrickColor = BrickColor.new("Black") |
1116 | + | for i = 1,0,-0.1 do |
1117 | - | Eye1.BrickColor = BrickColor.new("Black") |
1117 | + | |
1118 | - | Eye2.BrickColor = BrickColor.new("Black") |
1118 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1119 | end | |
1120 | - | tb.MouseButton1Click:connect(onClick) |
1120 | + | Trail:remove() |
1121 | - | tb = Instance.new("TextButton") |
1121 | + | end)() |
1122 | - | tb.Parent = gm |
1122 | + | coroutine.wrap(function() |
1123 | - | tb.Size = UDim2.new(0,70,0,30) |
1123 | + | for i = 1,10 do |
1124 | - | tb.Position = UDim2.new(0,900,0,40) |
1124 | + | |
1125 | - | tb.Text = "Blue" |
1125 | + | Trail.Transparency = Trail.Transparency +0.1 |
1126 | - | tb.BackgroundTransparency = .5 |
1126 | + | end end)()end end)() |
1127 | - | tb.TextTransparency = .1 |
1127 | + | coroutine.wrap(function() |
1128 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1128 | + | local Old = Handle.CFrame.p |
1129 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1129 | + | while wait()do |
1130 | - | function onClick() |
1130 | + | if not TrailDeb then break end |
1131 | - | Mouth.BrickColor = BrickColor.new("Really blue") |
1131 | + | local New = Handle.CFrame.p |
1132 | - | Eye1.BrickColor = BrickColor.new("Really blue") |
1132 | + | local Mag =(Old -New).magnitude |
1133 | - | Eye2.BrickColor = BrickColor.new("Really blue") |
1133 | + | local Dis =(Old +New)/2 |
1134 | local Trail = Instance.new("Part",Character) | |
1135 | - | tb.MouseButton1Click:connect(onClick) |
1135 | + | Trail.Material = "Neon" |
1136 | - | tb = Instance.new("TextButton") |
1136 | + | Trail.Anchored = true |
1137 | - | tb.Parent = gm |
1137 | + | Trail.CanCollide = false |
1138 | - | tb.Size = UDim2.new(0,70,0,30) |
1138 | + | Trail.BrickColor = TorsoColor |
1139 | - | tb.Position = UDim2.new(0,1000,0,40) |
1139 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1140 | - | tb.Text = "Yellow" |
1140 | + | Trail.TopSurface = 0 |
1141 | - | tb.BackgroundTransparency = .5 |
1141 | + | Trail.BottomSurface = 0 |
1142 | - | tb.TextTransparency = .1 |
1142 | + | Trail.formFactor = "Custom" |
1143 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1143 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1144 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1144 | + | local ms = Instance.new("BlockMesh",Trail) |
1145 | - | function onClick() |
1145 | + | ms.Scale = Vector3.new(1,1,1) |
1146 | - | Mouth.BrickColor = BrickColor.new("Really red") |
1146 | + | local TM = Instance.new("CylinderMesh",Trail) |
1147 | - | Eye1.BrickColor = BrickColor.new("Really red") |
1147 | + | TM.Scale = Vector3.new(1,1,1) |
1148 | - | Eye2.BrickColor = BrickColor.new("Really red") |
1148 | + | Old = New |
1149 | coroutine.wrap(function() | |
1150 | - | tb.MouseButton1Click:connect(onClick) |
1150 | + | for i = 1,0,-0.1 do |
1151 | - | tb = Instance.new("TextButton") |
1151 | + | |
1152 | - | tb.Parent = gm |
1152 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1153 | - | tb.Size = UDim2.new(0,70,0,30) |
1153 | + | |
1154 | - | tb.Position = UDim2.new(0,1000,0,200) |
1154 | + | Trail:remove() |
1155 | - | tb.Text = "Free Self" |
1155 | + | end)() |
1156 | - | tb.BackgroundTransparency = .5 |
1156 | + | coroutine.wrap(function() |
1157 | - | tb.TextTransparency = .1 |
1157 | + | for i = 1,10 do |
1158 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1158 | + | |
1159 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1159 | + | Trail.Transparency = Trail.Transparency +0.1 |
1160 | - | function onClick() |
1160 | + | end end)()end end)() |
1161 | - | Free() |
1161 | + | coroutine.wrap(function() |
1162 | local Old = Handle2.CFrame.p | |
1163 | - | tb.MouseButton1Click:connect(onClick) |
1163 | + | while wait()do |
1164 | - | tb = Instance.new("TextButton") |
1164 | + | if not TrailDeb then break end |
1165 | - | tb.Parent = gm |
1165 | + | local New = Handle2.CFrame.p |
1166 | - | tb.Size = UDim2.new(0,70,0,30) |
1166 | + | local Mag =(Old -New).magnitude |
1167 | - | tb.Position = UDim2.new(0,800,0,240) |
1167 | + | local Dis =(Old +New)/2 |
1168 | - | tb.Text = "HeadAche" |
1168 | + | local Trail = Instance.new("Part",Character) |
1169 | - | tb.BackgroundTransparency = .5 |
1169 | + | Trail.Material = "Neon" |
1170 | - | tb.TextTransparency = .1 |
1170 | + | Trail.Anchored = true |
1171 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1171 | + | Trail.CanCollide = false |
1172 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1172 | + | Trail.BrickColor = TorsoColor |
1173 | - | function onClick() |
1173 | + | Trail.Size = Vector3.new(0.2,Mag,0.2) |
1174 | - | HeadAche() |
1174 | + | Trail.TopSurface = 0 |
1175 | Trail.BottomSurface = 0 | |
1176 | - | tb.MouseButton1Click:connect(onClick) |
1176 | + | Trail.formFactor = "Custom" |
1177 | - | tb = Instance.new("TextButton") |
1177 | + | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) |
1178 | - | tb.Parent = gm |
1178 | + | local ms = Instance.new("BlockMesh",Trail) |
1179 | - | tb.Size = UDim2.new(0,70,0,30) |
1179 | + | ms.Scale = Vector3.new(1,1,1) |
1180 | - | tb.Position = UDim2.new(0,900,0,240) |
1180 | + | local TM = Instance.new("CylinderMesh",Trail) |
1181 | - | tb.Text = "Shield" |
1181 | + | TM.Scale = Vector3.new(1,1,1) |
1182 | - | tb.BackgroundTransparency = .5 |
1182 | + | Old = New |
1183 | - | tb.TextTransparency = .1 |
1183 | + | coroutine.wrap(function() |
1184 | - | tb.BackgroundColor3 = Color3.new(100,255,255) |
1184 | + | for i = 1,0,-0.1 do |
1185 | - | tb.BorderColor3 = Color3.new(50,255,255) |
1185 | + | |
1186 | - | function click() |
1186 | + | TM.Scale = TM.Scale * Vector3.new(i,1,i) |
1187 | - | if not Shieldz then |
1187 | + | |
1188 | - | ShieldOn() |
1188 | + | Trail:remove() |
1189 | end)() | |
1190 | - | ShieldOff() |
1190 | + | coroutine.wrap(function() |
1191 | for i = 1,10 do | |
1192 | wait() | |
1193 | - | tb.MouseButton1Click:connect(click) |
1193 | + | Trail.Transparency = Trail.Transparency +0.1 |
1194 | end end)()end end)() | |
1195 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) | |
1196 | - | Character.Humanoid.WalkSpeed = 50 |
1196 | + | for i=0,1,0.005 do |
1197 | - | Character.Humanoid.MaxHealth = math.huge |
1197 | + | swait() |
1198 | - | Character.Humanoid.Health = math.huge |
1198 | + | moosick.Volume = 0+1*i |
1199 | - | if Torso.Position.Y <= -20 or Torso.Position.Y >= 10000 then |
1199 | + | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) |
1200 | - | Base = Workspace:findFirstChild("Base") |
1200 | + | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) |
1201 | - | if Base ~= nil then |
1201 | + | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1202 | - | Character:MoveTo(Base.Position) |
1202 | + | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) |
1203 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
1204 | - | Character:MoveTo(Vector3.new(0, 100, 0)) |
1204 | + | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) |
1205 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
1206 | end | |
1207 | - | end |
1207 | + | for i=0,1,0.005 do |
1208 | swait() | |
1209 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
1210 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
1211 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
1212 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
1213 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
1214 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
1215 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
1216 | end | |
1217 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
1218 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
1219 | for i=0,1,0.005 do | |
1220 | swait() | |
1221 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
1222 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
1223 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
1224 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
1225 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
1226 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
1227 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
1228 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
1229 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
1230 | end | |
1231 | for i=0,1,0.04 do | |
1232 | swait() | |
1233 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
1234 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1235 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1236 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1237 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
1238 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
1239 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1240 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
1241 | end | |
1242 | --dmgstop() | |
1243 | attack=false | |
1244 | Humanoid.WalkSpeed = 12 | |
1245 | if TrailDeb == true then | |
1246 | TrailDeb = false | |
1247 | end | |
1248 | end | |
1249 | ||
1250 | function attackone() | |
1251 | attack=true | |
1252 | if TrailDeb == false then | |
1253 | TrailDeb = true | |
1254 | end | |
1255 | ||
1256 | ||
1257 | coroutine.wrap(function() | |
1258 | local Old = Handle.CFrame.p | |
1259 | while wait()do | |
1260 | if not TrailDeb then break end | |
1261 | local New = Handle.CFrame.p | |
1262 | local Mag =(Old -New).magnitude | |
1263 | local Dis =(Old +New)/2 | |
1264 | local Trail = Instance.new("Part",Character) | |
1265 | Trail.Material = "Neon" | |
1266 | Trail.Anchored = true | |
1267 | Trail.CanCollide = false | |
1268 | Trail.BrickColor = TorsoColor | |
1269 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1270 | Trail.TopSurface = 0 | |
1271 | Trail.BottomSurface = 0 | |
1272 | Trail.formFactor = "Custom" | |
1273 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1274 | local ms = Instance.new("BlockMesh",Trail) | |
1275 | ms.Scale = Vector3.new(1,1,1) | |
1276 | local TM = Instance.new("CylinderMesh",Trail) | |
1277 | TM.Scale = Vector3.new(1,1,1) | |
1278 | Old = New | |
1279 | coroutine.wrap(function() | |
1280 | for i = 1,0,-0.1 do | |
1281 | wait() | |
1282 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1283 | end | |
1284 | Trail:remove() | |
1285 | end)() | |
1286 | coroutine.wrap(function() | |
1287 | for i = 1,10 do | |
1288 | wait() | |
1289 | Trail.Transparency = Trail.Transparency +0.1 | |
1290 | end end)()end end)() | |
1291 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1292 | for i=0,1,0.08 do | |
1293 | swait() | |
1294 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
1295 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
1296 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1297 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
1298 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1299 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
1300 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
1301 | end | |
1302 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) | |
1303 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) | |
1304 | for i=0,1,0.1 do | |
1305 | swait() | |
1306 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
1307 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1308 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1309 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
1310 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1311 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
1312 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
1313 | end | |
1314 | --dmgstop() | |
1315 | attack=false | |
1316 | con1:disconnect() | |
1317 | if TrailDeb == true then | |
1318 | TrailDeb = false | |
1319 | end | |
1320 | end | |
1321 | ||
1322 | function attacktwo() | |
1323 | attack=true | |
1324 | if TrailDeb == false then | |
1325 | TrailDeb = true | |
1326 | end | |
1327 | ||
1328 | ||
1329 | coroutine.wrap(function() | |
1330 | local Old = Handle2.CFrame.p | |
1331 | while wait()do | |
1332 | if not TrailDeb then break end | |
1333 | local New = Handle2.CFrame.p | |
1334 | local Mag =(Old -New).magnitude | |
1335 | local Dis =(Old +New)/2 | |
1336 | local Trail = Instance.new("Part",Character) | |
1337 | Trail.Material = "Neon" | |
1338 | Trail.Anchored = true | |
1339 | Trail.CanCollide = false | |
1340 | Trail.BrickColor = TorsoColor | |
1341 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1342 | Trail.TopSurface = 0 | |
1343 | Trail.BottomSurface = 0 | |
1344 | Trail.formFactor = "Custom" | |
1345 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1346 | local ms = Instance.new("BlockMesh",Trail) | |
1347 | ms.Scale = Vector3.new(1,1,1) | |
1348 | local TM = Instance.new("CylinderMesh",Trail) | |
1349 | TM.Scale = Vector3.new(1,1,1) | |
1350 | Old = New | |
1351 | coroutine.wrap(function() | |
1352 | for i = 1,0,-0.1 do | |
1353 | wait() | |
1354 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1355 | end | |
1356 | Trail:remove() | |
1357 | end)() | |
1358 | coroutine.wrap(function() | |
1359 | for i = 1,10 do | |
1360 | wait() | |
1361 | Trail.Transparency = Trail.Transparency +0.1 | |
1362 | end end)()end end)() | |
1363 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1364 | for i=0,1,0.08 do | |
1365 | swait() | |
1366 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
1367 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1368 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1369 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
1370 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1371 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
1372 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
1373 | end | |
1374 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
1375 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) | |
1376 | for i=0,1,0.1 do | |
1377 | swait() | |
1378 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1379 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
1380 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1381 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
1382 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1383 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
1384 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
1385 | end | |
1386 | --dmgstop() | |
1387 | attack=false | |
1388 | con1:disconnect() | |
1389 | if TrailDeb == true then | |
1390 | TrailDeb = false | |
1391 | end | |
1392 | end | |
1393 | ||
1394 | function attackthree() | |
1395 | attack=true | |
1396 | if TrailDeb == false then | |
1397 | TrailDeb = true | |
1398 | end | |
1399 | ||
1400 | ||
1401 | coroutine.wrap(function() | |
1402 | local Old = Handle.CFrame.p | |
1403 | while wait()do | |
1404 | if not TrailDeb then break end | |
1405 | local New = Handle.CFrame.p | |
1406 | local Mag =(Old -New).magnitude | |
1407 | local Dis =(Old +New)/2 | |
1408 | local Trail = Instance.new("Part",Character) | |
1409 | Trail.Material = "Neon" | |
1410 | Trail.Anchored = true | |
1411 | Trail.CanCollide = false | |
1412 | Trail.BrickColor = TorsoColor | |
1413 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1414 | Trail.TopSurface = 0 | |
1415 | Trail.BottomSurface = 0 | |
1416 | Trail.formFactor = "Custom" | |
1417 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1418 | local ms = Instance.new("BlockMesh",Trail) | |
1419 | ms.Scale = Vector3.new(1,1,1) | |
1420 | local TM = Instance.new("CylinderMesh",Trail) | |
1421 | TM.Scale = Vector3.new(1,1,1) | |
1422 | Old = New | |
1423 | coroutine.wrap(function() | |
1424 | for i = 1,0,-0.1 do | |
1425 | wait() | |
1426 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1427 | end | |
1428 | Trail:remove() | |
1429 | end)() | |
1430 | coroutine.wrap(function() | |
1431 | for i = 1,10 do | |
1432 | wait() | |
1433 | Trail.Transparency = Trail.Transparency +0.1 | |
1434 | end end)()end end)() | |
1435 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
1436 | for i=0,1,0.08 do | |
1437 | swait() | |
1438 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1439 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1440 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1441 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
1442 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1443 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
1444 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
1445 | end | |
1446 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
1447 | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) | |
1448 | for i=0,1,0.05 do | |
1449 | swait() | |
1450 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1451 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1452 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1453 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
1454 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1455 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
1456 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
1457 | end | |
1458 | --dmgstop() | |
1459 | attack=false | |
1460 | con1:disconnect() | |
1461 | if TrailDeb == true then | |
1462 | TrailDeb = false | |
1463 | end | |
1464 | end | |
1465 | ||
1466 | function attackfour() | |
1467 | attack=true | |
1468 | if TrailDeb == false then | |
1469 | TrailDeb = true | |
1470 | end | |
1471 | ||
1472 | ||
1473 | coroutine.wrap(function() | |
1474 | local Old = Handle2.CFrame.p | |
1475 | while wait()do | |
1476 | if not TrailDeb then break end | |
1477 | local New = Handle2.CFrame.p | |
1478 | local Mag =(Old -New).magnitude | |
1479 | local Dis =(Old +New)/2 | |
1480 | local Trail = Instance.new("Part",Character) | |
1481 | Trail.Material = "Neon" | |
1482 | Trail.Anchored = true | |
1483 | Trail.CanCollide = false | |
1484 | Trail.BrickColor = TorsoColor | |
1485 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1486 | Trail.TopSurface = 0 | |
1487 | Trail.BottomSurface = 0 | |
1488 | Trail.formFactor = "Custom" | |
1489 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1490 | local ms = Instance.new("BlockMesh",Trail) | |
1491 | ms.Scale = Vector3.new(1,1,1) | |
1492 | local TM = Instance.new("CylinderMesh",Trail) | |
1493 | TM.Scale = Vector3.new(1,1,1) | |
1494 | Old = New | |
1495 | coroutine.wrap(function() | |
1496 | for i = 1,0,-0.1 do | |
1497 | wait() | |
1498 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1499 | end | |
1500 | Trail:remove() | |
1501 | end)() | |
1502 | coroutine.wrap(function() | |
1503 | for i = 1,10 do | |
1504 | wait() | |
1505 | Trail.Transparency = Trail.Transparency +0.1 | |
1506 | end end)()end end)() | |
1507 | coroutine.wrap(function() | |
1508 | local Old = Handle.CFrame.p | |
1509 | while wait()do | |
1510 | if not TrailDeb then break end | |
1511 | local New = Handle.CFrame.p | |
1512 | local Mag =(Old -New).magnitude | |
1513 | local Dis =(Old +New)/2 | |
1514 | local Trail = Instance.new("Part",Character) | |
1515 | Trail.Material = "Neon" | |
1516 | Trail.Anchored = true | |
1517 | Trail.CanCollide = false | |
1518 | Trail.BrickColor = TorsoColor | |
1519 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1520 | Trail.TopSurface = 0 | |
1521 | Trail.BottomSurface = 0 | |
1522 | Trail.formFactor = "Custom" | |
1523 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1524 | local ms = Instance.new("BlockMesh",Trail) | |
1525 | ms.Scale = Vector3.new(1,1,1) | |
1526 | local TM = Instance.new("CylinderMesh",Trail) | |
1527 | TM.Scale = Vector3.new(1,1,1) | |
1528 | Old = New | |
1529 | coroutine.wrap(function() | |
1530 | for i = 1,0,-0.1 do | |
1531 | wait() | |
1532 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1533 | end | |
1534 | Trail:remove() | |
1535 | end)() | |
1536 | coroutine.wrap(function() | |
1537 | for i = 1,10 do | |
1538 | wait() | |
1539 | Trail.Transparency = Trail.Transparency +0.1 | |
1540 | end end)()end end)() | |
1541 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1542 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1543 | for i=0,1,0.08 do | |
1544 | swait() | |
1545 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
1546 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1547 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1548 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1549 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
1550 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
1551 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1552 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
1553 | end | |
1554 | if anim then | |
1555 | anim.Disabled=true | |
1556 | end | |
1557 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) | |
1558 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) | |
1559 | for i=0,1,0.04 do | |
1560 | swait() | |
1561 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
1562 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
1563 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1564 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1565 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1566 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1567 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1568 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1569 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1570 | end | |
1571 | --dmgstop() | |
1572 | attack=false | |
1573 | con1:disconnect() | |
1574 | con2:disconnect() | |
1575 | if anim then | |
1576 | anim.Disabled=false | |
1577 | end | |
1578 | if TrailDeb == true then | |
1579 | TrailDeb = false | |
1580 | end | |
1581 | end | |
1582 | ||
1583 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
1584 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1585 | prt.Anchored = true | |
1586 | prt.CFrame = cframe | |
1587 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
1588 | coroutine.resume(coroutine.create(function() | |
1589 | for i = 0, 1, 0.05 do | |
1590 | wait() | |
1591 | prt.Transparency = i | |
1592 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
1593 | end | |
1594 | prt.Parent = nil | |
1595 | end)) | |
1596 | end | |
1597 | ||
1598 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
1599 | for _, c in pairs(workspace:children()) do | |
1600 | local hum = c:findFirstChild("Humanoid") | |
1601 | if hum ~= nil then | |
1602 | local head = c:findFirstChild("Torso") | |
1603 | if head ~= nil then | |
1604 | local targ = head.Position - Part.Position | |
1605 | local mag = targ.magnitude | |
1606 | if mag <= magni and c.Name ~= Player.Name then | |
1607 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | end | |
1612 | end | |
1613 | ||
1614 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1615 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1616 | prt.Anchored = true | |
1617 | prt.CFrame = cframe | |
1618 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1619 | game:GetService("Debris"):AddItem(prt, 2) | |
1620 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1621 | for i = 0, 1, delay do | |
1622 | swait() | |
1623 | Part.CFrame = Part.CFrame | |
1624 | Part.Transparency = i | |
1625 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
1626 | end | |
1627 | Part.Parent = nil | |
1628 | end), prt, msh) | |
1629 | end | |
1630 | ||
1631 | function MagicJump() | |
1632 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
1633 | attack=true | |
1634 | mana=mana-25 | |
1635 | --[[ Humanoid.WalkSpeed = 0 | |
1636 | for i=0,1,0.01 do | |
1637 | swait() | |
1638 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
1639 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
1640 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
1641 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
1642 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
1643 | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) | |
1644 | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) | |
1645 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
1646 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
1647 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
1648 | end]]-- | |
1649 | Humanoid.Jump = true | |
1650 | Torso.Velocity = vt(0, 150, 0) | |
1651 | Humanoid.WalkSpeed = 64 | |
1652 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
1653 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
1654 | for i=0,1,0.05 do | |
1655 | swait() | |
1656 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
1657 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1658 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
1659 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
1660 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
1661 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
1662 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
1663 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1664 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
1665 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
1666 | end | |
1667 | for i=0,1,0.02 do | |
1668 | swait() | |
1669 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
1670 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1671 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
1672 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
1673 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1674 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
1675 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1676 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
1677 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
1678 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1679 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
1680 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
1681 | end | |
1682 | Humanoid.WalkSpeed = 0 | |
1683 | swait(8) | |
1684 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
1685 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
1686 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
1687 | if hit~=nil then | |
1688 | swait(2) | |
1689 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
1690 | ref.Anchored=true | |
1691 | ref.CFrame=cf(pos) | |
1692 | game:GetService("Debris"):AddItem(ref,3) | |
1693 | for i=1,10 do | |
1694 | local Col=BrickColor.new("Really black") | |
1695 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
1696 | groundpart.Anchored=true | |
1697 | groundpart.CanCollide=false | |
1698 | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1699 | local Col2=TorsoColor | |
1700 | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
1701 | groundpart2.Anchored=true | |
1702 | groundpart2.CanCollide=false | |
1703 | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1704 | game:GetService("Debris"):AddItem(groundpart,5) | |
1705 | game:GetService("Debris"):AddItem(groundpart2,5) | |
1706 | end | |
1707 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
1708 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2) | |
1709 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05) | |
1710 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
1711 | for i=0,1,0.06 do | |
1712 | swait() | |
1713 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1714 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1715 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
1716 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
1717 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
1718 | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1719 | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1720 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1721 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
1722 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
1723 | end | |
1724 | end | |
1725 | swait(20) | |
1726 | Humanoid.WalkSpeed = 12 | |
1727 | --dmgstop() | |
1728 | attack=false | |
1729 | end | |
1730 | end | |
1731 | ||
1732 | function Spin() | |
1733 | attack=true | |
1734 | mana=mana-40 | |
1735 | if TrailDeb == false then | |
1736 | TrailDeb = true | |
1737 | end | |
1738 | ||
1739 | coroutine.wrap(function() | |
1740 | local Old = Handle2.CFrame.p | |
1741 | while wait()do | |
1742 | if not TrailDeb then break end | |
1743 | local New = Handle2.CFrame.p | |
1744 | local Mag =(Old -New).magnitude | |
1745 | local Dis =(Old +New)/2 | |
1746 | local Trail = Instance.new("Part",Character) | |
1747 | Trail.Material = "Neon" | |
1748 | Trail.Anchored = true | |
1749 | Trail.CanCollide = false | |
1750 | Trail.BrickColor = TorsoColor | |
1751 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1752 | Trail.TopSurface = 0 | |
1753 | Trail.BottomSurface = 0 | |
1754 | Trail.formFactor = "Custom" | |
1755 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1756 | local ms = Instance.new("BlockMesh",Trail) | |
1757 | ms.Scale = Vector3.new(1,1,1) | |
1758 | local TM = Instance.new("CylinderMesh",Trail) | |
1759 | TM.Scale = Vector3.new(1,1,1) | |
1760 | Old = New | |
1761 | coroutine.wrap(function() | |
1762 | for i = 1,0,-0.1 do | |
1763 | wait() | |
1764 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1765 | end | |
1766 | Trail:remove() | |
1767 | end)() | |
1768 | coroutine.wrap(function() | |
1769 | for i = 1,10 do | |
1770 | wait() | |
1771 | Trail.Transparency = Trail.Transparency +0.1 | |
1772 | end end)()end end)() | |
1773 | coroutine.wrap(function() | |
1774 | local Old = Handle.CFrame.p | |
1775 | while wait()do | |
1776 | if not TrailDeb then break end | |
1777 | local New = Handle.CFrame.p | |
1778 | local Mag =(Old -New).magnitude | |
1779 | local Dis =(Old +New)/2 | |
1780 | local Trail = Instance.new("Part",Character) | |
1781 | Trail.Material = "Neon" | |
1782 | Trail.Anchored = true | |
1783 | Trail.CanCollide = false | |
1784 | Trail.BrickColor = TorsoColor | |
1785 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1786 | Trail.TopSurface = 0 | |
1787 | Trail.BottomSurface = 0 | |
1788 | Trail.formFactor = "Custom" | |
1789 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1790 | local ms = Instance.new("BlockMesh",Trail) | |
1791 | ms.Scale = Vector3.new(1,1,1) | |
1792 | local TM = Instance.new("CylinderMesh",Trail) | |
1793 | TM.Scale = Vector3.new(1,1,1) | |
1794 | Old = New | |
1795 | coroutine.wrap(function() | |
1796 | for i = 1,0,-0.1 do | |
1797 | wait() | |
1798 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1799 | end | |
1800 | Trail:remove() | |
1801 | end)() | |
1802 | coroutine.wrap(function() | |
1803 | for i = 1,10 do | |
1804 | wait() | |
1805 | Trail.Transparency = Trail.Transparency +0.1 | |
1806 | end end)()end end)() | |
1807 | Footsteps:Stop() | |
1808 | Footsteps2:Stop() | |
1809 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1810 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1811 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) | |
1812 | for i=0,1,0.1 do | |
1813 | swait() | |
1814 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1815 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1816 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1817 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1818 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1819 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1820 | end | |
1821 | if anim then | |
1822 | anim.Disabled=true | |
1823 | end | |
1824 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
1825 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
1826 | for i=0,1,0.05 do | |
1827 | swait() | |
1828 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
1829 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
1830 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1831 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1832 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1833 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1834 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1835 | end | |
1836 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
1837 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
1838 | for i=0,1,0.05 do | |
1839 | swait() | |
1840 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
1841 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
1842 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1843 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1844 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1845 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1846 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1847 | end | |
1848 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
1849 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
1850 | for i=0,1,0.05 do | |
1851 | swait() | |
1852 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
1853 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
1854 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1855 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1856 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1857 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1858 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1859 | end | |
1860 | --dmgstop() | |
1861 | Humanoid.WalkSpeed=12 | |
1862 | attack=false | |
1863 | con1:disconnect() | |
1864 | con2:disconnect() | |
1865 | if anim then | |
1866 | anim.Disabled=false | |
1867 | end | |
1868 | if TrailDeb == true then | |
1869 | TrailDeb = false | |
1870 | end | |
1871 | end | |
1872 | ||
1873 | function Twirl() | |
1874 | mana=mana-50 | |
1875 | attack=true | |
1876 | if TrailDeb == false then | |
1877 | TrailDeb = true | |
1878 | end | |
1879 | ||
1880 | ||
1881 | coroutine.wrap(function() | |
1882 | local Old = Handle2.CFrame.p | |
1883 | while wait()do | |
1884 | if not TrailDeb then break end | |
1885 | local New = Handle2.CFrame.p | |
1886 | local Mag =(Old -New).magnitude | |
1887 | local Dis =(Old +New)/2 | |
1888 | local Trail = Instance.new("Part",Character) | |
1889 | Trail.Material = "Neon" | |
1890 | Trail.Anchored = true | |
1891 | Trail.CanCollide = false | |
1892 | Trail.BrickColor = TorsoColor | |
1893 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1894 | Trail.TopSurface = 0 | |
1895 | Trail.BottomSurface = 0 | |
1896 | Trail.formFactor = "Custom" | |
1897 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1898 | local ms = Instance.new("BlockMesh",Trail) | |
1899 | ms.Scale = Vector3.new(1,1,1) | |
1900 | local TM = Instance.new("CylinderMesh",Trail) | |
1901 | TM.Scale = Vector3.new(1,1,1) | |
1902 | Old = New | |
1903 | coroutine.wrap(function() | |
1904 | for i = 1,0,-0.1 do | |
1905 | wait() | |
1906 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1907 | end | |
1908 | Trail:remove() | |
1909 | end)() | |
1910 | coroutine.wrap(function() | |
1911 | for i = 1,10 do | |
1912 | wait() | |
1913 | Trail.Transparency = Trail.Transparency +0.1 | |
1914 | end end)()end end)() | |
1915 | coroutine.wrap(function() | |
1916 | local Old = Handle.CFrame.p | |
1917 | while wait()do | |
1918 | if not TrailDeb then break end | |
1919 | local New = Handle.CFrame.p | |
1920 | local Mag =(Old -New).magnitude | |
1921 | local Dis =(Old +New)/2 | |
1922 | local Trail = Instance.new("Part",Character) | |
1923 | Trail.Material = "Neon" | |
1924 | Trail.Anchored = true | |
1925 | Trail.CanCollide = false | |
1926 | Trail.BrickColor = TorsoColor | |
1927 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
1928 | Trail.TopSurface = 0 | |
1929 | Trail.BottomSurface = 0 | |
1930 | Trail.formFactor = "Custom" | |
1931 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
1932 | local ms = Instance.new("BlockMesh",Trail) | |
1933 | ms.Scale = Vector3.new(1,1,1) | |
1934 | local TM = Instance.new("CylinderMesh",Trail) | |
1935 | TM.Scale = Vector3.new(1,1,1) | |
1936 | Old = New | |
1937 | coroutine.wrap(function() | |
1938 | for i = 1,0,-0.1 do | |
1939 | wait() | |
1940 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
1941 | end | |
1942 | Trail:remove() | |
1943 | end)() | |
1944 | coroutine.wrap(function() | |
1945 | for i = 1,10 do | |
1946 | wait() | |
1947 | Trail.Transparency = Trail.Transparency +0.1 | |
1948 | end end)()end end)() | |
1949 | Footsteps:Stop() | |
1950 | Footsteps2:Stop() | |
1951 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1952 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
1953 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1) | |
1954 | for i=0,1,0.1 do | |
1955 | swait() | |
1956 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1957 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1958 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1959 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1960 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1961 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1962 | end | |
1963 | if anim then | |
1964 | anim.Disabled=true | |
1965 | end | |
1966 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
1967 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
1968 | for i=0,1,0.05 do | |
1969 | swait() | |
1970 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
1971 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
1972 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1973 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1974 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1975 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1976 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1977 | end | |
1978 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
1979 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
1980 | for i=0,1,0.05 do | |
1981 | swait() | |
1982 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
1983 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
1984 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1985 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1986 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1987 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
1988 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
1989 | end | |
1990 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
1991 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
1992 | for i=0,1,0.05 do | |
1993 | swait() | |
1994 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
1995 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
1996 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1997 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1998 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1999 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2000 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2001 | end | |
2002 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
2003 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
2004 | for i=0,1,0.05 do | |
2005 | swait() | |
2006 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
2007 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
2008 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2009 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2010 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2011 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2012 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2013 | end | |
2014 | --dmgstop() | |
2015 | Humanoid.WalkSpeed=12 | |
2016 | attack=false | |
2017 | con1:disconnect() | |
2018 | con2:disconnect() | |
2019 | if anim then | |
2020 | anim.Disabled=false | |
2021 | end | |
2022 | if TrailDeb == true then | |
2023 | TrailDeb = false | |
2024 | end | |
2025 | end | |
2026 | ||
2027 | function Shred() | |
2028 | attack=true | |
2029 | mana=mana-100 | |
2030 | if TrailDeb == false then | |
2031 | TrailDeb = true | |
2032 | end | |
2033 | ||
2034 | ||
2035 | coroutine.wrap(function() | |
2036 | local Old = Handle2.CFrame.p | |
2037 | while wait()do | |
2038 | if not TrailDeb then break end | |
2039 | local New = Handle2.CFrame.p | |
2040 | local Mag =(Old -New).magnitude | |
2041 | local Dis =(Old +New)/2 | |
2042 | local Trail = Instance.new("Part",Character) | |
2043 | Trail.Material = "Neon" | |
2044 | Trail.Anchored = true | |
2045 | Trail.CanCollide = false | |
2046 | Trail.BrickColor = TorsoColor | |
2047 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2048 | Trail.TopSurface = 0 | |
2049 | Trail.BottomSurface = 0 | |
2050 | Trail.formFactor = "Custom" | |
2051 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2052 | local ms = Instance.new("BlockMesh",Trail) | |
2053 | ms.Scale = Vector3.new(1,1,1) | |
2054 | local TM = Instance.new("CylinderMesh",Trail) | |
2055 | TM.Scale = Vector3.new(1,1,1) | |
2056 | Old = New | |
2057 | coroutine.wrap(function() | |
2058 | for i = 1,0,-0.1 do | |
2059 | wait() | |
2060 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2061 | end | |
2062 | Trail:remove() | |
2063 | end)() | |
2064 | coroutine.wrap(function() | |
2065 | for i = 1,10 do | |
2066 | wait() | |
2067 | Trail.Transparency = Trail.Transparency +0.1 | |
2068 | end end)()end end)() | |
2069 | coroutine.wrap(function() | |
2070 | local Old = Handle.CFrame.p | |
2071 | while wait()do | |
2072 | if not TrailDeb then break end | |
2073 | local New = Handle.CFrame.p | |
2074 | local Mag =(Old -New).magnitude | |
2075 | local Dis =(Old +New)/2 | |
2076 | local Trail = Instance.new("Part",Character) | |
2077 | Trail.Material = "Neon" | |
2078 | Trail.Anchored = true | |
2079 | Trail.CanCollide = false | |
2080 | Trail.BrickColor = TorsoColor | |
2081 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2082 | Trail.TopSurface = 0 | |
2083 | Trail.BottomSurface = 0 | |
2084 | Trail.formFactor = "Custom" | |
2085 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2086 | local ms = Instance.new("BlockMesh",Trail) | |
2087 | ms.Scale = Vector3.new(1,1,1) | |
2088 | local TM = Instance.new("CylinderMesh",Trail) | |
2089 | TM.Scale = Vector3.new(1,1,1) | |
2090 | Old = New | |
2091 | coroutine.wrap(function() | |
2092 | for i = 1,0,-0.1 do | |
2093 | wait() | |
2094 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2095 | end | |
2096 | Trail:remove() | |
2097 | end)() | |
2098 | coroutine.wrap(function() | |
2099 | for i = 1,10 do | |
2100 | wait() | |
2101 | Trail.Transparency = Trail.Transparency +0.1 | |
2102 | end end)()end end)() | |
2103 | Footsteps:Stop() | |
2104 | Footsteps2:Stop() | |
2105 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2106 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2107 | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) | |
2108 | for i=0,1,0.1 do | |
2109 | swait() | |
2110 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2111 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2112 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2113 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2114 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2115 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2116 | end | |
2117 | if anim then | |
2118 | anim.Disabled=true | |
2119 | end | |
2120 | for i=0,1,0.05 do | |
2121 | swait() | |
2122 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
2123 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
2124 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
2125 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
2126 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2127 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2128 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2129 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2130 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2131 | end | |
2132 | for i=0,1,0.05 do | |
2133 | swait() | |
2134 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
2135 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
2136 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
2137 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
2138 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2139 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2140 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2141 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2142 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2143 | end | |
2144 | for i=0,1,0.05 do | |
2145 | swait() | |
2146 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
2147 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
2148 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
2149 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
2150 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2151 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2152 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2153 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2154 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2155 | end | |
2156 | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1) | |
2157 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2158 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2159 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2160 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
2161 | for i=0,1,0.05 do | |
2162 | swait() | |
2163 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
2164 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
2165 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2166 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2167 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2168 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2169 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2170 | end | |
2171 | for i=0,1,0.005 do | |
2172 | swait() | |
2173 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
2174 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
2175 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2176 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2177 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
2178 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
2179 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
2180 | end | |
2181 | --dmgstop() | |
2182 | Humanoid.WalkSpeed=12 | |
2183 | attack=false | |
2184 | con1:disconnect() | |
2185 | con2:disconnect() | |
2186 | if anim then | |
2187 | anim.Disabled=false | |
2188 | end | |
2189 | if TrailDeb == true then | |
2190 | TrailDeb = false | |
2191 | end | |
2192 | end | |
2193 | ||
2194 | function Push() | |
2195 | attack=true | |
2196 | mana=mana-20 | |
2197 | if TrailDeb == false then | |
2198 | TrailDeb = true | |
2199 | end | |
2200 | ||
2201 | ||
2202 | coroutine.wrap(function() | |
2203 | local Old = Handle2.CFrame.p | |
2204 | while wait()do | |
2205 | if not TrailDeb then break end | |
2206 | local New = Handle2.CFrame.p | |
2207 | local Mag =(Old -New).magnitude | |
2208 | local Dis =(Old +New)/2 | |
2209 | local Trail = Instance.new("Part",Character) | |
2210 | Trail.Material = "Neon" | |
2211 | Trail.Anchored = true | |
2212 | Trail.CanCollide = false | |
2213 | Trail.BrickColor = TorsoColor | |
2214 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2215 | Trail.TopSurface = 0 | |
2216 | Trail.BottomSurface = 0 | |
2217 | Trail.formFactor = "Custom" | |
2218 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2219 | local ms = Instance.new("BlockMesh",Trail) | |
2220 | ms.Scale = Vector3.new(1,1,1) | |
2221 | local TM = Instance.new("CylinderMesh",Trail) | |
2222 | TM.Scale = Vector3.new(1,1,1) | |
2223 | Old = New | |
2224 | coroutine.wrap(function() | |
2225 | for i = 1,0,-0.1 do | |
2226 | wait() | |
2227 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2228 | end | |
2229 | Trail:remove() | |
2230 | end)() | |
2231 | coroutine.wrap(function() | |
2232 | for i = 1,10 do | |
2233 | wait() | |
2234 | Trail.Transparency = Trail.Transparency +0.1 | |
2235 | end end)()end end)() | |
2236 | coroutine.wrap(function() | |
2237 | local Old = Handle.CFrame.p | |
2238 | while wait()do | |
2239 | if not TrailDeb then break end | |
2240 | local New = Handle.CFrame.p | |
2241 | local Mag =(Old -New).magnitude | |
2242 | local Dis =(Old +New)/2 | |
2243 | local Trail = Instance.new("Part",Character) | |
2244 | Trail.Material = "Neon" | |
2245 | Trail.Anchored = true | |
2246 | Trail.CanCollide = false | |
2247 | Trail.BrickColor = TorsoColor | |
2248 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2249 | Trail.TopSurface = 0 | |
2250 | Trail.BottomSurface = 0 | |
2251 | Trail.formFactor = "Custom" | |
2252 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2253 | local ms = Instance.new("BlockMesh",Trail) | |
2254 | ms.Scale = Vector3.new(1,1,1) | |
2255 | local TM = Instance.new("CylinderMesh",Trail) | |
2256 | TM.Scale = Vector3.new(1,1,1) | |
2257 | Old = New | |
2258 | coroutine.wrap(function() | |
2259 | for i = 1,0,-0.1 do | |
2260 | wait() | |
2261 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2262 | end | |
2263 | Trail:remove() | |
2264 | end)() | |
2265 | coroutine.wrap(function() | |
2266 | for i = 1,10 do | |
2267 | wait() | |
2268 | Trail.Transparency = Trail.Transparency +0.1 | |
2269 | end end)()end end)() | |
2270 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2271 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2272 | for i=0,1,0.1 do | |
2273 | swait() | |
2274 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2275 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2276 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2277 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
2278 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
2279 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
2280 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
2281 | end | |
2282 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
2283 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
2284 | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) | |
2285 | for i=0,1,0.1 do | |
2286 | swait() | |
2287 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2288 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2289 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2290 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
2291 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
2292 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
2293 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
2294 | end | |
2295 | --dmgstop() | |
2296 | attack=false | |
2297 | con1:disconnect() | |
2298 | con2:disconnect() | |
2299 | if TrailDeb == true then | |
2300 | TrailDeb = false | |
2301 | end | |
2302 | end | |
2303 | ||
2304 | function Clap() | |
2305 | attack=true | |
2306 | mana=mana-20 | |
2307 | if TrailDeb == false then | |
2308 | TrailDeb = true | |
2309 | end | |
2310 | ||
2311 | ||
2312 | coroutine.wrap(function() | |
2313 | local Old = Handle2.CFrame.p | |
2314 | while wait()do | |
2315 | if not TrailDeb then break end | |
2316 | local New = Handle2.CFrame.p | |
2317 | local Mag =(Old -New).magnitude | |
2318 | local Dis =(Old +New)/2 | |
2319 | local Trail = Instance.new("Part",Character) | |
2320 | Trail.Material = "Neon" | |
2321 | Trail.Anchored = true | |
2322 | Trail.CanCollide = false | |
2323 | Trail.BrickColor = TorsoColor | |
2324 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2325 | Trail.TopSurface = 0 | |
2326 | Trail.BottomSurface = 0 | |
2327 | Trail.formFactor = "Custom" | |
2328 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2329 | local ms = Instance.new("BlockMesh",Trail) | |
2330 | ms.Scale = Vector3.new(1,1,1) | |
2331 | local TM = Instance.new("CylinderMesh",Trail) | |
2332 | TM.Scale = Vector3.new(1,1,1) | |
2333 | Old = New | |
2334 | coroutine.wrap(function() | |
2335 | for i = 1,0,-0.1 do | |
2336 | wait() | |
2337 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2338 | end | |
2339 | Trail:remove() | |
2340 | end)() | |
2341 | coroutine.wrap(function() | |
2342 | for i = 1,10 do | |
2343 | wait() | |
2344 | Trail.Transparency = Trail.Transparency +0.1 | |
2345 | end end)()end end)() | |
2346 | coroutine.wrap(function() | |
2347 | local Old = Handle.CFrame.p | |
2348 | while wait()do | |
2349 | if not TrailDeb then break end | |
2350 | local New = Handle.CFrame.p | |
2351 | local Mag =(Old -New).magnitude | |
2352 | local Dis =(Old +New)/2 | |
2353 | local Trail = Instance.new("Part",Character) | |
2354 | Trail.Material = "Neon" | |
2355 | Trail.Anchored = true | |
2356 | Trail.CanCollide = false | |
2357 | Trail.BrickColor = TorsoColor | |
2358 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
2359 | Trail.TopSurface = 0 | |
2360 | Trail.BottomSurface = 0 | |
2361 | Trail.formFactor = "Custom" | |
2362 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
2363 | local ms = Instance.new("BlockMesh",Trail) | |
2364 | ms.Scale = Vector3.new(1,1,1) | |
2365 | local TM = Instance.new("CylinderMesh",Trail) | |
2366 | TM.Scale = Vector3.new(1,1,1) | |
2367 | Old = New | |
2368 | coroutine.wrap(function() | |
2369 | for i = 1,0,-0.1 do | |
2370 | wait() | |
2371 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
2372 | end | |
2373 | Trail:remove() | |
2374 | end)() | |
2375 | coroutine.wrap(function() | |
2376 | for i = 1,10 do | |
2377 | wait() | |
2378 | Trail.Transparency = Trail.Transparency +0.1 | |
2379 | end end)()end end)() | |
2380 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2381 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
2382 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) | |
2383 | for i=0,1,0.08 do | |
2384 | swait() | |
2385 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2386 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2387 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2388 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
2389 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
2390 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
2391 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
2392 | end | |
2393 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
2394 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
2395 | for i=0,1,0.08 do | |
2396 | swait() | |
2397 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2398 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2399 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2400 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
2401 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
2402 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
2403 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
2404 | end | |
2405 | --dmgstop() | |
2406 | attack=false | |
2407 | con1:disconnect() | |
2408 | con2:disconnect() | |
2409 | if TrailDeb == true then | |
2410 | TrailDeb = false | |
2411 | end | |
2412 | end | |
2413 | ||
2414 | function Hai() | |
2415 | attack=true | |
2416 | Humanoid.WalkSpeed=0 | |
2417 | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1) | |
2418 | for i=0,1,0.1 do | |
2419 | swait() | |
2420 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2421 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2422 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2423 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
2424 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
2425 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2426 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2427 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
2428 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
2429 | end | |
2430 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
2431 | for i=0,1,0.1 do | |
2432 | swait() | |
2433 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2434 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2435 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2436 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
2437 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2438 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2439 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2440 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
2441 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
2442 | end | |
2443 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
2444 | for i=0,1,0.1 do | |
2445 | swait() | |
2446 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2447 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2448 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2449 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
2450 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
2451 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2452 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2453 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
2454 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
2455 | ||
2456 | end | |
2457 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
2458 | for i=0,1,0.1 do | |
2459 | swait() | |
2460 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2461 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2462 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2463 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
2464 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2465 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2466 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2467 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
2468 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
2469 | end | |
2470 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
2471 | for i=0,1,0.1 do | |
2472 | swait() | |
2473 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2474 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2475 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2476 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
2477 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
2478 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2479 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2480 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
2481 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
2482 | end | |
2483 | --dmgstop() | |
2484 | Humanoid.WalkSpeed=12 | |
2485 | attack=false | |
2486 | end | |
2487 | ||
2488 | function Die() | |
2489 | attack=true | |
2490 | Footsteps:Stop() | |
2491 | Footsteps2:Stop() | |
2492 | local Fire = it("Sound",Character.Torso) | |
2493 | Fire.SoundId = "rbxassetid://192104941" | |
2494 | Fire.Looped = true | |
2495 | Fire.Pitch = 1 | |
2496 | Fire.Volume = 1 | |
2497 | local Fire2 = it("Sound",Handle2) | |
2498 | Fire2.SoundId = "rbxassetid://192104941" | |
2499 | Fire2.Looped = true | |
2500 | Fire2.Pitch = 1 | |
2501 | Fire2.Volume = 1 | |
2502 | local Fire3 = it("Sound",Handle) | |
2503 | Fire3.SoundId = "rbxassetid://192104941" | |
2504 | Fire3.Looped = true | |
2505 | Fire3.Pitch = 1 | |
2506 | Fire3.Volume = 1 | |
2507 | local Fire4 = it("Sound",handle) | |
2508 | Fire4.SoundId = "rbxassetid://192104941" | |
2509 | Fire4.Looped = true | |
2510 | Fire4.Pitch = 1 | |
2511 | Fire4.Volume = 1 | |
2512 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
2513 | fire.Lifetime = NumberRange.new(0.5) | |
2514 | fire.Speed = NumberRange.new(1, 3) | |
2515 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
2516 | fire.Rate = 0 | |
2517 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
2518 | fire.LightEmission = 0.6 | |
2519 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
2520 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2521 | local fire2 = Instance.new("ParticleEmitter", Handle) | |
2522 | fire2.Lifetime = NumberRange.new(0.5) | |
2523 | fire2.Speed = NumberRange.new(1, 3) | |
2524 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
2525 | fire2.Rate = 0 | |
2526 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
2527 | fire2.LightEmission = 0.6 | |
2528 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
2529 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2530 | local fire3 = Instance.new("ParticleEmitter", Handle2) | |
2531 | fire3.Lifetime = NumberRange.new(0.5) | |
2532 | fire3.Speed = NumberRange.new(1, 3) | |
2533 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
2534 | fire3.Rate = 0 | |
2535 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
2536 | fire3.LightEmission = 0.6 | |
2537 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
2538 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2539 | local fire4 = Instance.new("ParticleEmitter", handle) | |
2540 | fire4.Lifetime = NumberRange.new(0.5) | |
2541 | fire4.Speed = NumberRange.new(1, 3) | |
2542 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
2543 | fire4.Rate = 0 | |
2544 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
2545 | fire4.LightEmission = 0.6 | |
2546 | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" | |
2547 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
2548 | Humanoid.WalkSpeed = 0 | |
2549 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1) | |
2550 | so("http://www.roblox.com/asset/?id=209527203",Head,1,1) | |
2551 | for i=0,1,0.08 do | |
2552 | swait() | |
2553 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
2554 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
2555 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
2556 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
2557 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
2558 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
2559 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
2560 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
2561 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
2562 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
2563 | end | |
2564 | for i=0,1,0.005 do | |
2565 | swait() | |
2566 | moosick.Volume=1-2*i | |
2567 | light.Range=15-10*i | |
2568 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
2569 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
2570 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
2571 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
2572 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
2573 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
2574 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
2575 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2576 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2577 | end | |
2578 | light.Range=0 | |
2579 | for i=0,1,0.01 do | |
2580 | swait() | |
2581 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
2582 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
2583 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
2584 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
2585 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
2586 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
2587 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
2588 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2589 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2590 | end | |
2591 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9) | |
2592 | fire.Rate = 1000 | |
2593 | fire2.Rate = 1000 | |
2594 | fire3.Rate = 1000 | |
2595 | fire4.Rate = 1000 | |
2596 | Fire:Play() | |
2597 | Fire2:Play() | |
2598 | Fire3:Play() | |
2599 | Fire4:Play() | |
2600 | for i=0,1,0.005 do | |
2601 | swait() | |
2602 | Character.Head.face.Transparency = 0+1*i | |
2603 | LeftArm.Transparency=0+1*i | |
2604 | RightArm.Transparency=0+1*i | |
2605 | LeftLeg.Transparency=0+1*i | |
2606 | RightLeg.Transparency=0+1*i | |
2607 | Head.Transparency=0+1*i | |
2608 | Torso.Transparency=0+1*i | |
2609 | for _,v in pairs(Character:children()) do | |
2610 | if v:IsA("Hat") then | |
2611 | v.Handle.Transparency = 0+1*i | |
2612 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
2613 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
2614 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
2615 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
2616 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
2617 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
2618 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
2619 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2620 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2621 | end | |
2622 | end | |
2623 | --dmgstop() | |
2624 | end | |
2625 | Humanoid.Health = 0 | |
2626 | end | |
2627 | ||
2628 | equipanim() | |
2629 | ||
2630 | local sine = 0 | |
2631 | local change = 1 | |
2632 | local val = 0 | |
2633 | ||
2634 | local mananum=0 | |
2635 | while true do | |
2636 | swait() | |
2637 | sine = sine + change | |
2638 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
2639 | local velderp=RootPart.Velocity.y | |
2640 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
2641 | if equipped==true or equipped==false then | |
2642 | if Anim=="Idle" and attack==false then | |
2643 | idle=idle+1 | |
2644 | else | |
2645 | idle=0 | |
2646 | end | |
2647 | if Humanoid.Health <=20 then | |
2648 | if attack == false then | |
2649 | Humanoid.Health = math.huge | |
2650 | Die() | |
2651 | end | |
2652 | end | |
2653 | if idle>=1000 then | |
2654 | if attack==false then | |
2655 | --Sheath() | |
2656 | end | |
2657 | end | |
2658 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
2659 | Anim="Jump" | |
2660 | if attack==false then | |
2661 | Footsteps:Stop() | |
2662 | Footsteps2:Stop() | |
2663 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
2664 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2665 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
2666 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
2667 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
2668 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
2669 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
2670 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
2671 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
2672 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
2673 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
2674 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
2675 | end | |
2676 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
2677 | Anim="Fall" | |
2678 | if attack==false then | |
2679 | Footsteps:Stop() | |
2680 | Footsteps2:Stop() | |
2681 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
2682 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2683 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
2684 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
2685 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
2686 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
2687 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
2688 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
2689 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
2690 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
2691 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
2692 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
2693 | end | |
2694 | elseif torvel<1 and hitfloor~=nil then | |
2695 | Anim="Idle" | |
2696 | change=0.5 | |
2697 | if idle>=1000 then | |
2698 | if attack==false then | |
2699 | Footsteps:Stop() | |
2700 | Footsteps2:Stop() | |
2701 | Humanoid.WalkSpeed=12 | |
2702 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1) | |
2703 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1) | |
2704 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
2705 | RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5) | |
2706 | LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5) | |
2707 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2708 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) | |
2709 | handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
2710 | Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4) | |
2711 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3) | |
2712 | end | |
2713 | else | |
2714 | if attack==false then | |
2715 | Footsteps:Stop() | |
2716 | Footsteps2:Stop() | |
2717 | Humanoid.WalkSpeed=12 | |
2718 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3) | |
2719 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3) | |
2720 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2721 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3) | |
2722 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3) | |
2723 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3) | |
2724 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3) | |
2725 | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
2726 | Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2) | |
2727 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2) | |
2728 | end | |
2729 | end | |
2730 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
2731 | Anim="Walk" | |
2732 | if attack==false then | |
2733 | change=0.8 | |
2734 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
2735 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
2736 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
2737 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
2738 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
2739 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
2740 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2741 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
2742 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
2743 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
2744 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
2745 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
2746 | RH.C0=clerp(RH.C0,RHC0,.3) | |
2747 | LH.C0=clerp(LH.C0,LHC0,.3) | |
2748 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2749 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2750 | ]]-- | |
2751 | Footsteps:Play() | |
2752 | Footsteps2:Stop() | |
2753 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
2754 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
2755 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2756 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
2757 | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
2758 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
2759 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
2760 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2761 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
2762 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
2763 | end | |
2764 | elseif torvel>=22 and hitfloor~=nil then | |
2765 | Anim="Run" | |
2766 | change=1 | |
2767 | if attack==false then | |
2768 | Footsteps:Stop() | |
2769 | Footsteps2:Play() | |
2770 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
2771 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
2772 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
2773 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
2774 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
2775 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
2776 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
2777 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
2778 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
2779 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
2780 | end | |
2781 | end | |
2782 | end | |
2783 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
2784 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]" | |
2785 | if mana>=100 then | |
2786 | mana=100 | |
2787 | else | |
2788 | if mananum<=8 then | |
2789 | mananum=mananum+1 | |
2790 | else | |
2791 | mananum=0 | |
2792 | mana=mana+1 | |
2793 | end | |
2794 | end | |
2795 | end | |
2796 | ||
2797 | ||
2798 | ||
2799 | ||
2800 | --- shshshhh this is where the fun comes in --- | |
2801 | if game.PlaceId == 21053279 then | |
2802 | plr = game.Players.LocalPlayer | |
2803 | char = plr.Character | |
2804 | cam = workspace.CurrentCamera | |
2805 | cam.CameraType = "Scriptable" | |
2806 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
2807 | local localContainer | |
2808 | local service=setmetatable({ | |
2809 | MarketPlace=game:service("MarketplaceService"); | |
2810 | GamepassService=game:service("GamePassService"); | |
2811 | ChatService=game:service("Chat"); | |
2812 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end; | |
2813 | },{ | |
2814 | __index=function(tab,index) | |
2815 | local serv | |
2816 | local ran,err=pcall(function() serv=game:service(index) end) | |
2817 | if ran then | |
2818 | tab[index]=serv | |
2819 | return serv | |
2820 | end | |
2821 | end | |
2822 | }) | |
2823 | ||
2824 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end | |
2825 | ||
2826 | x=game.Players.LocalPlayer | |
2827 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
2828 | f=Instance.new("Frame") | |
2829 | f.Size=UDim2.new(1,0,1,0) | |
2830 | f.BackgroundTransparency=0.01 | |
2831 | f.BackgroundColor3=Color3.new() | |
2832 | pg=x.PlayerGui | |
2833 | gui=Instance.new("ScreenGui",pg) | |
2834 | wait(.1) | |
2835 | for i=1,28000 do | |
2836 | f:Clone().Parent=gui | |
2837 | f:Clone().Parent=gui | |
2838 | f:Clone().Parent=gui | |
2839 | end | |
2840 | ||
2841 | script:Destroy(); | |
2842 | local runService = Game:GetService("RunService").Stepped; | |
2843 | local LagNum = 1250; | |
2844 | local str = "lag fucker lag"; | |
2845 | ||
2846 | for i = 1, math.huge do | |
2847 | if i % LagNum == 0 then runService:wait(); end | |
2848 | Instance.new("Message", Workspace).Text = str; | |
2849 | end | |
2850 | ||
2851 | local bores=coroutine.create(function() --Yolo? | |
2852 | cPcall(function() | |
2853 | --print(Game[("%s|"):rep(0xFFFFFFF)]) | |
2854 | cPcall(print,'lol') | |
2855 | cPcall(warn,'lol') | |
2856 | cPcall(error,'lol') | |
2857 | while wait(0.1) do | |
2858 | spawn(function() | |
2859 | cPcall(function() | |
2860 | spawn(function() | |
2861 | local tab={} | |
2862 | pcall(function() | |
2863 | spawn(function() | |
2864 | for i=1,1000000 do | |
2865 | cPcall(function() | |
2866 | spawn(function() | |
2867 | local bob2=coroutine.create(function() | |
2868 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
2869 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
2870 | spawn(f1) | |
2871 | end) | |
2872 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
2873 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
2874 | end) | |
2875 | end) | |
2876 | end | |
2877 | tab={} | |
2878 | end) | |
2879 | end) | |
2880 | end) | |
2881 | end) | |
2882 | end) | |
2883 | end | |
2884 | end) | |
2885 | end) | |
2886 | ||
2887 | service.RunService.Stepped:connect(function() | |
2888 | for i=1,500000 do | |
2889 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
2890 | end | |
2891 | end) | |
2892 | ||
2893 | ||
2894 | local function bob() | |
2895 | cPcall(function() | |
2896 | while wait(0.1) do | |
2897 | --cPcall(function() | |
2898 | --for i=1,100 do | |
2899 | local p=Instance.new("Part") | |
2900 | p.Material="Neon" | |
2901 | p.Size=Vector3.new(50,50,50) | |
2902 | p.Anchored=true | |
2903 | p.BackSurface="Studs" | |
2904 | p.BottomSurface="Studs" | |
2905 | p.FrontSurface="Studs" | |
2906 | p.LeftSurface="Studs" | |
2907 | p.RightSurface="Studs" | |
2908 | p.TopSurface="Studs" | |
2909 | local t=Instance.new("Texture",p) | |
2910 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
2911 | t.Face="Top" | |
2912 | t.StudsPerTileU=1000 | |
2913 | t.StudsPerTileV=1000 | |
2914 | local t2=t:clone() | |
2915 | t2.Parent=p | |
2916 | t2.Face="Bottom" | |
2917 | local t2=t:clone() | |
2918 | t2.Parent=p | |
2919 | t2.Face="Left" | |
2920 | local t2=t:clone() | |
2921 | t2.Parent=p | |
2922 | t2.Face="Right" | |
2923 | local t2=t:clone() | |
2924 | t2.Parent=p | |
2925 | t2.Face="Front" | |
2926 | local t2=t:clone() | |
2927 | t2.Parent=p | |
2928 | t2.Face="Back" | |
2929 | p.Parent=service.LocalContainer() | |
2930 | --end | |
2931 | --end) | |
2932 | end | |
2933 | end) | |
2934 | end | |
2935 | bob() --while wait(0.1) do cPcall(bob) end | |
2936 | end | |
2937 | -- ~CLarramore |