SHOW:
|
|
- or go back to the newest paste.
1 | -https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
6 | --// Made by Cronizte | |
7 | --// Give credits :P | |
8 | ||
9 | local faces = {Enum.NormalId.Back,Enum.NormalId.Right,Enum.NormalId.Left,Enum.NormalId.Top,Enum.NormalId.Bottom,Enum.NormalId.Front} | |
10 | plr = game:service'Players'.LocalPlayer | |
11 | mouse = plr:GetMouse() | |
12 | char = plr.Character | |
13 | root = char.HumanoidRootPart | |
14 | part = root | |
15 | head = char.Head | |
16 | torso = "" | |
17 | sling = false | |
18 | if char:FindFirstChild('Torso') then | |
19 | torso = char.Torso | |
20 | elseif char:FindFirstChild('UpperTorso') then | |
21 | torso = char.UpperTorso | |
22 | end | |
23 | lshold = torso["Left Shoulder"] | |
24 | rshold = torso["Right Shoulder"] | |
25 | char["Right Arm"].BrickColor = BrickColor.new('Crimson') | |
26 | char["Left Arm"].BrickColor = BrickColor.new('Crimson') | |
27 | neck = torso.Neck | |
28 | lhip = torso["Left Hip"] | |
29 | rhip = torso["Right Hip"] | |
30 | vector = char.Head.CFrame * CFrame.new(2,1.5,0) | |
31 | lscf = lshold.C0 | |
32 | lclickt = false | |
33 | mouseh = "" | |
34 | lclick = false | |
35 | color3 = BrickColor.new('Really black') | |
36 | rscf = rshold.C0 | |
37 | local time = 10 | |
38 | bv = Instance.new('BodyVelocity', workspace) | |
39 | bv.velocity = mouse.Hit.lookVector * 0 | |
40 | bodyv = bv | |
41 | sels = torso | |
42 | zcam = false | |
43 | ncf = neck.C0 | |
44 | drone = false | |
45 | scripttest = "false" | |
46 | asd = "" | |
47 | asd2 = "" | |
48 | dro = "" | |
49 | rclick = false | |
50 | sounds = false | |
51 | red = "Bright red" | |
52 | lhcf = lhip.C0 | |
53 | unmasked = false | |
54 | insta = false | |
55 | rhcf = rhip.C0 | |
56 | freefly = false | |
57 | rad = math.rad | |
58 | hear = false | |
59 | fhead = "" | |
60 | random = math.random | |
61 | sou = false | |
62 | sin = math.sin | |
63 | black = false | |
64 | cos = math.cos | |
65 | speed = 200 | |
66 | mspeed = 200 | |
67 | nspeed = 200 | |
68 | cframe = CFrame.new(2,1.5,0) | |
69 | cooldown = true | |
70 | floor = math.floor | |
71 | mousep = "" | |
72 | text = "Current Health: "..char.Humanoid.Health | |
73 | lsho = lshold.C0 | |
74 | rsho = rshold.C0 | |
75 | lle = lhip.C0 | |
76 | rle = rhip.C0 | |
77 | loc = false | |
78 | color = "Cool yellow" | |
79 | color2 = "Crimson" | |
80 | leye = "" | |
81 | reye = "" | |
82 | lfeye = "" | |
83 | rfeye = "" | |
84 | ||
85 | --spiderman-- | |
86 | --pack('LeftArm',151353346,151353416) | |
87 | --pack('RightArm',151353346,151353456) | |
88 | --pack('LeftLeg',151353346,151353958) | |
89 | --pack('RightLeg',151353346,151353479) | |
90 | --pack('Torso',151353346,151353393) | |
91 | ||
92 | --boy-- | |
93 | --pack('LeftArm',0,279174949) | |
94 | --pack('RightArm',0,279174886) | |
95 | --pack('LeftLeg',0,319336109) | |
96 | --pack('RightLeg',0,319336155) | |
97 | --pack('Torso',0,376169183) | |
98 | ||
99 | s1 = Instance.new("Sound", char["Left Arm"]) | |
100 | s1.Volume = 5 | |
101 | s1.SoundId = "rbxassetid://576652617" | |
102 | s1.PlayOnRemove = false | |
103 | s1.Looped = false | |
104 | s2 = Instance.new('Sound', plr.PlayerGui) | |
105 | s2.Volume = 5 | |
106 | s2.Looped = false | |
107 | s2.SoundId = "rbxassetid://866613992" | |
108 | s3 = Instance.new('Sound', char.Head) | |
109 | s3.Volume = 5 | |
110 | s3.Looped = true | |
111 | s3.SoundId = "rbxassetid://904569721" | |
112 | s4 = Instance.new('Sound', plr.PlayerGui) | |
113 | s4.Volume = 2.5 | |
114 | s4.Looped = false | |
115 | s4.SoundId = "rbxassetid://576613547" | |
116 | s5 = Instance.new('Sound', plr.PlayerGui) | |
117 | s5.Volume = 10 | |
118 | s5.Looped = true | |
119 | s5.SoundId = "rbxassetid://227682498" | |
120 | s6 = Instance.new('Sound', plr.PlayerGui) | |
121 | s6.Volume = 3 | |
122 | s6.Looped = false | |
123 | s6.SoundId = "rbxassetid://145486927" | |
124 | s7 = Instance.new('Sound', char.Head) | |
125 | s7.Volume = 3 | |
126 | s7.Looped = false | |
127 | s7.SoundId = "rbxassetid://873073853" | |
128 | s8 = Instance.new('Sound', char.Head) | |
129 | s8.Volume = 3 | |
130 | s8.Looped = false | |
131 | s8.SoundId = "rbxassetid://898385136" | |
132 | s9 = Instance.new('Sound', char.Head) | |
133 | s9.Volume = 7 | |
134 | s9.Looped = false | |
135 | s9.SoundId = "rbxassetid://144699494" | |
136 | s10 = Instance.new('Sound', char.Head) | |
137 | s10.Volume = 5 | |
138 | s10.Looped = false | |
139 | s10.SoundId = "rbxassetid://967512062" | |
140 | ||
141 | g1 = Instance.new("ScreenGui", plr.PlayerGui) | |
142 | fr = Instance.new("Frame", g1) | |
143 | fr.BackgroundColor3 = Color3.new(1, 1, 1) | |
144 | fr.BackgroundTransparency = 1 | |
145 | fr.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
146 | fr.Position = UDim2.new(0.706, 0,0.35, 0) | |
147 | fr.Visible = true | |
148 | fr.Size = UDim2.new(0, 252, 0, 257) | |
149 | fr.Name = 'Identity' | |
150 | il = Instance.new("ImageLabel", fr) | |
151 | il.BackgroundTransparency = 1 | |
152 | il.BorderSizePixel = 0 | |
153 | il.BackgroundColor3 = Color3.new(1, 1, 1) | |
154 | il.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
155 | il.Position = UDim2.new(0.27380952239037, 0, 0.050583656877279, 0) | |
156 | il.Size = UDim2.new(0, 114, 0, 104) | |
157 | il.Image = "rbxassetid://924320031" | |
158 | t1 = Instance.new("TextLabel", fr) | |
159 | t1.BackgroundColor3 = Color3.new(1, 1, 1) | |
160 | t1.BackgroundTransparency = 1 | |
161 | t1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
162 | t1.Name = "Info1" | |
163 | t1.Position = UDim2.new(0.1031746044755, 0, 0.48638132214546, 0) | |
164 | t1.Size = UDim2.new(0, 200, 0, 50) | |
165 | t1.Text = "Label1" | |
166 | t1.TextScaled = true | |
167 | t1.TextWrapped = true | |
168 | t1.TextColor3 = Color3.new(0, 0, 0) | |
169 | t1.Font = Enum.Font.SourceSansBold | |
170 | t1.FontSize = Enum.FontSize.Size18 | |
171 | t2 = Instance.new("TextLabel", fr) | |
172 | t2.BackgroundColor3 = Color3.new(1, 1, 1) | |
173 | t2.BackgroundTransparency = 1 | |
174 | t2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
175 | t2.Name = "Info2" | |
176 | t2.Position = UDim2.new(0.1031746044755, 0, 0.70428013801575, 0) | |
177 | t2.Size = UDim2.new(0, 200, 0, 50) | |
178 | t2.Text = "Label2" | |
179 | t2.TextWrapped = true | |
180 | t2.TextScaled = true | |
181 | t2.TextColor3 = Color3.new(0, 0, 0) | |
182 | t2.Font = Enum.Font.SourceSansBold | |
183 | t2.FontSize = Enum.FontSize.Size28 | |
184 | t3 = Instance.new("TextLabel", fr) | |
185 | t3.BackgroundColor3 = Color3.new(1, 1, 1) | |
186 | t3.BackgroundTransparency = 1 | |
187 | t3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
188 | t3.Name = "Info2" | |
189 | t3.Position = UDim2.new(0.103, 0,0.93, 0) | |
190 | t3.Size = UDim2.new(0, 200, 0, 50) | |
191 | t3.Text = "Label2" | |
192 | t3.TextWrapped = true | |
193 | t3.TextScaled = true | |
194 | t3.TextColor3 = Color3.new(0, 0, 0) | |
195 | t3.Font = Enum.Font.SourceSansBold | |
196 | t3.FontSize = Enum.FontSize.Size28 | |
197 | t4 = Instance.new("TextLabel", fr) | |
198 | t4.BackgroundColor3 = Color3.new(1, 1, 1) | |
199 | t4.BackgroundTransparency = 1 | |
200 | t4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
201 | t4.Name = "Info2" | |
202 | t4.Position = UDim2.new(0.103, 0,1.152, 0) | |
203 | t4.Size = UDim2.new(0, 200, 0, 50) | |
204 | t4.Text = "Label2" | |
205 | t4.TextWrapped = true | |
206 | t4.TextColor3 = Color3.new(0, 0, 0) | |
207 | t4.Font = Enum.Font.SourceSansBold | |
208 | t4.FontSize = Enum.FontSize.Size28 | |
209 | t4.TextScaled = true | |
210 | t1.Text = '' | |
211 | t2.Text = '' | |
212 | t3.Text = '' | |
213 | t4.Text = '' | |
214 | il.Image = 'rbxassetid://0' | |
215 | o1 = Instance.new("ImageLabel", g1) | |
216 | o1.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
217 | o1.BackgroundTransparency = 1 | |
218 | o1.BorderColor3 = Color3.new(0.666667, 0, 0) | |
219 | o1.Name = "HelmetGui" | |
220 | o1.Position = UDim2.new(0, 0, 0, -1) | |
221 | o1.Size = UDim2.new(1, 0, 1, 1) | |
222 | o1.ImageColor3 = Color3.new(255,0,0) | |
223 | o1.Image = "rbxassetid://272417994" | |
224 | o2 = Instance.new("TextLabel", g1) | |
225 | o2.BackgroundColor3 = Color3.new(1, 1, 1) | |
226 | o2.BackgroundTransparency = 1 | |
227 | o2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
228 | o2.Name = "SystemInput" | |
229 | o2.Position = UDim2.new(0.25, 0, 0.25, 0) | |
230 | o2.Size = UDim2.new(0.5, -250, 0.5, -250) | |
231 | o2.Text = "" | |
232 | o2.TextColor3 = Color3.new(1, 0, 0) | |
233 | o2.Font = Enum.Font.Code | |
234 | o2.FontSize = Enum.FontSize.Size24 | |
235 | o3 = Instance.new("TextLabel", g1) | |
236 | o3.BackgroundColor3 = Color3.new(1, 1, 1) | |
237 | o3.BackgroundTransparency = 1 | |
238 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
239 | o3.Name = "PlrInput" | |
240 | o3.Position = UDim2.new(0.10, 0, 0.64999997615814, 0) | |
241 | o3.Size = UDim2.new(0.5, -250, 0.5, -250) | |
242 | o3.Text = "Current Health: "..char.Humanoid.Health | |
243 | o3.TextColor3 = Color3.new(1, 0, 0) | |
244 | o3.Font = Enum.Font.Code | |
245 | o3.FontSize = Enum.FontSize.Size24 | |
246 | o4 = Instance.new("TextLabel", g1) | |
247 | o4.BackgroundColor3 = Color3.new(1, 1, 1) | |
248 | o4.BackgroundTransparency = 1 | |
249 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
250 | o4.Name = "PlrInput2" | |
251 | o4.Position = UDim2.new(0.10, 0, 0.70, 0) | |
252 | o4.Size = UDim2.new(0.5, -250, 0.5, -250) | |
253 | o4.Text = "Current Speed: 0" | |
254 | o4.TextColor3 = Color3.new(1, 0, 0) | |
255 | o4.Font = Enum.Font.Code | |
256 | o4.FontSize = Enum.FontSize.Size24 | |
257 | o6 = Instance.new("TextLabel", g1) | |
258 | o6.BackgroundColor3 = Color3.new(1, 1, 1) | |
259 | o6.BackgroundTransparency = 1 | |
260 | o6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
261 | o6.Name = "PlrInput3" | |
262 | o6.Position = UDim2.new(0.1, 0,0.6, 0) | |
263 | o6.Size = UDim2.new(0.5, -250, 0.5, -250) | |
264 | o6.Text = "Current Web Speed: " | |
265 | o6.TextColor3 = Color3.new(1, 0, 0) | |
266 | o6.Font = Enum.Font.Code | |
267 | o6.FontSize = Enum.FontSize.Size24 | |
268 | o7 = Instance.new("TextLabel", g1) | |
269 | o7.BackgroundColor3 = Color3.new(1, 1, 1) | |
270 | o7.BackgroundTransparency = 1 | |
271 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
272 | o7.Name = "PlrInput4" | |
273 | o7.Position = UDim2.new(0.1, 0,0.55, 0) | |
274 | o7.Size = UDim2.new(0.5, -250, 0.5, -250) | |
275 | o7.Text = "Current Time: " | |
276 | o7.TextColor3 = Color3.new(1, 0, 0) | |
277 | o7.Font = Enum.Font.Code | |
278 | o7.FontSize = Enum.FontSize.Size24 | |
279 | o8 = Instance.new("TextLabel", g1) | |
280 | o8.BackgroundColor3 = Color3.new(1, 1, 1) | |
281 | o8.BackgroundTransparency = 1 | |
282 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
283 | o8.Name = "PlrInput5" | |
284 | o8.Position = UDim2.new(0.1, 0,0.5, 0) | |
285 | o8.Size = UDim2.new(0.5, -250, 0.5, -250) | |
286 | o8.Text = "Current Sounds: " | |
287 | o8.TextColor3 = Color3.new(1, 0, 0) | |
288 | o8.Font = Enum.Font.Code | |
289 | o8.FontSize = Enum.FontSize.Size24 | |
290 | o9 = Instance.new("TextLabel", g1) | |
291 | o9.BackgroundColor3 = Color3.new(1, 1, 1) | |
292 | o9.BackgroundTransparency = 1 | |
293 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
294 | o9.Name = "PlrInput6" | |
295 | o9.Position = UDim2.new(0.1, 0,0.45, 0) | |
296 | o9.Size = UDim2.new(0.5, -250, 0.5, -250) | |
297 | o9.Text = "Current Parts: " | |
298 | o9.TextColor3 = Color3.new(1, 0, 0) | |
299 | o9.Font = Enum.Font.Code | |
300 | o9.FontSize = Enum.FontSize.Size24 | |
301 | o5 = Instance.new("ImageLabel", g1) | |
302 | o5.BackgroundColor3 = Color3.new(1, 0.333333, 0) | |
303 | o5.BackgroundTransparency = 1 | |
304 | o5.BorderColor3 = Color3.new(0.666667, 0, 0) | |
305 | o5.ImageColor3 = Color3.new(175, 175, 175) | |
306 | o5.Name = "SpideySense" | |
307 | o5.ImageTransparency = 1 | |
308 | o5.Position = UDim2.new(0, 0, 0, -1) | |
309 | o5.Size = UDim2.new(1, 0, 1, 1) | |
310 | o5.ImageColor3 = Color3.new(0,0,0) | |
311 | o5.Image = "rbxassetid://951687333" | |
312 | ||
313 | function tw(string) | |
314 | local String = string | |
315 | local Length = string.len(String) | |
316 | ||
317 | for i=1,Length do | |
318 | wait(.05) | |
319 | s6:Play() | |
320 | o2.Text = string.sub(String,1,i) | |
321 | end | |
322 | end | |
323 | ||
324 | function zoomi() | |
325 | s2.Volume = 5 | |
326 | s2:Play() | |
327 | for i = 1,35 do | |
328 | wait() | |
329 | s2.Volume = s2.Volume - 0.15 | |
330 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 1 | |
331 | end | |
332 | end | |
333 | ||
334 | function st() | |
335 | for i = 1,44 do | |
336 | wait() | |
337 | s3.Volume = s3.Volume - 0.1 | |
338 | end | |
339 | end | |
340 | ||
341 | function ss() | |
342 | for i = 1,44 do | |
343 | wait() | |
344 | s3.Volume = s3.Volume + 0.1 | |
345 | end | |
346 | end | |
347 | ||
348 | function unlocate() | |
349 | for _, players in pairs(game:service'Players':players()) do | |
350 | if players.Character then | |
351 | if players.Character:FindFirstChild('HumanoidRootPart') then | |
352 | if players.Character.HumanoidRootPart:FindFirstChild('track') then | |
353 | players.Character.HumanoidRootPart.track:Destroy() | |
354 | end | |
355 | end | |
356 | end | |
357 | end | |
358 | end | |
359 | ||
360 | function zoomo() | |
361 | s2.Volume = 5 | |
362 | s2:Play() | |
363 | for i = 1,35 do | |
364 | wait() | |
365 | s2.Volume = s2.Volume - 0.15 | |
366 | workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 1 | |
367 | end | |
368 | end | |
369 | ||
370 | function colorlerp(a,b) | |
371 | local start = Vector3.new(a); | |
372 | local en = b; | |
373 | ||
374 | for alpha = 0, 1, 0.1 do | |
375 | local offset = start:Lerp(en, alpha); | |
376 | o1.ImageColor3 = Color3.new(offset.X/255, offset.Y/255, offset.Z/255); | |
377 | wait(); | |
378 | end | |
379 | end | |
380 | ||
381 | function hair() | |
382 | local hair = Instance.new("Part", char) | |
383 | local hairmesh = Instance.new("SpecialMesh", hair) | |
384 | hairmesh.MeshId = "http://www.roblox.com/asset/?id=74879498" | |
385 | hairmesh.TextureId = "http://www.roblox.com/asset/?id=74879471" | |
386 | hairmesh.Scale = Vector3.new(1.025, 1, 1.075) | |
387 | hair.Transparency = 0 | |
388 | hair.CanCollide = false | |
389 | hair.Name = "plrhair" | |
390 | hair.Anchored = false | |
391 | local weld = Instance.new("Weld", char) | |
392 | weld.Part0 = hair | |
393 | weld.Part1 = char.Head | |
394 | weld.C1 = CFrame.new(0,.47,0) | |
395 | end | |
396 | ||
397 | function uhair() | |
398 | for _, a in pairs(char:children()) do | |
399 | if a:IsA('Part') and a.Name == "plrhair" then | |
400 | a:Destroy() | |
401 | end | |
402 | end | |
403 | end | |
404 | ||
405 | function seyes(cooldown) | |
406 | local rand3 = math.random(1,3) | |
407 | if rand3 == 1 then | |
408 | for i = 0,1 do | |
409 | wait(.05) | |
410 | leye.Scale = leye.Scale - Vector3.new(0,0.035,0) | |
411 | end | |
412 | wait(cooldown) | |
413 | for i = 0,1 do | |
414 | wait(.05) | |
415 | leye.Scale = leye.Scale + Vector3.new(0,0.035,0) | |
416 | end | |
417 | end | |
418 | if rand3 == 2 then | |
419 | for i = 0,1 do | |
420 | wait(.05) | |
421 | reye.Scale = reye.Scale - Vector3.new(0,0.035,0) | |
422 | end | |
423 | wait(cooldown) | |
424 | for i = 0,1 do | |
425 | wait(.05) | |
426 | reye.Scale = reye.Scale + Vector3.new(0,0.035,0) | |
427 | end | |
428 | end | |
429 | if rand3 == 3 then | |
430 | for i = 0,1 do | |
431 | wait(.05) | |
432 | reye.Scale = reye.Scale - Vector3.new(0,0.035,0) | |
433 | leye.Scale = leye.Scale - Vector3.new(0,0.035,0) | |
434 | end | |
435 | wait(cooldown) | |
436 | for i = 0,1 do | |
437 | wait(.05) | |
438 | reye.Scale = reye.Scale + Vector3.new(0,0.035,0) | |
439 | leye.Scale = leye.Scale + Vector3.new(0,0.035,0) | |
440 | end | |
441 | end | |
442 | end | |
443 | ||
444 | function headu() | |
445 | for i=0,1,0.15 do | |
446 | wait() | |
447 | neck.C0 = neck.C0:lerp(neck.C0*CFrame.Angles(rad(-10),rad(0),rad(0)),i) | |
448 | end | |
449 | seyes(.5) | |
450 | wait(.4) | |
451 | for i=0,1,0.2 do | |
452 | wait() | |
453 | neck.C0 = neck.C0:lerp(ncf,i) | |
454 | end | |
455 | end | |
456 | ||
457 | function headl() | |
458 | local rand2 = math.random(1,2) | |
459 | if rand2 == 1 then | |
460 | for i=0,1,0.1 do | |
461 | neck.C0 = neck.C0:lerp(neck.C0*CFrame.Angles(rad(0),rad(0),rad(-6)),i) | |
462 | wait() | |
463 | end | |
464 | wait(.4) | |
465 | for i=0,1,0.1 do | |
466 | neck.C0 = neck.C0:lerp(ncf,i) | |
467 | wait() | |
468 | end | |
469 | end | |
470 | if rand2 == 2 then | |
471 | for i=0,1,0.1 do | |
472 | neck.C0 = neck.C0:lerp(neck.C0*CFrame.Angles(rad(0),rad(0),rad(6)),i) | |
473 | wait() | |
474 | end | |
475 | wait(.4) | |
476 | for i=0,1,0.1 do | |
477 | neck.C0 = neck.C0:lerp(ncf,i) | |
478 | wait() | |
479 | end | |
480 | end | |
481 | end | |
482 | ||
483 | function child(a,b) | |
484 | for _, a in pairs(a:children()) do | |
485 | if a:IsA(b) then | |
486 | a:Destroy() | |
487 | end | |
488 | end | |
489 | end | |
490 | ||
491 | function circ() | |
492 | torso.Anchored = true | |
493 | local circle = Instance.new('Part', char) | |
494 | circle.Anchored = true | |
495 | circle.BrickColor = BrickColor.new('Really black') | |
496 | circle.CanCollide = false | |
497 | circle.BottomSurface = 0 | |
498 | circle.TopSurface = 0 | |
499 | circle.Material = "Neon" | |
500 | circle.Size = Vector3.new(0,0,0) | |
501 | circle.CFrame = torso.CFrame | |
502 | circle.Shape = "Ball" | |
503 | for i = 1,25 do | |
504 | wait() | |
505 | circle.Size = circle.Size + Vector3.new(0.8,0.8,0.8) | |
506 | circle.CFrame = torso.CFrame | |
507 | circle.Transparency = circle.Transparency + 0.05 | |
508 | end | |
509 | circle:Destroy() | |
510 | end | |
511 | ||
512 | function circ2() | |
513 | local circle = Instance.new('Part', char) | |
514 | circle.CFrame = torso.CFrame | |
515 | circle.Anchored = true | |
516 | circle.BottomSurface = 0 | |
517 | circle.TopSurface = 0 | |
518 | circle.Material = "Neon" | |
519 | circle.BrickColor = BrickColor.new('Really black') | |
520 | circle.CanCollide = false | |
521 | circle.Size = Vector3.new(19.25,19.25,19.25) | |
522 | circle.Shape = "Ball" | |
523 | s9:Play() | |
524 | for i = 1,25 do | |
525 | wait() | |
526 | circle.Size = circle.Size - Vector3.new(2,2,2) | |
527 | circle.CFrame = torso.CFrame | |
528 | circle.Transparency = circle.Transparency + 0.01 | |
529 | end | |
530 | circle:Destroy() | |
531 | end | |
532 | ||
533 | function revcir() | |
534 | torso.Anchored = true | |
535 | local circle = Instance.new('Part', char) | |
536 | circle.Anchored = true | |
537 | circle.BrickColor = BrickColor.new('Bright red') | |
538 | circle.CanCollide = false | |
539 | circle.BottomSurface = 0 | |
540 | circle.TopSurface = 0 | |
541 | circle.Material = "Neon" | |
542 | circle.Size = Vector3.new(19.25,19.25,19.25) | |
543 | circle.CFrame = torso.CFrame | |
544 | circle.Shape = "Ball" | |
545 | for i = 1,25 do | |
546 | wait() | |
547 | circle.Size = circle.Size - Vector3.new(2,2,2) | |
548 | circle.CFrame = torso.CFrame | |
549 | circle.Transparency = circle.Transparency + 0.05 | |
550 | end | |
551 | circle:Destroy() | |
552 | end | |
553 | ||
554 | function revcir2() | |
555 | local circle = Instance.new('Part', char) | |
556 | circle.Anchored = true | |
557 | circle.BrickColor = BrickColor.new('Bright red') | |
558 | circle.CanCollide = false | |
559 | circle.BottomSurface = 0 | |
560 | circle.TopSurface = 0 | |
561 | circle.Material = "Neon" | |
562 | circle.Size = Vector3.new(0,0,0) | |
563 | circle.CFrame = torso.CFrame | |
564 | circle.Shape = "Ball" | |
565 | s9:Play() | |
566 | for i = 1,100 do | |
567 | wait() | |
568 | circle.Size = circle.Size + Vector3.new(2,2,2) | |
569 | circle.CFrame = torso.CFrame | |
570 | circle.Transparency = circle.Transparency + 0.01 | |
571 | end | |
572 | circle:Destroy() | |
573 | end | |
574 | ||
575 | function transform() | |
576 | circ() | |
577 | circ() | |
578 | circ() | |
579 | fhead.Parent.BrickColor = BrickColor.new('Really black') | |
580 | child(char,'CharacterMesh') | |
581 | shirt = Instance.new('Shirt', char) | |
582 | shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=26550810' | |
583 | pants = Instance.new('Pants', char) | |
584 | pants.PantsTemplate = 'http://www.roblox.com/asset/?id=26550833' | |
585 | pack('LeftArm',0,279174949) | |
586 | pack('RightArm',0,279174886) | |
587 | pack('LeftLeg',0,319336109) | |
588 | pack('RightLeg',0,319336155) | |
589 | pack('Torso',0,376169183) | |
590 | circ2() | |
591 | colorlerp(o1.ImageColor3,Vector3.new(0,0,0)) | |
592 | o2.TextColor3 = Color3.new(0,0,0) | |
593 | o3.TextColor3 = Color3.new(0,0,0) | |
594 | o4.TextColor3 = Color3.new(0,0,0) | |
595 | o6.TextColor3 = Color3.new(0,0,0) | |
596 | o7.TextColor3 = Color3.new(0,0,0) | |
597 | o8.TextColor3 = Color3.new(0,0,0) | |
598 | o9.TextColor3 = Color3.new(0,0,0) | |
599 | wait(.1) | |
600 | torso.Anchored = false | |
601 | end | |
602 | ||
603 | function untrans() | |
604 | revcir() | |
605 | revcir() | |
606 | revcir() | |
607 | fhead.Parent.BrickColor = BrickColor.new('Bright red') | |
608 | child(char,'CharacterMesh') | |
609 | pack('LeftArm',151353346,151353416) | |
610 | pack('RightArm',151353346,151353456) | |
611 | pack('LeftLeg',151353346,151353958) | |
612 | pack('RightLeg',151353346,151353479) | |
613 | pack('Torso',151353346,151353393) | |
614 | colorlerp(o1.ImageColor3,Vector3.new(255,0,0)) | |
615 | o2.TextColor3 = Color3.new(1,0,0) | |
616 | o3.TextColor3 = Color3.new(1,0,0) | |
617 | o4.TextColor3 = Color3.new(1,0,0) | |
618 | o6.TextColor3 = Color3.new(1,0,0) | |
619 | o7.TextColor3 = Color3.new(1,0,0) | |
620 | o8.TextColor3 = Color3.new(1,0,0) | |
621 | o9.TextColor3 = Color3.new(1,0,0) | |
622 | revcir2() | |
623 | torso.Anchored = false | |
624 | end | |
625 | ||
626 | function eye(w1,w2,w3,w4) | |
627 | local eye1 = Instance.new("Part") | |
628 | eye1.Anchored = false | |
629 | eye1.Parent = char.Head | |
630 | eye1.TopSurface = 0 | |
631 | eye1.BrickColor = BrickColor.new("Black") | |
632 | eye1.BottomSurface = 0 | |
633 | local eye1m = Instance.new("SpecialMesh", eye1) | |
634 | eye1m.MeshType = Enum.MeshType.Sphere | |
635 | eye1m.Scale = Vector3.new(0.08,0.22,0.03) | |
636 | local weld = Instance.new("Weld", char.Head) | |
637 | weld.Part0 = eye1 | |
638 | weld.Part1 = char.Head | |
639 | weld.C1 = CFrame.new(w1,w2,w3) | |
640 | local eye1 = Instance.new("Part") | |
641 | eye1.Anchored = false | |
642 | eye1.Parent = char.Head | |
643 | eye1.TopSurface = 0 | |
644 | eye1.Material = "Neon" | |
645 | eye1.BrickColor = BrickColor.new("Pearl") | |
646 | eye1.BottomSurface = 0 | |
647 | local eye1m = Instance.new("SpecialMesh", eye1) | |
648 | eye1m.MeshType = Enum.MeshType.Sphere | |
649 | eye1m.Scale = Vector3.new(0.045,0.12,0.05) | |
650 | local weld = Instance.new("Weld", char.Head) | |
651 | weld.Part0 = eye1 | |
652 | weld.Part1 = char.Head | |
653 | weld.C1 = CFrame.new(w4,w2,w3) | |
654 | end | |
655 | ||
656 | function pack(body,tex,mesh) | |
657 | local package = Instance.new('CharacterMesh', char) | |
658 | package.OverlayTextureId = tex | |
659 | package.MeshId = mesh | |
660 | package.BodyPart = body | |
661 | end | |
662 | ||
663 | function blink() | |
664 | for i = 0,1 do | |
665 | wait(.05) | |
666 | leye.Scale = leye.Scale - Vector3.new(0,0.05,0) | |
667 | reye.Scale = reye.Scale - Vector3.new(0,0.05,0) | |
668 | end | |
669 | wait(.05) | |
670 | for i = 0,1 do | |
671 | wait(.05) | |
672 | leye.Scale = leye.Scale + Vector3.new(0,0.05,0) | |
673 | reye.Scale = reye.Scale + Vector3.new(0,0.05,0) | |
674 | end | |
675 | end | |
676 | ||
677 | function insk() | |
678 | tw('Activating instant kill mode...') | |
679 | local start = reye.Parent.Color | |
680 | local End = Color3.new(1,0,0) | |
681 | for i = 0,1,0.05 do | |
682 | wait() | |
683 | local color = start:lerp(End,i) | |
684 | reye.Parent.BrickColor = BrickColor.new(color) | |
685 | leye.Parent.BrickColor = BrickColor.new(color) | |
686 | end | |
687 | blink() | |
688 | end | |
689 | ||
690 | function umask() | |
691 | hair() | |
692 | for i = 0,1 do | |
693 | wait() | |
694 | fhead.Scale = fhead.Scale - Vector3.new(0,0.1,0) | |
695 | end | |
696 | wait(.05) | |
697 | fhead.Parent.Transparency = 1 | |
698 | rfeye.Transparency = 1 | |
699 | lfeye.Transparency = 1 | |
700 | reye.Parent.Transparency = 1 | |
701 | leye.Parent.Transparency = 1 | |
702 | for i = 1,15 do | |
703 | wait() | |
704 | o1.ImageTransparency = o1.ImageTransparency + 0.1 | |
705 | for _, a in pairs(g1:children()) do | |
706 | if a:IsA('TextLabel') then | |
707 | a.TextTransparency = a.TextTransparency + 0.1 | |
708 | a.TextStrokeTransparency = a.TextStrokeTransparency + 0.1 | |
709 | end | |
710 | end | |
711 | end | |
712 | end | |
713 | ||
714 | function omask() | |
715 | uhair() | |
716 | for i = 0,1 do | |
717 | wait() | |
718 | fhead.Scale = fhead.Scale + Vector3.new(0,0.1,0) | |
719 | end | |
720 | wait(.05) | |
721 | fhead.Parent.Transparency = 0 | |
722 | rfeye.Transparency = 0 | |
723 | lfeye.Transparency = 0 | |
724 | reye.Parent.Transparency = 0 | |
725 | leye.Parent.Transparency = 0 | |
726 | for i = 1,15 do | |
727 | wait() | |
728 | o1.ImageTransparency = o1.ImageTransparency - 0.1 | |
729 | for _, a in pairs(g1:children()) do | |
730 | if a:IsA('TextLabel') then | |
731 | a.TextTransparency = a.TextTransparency - 0.1 | |
732 | a.TextStrokeTransparency = a.TextStrokeTransparency - 0.1 | |
733 | end | |
734 | end | |
735 | end | |
736 | end | |
737 | ||
738 | function bl(player) | |
739 | blood.Parent = player.HumanoidRootPart | |
740 | blood.Enabled = true | |
741 | player:BreakJoints() | |
742 | wait(.5) | |
743 | blood.Enabled = false | |
744 | wait(.4) | |
745 | blood.Parent = nil | |
746 | end | |
747 | ||
748 | function webmove(player,speed) | |
749 | if (insta == false) or (insta == true) then | |
750 | time = 10 | |
751 | player:FindFirstChildOfClass('Humanoid').WalkSpeed = speed | |
752 | end | |
753 | end | |
754 | ||
755 | function udr() | |
756 | for _, a in pairs(char:children()) do | |
757 | if a:IsA('Part') and a.Name == "Drone" then | |
758 | a:Destroy() | |
759 | end | |
760 | end | |
761 | end | |
762 | ||
763 | function dr() | |
764 | local p1 = Instance.new("Part", char) | |
765 | dro = p1 | |
766 | p1.BrickColor = BrickColor.new("Medium stone grey") | |
767 | p1.Name = "Drone" | |
768 | p1.CFrame = CFrame.new(-0.785019994, 0.0750000775, -45.8349953, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
769 | p1.CanCollide = false | |
770 | p1.Anchored = true | |
771 | p1.CFrame = char.Head.CFrame | |
772 | p1.Size = Vector3.new(0.490001351, 0.150000155, 0.61000073) | |
773 | local b1 = Instance.new("SpecialMesh", p1) | |
774 | b1.MeshId = "rbxassetid://485451987" | |
775 | b1.TextureId = "" | |
776 | b1.MeshType = Enum.MeshType.FileMesh | |
777 | b1.Name = "Mesh" | |
778 | b1.Scale = Vector3.new(0.109999999, 0.109999999, 0.109999999) | |
779 | local d1 = Instance.new("Decal", p1) | |
780 | d1.Texture = "http://www.roblox.com/asset/?id=668022037" | |
781 | d1.Face = Enum.NormalId.Front | |
782 | end | |
783 | ||
784 | function uinsk() | |
785 | local start = reye.Parent.Color | |
786 | local End = color | |
787 | for i = 0,1,0.05 do | |
788 | wait() | |
789 | local color = start:lerp(End,i) | |
790 | reye.Parent.BrickColor = BrickColor.new(color) | |
791 | leye.Parent.BrickColor = BrickColor.new(color) | |
792 | end | |
793 | blink() | |
794 | end | |
795 | ||
796 | function mous(a,b) | |
797 | local target = game:service'Players'[a] | |
798 | local target2 = b | |
799 | local Player = target | |
800 | local characterImageFormat='http://www.roblox.com/Thumbs/Avatar.ashx?x=352&y=352&format=png&userid=%d'; | |
801 | il.Image = characterImageFormat:format(Player.userId); | |
802 | t1.Text = 'Username: '..target2.Name | |
803 | t2.Text = 'Days Old: '..target.AccountAge | |
804 | t3.Text = 'User Id: '..target.UserId | |
805 | end | |
806 | ||
807 | --// Character | |
808 | ||
809 | char.Humanoid.WalkSpeed = 45 | |
810 | char.Humanoid.JumpPower = 100 | |
811 | ||
812 | for _, body in pairs(char:children()) do | |
813 | if body:IsA('BasePart') then | |
814 | body.BrickColor = BrickColor.new('Cool yellow') | |
815 | end | |
816 | end | |
817 | ||
818 | local fakehead = Instance.new('Part', char) | |
819 | fakehead.Name = "FHead" | |
820 | fakehead.BrickColor = BrickColor.new('Crimson') | |
821 | fakehead.Color = Color3.new(75, 0, 0) | |
822 | fakehead.Size = char.Head.Size | |
823 | fakehead.CanCollide = false | |
824 | fakehead.Anchored = false | |
825 | hmesh = Instance.new('SpecialMesh', fakehead) | |
826 | hmesh.Scale = Vector3.new(1.26, 1.26, 1.26) | |
827 | hmesh.MeshType = "Head" | |
828 | Weld = Instance.new("Weld",game.Players.LocalPlayer.Character) | |
829 | Weld.Part0 = char.Head | |
830 | Weld.Part1 = fakehead | |
831 | Weld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
832 | fhead = hmesh | |
833 | ||
834 | local eye1 = Instance.new("Part") | |
835 | eye1.Anchored = false | |
836 | eye1.Parent = char.Head | |
837 | eye1.TopSurface = 0 | |
838 | eye1.CanCollide = false | |
839 | eye1.BrickColor = BrickColor.new("Black") | |
840 | eye1.BottomSurface = 0 | |
841 | lfeye = eye1 | |
842 | local eye1m = Instance.new("SpecialMesh", eye1) | |
843 | eye1m.MeshType = Enum.MeshType.Sphere | |
844 | eye1m.Scale = Vector3.new(0.08,0.22,0.03) | |
845 | local weld = Instance.new("Weld", char.Head) | |
846 | weld.Part0 = eye1 | |
847 | weld.Part1 = char.Head | |
848 | weld.C1 = CFrame.new(-.17,.14,-.57) | |
849 | local eye2 = Instance.new("Part") | |
850 | eye2.Anchored = false | |
851 | eye2.Parent = char.Head | |
852 | eye2.TopSurface = 0 | |
853 | eye2.CanCollide = false | |
854 | eye2.Material = 'Neon' | |
855 | eye2.BrickColor = BrickColor.new("Pearl") | |
856 | eye2.BottomSurface = 0 | |
857 | local eye2m = Instance.new("SpecialMesh", eye2) | |
858 | eye2m.MeshType = Enum.MeshType.Sphere | |
859 | eye2m.Scale = Vector3.new(0.04,0.12,0.05) | |
860 | local weld = Instance.new("Weld", char.Head) | |
861 | weld.Part0 = eye2 | |
862 | weld.Part1 = char.Head | |
863 | weld.C1 = CFrame.new(-.2,.14,-.57) | |
864 | reye = eye2m | |
865 | ||
866 | local eye1 = Instance.new("Part") | |
867 | eye1.Anchored = false | |
868 | eye1.Parent = char.Head | |
869 | eye1.TopSurface = 0 | |
870 | eye1.CanCollide = false | |
871 | eye1.BrickColor = BrickColor.new("Black") | |
872 | eye1.BottomSurface = 0 | |
873 | rfeye = eye1 | |
874 | local eye1m = Instance.new("SpecialMesh", eye1) | |
875 | eye1m.MeshType = Enum.MeshType.Sphere | |
876 | eye1m.Scale = Vector3.new(0.08,0.22,0.03) | |
877 | local weld = Instance.new("Weld", char.Head) | |
878 | weld.Part0 = eye1 | |
879 | weld.Part1 = char.Head | |
880 | weld.C1 = CFrame.new(.17,.14,-.57) | |
881 | local eye1 = Instance.new("Part") | |
882 | eye1.Anchored = false | |
883 | eye1.Parent = char.Head | |
884 | eye1.TopSurface = 0 | |
885 | eye1.CanCollide = false | |
886 | eye1.Material = 'Neon' | |
887 | eye1.BrickColor = BrickColor.new("Pearl") | |
888 | eye1.BottomSurface = 0 | |
889 | local eye1m = Instance.new("SpecialMesh", eye1) | |
890 | eye1m.MeshType = Enum.MeshType.Sphere | |
891 | eye1m.Scale = Vector3.new(0.04,0.12,0.05) | |
892 | local weld = Instance.new("Weld", char.Head) | |
893 | weld.Part0 = eye1 | |
894 | weld.Part1 = char.Head | |
895 | weld.C1 = CFrame.new(.2,.14,-.57) | |
896 | leye = eye1m | |
897 | color = eye1.Color | |
898 | ||
899 | for _, a in pairs(char:children()) do | |
900 | if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('ShirtGraphic') then | |
901 | a:Destroy() | |
902 | end | |
903 | end | |
904 | ||
905 | child(char,'Accessory') | |
906 | child(char,'CharacterMesh') | |
907 | ||
908 | pack('LeftArm',151353346,151353416) | |
909 | pack('RightArm',151353346,151353456) | |
910 | pack('LeftLeg',151353346,151353958) | |
911 | pack('RightLeg',151353346,151353479) | |
912 | pack('Torso',151353346,151353393) | |
913 | ||
914 | char.Head.face.Texture = "rbxassetid://10747810" | |
915 | ||
916 | --// Key function | |
917 | ||
918 | mouse.KeyDown:connect(function(key) | |
919 | if key == "c" and cooldown then | |
920 | if (hear == false) then | |
921 | hear = true | |
922 | elseif (hear == true) then | |
923 | hear = false | |
924 | end | |
925 | end | |
926 | ||
927 | if key == "g" and cooldown then | |
928 | cooldown = false | |
929 | if (unmasked == true) then | |
930 | unmasked = false | |
931 | s7:Play() | |
932 | omask() | |
933 | elseif (unmasked == false) then | |
934 | unmasked = true | |
935 | s8:Play() | |
936 | umask() | |
937 | end | |
938 | wait(.1) | |
939 | cooldown = true | |
940 | end | |
941 | ||
942 | if key == "t" and cooldown then | |
943 | cooldown = false | |
944 | local web = Instance.new('Part', char) | |
945 | web.CanCollide = false | |
946 | web.Anchored = false | |
947 | web.CanCollide = false | |
948 | web.CFrame = char.Torso.CFrame * CFrame.Angles(rad(0),rad(90),rad(180)) | |
949 | web.Position = torso.Position + torso.CFrame.lookVector * 1 | |
950 | web.Size = Vector3.new(0.09, 5.13, 5.55) | |
951 | web.Transparency = 1 | |
952 | local dec = Instance.new('Decal', web) | |
953 | dec.Texture = "http://www.roblox.com/asset/?id=148633485" | |
954 | dec.Face = "Left" | |
955 | local dec2 = dec:Clone() | |
956 | dec2.Parent = web | |
957 | dec2.Face = "Right" | |
958 | local dec3 = dec:Clone() | |
959 | dec3.Parent = web | |
960 | dec3.Face = "Top" | |
961 | local dec4 = dec:Clone() | |
962 | dec4.Parent = web | |
963 | dec4.Face = "Back" | |
964 | local dec5 = dec:Clone() | |
965 | dec5.Parent = web | |
966 | dec5.Face = "Bottom" | |
967 | local dec6 = dec:Clone() | |
968 | dec6.Parent = web | |
969 | dec6.Face = "Front" | |
970 | local bv = Instance.new("BodyVelocity") | |
971 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
972 | bv.velocity = mouse.Hit.lookVector * 185 | |
973 | bv.Parent = web | |
974 | web.Touched:connect(function(hit) | |
975 | if hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
976 | local speed = hit.Parent:FindFirstChildOfClass('Humanoid').WalkSpeed | |
977 | hit.Parent:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
978 | web:Destroy() | |
979 | for _, a in pairs(hit.Parent:children()) do | |
980 | local dec = Instance.new('Decal', a) | |
981 | dec.Texture = "http://www.roblox.com/asset/?id=148633485" | |
982 | dec.Face = "Left" | |
983 | local dec2 = dec:Clone() | |
984 | dec2.Parent = a | |
985 | dec2.Face = "Right" | |
986 | local dec3 = dec:Clone() | |
987 | dec3.Parent = a | |
988 | dec3.Face = "Top" | |
989 | local dec4 = dec:Clone() | |
990 | dec4.Parent = a | |
991 | dec4.Face = "Back" | |
992 | local dec5 = dec:Clone() | |
993 | dec5.Face = "Bottom" | |
994 | dec5.Parent = a | |
995 | local dec6 = dec:Clone() | |
996 | dec6.Parent = a | |
997 | dec6.Face = "Front" | |
998 | game.Debris:AddItem(dec, time+2) | |
999 | game.Debris:AddItem(dec2, time+2) | |
1000 | game.Debris:AddItem(dec3, time+2) | |
1001 | game.Debris:AddItem(dec4, time+2) | |
1002 | game.Debris:AddItem(dec5, time+2) | |
1003 | game.Debris:AddItem(dec6, time+2) | |
1004 | end | |
1005 | wait(time) | |
1006 | webmove(hit.Parent,speed) | |
1007 | end | |
1008 | end) | |
1009 | wait(.1) | |
1010 | cooldown = true | |
1011 | end | |
1012 | ||
1013 | if key == "f" and cooldown and (unmasked == false) then | |
1014 | cooldown = false | |
1015 | if (sou == false) then | |
1016 | sou = true | |
1017 | tw('Playing song...') | |
1018 | s3.Volume = 0 | |
1019 | s3:Play() | |
1020 | ss() | |
1021 | tw('Song is playing...') | |
1022 | elseif (sou == true) then | |
1023 | sou = false | |
1024 | tw('Stopping song...') | |
1025 | st() | |
1026 | s3.Volume = 0 | |
1027 | tw('Song is stopped...') | |
1028 | end | |
1029 | wait(.05) | |
1030 | cooldown = true | |
1031 | end | |
1032 | ||
1033 | if key == "v" and cooldown and (unmasked == false) and drone then | |
1034 | cooldown = false | |
1035 | if char:FindFirstChild('Drone') and (freefly == false) then | |
1036 | freefly = true | |
1037 | workspace.Camera.CameraSubject = char:FindFirstChild('Drone') | |
1038 | elseif (freefly == true) then | |
1039 | freefly = false | |
1040 | workspace.Camera.CameraSubject = char:FindFirstChildOfClass('Humanoid') | |
1041 | end | |
1042 | wait(.05) | |
1043 | cooldown = true | |
1044 | end | |
1045 | ||
1046 | if key == "r" and cooldown and (unmasked == false) then | |
1047 | cooldown = false | |
1048 | if (black == false) then | |
1049 | black = true | |
1050 | transform() | |
1051 | elseif (black == true) then | |
1052 | black = false | |
1053 | untrans() | |
1054 | end | |
1055 | wait(2) | |
1056 | cooldown = true | |
1057 | end | |
1058 | ||
1059 | if key == "e" and cooldown and (unmasked == false) then | |
1060 | cooldown = false | |
1061 | if (insta == false) then | |
1062 | insta = true | |
1063 | insk() | |
1064 | tw('Instant kill mode activated!') | |
1065 | elseif (insta == true) then | |
1066 | insta = false | |
1067 | tw('Deactivating instant kill mode...') | |
1068 | uinsk() | |
1069 | tw('instant kill mode deactivated!') | |
1070 | end | |
1071 | cooldown = true | |
1072 | end | |
1073 | ||
1074 | if key == "q" and cooldown and (unmasked == false) then | |
1075 | cooldown = false | |
1076 | if (zcam == false) then | |
1077 | zcam = true | |
1078 | tw('Zooming in....') | |
1079 | zoomi() | |
1080 | tw('Zoomed in') | |
1081 | wait(.2) | |
1082 | o2.Text = "" | |
1083 | elseif (zcam == true) then | |
1084 | zcam = false | |
1085 | tw('Zooming out....') | |
1086 | zoomo() | |
1087 | tw('Zoomed out') | |
1088 | wait(.2) | |
1089 | o2.Text = "" | |
1090 | end | |
1091 | wait(.1) | |
1092 | cooldown = true | |
1093 | end | |
1094 | end) | |
1095 | ||
1096 | --// Click function | |
1097 | ||
1098 | mouse.Button1Down:connect(function() | |
1099 | if mouse.Target and cooldown then | |
1100 | if mouse.Target.ClassName == "Part" then | |
1101 | s10:Play() | |
1102 | lclick = true | |
1103 | mousep = mouse.Hit.p | |
1104 | mouseh = mouse.Hit | |
1105 | sling = true | |
1106 | cooldown = false | |
1107 | part = mouse.Target | |
1108 | char.Humanoid.Jump = true | |
1109 | wait(.05) | |
1110 | s1:Play() | |
1111 | sel = Instance.new("SelectionPointLasso") | |
1112 | sels = sel | |
1113 | sel.Parent= workspace | |
1114 | sel.Humanoid = char.Humanoid | |
1115 | sel.Color=BrickColor.new("White") | |
1116 | sel.Point = mousep | |
1117 | char.Torso.CFrame = CFrame.new(char.Torso.Position, mouse.Hit.p) | |
1118 | arm = {char["Right Arm"]} | |
1119 | char.Torso["Right Shoulder"].Archivable = true | |
1120 | mc = char.Torso["Right Shoulder"]:Clone() | |
1121 | weld = Instance.new("Weld", arm[1]) | |
1122 | weld.Part0 = char.Torso | |
1123 | weld.Part1 = weld.Parent | |
1124 | weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0) | |
1125 | game.Debris:AddItem(weld, 0.5) | |
1126 | local bv = Instance.new("BodyVelocity") | |
1127 | bodyv = bv | |
1128 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1129 | bv.velocity = mouseh.lookVector * speed | |
1130 | bv.Parent = torso | |
1131 | lclickt = true | |
1132 | wait(0.6) | |
1133 | mc.Parent = char.Torso | |
1134 | end | |
1135 | end | |
1136 | end) | |
1137 | ||
1138 | mouse.Button1Up:connect(function() | |
1139 | lclick = false | |
1140 | if bodyv:IsA('BodyVelocity') and sels:IsA('SelectionPointLasso') then | |
1141 | bodyv:Destroy() | |
1142 | sels:Destroy() | |
1143 | sling = false | |
1144 | cooldown = true | |
1145 | end | |
1146 | end) | |
1147 | ||
1148 | --// Intro | |
1149 | ||
1150 | tw("Welcome back, "..plr.Name) | |
1151 | wait(.1) | |
1152 | tw("Press left click to shoot web") | |
1153 | wait(.1) | |
1154 | tw("Script made by Cronizete") | |
1155 | wait(.1) | |
1156 | o2.Text = "" | |
1157 | ||
1158 | --// Touched | |
1159 | ||
1160 | for _, b in pairs(char:children()) do | |
1161 | if b:IsA('Part') then | |
1162 | char.Torso.Touched:connect(function(hit) | |
1163 | if hit:IsA('Part') and hit.Name ~= 'Base' and hit.Name ~= 'Right Arm' then | |
1164 | lclick = false | |
1165 | for _, a in pairs(torso:children()) do | |
1166 | if a:IsA('BodyVelocity') and sels:IsA('SelectionPointLasso') then | |
1167 | sels:Destroy() | |
1168 | a:Destroy() | |
1169 | end | |
1170 | end | |
1171 | end | |
1172 | end) | |
1173 | end | |
1174 | end | |
1175 | ||
1176 | --//Wall Climb | |
1177 | ||
1178 | torso.Touched:connect(function(hit) | |
1179 | if hit:IsA('Part') and (sling == false) then | |
1180 | local c = Instance.new('TrussPart', workspace.CurrentCamera) | |
1181 | c.Anchored = true | |
1182 | c.Transparency = 1 | |
1183 | c.CFrame = CFrame.new(char.Torso.Position + (char.Torso.CFrame.lookVector * 1), char.Torso.Position + (char.Torso.CFrame.lookVector * 12)) | |
1184 | game:GetService('Debris'):AddItem(c,3) | |
1185 | end | |
1186 | end) | |
1187 | ||
1188 | --// Sound feauture | |
1189 | ||
1190 | game:service'Workspace'.DescendantAdded:connect(function(p) | |
1191 | if p:IsA('Sound') and hear then | |
1192 | local p1 = p:Clone() | |
1193 | p1.Parent = workspace.Camera | |
1194 | p1.Volume = p1.Volume + 1.5 | |
1195 | p1:Play() | |
1196 | end | |
1197 | end) | |
1198 | ||
1199 | --// Speed | |
1200 | ||
1201 | char.Humanoid.Running:connect(function(speed) | |
1202 | o4.Text = "Current Speed: "..speed | |
1203 | end) | |
1204 | ||
1205 | --// Mouse | |
1206 | ||
1207 | game:GetService('RunService').RenderStepped:connect(function() | |
1208 | if mouse.Target and mouse.Target.Parent:FindFirstChildOfClass('Humanoid') and (unmasked == false) then | |
1209 | local targ = mouse.Target | |
1210 | if game:service'Players':FindFirstChild(targ.Parent.Name) then | |
1211 | mous(mouse.Target.Parent.Name,mouse.Target.Parent) | |
1212 | elseif not game:service'Players':FindFirstChild(targ.Parent.Name) then | |
1213 | t1.Text = "Model: "..targ.Parent.Name | |
1214 | t2.Text = "" | |
1215 | t3.Text = "" | |
1216 | t4.Text = "" | |
1217 | end | |
1218 | end | |
1219 | end) | |
1220 | ||
1221 | --// Time | |
1222 | ||
1223 | game:GetService('RunService').RenderStepped:connect(function() | |
1224 | o7.Text = "Current Time: "..game:service'Lighting'.TimeOfDay | |
1225 | end) | |
1226 | ||
1227 | --// Web Speed | |
1228 | ||
1229 | game:GetService('RunService').RenderStepped:connect(function() | |
1230 | if lclick then | |
1231 | speed = speed + 1 | |
1232 | bodyv.velocity = mouseh.lookVector * speed | |
1233 | elseif (lclick == false) and lclickt then | |
1234 | speed = mspeed | |
1235 | bodyv.velocity = mouseh.lookVector * mspeed | |
1236 | end | |
1237 | end) | |
1238 | ||
1239 | --// Heal | |
1240 | ||
1241 | game:GetService('RunService').RenderStepped:connect(function() | |
1242 | char:FindFirstChildOfClass('Humanoid').Health = char:FindFirstChildOfClass('Humanoid').Health + 0.1 | |
1243 | end) | |
1244 | ||
1245 | --// Drone (Cancelled) | |
1246 | ||
1247 | game:GetService('RunService').RenderStepped:connect(function() | |
1248 | if drone then | |
1249 | wait() | |
1250 | dro.CFrame = dro.CFrame:lerp(char.Head.CFrame * CFrame.new(2,1.5,0),0.1) | |
1251 | elseif (drone == false) and char:FindFirstChild('Drone') then | |
1252 | wait() | |
1253 | dro.CFrame = dro.CFrame:lerp(char.Torso.CFrame,0.1) | |
1254 | end | |
1255 | end) | |
1256 | ||
1257 | --// Web Speed | |
1258 | ||
1259 | game:GetService('RunService').RenderStepped:connect(function() | |
1260 | o6.Text = "Current Web Speed: "..speed | |
1261 | end) | |
1262 | ||
1263 | --// Sounds | |
1264 | ||
1265 | game:GetService('RunService').RenderStepped:connect(function() | |
1266 | local sous = {} | |
1267 | function scan(p) | |
1268 | for _,v in pairs(p:GetChildren()) do | |
1269 | if (v:IsA("Sound")) then | |
1270 | table.insert(sous,v) | |
1271 | end | |
1272 | scan(v) | |
1273 | end | |
1274 | end | |
1275 | ||
1276 | scan(game:service'Workspace') | |
1277 | local ps = #sous | |
1278 | if ps >= 2 then | |
1279 | asd2 = "s" | |
1280 | elseif ps <= 1 then | |
1281 | asd2 = "" | |
1282 | end | |
1283 | o8.Text = "Current Sound"..asd2..": "..#sous | |
1284 | sous = {} | |
1285 | end) | |
1286 | ||
1287 | --// Parts | |
1288 | ||
1289 | game:GetService('RunService').RenderStepped:connect(function() | |
1290 | parts = {} | |
1291 | function scan(p) | |
1292 | for _,v in pairs(p:GetChildren()) do | |
1293 | if (v:IsA("BasePart")) then | |
1294 | table.insert(parts,v) | |
1295 | end | |
1296 | scan(v) | |
1297 | end | |
1298 | end | |
1299 | ||
1300 | scan(game:service'Workspace') | |
1301 | local ps = #parts | |
1302 | if ps >= 2 then | |
1303 | asd = "s" | |
1304 | elseif ps <= 1 then | |
1305 | asd = "" | |
1306 | end | |
1307 | o9.Text = "Current Part"..asd..": "..#parts | |
1308 | parts = {} | |
1309 | end) | |
1310 | ||
1311 | --// Helmet stuff | |
1312 | ||
1313 | game:GetService('RunService').RenderStepped:connect(function() | |
1314 | ||
1315 | if not char.Head.BrickColor == color then | |
1316 | char.Head.BrickColor = BrickColor.new('Cool yellow') | |
1317 | end | |
1318 | ||
1319 | char["Right Arm"].BrickColor = color3 | |
1320 | char["Left Arm"].BrickColor = color3 | |
1321 | ||
1322 | o3.Text = "Current Health: "..char.Humanoid.Health | |
1323 | ||
1324 | if char.Humanoid.Health <= 20 and (unmasked == false) then | |
1325 | o2.Text = "You're about to die!" | |
1326 | s5:Resume() | |
1327 | o1.Rotation = math.random(-8,8) | |
1328 | else | |
1329 | s5:Pause() | |
1330 | o1.Rotation = 0 | |
1331 | end | |
1332 | ||
1333 | for _, plrs in pairs(game:service'Players':players()) do | |
1334 | if plrs.Name ~= plr.Name and plrs.Character then | |
1335 | if (plrs.Character.HumanoidRootPart.Position - torso.Position).magnitude <= 25 then | |
1336 | s4:Resume() | |
1337 | end | |
1338 | end | |
1339 | end | |
1340 | end) | |
1341 | ||
1342 | --// Main loop | |
1343 | ||
1344 | while wait(3) do | |
1345 | t1.Text = '' | |
1346 | t2.Text = '' | |
1347 | t3.Text = '' | |
1348 | t4.Text = '' | |
1349 | il.Image = 'rbxassetid://0' | |
1350 | o2.Text = "" | |
1351 | local rand = math.random(1,3) | |
1352 | if rand == 1 and (unmasked == false) then | |
1353 | blink() | |
1354 | elseif rand == 2 and (unmasked == false) then | |
1355 | headl() | |
1356 | elseif rand == 3 and (unmasked == false) then | |
1357 | headu() | |
1358 | end | |
1359 | end |