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 | --------BY DJBOY--------- | |
154 | ||
155 | local Player = game.Players.LocalPlayer | |
156 | local Mouse = Player:GetMouse() | |
157 | ||
158 | local COLOR = Instance.new("BrickColorValue",Player.Character) | |
159 | MODE = Instance.new("IntValue",Player.Character) | |
160 | local COLOR2 = Instance.new("BrickColorValue",Player.Character) | |
161 | MODE.Name = "Mode" | |
162 | Mode = Player.Character:FindFirstChild("Mode") | |
163 | COLOR.Name = "FlameColor" | |
164 | COLOR.Value = BrickColor.new("Really red") | |
165 | COLOR2.Name = "FlameColor2" | |
166 | COLOR2.Value = BrickColor.new("Really red") | |
167 | Player.Character.Humanoid.Name = "FireDS" | |
168 | ||
169 | ----removes clothes-- | |
170 | for i,v in pairs(Player.Character:GetChildren()) do | |
171 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then | |
172 | v:remove() | |
173 | wait() | |
174 | end | |
175 | end | |
176 | --------- | |
177 | -----clothes---- | |
178 | function Clothes() | |
179 | Shir = Instance.new("Shirt") | |
180 | Shir.Parent = Player.Character | |
181 | Shir.Name = "Natsu_Top" | |
182 | Shir.ShirtTemplate = "http://www.roblox.com/asset/?id=95777995" | |
183 | ----pants--- | |
184 | Pan = Instance.new("Pants") | |
185 | Pan.Name = "Natsu_Bottom" | |
186 | Pan.Parent = Player.Character | |
187 | Pan.PantsTemplate = "http://www.roblox.com/asset/?id=95779442" | |
188 | ||
189 | Player.Character["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
190 | Player.Character["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
191 | Player.Character["Body Colors"].LeftLegColor = BrickColor.new("Pastel brown") | |
192 | Player.Character["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
193 | Player.Character["Body Colors"].RightLegColor = BrickColor.new("Pastel brown") | |
194 | Player.Character["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
195 | end | |
196 | function Hats() | |
197 | Hat = Instance.new("Part") | |
198 | Hat.Size = Vector3.new(1,1,1) | |
199 | Hat.Anchored = false | |
200 | Hat.CanCollide = false | |
201 | Hat.Name = "Hair" | |
202 | Hat.Shape = "Block" | |
203 | Hat.Parent = Player.Character | |
204 | Hat.BrickColor = BrickColor.new("Cool yellow") | |
205 | Mesh = Instance.new("SpecialMesh") | |
206 | Mesh.Parent = Hat | |
207 | Mesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
208 | Mesh.TextureId = "http://www.roblox.com/asset/?id=83907488" | |
209 | Mesh.MeshType = "FileMesh" | |
210 | Mesh.Scale = Vector3.new(1,1,1) | |
211 | Weld = Instance.new("Weld") | |
212 | Weld.Parent = Player.Character.Head | |
213 | Weld.Part0 = Player.Character.Head | |
214 | Weld.Part1 = Hat | |
215 | Weld.C1 = CFrame.new(0,-0.5,0.01)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
216 | -------------------------------Scarf---------------------------------------- | |
217 | Hat2 = Instance.new("Part") | |
218 | Hat2.Size = Vector3.new(1,1,1) | |
219 | Hat2.Anchored = false | |
220 | Hat2.CanCollide = false | |
221 | Hat2.Shape = "Block" | |
222 | Hat2.Name = "Scarf" | |
223 | Hat2.Parent = Player.Character | |
224 | Hat2.BrickColor = BrickColor.new("Cool yellow") | |
225 | Mesh2 = Instance.new("SpecialMesh") | |
226 | Mesh2.Parent = Hat2 | |
227 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=57780106" | |
228 | Mesh2.TextureId = "http://www.roblox.com/asset/?id=97489466" | |
229 | Mesh2.MeshType = "FileMesh" | |
230 | Mesh2.Scale = Vector3.new(1.1,1.1,1.1) | |
231 | Weld = Instance.new("Weld") | |
232 | Weld.Parent = Player.Character.Head | |
233 | Weld.Part0 = Player.Character.Head | |
234 | Weld.Part1 = Hat2 | |
235 | Weld.C1 = CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
236 | end | |
237 | Clothes() | |
238 | Hats() | |
239 | ----------------FIRE ROAR----------- | |
240 | enabled = true | |
241 | function onKeyDown(key) | |
242 | if not enabled then return end | |
243 | enabled = false | |
244 | Key = key:lower() | |
245 | if key == "r" then | |
246 | game:GetService("Chat"):Chat(Player.Character.Head, "FIRE ROAR") | |
247 | print("YO") | |
248 | ||
249 | local animation = Instance.new("Animation") | |
250 | animation.AnimationId = "http://www.roblox.com/Asset?ID=163799047" | |
251 | local animTrack = Player.Character:FindFirstChild("FireDS"):LoadAnimation(animation) | |
252 | animTrack:Play() | |
253 | ||
254 | c = Instance.new("Part") | |
255 | c.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
256 | Decal1 = Instance.new("Decal",c) | |
257 | Decal1.Texture = "http://www.roblox.com/asset/?id=121028264" | |
258 | Decal1.Face = "Back" | |
259 | Decal2 = Instance.new("Decal",c) | |
260 | Decal2.Texture = "http://www.roblox.com/asset/?id=121028264" | |
261 | Decal2.Face = "Front" | |
262 | c.Size = Vector3.new(0,0,0) | |
263 | c.TopSurface = "Smooth" | |
264 | c.BottomSurface = "Smooth" | |
265 | c.Shape = "Block" | |
266 | c.Name = "MagicBrick" | |
267 | c.CanCollide = false | |
268 | c.Transparency = 1 | |
269 | c.Anchored = true | |
270 | c.Parent = Player.Character | |
271 | game.Debris:AddItem(c,3) | |
272 | c.CFrame = Player.Character.Head.CFrame*CFrame.new(0, 0, -1.8) | |
273 | for i = 1,6 do | |
274 | c.Size = Vector3.new(i,i,0) | |
275 | wait(0.1) | |
276 | end | |
277 | v = Instance.new("Part") | |
278 | v.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
279 | v.Size = Vector3.new(0,0,0) | |
280 | v.TopSurface = "Smooth" | |
281 | v.BottomSurface = "Smooth" | |
282 | v.Shape = "Block" | |
283 | v.Name = "MagicBrick" | |
284 | v.CanCollide = false | |
285 | v.Transparency = 1 | |
286 | v.Anchored = true | |
287 | v.Parent = Player.Character | |
288 | game.Debris:AddItem(v,4) | |
289 | v.CFrame = Player.Character.Head.CFrame*CFrame.new(0, 0, -1.2) | |
290 | for i = 1,45 do | |
291 | z = Instance.new("Part") | |
292 | ||
293 | z.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
294 | z.Size = Vector3.new(i,i,i) | |
295 | z.TopSurface = "Smooth" | |
296 | z.BottomSurface = "Smooth" | |
297 | z.Shape = "Block" | |
298 | z.Name = "MagicBrick" | |
299 | z.CanCollide = false | |
300 | z.Transparency = 0.4 | |
301 | z.Anchored = true | |
302 | z.Parent = Player.Character | |
303 | game.Debris:AddItem(z,0.5) | |
304 | z.CFrame = v.CFrame*CFrame.new(0, 0, -1.2-i*2)*CFrame.fromEulerAnglesXYZ(math.random(1,9),math.random(1,9),math.random(1,9)) | |
305 | ||
306 | function Hit(Part) | |
307 | for i,v in pairs(Part.Parent:GetChildren()) do | |
308 | if v.ClassName == "Humanoid" and Part.Parent.Name ~= Player.Name then | |
309 | v.Health = v.Health - 10 | |
310 | Ex = Instance.new("Explosion",Part) | |
311 | Ex.BlastPressure = 1 | |
312 | Ex.Position = Part.Position | |
313 | Ex.BlastRadius = 1 | |
314 | end | |
315 | end | |
316 | end | |
317 | z.Touched:connect(Hit) | |
318 | ||
319 | wait(0.01) | |
320 | end | |
321 | end | |
322 | enabled = true | |
323 | end | |
324 | Mouse.KeyDown:connect(onKeyDown) | |
325 | ||
326 | --start of mode-- | |
327 | enabledz = true | |
328 | function onKeyDownz(key) | |
329 | if not enabledz then return end | |
330 | enabledz = false | |
331 | Key = key:lower() | |
332 | if key == "b" and Mode.Value == 0 then | |
333 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire God Slayer Mode!") | |
334 | Mode.Value = 1 | |
335 | print("Mode 1") | |
336 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("Really black") | |
337 | Player.Character:FindFirstChild("FlameColor2").Value = BrickColor.new("Bright red") | |
338 | Force = Instance.new("ForceField",Player.Character) | |
339 | for i = 1,500 do | |
340 | Player.Character:FindFirstChild("FireDS").MaxHealth = math.huge | |
341 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 100 | |
342 | ||
343 | h = Instance.new("Part") | |
344 | h.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
345 | h.Size = Vector3.new(2,2,2) | |
346 | h.TopSurface = "Smooth" | |
347 | h.BottomSurface = "Smooth" | |
348 | h.Shape = "Block" | |
349 | h.Name = "MagicBrick" | |
350 | h.CanCollide = false | |
351 | h.Transparency = 0.6 | |
352 | h.Anchored = false | |
353 | h.Parent = Player.Character | |
354 | Weld = Instance.new("Weld") | |
355 | Weld.Parent = Player.Character:FindFirstChild("Left Arm") | |
356 | Weld.Part0 = Player.Character:FindFirstChild("Left Arm") | |
357 | Weld.Part1 = h | |
358 | Weld.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
359 | game.Debris:AddItem(h,0.1) | |
360 | ||
361 | lo = Instance.new("Part") | |
362 | lo.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
363 | lo.Size = Vector3.new(2,2,2) | |
364 | lo.TopSurface = "Smooth" | |
365 | lo.BottomSurface = "Smooth" | |
366 | lo.Shape = "Block" | |
367 | lo.Name = "MagicBrick" | |
368 | lo.CanCollide = false | |
369 | lo.Transparency = 0.6 | |
370 | lo.Anchored = false | |
371 | lo.Parent = Player.Character | |
372 | lo.CFrame = h.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
373 | game.Debris:AddItem(lo,0.1) | |
374 | ||
375 | ||
376 | ||
377 | ||
378 | ||
379 | ||
380 | ||
381 | ||
382 | ||
383 | b = Instance.new("Part") | |
384 | b.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
385 | b.Size = Vector3.new(2,2,2) | |
386 | b.TopSurface = "Smooth" | |
387 | b.BottomSurface = "Smooth" | |
388 | b.Shape = "Block" | |
389 | b.Name = "MagicBrick" | |
390 | b.CanCollide = false | |
391 | b.Transparency = 0.6 | |
392 | b.Anchored = false | |
393 | b.Parent = Player.Character | |
394 | Weld2 = Instance.new("Weld") | |
395 | Weld2.Parent = Player.Character:FindFirstChild("Right Arm") | |
396 | Weld2.Part0 = Player.Character:FindFirstChild("Right Arm") | |
397 | Weld2.Part1 = b | |
398 | Weld2.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
399 | game.Debris:AddItem(b,0.1) | |
400 | ||
401 | as = Instance.new("Part") | |
402 | as.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
403 | as.Size = Vector3.new(2,2,2) | |
404 | as.TopSurface = "Smooth" | |
405 | as.BottomSurface = "Smooth" | |
406 | as.Shape = "Block" | |
407 | as.Name = "MagicBrick" | |
408 | as.CanCollide = false | |
409 | as.Transparency = 0.6 | |
410 | as.Anchored = false | |
411 | as.Parent = Player.Character | |
412 | as.CFrame = b.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
413 | game.Debris:AddItem(as,0.1) | |
414 | ||
415 | wait(0.01) | |
416 | end | |
417 | Player.Character:FindFirstChild("FireDS").MaxHealth = 100 | |
418 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 20 | |
419 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("Bright red") | |
420 | Mode.Value = 0 | |
421 | Force:remove() | |
422 | end | |
423 | enabledz = true | |
424 | end | |
425 | Mouse.KeyDown:connect(onKeyDownz) | |
426 | ----end of mode--- | |
427 | ----START OF FIRE THROW---------- | |
428 | Right = Player.Character.Torso["Right Shoulder"] | |
429 | enabledzz = true | |
430 | function onKeyDownzz(key) | |
431 | if not enabledzz then return end | |
432 | enabledzz = false | |
433 | Key = key:lower() | |
434 | if key == "v" then | |
435 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire throw") | |
436 | for i = 1,6 do | |
437 | Right.C0 = Right.C0*CFrame.Angles(0,0,.26) | |
438 | wait(0.1) | |
439 | end | |
440 | l = Instance.new("Part") | |
441 | ||
442 | l.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
443 | l.Size = Vector3.new(5,5,5) | |
444 | l.TopSurface = "Smooth" | |
445 | l.BottomSurface = "Smooth" | |
446 | l.Shape = "Ball" | |
447 | l.Name = "MagicBrick" | |
448 | l.CanCollide = false | |
449 | l.Transparency = 0.98 | |
450 | l.Anchored = false | |
451 | l.Parent = Player.Character | |
452 | game.Debris:AddItem(l,7) | |
453 | l.CFrame = Player.Character:FindFirstChild("Right Arm").CFrame | |
454 | y = Instance.new("BodyVelocity") | |
455 | y.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
456 | y.velocity = Player.Character.Head.CFrame.lookVector*100 | |
457 | y.Parent = l | |
458 | ||
459 | function Hit(Part) | |
460 | Enab = true | |
461 | for i,v in pairs(Part.Parent:GetChildren()) do | |
462 | if v.ClassName == "Humanoid" and Part.Parent.Name ~= Player.Name and Enab == true then | |
463 | game.Debris:AddItem(l,0.0000000001) | |
464 | Enab = false | |
465 | v.Health = v.Health - 40 | |
466 | a = Instance.new("Part") | |
467 | a.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
468 | a.Size = Vector3.new(i,i,i) | |
469 | a.TopSurface = "Smooth" | |
470 | a.BottomSurface = "Smooth" | |
471 | a.Shape = "Ball" | |
472 | a.Name = "MagicBrick" | |
473 | a.CanCollide = false | |
474 | a.Transparency = i/40 | |
475 | a.Anchored = false | |
476 | a.Parent = Part.Parent | |
477 | game.Debris:AddItem(a,0.4) | |
478 | a.CFrame = Part.CFrame | |
479 | end | |
480 | end | |
481 | end | |
482 | l.Touched:connect(Hit) | |
483 | for i = 1,6 do | |
484 | Right.C0 = Right.C0*CFrame.Angles(0,0,-.26) | |
485 | wait(0.1) | |
486 | end | |
487 | for i = 1,100 do | |
488 | b = Instance.new("Part") | |
489 | b.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
490 | b.Size = Vector3.new(2,2,2) | |
491 | b.TopSurface = "Smooth" | |
492 | b.BottomSurface = "Smooth" | |
493 | b.Shape = "Block" | |
494 | b.Name = "MagicBrick" | |
495 | b.CanCollide = false | |
496 | b.Transparency = 0.6 | |
497 | b.Anchored = false | |
498 | b.Parent = Player.Character | |
499 | b.CFrame = l.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
500 | game.Debris:AddItem(b,0.1) | |
501 | ||
502 | wait(0.01) | |
503 | end | |
504 | ||
505 | ||
506 | game.Debris:AddItem(h,4) | |
507 | end | |
508 | enabledzz = true | |
509 | end | |
510 | Mouse.KeyDown:connect(onKeyDownzz) | |
511 | ----END OF FIRE THROW------ | |
512 | ||
513 | --START OF FIRE TRAIL---- | |
514 | enabledzzz = true | |
515 | function onKeyDownzzz(key) | |
516 | if not enabledzzz then return end | |
517 | enabledzzz = false | |
518 | Key = key:lower() | |
519 | if key == "f" then | |
520 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire trail") | |
521 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 150 | |
522 | for i = 1,150 do | |
523 | le = Instance.new("Part") | |
524 | le.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
525 | le.Size = Vector3.new(2,2,2) | |
526 | le.TopSurface = "Smooth" | |
527 | le.BottomSurface = "Smooth" | |
528 | le.Shape = "Block" | |
529 | le.Name = "MagicBrick" | |
530 | le.CanCollide = false | |
531 | le.Transparency = 0.5 | |
532 | le.Anchored = true | |
533 | le.Parent = Player.Character | |
534 | game.Debris:AddItem(l,7) | |
535 | le.CFrame = Player.Character:FindFirstChild("Torso").CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
536 | game.Debris:AddItem(le,2) | |
537 | ||
538 | function Hit(Part) | |
539 | for i,v in pairs(Part.Parent:GetChildren()) do | |
540 | if v.ClassName == "Humanoid" and Part.Parent.Name ~= Player.Name then | |
541 | v.Health = v.Health - 100 | |
542 | game.Debris:AddItem(le,0.1) | |
543 | end | |
544 | end | |
545 | end | |
546 | le.Touched:connect(Hit) | |
547 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 50 | |
548 | wait(0.01) | |
549 | end | |
550 | ||
551 | ||
552 | end | |
553 | enabledzzz = true | |
554 | end | |
555 | Mouse.KeyDown:connect(onKeyDownzzz) | |
556 | --end of fire trail--- | |
557 | ---DONT REMOVE PLEASE, Least you could do is leave credit--- | |
558 | Gu = Instance.new("SurfaceGui",Player.Character:FindFirstChild("Left Arm")) | |
559 | Gu.Face = "Left" | |
560 | Cre = Instance.new("TextButton",Gu) | |
561 | Cre.BackgroundTransparency = 1 | |
562 | Cre.BorderSizePixel = 0 | |
563 | Cre.Position = UDim2.new(0, -80,0, 0) | |
564 | Cre.Rotation = 90 | |
565 | Cre.Size = UDim2.new(0, 400,0, 800) | |
566 | Cre.Font = "Legacy" | |
567 | Cre.FontSize = "Size48" | |
568 | Cre.Text = "Ayy Kashy Tho" | |
569 | Cre.TextScaled = true | |
570 | Cre.TextStrokeTransparency = 0 | |
571 | ------------------------ | |
572 | ---Start of fire teleport--- | |
573 | enabledc = true | |
574 | function onKeyDownc(key) | |
575 | if not enabledc then return end | |
576 | enabledc = false | |
577 | Key = key:lower() | |
578 | if key == "t" then | |
579 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire teleport") | |
580 | Targ = CFrame.new(Vector3.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)) | |
581 | print("Tped") | |
582 | for i = 1, 50 do | |
583 | loz = Instance.new("Part") | |
584 | loz.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
585 | loz.Size = Vector3.new(2,2,2) | |
586 | loz.TopSurface = "Smooth" | |
587 | loz.BottomSurface = "Smooth" | |
588 | loz.Shape = "Block" | |
589 | loz.Name = "MagicBrick" | |
590 | loz.CanCollide = false | |
591 | loz.Transparency = 0.5 | |
592 | loz.Anchored = false | |
593 | loz.Parent = Player.Character | |
594 | loz.CFrame = Player.Character.Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
595 | game.Debris:AddItem(loz,0.1) | |
596 | ||
597 | lox = Instance.new("Part") | |
598 | lox.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
599 | lox.Size = Vector3.new(2,2,2) | |
600 | lox.TopSurface = "Smooth" | |
601 | lox.BottomSurface = "Smooth" | |
602 | lox.Shape = "Block" | |
603 | lox.Name = "MagicBrick" | |
604 | lox.CanCollide = false | |
605 | lox.Transparency = 0.5 | |
606 | lox.Anchored = false | |
607 | lox.Parent = Player.Character | |
608 | lox.CFrame = Player.Character.Head.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
609 | game.Debris:AddItem(lox,0.1) | |
610 | ||
611 | lov = Instance.new("Part") | |
612 | lov.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
613 | lov.Size = Vector3.new(2,2,2) | |
614 | lov.TopSurface = "Smooth" | |
615 | lov.BottomSurface = "Smooth" | |
616 | lov.Shape = "Block" | |
617 | lov.Name = "MagicBrick" | |
618 | lov.CanCollide = false | |
619 | lov.Transparency = 0.5 | |
620 | lov.Anchored = false | |
621 | lov.Parent = Player.Character | |
622 | lov.CFrame = Player.Character["Left Arm"].CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
623 | game.Debris:AddItem(lov,0.1) | |
624 | ||
625 | lon = Instance.new("Part") | |
626 | lon.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
627 | lon.Size = Vector3.new(2,2,2) | |
628 | lon.TopSurface = "Smooth" | |
629 | lon.BottomSurface = "Smooth" | |
630 | lon.Shape = "Block" | |
631 | lon.Name = "MagicBrick" | |
632 | lon.CanCollide = false | |
633 | lon.Transparency = 0.5 | |
634 | lon.Anchored = false | |
635 | lon.Parent = Player.Character | |
636 | lon.CFrame = Player.Character["Right Arm"].CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
637 | game.Debris:AddItem(lon,0.1) | |
638 | ||
639 | lof = Instance.new("Part") | |
640 | lof.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
641 | lof.Size = Vector3.new(2,2,2) | |
642 | lof.TopSurface = "Smooth" | |
643 | lof.BottomSurface = "Smooth" | |
644 | lof.Shape = "Block" | |
645 | lof.Name = "MagicBrick" | |
646 | lof.CanCollide = false | |
647 | lof.Transparency = 0.5 | |
648 | lof.Anchored = false | |
649 | lof.Parent = Player.Character | |
650 | lof.CFrame = Player.Character["Left Leg"].CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
651 | game.Debris:AddItem(lof,0.1) | |
652 | ||
653 | lor = Instance.new("Part") | |
654 | lor.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
655 | lor.Size = Vector3.new(2,2,2) | |
656 | lor.TopSurface = "Smooth" | |
657 | lor.BottomSurface = "Smooth" | |
658 | lor.Shape = "Block" | |
659 | lor.Name = "MagicBrick" | |
660 | lor.CanCollide = false | |
661 | lor.Transparency = 0.5 | |
662 | lor.Anchored = false | |
663 | lor.Parent = Player.Character | |
664 | lor.CFrame = Player.Character["Right Leg"].CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
665 | game.Debris:AddItem(lor,0.1) | |
666 | wait(0.001) | |
667 | end | |
668 | Player.Character.Torso.CFrame = Targ | |
669 | end | |
670 | enabledc = true | |
671 | end | |
672 | Mouse.KeyDown:connect(onKeyDownc) | |
673 | ---end of fire--- | |
674 | -- start of special attack-- | |
675 | enabledcc = true | |
676 | function onKeyDowncc(key) | |
677 | if not enabledcc then return end | |
678 | enabledcc = false | |
679 | Key = key:lower() | |
680 | if key == "g" and Mode.Value == 1 then | |
681 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire god slayer special move") | |
682 | Targ = CFrame.new(Vector3.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)) | |
683 | lez = Instance.new("Part") | |
684 | lez.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
685 | lez.Size = Vector3.new(50,35,50) | |
686 | Mesh = Instance.new("SpecialMesh",lez) | |
687 | Mesh.MeshType = "FileMesh" | |
688 | Mesh.MeshId = "http://www.roblox.com/asset/?id=112601269" | |
689 | Mesh.Scale = Vector3.new(20,20,20) | |
690 | lez.TopSurface = "Smooth" | |
691 | lez.BottomSurface = "Smooth" | |
692 | lez.Shape = "Ball" | |
693 | lez.Name = "MagicBrick" | |
694 | lez.CanCollide = false | |
695 | lez.Transparency = 0 | |
696 | lez.Anchored = false | |
697 | lez.Parent = Player.Character | |
698 | lez.CFrame = Player.Character:FindFirstChild("Torso").CFrame | |
699 | y = Instance.new("BodyVelocity") | |
700 | y.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
701 | y.velocity = Player.Character.Head.CFrame.lookVector*120 | |
702 | y.Parent = lez | |
703 | ||
704 | ||
705 | for i = 1, 100 do | |
706 | loy = Instance.new("Part") | |
707 | loy.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
708 | loy.Size = Vector3.new(20,20,20) | |
709 | loy.TopSurface = "Smooth" | |
710 | loy.BottomSurface = "Smooth" | |
711 | loy.Shape = "Block" | |
712 | loy.Name = "MagicBrick" | |
713 | loy.CanCollide = false | |
714 | loy.Transparency = 0.5 | |
715 | loy.Anchored = false | |
716 | loy.Parent = Player.Character | |
717 | loy.CFrame = lez.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
718 | game.Debris:AddItem(loy,0.1) | |
719 | ||
720 | function Hit(Part) | |
721 | for i,v in pairs(Part.Parent:GetChildren()) do | |
722 | if v.ClassName == "Humanoid" and Part.Parent.Name ~= Player.Name then | |
723 | v.Health = v.Health - 1000000000000 | |
724 | end | |
725 | end | |
726 | end | |
727 | loy.Touched:connect(Hit) | |
728 | ||
729 | wait(0.01) | |
730 | end | |
731 | game.Debris:AddItem(lez,1) | |
732 | end | |
733 | enabledcc = true | |
734 | end | |
735 | Mouse.KeyDown:connect(onKeyDowncc) | |
736 | -----end of special attack-- | |
737 | ------Golden Fire--------- | |
738 | enabledz = true | |
739 | function onKeyDownz(key) | |
740 | if not enabledz then return end | |
741 | enabledz = false | |
742 | Key = key:lower() | |
743 | if key == "n" and Mode.Value == 0 then | |
744 | game:GetService("Chat"):Chat(Player.Character.Head, "Golden Fire Slayer Mode!") | |
745 | Force = Instance.new("ForceField",Player.Character) | |
746 | Mode.Value = 2 | |
747 | print("Mode 2") | |
748 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("New Yeller") | |
749 | Player.Character:FindFirstChild("FlameColor2").Value = BrickColor.new("New Yeller") | |
750 | for i = 1,500 do | |
751 | Player.Character:FindFirstChild("FireDS").MaxHealth = math.huge | |
752 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 100 | |
753 | ||
754 | h = Instance.new("Part") | |
755 | h.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
756 | h.Size = Vector3.new(2,2,2) | |
757 | h.TopSurface = "Smooth" | |
758 | h.BottomSurface = "Smooth" | |
759 | h.Shape = "Block" | |
760 | h.Name = "MagicBrick" | |
761 | h.CanCollide = false | |
762 | h.Transparency = 0.6 | |
763 | h.Anchored = false | |
764 | h.Reflectance = 0.5 | |
765 | h.Parent = Player.Character | |
766 | Weld = Instance.new("Weld") | |
767 | Weld.Parent = Player.Character:FindFirstChild("Left Arm") | |
768 | Weld.Part0 = Player.Character:FindFirstChild("Left Arm") | |
769 | Weld.Part1 = h | |
770 | Weld.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
771 | game.Debris:AddItem(h,0.1) | |
772 | ||
773 | lo = Instance.new("Part") | |
774 | lo.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
775 | lo.Size = Vector3.new(2,2,2) | |
776 | lo.TopSurface = "Smooth" | |
777 | lo.BottomSurface = "Smooth" | |
778 | lo.Shape = "Block" | |
779 | lo.Name = "MagicBrick" | |
780 | lo.CanCollide = false | |
781 | lo.Reflectance = 0.5 | |
782 | lo.Transparency = 0.6 | |
783 | lo.Anchored = false | |
784 | lo.Parent = Player.Character | |
785 | lo.CFrame = h.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
786 | game.Debris:AddItem(lo,0.1) | |
787 | ||
788 | ||
789 | ||
790 | ||
791 | ||
792 | ||
793 | ||
794 | ||
795 | ||
796 | b = Instance.new("Part") | |
797 | b.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
798 | b.Size = Vector3.new(2,2,2) | |
799 | b.TopSurface = "Smooth" | |
800 | b.BottomSurface = "Smooth" | |
801 | b.Shape = "Block" | |
802 | b.Name = "MagicBrick" | |
803 | b.CanCollide = false | |
804 | b.Transparency = 0.6 | |
805 | b.Reflectance = 0.5 | |
806 | b.Anchored = false | |
807 | b.Parent = Player.Character | |
808 | Weld2 = Instance.new("Weld") | |
809 | Weld2.Parent = Player.Character:FindFirstChild("Right Arm") | |
810 | Weld2.Part0 = Player.Character:FindFirstChild("Right Arm") | |
811 | Weld2.Part1 = b | |
812 | Weld2.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
813 | game.Debris:AddItem(b,0.1) | |
814 | ||
815 | as = Instance.new("Part") | |
816 | as.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
817 | as.Size = Vector3.new(2,2,2) | |
818 | as.TopSurface = "Smooth" | |
819 | as.BottomSurface = "Smooth" | |
820 | as.Shape = "Block" | |
821 | as.Name = "MagicBrick" | |
822 | as.Reflectance = 0.5 | |
823 | as.CanCollide = false | |
824 | as.Transparency = 0.6 | |
825 | as.Anchored = false | |
826 | as.Parent = Player.Character | |
827 | as.CFrame = b.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
828 | game.Debris:AddItem(as,0.1) | |
829 | ||
830 | wait(0.01) | |
831 | end | |
832 | Player.Character:FindFirstChild("FireDS").MaxHealth = 100 | |
833 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 20 | |
834 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("Bright red") | |
835 | Mode.Value = 0 | |
836 | Force:remove() | |
837 | end | |
838 | enabledz = true | |
839 | end | |
840 | Mouse.KeyDown:connect(onKeyDownz) | |
841 | -----END OF GOLDEN FIRE | |
842 | ------Golden fire special move | |
843 | Right = Player.Character.Torso["Right Shoulder"] | |
844 | enabledzxzz = true | |
845 | function onKeyDownzxzz(key) | |
846 | if not enabledzxzz then return end | |
847 | enabledzxzz = false | |
848 | Key = key:lower() | |
849 | if key == "g" and Mode.Value == 2 then | |
850 | game:GetService("Chat"):Chat(Player.Character.Head, "Golden Fire Dragon Slayer Fire Throw") | |
851 | for i = 1,6 do | |
852 | Right.C0 = Right.C0*CFrame.Angles(0,0,.26) | |
853 | wait(0.1) | |
854 | end | |
855 | lac = Instance.new("Part") | |
856 | ||
857 | lac.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
858 | lac.Size = Vector3.new(50,50,50) | |
859 | lac.TopSurface = "Smooth" | |
860 | lac.BottomSurface = "Smooth" | |
861 | lac.Shape = "Ball" | |
862 | lac.Name = "MagicBrick" | |
863 | Meshz=Instance.new("SpecialMesh",lac) | |
864 | Meshz.MeshType = "FileMesh" | |
865 | Meshz.MeshId = "http://www.roblox.com/asset/?id=24478215" | |
866 | Meshz.Scale = Vector3.new(50,50,80) | |
867 | lac.CanCollide = false | |
868 | lac.Transparency = 0.4 | |
869 | lac.Reflectance = 0.5 | |
870 | lac.Anchored = false | |
871 | lac.Parent = Player.Character | |
872 | game.Debris:AddItem(lac,7) | |
873 | lac.CFrame = Player.Character:FindFirstChild("Right Arm").CFrame*CFrame.fromEulerAnglesXYZ(-1.5,0,0)*CFrame.new(0,0,-40) | |
874 | y = Instance.new("BodyVelocity") | |
875 | y.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
876 | y.velocity = Player.Character.Head.CFrame.lookVector*200 | |
877 | y.Parent = lac | |
878 | ||
879 | function Hit(Part) | |
880 | Enab = true | |
881 | for i,v in pairs(Part.Parent:GetChildren()) do | |
882 | if v.ClassName == "Humanoid" and Part.Parent.Name ~= Player.Name and Enab == true then | |
883 | game.Debris:AddItem(lac,0.0000000001) | |
884 | Enab = false | |
885 | v.Health = v.Health - 70 | |
886 | a = Instance.new("Part") | |
887 | a.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
888 | a.Size = Vector3.new(i,i,i) | |
889 | a.TopSurface = "Smooth" | |
890 | a.BottomSurface = "Smooth" | |
891 | a.Shape = "Ball" | |
892 | a.Name = "MagicBrick" | |
893 | a.CanCollide = false | |
894 | a.Transparency = i/40 | |
895 | a.Anchored = false | |
896 | a.Parent = Part.Parent | |
897 | game.Debris:AddItem(av,0.4) | |
898 | a.CFrame = Part.CFrame | |
899 | end | |
900 | end | |
901 | end | |
902 | lac.Touched:connect(Hit) | |
903 | for i = 1,6 do | |
904 | Right.C0 = Right.C0*CFrame.Angles(0,0,-.26) | |
905 | wait(0.1) | |
906 | end | |
907 | for i = 1,100 do | |
908 | bz = Instance.new("Part") | |
909 | bz.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
910 | bz.Size = Vector3.new(80,80,80) | |
911 | bz.TopSurface = "Smooth" | |
912 | bz.BottomSurface = "Smooth" | |
913 | bz.Shape = "Block" | |
914 | bz.Name = "MagicBrick" | |
915 | bz.CanCollide = false | |
916 | bz.Transparency = 0.6 | |
917 | bz.Reflectance = 0.4 | |
918 | bz.Anchored = false | |
919 | bz.Parent = Player.Character | |
920 | bz.CFrame =lac.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
921 | game.Debris:AddItem(bz,0.1) | |
922 | ||
923 | wait(0.01) | |
924 | end | |
925 | ||
926 | ||
927 | game.Debris:AddItem(h,4) | |
928 | end | |
929 | enabledzxzz = true | |
930 | end | |
931 | Mouse.KeyDown:connect(onKeyDownzxzz) | |
932 | ----End of golden fire special move | |
933 | ----Lighting fire dragon slayer-- | |
934 | enabledz = true | |
935 | function onKeyDownz(key) | |
936 | if not enabledz then return end | |
937 | enabledz = false | |
938 | Key = key:lower() | |
939 | if key == "m" and Mode.Value == 0 then | |
940 | game:GetService("Chat"):Chat(Player.Character.Head, "Fire Lightning dragon Slayer!") | |
941 | Mode.Value = 3 | |
942 | print("Mode 3") | |
943 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("Bright red") | |
944 | Player.Character:FindFirstChild("FlameColor2").Value = BrickColor.new("New Yeller") | |
945 | Force = Instance.new("ForceField",Player.Character) | |
946 | for i = 1,500 do | |
947 | Player.Character:FindFirstChild("FireDS").MaxHealth = math.huge | |
948 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 100 | |
949 | ||
950 | h = Instance.new("Part") | |
951 | h.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
952 | h.Size = Vector3.new(2,2,2) | |
953 | h.TopSurface = "Smooth" | |
954 | h.BottomSurface = "Smooth" | |
955 | h.Shape = "Block" | |
956 | h.Name = "MagicBrick" | |
957 | h.CanCollide = false | |
958 | h.Transparency = 0.6 | |
959 | h.Anchored = false | |
960 | h.Parent = Player.Character | |
961 | Weld = Instance.new("Weld") | |
962 | Weld.Parent = Player.Character:FindFirstChild("Left Arm") | |
963 | Weld.Part0 = Player.Character:FindFirstChild("Left Arm") | |
964 | Weld.Part1 = h | |
965 | Weld.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
966 | game.Debris:AddItem(h,0.1) | |
967 | ||
968 | lo = Instance.new("Part") | |
969 | lo.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
970 | lo.Size = Vector3.new(2,2,2) | |
971 | lo.TopSurface = "Smooth" | |
972 | lo.BottomSurface = "Smooth" | |
973 | lo.Shape = "Block" | |
974 | lo.Name = "MagicBrick" | |
975 | lo.CanCollide = false | |
976 | lo.Transparency = 0.6 | |
977 | lo.Anchored = false | |
978 | lo.Parent = Player.Character | |
979 | lo.CFrame = h.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
980 | game.Debris:AddItem(lo,0.1) | |
981 | ||
982 | ||
983 | ||
984 | ||
985 | ||
986 | ||
987 | ||
988 | ||
989 | ||
990 | b = Instance.new("Part") | |
991 | b.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
992 | b.Size = Vector3.new(2,2,2) | |
993 | b.TopSurface = "Smooth" | |
994 | b.BottomSurface = "Smooth" | |
995 | b.Shape = "Block" | |
996 | b.Name = "MagicBrick" | |
997 | b.CanCollide = false | |
998 | b.Transparency = 0.6 | |
999 | b.Anchored = false | |
1000 | b.Parent = Player.Character | |
1001 | Weld2 = Instance.new("Weld") | |
1002 | Weld2.Parent = Player.Character:FindFirstChild("Right Arm") | |
1003 | Weld2.Part0 = Player.Character:FindFirstChild("Right Arm") | |
1004 | Weld2.Part1 = b | |
1005 | Weld2.C1 = CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7))*CFrame.new(0,1.2,0) | |
1006 | game.Debris:AddItem(b,0.1) | |
1007 | ||
1008 | as = Instance.new("Part") | |
1009 | as.BrickColor = Player.Character:FindFirstChild("FlameColor").Value | |
1010 | as.Size = Vector3.new(2,2,2) | |
1011 | as.TopSurface = "Smooth" | |
1012 | as.BottomSurface = "Smooth" | |
1013 | as.Shape = "Block" | |
1014 | as.Name = "MagicBrick" | |
1015 | as.CanCollide = false | |
1016 | as.Transparency = 0.6 | |
1017 | as.Anchored = false | |
1018 | as.Parent = Player.Character | |
1019 | as.CFrame = b.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
1020 | game.Debris:AddItem(as,0.1) | |
1021 | --------LIGHTNING--------- | |
1022 | zed = Instance.new("Part") | |
1023 | zed.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
1024 | zed.Size = Vector3.new(1,1,1) | |
1025 | Mesh2 = Instance.new("SpecialMesh",zed) | |
1026 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=1271547" | |
1027 | Mesh2.MeshType = "FileMesh" | |
1028 | zed.TopSurface = "Smooth" | |
1029 | zed.BottomSurface = "Smooth" | |
1030 | zed.Shape = "Block" | |
1031 | zed.Name = "MagicBrick" | |
1032 | zed.CanCollide = false | |
1033 | zed.Reflectance = 0.6 | |
1034 | Mesh2.Scale = Vector3.new(math.random(0.1,1.5),math.random(0.1,1.5),math.random(0.1,1.5)) | |
1035 | zed.Transparency = 0.6 | |
1036 | zed.Anchored = true | |
1037 | zed.Parent = Player.Character | |
1038 | zed.CFrame = Player.Character["Right Arm"].CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-2.5,2.5),math.random(-2.5,2.5))*CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1039 | game.Debris:AddItem(zed,0.1) | |
1040 | ||
1041 | zedz = Instance.new("Part") | |
1042 | zedz.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
1043 | zedz.Size = Vector3.new(1,1,1) | |
1044 | Mesh3 = Instance.new("SpecialMesh",zedz) | |
1045 | Mesh3.MeshId = "http://www.roblox.com/asset/?id=1271547" | |
1046 | Mesh3.MeshType = "FileMesh" | |
1047 | zedz.TopSurface = "Smooth" | |
1048 | zedz.BottomSurface = "Smooth" | |
1049 | zedz.Shape = "Block" | |
1050 | zedz.Name = "MagicBrick" | |
1051 | zedz.CanCollide = false | |
1052 | zedz.Reflectance = 0.6 | |
1053 | Mesh3.Scale = Vector3.new(math.random(0.1,1.5),math.random(0.1,1.5),math.random(0.1,1.5)) | |
1054 | zedz.Transparency = 0.6 | |
1055 | zedz.Anchored = true | |
1056 | zedz.Parent = Player.Character | |
1057 | zedz.CFrame = Player.Character["Left Arm"].CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-2.5,2.5),math.random(-2.5,2.5))*CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1058 | game.Debris:AddItem(zedz,0.1) | |
1059 | ||
1060 | wait(0.01) | |
1061 | end | |
1062 | Player.Character:FindFirstChild("FireDS").MaxHealth = 100 | |
1063 | Player.Character:FindFirstChild("FireDS").WalkSpeed = 20 | |
1064 | Player.Character:FindFirstChild("FlameColor").Value = BrickColor.new("Bright red") | |
1065 | Mode.Value = 0 | |
1066 | Force:remove() | |
1067 | end | |
1068 | enabledz = true | |
1069 | end | |
1070 | Mouse.KeyDown:connect(onKeyDownz) | |
1071 | ----lightning fire dragon slayer end-- | |
1072 | ----Lighting ultiamte attack---- | |
1073 | ||
1074 | enabledb = true | |
1075 | xx = Instance.new("Part") | |
1076 | function onKeyDownb(key) | |
1077 | if not enabledb then return end | |
1078 | Key = key:lower() | |
1079 | if key == "g" and Mode.Value == 3 then | |
1080 | if Mouse.Target ~= nil then | |
1081 | for i,v in pairs(Mouse.Target.Parent:GetChildren()) do | |
1082 | if v:IsA("Humanoid") then | |
1083 | enabledb = false | |
1084 | game:GetService("Chat"):Chat(Player.Character.Head, "Ult") | |
1085 | Targ = Mouse.Target | |
1086 | xx.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
1087 | xx.Size = Vector3.new(1,1,1) | |
1088 | xx.TopSurface = "Smooth" | |
1089 | xx.BottomSurface = "Smooth" | |
1090 | xx.Shape = "Block" | |
1091 | xx.Name = "Main" | |
1092 | xx.CanCollide = false | |
1093 | xx.Transparency =0 | |
1094 | xx.Anchored = false | |
1095 | xx.Parent = Player.Character | |
1096 | xx.CFrame = Player.Character["Left Arm"].CFrame*CFrame.new(0, -1, 0) | |
1097 | Rock = Instance.new("RocketPropulsion") | |
1098 | Rock.Parent = xx | |
1099 | Rock.ThrustP = 10000 | |
1100 | Rock.Target = Targ.Parent:FindFirstChild("Torso") | |
1101 | Rock.TurnP = 10000 | |
1102 | Rock.TargetRadius = 5 | |
1103 | Rock.MaxSpeed = 170 | |
1104 | Rock.CartoonFactor = 1 | |
1105 | Rock:Fire() | |
1106 | print(Targ) | |
1107 | function Boom() | |
1108 | for i,v in pairs(Targ.Parent:GetChildren()) do | |
1109 | if v.Name == "Torso" and v.ClassName == "Part" then | |
1110 | v:remove() | |
1111 | game.Debris:AddItem(xx,1) | |
1112 | end | |
1113 | end | |
1114 | end | |
1115 | Rock.ReachedTarget:connect(Boom) | |
1116 | for i = 1,350 do | |
1117 | bx = Instance.new("Part") | |
1118 | bx.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
1119 | bx.Size = Vector3.new(4,4,4) | |
1120 | bx.TopSurface = "Smooth" | |
1121 | bx.BottomSurface = "Smooth" | |
1122 | bx.Shape = "Block" | |
1123 | bx.Name = "MagicBrick" | |
1124 | bx.CanCollide = false | |
1125 | bx.Transparency = 0.6 | |
1126 | bx.Anchored = false | |
1127 | bx.Parent = Player.Character | |
1128 | bx.CFrame = xx.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,7),math.random(1,7),math.random(1,7)) | |
1129 | game.Debris:AddItem(bx,0.1) | |
1130 | ||
1131 | zedd = Instance.new("Part") | |
1132 | zedd.BrickColor = Player.Character:FindFirstChild("FlameColor2").Value | |
1133 | zedd.Size = Vector3.new(1,1,1) | |
1134 | Mesh2 = Instance.new("SpecialMesh",zedd) | |
1135 | Mesh2.MeshId = "http://www.roblox.com/asset/?id=1271547" | |
1136 | Mesh2.MeshType = "FileMesh" | |
1137 | zedd.TopSurface = "Smooth" | |
1138 | zedd.BottomSurface = "Smooth" | |
1139 | zedd.Shape = "Block" | |
1140 | zedd.Name = "MagicBrick" | |
1141 | zedd.CanCollide = false | |
1142 | zedd.Reflectance = 0.6 | |
1143 | Mesh2.Scale = Vector3.new(math.random(0.1,1.5),math.random(0.1,1.5),math.random(0.1,1.5)) | |
1144 | zedd.Transparency = 0.6 | |
1145 | zedd.Anchored = true | |
1146 | zedd.Parent = Player.Character | |
1147 | zedd.CFrame = xx.CFrame*CFrame.new(math.random(-2.5,2.5),math.random(-2.5,2.5),math.random(-2.5,2.5))*CFrame.fromEulerAnglesXYZ(math.random(-1,1),math.random(-1,1),math.random(-1,1)) | |
1148 | game.Debris:AddItem(zedd,0.1) | |
1149 | wait(0.0001) | |
1150 | end | |
1151 | game.Debris:AddItem(xx,0.1) | |
1152 | enabledb = true | |
1153 | end | |
1154 | end | |
1155 | end | |
1156 | end | |
1157 | end | |
1158 | Mouse.KeyDown:connect(onKeyDownb) | |
1159 | -----END OF ULTIMATE ATTACK----- |