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 | - | player = game.Players.Dark_Eccentric |
3 | + | local Player,game,owner = owner,game |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | ||
153 | ||
154 | ||
155 | wait(1.5) | |
156 | ||
157 | player = game.Players.samuelrichter66 | |
158 | chara = player.Character | |
159 | debby = game.Debris | |
160 | local Mouse = player:GetMouse() | |
161 | ||
162 | --Outfit and Weapons-- | |
163 | New = function(Object, Parent, Name, Data) | |
164 | local Object = Instance.new(Object) | |
165 | for Index, Value in pairs(Data or {}) do | |
166 | Object[Index] = Value | |
167 | end | |
168 | Object.Parent = Parent | |
169 | Object.Name = Name | |
170 | return Object | |
171 | end | |
172 | Me = game.Players.LocalPlayer | |
173 | player = Me | |
174 | char = Me.Character | |
175 | chara = char | |
176 | larm = char["Left Arm"] | |
177 | rarm = char["Right Arm"] | |
178 | lleg = char["Left Leg"] | |
179 | rleg = char["Right Leg"] | |
180 | torso = char.Torso | |
181 | hed = char.Head | |
182 | mouse = player:GetMouse() | |
183 | lght = game.Lighting | |
184 | lichtact = false | |
185 | moosicact = false | |
186 | gotsagofest = true | |
187 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
188 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
189 | ||
190 | ||
191 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
192 | if v.ClassName == "Accessory" then | |
193 | v:Destroy() | |
194 | end | |
195 | end | |
196 | ||
197 | ||
198 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
199 | if v.ClassName == "Accessory" then | |
200 | v:Destroy() | |
201 | end | |
202 | end | |
203 | ||
204 | ||
205 | if game.Players.LocalPlayer.Character["Shirt"] then | |
206 | game.Players.LocalPlayer.Character["Shirt"].ShirtTemplate = "rbxassetid://543885922" | |
207 | end | |
208 | ||
209 | ||
210 | if game.Players.LocalPlayer.Character["Pants"] then | |
211 | game.Players.LocalPlayer.Character["Pants"].PantsTemplate = "rbxassetid://530945466" | |
212 | end | |
213 | ||
214 | ||
215 | if not game.Players.LocalPlayer.Character["Shirt"] then | |
216 | local shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) | |
217 | shirt.Name = "Shirt" | |
218 | shirt.ShirtTemplate = "rbxassetid://543885922" | |
219 | end | |
220 | ||
221 | ||
222 | if not game.Players.LocalPlayer.Character["Pants"] then | |
223 | local pants = Instance.new("Pants",game.Players.LocalPlayer.Character) | |
224 | pants.Name = "Pants" | |
225 | pants.PantsTemplate = "rbxassetid://530945466" | |
226 | end | |
227 | ||
228 | ||
229 | ||
230 | ||
231 | local p = game.Players.LocalPlayer | |
232 | local char = p.Character | |
233 | local hed = char.Head | |
234 | local arm1 = char["Right Arm"] | |
235 | local arm2 = char["Left Arm"] | |
236 | local leg1 = char["Right Leg"] | |
237 | local leg2 = char["Left Leg"] | |
238 | local tor = char.Torso | |
239 | local hrp = char.HumanoidRootPart | |
240 | ||
241 | local cooldown = false | |
242 | local attacking1 = false | |
243 | local attacking2 = false | |
244 | local emoed = false | |
245 | local transformed = false | |
246 | local dehuman = false | |
247 | local antihuman = false | |
248 | local being = false | |
249 | ||
250 | arm1.BrickColor = BrickColor.new("Light orange") | |
251 | arm2.BrickColor = BrickColor.new("Light orange") | |
252 | leg1.BrickColor = BrickColor.new("Light orange") | |
253 | leg2.BrickColor = BrickColor.new("Light orange") | |
254 | tor.BrickColor = BrickColor.new("Light orange") | |
255 | hed.BrickColor = BrickColor.new("Light orange") | |
256 | ||
257 | hed.face.Texture = "rbxassetid://1093202441" | |
258 | ||
259 | local hair1 = Instance.new("Part",char) | |
260 | hair1.Name = "Hair1" | |
261 | hair1.Size = Vector3.new(1,1,1) | |
262 | hair1.CanCollide = false | |
263 | hair1.BrickColor = BrickColor.new("Really black") | |
264 | ||
265 | local msh = Instance.new("SpecialMesh",hair1) | |
266 | msh.MeshId = "http://www.roblox.com/asset/?id=502933908" | |
267 | msh.MeshType = "FileMesh" | |
268 | msh.Scale = Vector3.new(0.011, 0.011, 0.011) | |
269 | ||
270 | local weld = Instance.new("Weld",hair1) | |
271 | weld.Part0 = hed | |
272 | weld.Part1 = hair1 | |
273 | weld.C0 = CFrame.Angles(.2,3.2,0) | |
274 | weld.C1 = CFrame.new(0,0,.2) | |
275 | ||
276 | local mouse = p:GetMouse() | |
277 | position1 = arm1.CFrame:toWorldSpace(CFrame.new(0,1,0)).p | |
278 | position2 = mouse.Hit.p | |
279 | ||
280 | local rock = false | |
281 | local rock3 = false | |
282 | local rock2 = false | |
283 | local rock4 = false | |
284 | local GroundShake = false | |
285 | local GroundShake2 = false | |
286 | ||
287 | local rad = math.rad | |
288 | ||
289 | function RenderStepped() | |
290 | ||
291 | if rock == true then | |
292 | wait(math.random(0.1,0.5)) | |
293 | local ay = Instance.new("Part",char) | |
294 | ay.Name = "NewPart2" | |
295 | ay.Size = Vector3.new(0.3,0.3,0.3) | |
296 | ay.CanCollide = false | |
297 | for i,v in pairs(workspace:GetChildren()) do | |
298 | if v:IsA("Part") then | |
299 | if v.Size.x > 150 then | |
300 | ||
301 | ||
302 | ay.BrickColor = v.BrickColor | |
303 | ay.Material = v.Material | |
304 | ay.Transparency = v.Transparency | |
305 | end | |
306 | end | |
307 | end | |
308 | ay.Position = Vector3.new(999,999,999) | |
309 | ay.CFrame = CFrame.new(hrp.Position.x+math.random(-15,15),hrp.Position.y-2,hrp.Position.z+math.random(-15,15)) | |
310 | local ys = Instance.new("BodyVelocity",ay) | |
311 | ys.Name = "GO" | |
312 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
313 | ||
314 | ys.Velocity = Vector3.new(0,6,0) | |
315 | game.Debris:AddItem(ay,math.random(3,4)) | |
316 | end | |
317 | ||
318 | if GroundShake == true then | |
319 | for i,v in pairs(workspace:GetChildren()) do | |
320 | if v:IsA("Part") then | |
321 | if v.Size.x > 150 then | |
322 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
323 | end | |
324 | end | |
325 | ||
326 | end | |
327 | ||
328 | end | |
329 | ||
330 | if GroundShake2 == true then | |
331 | ||
332 | for i,v in pairs(workspace:GetChildren()) do | |
333 | if v:IsA("Part") then | |
334 | if v.Size.x > 150 then | |
335 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
336 | end | |
337 | end | |
338 | end | |
339 | end | |
340 | ||
341 | end | |
342 | ||
343 | function RenderStepped2() | |
344 | ||
345 | if rock2 == true then | |
346 | wait(0.1) | |
347 | ||
348 | for i,v in pairs(char:GetChildren()) do | |
349 | if v:IsA("Part") then | |
350 | if v.Name == "NewPart2" then | |
351 | v.GO.Velocity = Vector3.new(0,-5,0) | |
352 | end | |
353 | end | |
354 | ||
355 | end | |
356 | rock2 = false | |
357 | end | |
358 | if rock3 == true then | |
359 | wait(0.1) | |
360 | for i,v in pairs(char:GetChildren()) do | |
361 | if v:IsA("Part") then | |
362 | if v.Name == "NewPart2" then | |
363 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
364 | end | |
365 | end | |
366 | end | |
367 | rock3 = false | |
368 | end | |
369 | ||
370 | if rock4 == true then | |
371 | wait(0.1) | |
372 | for i,v in pairs(char:GetChildren()) do | |
373 | if v:IsA("Part") then | |
374 | if v.Name == "NewPart2" then | |
375 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
376 | end | |
377 | end | |
378 | end | |
379 | end | |
380 | ||
381 | end | |
382 | ||
383 | game:GetService("RunService").RenderStepped:connect(RenderStepped) | |
384 | game:GetService("RunService").RenderStepped:connect(RenderStepped2) | |
385 | ||
386 | function cero() | |
387 | ||
388 | local part = Instance.new("Part",char) | |
389 | part.BrickColor = BrickColor.new("Medium blue") | |
390 | part.Material = Enum.Material.Metal | |
391 | part.Size = Vector3.new(2.5,2.5,2.5) | |
392 | part.CFrame = CFrame.new((position1+position2)/2,position1) | |
393 | part.Anchored = true | |
394 | part.CanCollide = false | |
395 | part.Shape = Enum.PartType.Ball | |
396 | ||
397 | local part2 = Instance.new("Part",char) | |
398 | part2.BrickColor = BrickColor.new("Medium blue") | |
399 | part2.Material = Enum.Material.Metal | |
400 | part2.Size = Vector3.new(5,5,(position1-position2).magnitude ) | |
401 | part2.CFrame = CFrame.new((position1+position2)/2,position1) | |
402 | part2.Anchored = true | |
403 | part2.CanCollide = false | |
404 | local mesh2 = Instance.new("SpecialMesh",part) | |
405 | mesh2.MeshType = Enum.MeshType.Sphere | |
406 | ||
407 | end | |
408 | ||
409 | function emo() | |
410 | ||
411 | char.Humanoid.WalkSpeed = 0 | |
412 | char.Humanoid.JumpPower = 0 | |
413 | ||
414 | if emoed == false then | |
415 | if being == false then | |
416 | emoed = true | |
417 | being = true | |
418 | end | |
419 | end | |
420 | ||
421 | local Mus1 = Instance.new("Sound",char) | |
422 | Mus1.Name = "audio" | |
423 | Mus1.SoundId = "rbxassetid://301184111" | |
424 | Mus1.Pitch = 0.7 | |
425 | Mus1.Volume = 1 | |
426 | Mus1.Looped = false | |
427 | Mus1:Play() | |
428 | ||
429 | local Mus = Instance.new("Sound",char) | |
430 | Mus.Name = "music" | |
431 | Mus.SoundId = "http://www.roblox.com/asset/?id=257295907" | |
432 | Mus.Pitch = 1 | |
433 | Mus.Volume = 1 | |
434 | Mus.Looped = true | |
435 | Mus:Play() | |
436 | ||
437 | local part = Instance.new("Part",char) | |
438 | part.Transparency = 0 | |
439 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
440 | local pw = Instance.new("Weld",part) | |
441 | pw.Part0 = tor | |
442 | pw.Part1 = part | |
443 | pw.C1 = CFrame.new(0,2.3,0) | |
444 | ||
445 | local fla = Instance.new("ParticleEmitter",part) | |
446 | fla.Name = "Flame" | |
447 | fla.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(255,255,255)) | |
448 | fla.Texture = "rbxassetid://364561471" | |
449 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
450 | fla.LightEmission = 0 | |
451 | fla.Rate = 2000 | |
452 | fla.Lifetime = NumberRange.new(2.5) | |
453 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
454 | fla.Speed = NumberRange.new(25) | |
455 | fla.SpreadAngle = Vector2.new(60,60) | |
456 | ||
457 | local fla2 = Instance.new("ParticleEmitter",part) | |
458 | fla2.Name = "Flame" | |
459 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(0,225,250)) | |
460 | fla2.Texture = "rbxassetid://364561471" | |
461 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
462 | fla2.LightEmission = 0 | |
463 | fla2.Rate = 500 | |
464 | fla2.Lifetime = NumberRange.new(2.5) | |
465 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
466 | fla2.Speed = NumberRange.new(25) | |
467 | fla2.SpreadAngle = Vector2.new(65,65) | |
468 | ||
469 | wait(4) | |
470 | fla.Rate = 0 | |
471 | fla2.Rate = 0 | |
472 | ||
473 | char.Shirt.ShirtTemplate = "rbxassetid://261998786" | |
474 | char.Pants.PantsTemplate = "rbxassetid://446143522" | |
475 | ||
476 | local lhair = Instance.new("Part",char) | |
477 | lhair.Name = "LongHair" | |
478 | lhair.Size = Vector3.new(1,1,1) | |
479 | lhair.BrickColor = BrickColor.new("Really black") | |
480 | ||
481 | local mesh = Instance.new("SpecialMesh",lhair) | |
482 | mesh.MeshId = "rbxassetid://813723553" | |
483 | mesh.Scale = Vector3.new(0.07, 0.1, 0.08) | |
484 | ||
485 | local weld = Instance.new("Weld",lhair) | |
486 | weld.Part0 = hed | |
487 | weld.part1 = lhair | |
488 | weld.C0 = CFrame.Angles(0.3,0,0) | |
489 | weld.C1 = CFrame.new(0,2.5,-2) | |
490 | ||
491 | hed.face.Texture = "rbxassetid://1093210577" | |
492 | ||
493 | wait() | |
494 | ||
495 | local g = Instance.new("ParticleEmitter",tor) | |
496 | g.Name = "Glow" | |
497 | g.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
498 | g.Texture = "rbxassetid://75202463" | |
499 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
500 | g.LightEmission = 1 | |
501 | g.Rate = 1 | |
502 | g.Lifetime = NumberRange.new(4) | |
503 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
504 | g.Speed = NumberRange.new(0.20) | |
505 | g.Rotation = NumberRange.new(-100,100) | |
506 | g.ZOffset = 2 | |
507 | ||
508 | ||
509 | local pe = Instance.new("ParticleEmitter",tor) | |
510 | pe.Name = "Sparks" | |
511 | pe.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
512 | pe.Texture = "rbxassetid://364561471" | |
513 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
514 | pe.LightEmission = 0 | |
515 | pe.Rate = 10 | |
516 | pe.Lifetime = NumberRange.new(5,10) | |
517 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
518 | pe.Speed = NumberRange.new(1) | |
519 | pe.Rotation = NumberRange.new(-100,100) | |
520 | ||
521 | ------------------------------------------Arms | |
522 | local g1 = Instance.new("ParticleEmitter",arm2) | |
523 | g1.Name = "Glow" | |
524 | g1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
525 | g1.Texture = "rbxassetid://75202463" | |
526 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
527 | g1.LightEmission = 1 | |
528 | g1.Rate = 1 | |
529 | g1.Lifetime = NumberRange.new(4) | |
530 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
531 | g1.Speed = NumberRange.new(0.05) | |
532 | g1.Rotation = NumberRange.new(-100,100) | |
533 | g1.ZOffset = 2 | |
534 | ||
535 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
536 | pe1.Name = "Sparks" | |
537 | pe1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
538 | pe1.Texture = "rbxassetid://364561471" | |
539 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
540 | pe1.LightEmission = 0 | |
541 | pe1.Rate = 10 | |
542 | pe1.Lifetime = NumberRange.new(5,10) | |
543 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
544 | pe1.Speed = NumberRange.new(1) | |
545 | pe1.Rotation = NumberRange.new(-100,100) | |
546 | ||
547 | --------------------------------------------- | |
548 | local g2 = Instance.new("ParticleEmitter",arm1) | |
549 | g2.Name = "Glow" | |
550 | g2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
551 | g2.Texture = "rbxassetid://75202463" | |
552 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
553 | g2.LightEmission = 1 | |
554 | g2.Rate = 1 | |
555 | g2.Lifetime = NumberRange.new(4) | |
556 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
557 | g2.Speed = NumberRange.new(0.05) | |
558 | g2.Rotation = NumberRange.new(-100,100) | |
559 | g2.ZOffset = 2 | |
560 | ||
561 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
562 | pe2.Name = "Sparks" | |
563 | pe2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
564 | pe2.Texture = "rbxassetid://364561471" | |
565 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
566 | pe2.LightEmission = 0 | |
567 | pe2.Rate = 10 | |
568 | pe2.Lifetime = NumberRange.new(5,10) | |
569 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
570 | pe2.Speed = NumberRange.new(1) | |
571 | pe2.Rotation = NumberRange.new(-100,100) | |
572 | ||
573 | -------------------------------------------Legs | |
574 | local g3 = Instance.new("ParticleEmitter",leg2) | |
575 | g3.Name = "Glow" | |
576 | g3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
577 | g3.Texture = "rbxassetid://75202463" | |
578 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
579 | g3.LightEmission = 1 | |
580 | g3.Rate = 1 | |
581 | g3.Lifetime = NumberRange.new(4) | |
582 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
583 | g3.Speed = NumberRange.new(0.05) | |
584 | g3.Rotation = NumberRange.new(-100,100) | |
585 | g3.ZOffset = 2 | |
586 | ||
587 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
588 | pe3.Name = "Sparks" | |
589 | pe3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
590 | pe3.Texture = "rbxassetid://364561471" | |
591 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
592 | pe3.LightEmission = 0 | |
593 | pe3.Rate = 10 | |
594 | pe3.Lifetime = NumberRange.new(5,10) | |
595 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
596 | pe3.Speed = NumberRange.new(1) | |
597 | pe3.Rotation = NumberRange.new(-100,100) | |
598 | ------------------------------------------- | |
599 | local g4 = Instance.new("ParticleEmitter",leg1) | |
600 | g4.Name = "Glow" | |
601 | g4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
602 | g4.Texture = "rbxassetid://75202463" | |
603 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
604 | g4.LightEmission = 1 | |
605 | g4.Rate = 1 | |
606 | g4.Lifetime = NumberRange.new(4) | |
607 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
608 | g4.Speed = NumberRange.new(0.05) | |
609 | g4.Rotation = NumberRange.new(-100,100) | |
610 | g4.ZOffset = 2 | |
611 | ||
612 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
613 | pe4.Name = "Sparks" | |
614 | pe4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
615 | pe4.Texture = "rbxassetid://364561471" | |
616 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
617 | pe4.LightEmission = 0 | |
618 | pe4.Rate = 10 | |
619 | pe4.Lifetime = NumberRange.new(5,10) | |
620 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
621 | pe4.Speed = NumberRange.new(1) | |
622 | pe4.Rotation = NumberRange.new(-100,100) | |
623 | ||
624 | char.Humanoid.WalkSpeed = 55 | |
625 | char.Humanoid.JumpPower = 75 | |
626 | ||
627 | char.audio:Stop() | |
628 | char.audio:Remove() | |
629 | ||
630 | being = false | |
631 | ||
632 | end | |
633 | ||
634 | function transform() | |
635 | IdleA = New("Animation",tool,"Idle",{AnimationId = "http://www.roblox.com/Asset?ID=94108418",}) | |
636 | IdleAnim = chara.Humanoid:LoadAnimation(IdleA) | |
637 | IdleAnim:Play() | |
638 | player = game:GetService("Players").LocalPlayer | |
639 | chara = player.Character | |
640 | chara.Humanoid.MaxHealth = 100000 | |
641 | chara.Humanoid.Health = 100000 | |
642 | debby = game.Debris | |
643 | ||
644 | --Sword Building-- | |
645 | New = function(Object, Parent, Name, Data) | |
646 | local Object = Instance.new(Object) | |
647 | for Index, Value in pairs(Data or {}) do | |
648 | Object[Index] = Value | |
649 | end | |
650 | Object.Parent = Parent | |
651 | Object.Name = Name | |
652 | return Object | |
653 | end | |
654 | rock = true | |
655 | ||
656 | char.Humanoid.WalkSpeed = 0 | |
657 | char.Humanoid.JumpPower = 0 | |
658 | ||
659 | if emoed == true then | |
660 | if being == false then | |
661 | if transformed == false then | |
662 | being = true | |
663 | transformed = true | |
664 | end | |
665 | end | |
666 | end | |
667 | ||
668 | rock3 = true | |
669 | ||
670 | arm1.Glow:Remove() | |
671 | arm1.Sparks:Remove() | |
672 | arm2.Glow:Remove() | |
673 | arm2.Sparks:Remove() | |
674 | leg1.Glow:Remove() | |
675 | leg1.Sparks:Remove() | |
676 | leg2.Glow:Remove() | |
677 | leg2.Sparks:Remove() | |
678 | tor.Glow:Remove() | |
679 | tor.Sparks:Remove() | |
680 | ||
681 | char.music:Stop() | |
682 | char.music:Remove() | |
683 | ||
684 | local Mus1 = Instance.new("Sound",char) | |
685 | Mus1.Name = "audio" | |
686 | Mus1.SoundId = "rbxassetid://301184111" | |
687 | Mus1.Pitch = 0.7 | |
688 | Mus1.Volume = 1 | |
689 | Mus1.Looped = false | |
690 | Mus1:Play() | |
691 | ||
692 | local Mus2 = Instance.new("Sound",char) | |
693 | Mus2.Name = "audio2" | |
694 | Mus2.SoundId = "rbxassetid://144947983" | |
695 | Mus2.Pitch = 1 | |
696 | Mus2.Volume = 1 | |
697 | Mus2.Looped = true | |
698 | Mus2:Play() | |
699 | ||
700 | local Mus = Instance.new("Sound",char) | |
701 | Mus.Name = "music" | |
702 | Mus.SoundId = "http://www.roblox.com/asset/?id=149312046" | |
703 | Mus.Pitch = 1 | |
704 | Mus.Volume = 2.5 | |
705 | Mus.Looped = true | |
706 | Mus:Play() | |
707 | ||
708 | local part = Instance.new("Part",char) | |
709 | part.Transparency = 0 | |
710 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
711 | local pw = Instance.new("Weld",part) | |
712 | pw.Part0 = tor | |
713 | pw.Part1 = part | |
714 | pw.C1 = CFrame.new(0,2.3,0) | |
715 | ||
716 | local fla = Instance.new("ParticleEmitter",part) | |
717 | fla.Name = "Flame" | |
718 | fla.Color = ColorSequence.new(Color3.new(25,0,0),Color3.new(255,255,255)) | |
719 | fla.Texture = "rbxassetid://364561471" | |
720 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
721 | fla.LightEmission = 0 | |
722 | fla.Rate = 2000 | |
723 | fla.Lifetime = NumberRange.new(2.5) | |
724 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
725 | fla.Speed = NumberRange.new(25) | |
726 | fla.SpreadAngle = Vector2.new(60,60) | |
727 | ||
728 | local fla2 = Instance.new("ParticleEmitter",part) | |
729 | fla2.Name = "Flame" | |
730 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(25,0,0)) | |
731 | fla2.Texture = "rbxassetid://364561471" | |
732 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
733 | fla2.LightEmission = 0 | |
734 | fla2.Rate = 500 | |
735 | fla2.Lifetime = NumberRange.new(2.5) | |
736 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
737 | fla2.Speed = NumberRange.new(25) | |
738 | fla2.SpreadAngle = Vector2.new(65,65) | |
739 | ||
740 | wait(5.25) | |
741 | rock3 = true | |
742 | rock = false | |
743 | fla.Rate = 0 | |
744 | fla2.Rate = 0 | |
745 | ||
746 | char.Shirt.ShirtTemplate = "rbxassetid://787561907" | |
747 | char.Pants.PantsTemplate = "rbxassetid://261998839" | |
748 | ||
749 | char.LongHair.BrickColor = BrickColor.new("Black") | |
750 | char.Hair1.BrickColor = BrickColor.new("Black") | |
751 | ||
752 | hed.face.Texture = "rbxassetid://1090074847" | |
753 | ||
754 | wait() | |
755 | ||
756 | for i,v in pairs(char:GetChildren()) do | |
757 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
758 | v.BrickColor = BrickColor.new("White") | |
759 | end | |
760 | ||
761 | end | |
762 | ||
763 | local g = Instance.new("ParticleEmitter",tor) | |
764 | g.Name = "Glow" | |
765 | g.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
766 | g.Texture = "rbxassetid://75202463" | |
767 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
768 | g.LightEmission = 1 | |
769 | g.Rate = 1 | |
770 | g.Lifetime = NumberRange.new(4) | |
771 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
772 | g.Speed = NumberRange.new(0.20) | |
773 | g.Rotation = NumberRange.new(-100,100) | |
774 | g.ZOffset = 2 | |
775 | ||
776 | ||
777 | local pe = Instance.new("ParticleEmitter",tor) | |
778 | pe.Name = "Sparks" | |
779 | pe.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
780 | pe.Texture = "rbxassetid://364561471" | |
781 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
782 | pe.LightEmission = 0 | |
783 | pe.Rate = 10 | |
784 | pe.Lifetime = NumberRange.new(5,10) | |
785 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
786 | pe.Speed = NumberRange.new(1) | |
787 | pe.Rotation = NumberRange.new(-100,100) | |
788 | ||
789 | ------------------------------------------Arms | |
790 | local g1 = Instance.new("ParticleEmitter",arm2) | |
791 | g1.Name = "Glow" | |
792 | g1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
793 | g1.Texture = "rbxassetid://75202463" | |
794 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
795 | g1.LightEmission = 1 | |
796 | g1.Rate = 1 | |
797 | g1.Lifetime = NumberRange.new(4) | |
798 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
799 | g1.Speed = NumberRange.new(0.05) | |
800 | g1.Rotation = NumberRange.new(-100,100) | |
801 | g1.ZOffset = 2 | |
802 | ||
803 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
804 | pe1.Name = "Sparks" | |
805 | pe1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
806 | pe1.Texture = "rbxassetid://364561471" | |
807 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
808 | pe1.LightEmission = 0 | |
809 | pe1.Rate = 10 | |
810 | pe1.Lifetime = NumberRange.new(5,10) | |
811 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
812 | pe1.Speed = NumberRange.new(1) | |
813 | pe1.Rotation = NumberRange.new(-100,100) | |
814 | ||
815 | --------------------------------------------- | |
816 | local g2 = Instance.new("ParticleEmitter",arm1) | |
817 | g2.Name = "Glow" | |
818 | g2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
819 | g2.Texture = "rbxassetid://75202463" | |
820 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
821 | g2.LightEmission = 1 | |
822 | g2.Rate = 1 | |
823 | g2.Lifetime = NumberRange.new(4) | |
824 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
825 | g2.Speed = NumberRange.new(0.05) | |
826 | g2.Rotation = NumberRange.new(-100,100) | |
827 | g2.ZOffset = 2 | |
828 | ||
829 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
830 | pe2.Name = "Sparks" | |
831 | pe2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
832 | pe2.Texture = "rbxassetid://364561471" | |
833 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
834 | pe2.LightEmission = 0 | |
835 | pe2.Rate = 10 | |
836 | pe2.Lifetime = NumberRange.new(5,10) | |
837 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
838 | pe2.Speed = NumberRange.new(1) | |
839 | pe2.Rotation = NumberRange.new(-100,100) | |
840 | ||
841 | -------------------------------------------Legs | |
842 | local g3 = Instance.new("ParticleEmitter",leg2) | |
843 | g3.Name = "Glow" | |
844 | g3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
845 | g3.Texture = "rbxassetid://75202463" | |
846 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
847 | g3.LightEmission = 1 | |
848 | g3.Rate = 1 | |
849 | g3.Lifetime = NumberRange.new(4) | |
850 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
851 | g3.Speed = NumberRange.new(0.05) | |
852 | g3.Rotation = NumberRange.new(-100,100) | |
853 | g3.ZOffset = 2 | |
854 | ||
855 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
856 | pe3.Name = "Sparks" | |
857 | pe3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
858 | pe3.Texture = "rbxassetid://364561471" | |
859 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
860 | pe3.LightEmission = 0 | |
861 | pe3.Rate = 10 | |
862 | pe3.Lifetime = NumberRange.new(5,10) | |
863 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
864 | pe3.Speed = NumberRange.new(1) | |
865 | pe3.Rotation = NumberRange.new(-100,100) | |
866 | ------------------------------------------- | |
867 | local g4 = Instance.new("ParticleEmitter",leg1) | |
868 | g4.Name = "Glow" | |
869 | g4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
870 | g4.Texture = "rbxassetid://75202463" | |
871 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
872 | g4.LightEmission = 1 | |
873 | g4.Rate = 1 | |
874 | g4.Lifetime = NumberRange.new(4) | |
875 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
876 | g4.Speed = NumberRange.new(0.05) | |
877 | g4.Rotation = NumberRange.new(-100,100) | |
878 | g4.ZOffset = 2 | |
879 | ||
880 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
881 | pe4.Name = "Sparks" | |
882 | pe4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
883 | pe4.Texture = "rbxassetid://364561471" | |
884 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
885 | pe4.LightEmission = 0 | |
886 | pe4.Rate = 10 | |
887 | pe4.Lifetime = NumberRange.new(5,10) | |
888 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
889 | pe4.Speed = NumberRange.new(1) | |
890 | pe4.Rotation = NumberRange.new(-100,100) | |
891 | ||
892 | char.audio2:Stop() | |
893 | char.audio2:Remove() | |
894 | char.audio:Stop() | |
895 | char.audio:Remove() | |
896 | ||
897 | char.Humanoid.WalkSpeed = 75 | |
898 | char.Humanoid.JumpPower = 89 | |
899 | ||
900 | being = false | |
901 | ||
902 | end | |
903 | ||
904 | function antihumaned() | |
905 | function LoadAnim(id) | |
906 | local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id}) | |
907 | local realanim = chara.Humanoid:LoadAnimation(anim) | |
908 | return realanim | |
909 | end | |
910 | HoldA = LoadAnim(69427262) | |
911 | HoldA:Play() | |
912 | ||
913 | rock = true | |
914 | ||
915 | char.Humanoid.WalkSpeed = 0 | |
916 | char.Humanoid.JumpPower = 0 | |
917 | ||
918 | if emoed == true then | |
919 | if being == false then | |
920 | if transformed == true then | |
921 | if antihuman == false then | |
922 | being = true | |
923 | antihuman = true | |
924 | end | |
925 | end | |
926 | end | |
927 | end | |
928 | ||
929 | wait(.25) | |
930 | rock3 = true | |
931 | ||
932 | ||
933 | arm1.Glow:Remove() | |
934 | arm1.Sparks:Remove() | |
935 | arm2.Glow:Remove() | |
936 | arm2.Sparks:Remove() | |
937 | leg1.Glow:Remove() | |
938 | leg1.Sparks:Remove() | |
939 | leg2.Glow:Remove() | |
940 | leg2.Sparks:Remove() | |
941 | tor.Glow:Remove() | |
942 | tor.Sparks:Remove() | |
943 | ||
944 | char.music:Stop() | |
945 | char.music:Remove() | |
946 | ||
947 | local Mus1 = Instance.new("Sound",char) | |
948 | Mus1.Name = "audio" | |
949 | Mus1.SoundId = "rbxassetid://301184111" | |
950 | Mus1.Pitch = 0.7 | |
951 | Mus1.Volume = 1 | |
952 | Mus1.Looped = false | |
953 | Mus1:Play() | |
954 | ||
955 | local Mus2 = Instance.new("Sound",char) | |
956 | Mus2.Name = "audio2" | |
957 | Mus2.SoundId = "rbxassetid://682718528" | |
958 | Mus2.Pitch = 1 | |
959 | Mus2.Volume = 1 | |
960 | Mus2.Looped = true | |
961 | Mus2:Play() | |
962 | ||
963 | ||
964 | local part = Instance.new("Part",char) | |
965 | part.Transparency = 0 | |
966 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
967 | local pw = Instance.new("Weld",part) | |
968 | pw.Part0 = tor | |
969 | pw.Part1 = part | |
970 | pw.C1 = CFrame.new(0,2.3,0) | |
971 | ||
972 | local fla = Instance.new("ParticleEmitter",part) | |
973 | fla.Name = "Flame" | |
974 | fla.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
975 | fla.Texture = "rbxassetid://364561471" | |
976 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
977 | fla.LightEmission = 0 | |
978 | fla.Rate = 2000 | |
979 | fla.Lifetime = NumberRange.new(2.5) | |
980 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
981 | fla.Speed = NumberRange.new(25) | |
982 | fla.SpreadAngle = Vector2.new(60,60) | |
983 | ||
984 | local fla2 = Instance.new("ParticleEmitter",part) | |
985 | fla2.Name = "Flame" | |
986 | fla2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
987 | fla2.Texture = "rbxassetid://364561471" | |
988 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
989 | fla2.LightEmission = 0 | |
990 | fla2.Rate = 500 | |
991 | fla2.Lifetime = NumberRange.new(2.5) | |
992 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
993 | fla2.Speed = NumberRange.new(25) | |
994 | fla2.SpreadAngle = Vector2.new(65,65) | |
995 | ||
996 | wait(6.55) | |
997 | rock3 = true | |
998 | fla.Rate = 0 | |
999 | fla2.Rate = 0 | |
1000 | ||
1001 | char.Shirt.ShirtTemplate = "rbxassetid://662186829" | |
1002 | char.Pants.PantsTemplate = "rbxassetid://662188938" | |
1003 | ||
1004 | char.LongHair.BrickColor = BrickColor.new("Black") | |
1005 | char.Hair1.BrickColor = BrickColor.new("Black") | |
1006 | ||
1007 | hed.face.Texture = "rbxassetid://1080474672" | |
1008 | ||
1009 | wait() | |
1010 | ||
1011 | for i,v in pairs(char:GetChildren()) do | |
1012 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
1013 | v.BrickColor = BrickColor.new("Black") | |
1014 | end | |
1015 | ||
1016 | end | |
1017 | ||
1018 | local g = Instance.new("ParticleEmitter",tor) | |
1019 | g.Name = "Glow" | |
1020 | g.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1021 | g.Texture = "rbxassetid://75202463" | |
1022 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1023 | g.LightEmission = 1 | |
1024 | g.Rate = 1 | |
1025 | g.Lifetime = NumberRange.new(4) | |
1026 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1027 | g.Speed = NumberRange.new(0.20) | |
1028 | g.Rotation = NumberRange.new(-100,100) | |
1029 | g.ZOffset = 2 | |
1030 | ||
1031 | ||
1032 | local pe = Instance.new("ParticleEmitter",tor) | |
1033 | pe.Name = "Sparks" | |
1034 | pe.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1035 | pe.Texture = "rbxassetid://364561471" | |
1036 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1037 | pe.LightEmission = 0 | |
1038 | pe.Rate = 10 | |
1039 | pe.Lifetime = NumberRange.new(5,10) | |
1040 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1041 | pe.Speed = NumberRange.new(1) | |
1042 | pe.Rotation = NumberRange.new(-100,100) | |
1043 | ||
1044 | ------------------------------------------Arms | |
1045 | local g1 = Instance.new("ParticleEmitter",arm2) | |
1046 | g1.Name = "Glow" | |
1047 | g1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1048 | g1.Texture = "rbxassetid://75202463" | |
1049 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1050 | g1.LightEmission = 1 | |
1051 | g1.Rate = 1 | |
1052 | g1.Lifetime = NumberRange.new(4) | |
1053 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1054 | g1.Speed = NumberRange.new(0.05) | |
1055 | g1.Rotation = NumberRange.new(-100,100) | |
1056 | g1.ZOffset = 2 | |
1057 | ||
1058 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
1059 | pe1.Name = "Sparks" | |
1060 | pe1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1061 | pe1.Texture = "rbxassetid://364561471" | |
1062 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1063 | pe1.LightEmission = 0 | |
1064 | pe1.Rate = 10 | |
1065 | pe1.Lifetime = NumberRange.new(5,10) | |
1066 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1067 | pe1.Speed = NumberRange.new(1) | |
1068 | pe1.Rotation = NumberRange.new(-100,100) | |
1069 | ||
1070 | --------------------------------------------- | |
1071 | local g2 = Instance.new("ParticleEmitter",arm1) | |
1072 | g2.Name = "Glow" | |
1073 | g2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1074 | g2.Texture = "rbxassetid://75202463" | |
1075 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1076 | g2.LightEmission = 1 | |
1077 | g2.Rate = 1 | |
1078 | g2.Lifetime = NumberRange.new(4) | |
1079 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1080 | g2.Speed = NumberRange.new(0.05) | |
1081 | g2.Rotation = NumberRange.new(-100,100) | |
1082 | g2.ZOffset = 2 | |
1083 | ||
1084 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
1085 | pe2.Name = "Sparks" | |
1086 | pe2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1087 | pe2.Texture = "rbxassetid://364561471" | |
1088 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1089 | pe2.LightEmission = 0 | |
1090 | pe2.Rate = 10 | |
1091 | pe2.Lifetime = NumberRange.new(5,10) | |
1092 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1093 | pe2.Speed = NumberRange.new(1) | |
1094 | pe2.Rotation = NumberRange.new(-100,100) | |
1095 | ||
1096 | -------------------------------------------Legs | |
1097 | local g3 = Instance.new("ParticleEmitter",leg2) | |
1098 | g3.Name = "Glow" | |
1099 | g3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1100 | g3.Texture = "rbxassetid://75202463" | |
1101 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1102 | g3.LightEmission = 1 | |
1103 | g3.Rate = 1 | |
1104 | g3.Lifetime = NumberRange.new(4) | |
1105 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1106 | g3.Speed = NumberRange.new(0.05) | |
1107 | g3.Rotation = NumberRange.new(-100,100) | |
1108 | g3.ZOffset = 2 | |
1109 | ||
1110 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
1111 | pe3.Name = "Sparks" | |
1112 | pe3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1113 | pe3.Texture = "rbxassetid://364561471" | |
1114 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1115 | pe3.LightEmission = 0 | |
1116 | pe3.Rate = 10 | |
1117 | pe3.Lifetime = NumberRange.new(5,10) | |
1118 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1119 | pe3.Speed = NumberRange.new(1) | |
1120 | pe3.Rotation = NumberRange.new(-100,100) | |
1121 | ------------------------------------------- | |
1122 | local g4 = Instance.new("ParticleEmitter",leg1) | |
1123 | g4.Name = "Glow" | |
1124 | g4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1125 | g4.Texture = "rbxassetid://75202463" | |
1126 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1127 | g4.LightEmission = 1 | |
1128 | g4.Rate = 1 | |
1129 | g4.Lifetime = NumberRange.new(4) | |
1130 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1131 | g4.Speed = NumberRange.new(0.05) | |
1132 | g4.Rotation = NumberRange.new(-100,100) | |
1133 | g4.ZOffset = 2 | |
1134 | ||
1135 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
1136 | pe4.Name = "Sparks" | |
1137 | pe4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
1138 | pe4.Texture = "rbxassetid://364561471" | |
1139 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1140 | pe4.LightEmission = 0 | |
1141 | pe4.Rate = 10 | |
1142 | pe4.Lifetime = NumberRange.new(5,10) | |
1143 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1144 | pe4.Speed = NumberRange.new(1) | |
1145 | pe4.Rotation = NumberRange.new(-100,100) | |
1146 | ||
1147 | char.Humanoid.WalkSpeed = 99.999 | |
1148 | char.Humanoid.JumpPower = 99.999 | |
1149 | ||
1150 | char.audio:Stop() | |
1151 | char.audio:Remove() | |
1152 | ||
1153 | being = false | |
1154 | GroundShake = false | |
1155 | ||
1156 | end | |
1157 | ||
1158 | function dehumaned() | |
1159 | ||
1160 | player = game.Players.LocalPlayer | |
1161 | chara = player.Character | |
1162 | debby = game:GetService("Debris") | |
1163 | ||
1164 | --Outfit-- | |
1165 | ||
1166 | New = function(Object, Parent, Name, Data) | |
1167 | local Object = Instance.new(Object) | |
1168 | for Index, Value in pairs(Data or {}) do | |
1169 | Object[Index] = Value | |
1170 | end | |
1171 | Object.Parent = Parent | |
1172 | Object.Name = Name | |
1173 | return Object | |
1174 | end | |
1175 | --Animations-- | |
1176 | function loada(anim) | |
1177 | local loaded = chara.Humanoid:LoadAnimation(anim) | |
1178 | return loaded | |
1179 | end | |
1180 | ||
1181 | IdleA = New("Animation",chara,"Idle",{AnimationId = "rbxassetid://169638954"}) | |
1182 | IdleAnim = loada(IdleA) | |
1183 | IdleAnim:Play() | |
1184 | ||
1185 | --Enamate-- | |
1186 | function Enamate(part) | |
1187 | local trace = Instance.new("Part",chara) | |
1188 | trace.Size = Vector3.new(1,1,1) | |
1189 | trace.TopSurface = 0 | |
1190 | trace.BottomSurface = 0 | |
1191 | trace.BrickColor = BrickColor.new("New Yeller") | |
1192 | trace.CanCollide = false | |
1193 | trace.Anchored = true | |
1194 | trace.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1195 | local tracedisp = coroutine.wrap(function() | |
1196 | for i = 1, 9 do | |
1197 | wait(.01) | |
1198 | trace.Transparency = trace.Transparency + .1 | |
1199 | end | |
1200 | wait(.01) | |
1201 | trace:Destroy() | |
1202 | end) | |
1203 | tracedisp() | |
1204 | end | |
1205 | function Enamate2(part,name) | |
1206 | if chara:FindFirstChild(name)== nil then | |
1207 | local angl = CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1208 | local trace = Instance.new("Part",chara) | |
1209 | trace.Size = Vector3.new(1,1,1) | |
1210 | trace.Name = name | |
1211 | trace.TopSurface = 0 | |
1212 | trace.BottomSurface = 0 | |
1213 | trace.BrickColor = BrickColor.new("New Yeller") | |
1214 | trace.CanCollide = false | |
1215 | trace.Anchored = true | |
1216 | trace.CFrame = part.CFrame * angl | |
1217 | local tracem = Instance.new("SpecialMesh",trace) | |
1218 | tracem.MeshId = "rbxassetid://3270017" | |
1219 | local tracedisp = coroutine.wrap(function() | |
1220 | for i = 1, 9 do | |
1221 | wait(.01) | |
1222 | trace.Transparency = trace.Transparency + .1 | |
1223 | trace.CFrame = part.CFrame * angl | |
1224 | tracem.Scale = tracem.Scale + Vector3.new(.5,.5,0) | |
1225 | end | |
1226 | wait(.01) | |
1227 | trace:Destroy() | |
1228 | end) | |
1229 | tracedisp() | |
1230 | end | |
1231 | end | |
1232 | function Enamate3() | |
1233 | if chara:FindFirstChild("Ring")== nil then | |
1234 | local trace = Instance.new("Part",chara) | |
1235 | trace.Size = Vector3.new(1,1,1) | |
1236 | trace.Name = "Ring" | |
1237 | trace.TopSurface = 0 | |
1238 | trace.BottomSurface = 0 | |
1239 | trace.BrickColor = BrickColor.new("New Yeller") | |
1240 | trace.CanCollide = false | |
1241 | trace.Anchored = true | |
1242 | trace.CFrame = chara.Torso.CFrame | |
1243 | local tracem = Instance.new("SpecialMesh",trace) | |
1244 | tracem.MeshId = "rbxassetid://3270017" | |
1245 | local tracedisp = coroutine.wrap(function() | |
1246 | for i = 1, 99 do | |
1247 | wait(.01) | |
1248 | trace.Transparency = trace.Transparency + .01 | |
1249 | trace.CFrame = chara.Torso.CFrame | |
1250 | tracem.Scale = tracem.Scale + Vector3.new(.2,.2,0) | |
1251 | end | |
1252 | wait(.01) | |
1253 | trace:Destroy() | |
1254 | end) | |
1255 | tracedisp() | |
1256 | end | |
1257 | end | |
1258 | ||
1259 | rock2 = true | |
1260 | ||
1261 | char.Humanoid.WalkSpeed = 0 | |
1262 | char.Humanoid.JumpPower = 0 | |
1263 | ||
1264 | if emoed == true then | |
1265 | if being == false then | |
1266 | if transformed == true then | |
1267 | if antihuman == true then | |
1268 | if dehuman == false then | |
1269 | dehuman = true | |
1270 | being = true | |
1271 | end | |
1272 | end | |
1273 | end | |
1274 | end | |
1275 | end | |
1276 | ||
1277 | rock3 = true | |
1278 | wait(.25) | |
1279 | rock4 = true | |
1280 | ||
1281 | ||
1282 | arm1.Glow:Remove() | |
1283 | arm1.Sparks:Remove() | |
1284 | arm2.Glow:Remove() | |
1285 | arm2.Sparks:Remove() | |
1286 | leg1.Glow:Remove() | |
1287 | leg1.Sparks:Remove() | |
1288 | leg2.Glow:Remove() | |
1289 | leg2.Sparks:Remove() | |
1290 | tor.Glow:Remove() | |
1291 | tor.Sparks:Remove() | |
1292 | ||
1293 | char.audio2:Stop() | |
1294 | char.audio2:Remove() | |
1295 | ||
1296 | local Mus1 = Instance.new("Sound",char) | |
1297 | Mus1.Name = "audio" | |
1298 | Mus1.SoundId = "rbxassetid://301184111" | |
1299 | Mus1.Pitch = 0.7 | |
1300 | Mus1.Volume = 1 | |
1301 | Mus1.Looped = false | |
1302 | Mus1:Play() | |
1303 | ||
1304 | local Mus2 = Instance.new("Sound",char) | |
1305 | Mus2.Name = "music" | |
1306 | Mus2.SoundId = "rbxassetid://306547398" | |
1307 | Mus2.Pitch = 1 | |
1308 | Mus2.Volume = 1 | |
1309 | Mus2.Looped = true | |
1310 | Mus2:Play() | |
1311 | ||
1312 | local Mus2 = Instance.new("Sound",char) | |
1313 | Mus2.Name = "music2" | |
1314 | Mus2.SoundId = "rbxassetid://162415955" | |
1315 | Mus2.Pitch = 1 | |
1316 | Mus2.Volume = 1 | |
1317 | Mus2.Looped = true | |
1318 | Mus2:Play() | |
1319 | ||
1320 | local Mus4 = Instance.new("Sound",char) | |
1321 | Mus4.SoundId = "rbxassetid://246259756" | |
1322 | Mus4.Volume = 1.2 | |
1323 | Mus4.Pitch = 1 | |
1324 | Mus4.Looped = true | |
1325 | Mus4:Play() | |
1326 | ||
1327 | ||
1328 | local part = Instance.new("Part",char) | |
1329 | part.Transparency = 0 | |
1330 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
1331 | local pw = Instance.new("Weld",part) | |
1332 | pw.Part0 = tor | |
1333 | pw.Part1 = part | |
1334 | pw.C1 = CFrame.new(0,2.3,0) | |
1335 | ||
1336 | local fla = Instance.new("ParticleEmitter",part) | |
1337 | fla.Name = "Flame" | |
1338 | fla.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1339 | fla.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1340 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1341 | fla.LightEmission = 1 | |
1342 | fla.Rate = 2050 | |
1343 | fla.Lifetime = NumberRange.new(2.125) | |
1344 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1345 | fla.Speed = NumberRange.new(55) | |
1346 | fla.SpreadAngle = Vector2.new(80,80) | |
1347 | ||
1348 | local fla2 = Instance.new("ParticleEmitter",part) | |
1349 | fla2.Name = "Flame" | |
1350 | fla2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1351 | fla2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1352 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1353 | fla2.LightEmission = 1 | |
1354 | fla2.Rate = 525 | |
1355 | fla2.Lifetime = NumberRange.new(2.100) | |
1356 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1357 | fla2.Speed = NumberRange.new(50) | |
1358 | fla2.SpreadAngle = Vector2.new(75,75) | |
1359 | ||
1360 | local fla3 = Instance.new("ParticleEmitter",part) | |
1361 | fla3.Name = "Flame" | |
1362 | fla3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1363 | fla3.Texture = "rbxassetid://296874871" | |
1364 | fla3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1365 | fla3.LightEmission = 1 | |
1366 | fla3.Rate = 2050 | |
1367 | fla3.Lifetime = NumberRange.new(2.125) | |
1368 | fla3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1369 | fla3.Speed = NumberRange.new(55) | |
1370 | fla3.SpreadAngle = Vector2.new(80,80) | |
1371 | ||
1372 | local fla4 = Instance.new("ParticleEmitter",part) | |
1373 | fla4.Name = "Flame" | |
1374 | fla4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1375 | fla4.Texture = "rbxassetid://296874871" | |
1376 | fla4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1377 | fla4.LightEmission = 1 | |
1378 | fla4.Rate = 525 | |
1379 | fla4.Lifetime = NumberRange.new(2.100) | |
1380 | fla4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1381 | fla4.Speed = NumberRange.new(50) | |
1382 | fla4.SpreadAngle = Vector2.new(75,75) | |
1383 | ||
1384 | wait(7.75) | |
1385 | --Fly-- | |
1386 | local truflyposy = chara.Torso.Position.Y+10 | |
1387 | local flyposy = truflyposy | |
1388 | local bodfly = Instance.new("BodyPosition", chara.Torso) | |
1389 | bodfly.Name = "Fly" | |
1390 | bodfly.maxForce = Vector3.new(0,10000,0) | |
1391 | bodfly.Position = Vector3.new(0,flyposy,0) | |
1392 | ||
1393 | rock3 = true | |
1394 | fla.Rate = 0 | |
1395 | fla2.Rate = 0 | |
1396 | ||
1397 | char.Shirt.ShirtTemplate = "rbxassetid://262058940" | |
1398 | char.Pants.PantsTemplate = "rbxassetid://226411010" | |
1399 | ||
1400 | char.LongHair.BrickColor = BrickColor.new("White") | |
1401 | char.Hair1.BrickColor = BrickColor.new("White") | |
1402 | ||
1403 | local mask = Instance.new("Part",char) | |
1404 | mask.Name = "Mask" | |
1405 | mask.Size = Vector3.new(1,1,1) | |
1406 | mask.Transparency = 1 | |
1407 | ||
1408 | local maskm = Instance.new("SpecialMesh",mask) | |
1409 | maskm.MeshId = "rbxassetid://1094770887" | |
1410 | maskm.TextureId = "rbxassetid://1007553403" | |
1411 | maskm.Scale = Vector3.new(1,1,1) | |
1412 | ||
1413 | local maskw = Instance.new("Weld") | |
1414 | maskw.Part0 = hed | |
1415 | maskw.Part1 = mask | |
1416 | maskw.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) | |
1417 | maskw.Parent = mask | |
1418 | ||
1419 | hed.face.Texture = "rbxassetid://1090087827" | |
1420 | ||
1421 | wait() | |
1422 | ||
1423 | for i,v in pairs(char:GetChildren()) do | |
1424 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
1425 | v.BrickColor = BrickColor.new("Really black") | |
1426 | end | |
1427 | ||
1428 | end | |
1429 | ||
1430 | local g = Instance.new("ParticleEmitter",tor) | |
1431 | g.Name = "Glow" | |
1432 | g.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1433 | g.Texture = "rbxassetid://296874871" | |
1434 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1435 | g.LightEmission = 1 | |
1436 | g.Rate = 1 | |
1437 | g.Lifetime = NumberRange.new(4) | |
1438 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1439 | g.Speed = NumberRange.new(0.20) | |
1440 | g.Rotation = NumberRange.new(-100,100) | |
1441 | g.ZOffset = 2 | |
1442 | ||
1443 | ||
1444 | local pe = Instance.new("ParticleEmitter",tor) | |
1445 | pe.Name = "Sparks" | |
1446 | pe.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1447 | pe.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1448 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1449 | pe.LightEmission = 1 | |
1450 | pe.Rate = 10 | |
1451 | pe.Lifetime = NumberRange.new(5,10) | |
1452 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1453 | pe.Speed = NumberRange.new(1) | |
1454 | pe.Rotation = NumberRange.new(-100,100) | |
1455 | ||
1456 | ------------------------------------------Arms | |
1457 | local g1 = Instance.new("ParticleEmitter",arm2) | |
1458 | g1.Name = "Glow" | |
1459 | g1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1460 | g1.Texture = "rbxassetid://296874871" | |
1461 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1462 | g1.LightEmission = 1 | |
1463 | g1.Rate = 1 | |
1464 | g1.Lifetime = NumberRange.new(4) | |
1465 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1466 | g1.Speed = NumberRange.new(0.05) | |
1467 | g1.Rotation = NumberRange.new(-100,100) | |
1468 | g1.ZOffset = 2 | |
1469 | ||
1470 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
1471 | pe1.Name = "Sparks" | |
1472 | pe1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1473 | pe1.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1474 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1475 | pe1.LightEmission = 1 | |
1476 | pe1.Rate = 10 | |
1477 | pe1.Lifetime = NumberRange.new(5,10) | |
1478 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1479 | pe1.Speed = NumberRange.new(1) | |
1480 | pe1.Rotation = NumberRange.new(-100,100) | |
1481 | ||
1482 | --------------------------------------------- | |
1483 | local g2 = Instance.new("ParticleEmitter",arm1) | |
1484 | g2.Name = "Glow" | |
1485 | g2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1486 | g2.Texture = "rbxassetid://296874871" | |
1487 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1488 | g2.LightEmission = 1 | |
1489 | g2.Rate = 1 | |
1490 | g2.Lifetime = NumberRange.new(4) | |
1491 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1492 | g2.Speed = NumberRange.new(0.05) | |
1493 | g2.Rotation = NumberRange.new(-100,100) | |
1494 | g2.ZOffset = 2 | |
1495 | ||
1496 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
1497 | pe2.Name = "Sparks" | |
1498 | pe2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1499 | pe2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1500 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1501 | pe2.LightEmission = 1 | |
1502 | pe2.Rate = 10 | |
1503 | pe2.Lifetime = NumberRange.new(5,10) | |
1504 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1505 | pe2.Speed = NumberRange.new(1) | |
1506 | pe2.Rotation = NumberRange.new(-100,100) | |
1507 | ||
1508 | -------------------------------------------Legs | |
1509 | local g3 = Instance.new("ParticleEmitter",leg2) | |
1510 | g3.Name = "Glow" | |
1511 | g3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1512 | g3.Texture = "rbxassetid://296874871" | |
1513 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1514 | g3.LightEmission = 1 | |
1515 | g3.Rate = 1 | |
1516 | g3.Lifetime = NumberRange.new(4) | |
1517 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1518 | g3.Speed = NumberRange.new(0.05) | |
1519 | g3.Rotation = NumberRange.new(-100,100) | |
1520 | g3.ZOffset = 2 | |
1521 | ||
1522 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
1523 | pe3.Name = "Sparks" | |
1524 | pe3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1525 | pe3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1526 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1527 | pe3.LightEmission = 1 | |
1528 | pe3.Rate = 10 | |
1529 | pe3.Lifetime = NumberRange.new(5,10) | |
1530 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1531 | pe3.Speed = NumberRange.new(1) | |
1532 | pe3.Rotation = NumberRange.new(-100,100) | |
1533 | ------------------------------------------- | |
1534 | local g4 = Instance.new("ParticleEmitter",leg1) | |
1535 | g4.Name = "Glow" | |
1536 | g4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1537 | g4.Texture = "rbxassetid://296874871" | |
1538 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1539 | g4.LightEmission = 1 | |
1540 | g4.Rate = 1 | |
1541 | g4.Lifetime = NumberRange.new(4) | |
1542 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1543 | g4.Speed = NumberRange.new(0.05) | |
1544 | g4.Rotation = NumberRange.new(-100,100) | |
1545 | g4.ZOffset = 2 | |
1546 | ||
1547 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
1548 | pe4.Name = "Sparks" | |
1549 | pe4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1550 | pe4.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1551 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1552 | pe4.LightEmission = 1 | |
1553 | pe4.Rate = 10 | |
1554 | pe4.Lifetime = NumberRange.new(5,10) | |
1555 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1556 | pe4.Speed = NumberRange.new(1) | |
1557 | pe4.Rotation = NumberRange.new(-100,100) | |
1558 | ||
1559 | local fall = Instance.new("Part",game.Workspace) | |
1560 | fall.Name = "RainFall" | |
1561 | fall.Position = Vector3.new(0, 171.65, 0) | |
1562 | fall.Size = Vector3.new(512, 20, 512) | |
1563 | fall.BrickColor = BrickColor.new("Medium stone grey") | |
1564 | fall.Material = Enum.Material.SmoothPlastic | |
1565 | fall.Anchored = true | |
1566 | fall.CanCollide = false | |
1567 | fall.Transparency = 0 | |
1568 | ||
1569 | local CloudMesh = Instance.new('SpecialMesh',fall) | |
1570 | CloudMesh.Scale = Vector3.new(500,250,500) | |
1571 | CloudMesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
1572 | CloudMesh.Offset = Vector3.new(0,0.9,0) | |
1573 | ||
1574 | local Rain = Instance.new('ParticleEmitter',fall) | |
1575 | Rain.Name = "rain1" | |
1576 | Rain.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1577 | Rain.Size = NumberSequence.new(10) | |
1578 | Rain.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1579 | Rain.Transparency = NumberSequence.new(-1) | |
1580 | Rain.Acceleration = Vector3.new(0,-150,0) | |
1581 | Rain.Lifetime = NumberRange.new(50,100) | |
1582 | Rain.Rate = math.huge | |
1583 | Rain.EmissionDirection = Enum.NormalId.Bottom | |
1584 | ||
1585 | local Rain2 = Instance.new('ParticleEmitter',fall) | |
1586 | Rain2.Name = "rain2" | |
1587 | Rain2.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1588 | Rain2.Size = NumberSequence.new(20) | |
1589 | Rain2.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1590 | Rain2.Transparency = NumberSequence.new(-1) | |
1591 | Rain2.Acceleration = Vector3.new(0,-150,0) | |
1592 | Rain2.Lifetime = NumberRange.new(50,100) | |
1593 | Rain2.Rate = math.huge | |
1594 | Rain2.EmissionDirection = Enum.NormalId.Bottom | |
1595 | ||
1596 | local RainSound = Instance.new('Sound',fall) | |
1597 | RainSound.Name = "audio" | |
1598 | RainSound.SoundId = "rbxassetid://111816866" | |
1599 | RainSound.Looped = true | |
1600 | RainSound:Play() | |
1601 | ||
1602 | local Rain3 = Instance.new('ParticleEmitter',game.Workspace) | |
1603 | Rain3.Name = "rain1" | |
1604 | Rain3.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1605 | Rain3.Size = NumberSequence.new(1) | |
1606 | Rain3.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1607 | Rain3.Transparency = NumberSequence.new(-5) | |
1608 | Rain3.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1609 | Rain3.Lifetime = NumberRange.new(1,5) | |
1610 | Rain3.Speed = NumberRange.new(0) | |
1611 | Rain3.SpreadAngle = Vector2.new(0,0) | |
1612 | Rain3.Rate = 100.9 | |
1613 | Rain3.LockedToPart = true | |
1614 | ||
1615 | local Rain4 = Instance.new('ParticleEmitter',game.Workspace) | |
1616 | Rain4.Name = "rain2" | |
1617 | Rain4.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1618 | Rain4.Size = NumberSequence.new(1) | |
1619 | Rain4.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1620 | Rain4.Transparency = NumberSequence.new(-5) | |
1621 | Rain4.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1622 | Rain4.Lifetime = NumberRange.new(1,5) | |
1623 | Rain4.Speed = NumberRange.new(0) | |
1624 | Rain4.SpreadAngle = Vector2.new(0,0) | |
1625 | Rain4.Rate = 100.9 | |
1626 | Rain4.LockedToPart = true | |
1627 | ||
1628 | for _,v in pairs(game.Workspace:GetChildren()) do | |
1629 | if v.Name == "Baseplate" or v.Name == "Base" then | |
1630 | Rain3.Parent = v | |
1631 | Rain4.Parent = v | |
1632 | end | |
1633 | end | |
1634 | ||
1635 | local sky = Instance.new("Sky",game.Lighting) | |
1636 | sky.CelestialBodiesShown = true | |
1637 | sky.MoonAngularSize = 15 | |
1638 | sky.MoonTextureId = "rbxasset://sky/moon.jpg" | |
1639 | sky.SkyboxBk = "rbxassetid://566611187" | |
1640 | sky.SkyboxDn = "rbxassetid://566613198" | |
1641 | sky.SkyboxFt = "rbxassetid://566611142" | |
1642 | sky.SkyboxLf = "rbxassetid://566611266" | |
1643 | sky.SkyboxRt = "rbxassetid://566611300" | |
1644 | sky.SkyboxUp = "rbxassetid://566611218" | |
1645 | sky.StarCount = 3000 | |
1646 | sky.SunAngularSize = 25 | |
1647 | sky.SunTextureId = "rbxasset://sky/sun.jpg" | |
1648 | sky.Name = "HumanityRain" | |
1649 | ||
1650 | char.Humanoid.WalkSpeed = 125.175 | |
1651 | char.Humanoid.JumpPower = 150.199 | |
1652 | ||
1653 | char.audio:Stop() | |
1654 | char.audio:Remove() | |
1655 | ||
1656 | being = false | |
1657 | GroundShake = false | |
1658 | rock3 = true | |
1659 | wait(.5) | |
1660 | rock = false | |
1661 | ||
1662 | fla3.Rate = 0 | |
1663 | fla4.Rate = 0 | |
1664 | ||
1665 | end | |
1666 | ||
1667 | mouse.KeyDown:connect(function(key) | |
1668 | if key == "q" and emoed == false and being == false and transformed == false then | |
1669 | emo() | |
1670 | end | |
1671 | end) | |
1672 | ||
1673 | mouse.KeyDown:connect(function(key) | |
1674 | if key == "e" and emoed == true and being == false and transformed == false then | |
1675 | transform() | |
1676 | end | |
1677 | end) | |
1678 | ||
1679 | mouse.KeyDown:connect(function(key) | |
1680 | if key == "r" and emoed == true and being == false and transformed == true and antihuman == false then | |
1681 | antihumaned() | |
1682 | end | |
1683 | end) | |
1684 | ||
1685 | mouse.KeyDown:connect(function(key) | |
1686 | if key == "f" and emoed == true and being == false and transformed == true and antihuman == true and dehuman == false then | |
1687 | dehumaned() | |
1688 | end | |
1689 | end) | |
1690 | --[[SCRIPT NAME]]-- | |
1691 | --[[ | |
1692 | ||
1693 | Move List | |
1694 | ||
1695 | ||
1696 | --]] | |
1697 | local plr = game.Players.LocalPlayer | |
1698 | local char = plr.Character | |
1699 | local mouse = plr:GetMouse() | |
1700 | local torso = char.Torso | |
1701 | local rs = torso["Right Shoulder"] | |
1702 | local ls = torso["Left Shoulder"] | |
1703 | local rh = torso["Right Hip"] | |
1704 | local lh = torso["Left Hip"] | |
1705 | local rj = char.HumanoidRootPart.RootJoint | |
1706 | local neck = torso.Neck | |
1707 | local animpose = "Idle" | |
1708 | local attacking = false | |
1709 | local cananim = true | |
1710 | local rage = false | |
1711 | local shield = nil | |
1712 | local sprint = false | |
1713 | local canrage = true | |
1714 | local legs = false | |
1715 | local bc = char:WaitForChild("Body Colors") | |
1716 | local multiplier = 1 | |
1717 | local lac = char["Body Colors"].LeftArmColor | |
1718 | local rac = char["Body Colors"].RightArmColor | |
1719 | local rlc = char["Body Colors"].RightArmColor | |
1720 | local llc = char["Body Colors"].LeftLegColor | |
1721 | local hc = char["Body Colors"].HeadColor | |
1722 | local tc = char["Body Colors"].TorsoColor | |
1723 | local humanoid = char:FindFirstChildOfClass("Humanoid") | |
1724 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
1725 | ||
1726 | function legsonly() | |
1727 | spawn(function() | |
1728 | for i = 0, 10 do | |
1729 | wait(0.001) | |
1730 | if attacking then break end | |
1731 | end | |
1732 | if not attacking then | |
1733 | legs = false | |
1734 | end | |
1735 | end) | |
1736 | end | |
1737 | function swait(t) | |
1738 | if t == nil or t == 0 then | |
1739 | game:service('RunService').Stepped:wait(0) | |
1740 | else | |
1741 | for i = 0, t do | |
1742 | game:service('RunService').Stepped:wait(0) | |
1743 | end | |
1744 | end | |
1745 | end | |
1746 | function hurt(hit, dmg) | |
1747 | if hit.Parent then | |
1748 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
1749 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1750 | if hum then | |
1751 | if hum.Parent.Name ~= plr.Name then | |
1752 | if dmg == "Kill" or hum.Health > 100000 then | |
1753 | hit.Parent:BreakJoints() | |
1754 | return true | |
1755 | else | |
1756 | if math.random(0, 100) == 50 then | |
1757 | hum.Health = hum.Health - dmg*multiplier*2.5 | |
1758 | else | |
1759 | hum.Health = hum.Health -dmg*multiplier | |
1760 | end | |
1761 | return true | |
1762 | end | |
1763 | end | |
1764 | end | |
1765 | end | |
1766 | end | |
1767 | function getparent() | |
1768 | local par = workspace | |
1769 | if workspace:FindFirstChild("Base") then | |
1770 | par = workspace.Base | |
1771 | end | |
1772 | return par | |
1773 | end | |
1774 | function soundeffect(id, volume, speed, parent) | |
1775 | spawn(function() | |
1776 | local s = Instance.new("Sound") | |
1777 | s.SoundId = id | |
1778 | s.Volume = volume | |
1779 | s.PlaybackSpeed = speed | |
1780 | s.Parent = parent | |
1781 | s:Play() | |
1782 | repeat wait() until not s.Playing | |
1783 | s:Destroy() | |
1784 | end) | |
1785 | end | |
1786 | function gethum(obj) | |
1787 | if obj.Parent then | |
1788 | if obj.Parent:FindFirstChild("Humanoid") then | |
1789 | if obj.Parent.Name ~= plr.Name then | |
1790 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
1791 | end | |
1792 | end | |
1793 | end | |
1794 | end | |
1795 | function smooth(obj) | |
1796 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
1797 | for i,v in pairs(sides) do | |
1798 | obj[v.."Surface"] = "SmoothNoOutlines" | |
1799 | end | |
1800 | end | |
1801 | function fade(obj, dest, grow) | |
1802 | spawn(function() | |
1803 | local oldcf = obj.CFrame | |
1804 | for i = 0, 10 do | |
1805 | if grow then | |
1806 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
1807 | obj.CFrame = oldcf | |
1808 | end | |
1809 | obj.Transparency = obj.Transparency +0.1 | |
1810 | swait() | |
1811 | end | |
1812 | if dest then | |
1813 | obj:Destroy() | |
1814 | end | |
1815 | end) | |
1816 | end | |
1817 | function hand() | |
1818 | local mod = Instance.new("Model") | |
1819 | mod.Name = "Hand" | |
1820 | item1 = Instance.new('Part') | |
1821 | item1.BrickColor = BrickColor.new('Really black') | |
1822 | item1.Material = Enum.Material.Marble | |
1823 | item1.Reflectance = 0 | |
1824 | item1.Transparency = 0 | |
1825 | item1.Name = 'Part0101' | |
1826 | item1.Anchored = false | |
1827 | item1.CanCollide = false | |
1828 | item1.Locked = true | |
1829 | item1.Size = Vector3.new(0.599999964, 0.600000024, 0.699999988) smooth(item1) | |
1830 | item1.Parent = mod | |
1831 | item2 = Instance.new('SpecialMesh') | |
1832 | item2.Name = 'Mesh' | |
1833 | item2.MeshType = "Sphere" | |
1834 | item2.MeshId = '' | |
1835 | item2.Scale = Vector3.new(1, 1, 1) | |
1836 | item2.Parent = mod.Part0101 | |
1837 | item3 = Instance.new('Part') | |
1838 | item3.BrickColor = BrickColor.new('Institutional white') | |
1839 | item3.Material = Enum.Material.Marble | |
1840 | item3.Reflectance = 0 | |
1841 | item3.Transparency = 0 | |
1842 | item3.Name = 'Part2323' | |
1843 | item3.Anchored = false | |
1844 | item3.CanCollide = false | |
1845 | item3.Locked = true | |
1846 | item3.Size = Vector3.new(0.49999994, 0.800000012, 0.5) smooth(item3) | |
1847 | item3.Parent = mod | |
1848 | item4 = Instance.new('SpecialMesh') | |
1849 | item4.Name = 'Mesh' | |
1850 | item4.MeshId = '' | |
1851 | item4.MeshType = "Sphere" | |
1852 | item4.Scale = Vector3.new(1, 1, 1) | |
1853 | item4.Parent = mod.Part2323 | |
1854 | item5 = Instance.new('Part') | |
1855 | item5.BrickColor = BrickColor.new('Institutional white') | |
1856 | item5.Material = Enum.Material.Marble | |
1857 | item5.Reflectance = 0 | |
1858 | item5.Transparency = 0 | |
1859 | item5.Name = 'Part4545' | |
1860 | item5.Anchored = false | |
1861 | item5.CanCollide = false | |
1862 | item5.Locked = true | |
1863 | item5.Size = Vector3.new(0.99999994, 1.20000005, 0.5) smooth(item5) | |
1864 | item5.Parent = mod | |
1865 | item6 = Instance.new('SpecialMesh') | |
1866 | item6.Name = 'Mesh' | |
1867 | item6.MeshType = "Sphere" | |
1868 | item6.MeshId = '' | |
1869 | item6.Scale = Vector3.new(1, 1, 1) | |
1870 | item6.Parent = mod.Part4545 | |
1871 | item7 = Instance.new('Weld') | |
1872 | item7.Name = 'Weld' | |
1873 | item7.Part0 = mod.Part2323 | |
1874 | item7.Part1 = mod.Part0101 | |
1875 | item7.C0 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1876 | item7.C1 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1877 | item7.Parent = mod.Part2323 | |
1878 | item8 = Instance.new('Weld') | |
1879 | item8.Name = 'Weld' | |
1880 | item8.Part0 = mod.Part4545 | |
1881 | item8.Part1 = mod.Part2323 | |
1882 | item8.C0 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1883 | item8.C1 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1884 | item8.Parent = mod.Part4545 | |
1885 | for i,v in pairs(mod:children()) do | |
1886 | v.Anchored = false | |
1887 | end | |
1888 | return mod | |
1889 | end | |
1890 | local eagain = false | |
1891 | local vis = false | |
1892 | mouse.KeyDown:connect(function(key) | |
1893 | if key == "c" and not attacking then | |
1894 | attacking = true | |
1895 | local h = hand() | |
1896 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1897 | h.Parent = workspace | |
1898 | h.Part0101.Anchored = true | |
1899 | local bp = Instance.new("BodyPosition") | |
1900 | bp.MaxForce = huge | |
1901 | bp.P = 10000 | |
1902 | h.Part0101.Anchored = false | |
1903 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1904 | bp.Parent = h.Part0101 | |
1905 | local last | |
1906 | local exps = {} | |
1907 | repeat wait() | |
1908 | if attacking and h and bp then | |
1909 | if last then last:Destroy() end | |
1910 | if bp.Position == Vector3.new(0,0,0) then | |
1911 | h.Part0101.CFrame = char.Torso.CFrame | |
1912 | end | |
1913 | local pa = workspace | |
1914 | if workspace:FindFirstChild("Base") then | |
1915 | pa = workspace.Base | |
1916 | end | |
1917 | bp.Position = (char.Torso.CFrame*CFrame.new(5,10,0)).p | |
1918 | mouse.TargetFilter = h | |
1919 | h.Part0101.CFrame = CFrame.new(h.Part0101.CFrame.p, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
1920 | mouse.TargetFilter = nil | |
1921 | local ray = Ray.new(h.Part0101.CFrame.p, (mouse.Hit.p-h.Part0101.Position).unit * 500) | |
1922 | local ig = {char, h} | |
1923 | for i,v in pairs(exps) do | |
1924 | table.insert(ig, v) | |
1925 | end | |
1926 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, ig) | |
1927 | local p = Instance.new("Part") | |
1928 | p.Anchored = true | |
1929 | smooth(p) | |
1930 | p.Material = "Neon" | |
1931 | p.CanCollide = false | |
1932 | p.Size = Vector3.new(1,1,1) | |
1933 | p.CFrame = CFrame.new(pos) | |
1934 | local m = Instance.new("SpecialMesh") | |
1935 | m.MeshType = "Sphere" | |
1936 | table.insert(exps, p) | |
1937 | m.Parent = p | |
1938 | p.Parent = pa | |
1939 | local mag = (h.Part0101.Position-pos).magnitude | |
1940 | local p = Instance.new("Part") | |
1941 | p.Anchored = false | |
1942 | p.CanCollide = false | |
1943 | smooth(p) | |
1944 | p.Material = "Neon" | |
1945 | p.Size = Vector3.new(0.4,0.4,mag) | |
1946 | p.CFrame = h.Part0101.CFrame | |
1947 | p.CFrame = p.CFrame *CFrame.new(0,0,mag/2) | |
1948 | local b = Instance.new("BodyPosition") | |
1949 | b.MaxForce = huge | |
1950 | b.Position = p.Position | |
1951 | b.Parent = p | |
1952 | p.Parent = pa | |
1953 | p.Touched:connect(function(hit) | |
1954 | hurt(hit, 10) | |
1955 | end) | |
1956 | if hit then | |
1957 | soundeffect("rbxassetid://340722848", 0.2, 3, h.Part0101) | |
1958 | end | |
1959 | last = p | |
1960 | for i,v in pairs(exps) do | |
1961 | v.Transparency = v.Transparency + 0.1 | |
1962 | local l = v.CFrame | |
1963 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1964 | v.CFrame = l | |
1965 | if v.Transparency >= 1 then | |
1966 | v:Destroy() | |
1967 | end | |
1968 | end | |
1969 | end | |
1970 | until not attacking | |
1971 | if last then | |
1972 | fade(last, true) | |
1973 | for i,v in pairs(h:children()) do | |
1974 | fade(v, true) | |
1975 | game.Debris:AddItem(h, 1) | |
1976 | end | |
1977 | end | |
1978 | repeat swait() | |
1979 | for i,v in pairs(exps) do | |
1980 | v.Transparency = v.Transparency + 0.1 | |
1981 | local l = v.CFrame | |
1982 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1983 | v.CFrame = l | |
1984 | if v.Transparency >= 1 then | |
1985 | v:Destroy() | |
1986 | end | |
1987 | end | |
1988 | until #exps <= 0 | |
1989 | end | |
1990 | local aaaaa = false | |
1991 | if key == "z" and not attacking then | |
1992 | aaaaa = true | |
1993 | attacking = true | |
1994 | local h = hand() | |
1995 | local part = h.Part0101 | |
1996 | part.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,0) | |
1997 | local pa = workspace | |
1998 | if workspace:FindFirstChild("Base") then | |
1999 | pa = workspace.Base | |
2000 | end | |
2001 | h.Parent = pa | |
2002 | part.CFrame = char.Torso.CFrame | |
2003 | local bp = Instance.new("BodyPosition") | |
2004 | bp.MaxForce = huge | |
2005 | bp.Position = mouse.Hit.p | |
2006 | part.CFrame = CFrame.new(part.Position, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
2007 | bp.Parent = part | |
2008 | local touched = false | |
2009 | local weld | |
2010 | part.Touched:connect(function(hit) | |
2011 | if gethum(hit) then | |
2012 | if hit.Parent:FindFirstChild("Torso") then | |
2013 | h.Parent = hit.Parent | |
2014 | local w = Instance.new("Weld") | |
2015 | w.Part0 = hit.Parent.Torso | |
2016 | w.Part1 = part | |
2017 | w.C0 = CFrame.new(0,0,-0.7) *CFrame.Angles(math.rad(180),0,0) | |
2018 | w.Parent = part | |
2019 | touched = true | |
2020 | weld = w | |
2021 | end | |
2022 | end | |
2023 | end) | |
2024 | spawn(function() | |
2025 | wait(2) | |
2026 | if not touched then | |
2027 | attacking = false | |
2028 | end | |
2029 | end) | |
2030 | repeat wait() | |
2031 | ||
2032 | until (mouse.Hit.p-part.Position).magnitude < 5 or touched | |
2033 | wait(0.5) | |
2034 | if not touched then | |
2035 | for i = 1, 10 do | |
2036 | for i,v in pairs(h:children()) do | |
2037 | v.Transparency = v.Transparency + 0.1 | |
2038 | end | |
2039 | swait() | |
2040 | end | |
2041 | h:Destroy() | |
2042 | else | |
2043 | attacking = true | |
2044 | local mag = (char.Torso.Position-mouse.Hit.p).magnitude | |
2045 | if mag > 50 then | |
2046 | mag = 50 | |
2047 | end | |
2048 | local i = 0 | |
2049 | repeat wait() | |
2050 | i = i + 1 | |
2051 | if i == 100 then | |
2052 | eagain = true | |
2053 | end | |
2054 | mouse.TargetFilter = h.Parent | |
2055 | bp.Position = (CFrame.new(char.Torso.Position, mouse.Hit.p) *CFrame.new(0,0,-mag)).p | |
2056 | mouse.TargetFilter = nil | |
2057 | part.CFrame = CFrame.new(part.Position, char.Torso.Position) | |
2058 | until eagain | |
2059 | local en = part.CFrame *CFrame.new(0,0,-5) | |
2060 | for i = 0, 0.7, 0.1 do | |
2061 | part.CFrame = part.CFrame:Lerp(en, 0.5) | |
2062 | wait() | |
2063 | end | |
2064 | if weld then | |
2065 | local obj = weld.Part0 | |
2066 | weld:Destroy() | |
2067 | part.Anchored = true | |
2068 | local bv = Instance.new("BodyVelocity") | |
2069 | bv.MaxForce = huge | |
2070 | mouse.TargetFilter = h.Parent | |
2071 | bv.Velocity = CFrame.new(char.Torso.Position, mouse.Hit.p).lookVector*100 | |
2072 | mouse.TargetFilter = nil | |
2073 | bv.Parent = obj | |
2074 | game.Debris:AddItem(obj, 0.5) | |
2075 | eagain = false | |
2076 | attacking = false | |
2077 | for i = 1, 10 do | |
2078 | for i,v in pairs(h:children()) do | |
2079 | v.Transparency = v.Transparency + 0.1 | |
2080 | end | |
2081 | swait() | |
2082 | end | |
2083 | h:Destroy() | |
2084 | end | |
2085 | end | |
2086 | end | |
2087 | if key == "j" and not eagain and not aaaaa then | |
2088 | eagain = true | |
2089 | end | |
2090 | if key == "x" and not attacking then | |
2091 | local p = Instance.new("Part") | |
2092 | p.Anchored = true | |
2093 | p.CanCollide = false | |
2094 | p.BrickColor = BrickColor.new("Institutional white") | |
2095 | local size = Vector3.new(75.699, 105.576, 50) | |
2096 | p.Size = size*0.07 | |
2097 | p.Transparency = 1.3 | |
2098 | p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-10,10),-5,6) | |
2099 | local m = Instance.new("SpecialMesh") | |
2100 | m.MeshId = "rbxassetid://685461636" | |
2101 | m.Scale = Vector3.new(0.07,0.07,0.07) | |
2102 | m.Parent = p | |
2103 | local e = p.CFrame *CFrame.new(0,20,0) | |
2104 | p.Parent = getparent() | |
2105 | local dir = CFrame.new(char.Torso.CFrame.p, mouse.Hit.p).lookVector | |
2106 | for i = 0, 1, 0.1 do | |
2107 | p.Transparency = p.Transparency - 0.1 | |
2108 | p.CFrame = p.CFrame:Lerp(CFrame.new(e.p, e.p+dir), 0.5) | |
2109 | wait() | |
2110 | end | |
2111 | wait(0.2) | |
2112 | soundeffect("rbxassetid://340722848", 5, 1, char.Torso) | |
2113 | local start = p.CFrame*CFrame.new(0,0,-2) | |
2114 | mouse.TargetFilter = char | |
2115 | local s = mouse.Hit | |
2116 | local dir = CFrame.new(start.p, s.p).lookVector | |
2117 | local ray = Ray.new(start.p, (mouse.Hit.p-start.p).unit * 500) | |
2118 | local tbl = {char, p} | |
2119 | if getparent().Name == "Base" then | |
2120 | for i,v in pairs(getparent():children()) do | |
2121 | table.insert(tbl, v) | |
2122 | end | |
2123 | end | |
2124 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, tbl) | |
2125 | local mag = (start.p-mouse.Hit.p).magnitude | |
2126 | local part = p | |
2127 | local p = Instance.new("Part") | |
2128 | smooth(p) | |
2129 | p.Material = "Neon" | |
2130 | p.Anchored = true | |
2131 | p.CanCollide = false | |
2132 | p.CFrame = start | |
2133 | p.Size = Vector3.new(mag,5,5) | |
2134 | p.CFrame = CFrame.new(start.p, start.p+dir) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) *CFrame.new(mag/2,0,0) | |
2135 | local m = Instance.new("SpecialMesh") | |
2136 | mouse.TargetFilter = nil | |
2137 | m.MeshType = "Cylinder" | |
2138 | m.Parent = p | |
2139 | p.Parent = char | |
2140 | p.Touched:connect(function(hit) | |
2141 | hurt(hit, 50) | |
2142 | end) | |
2143 | for i = 1, 10 do | |
2144 | local b = p.CFrame | |
2145 | p.Size = p.Size +Vector3.new(0.1,0.1,0.1) | |
2146 | p.CFrame = b | |
2147 | p.Transparency = p.Transparency + 0.1 | |
2148 | part.Transparency = part.Transparency + 0.1 | |
2149 | wait() | |
2150 | end | |
2151 | p:Destroy() | |
2152 | part:Destroy() | |
2153 | end | |
2154 | if key == "t" and not attacking then | |
2155 | ||
2156 | end | |
2157 | if key == "c" then | |
2158 | if vis then | |
2159 | vis = false | |
2160 | for i,v in pairs(me:children()) do | |
2161 | if v:IsA("Decal") then | |
2162 | v.Transparency = 1 | |
2163 | humanoid.WalkSpeed = 100 | |
2164 | end | |
2165 | end | |
2166 | else | |
2167 | vis = true | |
2168 | for i,v in pairs(me:children()) do | |
2169 | if v:IsA("Decal") then | |
2170 | v.Transparency = 0 | |
2171 | humanoid.WalkSpeed = 16 | |
2172 | end | |
2173 | end | |
2174 | end | |
2175 | end | |
2176 | end) | |
2177 | mouse.KeyUp:connect(function(key) | |
2178 | if key == "v" and attacking then | |
2179 | attacking = false | |
2180 | end | |
2181 | end) |