SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end | |
5 | --|| CREATED BY SHACKLUSTER | |
6 | --\\====================================================//-- | |
7 | Me = game.Players.LocalPlayer | |
8 | char = Me.Character | |
9 | larm = char["Left Arm"] | |
10 | rarm = char["Right Arm"] | |
11 | lleg = char["Left Leg"] | |
12 | rleg = char["Right Leg"] | |
13 | torso = char.Torso | |
14 | ||
15 | lleg.Transparency = 1 | |
16 | rleg.Transparency = 1 | |
17 | larm.Transparency = 1 | |
18 | rarm.Transparency = 1 | |
19 | torso.Transparency = 1 | |
20 | ||
21 | ||
22 | ||
23 | ||
24 | - | ------------------------------------------------------------------ Player ------------------------------------------------------------------- |
24 | + | |
25 | larm1.Name = "Middle" | |
26 | - | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- |
26 | + | |
27 | larm1.Size = Vector3.new(1, 2, 1) | |
28 | larm1.CanCollide = false | |
29 | larm1.BottomSurface = "Smooth" | |
30 | larm1.TopSurface = "Smooth" | |
31 | larm1.Material = "Neon" | |
32 | Weld = Instance.new("Weld",larm) | |
33 | Weld.Part0 = larm | |
34 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
35 | Weld.Part1 = larm1 | |
36 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
37 | ||
38 | larm2 = Instance.new("Part", char) | |
39 | larm2.BrickColor = BrickColor.new("Really black") | |
40 | larm2.Size = Vector3.new(1, 0.4, 1) | |
41 | larm2.CanCollide = false | |
42 | larm2.BottomSurface = "Smooth" | |
43 | larm2.TopSurface = "Smooth" | |
44 | Weld = Instance.new("Weld",larm) | |
45 | Weld.Part0 = larm | |
46 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
47 | Weld.Part1 = larm2 | |
48 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
49 | ||
50 | larm3 = Instance.new("Part", char) | |
51 | larm3.BrickColor = BrickColor.new("Really black") | |
52 | larm3.Size = Vector3.new(1, 0.4, 1) | |
53 | larm3.CanCollide = false | |
54 | larm3.BottomSurface = "Smooth" | |
55 | larm3.TopSurface = "Smooth" | |
56 | Weld = Instance.new("Weld",larm) | |
57 | Weld.Part0 = larm | |
58 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
59 | Weld.Part1 = larm3 | |
60 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
61 | ||
62 | larm4 = Instance.new("Part", char) | |
63 | larm4.BrickColor = BrickColor.new("Really black") | |
64 | larm4.Size = Vector3.new(1, 0.4, 1) | |
65 | larm4.CanCollide = false | |
66 | larm4.BottomSurface = "Smooth" | |
67 | larm4.TopSurface = "Smooth" | |
68 | Weld = Instance.new("Weld",larm) | |
69 | Weld.Part0 = larm | |
70 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
71 | Weld.Part1 = larm4 | |
72 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
73 | ||
74 | larm5 = Instance.new("Part", char) | |
75 | larm5.BrickColor = BrickColor.new("Really black") | |
76 | larm5.Size = Vector3.new(1, 0.4, 1) | |
77 | larm5.CanCollide = false | |
78 | larm5.BottomSurface = "Smooth" | |
79 | larm5.TopSurface = "Smooth" | |
80 | Weld = Instance.new("Weld",larm) | |
81 | Weld.Part0 = larm | |
82 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
83 | Weld.Part1 = larm5 | |
84 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
85 | ||
86 | larm6 = Instance.new("Part", char) | |
87 | larm6.BrickColor = BrickColor.new("Really black") | |
88 | larm6.Size = Vector3.new(1, 0.4, 1) | |
89 | larm6.CanCollide = false | |
90 | larm6.BottomSurface = "Smooth" | |
91 | larm6.TopSurface = "Smooth" | |
92 | Mesh = Instance.new("SpecialMesh", larm6) | |
93 | Mesh.MeshType = "Brick" | |
94 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
95 | Weld = Instance.new("Weld",larm) | |
96 | Weld.Part0 = larm | |
97 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
98 | Weld.Part1 = larm6 | |
99 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
100 | ||
101 | larm7 = Instance.new("Part", char) | |
102 | larm7.BrickColor = BrickColor.new("Institutional white") | |
103 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
104 | larm7.CanCollide = false | |
105 | larm7.BottomSurface = "Smooth" | |
106 | larm7.TopSurface = "Smooth" | |
107 | larm7.Material = "Neon" | |
108 | Weld = Instance.new("Weld",larm) | |
109 | Weld.Part0 = larm | |
110 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
111 | Weld.Part1 = larm7 | |
112 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
113 | ||
114 | larm8 = Instance.new("Part", char) | |
115 | larm8.BrickColor = BrickColor.new("Really black") | |
116 | larm8.Size = Vector3.new(1, 0.4, 1) | |
117 | larm8.CanCollide = false | |
118 | larm8.BottomSurface = "Smooth" | |
119 | larm8.TopSurface = "Smooth" | |
120 | Weld = Instance.new("Weld",larm) | |
121 | Weld.Part0 = larm | |
122 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
123 | Weld.Part1 = larm8 | |
124 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
125 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
126 | rarm1 = Instance.new("Part", char) | |
127 | rarm1.Name = "Middle" | |
128 | rarm1.BrickColor = BrickColor.new("Institutional white") | |
129 | rarm1.Size = Vector3.new(1, 2, 1) | |
130 | rarm1.CanCollide = false | |
131 | rarm1.BottomSurface = "Smooth" | |
132 | rarm1.TopSurface = "Smooth" | |
133 | rarm1.Material = "Neon" | |
134 | Weld = Instance.new("Weld",rarm) | |
135 | Weld.Part0 = rarm | |
136 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
137 | Weld.Part1 = rarm1 | |
138 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
139 | ||
140 | rarm2 = Instance.new("Part", char) | |
141 | rarm2.BrickColor = BrickColor.new("Really black") | |
142 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
143 | rarm2.CanCollide = false | |
144 | rarm2.BottomSurface = "Smooth" | |
145 | rarm2.TopSurface = "Smooth" | |
146 | Weld = Instance.new("Weld",rarm) | |
147 | Weld.Part0 = rarm | |
148 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
149 | Weld.Part1 = rarm2 | |
150 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
151 | ||
152 | rarm3 = Instance.new("Part", char) | |
153 | rarm3.BrickColor = BrickColor.new("Really black") | |
154 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
155 | rarm3.CanCollide = false | |
156 | rarm3.BottomSurface = "Smooth" | |
157 | rarm3.TopSurface = "Smooth" | |
158 | Weld = Instance.new("Weld",rarm) | |
159 | Weld.Part0 = rarm | |
160 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
161 | Weld.Part1 = rarm3 | |
162 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
163 | ||
164 | rarm4 = Instance.new("Part", char) | |
165 | rarm4.BrickColor = BrickColor.new("Really black") | |
166 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
167 | rarm4.CanCollide = false | |
168 | rarm4.BottomSurface = "Smooth" | |
169 | rarm4.TopSurface = "Smooth" | |
170 | Weld = Instance.new("Weld",rarm) | |
171 | Weld.Part0 = rarm | |
172 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
173 | Weld.Part1 = rarm4 | |
174 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
175 | ||
176 | rarm5 = Instance.new("Part", char) | |
177 | rarm5.BrickColor = BrickColor.new("Really black") | |
178 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
179 | rarm5.CanCollide = false | |
180 | rarm5.BottomSurface = "Smooth" | |
181 | rarm5.TopSurface = "Smooth" | |
182 | Mesh = Instance.new("SpecialMesh", rarm5) | |
183 | Mesh.MeshType = "Brick" | |
184 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
185 | Weld = Instance.new("Weld",rarm) | |
186 | Weld.Part0 = rarm | |
187 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
188 | Weld.Part1 = rarm5 | |
189 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
190 | ||
191 | rarm6 = Instance.new("Part", char) | |
192 | rarm6.BrickColor = BrickColor.new("Really black") | |
193 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
194 | rarm6.CanCollide = false | |
195 | rarm6.BottomSurface = "Smooth" | |
196 | rarm6.TopSurface = "Smooth" | |
197 | Weld = Instance.new("Weld",rarm) | |
198 | Weld.Part0 = rarm | |
199 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
200 | Weld.Part1 = rarm6 | |
201 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
202 | ||
203 | rarm7 = Instance.new("Part", char) | |
204 | rarm7.BrickColor = BrickColor.new("Institutional white") | |
205 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
206 | rarm7.CanCollide = false | |
207 | rarm7.BottomSurface = "Smooth" | |
208 | rarm7.TopSurface = "Smooth" | |
209 | rarm7.Material = "Neon" | |
210 | Weld = Instance.new("Weld",rarm) | |
211 | Weld.Part0 = rarm | |
212 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
213 | Weld.Part1 = rarm7 | |
214 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
215 | ||
216 | rarm8 = Instance.new("Part", char) | |
217 | rarm8.BrickColor = BrickColor.new("Really black") | |
218 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
219 | rarm8.CanCollide = false | |
220 | rarm8.BottomSurface = "Smooth" | |
221 | rarm8.TopSurface = "Smooth" | |
222 | Weld = Instance.new("Weld",rarm) | |
223 | Weld.Part0 = rarm | |
224 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
225 | Weld.Part1 = rarm8 | |
226 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
227 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
228 | lleg1 = Instance.new("Part", char) | |
229 | lleg1.Name = "Middle" | |
230 | lleg1.BrickColor = BrickColor.new("Institutional white") | |
231 | lleg1.Size = Vector3.new(1, 2, 1) | |
232 | lleg1.CanCollide = false | |
233 | lleg1.BottomSurface = "Smooth" | |
234 | lleg1.TopSurface = "Smooth" | |
235 | lleg1.Material = "Neon" | |
236 | Weld = Instance.new("Weld",lleg) | |
237 | Weld.Part0 = lleg | |
238 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
239 | Weld.Part1 = lleg1 | |
240 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
241 | ||
242 | lleg2 = Instance.new("Part", char) | |
243 | lleg2.BrickColor = BrickColor.new("Really black") | |
244 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
245 | lleg2.CanCollide = false | |
246 | lleg2.BottomSurface = "Smooth" | |
247 | lleg2.TopSurface = "Smooth" | |
248 | Weld = Instance.new("Weld",lleg) | |
249 | Weld.Part0 = lleg | |
250 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
251 | Weld.Part1 = lleg2 | |
252 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
253 | ||
254 | lleg3 = Instance.new("Part", char) | |
255 | lleg3.BrickColor = BrickColor.new("Really black") | |
256 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
257 | lleg3.CanCollide = false | |
258 | lleg3.BottomSurface = "Smooth" | |
259 | lleg3.TopSurface = "Smooth" | |
260 | Weld = Instance.new("Weld",lleg) | |
261 | Weld.Part0 = lleg | |
262 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
263 | Weld.Part1 = lleg3 | |
264 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
265 | ||
266 | lleg4 = Instance.new("Part", char) | |
267 | lleg4.BrickColor = BrickColor.new("Really black") | |
268 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
269 | lleg4.CanCollide = false | |
270 | lleg4.BottomSurface = "Smooth" | |
271 | lleg4.TopSurface = "Smooth" | |
272 | Weld = Instance.new("Weld",lleg) | |
273 | Weld.Part0 = lleg | |
274 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
275 | Weld.Part1 = lleg4 | |
276 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
277 | ||
278 | lleg5 = Instance.new("Part", char) | |
279 | lleg5.BrickColor = BrickColor.new("Really black") | |
280 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
281 | lleg5.CanCollide = false | |
282 | lleg5.BottomSurface = "Smooth" | |
283 | lleg5.TopSurface = "Smooth" | |
284 | Weld = Instance.new("Weld",lleg) | |
285 | Weld.Part0 = lleg | |
286 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
287 | Weld.Part1 = lleg5 | |
288 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
289 | ||
290 | lleg6 = Instance.new("Part", char) | |
291 | lleg6.BrickColor = BrickColor.new("Really black") | |
292 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
293 | lleg6.CanCollide = false | |
294 | lleg6.BottomSurface = "Smooth" | |
295 | lleg6.TopSurface = "Smooth" | |
296 | Weld = Instance.new("Weld",lleg) | |
297 | Weld.Part0 = lleg | |
298 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
299 | Weld.Part1 = lleg6 | |
300 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
301 | ||
302 | lleg7 = Instance.new("Part", char) | |
303 | lleg7.BrickColor = BrickColor.new("Really black") | |
304 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
305 | lleg7.CanCollide = false | |
306 | lleg7.BottomSurface = "Smooth" | |
307 | lleg7.TopSurface = "Smooth" | |
308 | Weld = Instance.new("Weld",lleg) | |
309 | Weld.Part0 = lleg | |
310 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
311 | Weld.Part1 = lleg7 | |
312 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
313 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
314 | rleg1 = Instance.new("Part", char) | |
315 | rleg1.Name = "Middle" | |
316 | rleg1.BrickColor = BrickColor.new("Institutional white") | |
317 | rleg1.Size = Vector3.new(1, 2, 1) | |
318 | rleg1.CanCollide = false | |
319 | rleg1.BottomSurface = "Smooth" | |
320 | rleg1.TopSurface = "Smooth" | |
321 | rleg1.Material = "Neon" | |
322 | Weld = Instance.new("Weld",rleg) | |
323 | Weld.Part0 = rleg | |
324 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
325 | Weld.Part1 = rleg1 | |
326 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
327 | ||
328 | rleg2 = Instance.new("Part", char) | |
329 | rleg2.BrickColor = BrickColor.new("Really black") | |
330 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
331 | rleg2.CanCollide = false | |
332 | rleg2.BottomSurface = "Smooth" | |
333 | rleg2.TopSurface = "Smooth" | |
334 | Weld = Instance.new("Weld",rleg) | |
335 | Weld.Part0 = rleg | |
336 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
337 | Weld.Part1 = rleg2 | |
338 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
339 | ||
340 | rleg3 = Instance.new("Part", char) | |
341 | rleg3.BrickColor = BrickColor.new("Really black") | |
342 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
343 | rleg3.CanCollide = false | |
344 | rleg3.BottomSurface = "Smooth" | |
345 | rleg3.TopSurface = "Smooth" | |
346 | Weld = Instance.new("Weld",rleg) | |
347 | Weld.Part0 = rleg | |
348 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
349 | Weld.Part1 = rleg3 | |
350 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
351 | ||
352 | rleg4 = Instance.new("Part", char) | |
353 | rleg4.BrickColor = BrickColor.new("Really black") | |
354 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
355 | rleg4.CanCollide = false | |
356 | rleg4.BottomSurface = "Smooth" | |
357 | rleg4.TopSurface = "Smooth" | |
358 | Weld = Instance.new("Weld",rleg) | |
359 | Weld.Part0 = rleg | |
360 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
361 | Weld.Part1 = rleg4 | |
362 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
363 | ||
364 | rleg5 = Instance.new("Part", char) | |
365 | rleg5.BrickColor = BrickColor.new("Really black") | |
366 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
367 | rleg5.CanCollide = false | |
368 | rleg5.BottomSurface = "Smooth" | |
369 | rleg5.TopSurface = "Smooth" | |
370 | Weld = Instance.new("Weld",rleg) | |
371 | Weld.Part0 = rleg | |
372 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
373 | Weld.Part1 = rleg5 | |
374 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
375 | ||
376 | rleg6 = Instance.new("Part", char) | |
377 | rleg6.BrickColor = BrickColor.new("Really black") | |
378 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
379 | rleg6.CanCollide = false | |
380 | rleg6.BottomSurface = "Smooth" | |
381 | rleg6.TopSurface = "Smooth" | |
382 | Weld = Instance.new("Weld",rleg) | |
383 | Weld.Part0 = rleg | |
384 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
385 | Weld.Part1 = rleg6 | |
386 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
387 | ||
388 | rleg7 = Instance.new("Part", char) | |
389 | rleg7.BrickColor = BrickColor.new("Really black") | |
390 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
391 | rleg7.CanCollide = false | |
392 | rleg7.BottomSurface = "Smooth" | |
393 | rleg7.TopSurface = "Smooth" | |
394 | Weld = Instance.new("Weld",rleg) | |
395 | Weld.Part0 = rleg | |
396 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
397 | Weld.Part1 = rleg7 | |
398 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
399 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
400 | Chest1 = Instance.new("Part", char) | |
401 | Chest1.Name = "Ball" | |
402 | Chest1.BrickColor = BrickColor.new("Institutional white") | |
403 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
404 | Chest1.CanCollide = false | |
405 | Chest1.BottomSurface = "Smooth" | |
406 | Chest1.TopSurface = "Smooth" | |
407 | Chest1.Material = "Neon" | |
408 | Mesh = Instance.new("CylinderMesh", Chest1) | |
409 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
410 | Weld = Instance.new("Weld",torso) | |
411 | Weld.Part0 = torso | |
412 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
413 | Weld.Part1 = Chest1 | |
414 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
415 | ||
416 | Chest2 = Instance.new("Part", char) | |
417 | Chest2.BrickColor = BrickColor.new("Institutional white") | |
418 | Chest2.Name = "Middle" | |
419 | Chest2.Size = Vector3.new(2, 2, 1) | |
420 | Chest2.CanCollide = false | |
421 | Chest2.BottomSurface = "Smooth" | |
422 | Chest2.TopSurface = "Smooth" | |
423 | Chest2.Material = "Neon" | |
424 | Weld = Instance.new("Weld",torso) | |
425 | Weld.Part0 = torso | |
426 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
427 | Weld.Part1 = Chest2 | |
428 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
429 | ||
430 | Chest3 = Instance.new("Part", char) | |
431 | Chest3.BrickColor = BrickColor.new("Really black") | |
432 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
433 | Chest3.CanCollide = false | |
434 | Chest3.BottomSurface = "Smooth" | |
435 | Chest3.TopSurface = "Smooth" | |
436 | Weld = Instance.new("Weld",torso) | |
437 | Weld.Part0 = torso | |
438 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
439 | Weld.Part1 = Chest3 | |
440 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
441 | ||
442 | Chest4 = Instance.new("Part", char) | |
443 | Chest4.BrickColor = BrickColor.new("Really black") | |
444 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
445 | Chest4.CanCollide = false | |
446 | Chest4.BottomSurface = "Smooth" | |
447 | Chest4.TopSurface = "Smooth" | |
448 | Weld = Instance.new("Weld",torso) | |
449 | Weld.Part0 = torso | |
450 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
451 | Weld.Part1 = Chest4 | |
452 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
453 | ||
454 | Chest5 = Instance.new("Part", char) | |
455 | Chest5.BrickColor = BrickColor.new("Really black") | |
456 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
457 | Chest5.CanCollide = false | |
458 | Chest5.BottomSurface = "Smooth" | |
459 | Chest5.TopSurface = "Smooth" | |
460 | Weld = Instance.new("Weld",torso) | |
461 | Weld.Part0 = torso | |
462 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
463 | Weld.Part1 = Chest5 | |
464 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
465 | ||
466 | Chest6 = Instance.new("Part", char) | |
467 | Chest6.BrickColor = BrickColor.new("Really black") | |
468 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
469 | Chest6.CanCollide = false | |
470 | Chest6.BottomSurface = "Smooth" | |
471 | Chest6.TopSurface = "Smooth" | |
472 | Weld = Instance.new("Weld",torso) | |
473 | Weld.Part0 = torso | |
474 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
475 | Weld.Part1 = Chest6 | |
476 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
477 | ||
478 | Chest7 = Instance.new("Part", char) | |
479 | Chest7.BrickColor = BrickColor.new("Really black") | |
480 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
481 | Chest7.CanCollide = false | |
482 | Chest7.BottomSurface = "Smooth" | |
483 | Chest7.TopSurface = "Smooth" | |
484 | Weld = Instance.new("Weld",torso) | |
485 | Weld.Part0 = torso | |
486 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
487 | Weld.Part1 = Chest7 | |
488 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
489 | ||
490 | Chest8 = Instance.new("Part", char) | |
491 | Chest8.BrickColor = BrickColor.new("Really black") | |
492 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
493 | Chest8.CanCollide = false | |
494 | Chest8.BottomSurface = "Smooth" | |
495 | Chest8.TopSurface = "Smooth" | |
496 | Weld = Instance.new("Weld",torso) | |
497 | Weld.Part0 = torso | |
498 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
499 | Weld.Part1 = Chest8 | |
500 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
501 | ||
502 | Chest9 = Instance.new("Part", char) | |
503 | Chest9.BrickColor = BrickColor.new("Really black") | |
504 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
505 | Chest9.CanCollide = false | |
506 | Chest9.BottomSurface = "Smooth" | |
507 | Chest9.TopSurface = "Smooth" | |
508 | Weld = Instance.new("Weld",torso) | |
509 | Weld.Part0 = torso | |
510 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
511 | Weld.Part1 = Chest9 | |
512 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
513 | ||
514 | Chest10 = Instance.new("Part", char) | |
515 | Chest10.BrickColor = BrickColor.new("Really black") | |
516 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
517 | Chest10.CanCollide = false | |
518 | Chest10.BottomSurface = "Smooth" | |
519 | Chest10.TopSurface = "Smooth" | |
520 | Mesh = Instance.new("SpecialMesh", Chest10) | |
521 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
522 | Weld = Instance.new("Weld",torso) | |
523 | Weld.Part0 = torso | |
524 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
525 | Weld.Part1 = Chest10 | |
526 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
527 | ||
528 | Chest11 = Instance.new("Part", char) | |
529 | Chest11.BrickColor = BrickColor.new("Really black") | |
530 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
531 | Chest11.CanCollide = false | |
532 | Chest11.BottomSurface = "Smooth" | |
533 | Chest11.TopSurface = "Smooth" | |
534 | Weld = Instance.new("Weld",torso) | |
535 | Weld.Part0 = torso | |
536 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
537 | Weld.Part1 = Chest11 | |
538 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
539 | ||
540 | Chest12 = Instance.new("Part", char) | |
541 | Chest12.BrickColor = BrickColor.new("Really black") | |
542 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
543 | Chest12.CanCollide = false | |
544 | Chest12.BottomSurface = "Smooth" | |
545 | Chest12.TopSurface = "Smooth" | |
546 | Weld = Instance.new("Weld",torso) | |
547 | Weld.Part0 = torso | |
548 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
549 | Weld.Part1 = Chest12 | |
550 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
551 | ||
552 | Chest13 = Instance.new("Part", char) | |
553 | Chest13.BrickColor = BrickColor.new("Really black") | |
554 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
555 | Chest13.CanCollide = false | |
556 | Chest13.BottomSurface = "Smooth" | |
557 | Chest13.TopSurface = "Smooth" | |
558 | Weld = Instance.new("Weld",torso) | |
559 | Weld.Part0 = torso | |
560 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
561 | Weld.Part1 = Chest13 | |
562 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
563 | ||
564 | Chest14 = Instance.new("Part", char) | |
565 | Chest14.BrickColor = BrickColor.new("Really black") | |
566 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
567 | Chest14.CanCollide = false | |
568 | Chest14.BottomSurface = "Smooth" | |
569 | Chest14.TopSurface = "Smooth" | |
570 | Weld = Instance.new("Weld",torso) | |
571 | Weld.Part0 = torso | |
572 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
573 | Weld.Part1 = Chest14 | |
574 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
575 | ||
576 | Chest15 = Instance.new("Part", char) | |
577 | Chest15.BrickColor = BrickColor.new("Really black") | |
578 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
579 | Chest15.CanCollide = false | |
580 | Chest15.BottomSurface = "Smooth" | |
581 | Chest15.TopSurface = "Smooth" | |
582 | Weld = Instance.new("Weld",torso) | |
583 | Weld.Part0 = torso | |
584 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
585 | Weld.Part1 = Chest15 | |
586 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
587 | ||
588 | Chest16 = Instance.new("Part", char) | |
589 | Chest16.BrickColor = BrickColor.new("Really black") | |
590 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
591 | Chest16.CanCollide = false | |
592 | Chest16.BottomSurface = "Smooth" | |
593 | Chest16.TopSurface = "Smooth" | |
594 | Weld = Instance.new("Weld",torso) | |
595 | Weld.Part0 = torso | |
596 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
597 | Weld.Part1 = Chest16 | |
598 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
599 | ||
600 | Chest17 = Instance.new("Part", char) | |
601 | Chest17.BrickColor = BrickColor.new("Really black") | |
602 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
603 | Chest17.CanCollide = false | |
604 | Chest17.BottomSurface = "Smooth" | |
605 | Chest17.TopSurface = "Smooth" | |
606 | Weld = Instance.new("Weld",torso) | |
607 | Weld.Part0 = torso | |
608 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
609 | Weld.Part1 = Chest17 | |
610 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
611 | ||
612 | Chest18 = Instance.new("Part", char) | |
613 | Chest18.BrickColor = BrickColor.new("Really black") | |
614 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
615 | Chest18.CanCollide = false | |
616 | Chest18.BottomSurface = "Smooth" | |
617 | Chest18.TopSurface = "Smooth" | |
618 | Weld = Instance.new("Weld",torso) | |
619 | Weld.Part0 = torso | |
620 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
621 | Weld.Part1 = Chest18 | |
622 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
623 | ||
624 | Chest19 = Instance.new("Part", char) | |
625 | Chest19.BrickColor = BrickColor.new("Really black") | |
626 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
627 | Chest19.CanCollide = false | |
628 | Chest19.BottomSurface = "Smooth" | |
629 | Chest19.TopSurface = "Smooth" | |
630 | Weld = Instance.new("Weld",torso) | |
631 | Weld.Part0 = torso | |
632 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
633 | Weld.Part1 = Chest19 | |
634 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
635 | ||
636 | Chest20 = Instance.new("Part", char) | |
637 | Chest20.BrickColor = BrickColor.new("Really black") | |
638 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
639 | Chest20.CanCollide = false | |
640 | Chest20.BottomSurface = "Smooth" | |
641 | Chest20.TopSurface = "Smooth" | |
642 | Mesh = Instance.new("SpecialMesh",Chest20) | |
643 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
644 | Weld = Instance.new("Weld",torso) | |
645 | Weld.Part0 = torso | |
646 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
647 | Weld.Part1 = Chest20 | |
648 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
649 | ||
650 | Chest21 = Instance.new("Part", char) | |
651 | Chest21.BrickColor = BrickColor.new("Really black") | |
652 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
653 | Chest21.CanCollide = false | |
654 | Chest21.BottomSurface = "Smooth" | |
655 | Chest21.TopSurface = "Smooth" | |
656 | Weld = Instance.new("Weld",torso) | |
657 | Weld.Part0 = torso | |
658 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
659 | Weld.Part1 = Chest21 | |
660 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
661 | ||
662 | Chest22 = Instance.new("Part", char) | |
663 | Chest22.BrickColor = BrickColor.new("Really black") | |
664 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
665 | Chest22.CanCollide = false | |
666 | Chest22.BottomSurface = "Smooth" | |
667 | Chest22.TopSurface = "Smooth" | |
668 | Weld = Instance.new("Weld",torso) | |
669 | Weld.Part0 = torso | |
670 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
671 | Weld.Part1 = Chest22 | |
672 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
673 | ||
674 | Chest23 = Instance.new("Part", char) | |
675 | Chest23.BrickColor = BrickColor.new("Really black") | |
676 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
677 | Chest23.CanCollide = false | |
678 | Chest23.BottomSurface = "Smooth" | |
679 | Chest23.TopSurface = "Smooth" | |
680 | Weld = Instance.new("Weld",torso) | |
681 | Weld.Part0 = torso | |
682 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
683 | Weld.Part1 = Chest23 | |
684 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
685 | ||
686 | Chest24 = Instance.new("Part", char) | |
687 | Chest24.BrickColor = BrickColor.new("Really black") | |
688 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
689 | Chest24.CanCollide = false | |
690 | Chest24.BottomSurface = "Smooth" | |
691 | Chest24.TopSurface = "Smooth" | |
692 | Weld = Instance.new("Weld",torso) | |
693 | Weld.Part0 = torso | |
694 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
695 | Weld.Part1 = Chest24 | |
696 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
697 | wait(0.2) | |
698 | ||
699 | Player = game:GetService("Players").LocalPlayer | |
700 | PlayerGui = Player.PlayerGui | |
701 | Cam = workspace.CurrentCamera | |
702 | Backpack = Player.Backpack | |
703 | Character = Player.Character | |
704 | Humanoid = Character.Humanoid | |
705 | Mouse = Player:GetMouse() | |
706 | RootPart = Character["HumanoidRootPart"] | |
707 | Torso = Character["Torso"] | |
708 | Head = Character["Head"] | |
709 | RightArm = Character["Right Arm"] | |
710 | LeftArm = Character["Left Arm"] | |
711 | RightLeg = Character["Right Leg"] | |
712 | LeftLeg = Character["Left Leg"] | |
713 | RootJoint = RootPart["RootJoint"] | |
714 | Neck = Torso["Neck"] | |
715 | RightShoulder = Torso["Right Shoulder"] | |
716 | LeftShoulder = Torso["Left Shoulder"] | |
717 | RightHip = Torso["Right Hip"] | |
718 | LeftHip = Torso["Left Hip"] | |
719 | ||
720 | IT = Instance.new | |
721 | CF = CFrame.new | |
722 | VT = Vector3.new | |
723 | RAD = math.rad | |
724 | C3 = Color3.new | |
725 | UD2 = UDim2.new | |
726 | BRICKC = BrickColor.new | |
727 | ANGLES = CFrame.Angles | |
728 | EULER = CFrame.fromEulerAnglesXYZ | |
729 | COS = math.cos | |
730 | ACOS = math.acos | |
731 | SIN = math.sin | |
732 | ASIN = math.asin | |
733 | ABS = math.abs | |
734 | MRANDOM = math.random | |
735 | FLOOR = math.floor | |
736 | ||
737 | --//=================================\\ | |
738 | --|| USEFUL VALUES | |
739 | --\\=================================// | |
740 | ||
741 | Animation_Speed = 3 | |
742 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
743 | local Speed = 16 | |
744 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
745 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
746 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
747 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
748 | local DAMAGEMULTIPLIER = 1 | |
749 | local ANIM = "Idle" | |
750 | local ATTACK = false | |
751 | local EQUIPPED = false | |
752 | local HOLD = false | |
753 | local COMBO = 1 | |
754 | local Rooted = false | |
755 | local SINE = 0 | |
756 | local KEYHOLD = false | |
757 | local CHANGE = 2 / Animation_Speed | |
758 | local WALKINGANIM = false | |
759 | local VALUE1 = false | |
760 | local VALUE2 = false | |
761 | local ROBLOXIDLEANIMATION = IT("Animation") | |
762 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
763 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
764 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
765 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
766 | WEAPONGUI.Name = "Weapon GUI" | |
767 | local Weapon = IT("Model") | |
768 | Weapon.Name = "Adds" | |
769 | local Effects = IT("Folder", Weapon) | |
770 | Effects.Name = "Effects" | |
771 | local ANIMATOR = Humanoid.Animator | |
772 | local ANIMATE = Character.Animate | |
773 | local UNANCHOR = true | |
774 | ||
775 | --//=================================\\ | |
776 | --\\=================================// | |
777 | ||
778 | ||
779 | --//=================================\\ | |
780 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
781 | --\\=================================// | |
782 | ||
783 | ArtificialHB = Instance.new("BindableEvent", script) | |
784 | ArtificialHB.Name = "ArtificialHB" | |
785 | ||
786 | script:WaitForChild("ArtificialHB") | |
787 | ||
788 | frame = Frame_Speed | |
789 | tf = 0 | |
790 | allowframeloss = false | |
791 | tossremainder = false | |
792 | lastframe = tick() | |
793 | script.ArtificialHB:Fire() | |
794 | ||
795 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
796 | tf = tf + s | |
797 | if tf >= frame then | |
798 | if allowframeloss then | |
799 | script.ArtificialHB:Fire() | |
800 | lastframe = tick() | |
801 | else | |
802 | for i = 1, math.floor(tf / frame) do | |
803 | script.ArtificialHB:Fire() | |
804 | end | |
805 | lastframe = tick() | |
806 | end | |
807 | if tossremainder then | |
808 | tf = 0 | |
809 | else | |
810 | tf = tf - frame * math.floor(tf / frame) | |
811 | end | |
812 | end | |
813 | end) | |
814 | ||
815 | --//=================================\\ | |
816 | --\\=================================// | |
817 | ||
818 | --//=================================\\ | |
819 | --|| SOME FUNCTIONS | |
820 | --\\=================================// | |
821 | ||
822 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
823 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
824 | end | |
825 | ||
826 | function PositiveAngle(NUMBER) | |
827 | if NUMBER >= 0 then | |
828 | NUMBER = 0 | |
829 | end | |
830 | return NUMBER | |
831 | end | |
832 | ||
833 | function NegativeAngle(NUMBER) | |
834 | if NUMBER <= 0 then | |
835 | NUMBER = 0 | |
836 | end | |
837 | return NUMBER | |
838 | end | |
839 | ||
840 | function Swait(NUMBER) | |
841 | if NUMBER == 0 or NUMBER == nil then | |
842 | ArtificialHB.Event:wait() | |
843 | else | |
844 | for i = 1, NUMBER do | |
845 | ArtificialHB.Event:wait() | |
846 | end | |
847 | end | |
848 | end | |
849 | ||
850 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
851 | local NEWMESH = IT(MESH) | |
852 | if MESH == "SpecialMesh" then | |
853 | NEWMESH.MeshType = MESHTYPE | |
854 | if MESHID ~= "nil" and MESHID ~= "" then | |
855 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
856 | end | |
857 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
858 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
859 | end | |
860 | end | |
861 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
862 | NEWMESH.Scale = SCALE | |
863 | NEWMESH.Parent = PARENT | |
864 | return NEWMESH | |
865 | end | |
866 | ||
867 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
868 | local NEWPART = IT("Part") | |
869 | NEWPART.formFactor = FORMFACTOR | |
870 | NEWPART.Reflectance = REFLECTANCE | |
871 | NEWPART.Transparency = TRANSPARENCY | |
872 | NEWPART.CanCollide = false | |
873 | NEWPART.Locked = true | |
874 | NEWPART.Anchored = true | |
875 | if ANCHOR == false then | |
876 | NEWPART.Anchored = false | |
877 | end | |
878 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
879 | NEWPART.Name = NAME | |
880 | NEWPART.Size = SIZE | |
881 | NEWPART.Position = Torso.Position | |
882 | NEWPART.Material = MATERIAL | |
883 | NEWPART:BreakJoints() | |
884 | NEWPART.Parent = PARENT | |
885 | return NEWPART | |
886 | end | |
887 | ||
888 | local function weldBetween(a, b) | |
889 | local weldd = Instance.new("ManualWeld") | |
890 | weldd.Part0 = a | |
891 | weldd.Part1 = b | |
892 | weldd.C0 = CFrame.new() | |
893 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
894 | weldd.Parent = a | |
895 | return weldd | |
896 | end | |
897 | ||
898 | ||
899 | function QuaternionFromCFrame(cf) | |
900 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
901 | local trace = m00 + m11 + m22 | |
902 | if trace > 0 then | |
903 | local s = math.sqrt(1 + trace) | |
904 | local recip = 0.5 / s | |
905 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
906 | else | |
907 | local i = 0 | |
908 | if m11 > m00 then | |
909 | i = 1 | |
910 | end | |
911 | if m22 > (i == 0 and m00 or m11) then | |
912 | i = 2 | |
913 | end | |
914 | if i == 0 then | |
915 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
916 | local recip = 0.5 / s | |
917 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
918 | elseif i == 1 then | |
919 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
920 | local recip = 0.5 / s | |
921 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
922 | elseif i == 2 then | |
923 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
924 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
925 | end | |
926 | end | |
927 | end | |
928 | ||
929 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
930 | local xs, ys, zs = x + x, y + y, z + z | |
931 | local wx, wy, wz = w * xs, w * ys, w * zs | |
932 | local xx = x * xs | |
933 | local xy = x * ys | |
934 | local xz = x * zs | |
935 | local yy = y * ys | |
936 | local yz = y * zs | |
937 | local zz = z * zs | |
938 | 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)) | |
939 | end | |
940 | ||
941 | function QuaternionSlerp(a, b, t) | |
942 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
943 | local startInterp, finishInterp; | |
944 | if cosTheta >= 0.0001 then | |
945 | if (1 - cosTheta) > 0.0001 then | |
946 | local theta = ACOS(cosTheta) | |
947 | local invSinTheta = 1 / SIN(theta) | |
948 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
949 | finishInterp = SIN(t * theta) * invSinTheta | |
950 | else | |
951 | startInterp = 1 - t | |
952 | finishInterp = t | |
953 | end | |
954 | else | |
955 | if (1 + cosTheta) > 0.0001 then | |
956 | local theta = ACOS(-cosTheta) | |
957 | local invSinTheta = 1 / SIN(theta) | |
958 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
959 | finishInterp = SIN(t * theta) * invSinTheta | |
960 | else | |
961 | startInterp = t - 1 | |
962 | finishInterp = t | |
963 | end | |
964 | end | |
965 | 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 | |
966 | end | |
967 | ||
968 | function Clerp(a, b, t) | |
969 | local qa = {QuaternionFromCFrame(a)} | |
970 | local qb = {QuaternionFromCFrame(b)} | |
971 | local ax, ay, az = a.x, a.y, a.z | |
972 | local bx, by, bz = b.x, b.y, b.z | |
973 | local _t = 1 - t | |
974 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
975 | end | |
976 | ||
977 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
978 | local frame = IT("Frame") | |
979 | frame.BackgroundTransparency = TRANSPARENCY | |
980 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
981 | frame.Position = POSITION | |
982 | frame.Size = SIZE | |
983 | frame.BackgroundColor3 = COLOR | |
984 | frame.BorderColor3 = BORDERCOLOR | |
985 | frame.Name = NAME | |
986 | frame.Parent = PARENT | |
987 | return frame | |
988 | end | |
989 | ||
990 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
991 | local label = IT("TextLabel") | |
992 | label.BackgroundTransparency = 1 | |
993 | label.Size = UD2(1, 0, 1, 0) | |
994 | label.Position = UD2(0, 0, 0, 0) | |
995 | label.TextColor3 = TEXTCOLOR | |
996 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
997 | label.TextTransparency = TRANSPARENCY | |
998 | label.FontSize = TEXTFONTSIZE | |
999 | label.Font = TEXTFONT | |
1000 | label.BorderSizePixel = BORDERSIZEPIXEL | |
1001 | label.TextScaled = false | |
1002 | label.Text = TEXT | |
1003 | label.Name = NAME | |
1004 | label.Parent = PARENT | |
1005 | return label | |
1006 | end | |
1007 | ||
1008 | function NoOutlines(PART) | |
1009 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
1010 | end | |
1011 | ||
1012 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
1013 | local NEWWELD = IT(TYPE) | |
1014 | NEWWELD.Part0 = PART0 | |
1015 | NEWWELD.Part1 = PART1 | |
1016 | NEWWELD.C0 = C0 | |
1017 | NEWWELD.C1 = C1 | |
1018 | NEWWELD.Parent = PARENT | |
1019 | return NEWWELD | |
1020 | end | |
1021 | ||
1022 | local S = IT("Sound") | |
1023 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
1024 | local NEWSOUND = nil | |
1025 | coroutine.resume(coroutine.create(function() | |
1026 | NEWSOUND = S:Clone() | |
1027 | NEWSOUND.Parent = PARENT | |
1028 | NEWSOUND.Volume = VOLUME | |
1029 | NEWSOUND.Pitch = PITCH | |
1030 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1031 | NEWSOUND:play() | |
1032 | if DOESLOOP == true then | |
1033 | NEWSOUND.Looped = true | |
1034 | else | |
1035 | repeat wait(1) until NEWSOUND.Playing == false | |
1036 | NEWSOUND:remove() | |
1037 | end | |
1038 | end)) | |
1039 | return NEWSOUND | |
1040 | end | |
1041 | ||
1042 | function CFrameFromTopBack(at, top, back) | |
1043 | local right = top:Cross(back) | |
1044 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
1045 | end | |
1046 | ||
1047 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1048 | function WACKYEFFECT(Table) | |
1049 | local TYPE = (Table.EffectType or "Sphere") | |
1050 | local SIZE = (Table.Size or VT(1,1,1)) | |
1051 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
1052 | local TRANSPARENCY = (Table.Transparency or 0) | |
1053 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1054 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1055 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1056 | local ROTATION1 = (Table.RotationX or 0) | |
1057 | local ROTATION2 = (Table.RotationY or 0) | |
1058 | local ROTATION3 = (Table.RotationZ or 0) | |
1059 | local MATERIAL = (Table.Material or "Neon") | |
1060 | local COLOR = (Table.Color or C3(1,1,1)) | |
1061 | local TIME = (Table.Time or 45) | |
1062 | local SOUNDID = (Table.SoundID or nil) | |
1063 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1064 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1065 | coroutine.resume(coroutine.create(function() | |
1066 | local PLAYSSOUND = false | |
1067 | local SOUND = nil | |
1068 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1069 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1070 | PLAYSSOUND = true | |
1071 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1072 | end | |
1073 | EFFECT.Color = COLOR | |
1074 | local MSH = nil | |
1075 | if TYPE == "Sphere" then | |
1076 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1077 | elseif TYPE == "Block" then | |
1078 | MSH = IT("BlockMesh",EFFECT) | |
1079 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
1080 | elseif TYPE == "Wave" then | |
1081 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1082 | elseif TYPE == "Ring" then | |
1083 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1084 | elseif TYPE == "Slash" then | |
1085 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1086 | elseif TYPE == "Round Slash" then | |
1087 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1088 | elseif TYPE == "Swirl" then | |
1089 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1090 | elseif TYPE == "Skull" then | |
1091 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1092 | elseif TYPE == "Crystal" then | |
1093 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1094 | end | |
1095 | if MSH ~= nil then | |
1096 | local MOVESPEED = nil | |
1097 | if MOVEDIRECTION ~= nil then | |
1098 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1099 | end | |
1100 | local GROWTH = SIZE - ENDSIZE | |
1101 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1102 | if TYPE == "Block" then | |
1103 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1104 | else | |
1105 | EFFECT.CFrame = CFRAME | |
1106 | end | |
1107 | for LOOP = 1, TIME+1 do | |
1108 | Swait() | |
1109 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1110 | if TYPE == "Wave" then | |
1111 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1112 | end | |
1113 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1114 | if TYPE == "Block" then | |
1115 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1116 | else | |
1117 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1118 | end | |
1119 | if MOVEDIRECTION ~= nil then | |
1120 | local ORI = EFFECT.Orientation | |
1121 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1122 | EFFECT.Orientation = ORI | |
1123 | end | |
1124 | end | |
1125 | if PLAYSSOUND == false then | |
1126 | EFFECT:remove() | |
1127 | else | |
1128 | repeat Swait() until SOUND.Playing == false | |
1129 | EFFECT:remove() | |
1130 | end | |
1131 | else | |
1132 | if PLAYSSOUND == false then | |
1133 | EFFECT:remove() | |
1134 | else | |
1135 | repeat Swait() until SOUND.Playing == false | |
1136 | EFFECT:remove() | |
1137 | end | |
1138 | end | |
1139 | end)) | |
1140 | end | |
1141 | ||
1142 | function MakeForm(PART,TYPE) | |
1143 | if TYPE == "Cyl" then | |
1144 | local MSH = IT("CylinderMesh",PART) | |
1145 | elseif TYPE == "Ball" then | |
1146 | local MSH = IT("SpecialMesh",PART) | |
1147 | MSH.MeshType = "Sphere" | |
1148 | elseif TYPE == "Wedge" then | |
1149 | local MSH = IT("SpecialMesh",PART) | |
1150 | MSH.MeshType = "Wedge" | |
1151 | end | |
1152 | end | |
1153 | ||
1154 | Debris = game:GetService("Debris") | |
1155 | ||
1156 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1157 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1158 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1159 | end | |
1160 | ||
1161 | function CharacterFade(COLOR,TIMER) | |
1162 | coroutine.resume(coroutine.create(function() | |
1163 | local FADE = IT("Model",Effects) | |
1164 | for _, c in pairs(Character:GetChildren()) do | |
1165 | if c.ClassName == "Part" and c ~= RootPart then | |
1166 | local FADER = c:Clone() | |
1167 | FADER.Color = COLOR | |
1168 | FADER.CFrame = c.CFrame | |
1169 | FADER.Parent = FADE | |
1170 | FADER.Anchored = true | |
1171 | FADER.Transparency = 0.25 | |
1172 | FADER:BreakJoints() | |
1173 | FADER.Material = "Glass" | |
1174 | FADER:ClearAllChildren() | |
1175 | if FADER.Name == "Head" then | |
1176 | FADER.Size = VT(1,1,1) | |
1177 | end | |
1178 | end | |
1179 | end | |
1180 | local TRANS = 0.75/TIMER | |
1181 | for i = 1, TIMER do | |
1182 | Swait() | |
1183 | for _, c in pairs(FADE:GetChildren()) do | |
1184 | if c.ClassName == "Part" then | |
1185 | c.Transparency = c.Transparency + TRANS | |
1186 | end | |
1187 | end | |
1188 | end | |
1189 | FADE:remove() | |
1190 | end)) | |
1191 | end | |
1192 | ||
1193 | local PE=Instance.new("ParticleEmitter") | |
1194 | PE.LightEmission=0.3 | |
1195 | PE.Size=NumberSequence.new(0) | |
1196 | PE.Transparency=NumberSequence.new(0,1) | |
1197 | PE.Rotation=NumberRange.new(0,360) | |
1198 | PE.LockedToPart = false | |
1199 | PE.Speed = NumberRange.new(0,0,0) | |
1200 | PE.ZOffset = 0.3 | |
1201 | PE.Rate = 999 | |
1202 | PE.VelocitySpread = 25 | |
1203 | PE.Name = "Particles" | |
1204 | ||
1205 | function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed) | |
1206 | local particle = nil | |
1207 | coroutine.resume(coroutine.create(function(PART) | |
1208 | particle = PE:Clone() | |
1209 | Swait() | |
1210 | particle.Rate = 999 | |
1211 | particle.Parent = art | |
1212 | particle.Acceleration = accel | |
1213 | if type == "Fire" then | |
1214 | local EyeSizes={ | |
1215 | NumberSequenceKeypoint.new(0,size,size/2), | |
1216 | NumberSequenceKeypoint.new(1,size/4,size/8) | |
1217 | } | |
1218 | particle.Size = NumberSequence.new(EyeSizes) | |
1219 | elseif type == "Smoke" then | |
1220 | local EyeSizes={ | |
1221 | NumberSequenceKeypoint.new(0,size/5,0), | |
1222 | NumberSequenceKeypoint.new(1,size*2,0.5) | |
1223 | } | |
1224 | particle.Size = NumberSequence.new(EyeSizes) | |
1225 | elseif type == "Solid" then | |
1226 | local EyeSizes={ | |
1227 | NumberSequenceKeypoint.new(0,size,0), | |
1228 | NumberSequenceKeypoint.new(1,size,0) | |
1229 | } | |
1230 | particle.Size = NumberSequence.new(EyeSizes) | |
1231 | end | |
1232 | particle.Lifetime=NumberRange.new(lifetime) | |
1233 | particle.Drag = drag | |
1234 | if locked == true then | |
1235 | particle.LockedToPart = true | |
1236 | end | |
1237 | particle.Speed = NumberRange.new(speed*0.8,speed) | |
1238 | particle.Texture = "http://www.roblox.com/asset/?id=1179557490" | |
1239 | particle.Enabled = isenabledbydefault | |
1240 | particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0)) | |
1241 | end)) | |
1242 | return particle | |
1243 | end | |
1244 | ||
1245 | --//=================================\\ | |
1246 | --|| RAGDOLL STUFF | |
1247 | --\\=================================// | |
1248 | ||
1249 | function recurse(root,callback,i) | |
1250 | i= i or 0 | |
1251 | for _,v in pairs(root:GetChildren()) do | |
1252 | i = i + 1 | |
1253 | callback(i,v) | |
1254 | ||
1255 | if #v:GetChildren() > 0 then | |
1256 | i = recurse(v,callback,i) | |
1257 | end | |
1258 | end | |
1259 | ||
1260 | return i | |
1261 | end | |
1262 | ||
1263 | function ragdollJoint(character, part0, part1, attachmentName, className, properties) | |
1264 | attachmentName = attachmentName.."RigAttachment" | |
1265 | local constraint = Instance.new(className.."Constraint") | |
1266 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
1267 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
1268 | constraint.Name = "RagdollConstraint"..part1.Name | |
1269 | ||
1270 | for _,propertyData in next,properties or {} do | |
1271 | constraint[propertyData[1]] = propertyData[2] | |
1272 | end | |
1273 | ||
1274 | constraint.Parent = character | |
1275 | end | |
1276 | ||
1277 | function getAttachment0(character, attachmentName) | |
1278 | for _,child in next,character:GetChildren() do | |
1279 | local attachment = child:FindFirstChild(attachmentName) | |
1280 | if attachment then | |
1281 | return attachment | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | ||
1286 | function ArtificialHitbox(Part) | |
1287 | local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false) | |
1288 | HITBOX.CanCollide = true | |
1289 | HITBOX.CFrame = Part.CFrame | |
1290 | weldBetween(Part,HITBOX) | |
1291 | end | |
1292 | ||
1293 | function R15Ragdoll(character,KeepArms) | |
1294 | character:BreakJoints() | |
1295 | coroutine.resume(coroutine.create(function() | |
1296 | recurse(character, function(_,v) | |
1297 | if v:IsA("Attachment") then | |
1298 | v.Axis = Vector3.new(0, 1, 0) | |
1299 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
1300 | v.Rotation = Vector3.new(0, 0, 0) | |
1301 | end | |
1302 | end) | |
1303 | for _,child in next,character:GetChildren() do | |
1304 | if child:IsA("Accoutrement") then | |
1305 | for _,part in next,child:GetChildren() do | |
1306 | if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then | |
1307 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
1308 | local attachment0 = getAttachment0(character,attachment1.Name) | |
1309 | if attachment0 and attachment1 then | |
1310 | local constraint = Instance.new("HingeConstraint") | |
1311 | constraint.Attachment0 = attachment0 | |
1312 | constraint.Attachment1 = attachment1 | |
1313 | constraint.LimitsEnabled = true | |
1314 | constraint.UpperAngle = 0 | |
1315 | constraint.LowerAngle = 0 | |
1316 | constraint.Parent = character | |
1317 | end | |
1318 | ArtificialHitbox(part) | |
1319 | elseif part.Name == "HumanoidRootPart" then | |
1320 | part:remove() | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | end | |
1325 | ||
1326 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
1327 | {"LimitsEnabled",true}; | |
1328 | {"UpperAngle",5}; | |
1329 | }) | |
1330 | if character:FindFirstChild("Head") then | |
1331 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", { | |
1332 | {"LimitsEnabled",true}; | |
1333 | {"UpperAngle",15}; | |
1334 | }) | |
1335 | end | |
1336 | ||
1337 | local handProperties = { | |
1338 | {"LimitsEnabled", true}; | |
1339 | {"UpperAngle",0}; | |
1340 | {"LowerAngle",0}; | |
1341 | } | |
1342 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1343 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
1344 | ||
1345 | local shinProperties = { | |
1346 | {"LimitsEnabled", true}; | |
1347 | {"UpperAngle", 0}; | |
1348 | {"LowerAngle", -75}; | |
1349 | } | |
1350 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1351 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1352 | ||
1353 | local footProperties = { | |
1354 | {"LimitsEnabled", true}; | |
1355 | {"UpperAngle", 15}; | |
1356 | {"LowerAngle", -45}; | |
1357 | } | |
1358 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1359 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1360 | if KeepArms == true then | |
1361 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
1362 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
1363 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
1364 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1365 | end | |
1366 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1367 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
1368 | Debris:AddItem(character,5) | |
1369 | end)) | |
1370 | end | |
1371 | ||
1372 | function Ragdoll(Character2,CharTorso,KeepArms) | |
1373 | coroutine.resume(coroutine.create(function() | |
1374 | Character2:BreakJoints() | |
1375 | local hum = Character2:findFirstChild("Humanoid") | |
1376 | hum:remove() | |
1377 | local function Scan(ch) | |
1378 | local e | |
1379 | for e = 1,#ch do | |
1380 | Scan(ch[e]:GetChildren()) | |
1381 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
1382 | ch[e]:remove() | |
1383 | end | |
1384 | end | |
1385 | end | |
1386 | local NEWHUM = IT("Humanoid") | |
1387 | NEWHUM.Name = "Corpse" | |
1388 | NEWHUM.Health = 0 | |
1389 | NEWHUM.MaxHealth = 0 | |
1390 | NEWHUM.PlatformStand = true | |
1391 | NEWHUM.Parent = Character2 | |
1392 | NEWHUM.DisplayDistanceType = "None" | |
1393 | ||
1394 | local ch = Character2:GetChildren() | |
1395 | local i | |
1396 | for i = 1,#ch do | |
1397 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
1398 | ch[i]:remove() | |
1399 | end | |
1400 | end | |
1401 | ||
1402 | local Torso2 = Character2.Torso | |
1403 | local movevector = Vector3.new() | |
1404 | ||
1405 | if Torso2 then | |
1406 | movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector | |
1407 | local Head = Character2:FindFirstChild("Head") | |
1408 | if Head then | |
1409 | local Neck = Instance.new("Weld") | |
1410 | Neck.Name = "Neck" | |
1411 | Neck.Part0 = Torso2 | |
1412 | Neck.Part1 = Head | |
1413 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
1414 | Neck.C1 = CFrame.new() | |
1415 | Neck.Parent = Torso2 | |
1416 | ||
1417 | end | |
1418 | local Limb = Character2:FindFirstChild("Right Arm") | |
1419 | if Limb and KeepArms == true then | |
1420 | ||
1421 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
1422 | local Joint = Instance.new("Glue") | |
1423 | Joint.Name = "RightShoulder" | |
1424 | Joint.Part0 = Torso2 | |
1425 | Joint.Part1 = Limb | |
1426 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1427 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1428 | Joint.Parent = Torso2 | |
1429 | ||
1430 | local B = Instance.new("Part") | |
1431 | B.TopSurface = 0 | |
1432 | B.BottomSurface = 0 | |
1433 | B.formFactor = "Symmetric" | |
1434 | B.Size = Vector3.new(1, 1, 1) | |
1435 | B.Transparency = 1 | |
1436 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1437 | B.Parent = Character2 | |
1438 | local W = Instance.new("Weld") | |
1439 | W.Part0 = Limb | |
1440 | W.Part1 = B | |
1441 | W.C0 = CFrame.new(0, -0.5, 0) | |
1442 | W.Parent = Limb | |
1443 | ||
1444 | end | |
1445 | local Limb = Character2:FindFirstChild("Left Arm") | |
1446 | if Limb and KeepArms == true then | |
1447 | ||
1448 | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) | |
1449 | local Joint = Instance.new("Glue") | |
1450 | Joint.Name = "LeftShoulder" | |
1451 | Joint.Part0 = Torso2 | |
1452 | Joint.Part1 = Limb | |
1453 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1454 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1455 | Joint.Parent = Torso2 | |
1456 | ||
1457 | local B = Instance.new("Part") | |
1458 | B.TopSurface = 0 | |
1459 | B.BottomSurface = 0 | |
1460 | B.formFactor = "Symmetric" | |
1461 | B.Size = Vector3.new(1, 1, 1) | |
1462 | B.Transparency = 1 | |
1463 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1464 | B.Parent = Character2 | |
1465 | local W = Instance.new("Weld") | |
1466 | W.Part0 = Limb | |
1467 | W.Part1 = B | |
1468 | W.C0 = CFrame.new(0, -0.5, 0) | |
1469 | W.Parent = Limb | |
1470 | ||
1471 | end | |
1472 | local Limb = Character2:FindFirstChild("Right Leg") | |
1473 | if Limb then | |
1474 | ||
1475 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
1476 | local Joint = Instance.new("Glue") | |
1477 | Joint.Name = "RightHip" | |
1478 | Joint.Part0 = Torso2 | |
1479 | Joint.Part1 = Limb | |
1480 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1481 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
1482 | Joint.Parent = Torso2 | |
1483 | ||
1484 | local B = Instance.new("Part") | |
1485 | B.TopSurface = 0 | |
1486 | B.BottomSurface = 0 | |
1487 | B.formFactor = "Symmetric" | |
1488 | B.Size = Vector3.new(1, 1, 1) | |
1489 | B.Transparency = 1 | |
1490 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1491 | B.Parent = Character2 | |
1492 | local W = Instance.new("Weld") | |
1493 | W.Part0 = Limb | |
1494 | W.Part1 = B | |
1495 | W.C0 = CFrame.new(0, -0.5, 0) | |
1496 | W.Parent = Limb | |
1497 | ||
1498 | end | |
1499 | local Limb = Character2:FindFirstChild("Left Leg") | |
1500 | if Limb then | |
1501 | ||
1502 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
1503 | local Joint = Instance.new("Glue") | |
1504 | Joint.Name = "LeftHip" | |
1505 | Joint.Part0 = Torso2 | |
1506 | Joint.Part1 = Limb | |
1507 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1508 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
1509 | Joint.Parent = Torso2 | |
1510 | ||
1511 | local B = Instance.new("Part") | |
1512 | B.TopSurface = 0 | |
1513 | B.BottomSurface = 0 | |
1514 | B.formFactor = "Symmetric" | |
1515 | B.Size = Vector3.new(1, 1, 1) | |
1516 | B.Transparency = 1 | |
1517 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1518 | B.Parent = Character2 | |
1519 | local W = Instance.new("Weld") | |
1520 | W.Part0 = Limb | |
1521 | W.Part1 = B | |
1522 | W.C0 = CFrame.new(0, -0.5, 0) | |
1523 | W.Parent = Limb | |
1524 | ||
1525 | end | |
1526 | --[ | |
1527 | local Bar = Instance.new("Part") | |
1528 | Bar.TopSurface = 0 | |
1529 | Bar.BottomSurface = 0 | |
1530 | Bar.formFactor = "Symmetric" | |
1531 | Bar.Size = Vector3.new(1, 1, 1) | |
1532 | Bar.Transparency = 1 | |
1533 | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) | |
1534 | Bar.Parent = Character2 | |
1535 | local Weld = Instance.new("Weld") | |
1536 | Weld.Part0 = Torso2 | |
1537 | Weld.Part1 = Bar | |
1538 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
1539 | Weld.Parent = Torso2 | |
1540 | --]] | |
1541 | end | |
1542 | Character2.Parent = workspace | |
1543 | Debris:AddItem(Character2,5) | |
1544 | ||
1545 | return Character2,Torso2 | |
1546 | end)) | |
1547 | end | |
1548 | ||
1549 | --//=================================\\ | |
1550 | --|| WEAPON CREATION | |
1551 | --\\=================================// | |
1552 | ||
1553 | local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0) | |
1554 | DUST.ZOffset = 1 | |
1555 | RightArm.Transparency = 1 | |
1556 | local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false) | |
1557 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1558 | local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false) | |
1559 | MakeForm(Sphere,"Ball") | |
1560 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1561 | local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0.3,0.3,0.1),false) | |
1562 | MakeForm(LaserPart,"Ball") | |
1563 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1564 | local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false) | |
1565 | MakeForm(Bump,"Ball") | |
1566 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1567 | local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0.4,0,0.4),false) | |
1568 | MakeForm(BottomLaser,"Cyl") | |
1569 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1570 | local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.5,0.5),false) | |
1571 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1572 | local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.5,0.5),false) | |
1573 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0)) | |
1574 | local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.5,0.5),false) | |
1575 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0)) | |
1576 | local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.56,0.5),false) | |
1577 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0)) | |
1578 | local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.56,0.5),false) | |
1579 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0)) | |
1580 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.25,0.5),false) | |
1581 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0)) | |
1582 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(0,0.3,0.5),false) | |
1583 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0)) | |
1584 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Part", VT(1.4,0,1.4),false) | |
1585 | MakeForm(Part,"Cyl") | |
1586 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1587 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false) | |
1588 | MakeForm(Part,"Cyl") | |
1589 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0)) | |
1590 | local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false) | |
1591 | MakeForm(Sphere,"Ball") | |
1592 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1593 | ||
1594 | for _, c in pairs(Weapon:GetChildren()) do | |
1595 | if c.ClassName == "Part" then | |
1596 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1597 | end | |
1598 | end | |
1599 | ||
1600 | local SKILLTEXTCOLOR = C3(1,0,0) | |
1601 | local SKILLFONT = "SciFi" | |
1602 | local SKILLTEXTSIZE = 5 | |
1603 | ||
1604 | Weapon.Parent = Character | |
1605 | ||
1606 | Humanoid.Died:connect(function() | |
1607 | ATTACK = true | |
1608 | end) | |
1609 | ||
1610 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1611 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1612 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1613 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1614 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1615 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1616 | ||
1617 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1") | |
1618 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2") | |
1619 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3") | |
1620 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4") | |
1621 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5") | |
1622 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6") | |
1623 | ||
1624 | --//=================================\\ | |
1625 | --|| ATTACK FUNCTIONS AND STUFF | |
1626 | --\\=================================// | |
1627 | ||
1628 | function Warp() | |
1629 | local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character) | |
1630 | if HITFLOOR then | |
1631 | CharacterFade(C3(0.5,0,0),50) | |
1632 | HITPOS = HITPOS + VT(0,3.5,0) | |
1633 | local POS = RootPart.Position | |
1634 | RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p) | |
1635 | CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false) | |
1636 | end | |
1637 | end | |
1638 | ||
1639 | function Dash() | |
1640 | ATTACK = true | |
1641 | Rooted = true | |
1642 | local SOUND = CreateSound(1165167610, Torso, 1, 1, true) | |
1643 | local LOOP = 0 | |
1644 | repeat | |
1645 | LOOP = LOOP + 1 | |
1646 | Swait() | |
1647 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace) | |
1648 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character) | |
1649 | if HITFLOOR then | |
1650 | CharacterFade(C3(0.5,0,0),35) | |
1651 | HITPOS = HITPOS + VT(0,3.5,0) | |
1652 | local POS = RootPart.Position | |
1653 | RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p) | |
1654 | RootPart.Velocity = VT(0,0,0) | |
1655 | RootPart.RotVelocity = VT(0,0,0) | |
1656 | end | |
1657 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1658 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1659 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1660 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1661 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1662 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1663 | until KEYHOLD == false | |
1664 | coroutine.resume(coroutine.create(function() | |
1665 | for i = 1, 20 do | |
1666 | Swait() | |
1667 | SOUND.Volume = SOUND.Volume - 1/20 | |
1668 | end | |
1669 | SOUND:remove() | |
1670 | end)) | |
1671 | if LOOP > 50 then | |
1672 | CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false) | |
1673 | for i = 1, 100 do | |
1674 | Swait() | |
1675 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3) | |
1676 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1677 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1678 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1679 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1680 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1681 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1682 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1683 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1684 | end | |
1685 | end | |
1686 | ATTACK = false | |
1687 | Rooted = false | |
1688 | end | |
1689 | ||
1690 | function LimbRip() | |
1691 | ATTACK = true | |
1692 | Rooted = false | |
1693 | local TARGET = nil | |
1694 | local ROOT = nil | |
1695 | local HUMAN = nil | |
1696 | local DIST = 4 | |
1697 | Speed = 12 | |
1698 | for i=0, 1, 0.1 / Animation_Speed do | |
1699 | Swait() | |
1700 | local CHILDREN = workspace:GetDescendants() | |
1701 | for index, CHILD in pairs(CHILDREN) do | |
1702 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1703 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1704 | if HUM then | |
1705 | local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1706 | if TORSO and HUM.Health > 0 then | |
1707 | if (TORSO.Position - RightArm.Position).Magnitude <= DIST then | |
1708 | DIST = (TORSO.Position - RightArm.Position).Magnitude | |
1709 | ROOT = TORSO | |
1710 | HUMAN = HUM | |
1711 | TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1712 | end | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | end | |
1717 | if ROOT then | |
1718 | break | |
1719 | end | |
1720 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1721 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
1722 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1723 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1724 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1725 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1726 | end | |
1727 | Speed = 16 | |
1728 | if ROOT then | |
1729 | CreateSound(305685800,Torso,5,1.3,false) | |
1730 | Rooted = true | |
1731 | local GORED = false | |
1732 | coroutine.resume(coroutine.create(function() | |
1733 | repeat | |
1734 | Swait() | |
1735 | ROOT.Anchored = true | |
1736 | until GORED == true | |
1737 | ROOT.Anchored = false | |
1738 | end)) | |
1739 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25) | |
1740 | if TARGET.Name == "Torso" then | |
1741 | local RARM = TARGET.Parent:FindFirstChild("Right Arm") | |
1742 | local LARM = TARGET.Parent:FindFirstChild("Left Arm") | |
1743 | if RARM and LARM then | |
1744 | for i=0, 1, 0.1 / Animation_Speed do | |
1745 | Swait() | |
1746 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1747 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1748 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1749 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1750 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1751 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1752 | end | |
1753 | for _, c in pairs(TARGET.Parent:GetDescendants()) do | |
1754 | if c:IsA("JointInstance") then | |
1755 | if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then | |
1756 | c:remove() | |
1757 | end | |
1758 | end | |
1759 | end | |
1760 | CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false) | |
1761 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1762 | CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1763 | for i=0, 1, 0.1 / Animation_Speed do | |
1764 | Swait() | |
1765 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1766 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1767 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1768 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1769 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1770 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1771 | end | |
1772 | for i=0, 1, 0.1 / Animation_Speed do | |
1773 | Swait() | |
1774 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1775 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1776 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1777 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1778 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed) | |
1779 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1780 | end | |
1781 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1782 | Swait() | |
1783 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1784 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1785 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1786 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1787 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed) | |
1788 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1789 | end | |
1790 | GORED = true | |
1791 | Ragdoll(TARGET.Parent,Torso) | |
1792 | if ROOT.Name ~= "Torso" then | |
1793 | ROOT:remove() | |
1794 | end | |
1795 | local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1796 | local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1797 | local bv = Instance.new("BodyVelocity",TARGET) | |
1798 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1799 | bv.velocity = TARGET.CFrame.lookVector*75 | |
1800 | Debris:AddItem(bv,0.05) | |
1801 | CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false) | |
1802 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1803 | Swait() | |
1804 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1805 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1806 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1807 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1808 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed) | |
1809 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1810 | end | |
1811 | for i=0, 1, 0.1 / Animation_Speed do | |
1812 | Swait() | |
1813 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1814 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1815 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed) | |
1816 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed) | |
1817 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1818 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1819 | end | |
1820 | local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false) | |
1821 | HITBOX.CFrame = RARM.CFrame | |
1822 | HITBOX.CanCollide = true | |
1823 | weldBetween(RARM,HITBOX) | |
1824 | local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false) | |
1825 | HITBOX.CFrame = LARM.CFrame | |
1826 | HITBOX.CanCollide = true | |
1827 | weldBetween(LARM,HITBOX) | |
1828 | RGRAB:remove() | |
1829 | LGRAB:remove() | |
1830 | for i=0, 0.4, 0.1 / Animation_Speed do | |
1831 | Swait() | |
1832 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1833 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1834 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1835 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1836 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1837 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1838 | end | |
1839 | end | |
1840 | elseif TARGET.Name == "UpperTorso" then | |
1841 | if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then | |
1842 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1843 | Swait() | |
1844 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1845 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1846 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1847 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1848 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1849 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1850 | end | |
1851 | local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false) | |
1852 | local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0)) | |
1853 | local BLADE = true | |
1854 | CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0)) | |
1855 | coroutine.resume(coroutine.create(function() | |
1856 | repeat | |
1857 | Swait() | |
1858 | WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25)) | |
1859 | until BLADE == false | |
1860 | SAWBLADE:remove() | |
1861 | end)) | |
1862 | CreateSound(1165167936, SAWBLADE, 2, 1, true) | |
1863 | for i=0, 1, 0.1 / Animation_Speed do | |
1864 | Swait() | |
1865 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1866 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1867 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1868 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1869 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1870 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1871 | end | |
1872 | for i=0, 3, 0.1 / Animation_Speed do | |
1873 | Swait() | |
1874 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1875 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1876 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) | |
1877 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1878 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1879 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1880 | end | |
1881 | CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false) | |
1882 | TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove() | |
1883 | for i=0, 1, 0.1 / Animation_Speed do | |
1884 | Swait() | |
1885 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed) | |
1886 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed) | |
1887 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1888 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1889 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1890 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1891 | end | |
1892 | for i=0, 3, 0.1 / Animation_Speed do | |
1893 | Swait() | |
1894 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed) | |
1895 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed) | |
1896 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) | |
1897 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1898 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1899 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1900 | end | |
1901 | CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false) | |
1902 | TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove() | |
1903 | BLADE = false | |
1904 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1905 | Swait() | |
1906 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1907 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1908 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1909 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1910 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed) | |
1911 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1912 | end | |
1913 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1914 | Swait() | |
1915 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1916 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1917 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1918 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1919 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed) | |
1920 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1921 | end | |
1922 | GORED = true | |
1923 | TARGET.Parent:BreakJoints() | |
1924 | R15Ragdoll(TARGET.Parent) | |
1925 | if ROOT.Name ~= "Torso" then | |
1926 | ROOT:remove() | |
1927 | end | |
1928 | local bv = Instance.new("BodyVelocity",TARGET) | |
1929 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1930 | bv.velocity = TARGET.CFrame.lookVector*75 | |
1931 | Debris:AddItem(bv,0.05) | |
1932 | CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false) | |
1933 | for i=0, 0.3, 0.1 / Animation_Speed do | |
1934 | Swait() | |
1935 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed) | |
1936 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed) | |
1937 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1938 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1939 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed) | |
1940 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1941 | end | |
1942 | end | |
1943 | end | |
1944 | end | |
1945 | ATTACK = false | |
1946 | Rooted = false | |
1947 | end | |
1948 | ||
1949 | function Buzzsaw() | |
1950 | ATTACK = true | |
1951 | Rooted = false | |
1952 | local ARMSPEED = 0.1 | |
1953 | local TARGET = nil | |
1954 | local ROOT = nil | |
1955 | local HUMAN = nil | |
1956 | local DIST = 4 | |
1957 | local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false) | |
1958 | local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0)) | |
1959 | local BLADE = true | |
1960 | CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0)) | |
1961 | coroutine.resume(coroutine.create(function() | |
1962 | repeat | |
1963 | Swait() | |
1964 | WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25)) | |
1965 | until BLADE == false | |
1966 | SAWBLADE:remove() | |
1967 | end)) | |
1968 | CreateSound(1165167936, SAWBLADE, 2, 1, true) | |
1969 | for i=0, 1, 0.1 / Animation_Speed do | |
1970 | Swait() | |
1971 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
1972 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
1973 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1974 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1975 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1976 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1977 | end | |
1978 | for i=0, 2, 0.1 / Animation_Speed do | |
1979 | Swait() | |
1980 | local CHILDREN = workspace:GetDescendants() | |
1981 | for index, CHILD in pairs(CHILDREN) do | |
1982 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1983 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1984 | if HUM then | |
1985 | local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1986 | if TORSO and HUM.Health > 0 then | |
1987 | if (TORSO.Position - RightArm.Position).Magnitude <= DIST then | |
1988 | DIST = (TORSO.Position - RightArm.Position).Magnitude | |
1989 | ROOT = TORSO | |
1990 | HUMAN = HUM | |
1991 | TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1992 | end | |
1993 | end | |
1994 | end | |
1995 | end | |
1996 | end | |
1997 | if ROOT then | |
1998 | break | |
1999 | end | |
2000 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2001 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2002 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed) | |
2003 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2004 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2005 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2006 | end | |
2007 | if ROOT then | |
2008 | ARMSPEED = 0.03 | |
2009 | Rooted = true | |
2010 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5) | |
2011 | repeat | |
2012 | HUMAN.Health = HUMAN.Health - 0.5 | |
2013 | Swait() | |
2014 | ROOT.Anchored = true | |
2015 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2016 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2017 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed) | |
2018 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2019 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2020 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2021 | until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0 | |
2022 | ROOT.Anchored = false | |
2023 | if HUMAN.Health == 0 then | |
2024 | if ROOT.Name ~= "Torso" then | |
2025 | ROOT:remove() | |
2026 | end | |
2027 | if TARGET.Name == "Torso" then | |
2028 | Ragdoll(HUMAN.Parent,Torso,true) | |
2029 | elseif TARGET.Name == "UpperTorso" then | |
2030 | R15Ragdoll(HUMAN.Parent,true) | |
2031 | end | |
2032 | end | |
2033 | end | |
2034 | BLADE = false | |
2035 | ATTACK = false | |
2036 | Rooted = false | |
2037 | end | |
2038 | ||
2039 | function ReeeEEEEEE() | |
2040 | ATTACK = true | |
2041 | Rooted = false | |
2042 | Speed = 12 | |
2043 | local FX = CreateSound(198165368, Head, 4, 0.5, false) | |
2044 | repeat | |
2045 | Swait() | |
2046 | FX.Parent = Head | |
2047 | local CHILDREN = workspace:GetDescendants() | |
2048 | for index, CHILD in pairs(CHILDREN) do | |
2049 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2050 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2051 | if HUM then | |
2052 | local TORSO = CHILD:FindFirstChild("Head") | |
2053 | if TORSO then | |
2054 | if (TORSO.Position - Head.Position).Magnitude <= 25 then | |
2055 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2056 | TORSO:remove() | |
2057 | if CHILD:FindFirstChild("Torso") then | |
2058 | Ragdoll(CHILD,Torso,true) | |
2059 | elseif CHILD:FindFirstChild("UpperTorso") then | |
2060 | R15Ragdoll(CHILD,true) | |
2061 | end | |
2062 | end | |
2063 | end | |
2064 | end | |
2065 | end | |
2066 | end | |
2067 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2068 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2069 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2070 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2071 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2072 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2073 | until FX.Playing == false | |
2074 | Speed = 16 | |
2075 | ATTACK = false | |
2076 | Rooted = false | |
2077 | end | |
2078 | ||
2079 | function Needle() | |
2080 | ATTACK = true | |
2081 | Rooted = true | |
2082 | local GYRO = IT("BodyGyro",RootPart) | |
2083 | GYRO.D = 2 | |
2084 | GYRO.P = 2000 | |
2085 | GYRO.MaxTorque = VT(0,4000000,0) | |
2086 | local NEEDGYRO = true | |
2087 | coroutine.resume(coroutine.create(function() | |
2088 | repeat | |
2089 | Swait() | |
2090 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
2091 | until NEEDGYRO == false | |
2092 | GYRO:Remove() | |
2093 | end)) | |
2094 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2095 | Swait() | |
2096 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2097 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2098 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2099 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2100 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2101 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2102 | end | |
2103 | for i=0, 1, 0.1 / Animation_Speed do | |
2104 | Swait() | |
2105 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2106 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed) | |
2107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2109 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2110 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2111 | end | |
2112 | local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character) | |
2113 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2}) | |
2114 | NEEDGYRO = false | |
2115 | if HIT then | |
2116 | local NEEDLE = IT("Model",Effects) | |
2117 | local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false) | |
2118 | MakeForm(BASE,"Cyl") | |
2119 | BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0) | |
2120 | weldBetween(BASE,HIT) | |
2121 | local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false) | |
2122 | MakeForm(FLUID,"Cyl") | |
2123 | FLUID.CFrame = BASE.CFrame | |
2124 | weldBetween(BASE,FLUID) | |
2125 | local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false) | |
2126 | PART.CFrame = BASE.CFrame*CF(0,0.4,0) | |
2127 | weldBetween(BASE,PART) | |
2128 | local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false) | |
2129 | PART.CFrame = BASE.CFrame*CF(0,-0.35,0) | |
2130 | weldBetween(BASE,PART) | |
2131 | local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false) | |
2132 | PART.CFrame = BASE.CFrame*CF(0,-0.4,0) | |
2133 | weldBetween(BASE,PART) | |
2134 | Debris:AddItem(NEEDLE,7) | |
2135 | if HIT.Parent:FindFirstChildOfClass("Humanoid") then | |
2136 | local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid") | |
2137 | coroutine.resume(coroutine.create(function() | |
2138 | for i = 1, 500 do | |
2139 | HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5 | |
2140 | if HUMAN.Health == 0 then | |
2141 | break | |
2142 | end | |
2143 | Swait(2) | |
2144 | end | |
2145 | if HUMAN.Health == 0 then | |
2146 | local CHILD = HUMAN.Parent | |
2147 | if CHILD:FindFirstChild("Torso") then | |
2148 | CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0)) | |
2149 | Ragdoll(CHILD,Torso,true) | |
2150 | elseif CHILD:FindFirstChild("UpperTorso") then | |
2151 | R15Ragdoll(CHILD,true) | |
2152 | end | |
2153 | end | |
2154 | end)) | |
2155 | end | |
2156 | end | |
2157 | for i=0, 1, 0.1 / Animation_Speed do | |
2158 | Swait() | |
2159 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2160 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed) | |
2161 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2162 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2163 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2164 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2165 | end | |
2166 | ATTACK = false | |
2167 | Rooted = false | |
2168 | end | |
2169 | ||
2170 | function ScrewThis() | |
2171 | ATTACK = true | |
2172 | Rooted = true | |
2173 | local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Part", VT(2, 0.4, 0.4)/2,false) | |
2174 | SCREW.CanCollide = true | |
2175 | local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0)) | |
2176 | CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0)) | |
2177 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2178 | Swait() | |
2179 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2180 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2181 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2182 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2183 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2184 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2185 | end | |
2186 | SCREW.Transparency = 0 | |
2187 | for i=0, 0.1, 0.1 / Animation_Speed do | |
2188 | Swait() | |
2189 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2190 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2191 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2192 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2193 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2194 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2195 | end | |
2196 | for i=0, 1, 0.1 / Animation_Speed do | |
2197 | Swait() | |
2198 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2199 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2200 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2201 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2202 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2203 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2204 | end | |
2205 | for i = 1, 3 do | |
2206 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2207 | Swait() | |
2208 | WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0)) | |
2209 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2210 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2211 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2212 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2213 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2214 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2215 | end | |
2216 | for i=0, 1, 0.1 / Animation_Speed do | |
2217 | Swait() | |
2218 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2219 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2220 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2221 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2222 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2223 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2224 | end | |
2225 | end | |
2226 | if MRANDOM(1, 5) == 1 then | |
2227 | DUST:Emit(25) | |
2228 | WELD:remove() | |
2229 | CreateSound(328460122, RightArm, 3, 1, false) | |
2230 | SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65 | |
2231 | Debris:AddItem(SCREW,6) | |
2232 | for i=0, 3, 0.1 / Animation_Speed do | |
2233 | Swait() | |
2234 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2235 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2236 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2237 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2238 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2239 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2240 | end | |
2241 | for i = 1, 3 do | |
2242 | for i=0, 0.35, 0.1 / Animation_Speed do | |
2243 | Swait() | |
2244 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2245 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
2246 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2247 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2248 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2249 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2250 | end | |
2251 | for i=0, 0.35, 0.1 / Animation_Speed do | |
2252 | Swait() | |
2253 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2254 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
2255 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2256 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2257 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2258 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2259 | end | |
2260 | end | |
2261 | else | |
2262 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2263 | Swait() | |
2264 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2265 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed) | |
2266 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2267 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2268 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2269 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2270 | end | |
2271 | WELD:remove() | |
2272 | for i=0, 0.15, 0.1 / Animation_Speed do | |
2273 | Swait() | |
2274 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2275 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed) | |
2276 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2277 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2278 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2279 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2280 | end | |
2281 | Debris:AddItem(SCREW,6) | |
2282 | end | |
2283 | ATTACK = false | |
2284 | Rooted = false | |
2285 | end | |
2286 | ||
2287 | --//=================================\\ | |
2288 | --|| ASSIGN THINGS TO KEYS | |
2289 | --\\=================================// | |
2290 | ||
2291 | function MouseDown(Mouse) | |
2292 | if ATTACK == false then | |
2293 | end | |
2294 | end | |
2295 | ||
2296 | function MouseUp(Mouse) | |
2297 | HOLD = false | |
2298 | end | |
2299 | ||
2300 | function KeyDown(Key) | |
2301 | KEYHOLD = true | |
2302 | if Key == "z" and ATTACK == false then | |
2303 | Warp() | |
2304 | end | |
2305 | ||
2306 | if Key == "b" and ATTACK == false then | |
2307 | Dash() | |
2308 | end | |
2309 | ||
2310 | if Key == "c" and ATTACK == false then | |
2311 | LimbRip() | |
2312 | end | |
2313 | ||
2314 | if Key == "v" and ATTACK == false then | |
2315 | Buzzsaw() | |
2316 | end | |
2317 | ||
2318 | if Key == "e" and ATTACK == false then | |
2319 | ReeeEEEEEE() | |
2320 | end | |
2321 | ||
2322 | if Key == "x" and ATTACK == false then | |
2323 | Needle() | |
2324 | end | |
2325 | ||
2326 | if Key == "t" and ATTACK == false then | |
2327 | ScrewThis() | |
2328 | end | |
2329 | end | |
2330 | ||
2331 | function KeyUp(Key) | |
2332 | KEYHOLD = false | |
2333 | end | |
2334 | ||
2335 | Mouse.Button1Down:connect(function(NEWKEY) | |
2336 | MouseDown(NEWKEY) | |
2337 | end) | |
2338 | Mouse.Button1Up:connect(function(NEWKEY) | |
2339 | MouseUp(NEWKEY) | |
2340 | end) | |
2341 | Mouse.KeyDown:connect(function(NEWKEY) | |
2342 | KeyDown(NEWKEY) | |
2343 | end) | |
2344 | Mouse.KeyUp:connect(function(NEWKEY) | |
2345 | KeyUp(NEWKEY) | |
2346 | end) | |
2347 | ||
2348 | --//=================================\\ | |
2349 | --\\=================================// | |
2350 | ||
2351 | function AntiTimeStop() | |
2352 | for _, c in pairs(Character:GetChildren()) do | |
2353 | if c:IsA("BasePart") then | |
2354 | c.Anchored = false | |
2355 | end | |
2356 | end | |
2357 | for _, c in pairs(Weapon:GetChildren()) do | |
2358 | if c:IsA("BasePart") then | |
2359 | c.Anchored = false | |
2360 | end | |
2361 | end | |
2362 | end | |
2363 | ||
2364 | --//=================================\\ | |
2365 | --|| WRAP THE WHOLE SCRIPT UP | |
2366 | --\\=================================// | |
2367 | ||
2368 | Humanoid.Changed:connect(function(Jump) | |
2369 | if Jump == "Jump" and (Disable_Jump == true) then | |
2370 | Humanoid.Jump = false | |
2371 | end | |
2372 | end) | |
2373 | ||
2374 | local sick = IT("Sound") | |
2375 | ||
2376 | while true do | |
2377 | Swait() | |
2378 | script.Parent = WEAPONGUI | |
2379 | ANIMATE.Parent = nil | |
2380 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2381 | v:Stop(); | |
2382 | end | |
2383 | SINE = SINE + CHANGE | |
2384 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2385 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2386 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2387 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
2388 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2389 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2390 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2391 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2392 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2393 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2394 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2395 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2396 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2397 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2398 | end | |
2399 | if HITFLOOR == nil then | |
2400 | ANIM = "Midair" | |
2401 | if ATTACK == false then | |
2402 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2403 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2404 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2405 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2406 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2407 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2408 | end | |
2409 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2410 | ANIM = "Idle" | |
2411 | if ATTACK == false then | |
2412 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2413 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2414 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2415 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2416 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2417 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2418 | end | |
2419 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2420 | ANIM = "Walk" | |
2421 | if ATTACK == false then | |
2422 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2423 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2424 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed) | |
2425 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed) | |
2426 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2427 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2428 | end | |
2429 | end | |
2430 | sick.SoundId = "rbxassetid://1742664123" | |
2431 | sick.Looped = true | |
2432 | sick.Pitch = 1 | |
2433 | sick.Volume = 2 | |
2434 | sick.Playing = true | |
2435 | sick.Parent = Effects | |
2436 | AntiTimeStop() | |
2437 | if Rooted == false then | |
2438 | Disable_Jump = false | |
2439 | Humanoid.WalkSpeed = Speed | |
2440 | elseif Rooted == true then | |
2441 | Disable_Jump = true | |
2442 | Humanoid.WalkSpeed = 0 | |
2443 | end | |
2444 | end | |
2445 | ||
2446 | --//=================================\\ | |
2447 | --\\=================================// | |
2448 | ||
2449 | --//====================================================\\-- | |
2450 | --|| END OF SCRIPT | |
2451 | --\\====================================================//-- |