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 print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end | |
6 | ||
7 | plr = game.Players.LocalPlayer | |
8 | repeat | |
9 | wait(0.4) | |
10 | until plr.Character | |
11 | chr = plr.Character | |
12 | human = chr:FindFirstChild("Humanoid") | |
13 | mouse = plr:GetMouse() | |
14 | selected = false | |
15 | equipd = false | |
16 | tors = chr.Torso | |
17 | rarm = chr["Right Arm"] | |
18 | larm = chr["Left Arm"] | |
19 | rleg = chr["Right Leg"] | |
20 | lleg = chr["Left Leg"] | |
21 | hrp = chr.HumanoidRootPart | |
22 | head = chr.Head | |
23 | anim = human.Animator | |
24 | activu = false | |
25 | torrent = false | |
26 | boxingu = false | |
27 | Heartbeat = Instance.new("BindableEvent") | |
28 | Heartbeat.Name = "Heartbeat" | |
29 | Heartbeat.Parent = script | |
30 | frame = 0.03333333333333333 | |
31 | tf = 0 | |
32 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
33 | tf = tf + s | |
34 | if tf >= frame then | |
35 | for i = 1, math.floor(tf / frame) do | |
36 | Heartbeat:Fire() | |
37 | end | |
38 | tf = tf - frame * math.floor(tf / frame) | |
39 | end | |
40 | end) | |
41 | function swait(num) | |
42 | if num == 0 or num == nil then | |
43 | Heartbeat.Event:wait() | |
44 | else | |
45 | for i = 1, num do | |
46 | Heartbeat.Event:wait() | |
47 | end | |
48 | end | |
49 | end | |
50 | tool = Instance.new("Tool") | |
51 | tool.CanBeDropped = false | |
52 | tool.RequiresHandle = false | |
53 | tool.TextureId = "rbxassetid://37338767" | |
54 | tool.ToolTip = "hehe yea boi" | |
55 | tool.Name = "fir" | |
56 | tool.Parent = plr.Backpack | |
57 | modz = Instance.new("Model") | |
58 | modz.Name = "memes" | |
59 | modz.Parent = chr | |
60 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
61 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
62 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
63 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
64 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
65 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
66 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
67 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
68 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
69 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
70 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
71 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
72 | RS = tors:FindFirstChild("Right Shoulder") | |
73 | LS = tors:FindFirstChild("Left Shoulder") | |
74 | RH = tors:FindFirstChild("Right Hip") | |
75 | LH = tors:FindFirstChild("Left Hip") | |
76 | RJ = hrp:FindFirstChild("RootJoint") | |
77 | N = tors:FindFirstChild("Neck") | |
78 | cf = CFrame.new | |
79 | ang = CFrame.Angles | |
80 | rd = math.rad | |
81 | rd2 = math.random | |
82 | function nooutline(p) | |
83 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
84 | end | |
85 | function makepart(color, name, reflec, mater, parnt, cfram) | |
86 | local port = Instance.new("Part") | |
87 | port.BrickColor = BrickColor.new(color) | |
88 | port.Name = name | |
89 | port.Transparency = 1 | |
90 | nooutline(port) | |
91 | port.Reflectance = reflec | |
92 | port.Material = mater | |
93 | port.Anchored = false | |
94 | port.CanCollide = false | |
95 | port.Locked = true | |
96 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
97 | port.Parent = parnt | |
98 | return port | |
99 | end | |
100 | function makemesh(meshtype, scale, meshid, parent) | |
101 | local mes = Instance.new("SpecialMesh") | |
102 | mes.MeshType = meshtype | |
103 | mes.Scale = scale | |
104 | if meshtype == "FileMesh" then | |
105 | mes.MeshId = meshid | |
106 | end | |
107 | mes.Parent = parent | |
108 | return mes | |
109 | end | |
110 | function makeweld(parent, p0, p1, c0, c1) | |
111 | local wel = Instance.new("Weld") | |
112 | wel.Part0 = p0 | |
113 | wel.Part1 = p1 | |
114 | wel.C0 = c0 | |
115 | if c1 ~= nil then | |
116 | wel.C1 = c1 | |
117 | end | |
118 | wel.Parent = parent | |
119 | return wel | |
120 | end | |
121 | function vidp(prnt) | |
122 | local s = Instance.new("ParticleEmitter") | |
123 | s.Enabled = false | |
124 | s.LockedToPart = true | |
125 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
126 | s.LightEmission = 0.6 | |
127 | s.Size = NumberSequence.new({ | |
128 | NumberSequenceKeypoint.new(0, 0.275, 0), | |
129 | NumberSequenceKeypoint.new(0.406, 0.762, 0), | |
130 | NumberSequenceKeypoint.new(0.433, 2.05, 0.75), | |
131 | NumberSequenceKeypoint.new(0.476, 0.625, 0), | |
132 | NumberSequenceKeypoint.new(1, 0.05, 0) | |
133 | }) | |
134 | s.Texture = "rbxassetid://31270182" | |
135 | s.Transparency = NumberSequence.new({ | |
136 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
137 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
138 | NumberSequenceKeypoint.new(1, 1, 0) | |
139 | }) | |
140 | s.Name = "vid" | |
141 | s.Lifetime = NumberRange.new(0.2) | |
142 | s.Rate = 25 | |
143 | s.Speed = NumberRange.new(7, 10) | |
144 | s.VelocitySpread = 360 | |
145 | s.Parent = prnt | |
146 | local s2 = Instance.new("ParticleEmitter") | |
147 | s2.Enabled = false | |
148 | s2.LockedToPart = false | |
149 | s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
150 | s2.LightEmission = 0.6 | |
151 | s2.Size = NumberSequence.new({ | |
152 | NumberSequenceKeypoint.new(0, 0, 0), | |
153 | NumberSequenceKeypoint.new(0.853, 0.125, 0.1), | |
154 | NumberSequenceKeypoint.new(1, 0, 0) | |
155 | }) | |
156 | s2.Texture = "rbxassetid://31270182" | |
157 | s2.Transparency = NumberSequence.new({ | |
158 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
159 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
160 | NumberSequenceKeypoint.new(1, 1, 0) | |
161 | }) | |
162 | s2.Name = "vid2" | |
163 | s2.Lifetime = NumberRange.new(0.5) | |
164 | s2.Rate = 150 | |
165 | s2.Speed = NumberRange.new(2, 6) | |
166 | s2.VelocitySpread = 360 | |
167 | s2.Parent = prnt | |
168 | end | |
169 | function glow(tz, paz, length) | |
170 | if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then | |
171 | do | |
172 | local s = Instance.new("Sound") | |
173 | s.SoundId = "rbxassetid://221727606" | |
174 | s.Volume = 0.25 | |
175 | s.Pitch = math.random(9, 11) / 10 | |
176 | s.Parent = paz | |
177 | s:Play() | |
178 | local hmesh = Instance.new("SpecialMesh") | |
179 | hmesh.MeshType = "FileMesh" | |
180 | hmesh.MeshId = "NOSSIN" | |
181 | hmesh.Parent = paz.Parent | |
182 | paz.Transparency = 0.55 | |
183 | paz.vid.Enabled = true | |
184 | paz.vid2.Enabled = true | |
185 | delay(length, function() | |
186 | paz.Transparency = 1 | |
187 | paz.vid.Enabled = false | |
188 | paz.vid2.Enabled = false | |
189 | hmesh:Destroy() | |
190 | s:Destroy() | |
191 | end) | |
192 | end | |
193 | end | |
194 | end | |
195 | function makeglow() | |
196 | for _, p in pairs(chr:GetChildren()) do | |
197 | if p.ClassName == "Accessory" then | |
198 | do | |
199 | local h = p:FindFirstChildOfClass("Part") | |
200 | local nh = h:Clone() | |
201 | for _, n in ipairs(nh:GetChildren()) do | |
202 | if n.ClassName == "Attachment" or n.ClassName == "Motor6D" then | |
203 | n:Destroy() | |
204 | end | |
205 | end | |
206 | nooutline(nh) | |
207 | nh.Parent = nil | |
208 | nh.CFrame = h.CFrame | |
209 | nh.Transparency = 1 | |
210 | nh.Name = "Glow" | |
211 | nh.Material = "Neon" | |
212 | nh.BrickColor = BrickColor.new("Teal") | |
213 | nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) | |
214 | nh.CanCollide = false | |
215 | nh.Parent = h | |
216 | makeweld(nh, nh, h, cf(0, 0, 0)) | |
217 | local m = nh:FindFirstChildOfClass("SpecialMesh") | |
218 | m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06) | |
219 | m.TextureId = "" | |
220 | vidp(nh) | |
221 | nh.Touched:connect(function(po) | |
222 | glow(po, nh, 0.8) | |
223 | end) | |
224 | end | |
225 | elseif p.ClassName == "Part" and p ~= hrp then | |
226 | do | |
227 | local n = p:Clone() | |
228 | for _, m in ipairs(n:GetChildren()) do | |
229 | if m.ClassName == "Attachment" or m.ClassName == "Motor6D" then | |
230 | m:Destroy() | |
231 | end | |
232 | end | |
233 | nooutline(n) | |
234 | n.Parent = nil | |
235 | n.Transparency = 1 | |
236 | n.Material = "Neon" | |
237 | n.Name = "Glow" | |
238 | n.BrickColor = BrickColor.new("Teal") | |
239 | n.CFrame = p.CFrame | |
240 | n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) | |
241 | n.CanCollide = false | |
242 | n.Parent = p | |
243 | makeweld(n, n, p, cf(0, 0, 0)) | |
244 | vidp(n) | |
245 | n.Touched:connect(function(po) | |
246 | glow(po, n, 0.8) | |
247 | end) | |
248 | if n:FindFirstChildOfClass("Decal") then | |
249 | n:FindFirstChildOfClass("Decal"):Destroy() | |
250 | end | |
251 | if p:FindFirstChildOfClass("SpecialMesh") then | |
252 | local c = p:FindFirstChildOfClass("SpecialMesh"):Clone() | |
253 | c.Parent = nil | |
254 | c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05) | |
255 | c.Parent = n | |
256 | else | |
257 | local m = Instance.new("BlockMesh") | |
258 | m.Scale = Vector3.new(1.05, 1.025, 1.05) | |
259 | if p == tors then | |
260 | m.Scale = Vector3.new(1.05, 1.05, 1.05) | |
261 | end | |
262 | m.Parent = n | |
263 | end | |
264 | end | |
265 | end | |
266 | end | |
267 | end | |
268 | makeglow() | |
269 | function lerpz(joint, prop, cfrmz, alp) | |
270 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
271 | end | |
272 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
273 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
274 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
275 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
276 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
277 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
278 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
279 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
280 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
281 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
282 | function resetlerp() | |
283 | RJ.C0 = RJC0 | |
284 | RJ.C1 = RJC1 | |
285 | N.C0 = NC0 | |
286 | N.C1 = NC1 | |
287 | RS.C0 = RSC0 | |
288 | RS.C1 = RSC1 | |
289 | LS.C0 = LSC0 | |
290 | LS.C1 = LSC1 | |
291 | RH.C0 = RHC0 | |
292 | RH.C1 = RHC1 | |
293 | LH.C0 = LHC0 | |
294 | end | |
295 | local ign = {chr} | |
296 | function proj(cframe) | |
297 | coroutine.resume(coroutine.create(function() | |
298 | local mis = Instance.new("Part") | |
299 | mis.Anchored = true | |
300 | mis.CanCollide = false | |
301 | mis.Size = Vector3.new(1, 1, 1) | |
302 | mis.Transparency = 1 | |
303 | mis.Name = "pew" | |
304 | mis.CFrame = cframe | |
305 | mis.Parent = workspace | |
306 | local s = Instance.new("ParticleEmitter") | |
307 | s.Enabled = true | |
308 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
309 | s.LightEmission = 0.6 | |
310 | s.Size = NumberSequence.new({ | |
311 | NumberSequenceKeypoint.new(0, 0.4, 0), | |
312 | NumberSequenceKeypoint.new(0.0241, 0.0625, 0), | |
313 | NumberSequenceKeypoint.new(0.0299, 0.66, 0.22), | |
314 | NumberSequenceKeypoint.new(0.0344, 0.0225, 0), | |
315 | NumberSequenceKeypoint.new(1, 0, 0) | |
316 | }) | |
317 | s.Texture = "rbxassetid://31270182" | |
318 | s.Transparency = NumberSequence.new({ | |
319 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
320 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
321 | NumberSequenceKeypoint.new(1, 1, 0) | |
322 | }) | |
323 | s.Name = "vid" | |
324 | s.Lifetime = NumberRange.new(1) | |
325 | s.ZOffset = 0 | |
326 | s.Rate = 3000 | |
327 | s.Speed = NumberRange.new(25, 50) | |
328 | s.VelocitySpread = 20 | |
329 | s.EmissionDirection = "Back" | |
330 | s.Parent = mis | |
331 | game.Debris:AddItem(mis, 10) | |
332 | table.insert(ign, mis) | |
333 | local wat = 0 | |
334 | local derp = false | |
335 | local v = Instance.new("Sound") | |
336 | v.SoundId = "rbxassetid://221727606" | |
337 | v.Volume = 0.5 | |
338 | v.Looped = true | |
339 | v.EmitterSize = 15 | |
340 | v.MaxDistance = 40 | |
341 | v.Pitch = math.random(12, 13) / 10 | |
342 | v.Parent = mis | |
343 | v:Play() | |
344 | repeat | |
345 | swait() | |
346 | wat = wat + 1 | |
347 | local ry = Ray.new(mis.Position, mis.CFrame.lookVector * 8) | |
348 | local prt, pos = workspace:FindPartOnRayWithIgnoreList(ry, ign, false, true) | |
349 | if prt and pos and 1 > prt.Transparency then | |
350 | derp = true | |
351 | mis.CFrame = CFrame.new(pos) | |
352 | v:Stop() | |
353 | s.Enabled = false | |
354 | s.Speed = NumberRange.new(15, 25) | |
355 | s.Lifetime = NumberRange.new(5) | |
356 | s.VelocitySpread = 360 | |
357 | s:Emit(40) | |
358 | local n = Instance.new("Sound") | |
359 | n.Volume = 0.75 | |
360 | n.Pitch = rd2(9, 11) / 10 | |
361 | n.SoundId = "rbxassetid://184374162" | |
362 | n.Parent = mis | |
363 | n:Play() | |
364 | hito(mis, 300, 500000, 0.01) | |
365 | else | |
366 | mis.CFrame = mis.CFrame * CFrame.new(0, 0, -5) | |
367 | end | |
368 | until wat == 50 or derp == true | |
369 | if wat == 50 then | |
370 | mis:Destroy() | |
371 | end | |
372 | if derp == true then | |
373 | game.Debris:AddItem(mis, 1) | |
374 | end | |
375 | end)) | |
376 | end | |
377 | function makesword(swocfrm, weldp1, cframe0) | |
378 | local ay = function(name, size, parnt, cfram) | |
379 | local port = Instance.new("Part") | |
380 | port.BrickColor = BrickColor.new("Teal") | |
381 | port.Name = name | |
382 | port.Transparency = 1 | |
383 | nooutline(port) | |
384 | port.Material = "Neon" | |
385 | port.Anchored = false | |
386 | port.CanCollide = false | |
387 | port.Locked = true | |
388 | port.Size = size | |
389 | port.Parent = parnt | |
390 | return port | |
391 | end | |
392 | local swordmo = Instance.new("Model") | |
393 | swordmo.Name = "swod" | |
394 | swordmo.Parent = modz | |
395 | local booval = Instance.new("BoolValue") | |
396 | booval.Value = true | |
397 | booval.Name = "mememem" | |
398 | booval.Parent = swordmo | |
399 | local function pr(par, amt, sped) | |
400 | local s = Instance.new("ParticleEmitter") | |
401 | s.Enabled = false | |
402 | s.LockedToPart = true | |
403 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
404 | s.LightEmission = 0.6 | |
405 | s.Size = NumberSequence.new({ | |
406 | NumberSequenceKeypoint.new(0, 0.15, 0), | |
407 | NumberSequenceKeypoint.new(0.05, 0.3, 0.3), | |
408 | NumberSequenceKeypoint.new(0.1, 0.15, 0), | |
409 | NumberSequenceKeypoint.new(0.8, 0.2, 0), | |
410 | NumberSequenceKeypoint.new(1, 0, 0) | |
411 | }) | |
412 | s.Texture = "rbxassetid://31270182" | |
413 | s.Transparency = NumberSequence.new({ | |
414 | NumberSequenceKeypoint.new(0, 0.7, 0), | |
415 | NumberSequenceKeypoint.new(0.89, 0.7, 0), | |
416 | NumberSequenceKeypoint.new(1, 1, 0) | |
417 | }) | |
418 | s.Name = "vid" | |
419 | s.Lifetime = NumberRange.new(0.75) | |
420 | s.Rate = 1 | |
421 | s.Speed = sped | |
422 | s.VelocitySpread = 3 | |
423 | s.Parent = par | |
424 | coroutine.resume(coroutine.create(function() | |
425 | while booval.Value do | |
426 | swait() | |
427 | s:Emit(amt) | |
428 | end | |
429 | end)) | |
430 | return s | |
431 | end | |
432 | local ping = function(derp) | |
433 | local s3 = Instance.new("ParticleEmitter") | |
434 | s3.Enabled = false | |
435 | s3.LockedToPart = false | |
436 | s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
437 | s3.LightEmission = 0.6 | |
438 | s3.Size = NumberSequence.new({ | |
439 | NumberSequenceKeypoint.new(0, 0.35, 0), | |
440 | NumberSequenceKeypoint.new(0.2, 0.25, 0.25), | |
441 | NumberSequenceKeypoint.new(0.4, 0.15, 0), | |
442 | NumberSequenceKeypoint.new(0.853, 0.25, 0.1), | |
443 | NumberSequenceKeypoint.new(1, 0, 0) | |
444 | }) | |
445 | s3.Texture = "rbxassetid://31270182" | |
446 | s3.Transparency = NumberSequence.new({ | |
447 | NumberSequenceKeypoint.new(0, 0.4, 0), | |
448 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
449 | NumberSequenceKeypoint.new(1, 1, 0) | |
450 | }) | |
451 | s3.Name = "vid3" | |
452 | s3.Lifetime = NumberRange.new(0.5) | |
453 | s3.Acceleration = Vector3.new(0, 5, 0) | |
454 | s3.Rate = 350 | |
455 | s3.Speed = NumberRange.new(10, 15) | |
456 | s3.VelocitySpread = 360 | |
457 | s3.Parent = derp | |
458 | swait() | |
459 | s3:Emit(120) | |
460 | end | |
461 | local b1 = ay("b1", Vector3.new(0.3, 2.5, 0.3), swordmo, swocfrm) | |
462 | local p1 = pr(b1, 5, NumberRange.new(0, 1)) | |
463 | if weldp1 then | |
464 | local w1 = makeweld(b1, b1, weldp1, cframe0, nil) | |
465 | end | |
466 | local bla = Instance.new("Sound") | |
467 | bla.SoundId = "rbxassetid://61425219" | |
468 | bla.Volume = 0.75 | |
469 | bla.Pitch = math.random(7, 9) / 10 | |
470 | bla.Parent = b1 | |
471 | bla:Play() | |
472 | local b2 = ay("b2", Vector3.new(0.6, 0.75, 0.4), swordmo, swocfrm) | |
473 | local p2 = pr(b2, 1, NumberRange.new(0, 1)) | |
474 | local w2 = makeweld(b2, b2, b1, ang(rd(180), rd(0), rd(0)) * cf(0, 1.5, 0), nil) | |
475 | local b3 = ay("b3", Vector3.new(0.7, 0.75, 0.5), swordmo, swocfrm) | |
476 | local p3 = pr(b3, 1, NumberRange.new(0, 3)) | |
477 | local w3 = makeweld(b3, b3, b1, ang(rd(180), rd(90), rd(0)) * cf(0, -1.5, 0), nil) | |
478 | local b4 = ay("b4", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm) | |
479 | local p4 = pr(b4, 1, NumberRange.new(1, 2)) | |
480 | local w4 = makeweld(b4, b4, b3, cf(0, -0.5, 0) * ang(rd(70), rd(0), rd(0)), nil) | |
481 | local b5 = ay("b5", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm) | |
482 | local p5 = pr(b5, 1, NumberRange.new(1, 2)) | |
483 | local w5 = makeweld(b5, b5, b3, cf(0, -0.5, 0) * ang(rd(290), rd(0), rd(0)), nil) | |
484 | local b6 = ay("b6", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm) | |
485 | local p6 = pr(b6, 1, NumberRange.new(1, 2)) | |
486 | local w6 = makeweld(b6, b6, b3, cf(0, -0.25, 0) * ang(rd(35), rd(0), rd(0)), nil) | |
487 | local b7 = ay("b7", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm) | |
488 | local p7 = pr(b7, 1, NumberRange.new(1, 2)) | |
489 | local w7 = makeweld(b7, b7, b3, cf(0, -0.25, 0) * ang(rd(325), rd(0), rd(0)), nil) | |
490 | local b8 = ay("b8", Vector3.new(0.5, 5.5, 0.2), swordmo, swocfrm) | |
491 | local p8 = pr(b8, 9, NumberRange.new(1, 3)) | |
492 | local w8 = makeweld(b8, b8, b1, ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), nil) | |
493 | local anbo = Instance.new("Part") | |
494 | anbo.Anchored = true | |
495 | anbo.CanCollide = false | |
496 | anbo.Size = Vector3.new(2.5, 9, 1) | |
497 | anbo.CFrame = b8.CFrame * cf(0, -1.5, 0) | |
498 | anbo.Transparency = 1 | |
499 | anbo.Parent = workspace | |
500 | game.Debris:AddItem(anbo, 2) | |
501 | ping(anbo) | |
502 | local whos = Instance.new("ParticleEmitter") | |
503 | whos.Enabled = false | |
504 | whos.LockedToPart = false | |
505 | whos.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
506 | whos.LightEmission = 0.6 | |
507 | whos.Size = NumberSequence.new({ | |
508 | NumberSequenceKeypoint.new(0, 0.15, 0), | |
509 | NumberSequenceKeypoint.new(0.05, 0.3, 0.3), | |
510 | NumberSequenceKeypoint.new(0.1, 0.15, 0), | |
511 | NumberSequenceKeypoint.new(0.8, 0.2, 0), | |
512 | NumberSequenceKeypoint.new(1, 0, 0) | |
513 | }) | |
514 | whos.Texture = "rbxassetid://31270182" | |
515 | whos.Transparency = NumberSequence.new({ | |
516 | NumberSequenceKeypoint.new(0, 0.7, 0), | |
517 | NumberSequenceKeypoint.new(0.89, 0.7, 0), | |
518 | NumberSequenceKeypoint.new(1, 1, 0) | |
519 | }) | |
520 | whos.Name = "whoos" | |
521 | whos.Lifetime = NumberRange.new(0.75) | |
522 | whos.Rate = 2000 | |
523 | whos.Speed = NumberRange.new(0) | |
524 | whos.VelocityInheritance = 0.8 | |
525 | whos.VelocitySpread = 3 | |
526 | whos.Parent = b8 | |
527 | return swordmo | |
528 | end | |
529 | function removesword(swordmodel) | |
530 | swordmodel.mememem.Value = false | |
531 | local hn = swordmodel.b1 | |
532 | hn.Anchored = true | |
533 | if hn:FindFirstChildOfClass("Weld") then | |
534 | hn:FindFirstChildOfClass("Weld"):Destroy() | |
535 | end | |
536 | local bla = Instance.new("Sound") | |
537 | bla.SoundId = "rbxassetid://192783601" | |
538 | bla.Volume = 1.25 | |
539 | bla.Pitch = math.random(9, 10) / 10 | |
540 | bla.Parent = hn | |
541 | bla:Play() | |
542 | local ping = function(derp) | |
543 | local s3 = Instance.new("ParticleEmitter") | |
544 | s3.Enabled = false | |
545 | s3.LockedToPart = false | |
546 | s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
547 | s3.LightEmission = 0.6 | |
548 | s3.Size = NumberSequence.new({ | |
549 | NumberSequenceKeypoint.new(0, 0.35, 0), | |
550 | NumberSequenceKeypoint.new(0.2, 0.25, 0.25), | |
551 | NumberSequenceKeypoint.new(0.4, 0.15, 0), | |
552 | NumberSequenceKeypoint.new(0.853, 0.25, 0.1), | |
553 | NumberSequenceKeypoint.new(1, 0, 0) | |
554 | }) | |
555 | s3.Texture = "rbxassetid://31270182" | |
556 | s3.Transparency = NumberSequence.new({ | |
557 | NumberSequenceKeypoint.new(0, 0.4, 0), | |
558 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
559 | NumberSequenceKeypoint.new(1, 1, 0) | |
560 | }) | |
561 | s3.Name = "vid3" | |
562 | s3.Lifetime = NumberRange.new(0.5) | |
563 | s3.Acceleration = Vector3.new(0, 5, 0) | |
564 | s3.Rate = 350 | |
565 | s3.Speed = NumberRange.new(10, 15) | |
566 | s3.VelocitySpread = 360 | |
567 | s3.Parent = derp | |
568 | swait() | |
569 | s3:Emit(180) | |
570 | end | |
571 | local anbo = Instance.new("Part") | |
572 | anbo.Anchored = true | |
573 | anbo.CanCollide = false | |
574 | anbo.Size = Vector3.new(2.5, 9, 1) | |
575 | anbo.CFrame = swordmodel.b8.CFrame * cf(0, -1.5, 0) | |
576 | anbo.Transparency = 1 | |
577 | anbo.Parent = workspace | |
578 | game.Debris:AddItem(anbo, 2) | |
579 | ping(anbo) | |
580 | game.Debris:AddItem(swordmodel, 1.25) | |
581 | end | |
582 | function eswing() | |
583 | if activu == true or selected == false then | |
584 | return | |
585 | end | |
586 | activu = true | |
587 | local sw = makesword(hrp.CFrame, rarm, ang(rd(90), rd(0), rd(90)) * cf(0, 1, 0.5)) | |
588 | animo(false) | |
589 | local hwel = sw.b1:FindFirstChildOfClass("Weld") | |
590 | local hwelc0 = hwel.C0 | |
591 | local whoo = sw.b8:FindFirstChild("whoos") | |
592 | for _ = 1, 12 do | |
593 | swait() | |
594 | lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
595 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-6), rd(70)), 0.5) | |
596 | lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.5) | |
597 | lerpz(RS, "C0", RSC0 * cf(0.3, 0.25, 0.55) * ang(rd(-30), rd(-70), rd(15)), 0.5) | |
598 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(0)), 0.5) | |
599 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(5), rd(10)), 0.5) | |
600 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
601 | lerpz(RH, "C0", RHC0 * cf(0.45, 0.05, -0.15) * ang(rd(-5), rd(60), rd(0)), 0.5) | |
602 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
603 | lerpz(LH, "C0", LHC0 * cf(0.45, 0.05, -0.35) * ang(rd(-5), rd(75), rd(0)), 0.5) | |
604 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
605 | hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.5) | |
606 | end | |
607 | for c = 1, 3 do | |
608 | swait() | |
609 | lerpz(RJ, "C0", RJC0 * cf(0, -0.25, 0) * ang(rd(0), rd(0), rd(10)), 0.1 + c / 5) | |
610 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-10)), 0.1 + c / 5) | |
611 | lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5) | |
612 | lerpz(RS, "C0", RSC0 * cf(-0.2, 0.35, 0.9) * ang(rd(-20), rd(170), rd(15)), 0.1 + c / 5) | |
613 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5) | |
614 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(5), rd(10)), 0.1 + c / 5) | |
615 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5) | |
616 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(1)), 0.1 + c / 5) | |
617 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5) | |
618 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.1 + c / 5) | |
619 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5) | |
620 | hwel.C0 = hwel.C0:lerp(cf(-0.15, 0.15, 0) * ang(rd(0), rd(0), rd(10)) * hwelc0, 0.1 + c / 5) | |
621 | end | |
622 | whoo.Enabled = true | |
623 | for _ = 1, 14 do | |
624 | swait() | |
625 | hito(sw.b8, 3, 35, 0.8) | |
626 | lerpz(RJ, "C0", RJC0 * cf(0, -0.75, 0) * ang(rd(0), rd(0), rd(60)), 0.6) | |
627 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-40)), 0.6) | |
628 | lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
629 | lerpz(RS, "C0", RSC0 * cf(-0.1, 0.65, 0.9) * ang(rd(-15), rd(135), rd(-165)), 0.6) | |
630 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
631 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-30), rd(5), rd(10)), 0.6) | |
632 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
633 | lerpz(RH, "C0", RHC0 * cf(-0.25, 0, 0) * ang(rd(-5), rd(-50), rd(1)), 0.6) | |
634 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
635 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.6) | |
636 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
637 | hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.6) | |
638 | end | |
639 | whoo.Enabled = false | |
640 | removesword(sw) | |
641 | animo(true) | |
642 | for _ = 1, 10 do | |
643 | swait() | |
644 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
645 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
646 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
647 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
648 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
649 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
650 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
651 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
652 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
653 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
654 | end | |
655 | resetlerp() | |
656 | activu = false | |
657 | end | |
658 | function torentmod() | |
659 | if selected == false or activu == true then | |
660 | return | |
661 | end | |
662 | if torrent == false then | |
663 | torrent = true | |
664 | do | |
665 | local viarm = Instance.new("Part") | |
666 | nooutline(viarm) | |
667 | viarm.CanCollide = false | |
668 | viarm.Transparency = 1 | |
669 | viarm.Name = "shootingu" | |
670 | viarm.Size = Vector3.new(1.25, 1, 1.25) | |
671 | viarm.CFrame = rarm.CFrame | |
672 | viarm.Parent = modz | |
673 | makeweld(viarm, viarm, rarm, cf(0, 1, 0)) | |
674 | s = Instance.new("ParticleEmitter") | |
675 | s.Enabled = true | |
676 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
677 | s.LightEmission = 0.6 | |
678 | s.Size = NumberSequence.new({ | |
679 | NumberSequenceKeypoint.new(0, 0, 0), | |
680 | NumberSequenceKeypoint.new(0.0241, 0.0925, 0), | |
681 | NumberSequenceKeypoint.new(0.0299, 0.56, 0.25), | |
682 | NumberSequenceKeypoint.new(0.0344, 0.0925, 0), | |
683 | NumberSequenceKeypoint.new(1, 0, 0) | |
684 | }) | |
685 | s.Texture = "rbxassetid://31270182" | |
686 | s.Transparency = NumberSequence.new({ | |
687 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
688 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
689 | NumberSequenceKeypoint.new(1, 1, 0) | |
690 | }) | |
691 | s.Name = "vid" | |
692 | s.Acceleration = viarm.CFrame.upVector * 5 | |
693 | s.Lifetime = NumberRange.new(1) | |
694 | s.ZOffset = 1 | |
695 | s.Rate = 1250 | |
696 | s.Speed = NumberRange.new(2, 3) | |
697 | s.VelocitySpread = 180 | |
698 | s.Parent = viarm | |
699 | coroutine.resume(coroutine.create(function() | |
700 | while s do | |
701 | swait() | |
702 | s.Acceleration = viarm.CFrame.upVector * 6 | |
703 | end | |
704 | end)) | |
705 | coroutine.resume(coroutine.create(function() | |
706 | while torrent == true do | |
707 | swait() | |
708 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
709 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
710 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
711 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
712 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
713 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
714 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
715 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
716 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
717 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
718 | end | |
719 | end)) | |
720 | local shootinz = false | |
721 | hd = tool.Activated:connect(function() | |
722 | shootinz = true | |
723 | repeat | |
724 | swait(3) | |
725 | lerpz(RS, "C0", RSC0 * cf(rd2(-3, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 105))), 0.8) | |
726 | proj(CFrame.new(viarm.Position, mouse.Hit.p + Vector3.new(rd2(-1, 1), rd2(-1, 1), 0))) | |
727 | local sd = Instance.new("Sound") | |
728 | sd.Volume = 0.3 | |
729 | sd.Pitch = rd2(11, 13) / 10 | |
730 | sd.SoundId = "rbxassetid://221727606" | |
731 | sd.Parent = viarm | |
732 | local sd2 = sd:Clone() | |
733 | sd2.SoundId = "rbxassetid://238381567" | |
734 | sd2.Parent = viarm | |
735 | sd:Play() | |
736 | sd2:Play() | |
737 | game.Debris:AddItem(sd, 1) | |
738 | game.Debris:AddItem(sd2, 1) | |
739 | until shootinz == false or torrent == false | |
740 | end) | |
741 | hu = tool.Deactivated:connect(function() | |
742 | shootinz = false | |
743 | end) | |
744 | end | |
745 | elseif torrent == true then | |
746 | hd:Disconnect() | |
747 | hu:Disconnect() | |
748 | torrent = false | |
749 | modz:FindFirstChild("shootingu"):FindFirstChild("vid").Enabled = false | |
750 | for _ = 1, 10 do | |
751 | swait() | |
752 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
753 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
754 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
755 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
756 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
757 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
758 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
759 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
760 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
761 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
762 | end | |
763 | resetlerp() | |
764 | modz:FindFirstChild("shootingu"):Destroy() | |
765 | end | |
766 | end | |
767 | function suprfast() | |
768 | if selected == false or activu == true then | |
769 | return | |
770 | end | |
771 | activu = true | |
772 | human.WalkSpeed = human.WalkSpeed + 30 | |
773 | human.JumpPower = human.JumpPower + 45 | |
774 | for _, d in ipairs(chr:GetChildren()) do | |
775 | if d.ClassName == "Accessory" then | |
776 | swait() | |
777 | glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 2) | |
778 | coroutine.resume(coroutine.create(function() | |
779 | local clones = {} | |
780 | for i = 1, 5 do | |
781 | local v = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"):Clone() | |
782 | v.Name = "nyoo" | |
783 | v.vid:Destroy() | |
784 | v.vid2:Destroy() | |
785 | v.AccessoryWeld:Destroy() | |
786 | v.Weld:Destroy() | |
787 | v.Transparency = 0.9 | |
788 | v.Anchored = true | |
789 | v.Parent = modz | |
790 | table.insert(clones, v) | |
791 | end | |
792 | num = 0 | |
793 | repeat | |
794 | swait() | |
795 | num = num % 5 + 1 | |
796 | clones[num].CFrame = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow").CFrame | |
797 | until activu == false | |
798 | for _, b in ipairs(clones) do | |
799 | swait() | |
800 | b:Destroy() | |
801 | end | |
802 | end)) | |
803 | elseif d.ClassName == "Part" and d ~= hrp then | |
804 | swait() | |
805 | glow(hrp, d:FindFirstChild("Glow"), 2) | |
806 | coroutine.resume(coroutine.create(function() | |
807 | local clones = {} | |
808 | for i = 1, 5 do | |
809 | local v = d:FindFirstChild("Glow"):Clone() | |
810 | v.Name = "lel" | |
811 | v.vid:Destroy() | |
812 | v.vid2:Destroy() | |
813 | v.Weld:Destroy() | |
814 | v.Transparency = 0.9 | |
815 | v.Anchored = true | |
816 | v.Parent = modz | |
817 | table.insert(clones, v) | |
818 | end | |
819 | num = 0 | |
820 | repeat | |
821 | swait() | |
822 | num = num % 5 + 1 | |
823 | clones[num].CFrame = d:FindFirstChild("Glow").CFrame | |
824 | until activu == false | |
825 | for _, b in ipairs(clones) do | |
826 | swait() | |
827 | b:Destroy() | |
828 | end | |
829 | end)) | |
830 | end | |
831 | end | |
832 | wait(2) | |
833 | activu = false | |
834 | human.WalkSpeed = human.WalkSpeed - 30 | |
835 | human.JumpPower = human.JumpPower - 45 | |
836 | end | |
837 | function fly() | |
838 | if selected == false or activu == true or torrent == true then | |
839 | return | |
840 | end | |
841 | local memedon = {} | |
842 | activu = true | |
843 | local emi = true | |
844 | local mp = Instance.new("Part") | |
845 | mp.Size = Vector3.new(0.2, 0.2, 0.2) | |
846 | mp.CanCollide = false | |
847 | mp.Transparency = 1 | |
848 | mp.Parent = modz | |
849 | table.insert(memedon, mp) | |
850 | makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil) | |
851 | local function pr(par, amt) | |
852 | local s = Instance.new("ParticleEmitter") | |
853 | s.Enabled = false | |
854 | s.LockedToPart = true | |
855 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
856 | s.LightEmission = 0.6 | |
857 | s.Size = NumberSequence.new({ | |
858 | NumberSequenceKeypoint.new(0, 0.3, 0), | |
859 | NumberSequenceKeypoint.new(0.8, 0.3, 0), | |
860 | NumberSequenceKeypoint.new(1, 0, 0) | |
861 | }) | |
862 | s.Texture = "rbxassetid://31270182" | |
863 | s.Transparency = NumberSequence.new({ | |
864 | NumberSequenceKeypoint.new(0, 0.7, 0), | |
865 | NumberSequenceKeypoint.new(0.89, 0.7, 0), | |
866 | NumberSequenceKeypoint.new(1, 1, 0) | |
867 | }) | |
868 | s.Name = "vid" | |
869 | s.Lifetime = NumberRange.new(0.75) | |
870 | s.Rate = 1 | |
871 | s.Speed = NumberRange.new(10, 15) | |
872 | s.VelocitySpread = 3 | |
873 | s.Parent = par | |
874 | coroutine.resume(coroutine.create(function() | |
875 | while emi do | |
876 | swait() | |
877 | s:Emit(amt) | |
878 | end | |
879 | end)) | |
880 | return s | |
881 | end | |
882 | for _, d in ipairs(chr:GetChildren()) do | |
883 | if d.ClassName == "Accessory" then | |
884 | glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5) | |
885 | elseif d.ClassName == "Part" and d ~= hrp then | |
886 | glow(hrp, d:FindFirstChild("Glow"), 1.5) | |
887 | end | |
888 | end | |
889 | local f1 = makepart("Teal", "w1", 1, "Neon", modz, hrp.CFrame) | |
890 | f1.Size = Vector3.new(0.4, 0.4, 0.4) | |
891 | local p1 = pr(f1, 12) | |
892 | p1.Acceleration = Vector3.new(-15, 0, 15) | |
893 | local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil) | |
894 | local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame) | |
895 | f2.Size = Vector3.new(0.4, 0.4, 0.4) | |
896 | local p2 = pr(f2, 12) | |
897 | p2.Acceleration = Vector3.new(15, 0, 15) | |
898 | local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil) | |
899 | local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame) | |
900 | f3.Size = Vector3.new(1.3, 0.6, 0.6) | |
901 | p3 = pr(f3, 4) | |
902 | p3.Speed = NumberRange.new(10, 12) | |
903 | local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil) | |
904 | local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame) | |
905 | f4.Size = Vector3.new(1.3, 0.6, 0.6) | |
906 | p4 = pr(f4, 4) | |
907 | p4.Speed = NumberRange.new(10, 12) | |
908 | local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil) | |
909 | local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame) | |
910 | f5.Size = Vector3.new(1.3, 0.6, 0.6) | |
911 | p5 = pr(f5, 4) | |
912 | p5.Speed = NumberRange.new(10, 12) | |
913 | local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil) | |
914 | local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame) | |
915 | f6.Size = Vector3.new(1.3, 0.6, 0.6) | |
916 | p6 = pr(f6, 4) | |
917 | p6.Speed = NumberRange.new(10, 12) | |
918 | local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil) | |
919 | local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame) | |
920 | f7.Size = Vector3.new(1.9, 0.6, 0.6) | |
921 | p7 = pr(f7, 6) | |
922 | p7.Speed = NumberRange.new(10, 12) | |
923 | local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil) | |
924 | local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame) | |
925 | f8.Size = Vector3.new(1.9, 0.6, 0.6) | |
926 | p8 = pr(f8, 6) | |
927 | p8.Speed = NumberRange.new(10, 12) | |
928 | local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil) | |
929 | t1 = pr(f1, 2) | |
930 | t1.LockedToPart = false | |
931 | t2 = pr(f2, 2) | |
932 | t2.LockedToPart = false | |
933 | t3 = pr(f3, 2) | |
934 | t3.LockedToPart = false | |
935 | t4 = pr(f4, 2) | |
936 | t4.LockedToPart = false | |
937 | t5 = pr(f5, 2) | |
938 | t5.LockedToPart = false | |
939 | t6 = pr(f6, 2) | |
940 | t6.LockedToPart = false | |
941 | t7 = pr(f7, 2) | |
942 | t7.LockedToPart = false | |
943 | t8 = pr(f8, 2) | |
944 | t8.LockedToPart = false | |
945 | table.insert(memedon, f1) | |
946 | table.insert(memedon, f2) | |
947 | table.insert(memedon, f3) | |
948 | table.insert(memedon, f4) | |
949 | table.insert(memedon, f5) | |
950 | table.insert(memedon, f6) | |
951 | table.insert(memedon, f7) | |
952 | table.insert(memedon, f8) | |
953 | local sd = Instance.new("Sound") | |
954 | sd.Volume = 1.5 | |
955 | sd.Pitch = rd2(10, 12) / 10 | |
956 | sd.SoundId = "rbxassetid://201858072" | |
957 | sd.Parent = hrp | |
958 | sd:Play() | |
959 | game.Debris:AddItem(sd, 1) | |
960 | human.PlatformStand = true | |
961 | local bg = Instance.new("BodyGyro") | |
962 | bg.MaxTorque = Vector3.new(15000, 15000, 15000) | |
963 | bg.P = 2500 | |
964 | bg.D = 100 | |
965 | bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
966 | bg.Parent = hrp | |
967 | local bf = Instance.new("BodyVelocity") | |
968 | bf.MaxForce = Vector3.new(15000, 15000, 15000) | |
969 | bf.P = 2500 | |
970 | bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200 | |
971 | bf.Parent = hrp | |
972 | for d = 1, 100 do | |
973 | swait() | |
974 | bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
975 | bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2) | |
976 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4) | |
977 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4) | |
978 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
979 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
980 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
981 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
982 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
983 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
984 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
985 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
986 | end | |
987 | bf:Destroy() | |
988 | bg:Destroy() | |
989 | human.PlatformStand = false | |
990 | emi = false | |
991 | p1.LockedToPart = false | |
992 | p2.LockedToPart = false | |
993 | p3.LockedToPart = false | |
994 | p4.LockedToPart = false | |
995 | p5.LockedToPart = false | |
996 | p6.LockedToPart = false | |
997 | p7.LockedToPart = false | |
998 | p8.LockedToPart = false | |
999 | for _ = 1, 10 do | |
1000 | swait() | |
1001 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1002 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1003 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1004 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1005 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1006 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1007 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1008 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1009 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1010 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
1011 | end | |
1012 | delay(0.5, function() | |
1013 | for _, l in ipairs(memedon) do | |
1014 | l:Destroy() | |
1015 | end | |
1016 | end) | |
1017 | resetlerp() | |
1018 | activu = false | |
1019 | end | |
1020 | function musiclel() | |
1021 | if selected == false or activu == true then | |
1022 | return | |
1023 | end | |
1024 | if boxingu == false then | |
1025 | boxingu = true | |
1026 | do | |
1027 | local watz = 1 | |
1028 | local hmm = 1 | |
1029 | local intens = 30 | |
1030 | local deg = 20 | |
1031 | local derp = makepart("Teal", "hurr", 0.25, "Neon", modz, hrp.CFrame) | |
1032 | derp.Locked = true | |
1033 | local s = Instance.new("ParticleEmitter") | |
1034 | s.Enabled = true | |
1035 | s.LockedToPart = true | |
1036 | s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
1037 | s.LightEmission = 0.6 | |
1038 | s.Size = NumberSequence.new({ | |
1039 | NumberSequenceKeypoint.new(0, 0.275, 0), | |
1040 | NumberSequenceKeypoint.new(0.406, 0.762, 0), | |
1041 | NumberSequenceKeypoint.new(0.433, 1.5, 0.75), | |
1042 | NumberSequenceKeypoint.new(0.476, 0.625, 0), | |
1043 | NumberSequenceKeypoint.new(1, 0.05, 0) | |
1044 | }) | |
1045 | s.Texture = "rbxassetid://31270182" | |
1046 | s.Transparency = NumberSequence.new({ | |
1047 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
1048 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
1049 | NumberSequenceKeypoint.new(1, 1, 0) | |
1050 | }) | |
1051 | s.Name = "vid" | |
1052 | s.Lifetime = NumberRange.new(0.2) | |
1053 | s.Rate = 75 | |
1054 | s.Speed = NumberRange.new(7, 10) | |
1055 | s.VelocitySpread = 360 | |
1056 | s.ZOffset = 1 | |
1057 | s.Parent = derp | |
1058 | local s2 = Instance.new("ParticleEmitter") | |
1059 | s2.Enabled = true | |
1060 | s2.LockedToPart = false | |
1061 | s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
1062 | s2.LightEmission = 0.6 | |
1063 | s2.Size = NumberSequence.new({ | |
1064 | NumberSequenceKeypoint.new(0, 0, 0), | |
1065 | NumberSequenceKeypoint.new(0.853, 0.125, 0.1), | |
1066 | NumberSequenceKeypoint.new(1, 0, 0) | |
1067 | }) | |
1068 | s2.Texture = "rbxassetid://31270182" | |
1069 | s2.Transparency = NumberSequence.new({ | |
1070 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
1071 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
1072 | NumberSequenceKeypoint.new(1, 1, 0) | |
1073 | }) | |
1074 | s2.Name = "vid2" | |
1075 | s2.Lifetime = NumberRange.new(0.5) | |
1076 | s2.Rate = 350 | |
1077 | s2.Speed = NumberRange.new(2, 6) | |
1078 | s2.VelocitySpread = 360 | |
1079 | s2.ZOffset = 1 | |
1080 | s2.Parent = derp | |
1081 | local s3 = Instance.new("ParticleEmitter") | |
1082 | s3.Enabled = false | |
1083 | s3.LockedToPart = false | |
1084 | s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803)) | |
1085 | s3.LightEmission = 0.6 | |
1086 | s3.Size = NumberSequence.new({ | |
1087 | NumberSequenceKeypoint.new(0, 0.45, 0), | |
1088 | NumberSequenceKeypoint.new(0.853, 0.25, 0.1), | |
1089 | NumberSequenceKeypoint.new(1, 0, 0) | |
1090 | }) | |
1091 | s3.Texture = "rbxassetid://31270182" | |
1092 | s3.Transparency = NumberSequence.new({ | |
1093 | NumberSequenceKeypoint.new(0, 0.6, 0), | |
1094 | NumberSequenceKeypoint.new(0.89, 0.6, 0), | |
1095 | NumberSequenceKeypoint.new(1, 1, 0) | |
1096 | }) | |
1097 | s3.Name = "vid3" | |
1098 | s3.Lifetime = NumberRange.new(0.5) | |
1099 | s3.Acceleration = Vector3.new(0, 30, 0) | |
1100 | s3.Rate = 350 | |
1101 | s3.Speed = NumberRange.new(20, 30) | |
1102 | s3.VelocitySpread = 360 | |
1103 | s3.Parent = derp | |
1104 | derp.Anchored = true | |
1105 | derp.Transparency = 0.5 | |
1106 | derp.Size = Vector3.new(3, 2, 2) | |
1107 | derp.CFrame = hrp.CFrame | |
1108 | local lol = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://151760030", derp) | |
1109 | local sound = Instance.new("Sound") | |
1110 | sound.Name = "moose" | |
1111 | sound.Volume = 1 | |
1112 | sound.EmitterSize = 40 | |
1113 | sound.MaxDistance = 40 | |
1114 | sound.Looped = true | |
1115 | sound.Parent = derp | |
1116 | coroutine.resume(coroutine.create(function() | |
1117 | local hey = false | |
1118 | while derp do | |
1119 | swait() | |
1120 | watz = watz + hmm | |
1121 | derp.CFrame = derp.CFrame:lerp(hrp.CFrame * cf(-1.5, 3, 2.5) * ang(0, 0, rd(deg * math.cos(watz / intens))), 0.4) | |
1122 | derp.Size = derp.Size:lerp(Vector3.new(3 * (1 + sound.PlaybackLoudness / 500), 2 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 1000)), 0.7) | |
1123 | lol.Scale = lol.Scale:lerp(Vector3.new(1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500)), 0.7) | |
1124 | if hey == false and (3 < lol.Scale).magnitude then | |
1125 | hey = true | |
1126 | s3:Emit(20) | |
1127 | delay(0.25, function() | |
1128 | hey = false | |
1129 | end) | |
1130 | end | |
1131 | end | |
1132 | end)) | |
1133 | local sg = Instance.new("ScreenGui") | |
1134 | sg.Name = "simpleflips" | |
1135 | sg.Parent = plr.PlayerGui | |
1136 | local fr = Instance.new("Frame") | |
1137 | fr.AnchorPoint = Vector2.new(1, 0.5) | |
1138 | fr.BackgroundColor3 = Color3.new(0.09411764705882353, 0.9568627450980393, 1) | |
1139 | fr.BorderSizePixel = 2 | |
1140 | fr.Position = UDim2.new(0.975, 0, 0.5, 0) | |
1141 | fr.Size = UDim2.new(0, 200, 0, 100) | |
1142 | fr.Parent = sg | |
1143 | local mbox = Instance.new("TextBox") | |
1144 | mbox.AnchorPoint = Vector2.new(0.5, 0.5) | |
1145 | mbox.BackgroundColor3 = Color3.new(0.45098039215686275, 0.7803921568627451, 1) | |
1146 | mbox.BorderSizePixel = 2 | |
1147 | mbox.Position = UDim2.new(0.5, 0, 0.25, 0) | |
1148 | mbox.Size = UDim2.new(0, 150, 0, 40) | |
1149 | mbox.Font = "SourceSansBold" | |
1150 | mbox.FontSize = "Size24" | |
1151 | mbox.Text = "MEME" | |
1152 | mbox.TextWrapped = true | |
1153 | mbox.Parent = fr | |
1154 | local pley = Instance.new("TextButton") | |
1155 | pley.AnchorPoint = Vector2.new(0.5, 0.5) | |
1156 | pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784) | |
1157 | pley.BorderSizePixel = 2 | |
1158 | pley.Position = UDim2.new(0.25, 0, 0.75, 0) | |
1159 | pley.Size = UDim2.new(0, 75, 0, 35) | |
1160 | pley.Font = "SourceSansBold" | |
1161 | pley.FontSize = "Size18" | |
1162 | pley.Text = "kappa" | |
1163 | pley.Parent = fr | |
1164 | local stap = Instance.new("TextButton") | |
1165 | stap.AnchorPoint = Vector2.new(0.5, 0.5) | |
1166 | stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941) | |
1167 | stap.BorderSizePixel = 2 | |
1168 | stap.Position = UDim2.new(0.75, 0, 0.75, 0) | |
1169 | stap.Size = UDim2.new(0, 75, 0, 35) | |
1170 | stap.Font = "SourceSansBold" | |
1171 | stap.FontSize = "Size18" | |
1172 | stap.Text = "pride" | |
1173 | stap.Parent = fr | |
1174 | pl = pley.MouseButton1Click:connect(function() | |
1175 | sound.SoundId = "rbxassetid://" .. mbox.Text | |
1176 | sound:Play() | |
1177 | end) | |
1178 | st = stap.MouseButton1Click:connect(function() | |
1179 | sound:Stop() | |
1180 | end) | |
1181 | end | |
1182 | elseif boxingu == true then | |
1183 | activu = true | |
1184 | boxingu = false | |
1185 | local derp = modz:FindFirstChild("hurr") | |
1186 | local s3 = derp:FindFirstChild("vid3") | |
1187 | local s1 = derp:FindFirstChild("vid") | |
1188 | local s2 = derp:FindFirstChild("vid2") | |
1189 | local sound = derp:FindFirstChild("moose") | |
1190 | local sg = plr.PlayerGui:FindFirstChild("simpleflips") | |
1191 | pl:Disconnect() | |
1192 | st:Disconnect() | |
1193 | s3:Emit(40) | |
1194 | s1.Enabled = false | |
1195 | s2.Enabled = false | |
1196 | sound:Stop() | |
1197 | sg:Destroy() | |
1198 | derp.Transparency = 1 | |
1199 | local poo = Instance.new("Sound") | |
1200 | poo.SoundId = "rbxassetid://174658105" | |
1201 | poo.Volume = 1.25 | |
1202 | poo.TimePosition = 0.65 | |
1203 | poo.Parent = derp | |
1204 | poo:Play() | |
1205 | wait(0.75) | |
1206 | derp:Destroy() | |
1207 | activu = false | |
1208 | end | |
1209 | end | |
1210 | function hito(partoz, magn, dmg, debtim) | |
1211 | for _, guy in pairs(workspace:GetChildren()) do | |
1212 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
1213 | do | |
1214 | local humz = guy:FindFirstChild("Humanoid") | |
1215 | local hed = guy:FindFirstChild("Head") | |
1216 | humz:TakeDamage(dmg) | |
1217 | local db = Instance.new("StringValue") | |
1218 | db.Name = "alabo" | |
1219 | db.Parent = hed | |
1220 | delay(debtim, function() | |
1221 | db:Destroy() | |
1222 | end) | |
1223 | end | |
1224 | end | |
1225 | end | |
1226 | end | |
1227 | function animo(yep) | |
1228 | if yep == true then | |
1229 | anim.Parent = human | |
1230 | chr.Animate.Disabled = false | |
1231 | elseif yep == false then | |
1232 | chr.Animate.Disabled = true | |
1233 | anim.Parent = nil | |
1234 | end | |
1235 | end | |
1236 | mouse.KeyDown:connect(function(key) | |
1237 | if key == "f" then | |
1238 | suprfast() | |
1239 | end | |
1240 | if key == "q" then | |
1241 | torentmod() | |
1242 | end | |
1243 | if key == "c" then | |
1244 | fly() | |
1245 | end | |
1246 | if key == "e" then | |
1247 | eswing() | |
1248 | end | |
1249 | if key == "m" then | |
1250 | musiclel() | |
1251 | end | |
1252 | end) | |
1253 | tool.Equipped:connect(function() | |
1254 | selected = true | |
1255 | end) | |
1256 | tool.Unequipped:connect(function() | |
1257 | selected = false | |
1258 | end) |