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