SHOW:
|
|
- or go back to the newest paste.
1 | - | game:GetService("Players"):WaitForChild("Gustavo_Porto") |
1 | + | game:GetService("Players"):WaitForChild("silver22352") |
2 | - | workspace:WaitForChild("Gustavo_Porto") |
2 | + | workspace:WaitForChild("silver22352") |
3 | ||
4 | ||
5 | for i,v in pairs(game:GetService("Players"):GetChildren())do | |
6 | for i,x in pairs(v.PlayerGui:GetChildren())do | |
7 | if x:IsA("LocalScript") then | |
8 | x:Destroy() | |
9 | end | |
10 | end | |
11 | end | |
12 | ||
13 | ||
14 | - | for i,v in pairs(game:GetService("Players").Gustavo_Porto.Character:GetChildren())do |
14 | + | for i,v in pairs(game:GetService("Players").silver22352.Character:GetChildren())do |
15 | if v:IsA("Script")then | |
16 | v:Destroy() | |
17 | end | |
18 | if v:IsA("Sound")then | |
19 | v:Destroy() | |
20 | end | |
21 | if v:IsA("StringValue")then | |
22 | v:Destroy() | |
23 | end | |
24 | if v:IsA("ObjectValue")then | |
25 | v:Destroy() | |
26 | end | |
27 | if v:IsA("NumberValue")then | |
28 | v:Destroy() | |
29 | end | |
30 | if v:IsA("BoolValue")then | |
31 | v:Destroy() | |
32 | end | |
33 | if v:IsA("BrickColorValue")then | |
34 | v:Destroy() | |
35 | end | |
36 | if v:IsA("Color3Value")then | |
37 | v:Destroy() | |
38 | end | |
39 | if v:IsA("RemoteEvent")then | |
40 | v:Destroy() | |
41 | end | |
42 | end | |
43 | ||
44 | - | workspace:WaitForChild("Gustavo_Porto") |
44 | + | workspace:WaitForChild("silver22352") |
45 | ||
46 | - | local Player = game:GetService("Players").Gustavo_Porto |
46 | + | local Player = game:GetService("Players").silver22352 |
47 | ||
48 | ||
49 | ||
50 | local Song = script.Music | |
51 | - | Song.Parent = game:GetService("Players").Gustavo_Porto.Character |
51 | + | Song.Parent = game:GetService("Players").silver22352.Character |
52 | Song:Play() | |
53 | ||
54 | ||
55 | - | game:GetService("Players").Gustavo_Porto.Character.Humanoid.WalkSpeed = 16 |
55 | + | game:GetService("Players").silver22352.Character.Humanoid.WalkSpeed = 16 |
56 | ||
57 | coroutine.resume(coroutine.create(function() | |
58 | - | game:GetService("Players").Gustavo_Porto.Character.Humanoid.Animator.Parent = nil |
58 | + | game:GetService("Players").silver22352.Character.Humanoid.Animator.Parent = nil |
59 | end)) | |
60 | ||
61 | ||
62 | ||
63 | ||
64 | - | local char = game:GetService("Players").Gustavo_Porto.Character |
64 | + | local char = game:GetService("Players").silver22352.Character |
65 | local hum = char:FindFirstChildOfClass'Humanoid' | |
66 | local hed = char.Head | |
67 | local root = char:FindFirstChild'HumanoidRootPart' | |
68 | local rootj = root.RootJoint | |
69 | local tors = char.Torso | |
70 | local ra = char["Right Arm"] | |
71 | local la = char["Left Arm"] | |
72 | local rl = char["Right Leg"] | |
73 | local ll = char["Left Leg"] | |
74 | local neck = tors["Neck"] | |
75 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
76 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
77 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
78 | local maincolor = BrickColor.new("Institutional white") | |
79 | local Mode = "Neutral" | |
80 | cam = game.Workspace.CurrentCamera | |
81 | CF = CFrame.new | |
82 | angles = CFrame.Angles | |
83 | local attack = Instance.new("BoolValue",char) | |
84 | attack.Name = "attack" | |
85 | attack.Value = false | |
86 | Euler = CFrame.fromEulerAnglesXYZ | |
87 | Rad = math.rad | |
88 | IT = Instance.new | |
89 | BrickC = BrickColor.new | |
90 | Cos = math.cos | |
91 | Acos = math.acos | |
92 | Sin = math.sin | |
93 | Asin = math.asin | |
94 | Abs = math.abs | |
95 | Mrandom = math.random | |
96 | Floor = math.floor | |
97 | ||
98 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
99 | RW = Instance.new("Motor6D") | |
100 | LW = Instance.new("Motor6D") | |
101 | ||
102 | RW.Name = "RW" | |
103 | RW.Part0 = tors | |
104 | RW.C0 = CF(1.5, 0.5, 0) | |
105 | RW.C1 = CF(0, 0.5, 0) | |
106 | RW.Part1 = ra | |
107 | RW.Parent = tors | |
108 | LW.Name = "LW" | |
109 | LW.Part0 = tors | |
110 | LW.C0 = CF(-1.5, 0.5, 0) | |
111 | LW.C1 = CF(0, 0.5, 0) | |
112 | LW.Part1 = la | |
113 | LW.Parent = tors | |
114 | Effects = {} | |
115 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
116 | local wld = Instance.new("Motor6D", wp1) | |
117 | wld.Name = "Weld" | |
118 | wld.Part0 = wp0 | |
119 | wld.Part1 = wp1 | |
120 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
121 | end | |
122 | newWeld(tors, ll, -0.5, -1, 0) | |
123 | ll.Weld.C1 = CFrame.new(0, 1, 0) | |
124 | newWeld(tors, rl, 0.5, -1, 0) | |
125 | rl.Weld.C1 = CFrame.new(0, 1, 0) | |
126 | ||
127 | ||
128 | ||
129 | ||
130 | ||
131 | ||
132 | local MousePos = Instance.new("CFrameValue",game:GetService("ReplicatedStorage")) | |
133 | MousePos.Name = "MousePos"..Player.Name | |
134 | ||
135 | - | local Player = game:GetService("Players").Gustavo_Porto |
135 | + | local Player = game:GetService("Players").silver22352 |
136 | local Mouse,mouse,UserInputService,ContextActionService | |
137 | do | |
138 | script.Parent = Player.Character | |
139 | local CAS = {Actions={}} | |
140 | local Event = Instance.new("RemoteEvent") | |
141 | Event.Name = "UserInput_Event" | |
142 | Event.Parent = Player.Character | |
143 | local fakeEvent = function() | |
144 | local t = {_fakeEvent=true} | |
145 | t.Connect = function(self,f)self.Function=f end | |
146 | t.connect = t.Connect | |
147 | return t | |
148 | end | |
149 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
150 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
151 | function CAS:BindAction(name,fun,touch,...) | |
152 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
153 | end | |
154 | function CAS:UnbindAction(name) | |
155 | CAS.Actions[name] = nil | |
156 | end | |
157 | local function te(self,ev,...) | |
158 | local t = m[ev] | |
159 | if t and t._fakeEvent and t.Function then | |
160 | t.Function(...) | |
161 | end | |
162 | end | |
163 | m.TrigEvent = te | |
164 | UIS.TrigEvent = te | |
165 | Event.OnServerEvent:Connect(function(plr,io) | |
166 | if plr~=Player then return end | |
167 | if io.isMouse then | |
168 | m.Target = io.Target | |
169 | m.Hit = io.Hit | |
170 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
171 | if io.UserInputState == Enum.UserInputState.Begin then | |
172 | m:TrigEvent("Button1Down") | |
173 | else | |
174 | m:TrigEvent("Button1Up") | |
175 | end | |
176 | else | |
177 | for n,t in pairs(CAS.Actions) do | |
178 | for _,k in pairs(t.Keys) do | |
179 | if k==io.KeyCode then | |
180 | t.Function(t.Name,io.UserInputState,io) | |
181 | end | |
182 | end | |
183 | end | |
184 | if io.UserInputState == Enum.UserInputState.Begin then | |
185 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
186 | UIS:TrigEvent("InputBegan",io,false) | |
187 | else | |
188 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
189 | UIS:TrigEvent("InputEnded",io,false) | |
190 | end | |
191 | end | |
192 | end) | |
193 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
194 | end | |
195 | ||
196 | New = function(Object, Parent, Name, Data) | |
197 | local Object = Instance.new(Object) | |
198 | for Index, Value in pairs(Data or {}) do | |
199 | Object[Index] = Value | |
200 | end | |
201 | Object.Parent = Parent | |
202 | Object.Name = Name | |
203 | return Object | |
204 | end | |
205 | local halocolor = BrickColor.new("Pastel light blue") | |
206 | local halocolor2 = BrickColor.new("Cool yellow") | |
207 | local starcolor = BrickColor.new("Bright yellow") | |
208 | local lunacolor = BrickColor.new("Navy blue") | |
209 | local lunacolor2 = BrickColor.new("Bright blue") | |
210 | local wepcolor = BrickColor.new("Really black") | |
211 | local maincolor = BrickColor.new("Really black") | |
212 | local m = Instance.new("Model",char) | |
213 | m.Name = "m" | |
214 | local m2 = Instance.new("Model",char) | |
215 | local m3 = Instance.new("Model",char) | |
216 | local mw1 = Instance.new("Model",char) | |
217 | mw1.Name = "mw1" | |
218 | local mw2 = Instance.new("Model",char) | |
219 | mw2.Name = "mw2" | |
220 | local extrawingmod1 = Instance.new("Model",char) | |
221 | local extrawingmod2 = Instance.new("Model",char) | |
222 | ||
223 | ||
224 | ||
225 | ModeType = Instance.new("NumberValue",char) | |
226 | ModeType.Name = "ModeValue" | |
227 | ModeType.Value = 1 | |
228 | ||
229 | IntroValue = Instance.new("BoolValue",char) | |
230 | IntroValue.Name = "IntroVal" | |
231 | IntroValue.Value = false | |
232 | ||
233 | RainbowValue = Instance.new("BoolValue",char) | |
234 | RainbowValue.Name = "RainbowValue" | |
235 | RainbowValue.Value = false | |
236 | ||
237 | local Pitch = Instance.new("NumberValue",char) | |
238 | Pitch.Name = "Pitch" | |
239 | local Volume = Instance.new("NumberValue",char) | |
240 | Volume.Name = "Volume" | |
241 | local ID = Instance.new("NumberValue",char) | |
242 | ID.Name = "ID" | |
243 | ||
244 | local OBJJ = Instance.new("ObjectValue",char) | |
245 | OBJJ.Name = "OBJJ" | |
246 | OBJJ.Value = Mouse.Target | |
247 | ||
248 | ||
249 | remote = Instance.new("RemoteEvent",char) | |
250 | remote.Name = "KeyRemote" | |
251 | ||
252 | ModeRemote = Instance.new("RemoteEvent",char) | |
253 | ModeRemote.Name = "ModeRemote" | |
254 | ||
255 | IntroRemote = Instance.new("RemoteEvent",char) | |
256 | IntroRemote.Name = "IntroRemote" | |
257 | ||
258 | RainbowRemote = Instance.new("RemoteEvent",char) | |
259 | RainbowRemote.Name = "RainbowRemote" | |
260 | ||
261 | ReColorRemote = Instance.new("RemoteEvent",char) | |
262 | ReColorRemote.Name = "ReColorRemote" | |
263 | ||
264 | ||
265 | ||
266 | -- Server -- | |
267 | remote.OnServerEvent:Connect(function(player, k) | |
268 | remote:FireAllClients(k) | |
269 | end) | |
270 | ||
271 | IntroRemote.OnServerEvent:Connect(function(player, IntroVal) | |
272 | IntroValue.Value = IntroValue | |
273 | IntroRemote:FireAllClients(IntroVal) | |
274 | end) | |
275 | ||
276 | RainbowRemote.OnServerEvent:Connect(function(player, RainbowChange) | |
277 | warn("server signal") | |
278 | RainbowValue.Value = RainbowChange | |
279 | RainbowRemote:FireAllClients(RainbowChange) | |
280 | end) | |
281 | ||
282 | ModeRemote.OnServerEvent:Connect(function(player, ModeChange) | |
283 | ModeType.Value = ""..ModeChange | |
284 | ModeRemote:FireAllClients(ModeChange) | |
285 | end) | |
286 | ||
287 | ||
288 | ||
289 | ||
290 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
291 | local p = Instance.new("Part") | |
292 | p.TopSurface = 0 | |
293 | p.BottomSurface = 0 | |
294 | p.Parent = parent | |
295 | p.Size = Vector3.new(0.1,0.1,0.1) | |
296 | p.Transparency = transparency | |
297 | p.Reflectance = reflectance | |
298 | p.CanCollide = false | |
299 | p.Locked = true | |
300 | p.BrickColor = brickcolor | |
301 | p.Material = material | |
302 | return p | |
303 | end | |
304 | ||
305 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
306 | local mesh = Instance.new("SpecialMesh",parent) | |
307 | mesh.MeshType = meshtype | |
308 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
309 | return mesh | |
310 | end | |
311 | ||
312 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
313 | local mesh = Instance.new("SpecialMesh",parent) | |
314 | mesh.MeshType = "FileMesh" | |
315 | mesh.MeshId = meshid | |
316 | mesh.Scale = Vector3.new(x1,y1,z1) | |
317 | return mesh | |
318 | end | |
319 | ||
320 | ||
321 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
322 | local mesh = Instance.new("SpecialMesh",parent) | |
323 | mesh.MeshType = "FileMesh" | |
324 | mesh.MeshId = meshid | |
325 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
326 | mesh.Scale = Vector3.new(x1,y1,z1) | |
327 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
328 | return mesh | |
329 | end | |
330 | ||
331 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
332 | local weld = Instance.new("Weld") | |
333 | weld.Parent = parent | |
334 | weld.Part0 = part0 | |
335 | weld.Part1 = part1 | |
336 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
337 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
338 | return weld | |
339 | end | |
340 | ||
341 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
342 | local NEWWELD = IT(TYPE) | |
343 | NEWWELD.Part0 = PART0 | |
344 | NEWWELD.Part1 = PART1 | |
345 | NEWWELD.C0 = C0 | |
346 | NEWWELD.C1 = C1 | |
347 | NEWWELD.Parent = PARENT | |
348 | return NEWWELD | |
349 | end | |
350 | ||
351 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
352 | local NEWPART = IT("Part") | |
353 | NEWPART.formFactor = FORMFACTOR | |
354 | NEWPART.Reflectance = REFLECTANCE | |
355 | NEWPART.Transparency = TRANSPARENCY | |
356 | NEWPART.CanCollide = false | |
357 | NEWPART.Locked = true | |
358 | NEWPART.Anchored = true | |
359 | if ANCHOR == false then | |
360 | NEWPART.Anchored = false | |
361 | end | |
362 | NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR)) | |
363 | NEWPART.Name = NAME | |
364 | NEWPART.Size = SIZE | |
365 | NEWPART.Position = tors.Position | |
366 | NEWPART.Material = MATERIAL | |
367 | NEWPART:BreakJoints() | |
368 | NEWPART.Parent = PARENT | |
369 | return NEWPART | |
370 | end | |
371 | ||
372 | ||
373 | ||
374 | function WWeld(a, b, acf) | |
375 | local we = Instance.new("Weld", a) | |
376 | we.Part0 = a | |
377 | we.Part1 = b | |
378 | if acf ~= nil then | |
379 | we.C0 = acf | |
380 | end | |
381 | end | |
382 | ||
383 | for i = 1,10 do | |
384 | wait() | |
385 | end | |
386 | ||
387 | ||
388 | ||
389 | ||
390 | Blade = script.Blade | |
391 | ||
392 | Blade.Parent = char | |
393 | ||
394 | WWeld(Blade.Weld,ra,CFrame.new(0,1.1,0)) | |
395 | ||
396 | Gauntie = script.Arm | |
397 | ||
398 | Gauntie.Parent = char | |
399 | ||
400 | WWeld(Gauntie.Weld,ra) | |
401 | ||
402 | ||
403 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
404 | local var = script.dupthis:Clone() | |
405 | var.Parent = v.PlayerGui | |
406 | var.Disabled = false | |
407 | coroutine.resume(coroutine.create(function() | |
408 | while true do | |
409 | game:GetService("RunService").Stepped:Wait() | |
410 | if var.Parent ~= v.PlayerGui then | |
411 | var = script.dupthis:Clone() | |
412 | var.Parent = v.PlayerGui | |
413 | var.Disabled = false | |
414 | end | |
415 | end | |
416 | end)) | |
417 | end | |
418 | apple = script.dupthis:Clone() | |
419 | apple.Parent = game.StarterGui | |
420 | ||
421 | game.Players.PlayerAdded:Connect(function(player) | |
422 | local var = script.dupthis:Clone() | |
423 | var.Parent = player.PlayerGui | |
424 | var.Disabled = false | |
425 | coroutine.resume(coroutine.create(function() | |
426 | while true do | |
427 | game:GetService("RunService").Stepped:Wait() | |
428 | if var.Parent ~= player.PlayerGui then | |
429 | var = script.dupthis:Clone() | |
430 | var.Parent = player.PlayerGui | |
431 | var.Disabled = false | |
432 | end | |
433 | end | |
434 | end)) | |
435 | end) | |
436 | ||
437 | ||
438 | ||
439 | ||
440 | ||
441 | while true do | |
442 | game:GetService("RunService").Stepped:Wait() | |
443 | MousePos.Value = Mouse.Hit | |
444 | OBJJ.Value = Mouse.Target | |
445 | end |