SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | 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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --//====================================================\\-- | |
6 | --|| CREATED BY SHACKLUSTER | |
7 | --\\====================================================//-- | |
8 | ||
9 | wait(0.2) | |
10 | ||
11 | Player = game:GetService("Players").LocalPlayer | |
12 | PlayerGui = Player.PlayerGui | |
13 | Cam = workspace.CurrentCamera | |
14 | Backpack = Player.Backpack | |
15 | Character = Player.Character | |
16 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
17 | Mouse = Player:GetMouse() | |
18 | RootPart = Character["HumanoidRootPart"] | |
19 | Torso = Character["Torso"] | |
20 | Head = Character["Head"] | |
21 | RightArm = Character["Right Arm"] | |
22 | LeftArm = Character["Left Arm"] | |
23 | RightLeg = Character["Right Leg"] | |
24 | LeftLeg = Character["Left Leg"] | |
25 | RootJoint = RootPart["RootJoint"] | |
26 | Neck = Torso["Neck"] | |
27 | RightShoulder = Torso["Right Shoulder"] | |
28 | LeftShoulder = Torso["Left Shoulder"] | |
29 | RightHip = Torso["Right Hip"] | |
30 | LeftHip = Torso["Left Hip"] | |
31 | local sick = Instance.new("Sound",Character) | |
32 | ||
33 | IT = Instance.new | |
34 | CF = CFrame.new | |
35 | VT = Vector3.new | |
36 | RAD = math.rad | |
37 | C3 = Color3.new | |
38 | UD2 = UDim2.new | |
39 | BRICKC = BrickColor.new | |
40 | ANGLES = CFrame.Angles | |
41 | EULER = CFrame.fromEulerAnglesXYZ | |
42 | COS = math.cos | |
43 | ACOS = math.acos | |
44 | SIN = math.sin | |
45 | ASIN = math.asin | |
46 | ABS = math.abs | |
47 | MRANDOM = math.random | |
48 | FLOOR = math.floor | |
49 | ||
50 | --//=================================\\ | |
51 | --|| USEFUL VALUES | |
52 | --\\=================================// | |
53 | ||
54 | Animation_Speed = 3 | |
55 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
56 | local Speed = 45 | |
57 | local SIZE = 1.3 | |
58 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
59 | local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
60 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
61 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
62 | local ANIM = "Idle" | |
63 | local ATTACK = false | |
64 | local COMBO = 1 | |
65 | local Rooted = false | |
66 | local SINE = 0 | |
67 | local CHANGE = 2 / Animation_Speed | |
68 | local ROBLOXIDLEANIMATION = IT("Animation") | |
69 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
70 | WEAPONGUI.Name = "Big Boie Squad" | |
71 | local ANIMATOR = Humanoid.Animator | |
72 | local ANIMATE = Character.Animate | |
73 | local UNANCHOR = true | |
74 | local KILLCOUNT = 0 | |
75 | ||
76 | --//=================================\\ | |
77 | --\\=================================// | |
78 | ||
79 | ||
80 | --//=================================\\ | |
81 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
82 | --\\=================================// | |
83 | ||
84 | ArtificialHB = Instance.new("BindableEvent", script) | |
85 | ArtificialHB.Name = "ArtificialHB" | |
86 | ||
87 | script:WaitForChild("ArtificialHB") | |
88 | ||
89 | frame = Frame_Speed | |
90 | tf = 0 | |
91 | allowframeloss = false | |
92 | tossremainder = false | |
93 | lastframe = tick() | |
94 | script.ArtificialHB:Fire() | |
95 | ||
96 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
97 | tf = tf + s | |
98 | if tf >= frame then | |
99 | if allowframeloss then | |
100 | script.ArtificialHB:Fire() | |
101 | lastframe = tick() | |
102 | else | |
103 | for i = 1, math.floor(tf / frame) do | |
104 | script.ArtificialHB:Fire() | |
105 | end | |
106 | lastframe = tick() | |
107 | end | |
108 | if tossremainder then | |
109 | tf = 0 | |
110 | else | |
111 | tf = tf - frame * math.floor(tf / frame) | |
112 | end | |
113 | end | |
114 | end) | |
115 | ||
116 | --//=================================\\ | |
117 | --\\=================================// | |
118 | ||
119 | --//=================================\\ | |
120 | --|| SOME FUNCTIONS | |
121 | --\\=================================// | |
122 | ||
123 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
124 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
125 | end | |
126 | ||
127 | function PositiveAngle(NUMBER) | |
128 | if NUMBER >= 0 then | |
129 | NUMBER = 0 | |
130 | end | |
131 | return NUMBER | |
132 | end | |
133 | ||
134 | function NegativeAngle(NUMBER) | |
135 | if NUMBER <= 0 then | |
136 | NUMBER = 0 | |
137 | end | |
138 | return NUMBER | |
139 | end | |
140 | ||
141 | function Swait(NUMBER) | |
142 | if NUMBER == 0 or NUMBER == nil then | |
143 | ArtificialHB.Event:wait() | |
144 | else | |
145 | for i = 1, NUMBER do | |
146 | ArtificialHB.Event:wait() | |
147 | end | |
148 | end | |
149 | end | |
150 | ||
151 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
152 | local NEWMESH = IT(MESH) | |
153 | if MESH == "SpecialMesh" then | |
154 | NEWMESH.MeshType = MESHTYPE | |
155 | if MESHID ~= "nil" and MESHID ~= "" then | |
156 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
157 | end | |
158 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
159 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
160 | end | |
161 | end | |
162 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
163 | NEWMESH.Scale = SCALE | |
164 | NEWMESH.Parent = PARENT | |
165 | return NEWMESH | |
166 | end | |
167 | ||
168 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
169 | local NEWPART = IT("Part") | |
170 | NEWPART.formFactor = FORMFACTOR | |
171 | NEWPART.Reflectance = REFLECTANCE | |
172 | NEWPART.Transparency = TRANSPARENCY | |
173 | NEWPART.CanCollide = false | |
174 | NEWPART.Locked = true | |
175 | NEWPART.Anchored = true | |
176 | if ANCHOR == false then | |
177 | NEWPART.Anchored = false | |
178 | end | |
179 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
180 | NEWPART.Name = NAME | |
181 | NEWPART.Size = SIZE | |
182 | NEWPART.Position = Torso.Position | |
183 | NEWPART.Material = MATERIAL | |
184 | NEWPART:BreakJoints() | |
185 | NEWPART.Parent = PARENT | |
186 | return NEWPART | |
187 | end | |
188 | ||
189 | local function weldBetween(a, b) | |
190 | local weldd = Instance.new("ManualWeld") | |
191 | weldd.Part0 = a | |
192 | weldd.Part1 = b | |
193 | weldd.C0 = CFrame.new() | |
194 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
195 | weldd.Parent = a | |
196 | return weldd | |
197 | end | |
198 | ||
199 | ||
200 | function QuaternionFromCFrame(cf) | |
201 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
202 | local trace = m00 + m11 + m22 | |
203 | if trace > 0 then | |
204 | local s = math.sqrt(1 + trace) | |
205 | local recip = 0.5 / s | |
206 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
207 | else | |
208 | local i = 0 | |
209 | if m11 > m00 then | |
210 | i = 1 | |
211 | end | |
212 | if m22 > (i == 0 and m00 or m11) then | |
213 | i = 2 | |
214 | end | |
215 | if i == 0 then | |
216 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
217 | local recip = 0.5 / s | |
218 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
219 | elseif i == 1 then | |
220 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
221 | local recip = 0.5 / s | |
222 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
223 | elseif i == 2 then | |
224 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
225 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
226 | end | |
227 | end | |
228 | end | |
229 | ||
230 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
231 | local xs, ys, zs = x + x, y + y, z + z | |
232 | local wx, wy, wz = w * xs, w * ys, w * zs | |
233 | local xx = x * xs | |
234 | local xy = x * ys | |
235 | local xz = x * zs | |
236 | local yy = y * ys | |
237 | local yz = y * zs | |
238 | local zz = z * zs | |
239 | 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)) | |
240 | end | |
241 | ||
242 | function QuaternionSlerp(a, b, t) | |
243 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
244 | local startInterp, finishInterp; | |
245 | if cosTheta >= 0.0001 then | |
246 | if (1 - cosTheta) > 0.0001 then | |
247 | local theta = ACOS(cosTheta) | |
248 | local invSinTheta = 1 / SIN(theta) | |
249 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
250 | finishInterp = SIN(t * theta) * invSinTheta | |
251 | else | |
252 | startInterp = 1 - t | |
253 | finishInterp = t | |
254 | end | |
255 | else | |
256 | if (1 + cosTheta) > 0.0001 then | |
257 | local theta = ACOS(-cosTheta) | |
258 | local invSinTheta = 1 / SIN(theta) | |
259 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
260 | finishInterp = SIN(t * theta) * invSinTheta | |
261 | else | |
262 | startInterp = t - 1 | |
263 | finishInterp = t | |
264 | end | |
265 | end | |
266 | 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 | |
267 | end | |
268 | ||
269 | function Clerp(a, b, t) | |
270 | local qa = {QuaternionFromCFrame(a)} | |
271 | local qb = {QuaternionFromCFrame(b)} | |
272 | local ax, ay, az = a.x, a.y, a.z | |
273 | local bx, by, bz = b.x, b.y, b.z | |
274 | local _t = 1 - t | |
275 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
276 | end | |
277 | ||
278 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
279 | local frame = IT("Frame") | |
280 | frame.BackgroundTransparency = TRANSPARENCY | |
281 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
282 | frame.Position = POSITION | |
283 | frame.Size = SIZE | |
284 | frame.BackgroundColor3 = COLOR | |
285 | frame.BorderColor3 = BORDERCOLOR | |
286 | frame.Name = NAME | |
287 | frame.Parent = PARENT | |
288 | return frame | |
289 | end | |
290 | ||
291 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
292 | local label = IT("TextLabel") | |
293 | label.BackgroundTransparency = 1 | |
294 | label.Size = UD2(1, 0, 1, 0) | |
295 | label.Position = UD2(0, 0, 0, 0) | |
296 | label.TextColor3 = TEXTCOLOR | |
297 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
298 | label.TextTransparency = TRANSPARENCY | |
299 | label.FontSize = TEXTFONTSIZE | |
300 | label.Font = TEXTFONT | |
301 | label.BorderSizePixel = BORDERSIZEPIXEL | |
302 | label.TextScaled = false | |
303 | label.Text = TEXT | |
304 | label.Name = NAME | |
305 | label.Parent = PARENT | |
306 | return label | |
307 | end | |
308 | ||
309 | function NoOutlines(PART) | |
310 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
311 | end | |
312 | ||
313 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
314 | local NEWWELD = IT(TYPE) | |
315 | NEWWELD.Part0 = PART0 | |
316 | NEWWELD.Part1 = PART1 | |
317 | NEWWELD.C0 = C0 | |
318 | NEWWELD.C1 = C1 | |
319 | NEWWELD.Parent = PARENT | |
320 | return NEWWELD | |
321 | end | |
322 | ||
323 | local S = IT("Sound") | |
324 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
325 | local NEWSOUND = nil | |
326 | coroutine.resume(coroutine.create(function() | |
327 | NEWSOUND = S:Clone() | |
328 | NEWSOUND.Parent = PARENT | |
329 | NEWSOUND.Volume = VOLUME | |
330 | NEWSOUND.Pitch = PITCH | |
331 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
332 | NEWSOUND:play() | |
333 | if DOESLOOP == true then | |
334 | NEWSOUND.Looped = true | |
335 | else | |
336 | repeat wait(1) until NEWSOUND.Playing == false | |
337 | NEWSOUND:remove() | |
338 | end | |
339 | end)) | |
340 | return NEWSOUND | |
341 | end | |
342 | ||
343 | function CFrameFromTopBack(at, top, back) | |
344 | local right = top:Cross(back) | |
345 | 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) | |
346 | end | |
347 | ||
348 | function MakeForm(PART,TYPE) | |
349 | if TYPE == "Cyl" then | |
350 | local MSH = IT("CylinderMesh",PART) | |
351 | elseif TYPE == "Ball" then | |
352 | local MSH = IT("SpecialMesh",PART) | |
353 | MSH.MeshType = "Sphere" | |
354 | elseif TYPE == "Wedge" then | |
355 | local MSH = IT("SpecialMesh",PART) | |
356 | MSH.MeshType = "Wedge" | |
357 | end | |
358 | end | |
359 | ||
360 | Debris = game:GetService("Debris") | |
361 | ||
362 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
363 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
364 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
365 | end | |
366 | ||
367 | --//=================================\\ | |
368 | --|| WEAPON CREATION | |
369 | --\\=================================// | |
370 | ||
371 | Humanoid.Parent = nil | |
372 | RootPart.Size = RootPart.Size*SIZE | |
373 | Torso.Size = Torso.Size*SIZE | |
374 | RightArm.Size = RightArm.Size*SIZE | |
375 | RightLeg.Size = RightLeg.Size*SIZE | |
376 | LeftArm.Size = LeftArm.Size*SIZE | |
377 | LeftLeg.Size = LeftLeg.Size*SIZE | |
378 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
379 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
380 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
381 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
382 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
383 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
384 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
385 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
386 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
387 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
388 | Head.Size = Head.Size*SIZE | |
389 | RootJoint.Parent = RootPart | |
390 | Neck.Parent = Torso | |
391 | RightShoulder.Parent = Torso | |
392 | LeftShoulder.Parent = Torso | |
393 | RightHip.Parent = Torso | |
394 | LeftHip.Parent = Torso | |
395 | ||
396 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
397 | MakeForm(PART,"Ball") | |
398 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
399 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false) | |
400 | MakeForm(PART,"Ball") | |
401 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
402 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
403 | MakeForm(PART,"Ball") | |
404 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
405 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false) | |
406 | MakeForm(PART,"Ball") | |
407 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
408 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
409 | MakeForm(PART,"Ball") | |
410 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
411 | local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false) | |
412 | MakeForm(PART,"Ball") | |
413 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0)) | |
414 | ||
415 | Humanoid.Parent = Character | |
416 | ||
417 | Humanoid.Died:connect(function() | |
418 | ATTACK = true | |
419 | end) | |
420 | ||
421 | local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet") | |
422 | ||
423 | local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text") | |
424 | ||
425 | --//=================================\\ | |
426 | --|| DAMAGING | |
427 | --\\=================================// | |
428 | ||
429 | local EXPLOSION = IT("Explosion",nil) | |
430 | EXPLOSION.BlastPressure = 0 | |
431 | function PUNCH(Fist) | |
432 | TOUCH = Fist.Touched:Connect(function(hit) | |
433 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
434 | local HUM = hit.Parent:FindFirstChildOfClass("Humanoid") | |
435 | local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
436 | if TORSO and HUM.Health > 0 then | |
437 | CreateSound(296102734,Fist,6,1,false) | |
438 | CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false) | |
439 | TORSO.Parent:BreakJoints() | |
440 | for _, c in pairs(TORSO.Parent:GetChildren()) do | |
441 | if c:IsA("BasePart") then | |
442 | local bv = Instance.new("BodyVelocity",c) | |
443 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
444 | bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100) | |
445 | Debris:AddItem(bv,0.05) | |
446 | end | |
447 | end | |
448 | local BOOM = EXPLOSION:Clone() | |
449 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
450 | BOOM.Parent = Character | |
451 | TOUCH:Disconnect() | |
452 | KILLCOUNT = KILLCOUNT + 1 | |
453 | end | |
454 | elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then | |
455 | hit:remove() | |
456 | CreateSound(296102734,Fist,6,1,false) | |
457 | local BOOM = EXPLOSION:Clone() | |
458 | BOOM.BlastPressure = 15 | |
459 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
460 | BOOM.Parent = Character | |
461 | elseif hit.Anchored == false then | |
462 | CreateSound(296102734,Fist,6,1,false) | |
463 | local BOOM = EXPLOSION:Clone() | |
464 | BOOM.BlastPressure = 70 | |
465 | BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p | |
466 | BOOM.Parent = Character | |
467 | TOUCH:Disconnect() | |
468 | end | |
469 | end) | |
470 | return TOUCH | |
471 | end | |
472 | ||
473 | --//=================================\\ | |
474 | --|| ATTACK FUNCTIONS AND STUFF | |
475 | --\\=================================// | |
476 | ||
477 | function Yeet() | |
478 | ATTACK = true | |
479 | Rooted = false | |
480 | if COMBO == 1 then | |
481 | COMBO = 2 | |
482 | for i=0, 0.1, 0.1 / Animation_Speed do | |
483 | Swait() | |
484 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed) | |
485 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
486 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
487 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
488 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
489 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
490 | end | |
491 | local FIST = PUNCH(LeftArm) | |
492 | for i=0, 0.15, 0.1 / Animation_Speed do | |
493 | Swait() | |
494 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
495 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed) | |
496 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
497 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
498 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
499 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
500 | end | |
501 | FIST:Disconnect() | |
502 | else | |
503 | COMBO = 1 | |
504 | for i=0, 0.1, 0.1 / Animation_Speed do | |
505 | Swait() | |
506 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
507 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed) | |
508 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
509 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
510 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
511 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
512 | end | |
513 | local FIST = PUNCH(RightArm) | |
514 | for i=0, 0.15, 0.1 / Animation_Speed do | |
515 | Swait() | |
516 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed) | |
517 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
518 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
519 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
520 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
521 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
522 | end | |
523 | FIST:Disconnect() | |
524 | end | |
525 | ATTACK = false | |
526 | Rooted = false | |
527 | end | |
528 | ||
529 | function YesPlease() | |
530 | ATTACK = true | |
531 | Rooted = true | |
532 | CreateSound(291394633,Head,6,1,false) | |
533 | for i=0, 2, 0.1 / Animation_Speed do | |
534 | Swait() | |
535 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
536 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
537 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
538 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
539 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
540 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
541 | end | |
542 | ATTACK = false | |
543 | Rooted = false | |
544 | end | |
545 | ||
546 | --//=================================\\ | |
547 | --|| ASSIGN THINGS TO KEYS | |
548 | --\\=================================// | |
549 | ||
550 | Mouse.Button1Down:connect(function(NEWKEY) | |
551 | if ATTACK == false then | |
552 | Yeet() | |
553 | end | |
554 | end) | |
555 | Mouse.KeyDown:connect(function(NEWKEY) | |
556 | if NEWKEY == "t" and ATTACK == false then | |
557 | YesPlease() | |
558 | end | |
559 | end) | |
560 | ||
561 | --//=================================\\ | |
562 | --\\=================================// | |
563 | ||
564 | function unanchor() | |
565 | if UNANCHOR == true then | |
566 | g = Character:GetChildren() | |
567 | for i = 1, #g do | |
568 | if g[i].ClassName == "Part" then | |
569 | g[i].Anchored = false | |
570 | end | |
571 | end | |
572 | end | |
573 | end | |
574 | ||
575 | --//=================================\\ | |
576 | --|| WRAP THE WHOLE SCRIPT UP | |
577 | --\\=================================// | |
578 | ||
579 | Humanoid.Changed:connect(function(Jump) | |
580 | if Jump == "Jump" and (Disable_Jump == true) then | |
581 | Humanoid.Jump = false | |
582 | end | |
583 | end) | |
584 | ||
585 | local FF = IT("ForceField",Character) | |
586 | FF.Visible = false | |
587 | ||
588 | while true do | |
589 | Swait() | |
590 | script.Parent = WEAPONGUI | |
591 | ANIMATE.Parent = nil | |
592 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
593 | v:Stop(); | |
594 | end | |
595 | SINE = SINE + CHANGE | |
596 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
597 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
598 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
599 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
600 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
601 | 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 / Animation_Speed) | |
602 | 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) | |
603 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
604 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
605 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
606 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
607 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
608 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
609 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
610 | end | |
611 | if HITFLOOR == nil then | |
612 | ANIM = "Midair" | |
613 | if ATTACK == false then | |
614 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
615 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
616 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
617 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
618 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
619 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
620 | end | |
621 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
622 | ANIM = "Idle" | |
623 | if ATTACK == false then | |
624 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
625 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
626 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
627 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
628 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
629 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
630 | end | |
631 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
632 | ANIM = "Walk" | |
633 | if ATTACK == false then | |
634 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
635 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed) | |
636 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
637 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
638 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
639 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
640 | end | |
641 | end | |
642 | unanchor() | |
643 | Humanoid.MaxHealth = 5e7 | |
644 | Humanoid.Health = 5e7 | |
645 | Humanoid.Name = "BigBoie" | |
646 | if Rooted == false then | |
647 | Disable_Jump = false | |
648 | Humanoid.WalkSpeed = Speed | |
649 | elseif Rooted == true then | |
650 | Disable_Jump = true | |
651 | Humanoid.WalkSpeed = 0 | |
652 | end | |
653 | for _, c in pairs(Character:GetChildren()) do | |
654 | if c.ClassName == "Part" then | |
655 | c.Material = "SmoothPlastic" | |
656 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
657 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
658 | end | |
659 | if c == Torso or c.Name == "Muscle" then | |
660 | c.BrickColor = BRICKC"Bright blue" | |
661 | elseif c == RightLeg or c == LeftLeg then | |
662 | c.BrickColor = BRICKC"Br. yellowish green" | |
663 | else | |
664 | c.BrickColor = BRICKC"Bright yellow" | |
665 | end | |
666 | if c == Head then | |
667 | if c:FindFirstChild("face") then | |
668 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
669 | end | |
670 | end | |
671 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
672 | c:remove() | |
673 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
674 | c:remove() | |
675 | end | |
676 | end | |
677 | sick.SoundId = "rbxassetid://1383666704" | |
678 | sick.Looped = true | |
679 | sick.Pitch = (MRANDOM(95,115)/100)+0.2 | |
680 | sick.Volume = 3 | |
681 | sick:Resume() | |
682 | sick.Parent = Torso | |
683 | Humanoid.JumpPower = 150 | |
684 | TEXT.Text = KILLCOUNT | |
685 | end | |
686 | ||
687 | --//=================================\\ | |
688 | --\\=================================// | |
689 | ||
690 | ||
691 | ||
692 | ||
693 | ||
694 | --//====================================================\\-- | |
695 | --|| END OF SCRIPT | |
696 | --\\====================================================//-- |