SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...") | |
141 | wait(0.01) | |
142 | - | ----Made by Ericdesouza, Ericdesouza--- |
142 | + | ----Made by RealMrBrainEater, Tyefoodmania--- |
143 | ||
144 | ----Credit to NextFlame for the derpy animation running sorry Idk how to animate yet </3 | |
145 | ---- and Credits to EthanHong0407 for the humping animation, Fixing time stop and hump knife, and MUDA. | |
146 | function clerp(c1,c2,al) | |
147 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
148 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
149 | for i,v in pairs(com1) do | |
150 | com1[i] = v+(com2[i]-v)*al | |
151 | end | |
152 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
153 | end | |
154 | ||
155 | local BeeSpeed= 100 | |
156 | ||
157 | plr = game:service'Players'.LocalPlayer | |
158 | plrgui = plr.PlayerGui | |
159 | char = plr.Character | |
160 | mouse = plr:GetMouse() | |
161 | humanoid = char:findFirstChild("Humanoid") | |
162 | torso = char:findFirstChild("Torso") | |
163 | head = char.Head | |
164 | ra = char:findFirstChild("Right Arm") | |
165 | la = char:findFirstChild("Left Arm") | |
166 | rl = char:findFirstChild("Right Leg") | |
167 | ll = char:findFirstChild("Left Leg") | |
168 | rs = torso:findFirstChild("Right Shoulder") | |
169 | ls = torso:findFirstChild("Left Shoulder") | |
170 | rh = torso:findFirstChild("Right Hip") | |
171 | lh = torso:findFirstChild("Left Hip") | |
172 | neck = torso:findFirstChild("Neck") | |
173 | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") | |
174 | rootpart = char:findFirstChild("HumanoidRootPart") | |
175 | camera = workspace.CurrentCamera | |
176 | anim = char:findFirstChild("Animate") | |
177 | frozen = false | |
178 | timestopcool = false | |
179 | humping = false | |
180 | mudaing = false | |
181 | knifeSpeed = 150 | |
182 | stuffFrozen = {} | |
183 | frozenSounds = {} | |
184 | if anim then | |
185 | anim:Destroy() | |
186 | end | |
187 | local Create = LoadLibrary("RbxUtility").Create | |
188 | - | head.face.Texture = "rbxassetid://30395097" |
188 | + | for i,v in pairs(char:children()) do |
189 | if v:IsA("Hat") then | |
190 | v:Destroy() | |
191 | end | |
192 | end | |
193 | for i,v in pairs(char:children()) do | |
194 | if v:IsA("Accessory") then | |
195 | v:Destroy() | |
196 | end | |
197 | end | |
198 | for i,v in pairs(char:children()) do | |
199 | if v:IsA("Hair") then | |
200 | v:Destroy() | |
201 | end | |
202 | end | |
203 | head.face.Texture = "rbxassetid://1186154624" | |
204 | local KonoDioDa = Instance.new("Part",char) | |
205 | KonoDioDa.Size = Vector3.new(1.67, 2.38, 1.7) | |
206 | KonoDioDa.CanCollide = false | |
207 | KonoDioDa.BrickColor = BrickColor.new("Fire Yellow") | |
208 | local KonoDioDa2 = Instance.new("SpecialMesh",KonoDioDa) | |
209 | KonoDioDa2.MeshId = "rbxassetid://0" | |
210 | KonoDioDa2.TextureId = "rbxassetid://0" | |
211 | KonoDioDa2.Offset = Vector3.new(0.08, 0, 0.3) | |
212 | KonoDioDa2.Scale = Vector3.new(0.04, 0.04, 0.04) | |
213 | local KonoDioDa3 = Instance.new("Weld",KonoDioDa) | |
214 | KonoDioDa3.Part0 = head | |
215 | KonoDioDa3.Part1 = KonoDioDa | |
216 | KonoDioDa3.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
217 | char.Shirt.ShirtTemplate = "rbxassetid://69232088" | |
218 | char.Pants.PantsTemplate = "rbxassetid://69232346" | |
219 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
219 | + | |
220 | function chatfunc(text) | |
221 | local chat = coroutine.wrap(function() | |
222 | if char:FindFirstChild("TalkingBillBoard")~= nil then | |
223 | char:FindFirstChild("TalkingBillBoard"):destroy() | |
224 | end | |
225 | local naeeym2 = Instance.new("BillboardGui",char) | |
226 | naeeym2.Size = UDim2.new(0,100,0,40) | |
227 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
228 | - | tecks3.TextColor3 = Color3.new(255,0,0) |
228 | + | |
229 | naeeym2.Name = "TalkingBillBoard" | |
230 | tecks2 = Instance.new("TextLabel",naeeym2) | |
231 | tecks2.BackgroundTransparency = 1 | |
232 | tecks2.BorderSizePixel = 0 | |
233 | tecks2.Text = "" | |
234 | tecks2.Font = "Fantasy" | |
235 | tecks2.TextSize = 30 | |
236 | tecks2.TextStrokeTransparency = 0 | |
237 | tecks2.TextColor3 = Color3.new(0,0,0) | |
238 | tecks2.TextStrokeColor3 = Color3.new(0,0,255) | |
239 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
240 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
241 | tecks3.BackgroundTransparency = 1 | |
242 | tecks3.BorderSizePixel = 0 | |
243 | tecks3.Text = "" | |
244 | tecks3.Font = "Fantasy" | |
245 | tecks3.TextSize = 30 | |
246 | tecks3.TextStrokeTransparency = 0 | |
247 | tecks3.TextColor3 = Color3.new(255,255,0) | |
248 | tecks3.TextStrokeColor3 = Color3.new(0,255,0) | |
249 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
250 | for i = 1,string.len(text),1 do | |
251 | ||
252 | tecks2.Text = string.sub(text,1,i) | |
253 | tecks3.Text = string.sub(text,1,i) | |
254 | wait(0.01) | |
255 | end | |
256 | wait(2) | |
257 | for i = 1, 50 do | |
258 | ||
259 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
260 | tecks2.Rotation = tecks2.Rotation - .8 | |
261 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
262 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
263 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
264 | tecks3.Rotation = tecks2.Rotation + .8 | |
265 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
266 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
267 | end | |
268 | naeeym2:Destroy() | |
269 | end) | |
270 | chat() | |
271 | ||
272 | end | |
273 | function onChatted(msg) | |
274 | chatfunc(msg) | |
275 | ||
276 | end | |
277 | plr.Chatted:connect(onChatted) | |
278 | ||
279 | function timeFreezeFunction() | |
280 | function spread(model) | |
281 | for i,p in pairs(model:GetChildren()) do | |
282 | spread(p) | |
283 | if p.Name == "Humanoid" and p:IsDescendantOf(char) == false then | |
284 | for i,d in pairs(p.Parent:GetChildren()) do | |
285 | if d:IsA("BasePart") and d:IsDescendantOf(char) == false and d.Name ~= "HumanoidRootPart" and d.Anchored == false and stuffFrozen[d] == nil then | |
286 | table.insert(stuffFrozen, d) | |
287 | d.Anchored = true | |
288 | elseif d:IsA("Sound") and d.IsPlaying then | |
289 | table.insert(frozenSounds, d) | |
290 | d:Pause() | |
291 | end | |
292 | end | |
293 | end | |
294 | end | |
295 | end | |
296 | spread(workspace) | |
297 | end | |
298 | ||
299 | - | animation.AnimationId = 'rbxassetid://1949023689' |
299 | + | |
300 | abss.Size = UDim2.new(10,0,10,0) | |
301 | abss.Enabled = false | |
302 | abss.Name = "KONODIODA" | |
303 | imgl = Instance.new("ImageLabel",abss) | |
304 | imgl.Position = UDim2.new(0,0,0,0) | |
305 | imgl.Size = UDim2.new(1,0,1,0) | |
306 | imgl.Image = "rbxassetid://711463989" | |
307 | imgl.BackgroundTransparency = 1 | |
308 | imgl.ImageColor3 = Color3.new(0,255,255) | |
309 | img2 = Instance.new("ImageLabel",abss) | |
310 | img2.Position = UDim2.new(0,0,0,0) | |
311 | img2.Size = UDim2.new(1,0,1,0) | |
312 | img2.Image = "rbxassetid://711463989" | |
313 | - | yes.SoundId = "rbxassetid://664136141" |
313 | + | |
314 | - | osh = Instance.new("Sound",soundfolder) |
314 | + | |
315 | - | osh.Volume = 30 |
315 | + | |
316 | - | osh.Name = "ruhroh" |
316 | + | |
317 | - | osh.Looped = true |
317 | + | |
318 | - | osh.SoundId = "rbxassetid://148317550" |
318 | + | animation.AnimationId = 'rbxassetid://965558263' |
319 | - | yosh = Instance.new("Sound",soundfolder) |
319 | + | |
320 | - | yosh.Volume = 30 |
320 | + | |
321 | - | yosh.Name = "epic" |
321 | + | |
322 | - | yosh.Looped = true |
322 | + | |
323 | - | yosh.SoundId = "rbxassetid://2041312466" |
323 | + | |
324 | --Folder | |
325 | soundfolder = Instance.new("Model",char) | |
326 | soundfolder.Name = "Sound Folder" | |
327 | --Sounds | |
328 | - | KonoDioDAA.SoundId = "rbxassetid://2545211516" |
328 | + | |
329 | yes.Volume = 30 | |
330 | yes.Name = "Jojo" | |
331 | yes.Looped = true | |
332 | yes.SoundId = "rbxassetid://2901040333" | |
333 | - | WhatKindOfDioIsThis.SoundId = "rbxassetid://1424121693" |
333 | + | demoguide = Instance.new("Sound",soundfolder) |
334 | demoguide.Volume = 30 | |
335 | demoguide.Name = "Demo" | |
336 | demoguide.Looped = true | |
337 | demoguide.SoundId = "rbxassetid://663853939" | |
338 | - | NANI.SoundId = "rbxassetid://573051278" |
338 | + | |
339 | KonoDioDAA.Volume = 30 | |
340 | KonoDioDAA.Name = "Dio" | |
341 | KonoDioDAA.Looped = false | |
342 | KonoDioDAA.SoundId = "rbxassetid://203063501" | |
343 | - | Stop.SoundId = "rbxassetid://2259766079" |
343 | + | |
344 | WhatKindOfDioIsThis.Volume = 30 | |
345 | WhatKindOfDioIsThis.Name = "Bakana" | |
346 | WhatKindOfDioIsThis.Looped = true | |
347 | WhatKindOfDioIsThis.SoundId = "rbxassetid://943007553" | |
348 | NANI = Instance.new("Sound",soundfolder) | |
349 | NANI.Volume = 30 | |
350 | NANI.Name = "Japanese Screeching" | |
351 | NANI.Looped = false | |
352 | NANI.SoundId = "rbxassetid://458877941" | |
353 | Stop = Instance.new("Sound",soundfolder) | |
354 | Stop.Volume = 5 | |
355 | Stop.Name = "Oof" | |
356 | Stop.Looped = false | |
357 | Stop.SoundId = "rbxassetid://431057042" | |
358 | - | Start.SoundId = "rbxassetid://2259766079" |
358 | + | |
359 | Stop2.Volume = 1 | |
360 | Stop2.Name = "Of" | |
361 | Stop2.Looped = false | |
362 | Stop2.SoundId = "rbxassetid://0" | |
363 | Stop3 = Instance.new("Sound",soundfolder) | |
364 | Stop3.Volume = 10 | |
365 | Stop3.Name = "O0f" | |
366 | Stop3.Looped = false | |
367 | Stop3.SoundId = "rbxassetid://0" | |
368 | Start = Instance.new("Sound",soundfolder) | |
369 | Start.Volume = 10 | |
370 | Start.Name = "00f" | |
371 | Start.Looped = false | |
372 | Start.SoundId = "rbxassetid://138084923" | |
373 | - | Wrry.SoundId = "rbxassetid://525743689" |
373 | + | |
374 | Start2.Volume = 4 | |
375 | - | Muda.Volume = 4 |
375 | + | |
376 | Start2.Looped = false | |
377 | Start2.SoundId = "rbxassetid://0" | |
378 | - | Muda.SoundId = "rbxassetid://616593932" |
378 | + | |
379 | - | B = Instance.new("Sound",soundfolder) |
379 | + | |
380 | - | B.Volume = 30 |
380 | + | |
381 | - | B.Name = "BOI" |
381 | + | |
382 | - | B.Looped = false |
382 | + | |
383 | - | B.SoundId = "rbxassetid://622342161" |
383 | + | |
384 | - | a = Instance.new("Sound",soundfolder) |
384 | + | |
385 | - | a.Volume = 30 |
385 | + | |
386 | - | a.Name = "why" |
386 | + | |
387 | - | a.Looped = false |
387 | + | Wrry.SoundId = "rbxassetid://352470069" |
388 | - | a.SoundId = "rbxassetid://520008569" |
388 | + | |
389 | - | h = Instance.new("Sound",soundfolder) |
389 | + | Muda.Volume = 10 |
390 | - | h.Volume = 30 |
390 | + | |
391 | - | h.Name = "non" |
391 | + | |
392 | - | h.Looped = false |
392 | + | Muda.SoundId = "rbxassetid://1378131503" |
393 | - | h.SoundId = "rbxassetid://2155289337" |
393 | + | --the rest are new things I put in |
394 | - | L = Instance.new("Sound",soundfolder) |
394 | + | PEWTIS = Instance.new("Sound",soundfolder) |
395 | - | L.Volume = 30 |
395 | + | PEWTIS.Volume = 10 |
396 | - | L.Name = "non" |
396 | + | PEWTIS.Name = "demomang" |
397 | - | L.Looped = false |
397 | + | PEWTIS.Looped = false |
398 | - | L.SoundId = "rbxassetid://1093589689" |
398 | + | PEWTIS.SoundId = "rbxassetid://1329648321" |
399 | - | O = Instance.new("Sound",soundfolder) |
399 | + | demodie1 = Instance.new("Sound",soundfolder) |
400 | - | O.Volume = 30 |
400 | + | demodie1.Volume = 10 |
401 | - | O.Name = "non" |
401 | + | demodie1.Name = "demomang" |
402 | - | O.Looped = false |
402 | + | demodie1.Looped = false |
403 | - | O.SoundId = "rbxassetid://1757383220" |
403 | + | demodie1.SoundId = "rbxassetid://212389449" |
404 | - | R = Instance.new("Sound",soundfolder) |
404 | + | demodie2 = Instance.new("Sound",soundfolder) |
405 | - | R.Volume = 30 |
405 | + | demodie2.Volume = 10 |
406 | - | R.Name = "non" |
406 | + | demodie2.Name = "demomang" |
407 | - | R.Looped = false |
407 | + | demodie2.Looped = false |
408 | - | R.SoundId = "rbxassetid://2595868833" |
408 | + | demodie2.SoundId = "rbxassetid://1278695765" |
409 | - | S = Instance.new("Sound",soundfolder) |
409 | + | KEELEM = Instance.new("Sound",soundfolder) |
410 | - | S.Volume = 30 |
410 | + | KEELEM.Volume = 10 |
411 | - | S.Name = "wee" |
411 | + | KEELEM.Name = "demomang" |
412 | - | S.Looped = false |
412 | + | KEELEM.Looped = false |
413 | - | S.SoundId = "rbxassetid://298689061" |
413 | + | KEELEM.SoundId = "rbxassetid://942973921" |
414 | - | I = Instance.new("Sound",soundfolder) |
414 | + | |
415 | - | I.Volume = 30 |
415 | + | |
416 | - | I.Name = "woa" |
416 | + | |
417 | - | I.Looped = false |
417 | + | |
418 | - | I.SoundId = "rbxassetid://858883207" |
418 | + | |
419 | - | sad = Instance.new("Sound",soundfolder) |
419 | + | |
420 | - | sad.Volume = 30 |
420 | + | |
421 | - | sad.Name = "so sad" |
421 | + | |
422 | - | sad.Looped = true |
422 | + | |
423 | - | sad.SoundId = "rbxassetid://2097990918" |
423 | + | |
424 | - | epic = Instance.new("Sound",soundfolder) |
424 | + | |
425 | - | epic.Volume = 30 |
425 | + | |
426 | - | epic.Name = "so sad" |
426 | + | |
427 | - | epic.Looped = false |
427 | + | |
428 | - | epic.SoundId = "rbxassetid://2419772006" |
428 | + | |
429 | - | asd = Instance.new("Sound",soundfolder) |
429 | + | |
430 | - | asd.Volume = 30 |
430 | + | |
431 | - | asd.Name = "Japanese Screeching" |
431 | + | |
432 | - | asd.Looped = false |
432 | + | |
433 | - | asd.SoundId = "rbxassetid://907409748" |
433 | + | |
434 | - | ss = Instance.new("Sound",soundfolder) |
434 | + | |
435 | - | ss.Volume = 30 |
435 | + | |
436 | - | ss.Name = "gnomed" |
436 | + | |
437 | - | ss.Looped = false |
437 | + | |
438 | - | ss.SoundId = "rbxassetid://1933822358" |
438 | + | |
439 | llegm.C1 = CFrame.new(0, 1, 0) | |
440 | llegm.Part0 = torso | |
441 | llegm.Part1 = ll | |
442 | ||
443 | rj.C0 = CFrame.new() | |
444 | rj.C1 = CFrame.new() | |
445 | ||
446 | neck.C0 = CFrame.new(0, 1, 0) | |
447 | neck.C1 = CFrame.new(0, -0.5, 0) | |
448 | ||
449 | local speed = 0.3 | |
450 | local angle = 0 | |
451 | local anglespeed = 1 | |
452 | rsc0 = rm.C0 | |
453 | lsc0 = lm.C0 | |
454 | llc0 = llegm.C0 | |
455 | rlc0 = rlegm.C0 | |
456 | rootc0 = rj.C0 | |
457 | neckc0 = neck.C0 | |
458 | ---------------------------------------------- | |
459 | wait() | |
460 | function descend(obj,class,func) | |
461 | for i,v in pairs(obj:GetChildren()) do | |
462 | if v:IsA(class) then | |
463 | func(v) | |
464 | end | |
465 | descend(v,class,func) | |
466 | end | |
467 | end | |
468 | local pls = game:GetService("Players").LocalPlayer | |
469 | function initiateCharacter(char) | |
470 | if not char then return end | |
471 | wait() | |
472 | descend(char,"BasePart",function(obj) | |
473 | obj.Anchored = false | |
474 | obj.Changed:connect(function() | |
475 | if obj.Anchored then | |
476 | obj.Anchored = false | |
477 | end | |
478 | end) | |
479 | end) | |
480 | descend(char,"Humanoid",function(obj) | |
481 | obj.WalkSpeed = 16 | |
482 | obj.Changed:connect(function() | |
483 | if obj.WalkSpeed == 0 then | |
484 | obj.WalkSpeed = 16 | |
485 | end | |
486 | end) | |
487 | end) | |
488 | end | |
489 | initiateCharacter(pls.Character) | |
490 | pls.CharacterAdded:connect(function(c) | |
491 | initiateCharacter(c) | |
492 | end) | |
493 | ---------------------------------------------- | |
494 | mouse.KeyDown:connect(function(key) | |
495 | if key == "m" then | |
496 | demoguide:Play() | |
497 | wait(2) | |
498 | end | |
499 | ||
500 | end) | |
501 | ||
502 | mouse.KeyDown:connect(function(key) | |
503 | if key == "x" then | |
504 | yes:Stop() | |
505 | WhatKindOfDioIsThis:Stop() | |
506 | demoguide:Stop() | |
507 | wait(2) | |
508 | end | |
509 | ||
510 | end) | |
511 | ||
512 | ||
513 | mouse.KeyDown:connect(function(key) | |
514 | if key == "n" then | |
515 | KonoDioDAA:Play() | |
516 | wait(0.3) | |
517 | chatfunc("[scottish gibberish]") | |
518 | end | |
519 | ||
520 | - | if key == "j" then |
520 | + | |
521 | - | yosh:Play() |
521 | + | |
522 | if key == "h" then | |
523 | PEWTIS:Play() | |
524 | wait(0.3) | |
525 | chatfunc("POOT-IS!") | |
526 | end | |
527 | ||
528 | end) | |
529 | - | yosh:Stop() |
529 | + | |
530 | if key == "z" then | |
531 | demodie1:Play() | |
532 | wait(0.3) | |
533 | chatfunc("DaAAAAaaAAAA") | |
534 | end | |
535 | - | if key == "l" then |
535 | + | |
536 | - | osh:Play() |
536 | + | |
537 | mouse.KeyDown:connect(function(key) | |
538 | if key == "x" then | |
539 | demodie2:Play() | |
540 | wait(0.3) | |
541 | chatfunc("EEYAaaaaaaAAAAAAAaaa") | |
542 | end | |
543 | ||
544 | - | osh:Stop() |
544 | + | |
545 | mouse.KeyDown:connect(function(key) | |
546 | if key == "c" then | |
547 | KEELEM:Play() | |
548 | wait(0.3) | |
549 | chatfunc("KILL HIM! KILL HIM HES HEALING HIMSELF!") | |
550 | end | |
551 | ||
552 | end) | |
553 | ||
554 | ||
555 | mouse.KeyDown:connect(function(key) | |
556 | if key == "b" then | |
557 | WhatKindOfDioIsThis:Play() | |
558 | wait(0.3) | |
559 | chatfunc("AAGH! ME HEAD!") | |
560 | wait(1.8) | |
561 | end | |
562 | ||
563 | end) | |
564 | ||
565 | mouse.KeyDown:connect(function(key) | |
566 | if key == "v" then | |
567 | yes:Play() | |
568 | wait(2) | |
569 | end | |
570 | ||
571 | end) | |
572 | ||
573 | mouse.KeyDown:connect(function(key) | |
574 | if key == "f" then | |
575 | Wrry:Play() | |
576 | wait(0.1) | |
577 | chatfunc("MEEEM") | |
578 | end | |
579 | ||
580 | end) | |
581 | ||
582 | mouse.KeyDown:connect(function(key) | |
583 | if key == "g" then | |
584 | NANI:Play() | |
585 | chatfunc("WOHOHOHOHAHAHA WOHAHAAHOHOHO") | |
586 | - | chatfunc("Bye bye!") |
586 | + | |
587 | - | chatfunc("") |
587 | + | |
588 | - | wait(0.2) |
588 | + | |
589 | end) | |
590 | ||
591 | canworld = true | |
592 | mouse.KeyDown:connect(function(key) | |
593 | if key == "t" and not frozen then | |
594 | if canworld == false then return end | |
595 | if canworld then | |
596 | - | chatfunc("") |
596 | + | |
597 | - | wait(0.2) |
597 | + | |
598 | chatfunc("Its lads like you that give war a bad name!") | |
599 | wait(1.5) | |
600 | Stop3:Play() | |
601 | ||
602 | local function spawnpart() | |
603 | sphere = Instance.new("Part") | |
604 | - | B:Play() |
604 | + | |
605 | local sm = Instance.new("SpecialMesh", sphere) | |
606 | - | chatfunc("BOI") |
606 | + | |
607 | sphere.Transparency = 0.5 | |
608 | sphere.Anchored = true | |
609 | sphere.CanCollide = false | |
610 | sphere.Material = "Neon" | |
611 | sphere.BrickColor = BrickColor.new("Black") | |
612 | - | if key == "q" then |
612 | + | |
613 | - | S:Play() |
613 | + | |
614 | local function weld(lol) | |
615 | - | chatfunc("1v1 me mate") |
615 | + | |
616 | weld.Part0 = plr.Character.Torso | |
617 | weld.Part1 = lol | |
618 | weld.C0 = plr.Character.Torso.CFrame:inverse() | |
619 | weld.C1 = lol.CFrame:inverse() | |
620 | end | |
621 | wait() | |
622 | spawnpart() | |
623 | - | sad:Play() |
623 | + | |
624 | weld(sphere) | |
625 | cce = Instance.new("ColorCorrectionEffect", game.Lighting) | |
626 | cce.Saturation = -5 | |
627 | knifeSpeed = 0 | |
628 | --game.Debris:AddItem(cce, 5) | |
629 | sphere.Parent = char.Torso | |
630 | for i = 1,3 do | |
631 | - | sad:Stop() |
631 | + | |
632 | wait() | |
633 | end | |
634 | wait() | |
635 | sphere:Destroy() | |
636 | BeeSpeed = 0 | |
637 | frozen = true | |
638 | - | if key == "r" then |
638 | + | |
639 | - | epic:Play() |
639 | + | |
640 | cce.Saturation = -0.2 | |
641 | - | chatfunc("Well i dont need you, I'll game end him myself.") |
641 | + | |
642 | - | wait(1.65) |
642 | + | |
643 | wait(0.2) | |
644 | cce.Saturation = -1.5 | |
645 | wait() | |
646 | ||
647 | - | if key == "o" then |
647 | + | |
648 | - | ss:Play() |
648 | + | |
649 | end | |
650 | - | chatfunc("hehehehehoohoohoo") |
650 | + | |
651 | - | wait(1.65) |
651 | + | |
652 | ) | |
653 | ||
654 | mouse.KeyDown:connect(function(key) | |
655 | key = key:lower() | |
656 | if key == "y" and frozen and canworld then | |
657 | canworld = false | |
658 | chatfunc("Time continues moving again.") | |
659 | - | chatfunc("YEET") |
659 | + | |
660 | - | wait(1.65) |
660 | + | |
661 | Start2:Play() | |
662 | Start2d:Play() | |
663 | wait() | |
664 | BeeSpeed = 1 | |
665 | cce.Saturation = -1.3 | |
666 | wait(0.5) | |
667 | BeeSpeed = 1.2 | |
668 | - | chatfunc("YEET") |
668 | + | |
669 | - | wait(1.65) |
669 | + | |
670 | BeeSpeed = 1.4 | |
671 | cce.Saturation = -0.4 | |
672 | wait(0.3) | |
673 | BeeSpeed = 1.5 | |
674 | - | if key == "k" then |
674 | + | |
675 | - | O:Play() |
675 | + | |
676 | cce.Saturation = 0 | |
677 | - | chatfunc("hi how ar ya") |
677 | + | |
678 | - | wait(1.65) |
678 | + | |
679 | t = v.Character:FindFirstChild("Torso") | |
680 | if t then | |
681 | t.Anchored = false | |
682 | end | |
683 | RA = v.Character:FindFirstChild("Right Arm") | |
684 | - | a:Play() |
684 | + | |
685 | RA.Anchored = false | |
686 | - | chatfunc("WHAT IS THIS") |
686 | + | |
687 | - | wait(1.65) |
687 | + | |
688 | if LA then | |
689 | LA.Anchored = false | |
690 | end | |
691 | RL = v.Character:FindFirstChild("Right Leg") | |
692 | - | if key == "y" then |
692 | + | |
693 | - | h:Play() |
693 | + | |
694 | end | |
695 | - | chatfunc("E") |
695 | + | |
696 | - | wait(1.65) |
696 | + | |
697 | LL.Anchored = false | |
698 | end | |
699 | end | |
700 | BeeSpeed = 100 | |
701 | - | if key == "u" then |
701 | + | |
702 | - | L:Play() |
702 | + | |
703 | frozen = false | |
704 | - | chatfunc("aeiou") |
704 | + | |
705 | - | wait(1.65) |
705 | + | |
706 | end | |
707 | end) | |
708 | ||
709 | humanoid.Died:connect(function() | |
710 | - | if key == "p" then |
710 | + | |
711 | - | R:Play() |
711 | + | |
712 | cce:Remove() | |
713 | - | chatfunc("now this is epic") |
713 | + | |
714 | - | wait(1.65) |
714 | + | |
715 | mouse.KeyDown:connect(function(k) | |
716 | if string.byte(k) == 48 then | |
717 | humanoid.WalkSpeed = 24 | |
718 | end | |
719 | - | if key == "i" then |
719 | + | |
720 | - | I:Play() |
720 | + | |
721 | mouse.KeyUp:connect(function(k) | |
722 | - | chatfunc("Can I sing a song for you?") |
722 | + | |
723 | humanoid.WalkSpeed = 16 | |
724 | end | |
725 | - | wait(1.65) |
725 | + | |
726 | ||
727 | local action = 'None' | |
728 | plr.Chatted:connect(function(msg) | |
729 | if msg == '/e dance' or msg == '/emote dance' then | |
730 | action = 'Dance' | |
731 | end | |
732 | - | chatfunc("!") |
732 | + | |
733 | action = 'Wrrrry' | |
734 | end | |
735 | end) | |
736 | ||
737 | ||
738 | local dance_move_wait = 0 | |
739 | - | asd:Play() |
739 | + | |
740 | - | chatfunc("BONELESS pizza") |
740 | + | |
741 | rm.MaxVelocity = 0 | |
742 | lm.MaxVelocity = 0 | |
743 | rm.DesiredAngle = 0 | |
744 | rm.CurrentAngle = 0 | |
745 | lm.DesiredAngle = 0 | |
746 | lm.CurrentAngle = 0 | |
747 | angle = (angle % 100) + anglespeed/10 | |
748 | mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10)) | |
749 | local rscf = rsc0 | |
750 | local lscf = lsc0 | |
751 | local rlcf = rlc0 | |
752 | local llcf = llc0 | |
753 | - | chatfunc("U FINNA GET BODIED") |
753 | + | |
754 | local ncf = neckc0 | |
755 | - | wait(0.8) |
755 | + | |
756 | local hitz, enz = workspace:FindPartOnRay(ray, char) | |
757 | for i,object in pairs(char:children()) do | |
758 | if object:IsA("Tool") then | |
759 | tool = true | |
760 | if not debounce then | |
761 | for x,value in pairs(object:children()) do | |
762 | if value:IsA("StringValue") and value.Name == "toolanim" and value.Value == "Slash" then | |
763 | debounce = true | |
764 | coroutine.wrap(function() | |
765 | slashing = true | |
766 | wait(.15) | |
767 | slashing = false | |
768 | debounce = false | |
769 | - | sphere.BrickColor = BrickColor.new("White") |
769 | + | |
770 | value:Destroy() | |
771 | end | |
772 | end | |
773 | end | |
774 | elseif not object:IsA'Tool' then | |
775 | tool = false | |
776 | end | |
777 | end | |
778 | if action == 'Dance' then | |
779 | anglespeed = 2 | |
780 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
781 | rjcf = rootc0 * CFrame.Angles(math.rad(2), math.sin(angle)*.15, 0) | |
782 | lscf = lsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2-math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4) | |
783 | rscf = rsc0 * CFrame.new(0, .5 + math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/1.2+math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4) | |
784 | rlcf = rlc0 * CFrame.new(0, .3 + math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
785 | llcf = llc0 * CFrame.new(0, .3 - math.cos(angle)*.3, -.1) * CFrame.Angles(-math.rad(2), 0, 0) | |
786 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
787 | else | |
788 | action = 'None' | |
789 | end | |
790 | elseif action == 'prepareHump' then | |
791 | --animations by ethan | |
792 | ncf = neckc0 * CFrame.Angles(math.rad(40), 0, 0) | |
793 | rjcf = rootc0 * CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(-45), 0, 0) | |
794 | rscf = rsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
795 | lscf = lsc0 * CFrame.Angles(math.rad(45) + math.rad(90), 0, 0) | |
796 | rlcf = rlc0 * CFrame.Angles(math.rad(90), 0, 0) | |
797 | llcf = llc0 * CFrame.Angles(math.rad(90), 0, 0) | |
798 | elseif action == 'Hump' then | |
799 | --animations by ethan | |
800 | ncf = neckc0 * CFrame.Angles(math.rad(-10), 0, 0) | |
801 | rjcf = rootc0 * CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(45), 0, 0) | |
802 | rscf = rsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
803 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
804 | rlcf = rlc0 * CFrame.Angles(math.rad(-90), 0, math.rad(10)) | |
805 | llcf = llc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
806 | elseif action == "Muda1" then | |
807 | ||
808 | ncf = neckc0 * CFrame.Angles(0, math.rad(-30), 0) | |
809 | rjcf = rootc0 * CFrame.Angles(0, math.rad(45), 0) | |
810 | rscf = rsc0 * CFrame.Angles(math.rad(90), 0, math.rad(10)) | |
811 | lscf = lsc0 * CFrame.Angles(math.rad(-90), 0, math.rad(-10)) | |
812 | rlcf = rlc0 * CFrame.Angles(math.rad(45), 0, math.rad(10)) | |
813 | llcf = llc0 * CFrame.Angles(math.rad(-45), 0, math.rad(-10)) | |
814 | elseif action == "Muda2" then | |
815 | ||
816 | - | chatfunc("Time continues moving again. lol") |
816 | + | |
817 | rjcf = rootc0 * CFrame.Angles(0, math.rad(-45), 0) | |
818 | - | head.face.Texture = "rbxassetid://17138027" |
818 | + | |
819 | lscf = lsc0 * CFrame.Angles(math.rad(90), 0, math.rad(-10)) | |
820 | - | head.face.Texture = "rbxassetid://30395097" |
820 | + | |
821 | llcf = llc0 * CFrame.Angles(math.rad(45), 0, math.rad(-10)) | |
822 | - | head.face.Texture = "rbxassetid://17138027" |
822 | + | |
823 | - | wait(0.2) |
823 | + | |
824 | - | head.face.Texture = "rbxassetid://30395097" |
824 | + | |
825 | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
826 | - | head.face.Texture = "rbxassetid://17138027" |
826 | + | |
827 | rjcf = rootc0 * CFrame.new(0, -.2, .6) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, math.cos(angle)*.15, 0) | |
828 | - | head.face.Texture = "rbxassetid://30395097" |
828 | + | |
829 | rscf = rsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(-math.pi/6 + math.cos(angle)*0.4, math.sin(-angle)*0.1, .15 + -math.sin(angle)*0.4) | |
830 | - | head.face.Texture = "rbxassetid://30395097" |
830 | + | |
831 | llcf = llc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(-math.rad(25)+math.sin(angle)*0.025, -math.cos(angle)*.15, -.1) | |
832 | - | head.face.Texture = "rbxassetid://17138027" |
832 | + | |
833 | elseif dance_move_wait > 20 then | |
834 | - | head.face.Texture = "rbxassetid://30395097" |
834 | + | |
835 | lscf = lsc0 * CFrame.new(0, math.sin(angle)*0.025, 0) * CFrame.Angles(math.pi/6 + math.cos(angle)*0.4, math.sin(angle)*0.1, -.15 - -math.sin(angle)*0.4) | |
836 | - | head.face.Texture = "rbxassetid://17138027" |
836 | + | |
837 | rlcf = rlc0 * CFrame.new(0, 0, -.1) * CFrame.Angles(math.rad(25)-math.sin(angle)*0.025, -math.cos(angle)*.15, .1) | |
838 | - | head.face.Texture = "rbxassetid://30395097" |
838 | + | |
839 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.4, 0) | |
840 | - | head.face.Texture = "rbxassetid://17138027" |
840 | + | |
841 | ||
842 | - | head.face.Texture = "rbxassetid://30395097" |
842 | + | |
843 | action = 'None' | |
844 | end | |
845 | elseif not hitz and (torso.Velocity.y > 1 or torso.Velocity.y < -1) then | |
846 | anglespeed = 3 | |
847 | rjcf = rootc0 * CFrame.Angles(math.rad(5), 0, 0) | |
848 | rscf = rsc0 * CFrame.Angles(math.rad(130) + math.sin(angle)*.8, 0, .15) | |
849 | lscf = lsc0 * CFrame.Angles(math.rad(130) + -math.sin(angle)*.8, 0, -.15) | |
850 | rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(angle)*.3, -.3 + -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + -math.sin(angle)*1, 0, 0) | |
851 | llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.3 - -math.cos(angle)*.3) * CFrame.Angles(math.pi/14 + math.sin(angle)*1, 0, 0) | |
852 | ncf = neckc0 * CFrame.Angles(0, math.sin(angle)*.8, 0) | |
853 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then | |
854 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 then | |
855 | anglespeed = 2 | |
856 | rjcf = rootc0 * CFrame.new(0, math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0) | |
857 | rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.7, 0, .05) | |
858 | lscf = lsc0 * CFrame.Angles(-math.sin(angle)*1.7, 0, -.05) | |
859 | rlcf = rlc0 * CFrame.Angles(-math.sin(angle)*1.4, 0, 0) | |
860 | llcf = llc0 * CFrame.Angles(math.sin(angle)*1.4, 0, 0) | |
861 | ncf = neckc0 * CFrame.Angles(-math.rad(30) + math.abs(math.sin(angle))*.95, math.sin(angle)*.8, 0) | |
862 | elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 20 then | |
863 | anglespeed = 2.5 | |
864 | rjcf = rootc0 * CFrame.new(0, -.3 + math.abs(math.sin(angle))*.65, 0) * CFrame.Angles(-math.rad(10)+math.rad(torso.Velocity.y)*2, 0, 0) | |
865 | rscf = rsc0 * CFrame.new(0, math.cos(angle)*.5, math.sin(angle)*.5) * CFrame.Angles(math.cos(angle)*2.8, 0, math.abs(math.sin(angle))*.5) | |
866 | lscf = lsc0 * CFrame.new(0, -math.cos(angle)*.5, -math.sin(angle)*.5) * CFrame.Angles(-math.cos(angle)*2.8, 0, -math.abs(math.sin(angle))*.5) | |
867 | rlcf = rlc0 * CFrame.new(0, .3 + -math.cos(-angle)*.3, -.2+math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.4, 0, math.rad(.5)) | |
868 | llcf = llc0 * CFrame.new(0, .3 - -math.cos(angle)*.3, -.05-math.sin(angle)*0.25) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.4, 0, -math.rad(.5)) | |
869 | ncf = neckc0 * CFrame.Angles(math.cos(angle), math.sin(angle), 0) | |
870 | end | |
871 | if tool then | |
872 | rscf = rsc0 * CFrame.Angles(math.pi/2, 0, 0) | |
873 | if slashing then | |
874 | rscf = rsc0 * CFrame.Angles(-math.pi/12, 0, -.1) | |
875 | end | |
876 | end | |
877 | rm.C0 = clerp(rm.C0,rscf,speed) | |
878 | lm.C0 = clerp(lm.C0,lscf,speed) | |
879 | rj.C0 = clerp(rj.C0,rjcf,speed) | |
880 | neck.C0 = clerp(neck.C0,ncf,speed) | |
881 | rlegm.C0 = clerp(rlegm.C0,rlcf,speed) | |
882 | llegm.C0 = clerp(llegm.C0,llcf,speed) | |
883 | if frozen then | |
884 | timeFreezeFunction() | |
885 | else | |
886 | ||
887 | for i,p in pairs(stuffFrozen) do | |
888 | p.Anchored = false | |
889 | end | |
890 | for i,s in pairs(frozenSounds) do | |
891 | s:Resume() | |
892 | end | |
893 | stuffFrozen = {} | |
894 | frozenSounds = {} | |
895 | end | |
896 | end) | |
897 | ||
898 | function punchDamage() | |
899 | coroutine.resume(coroutine.create(function() | |
900 | function Damage(model) | |
901 | for i,s in pairs(model:GetChildren()) do | |
902 | Damage(s) | |
903 | if s.Name == "HumanoidRootPart" or s.Name == "Torso" and s:IsA("BasePart") then | |
904 | if (rootpart.Position - s.Position).magnitude < 4 then | |
905 | local vichum = s.Parent:FindFirstChild("Humanoid") | |
906 | if vichum and vichum ~= humanoid then | |
907 | local punch = Instance.new("Sound", soundfolder) | |
908 | punch.Volume = 3 | |
909 | punch.Name = "POOCH" | |
910 | punch.SoundId = "rbxassetid://296102734" | |
911 | punch:Play() | |
912 | game:GetService("Debris"):AddItem(punch, 2) | |
913 | repeat wait() until not frozen | |
914 | if vel then | |
915 | vel:Remove() | |
916 | end | |
917 | ||
918 | vel = Instance.new("BodyVelocity", s) | |
919 | vel.Velocity = CFrame.new(s.CFrame.p, rootpart.CFrame.lookVector * 120).lookVector | |
920 | game:GetService("Debris"):AddItem(vel, 0.25) | |
921 | ||
922 | vichum:TakeDamage(15 +(math.random(-10, 10)/10)) | |
923 | end | |
924 | end | |
925 | end | |
926 | end | |
927 | end | |
928 | ||
929 | Damage(workspace) | |
930 | end)) | |
931 | end | |
932 | ||
933 | mouse.KeyDown:connect(function(k) | |
934 | if k == "q" and not humping then | |
935 | ||
936 | humping = true | |
937 | action = 'prepareHump' | |
938 | wait(0.25) | |
939 | action = 'Hump' | |
940 | wait(0.03) | |
941 | local knife = Instance.new("Part", char) | |
942 | knife.Size = Vector3.new(0.2, 0.4, 2) | |
943 | knife.CanCollide = false | |
944 | knife.Anchored = false | |
945 | knife:BreakJoints() | |
946 | knife.CFrame = rootpart.CFrame * CFrame.new(0, -1, -2) | |
947 | knife.CFrame = CFrame.new(knife.Position, mouse.Hit.p) * CFrame.new(math.random(-10, 10)/100, math.random(-10, 10)/100, math.random(-10, 10)/100) | |
948 | knife.BrickColor = BrickColor.new("Buttermilk") | |
949 | local knifeMesh = Instance.new("SpecialMesh", knife) | |
950 | knifeMesh.MeshId = "rbxassetid://202083123" | |
951 | local vel = Instance.new("BodyVelocity", knife) | |
952 | knife.Touched:connect(function(part) | |
953 | if part.Parent ~= nil then | |
954 | local vichum = part.Parent:FindFirstChild("Humanoid") | |
955 | if vichum and vichum ~= humanoid then | |
956 | local stabbedKnife = knife:Clone() | |
957 | stabbedKnife.Parent = workspace | |
958 | stabbedKnife:WaitForChild("BodyVelocity"):Remove() | |
959 | local stabweld = Instance.new("Weld", stabbedKnife) | |
960 | stabweld.Part0 = part | |
961 | stabweld.Part1 = stabbedKnife | |
962 | stabweld.C0 = part.CFrame:toObjectSpace(knife.CFrame) | |
963 | knife:Destroy() | |
964 | repeat wait() until not frozen | |
965 | game:GetService("Debris"):AddItem(stabbedKnife, 10) | |
966 | vichum:TakeDamage(16, 24) | |
967 | end | |
968 | end | |
969 | end) | |
970 | coroutine.wrap(function() | |
971 | game:GetService("RunService").RenderStepped:connect(function() | |
972 | vel.Velocity = knife.CFrame.lookVector * knifeSpeed | |
973 | if (knife.Position - rootpart.Position).magnitude > 500 then | |
974 | ||
975 | knife:Destroy() | |
976 | end | |
977 | end) | |
978 | end)() | |
979 | ||
980 | wait(0.47) | |
981 | humping = false | |
982 | action = 'None' | |
983 | elseif k == "e" and not mudaing then | |
984 | speed = 0.8 | |
985 | Muda:Play() | |
986 | mudaing = true | |
987 | for i = 1,39 do | |
988 | action = "Muda1" | |
989 | punchDamage() | |
990 | wait(0.03) | |
991 | action = "Muda2" | |
992 | punchDamage() | |
993 | wait(0.03) | |
994 | end | |
995 | ||
996 | ||
997 | wait() | |
998 | action = 'None' | |
999 | speed = 0.3 | |
1000 | mudaing = false | |
1001 | end | |
1002 | end) |