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,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | - | print("FE Compatibility code V2 by Mokiros") |
6 | + | print("FE Compatibility by 1000hack") |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | local h,t | |
87 | --Give the server mouse data every second frame, but only if the values changed | |
88 | --If player is not moving their mouse, client won't fire events | |
89 | local HB = game:GetService("RunService").Heartbeat | |
90 | while true do | |
91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
92 | h,t=Mouse.Hit,Mouse.Target | |
93 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
94 | end | |
95 | --Wait 2 frames | |
96 | for i=1,2 do | |
97 | HB:Wait() | |
98 | end | |
99 | end]==],script) | |
100 | ||
101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
102 | --Real game object | |
103 | local RealGame = game | |
104 | ||
105 | --Metatable for fake service | |
106 | local FakeService_Metatable = { | |
107 | __index = function(self,k) | |
108 | local s = rawget(self,"_RealService") | |
109 | if s then | |
110 | return typeof(s[k])=="function" | |
111 | and function(_,...)return s[k](s,...)end or s[k] | |
112 | end | |
113 | end, | |
114 | __newindex = function(self,k,v) | |
115 | local s = rawget(self,"_RealService") | |
116 | if s then s[k]=v end | |
117 | end | |
118 | } | |
119 | local function FakeService(t,RealService) | |
120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
121 | return setmetatable(t,FakeService_Metatable) | |
122 | end | |
123 | ||
124 | --Fake game object | |
125 | local FakeGame = { | |
126 | GetService = function(self,s) | |
127 | return rawget(self,s) or RealGame:GetService(s) | |
128 | end, | |
129 | Players = FakeService({ | |
130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
131 | },"Players"), | |
132 | UserInputService = FakeService(UIS,"UserInputService"), | |
133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
134 | RunService = FakeService({ | |
135 | _btrs = {}, | |
136 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
137 | BindToRenderStep = function(self,name,_,fun) | |
138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
139 | end, | |
140 | UnbindFromRenderStep = function(self,name) | |
141 | self._btrs[name]:Disconnect() | |
142 | end, | |
143 | },"RunService") | |
144 | } | |
145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
146 | FakeGame.service = FakeGame.GetService | |
147 | FakeService(FakeGame,game) | |
148 | --Changing owner to fake player object to support owner:GetMouse() | |
149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
150 | end | |
151 | ||
152 | - | -- I try to make things looks better, edited by Imkrillinit |
152 | + | -- I try to make things looks better, lol |
153 | -- Dark Caped Beast | |
154 | - | print("serious punch is T") |
154 | + | print("Editted but I edited all of it so I made it XD from 1000hack") |
155 | - | print("Consecutive dark punches is B") |
155 | + | print("serious punch is T broke is fixed but works only in place 2") |
156 | print("Consecutive punches is B") | |
157 | print("jump is m") | |
158 | print("k is a left punch") | |
159 | print("h is a right punch") | |
160 | - | print("music keys are, g y r q") |
160 | + | |
161 | print("l is to get inf hp ff and super walkspeed") | |
162 | print("u is to slow done but get inf hp and super walkspeed") | |
163 | print("music keys are, g y r q = best") | |
164 | print("F is to stop all the music") | |
165 | print("serious mode is x, press z to turn it off") | |
166 | print("p is to chat like saitama works in place 2 only") | |
167 | print("y is sorta fast and god and walkspeed") | |
168 | print("n is for GOD speed and god and ff") | |
169 | p = game.Players.LocalPlayer | |
170 | char = p.Character | |
171 | des = false | |
172 | fling = true | |
173 | dot = false | |
174 | falling = false | |
175 | jump = true | |
176 | multipunch = true | |
177 | tp = true | |
178 | shoot = true | |
179 | jump2 = true | |
180 | punch3 = true | |
181 | punch2 = true | |
182 | hum = char.Humanoid | |
183 | punch = true | |
184 | neckp = char.Torso.Neck.C0 | |
185 | neck = char.Torso.Neck | |
186 | des = false | |
187 | root = char.HumanoidRootPart | |
188 | torso = char.Torso | |
189 | p = game.Players.LocalPlayer | |
190 | char = p.Character | |
191 | - | shirt = Instance.new("Shirt", char) |
191 | + | local txt = Instance.new("BillboardGui", char) |
192 | - | shirt.Name = "Shirt" |
192 | + | txt.Adornee = char .Head |
193 | - | pants = Instance.new("Pants", char) |
193 | + | txt.Name = "_status" |
194 | - | pants.Name = "Pants" |
194 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
195 | - | char.Shirt:Remove() |
195 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
196 | - | char.Pants:Remove() |
196 | + | local text = Instance.new("TextLabel", txt) |
197 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end |
197 | + | text.Size = UDim2.new(10, 0, 7, 0) |
198 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=667102257" |
198 | + | text.FontSize = "Size24" |
199 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=815144043" |
199 | + | text.TextScaled = true |
200 | text.TextTransparency = 0 | |
201 | text.BackgroundTransparency = 1 | |
202 | text.TextTransparency = 0 | |
203 | text.TextStrokeTransparency = 0 | |
204 | text.Font = "Fantasy" | |
205 | text.TextStrokeColor3 = Color3.new(249, 233, 153) | |
206 | ||
207 | v=Instance.new("Part") | |
208 | v.Name = "ColorBrick" | |
209 | v.Parent=p.Character | |
210 | v.FormFactor="Symmetric" | |
211 | v.Anchored=true | |
212 | v.CanCollide=false | |
213 | v.BottomSurface="Smooth" | |
214 | v.TopSurface="Smooth" | |
215 | v.Size=Vector3.new(10,5,3) | |
216 | v.Transparency=1 | |
217 | v.CFrame=char.Torso.CFrame | |
218 | v.BrickColor=BrickColor.new(CV) | |
219 | v.Transparency=1 | |
220 | text.TextColor3 = Color3.new(249,233,153) | |
221 | v.Shape="Block" | |
222 | wait() | |
223 | text.Text = "Saitama" | |
224 | wait() | |
225 | text.Text = "Saitama"; | |
226 | wait() | |
227 | text.TextColor3 = Color3.new(249,233,153) | |
228 | spawn(function()while wait()do text.Text = " Saitama " tostring(Level)end end) | |
229 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end | |
230 | print("FE Compatibility: by WaverlyCole & Mokiros") | |
231 | InternalData = {} | |
232 | do | |
233 | script.Parent = owner.Character | |
234 | local Event = Instance.new("RemoteEvent") | |
235 | Event.Name = "UserInput" | |
236 | local function NewFakeEvent() | |
237 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect | |
238 | return Fake | |
239 | end | |
240 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
241 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
242 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
243 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
244 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
245 | local function TriggerEvent(self,Event,...) | |
246 | local Trigger = Mouse[Event] | |
247 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
248 | Trigger.Function(...) | |
249 | end | |
250 | end | |
251 | Mouse.TrigEvent = TriggerEvent | |
252 | UserInputService.TrigEvent = TriggerEvent | |
253 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
254 | if FiredBy.Name ~= owner.Name then end | |
255 | if Input.MouseEvent then | |
256 | Mouse.Target = Input.Target | |
257 | Mouse.Hit = Input.Hit | |
258 | else | |
259 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
260 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
261 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
262 | end | |
263 | for _,Action in pairs(ContextActionService.Actions) do | |
264 | for _,Key in pairs(Action.Keys) do | |
265 | if Key==Input.KeyCode then | |
266 | Action.Function(Action.Name,Input.UserInputState,Input) | |
267 | end | |
268 | end | |
269 | end | |
270 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
271 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
272 | end | |
273 | end) | |
274 | InternalData["Mouse"] = Mouse | |
275 | InternalData["ContextActionService"] = ContextActionService | |
276 | InternalData["UserInputService"] = UserInputService | |
277 | Event.Parent = NLS([[ | |
278 | local Player = owner | |
279 | local Event = script:WaitForChild("UserInput") | |
280 | local UserInputService = game:GetService("UserInputService") | |
281 | local Mouse = Player:GetMouse() | |
282 | local Input = function(Input,gameProcessedEvent) | |
283 | if gameProcessedEvent then return end | |
284 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
285 | end | |
286 | UserInputService.InputBegan:Connect(Input) | |
287 | UserInputService.InputEnded:Connect(Input) | |
288 | local Hit,Target | |
289 | while wait(1/30) do | |
290 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
291 | Hit,Target = Mouse.Hit,Mouse.Target | |
292 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
293 | end | |
294 | end | |
295 | ]],owner.Character) | |
296 | - | shok.BrickColor = BrickColor.new("Really black") |
296 | + | |
297 | RealGame = game;game = setmetatable({},{ | |
298 | __index = function (self,Index) | |
299 | local Sandbox = function (Thing) | |
300 | if Thing:IsA("Player") then | |
301 | local RealPlayer = Thing | |
302 | return setmetatable({},{ | |
303 | __index = function (self,Index) | |
304 | local Type = type(RealPlayer[Index]) | |
305 | if Type == "function" then | |
306 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
307 | return function (self) | |
308 | return InternalData["Mouse"] | |
309 | end | |
310 | end | |
311 | return function (self,...) | |
312 | return RealPlayer[Index](RealPlayer,...) | |
313 | end | |
314 | else | |
315 | if Index == "PlrObj" then | |
316 | return RealPlayer | |
317 | end | |
318 | return RealPlayer[Index] | |
319 | end | |
320 | end; | |
321 | __tostring = function(self) | |
322 | return RealPlayer.Name | |
323 | end | |
324 | }) | |
325 | end | |
326 | end | |
327 | if RealGame[Index] then | |
328 | local Type = type(RealGame[Index]) | |
329 | if Type == "function" then | |
330 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
331 | return function (self,Service) | |
332 | if Service:lower() == "players" then | |
333 | return setmetatable({},{ | |
334 | __index = function (self2,Index2) | |
335 | - | humz:TakeDamage(20000) |
335 | + | local RealService = RealGame:GetService(Service) |
336 | local Type2 = type(Index2) | |
337 | if Type2 == "function" then | |
338 | return function (self,...) | |
339 | return RealService[Index2](RealService,...) | |
340 | end | |
341 | else | |
342 | if Index2:lower() == "localplayer" then | |
343 | return Sandbox(owner) | |
344 | end | |
345 | return RealService[Index2] | |
346 | end | |
347 | end; | |
348 | __tostring = function(self) | |
349 | - | local Colors = {"Really black", "Really black"} |
349 | + | return RealGame:GetService(Service).Name |
350 | end | |
351 | }) | |
352 | elseif Service:lower() == "contextactionservice" then | |
353 | return InternalData["ContextActionService"] | |
354 | elseif Service:lower() == "contextactionservice" then | |
355 | return InternalData["UserInputService"] | |
356 | elseif Service:lower() == "runservice" then | |
357 | return setmetatable({},{ | |
358 | __index = function(self2,Index2) | |
359 | local RealService = RealGame:GetService(Service) | |
360 | local Type2 = type(Index2) | |
361 | if Type2 == "function" then | |
362 | return function (self,...) | |
363 | return RealService[Index2](RealService,...) | |
364 | end | |
365 | else | |
366 | if Index2:lower() == "bindtorenderstep" then | |
367 | return function (self,Name,Priority,Function) | |
368 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
369 | end | |
370 | end | |
371 | if Index2:lower() == "renderstepped" then | |
372 | return RealService["Stepped"] | |
373 | end | |
374 | return RealService[Index2] | |
375 | end | |
376 | end | |
377 | }) | |
378 | else | |
379 | return RealGame:GetService(Service) | |
380 | end | |
381 | end | |
382 | end | |
383 | return function (self,...) | |
384 | return RealGame[Index](RealGame,...) | |
385 | end | |
386 | else | |
387 | if game:GetService(Index) then | |
388 | return game:GetService(Index) | |
389 | end | |
390 | return RealGame[Index] | |
391 | end | |
392 | else | |
393 | return nil | |
394 | end | |
395 | end | |
396 | mou.KeyDown:connect(pressed) | |
397 | end) | |
398 | tool.Unequipped:connect(function() | |
399 | remoteequipped = false | |
400 | end) | |
401 | larm = char["Left Arm"] | |
402 | rarm = char["Right Arm"] | |
403 | lleg = char["Left Leg"] | |
404 | rleg = char["Right Leg"] | |
405 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
406 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
407 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
408 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
409 | char.Head.face.Texture = "rbxassetid://332768867" | |
410 | local ChatService = game:GetService("Chat") | |
411 | local player = game.Players.LocalPlayer | |
412 | lig = Instance.new("PointLight",player.Character.Torso) | |
413 | lig.Color = Color3.new(0,0,0) | |
414 | lig.Brightness = 10 | |
415 | - | Aura.LightEmission = 1 |
415 | + | |
416 | bb = Instance.new("BillboardGui",player.Character.Head) | |
417 | bb.Enabled = true | |
418 | function newRay(start,face,range,wat) | |
419 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
420 | hit,pos = workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
421 | - | Aura.Rate = 100 |
421 | + | |
422 | end | |
423 | aa1 = {} | |
424 | torso = game.Players.LocalPlayer.Character.Torso | |
425 | ||
426 | local WorldUp = Vector3.new(0,1,0) | |
427 | function look2(Vec1,Vec2) | |
428 | local Orig = Vec1 | |
429 | Vec1 = Vec1+Vector3.new(0,1,0) | |
430 | Vec2 = Vec2+Vector3.new(0,1,0) | |
431 | local Forward = (Vec2-Vec1).unit | |
432 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
433 | local Right = Up:Cross(Forward).unit | |
434 | Forward = -Forward | |
435 | Right = -Right | |
436 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
437 | end | |
438 | ||
439 | function look(CFr,Vec2) | |
440 | local A = Vector3.new(0,0,0) | |
441 | local B = CFr:inverse()*Vec2 | |
442 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
443 | if B.Z > 0 then | |
444 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
445 | elseif B.Z == 0 then | |
446 | if B.Y > 0 then | |
447 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
448 | elseif B.Y < 0 then | |
449 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
450 | else | |
451 | CF = CFr | |
452 | end | |
453 | end | |
454 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
455 | local Up = Vector3.new(X,Y,Z) | |
456 | local Forward = (Vec2-CFr.p).unit | |
457 | local Right = Up:Cross(Forward) | |
458 | Forward = -Forward | |
459 | Right = -Right | |
460 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
461 | end | |
462 | ||
463 | function simulate(j,d,m,r,t) | |
464 | local joint = j | |
465 | for i,v in ipairs(t) do | |
466 | if v[1]:FindFirstChild("Weld") then | |
467 | local stiff = m.CFrame.lookVector*0.03 | |
468 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
469 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
470 | - | p.BrickColor = BrickColor.new("Really black") |
470 | + | |
471 | local pos = joint.p+(dir*(d*0.5)) | |
472 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
473 | local inv = v[1].Weld.Part0.CFrame | |
474 | local rel1 = inv:inverse()*pos | |
475 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
476 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
477 | v[1].Weld.C0 = cf | |
478 | v[2] = inv*cf | |
479 | --v[1].CFrame = cf | |
480 | end | |
481 | end | |
482 | end | |
483 | ------------------------------------------------ | |
484 | function lerpz(joint, prop, cfrmz, alp) | |
485 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
486 | end | |
487 | ------------------------------------------------ | |
488 | function sqe() | |
489 | local effspwn = Instance.new("Part") | |
490 | local model = Instance.new("Model") | |
491 | game.Debris:AddItem(model, 5) | |
492 | model.Name = "smasheffects" | |
493 | model.Parent = workspace | |
494 | effspwn.Name = "spwnr" | |
495 | effspwn.Size = Vector3.new(1, 1, 1) | |
496 | effspwn.Anchored = true | |
497 | effspwn.CanCollide = false | |
498 | effspwn.Transparency = 1 | |
499 | effspwn.CFrame = (larm.CFrame + Vector3.new(math.random(-5,5),-0.45,math.random(-5,5))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0))) | |
500 | effspwn.Parent = model | |
501 | ||
502 | coroutine.resume(coroutine.create(function() | |
503 | local shok = Instance.new("Part") | |
504 | shok.Name = "whoosh" | |
505 | shok.BrickColor = BrickColor.new("White") | |
506 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
507 | shok.Size = Vector3.new(1, 1, 1) | |
508 | shok.Anchored = true | |
509 | shok.Material = "Neon" | |
510 | shok.Transparency = 0.1 | |
511 | shok.CanCollide = false | |
512 | shok.Parent = model | |
513 | game.Debris:AddItem(shok, 6) | |
514 | local mesh = Instance.new("SpecialMesh") | |
515 | mesh.MeshType = "FileMesh" | |
516 | mesh.MeshId = "rbxassetid://437347603" | |
517 | mesh.Scale = Vector3.new(0.08, 0.08, 0.2) | |
518 | mesh.Parent = shok | |
519 | for e = 1, 6 do | |
520 | wait() | |
521 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
522 | shok.Transparency = shok.Transparency + 0.1 | |
523 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
524 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29)) | |
525 | hito(shok, 8, 9999, 3) | |
526 | end | |
527 | for e = 1, 6 do | |
528 | wait() | |
529 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
530 | shok.Transparency = shok.Transparency + 0.09 | |
531 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -2), 0.4) | |
532 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) | |
533 | hito(shok, 8, 9999, 3) | |
534 | end | |
535 | end)) | |
536 | end | |
537 | ------------------------------------------------------------------------- | |
538 | function hito(partoz, magn, dmg, debtim) | |
539 | for _, guy in pairs(workspace:GetChildren()) do | |
540 | - | wait(0.05) |
540 | + | |
541 | do | |
542 | local humz = guy:FindFirstChild("Humanoid") | |
543 | local hed = guy:FindFirstChild("Head") | |
544 | humz:Destroy() | |
545 | local db = Instance.new("StringValue") | |
546 | db.Name = "alabo" | |
547 | db.Parent = hed | |
548 | delay(debtim, function() | |
549 | db:Destroy() | |
550 | end) | |
551 | end | |
552 | end | |
553 | end | |
554 | - | p.BrickColor = BrickColor.new("Really black") |
554 | + | |
555 | ------------------------------------------------------------------------- | |
556 | GroundWave1 = function() | |
557 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 0.8 | |
558 | local Colors = {"Really White", "Really White"} | |
559 | local wave = Instance.new("Part", char) | |
560 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
561 | wave.Anchored = true | |
562 | wave.Name = "Wave" | |
563 | wave.CanCollide = false | |
564 | wave.Locked = true | |
565 | wave.Size = Vector3.new(0.2, 0.2, 0.2) | |
566 | wave.TopSurface = "Smooth" | |
567 | wave.BottomSurface = "Smooth" | |
568 | wave.Transparency = 0.35 | |
569 | wave.CFrame = HandCF | |
570 | - | wait(0.02) |
570 | + | |
571 | wm.MeshId = "rbxassetid://3270017" | |
572 | coroutine.wrap(function() | |
573 | for i = 1, 30, 1 do | |
574 | wm.Scale = Vector3.new(6 + i*2, 2 + i*2, 2+ i*2) | |
575 | wave.Size = wm.Scale | |
576 | wave.CFrame = HandCF | |
577 | wave.Transparency = i/30 | |
578 | wait() | |
579 | end | |
580 | wait() | |
581 | wave:Destroy() | |
582 | end)() | |
583 | end | |
584 | ---------------------------------------------------------------------------- | |
585 | --Serious mode aura. | |
586 | ||
587 | InForm = false | |
588 | local mouse = player:GetMouse() | |
589 | local Player = game.Players.LocalPlayer | |
590 | local Char = Player.Character | |
591 | local Torso = Char.Torso | |
592 | ||
593 | function Serious() | |
594 | for X = 1, 1 do wait() | |
595 | local Effect = Instance.new("Part") | |
596 | Effect.Name = "Effect" | |
597 | Effect.Parent = Torso | |
598 | Effect.CFrame = Torso.CFrame | |
599 | Effect.BrickColor = BrickColor.new("White") | |
600 | Effect.Shape = "Ball" | |
601 | Effect.Size = Vector3.new(1, 1, 1) | |
602 | Effect.Anchored = true | |
603 | Effect.Material = "Neon" | |
604 | Effect.CanCollide = false | |
605 | for loop = 1, 25 do wait() | |
606 | Effect.CFrame = Torso.CFrame | |
607 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
608 | Effect.Transparency = Effect.Transparency + 0.04 | |
609 | end | |
610 | end | |
611 | ||
612 | repeat | |
613 | Torso:FindFirstChild("Effect"):Remove() | |
614 | until Torso:FindFirstChild("Effect") == nil | |
615 | ||
616 | ||
617 | local Color1 = Color3.new(255, 0, 0) | |
618 | local Color2 = Color3.new(255, 0, 0) | |
619 | ||
620 | local Aura = Instance.new('ParticleEmitter') | |
621 | Aura.Name = "Aura" | |
622 | Aura.Texture = "rbxassetid://660852712" | |
623 | Aura.Parent = Torso | |
624 | - | hum.WalkSpeed = 16 |
624 | + | Aura.LightEmission = 500 |
625 | Aura.Transparency = NumberSequence.new(0.8) | |
626 | Aura.Color = ColorSequence.new(Color1, Color2) | |
627 | Aura.Size = NumberSequence.new(3.5) | |
628 | Aura.LockedToPart = false | |
629 | Aura.Lifetime = NumberRange.new(0.3) | |
630 | Aura.Rate = 500 | |
631 | Aura.Speed = NumberRange.new(8) | |
632 | Aura.EmissionDirection = "Top" | |
633 | ||
634 | InForm = true | |
635 | end | |
636 | ||
637 | ||
638 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0.7 |
638 | + | |
639 | InForm = false | |
640 | local Effect = Instance.new("Part") | |
641 | Effect.Name = "Effect" | |
642 | - | wait(0.2) |
642 | + | |
643 | Effect.CFrame = Torso.CFrame | |
644 | Effect.BrickColor = BrickColor.new("White") | |
645 | Effect.Shape = "Ball" | |
646 | Effect.Size = Vector3.new(8, 8, 8) | |
647 | Effect.Anchored = true | |
648 | Effect.Material = "Neon" | |
649 | Effect.CanCollide = false | |
650 | for loop = 1, 25 do wait() | |
651 | Effect.CFrame = Torso.CFrame | |
652 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
653 | Effect.Transparency = Effect.Transparency + 0.04 | |
654 | end | |
655 | repeat | |
656 | Torso:FindFirstChild("Effect"):Remove() | |
657 | until Torso:FindFirstChild("Effect") == nil | |
658 | ||
659 | for i, v in pairs(Torso:GetChildren()) do | |
660 | if v:IsA('ParticleEmitter') then | |
661 | v:Remove() | |
662 | end | |
663 | end | |
664 | end | |
665 | mouse.KeyUp:connect(function(key) | |
666 | if key == "x" and InForm == false then | |
667 | Serious() | |
668 | hum.WalkSpeed = 100 | |
669 | - | ChatService:Chat(char.Head, "...") |
669 | + | ff = Instance.new("ForceField", Character) |
670 | ff.Visible = false | |
671 | hum.MaxHealth = math.huge | |
672 | hum.Health = math.huge | |
673 | end | |
674 | - | ChatService:Chat(char.Head ,"Dark...") |
674 | + | |
675 | mouse.KeyUp:connect(function(key) | |
676 | if key == "z" and InForm == true then | |
677 | hum.WalkSpeed = 20 | |
678 | ff = Instance.new("ForceField", Character) | |
679 | ff.Visible = false | |
680 | hum.MaxHealth = math.huge | |
681 | - | wait(0.3) |
681 | + | hum.Health = math.huge |
682 | Base() | |
683 | end | |
684 | end) | |
685 | ------------------------------------------------------------------------------- | |
686 | for i = 1,8 do | |
687 | local p = Instance.new("Part",char) | |
688 | p.Anchored = false | |
689 | p.BrickColor = BrickColor.new("White") | |
690 | p.CanCollide = false | |
691 | p.FormFactor="Custom" | |
692 | p.Material = "Neon" | |
693 | p.TopSurface = "SmoothNoOutlines" | |
694 | p.BottomSurface = "SmoothNoOutlines" | |
695 | p.RightSurface = "SmoothNoOutlines" | |
696 | p.LeftSurface = "SmoothNoOutlines" | |
697 | p.FrontSurface = "SmoothNoOutlines" | |
698 | p.BackSurface = "SmoothNoOutlines" | |
699 | ||
700 | p.Size = Vector3.new(2,.2,0.2) | |
701 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
702 | mesh = Instance.new("BlockMesh",p) | |
703 | mesh.Scale = Vector3.new(1,1,4) | |
704 | local w = Instance.new("Motor6D",p) | |
705 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
706 | w.Part1 = p | |
707 | w.Name = "Weld" | |
708 | --table.insert(aa1,p) | |
709 | aa1[i] = {p,p.CFrame} | |
710 | ||
711 | end | |
712 | game:service"RunService".Stepped:connect(function() | |
713 | - | x.Parent:BreakJoints() |
713 | + | |
714 | end) | |
715 | soka = Instance.new("Sound",char) | |
716 | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" | |
717 | soka.Volume = 3 | |
718 | boom = Instance.new("Sound",char) | |
719 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
720 | boom.Volume = 3 | |
721 | boom2 = Instance.new("Sound",char) | |
722 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
723 | boom2.Volume = 3 | |
724 | boom3 = Instance.new("Sound",char) | |
725 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
726 | boom3.Volume = 3 | |
727 | woosh = Instance.new("Sound",char) | |
728 | woosh.Volume = 5 | |
729 | woosh.SoundId = "http://www.roblox.com/asset/?id = 210946558" | |
730 | - | rng.BrickColor = BrickColor.new("Really black") |
730 | + | |
731 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
732 | tps.Volume = 1 | |
733 | asd = Instance.new("Sound",char) | |
734 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
735 | asd.Volume =1 | |
736 | asd1 = Instance.new("Sound",char) | |
737 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
738 | ||
739 | asd2 = Instance.new("Sound",char) | |
740 | asd2.SoundId = "http://www.roblox.com/asset/?id = 572466594" | |
741 | asd2.Looped = true | |
742 | asd2.Volume = 5 | |
743 | asd3 = Instance.new("Sound",char) | |
744 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
745 | asd3.Volume = 5 | |
746 | - | rng1.BrickColor = BrickColor.new("Really black") |
746 | + | |
747 | asd4 = Instance.new("Sound",char) | |
748 | asd4.SoundId = "http://www.roblox.com/asset/?id = 413040330" | |
749 | asd4.Volume = 5 | |
750 | asd4.Looped = true | |
751 | asd5 = Instance.new("Sound",char) | |
752 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
753 | asd5.Looped = true | |
754 | asd6 = Instance.new("Sound",char) | |
755 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
756 | asd6.Looped = true | |
757 | function play(play) | |
758 | asd:Play() | |
759 | wait() | |
760 | --asd1:Play() | |
761 | end | |
762 | m.KeyDown:connect(function(k) | |
763 | if k == "." then | |
764 | ||
765 | asd3.Volume = 100 | |
766 | end | |
767 | - | rng2.BrickColor = BrickColor.new("Really black") |
767 | + | |
768 | ------------------------- | |
769 | function stream(origin,dir,length,size) | |
770 | local parts = {} | |
771 | for i = 1,length do | |
772 | local p = Instance.new("Part",char) | |
773 | p.Anchored = true | |
774 | p.Transparency = 0.5 | |
775 | p.TopSurface = 0 | |
776 | p.BottomSurface = 0 | |
777 | p.CanCollide = false | |
778 | p.Material = "Neon" | |
779 | p.BrickColor = BrickColor.new("White") | |
780 | p.Size = Vector3.new(50,50,50) -- for now | |
781 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
782 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} | |
783 | game:GetService("Debris"):AddItem(p,3) | |
784 | end | |
785 | spawn(function() | |
786 | while parts do | |
787 | for i,v in pairs(parts) do | |
788 | if v[1].Parent == char then | |
789 | v[1].CFrame = v[1].CFrame*v[2] | |
790 | else | |
791 | parts = nil | |
792 | break | |
793 | end | |
794 | end | |
795 | wait() | |
796 | end | |
797 | end) | |
798 | end | |
799 | m.KeyDown:connect(function(k) | |
800 | if k == "g" then | |
801 | asd2:Play() | |
802 | ||
803 | - | wait(0.1) |
803 | + | |
804 | end | |
805 | - | wait(0.3) |
805 | + | |
806 | ||
807 | m.KeyDown:connect(function(k) | |
808 | if k == "r" then | |
809 | ||
810 | asd4:Play() | |
811 | end | |
812 | end) | |
813 | m.KeyDown:connect(function(k) | |
814 | if k == "q" then | |
815 | ||
816 | asd3:Play() | |
817 | end | |
818 | end) | |
819 | mouse = p:GetMouse() | |
820 | m.KeyDown:connect(function(k) | |
821 | if k:byte() == 48 then | |
822 | ||
823 | hum.WalkSpeed = 200 | |
824 | GroundWave1() | |
825 | boom:Play() | |
826 | end | |
827 | end) | |
828 | m.KeyDown:connect(function(k) | |
829 | if k:byte() == 50 then | |
830 | ||
831 | soka:Play() | |
832 | end | |
833 | end) | |
834 | m.KeyDown:connect(function(k) | |
835 | if k:byte() == 52 then | |
836 | ||
837 | char.Head.face.Texture = "rbxassetid://340355951" | |
838 | end | |
839 | end) | |
840 | m.KeyDown:connect(function(k) | |
841 | if k:byte() == 51 then | |
842 | ||
843 | - | force = 30000 |
843 | + | |
844 | end | |
845 | end) | |
846 | m.KeyUp:connect(function(k) | |
847 | if k:byte() == 48 then | |
848 | ||
849 | hum.WalkSpeed = 50 | |
850 | end | |
851 | end) | |
852 | p.Chatted:connect(function(m) | |
853 | if m == "Ok." then | |
854 | soka:Play() | |
855 | - | force = 90000 |
855 | + | |
856 | end) | |
857 | m.KeyDown:connect(function(key) | |
858 | if key == "j" then | |
859 | - | force = 20000 |
859 | + | |
860 | tp = false | |
861 | - | ChatService:Chat(char.Head, "Dark Punch!") |
861 | + | |
862 | char.Head.face.Parent = game.Lighting | |
863 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
864 | end | |
865 | ||
866 | end | |
867 | wait() | |
868 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
869 | end | |
870 | ||
871 | end | |
872 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
873 | char.HumanoidRootPart.Transparency = 1 | |
874 | - | x:TakeDamage(12000) |
874 | + | |
875 | wait() | |
876 | ||
877 | tp = true | |
878 | ||
879 | ||
880 | end | |
881 | end | |
882 | end) | |
883 | ||
884 | ||
885 | m.KeyDown:connect(function(key) | |
886 | if key == "t" then | |
887 | if punch2 == true then | |
888 | punch2 = false | |
889 | punch = false | |
890 | ||
891 | local ChatService = game:GetService("Chat") | |
892 | ||
893 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
894 | - | rng.BrickColor = BrickColor.new("Really black") |
894 | + | ChatService:Chat(char.Head, "Serious Series..") |
895 | wait(0.5) | |
896 | local ChatService = game:GetService("Chat") | |
897 | ||
898 | ||
899 | ChatService:Chat(char.Head ,"Serious...") | |
900 | wait(0.5) | |
901 | ||
902 | ||
903 | ChatService:Chat(char.Head, "PUNCH!") | |
904 | wait(1) | |
905 | game.workspace:Destroy() | |
906 | wait(0.1) | |
907 | org = char.Torso["Left Shoulder"].C0 | |
908 | wait() | |
909 | killbrick2 = Instance.new("Part",char) | |
910 | killbrick2.Size = Vector3.new(80,80,9000) | |
911 | killbrick2.Transparency = 1 | |
912 | ||
913 | killbrick2.CanCollide = true | |
914 | wait(0.1) | |
915 | killbrick2.CanCollide = false | |
916 | ||
917 | killbrick2.Anchored = true | |
918 | ||
919 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
920 | ||
921 | killbrick2.Touched:connect(function(h) | |
922 | local x = h.Parent:FindFirstChild("Humanoid")-- lol | |
923 | if x then | |
924 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
925 | safe = true | |
926 | else safe = false | |
927 | end | |
928 | if x then | |
929 | if safe == false then | |
930 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
931 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
932 | boom:Play() | |
933 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
934 | ||
935 | ||
936 | wait() | |
937 | wait() | |
938 | safe = true | |
939 | end | |
940 | end | |
941 | end | |
942 | end) | |
943 | ||
944 | ||
945 | ||
946 | ||
947 | ||
948 | ||
949 | ||
950 | ||
951 | local rng = Instance.new("Part", char) | |
952 | - | force = 30000 |
952 | + | |
953 | rng.BrickColor = BrickColor.new("White") | |
954 | rng.CanCollide = false | |
955 | rng.FormFactor = 6 | |
956 | rng.Name = "Ring" | |
957 | rng.Size = Vector3.new(3, 3, 3) | |
958 | rng.Transparency = 0.8 | |
959 | rng.TopSurface = 0 | |
960 | rng.BottomSurface = 0 | |
961 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
962 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
963 | local rngm = Instance.new("SpecialMesh", rng) | |
964 | - | force = 90000 |
964 | + | |
965 | rngm.Scale = Vector3.new(3, 3, 3) | |
966 | ||
967 | local rng1 = Instance.new("Part", char) | |
968 | - | force = 20000 |
968 | + | |
969 | rng1.BrickColor = BrickColor.new("White") | |
970 | rng1.CanCollide = false | |
971 | rng1.FormFactor = 3 | |
972 | rng1.Name = "Ring" | |
973 | rng1.Size = Vector3.new(3, 3, 3) | |
974 | rng1.Transparency = 0.8 | |
975 | rng1.TopSurface = 0 | |
976 | rng1.BottomSurface = 0 | |
977 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
978 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
979 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
980 | rngm1.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
981 | rngm1.Scale = Vector3.new(3, 3, 3) | |
982 | - | wait(0.2) |
982 | + | |
983 | - | x:TakeDamage(8000) |
983 | + | |
984 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) | |
985 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
986 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) | |
987 | ||
988 | local rng2 = Instance.new("Part", char) | |
989 | rng2.Anchored = true | |
990 | rng2.BrickColor = BrickColor.new("White") | |
991 | rng2.CanCollide = false | |
992 | rng2.FormFactor = 3 | |
993 | rng2.Name = "Ring" | |
994 | rng2.Size = Vector3.new(3, 3, 3) | |
995 | rng2.Transparency = 0.8 | |
996 | rng2.TopSurface = 0 | |
997 | rng2.BottomSurface = 0 | |
998 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
999 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1000 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
1001 | rngm2.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
1002 | rngm2.Scale = Vector3.new(3, 3, 3) | |
1003 | - | rng.BrickColor = BrickColor.new("Really black") |
1003 | + | wait(0) |
1004 | ||
1005 | boom3:Play() | |
1006 | coroutine.wrap(function() | |
1007 | for i = 1, 35, 0.5 do | |
1008 | ||
1009 | ||
1010 | ||
1011 | ||
1012 | ||
1013 | rngm.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
1014 | rngm1.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
1015 | rngm2.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
1016 | rng.Transparency = i/35 | |
1017 | rng1.Transparency = i/35 | |
1018 | rng2.Transparency = i/35 | |
1019 | wait() | |
1020 | end | |
1021 | wait() | |
1022 | rng:Destroy() | |
1023 | rng1:Destroy() | |
1024 | rng2:Destroy() | |
1025 | killbrick2:Remove() | |
1026 | wait(0) | |
1027 | char.Torso["Left Shoulder"].C0 = org | |
1028 | wait(0) | |
1029 | punch2 = true | |
1030 | punch = true | |
1031 | wait() | |
1032 | ||
1033 | ||
1034 | end)() | |
1035 | ||
1036 | ||
1037 | ||
1038 | end | |
1039 | ||
1040 | ||
1041 | wait(.1) | |
1042 | ||
1043 | ||
1044 | end | |
1045 | end) | |
1046 | ||
1047 | ||
1048 | ||
1049 | ||
1050 | ||
1051 | m.KeyDown:connect(function(key) | |
1052 | if key == "k" then | |
1053 | if punch == true then | |
1054 | punch = false | |
1055 | org = char.Torso["Left Shoulder"].C0 | |
1056 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
1057 | killbrick = Instance.new("Part",char) | |
1058 | killbrick.Size = Vector3.new(4,1,4) | |
1059 | killbrick.Transparency = 1 | |
1060 | killbrick:BreakJoints() | |
1061 | killbrick.CanCollide = false | |
1062 | local wel = Instance.new("Weld",killbrick) | |
1063 | wel.Part0 = killbrick | |
1064 | wel.Part1 = char["Left Arm"] | |
1065 | - | rng.BrickColor = BrickColor.new("Really black") |
1065 | + | |
1066 | force = 300000000000 | |
1067 | ||
1068 | killbrick.Touched:connect(function(h) | |
1069 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
1070 | local stop = h.Parent.Torso.Velocity | |
1071 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
1072 | safe = true | |
1073 | else safe = false | |
1074 | end | |
1075 | if x then | |
1076 | if safe == false then | |
1077 | if fling == true then | |
1078 | force = 90000000000000000000 | |
1079 | ||
1080 | end | |
1081 | if fling == false then | |
1082 | force = 2000000000000000000000000 | |
1083 | ||
1084 | ChatService:Chat(char.Head, "Normal punch") | |
1085 | wait(1) | |
1086 | neck.C0 = neckp | |
1087 | end | |
1088 | ||
1089 | ||
1090 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 | |
1091 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
1092 | boom:Play() | |
1093 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
1094 | - | wait(1) |
1094 | + | |
1095 | ||
1096 | wait() | |
1097 | - | v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false |
1097 | + | x:Destroy() |
1098 | wait() | |
1099 | safe = true | |
1100 | bodyforc:Remove() | |
1101 | h.Parent.Torso.Velocity = stop | |
1102 | end | |
1103 | end | |
1104 | end) | |
1105 | ||
1106 | ||
1107 | ||
1108 | ||
1109 | ||
1110 | ||
1111 | ||
1112 | ||
1113 | ||
1114 | ||
1115 | local rng = Instance.new("Part", char) | |
1116 | rng.Anchored = true | |
1117 | rng.BrickColor = BrickColor.new("White") | |
1118 | rng.CanCollide = false | |
1119 | rng.FormFactor = 3 | |
1120 | rng.Name = "Ring" | |
1121 | - | ChatService:Chat(char.Head, "Consecutive Dark Punches.") |
1121 | + | |
1122 | rng.Transparency = 0.8 | |
1123 | rng.TopSurface = 0 | |
1124 | rng.BottomSurface = 0 | |
1125 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
1126 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1127 | local rngm = Instance.new("SpecialMesh", rng) | |
1128 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
1129 | rngm.Scale = Vector3.new(3, 3, 3) | |
1130 | wait() | |
1131 | - | wait(0.03) |
1131 | + | |
1132 | boom2:Play() | |
1133 | coroutine.wrap(function() | |
1134 | for i = 1, 10, .4 do | |
1135 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1136 | rng.Transparency = i/10 | |
1137 | wait() | |
1138 | - | wait(0.3) |
1138 | + | |
1139 | wait() | |
1140 | rng:Destroy() | |
1141 | killbrick:Remove() | |
1142 | char.Torso["Left Shoulder"].C0 = org | |
1143 | wait() | |
1144 | ||
1145 | punch = true | |
1146 | wait() | |
1147 | end)() | |
1148 | ||
1149 | ||
1150 | ||
1151 | end | |
1152 | ||
1153 | ||
1154 | wait(0.000001) | |
1155 | - | hum.MaxHealth = hum.MaxHealth * math.huge |
1155 | + | |
1156 | - | hum.Health = hum.MaxHealth * math.huge |
1156 | + | |
1157 | - | end) |
1157 | + | |
1158 | end) | |
1159 | ||
1160 | m.KeyDown:connect(function(key) | |
1161 | if key == "h" then | |
1162 | if punch3 == true then | |
1163 | punch3 = false | |
1164 | eh = char.Torso["Right Shoulder"].C0 | |
1165 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.new(0.3,0,0) * CFrame.Angles(0,0,math.rad(90)) | |
1166 | killbrick3 = Instance.new("Part",char) | |
1167 | killbrick3.Size = Vector3.new(4,1,4) | |
1168 | killbrick3.Transparency = 1 | |
1169 | killbrick3:BreakJoints() | |
1170 | killbrick3.CanCollide = false | |
1171 | local wel = Instance.new("Weld",killbrick3) | |
1172 | wel.Part0 = killbrick3 | |
1173 | wel.Part1 = char["Right Arm"] | |
1174 | wel.C0 = CFrame.new(0,1,0) | |
1175 | force = 3000000 | |
1176 | ||
1177 | killbrick3.Touched:connect(function(h) | |
1178 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
1179 | local stop = h.Parent.Torso.Velocity | |
1180 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
1181 | safe = true | |
1182 | else safe = false | |
1183 | end | |
1184 | if x then | |
1185 | if safe == false then | |
1186 | if fling == true then | |
1187 | force = 9000000 | |
1188 | ||
1189 | end | |
1190 | if fling == false then | |
1191 | force = 20000000 | |
1192 | ||
1193 | ChatService:Chat(char.Head, "Take this!") | |
1194 | wait(0.5) | |
1195 | neck.C0 = neckp | |
1196 | wait() | |
1197 | end | |
1198 | ||
1199 | ||
1200 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 | |
1201 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
1202 | boom:Play() | |
1203 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
1204 | ||
1205 | ||
1206 | wait() | |
1207 | x:TakeDamage(999999999999999999999999999999999999999999999999) | |
1208 | wait() | |
1209 | safe = true | |
1210 | bodyforc:Remove() | |
1211 | h.Parent.Torso.Velocity = stop | |
1212 | end | |
1213 | end | |
1214 | end) | |
1215 | ||
1216 | ||
1217 | ||
1218 | ||
1219 | ||
1220 | ||
1221 | ||
1222 | ||
1223 | ||
1224 | ||
1225 | local rng = Instance.new("Part", char) | |
1226 | rng.Anchored = true | |
1227 | rng.BrickColor = BrickColor.new("White") | |
1228 | rng.CanCollide = false | |
1229 | rng.FormFactor = 3 | |
1230 | rng.Name = "Ring" | |
1231 | rng.Size = Vector3.new(1, 1, 1) | |
1232 | rng.Transparency = 0.8 | |
1233 | rng.TopSurface = 0 | |
1234 | rng.BottomSurface = 0 | |
1235 | rng.CFrame = char["Right Arm"].CFrame * CFrame.new(0,-2,0) | |
1236 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1237 | local rngm = Instance.new("SpecialMesh", rng) | |
1238 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
1239 | rngm.Scale = Vector3.new(3, 3, 3) | |
1240 | wait() | |
1241 | ||
1242 | boom2:Play() | |
1243 | coroutine.wrap(function() | |
1244 | for i = 1, 10, .4 do | |
1245 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1246 | rng.Transparency = i/10 | |
1247 | wait() | |
1248 | end | |
1249 | wait() | |
1250 | rng:Destroy() | |
1251 | killbrick3:Remove() | |
1252 | char.Torso["Right Shoulder"].C0 = eh | |
1253 | wait(0.1) | |
1254 | ||
1255 | punch3 = true | |
1256 | wait() | |
1257 | end)() | |
1258 | ||
1259 | ||
1260 | ||
1261 | end | |
1262 | ||
1263 | ||
1264 | wait(.1) | |
1265 | ||
1266 | ||
1267 | end | |
1268 | end) | |
1269 | ||
1270 | ||
1271 | ||
1272 | ||
1273 | ||
1274 | ||
1275 | ||
1276 | ||
1277 | ||
1278 | ||
1279 | ||
1280 | ||
1281 | m.KeyDown:connect(function(key) | |
1282 | if key == "m" then | |
1283 | if jump == true then | |
1284 | jump = false | |
1285 | ||
1286 | ||
1287 | local rng = Instance.new("Part", char) | |
1288 | rng.Anchored = true | |
1289 | rng.BrickColor = BrickColor.new("White") | |
1290 | rng.CanCollide = false | |
1291 | rng.FormFactor = 3 | |
1292 | rng.Name = "Ring" | |
1293 | rng.Size = Vector3.new(3, 3, 3) | |
1294 | rng.Transparency = 0.35 | |
1295 | rng.TopSurface = 0 | |
1296 | rng.BottomSurface = 0 | |
1297 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
1298 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1299 | local rngm = Instance.new("SpecialMesh", rng) | |
1300 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
1301 | rngm.Scale = Vector3.new(3, 3, 3) | |
1302 | wait(0.1) | |
1303 | BV = Instance.new("BodyVelocity", torso) | |
1304 | BV.maxForce = Vector3.new(0,20000,0) | |
1305 | BV.P = 1000 | |
1306 | BV.velocity = Vector3.new(0,200,0) | |
1307 | boom:Play() | |
1308 | coroutine.wrap(function() | |
1309 | for i = 1, 60, 2 do | |
1310 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1311 | rng.Transparency = i/60 | |
1312 | wait() | |
1313 | end | |
1314 | wait() | |
1315 | rng:Destroy() | |
1316 | ||
1317 | hum.WalkSpeed = 50 | |
1318 | wait() | |
1319 | ||
1320 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
1321 | v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 23 falling = false | |
1322 | end end | |
1323 | wait() | |
1324 | end)() | |
1325 | ||
1326 | ||
1327 | ||
1328 | end | |
1329 | ||
1330 | ||
1331 | wait() | |
1332 | ||
1333 | ||
1334 | end | |
1335 | end) | |
1336 | ||
1337 | ||
1338 | mouse.KeyDown:connect(function(key) | |
1339 | if key == "b" then | |
1340 | multipunch = true | |
1341 | boom:Play() | |
1342 | local ChatService = game:GetService("Chat") | |
1343 | ||
1344 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1345 | ChatService:Chat(char.Head, "Consecutive Punches.") | |
1346 | wait() | |
1347 | local ChatService = game:GetService("Chat") | |
1348 | sss = char.Torso["Left Shoulder"].C0 | |
1349 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
1350 | coroutine.resume(coroutine.create(function() | |
1351 | local s = 0 | |
1352 | repeat | |
1353 | s = s + 1 | |
1354 | sqe() | |
1355 | wait() | |
1356 | until not multipunch | |
1357 | end)) | |
1358 | mouse.KeyUp:connect(function(key) | |
1359 | if key == "b" then | |
1360 | multipunch = false | |
1361 | char.Torso["Left Shoulder"].C0 = sss | |
1362 | wait() | |
1363 | multipunch = true | |
1364 | wait() | |
1365 | end | |
1366 | end) | |
1367 | end | |
1368 | end) | |
1369 | m.KeyDown:connect(function(k) | |
1370 | if k == "f" then | |
1371 | asd3:Stop() | |
1372 | asd2:Stop() | |
1373 | asd4:Stop() | |
1374 | asd6:Stop() | |
1375 | asd5:Stop() | |
1376 | end | |
1377 | end) | |
1378 | mouse.KeyUp:connect(function(key) | |
1379 | if key == "l" then | |
1380 | hum.WalkSpeed = 200 | |
1381 | ff = Instance.new("ForceField", Character) | |
1382 | ff.Visible = false | |
1383 | hum.MaxHealth = math.huge | |
1384 | hum.Health = math.huge | |
1385 | end | |
1386 | end) | |
1387 | mouse.KeyUp:connect(function(key) | |
1388 | if key == "u" then | |
1389 | hum.WalkSpeed = 20 | |
1390 | ff = Instance.new("ForceField", Character) | |
1391 | ff.Visible = false | |
1392 | hum.MaxHealth = math.huge | |
1393 | hum.Health = math.huge | |
1394 | end | |
1395 | end) | |
1396 | mouse.KeyUp:connect(function(key) | |
1397 | if key == "y" then | |
1398 | hum.WalkSpeed = 600 | |
1399 | ff = Instance.new("ForceField", Character) | |
1400 | ff.Visible = false | |
1401 | hum.MaxHealth = math.huge | |
1402 | hum.Health = math.huge | |
1403 | end | |
1404 | end) | |
1405 | mouse.KeyUp:connect(function(key) | |
1406 | if key == "n" then | |
1407 | hum.WalkSpeed = 3000000 | |
1408 | ff = Instance.new("ForceField", Character) | |
1409 | ff.Visible = false | |
1410 | hum.MaxHealth = math.huge | |
1411 | hum.Health = math.huge | |
1412 | end | |
1413 | end) | |
1414 | mouse.KeyUp:connect(function(key) | |
1415 | if key == "p" then | |
1416 | local ChatService = game:GetService("Chat") | |
1417 | ||
1418 | ChatService:Chat(char.Head, "I am a hero for fun") | |
1419 | wait(0.6) | |
1420 | local ChatService = game:GetService("Chat") | |
1421 | ||
1422 | ||
1423 | ChatService:Chat(char.Head ,"why don't I have fans") | |
1424 | wait(0.5) | |
1425 | ||
1426 | ||
1427 | ChatService:Chat(char.Head, "unfair") | |
1428 | end | |
1429 | end) | |
1430 | mouse.KeyUp:connect(function(key) | |
1431 | if key == "1" then | |
1432 | workspace.Base:Destroy() | |
1433 | ff = Instance.new("ForceField", Character) | |
1434 | ff.Visible = false | |
1435 | hum.MaxHealth = math.huge | |
1436 | hum.Health = math.huge | |
1437 | end | |
1438 | end) | |
1439 | game:GetService("RunService").RenderStepped:connect(function() | |
1440 | hum.MaxHealth = math.huge | |
1441 | hum.Health = math.huge | |
1442 | end) |