SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | player = game:GetService("Players").LocalPlayer | |
143 | chara = player.Character | |
144 | hitdude = nil | |
145 | debby = game:GetService("Debris") | |
146 | chara.Humanoid.MaxHealth = math.huge | |
147 | chara.Humanoid.Health = math.huge | |
148 | chara.Humanoid.JumpPower = 100 | |
149 | local moosek = 0 | |
150 | local prevthing = 0 | |
151 | local timeofday = "Day" | |
152 | taip = 2 | |
153 | ||
154 | --Objects-- | |
155 | local tool = Instance.new("Tool",player.Backpack) | |
156 | tool.Name = "Banned" | |
157 | tool.GripForward = Vector3.new(-1,0,0) | |
158 | tool.GripPos = Vector3.new(0,-2,0) | |
159 | tool.GripRight = Vector3.new(0,0,-1) | |
160 | tool.GripUp = Vector3.new(0,-1,0) | |
161 | tool.CanBeDropped = false | |
162 | local tool2 = Instance.new("Tool",player.Backpack) | |
163 | tool2.Name = "ban lol" | |
164 | tool2.GripForward = Vector3.new(0,0,-1) | |
165 | tool2.GripPos = Vector3.new(0.1,-2.2,0.1) | |
166 | tool2.GripRight = Vector3.new(1,0,0) | |
167 | tool2.GripUp = Vector3.new(0,1,0) | |
168 | tool2.CanBeDropped = false | |
169 | local handle = Instance.new("Part", tool) | |
170 | handle.Name = "Handle" | |
171 | handle.Size = Vector3.new(1,5,1) | |
172 | local mesh = Instance.new("SpecialMesh", handle) | |
173 | mesh.MeshId = "http://www.roblox.com/asset/?id=1339914843" | |
174 | mesh.TextureId = "http://www.roblox.com/asset/?id=1339915189" | |
175 | mesh.VertexColor = Vector3.new(0.7,0,1) | |
176 | local mesh2 = Instance.new("SpecialMesh", tool) | |
177 | mesh2.MeshId = "http://www.roblox.com/asset/?id=900715447" | |
178 | mesh2.TextureId = "http://www.roblox.com/asset/?id=900715773" | |
179 | mesh2.VertexColor = Vector3.new(0.7,0,1) | |
180 | mesh2.Scale = Vector3.new(-0.8,0.8,-0.8) | |
181 | mesh2.Offset = Vector3.new(1,0.5,0) | |
182 | local handle2 = Instance.new("Part", tool2) | |
183 | handle2.Name = "Handle" | |
184 | handle2.Size = Vector3.new(1,5,1) | |
185 | local mesh3 = Instance.new("SpecialMesh", handle2) | |
186 | mesh3.MeshId = "http://www.roblox.com/asset/?id=10604848" | |
187 | mesh3.TextureId = "http://www.roblox.com/asset/?id=10605252" | |
188 | mesh3.Scale = Vector3.new(0.6,1,0.6) | |
189 | mesh3.VertexColor = Vector3.new(0.7,0,1) | |
190 | local spt1 = NumberSequenceKeypoint.new(0,1,0) | |
191 | local spt2 = NumberSequenceKeypoint.new(.8,1,0) | |
192 | local spt3 = NumberSequenceKeypoint.new(1,0,0) | |
193 | local cpt1 = ColorSequenceKeypoint.new(0,BrickColor.new("Black").Color) | |
194 | local cpt2 = ColorSequenceKeypoint.new(1,BrickColor.new("Black").Color) | |
195 | local fira = Instance.new("ParticleEmitter",handle) | |
196 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
197 | fira.Color = ColorSequence.new({cpt1,cpt2}) | |
198 | fira.LightEmission = 1 | |
199 | fira.Lifetime = NumberRange.new(100) | |
200 | fira.Size = NumberSequence.new({spt1,spt2,spt3}) | |
201 | fira.Speed = NumberRange.new(0,0) | |
202 | fira.Rate = 10000 | |
203 | fira.RotSpeed = NumberRange.new(100,100) | |
204 | fira.Enabled = false | |
205 | local rpt1 = NumberSequenceKeypoint.new(0,1,0) | |
206 | local rpt2 = NumberSequenceKeypoint.new(1,0,0) | |
207 | local deffecto = Instance.new("ParticleEmitter",chara["Left Arm"]) | |
208 | deffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
209 | deffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
210 | deffecto.Rate = 10000 | |
211 | deffecto.Lifetime = NumberRange.new(100) | |
212 | deffecto.Size = NumberSequence.new({rpt1,rpt2}) | |
213 | deffecto.Speed = NumberRange.new(0,0) | |
214 | deffecto.RotSpeed = NumberRange.new(100,100) | |
215 | deffecto.Enabled = false | |
216 | local sspt1 = NumberSequenceKeypoint.new(0,0,0) | |
217 | local sspt2 = NumberSequenceKeypoint.new(1,10,0) | |
218 | local tspt1 = NumberSequenceKeypoint.new(0,0,0) | |
219 | local tspt2 = NumberSequenceKeypoint.new(1,1,0) | |
220 | local eeeffecto = Instance.new("ParticleEmitter",chara.Torso) | |
221 | eeeffecto.Texture = "http://www.roblox.com/asset/?id=31270182" | |
222 | eeeffecto.LightEmission = 1 | |
223 | eeeffecto.LockedToPart = true | |
224 | eeeffecto.Rate = 1 | |
225 | eeeffecto.Lifetime = NumberRange.new(5,5) | |
226 | eeeffecto.Size = NumberSequence.new({sspt1,sspt2}) | |
227 | eeeffecto.Transparency = NumberSequence.new({tspt1,tspt2}) | |
228 | eeeffecto.Speed = NumberRange.new(0,0) | |
229 | eeeffecto.RotSpeed = NumberRange.new(100,100) | |
230 | --local musictool = Instance.new("Tool",player.Backpack) | |
231 | --musictool.Name = "Music" | |
232 | --musictool.RequiresHandle = false | |
233 | --musictool.CanBeDropped = false | |
234 | --local taunttool = Instance.new("Tool",player.Backpack) | |
235 | --taunttool.Name = "Taunt" | |
236 | --taunttool.RequiresHandle = false | |
237 | --taunttool.CanBeDropped = false | |
238 | --local changetool = Instance.new("Tool",player.Backpack) | |
239 | --changetool.Name = "BAN MODE" | |
240 | --changetool.RequiresHandle = false | |
241 | --changetool.CanBeDropped = false | |
242 | ||
243 | local naeeym = Instance.new("BillboardGui",chara) | |
244 | naeeym.Size = UDim2.new(0,100,0,40) | |
245 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
246 | naeeym.Adornee = chara.Head | |
247 | local tecks = Instance.new("TextLabel",naeeym) | |
248 | tecks.BackgroundTransparency = 1 | |
249 | tecks.BorderSizePixel = 0 | |
250 | tecks.Text = "???" | |
251 | tecks.Font = "Fantasy" | |
252 | tecks.FontSize = "Size24" | |
253 | tecks.TextStrokeTransparency = 0 | |
254 | tecks.TextColor3 = Color3.new(0,0,0) | |
255 | tecks.TextStrokeColor3 = BrickColor.new("Black").Color | |
256 | tecks.Size = UDim2.new(1,0,0.5,0) | |
257 | fhandle = handle:clone() | |
258 | fhandle.CanCollide = false | |
259 | fhandle.Name = "FakeHandle" | |
260 | fhandle.Parent = chara | |
261 | local weld = Instance.new("Weld") | |
262 | weld.Name = "BackWeld" | |
263 | weld.Part0 = chara.Torso | |
264 | weld.Part1 = fhandle | |
265 | weld.C0 = CFrame.new(0,-.6,.4) | |
266 | weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(0),math.rad(80)) | |
267 | weld.Parent = fhandle | |
268 | fhandle2 = handle2:clone() | |
269 | fhandle2.CanCollide = false | |
270 | fhandle2.Name = "FakeHandle2" | |
271 | fhandle2.Parent = chara | |
272 | local weld2 = Instance.new("Weld") | |
273 | weld2.Name = "BackWeld" | |
274 | weld2.Part0 = chara.Torso | |
275 | weld2.Part1 = fhandle2 | |
276 | weld2.C0 = CFrame.new(0,-.6,.6) | |
277 | weld2.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60)) | |
278 | weld2.Parent = fhandle2 | |
279 | fhandle3 = handle2:clone() | |
280 | fhandle3.CanCollide = false | |
281 | fhandle3.Name = "FakeHandle3" | |
282 | fhandle3.Parent = chara | |
283 | fhandle3.BrickColor = BrickColor.new("Really black") | |
284 | fhandle3.Mesh.MeshId = "rbxasset://fonts/torso.mesh" | |
285 | fhandle3.Mesh.Offset = Vector3.new(0, 0.8, 0) | |
286 | fhandle3.Mesh.Scale = Vector3.new(0.05, 2.5, 0.3) | |
287 | fhandle3.Mesh.TextureId = "" | |
288 | local weld3 = Instance.new("Weld") | |
289 | weld3.Name = "BackWeld" | |
290 | weld3.Part0 = chara.Torso | |
291 | weld3.Part1 = fhandle3 | |
292 | weld3.C0 = CFrame.new(0,-.6,.6) | |
293 | weld3.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60)) | |
294 | weld3.Parent = fhandle3 | |
295 | ||
296 | local orbuu = Instance.new("Part", chara) | |
297 | orbuu.Size = Vector3.new(1,1,1) | |
298 | orbuu.Name = "Diamond" | |
299 | orbuu.Anchored = true | |
300 | orbuu.CanCollide = false | |
301 | orbuu.BrickColor = BrickColor.new("Really black") | |
302 | local meshooo = Instance.new("SpecialMesh", orbuu) | |
303 | meshooo.MeshType = "FileMesh" | |
304 | meshooo.MeshId = "http://www.roblox.com/asset/?id=1318273549" | |
305 | local RotationSpeed = 2 | |
306 | local BobSpeed = 1 | |
307 | local RotationDist = Vector3.new(5, 0, 0) | |
308 | local dt = 0 | |
309 | local currentTime = 0 | |
310 | ||
311 | local enablehit = Instance.new("BoolValue", tool) | |
312 | enablehit.Value = false | |
313 | local didhit = Instance.new("BoolValue", tool) | |
314 | didhit.Value = false | |
315 | local dreadecl = Instance.new("BoolValue", tool) | |
316 | dreadecl.Value = false | |
317 | local zanny = Instance.new("BoolValue", tool2) | |
318 | zanny.Value = false | |
319 | local revoruva = Instance.new("BoolValue", tool) | |
320 | revoruva.Value = false | |
321 | local blawk = Instance.new("BoolValue", tool2) | |
322 | blawk.Value = false | |
323 | local enablehit2 = Instance.new("BoolValue", tool) | |
324 | enablehit2.Value = false | |
325 | local didhit2 = Instance.new("BoolValue", tool) | |
326 | didhit2.Value = false | |
327 | ||
328 | local equipanim = Instance.new("Animation", tool) | |
329 | equipanim.AnimationId = "http://www.roblox.com/asset/?id=66702743" | |
330 | local scytheanim = Instance.new("Animation", tool) | |
331 | scytheanim.AnimationId = "http://www.roblox.com/asset/?id=96065457" | |
332 | local scytheleft = Instance.new("Animation", tool) | |
333 | scytheleft.AnimationId = "http://www.roblox.com/asset/?id=184573779" | |
334 | local scytheright = Instance.new("Animation", tool) | |
335 | scytheright.AnimationId = "http://www.roblox.com/asset/?id=184573748" | |
336 | local scythedown = Instance.new("Animation", tool) | |
337 | scythedown.AnimationId = "http://www.roblox.com/asset/?id=94160738" | |
338 | local swordabsorb = Instance.new("Animation", tool) | |
339 | swordabsorb.AnimationId = "http://www.roblox.com/asset/?id=83994319" | |
340 | local swordstab = Instance.new("Animation", tool) | |
341 | swordstab.AnimationId = "http://www.roblox.com/asset/?id=54504034" | |
342 | local stormv = Instance.new("Animation", tool) | |
343 | stormv.AnimationId = "http://www.roblox.com/asset/?id=184574340" | |
344 | local blasta = Instance.new("Animation", tool) | |
345 | blasta.AnimationId = "http://www.roblox.com/asset/?id=86504773" | |
346 | local equipanim2 = Instance.new("Animation", tool) | |
347 | equipanim2.AnimationId = "http://www.roblox.com/asset/?id=184572142" | |
348 | local kickanim = Instance.new("Animation", tool) | |
349 | kickanim.AnimationId = "http://www.roblox.com/asset/?id=45738282" | |
350 | local katsla1 = Instance.new("Animation", tool2) | |
351 | katsla1.AnimationId = "http://www.roblox.com/asset/?id=93060724" | |
352 | local katsla2 = Instance.new("Animation", tool2) | |
353 | katsla2.AnimationId = "http://www.roblox.com/asset/?id=93060716" | |
354 | local katsla3 = Instance.new("Animation", tool2) | |
355 | katsla3.AnimationId = "http://www.roblox.com/asset/?id=93060712" | |
356 | local katsla4 = Instance.new("Animation", tool2) | |
357 | katsla4.AnimationId = "http://www.roblox.com/asset/?id=93060709" | |
358 | ||
359 | local equipa = chara.Humanoid:LoadAnimation(equipanim) | |
360 | local scythea = chara.Humanoid:LoadAnimation(scytheanim) | |
361 | local scytheal = chara.Humanoid:LoadAnimation(scytheleft) | |
362 | local scythear = chara.Humanoid:LoadAnimation(scytheright) | |
363 | local scythead = chara.Humanoid:LoadAnimation(scythedown) | |
364 | local swordabs = chara.Humanoid:LoadAnimation(swordabsorb) | |
365 | local swordstb = chara.Humanoid:LoadAnimation(swordstab) | |
366 | local stormvip = chara.Humanoid:LoadAnimation(stormv) | |
367 | local blastanim = chara.Humanoid:LoadAnimation(blasta) | |
368 | local equipa2 = chara.Humanoid:LoadAnimation(equipanim2) | |
369 | local kicka = chara.Humanoid:LoadAnimation(kickanim) | |
370 | local ktsl1 = chara.Humanoid:LoadAnimation(katsla1) | |
371 | local ktsl2 = chara.Humanoid:LoadAnimation(katsla2) | |
372 | local ktsl3 = chara.Humanoid:LoadAnimation(katsla3) | |
373 | local ktsl4 = chara.Humanoid:LoadAnimation(katsla4) | |
374 | ||
375 | local swordequip = Instance.new("Sound", tool) | |
376 | swordequip.SoundId = "rbxasset://sounds/unsheath.wav" | |
377 | swordequip.PlaybackSpeed = 0.6 | |
378 | swordequip.Volume = 1 | |
379 | local chargesound = Instance.new("Sound", tool) | |
380 | chargesound.SoundId = "http://www.roblox.com/asset/?id=136007472" | |
381 | chargesound.PlaybackSpeed = 0.6 | |
382 | chargesound.Volume = 1 | |
383 | local swordsound = Instance.new("Sound", tool) | |
384 | swordsound.SoundId = "rbxasset://sounds/swordlunge.wav" | |
385 | swordsound.PlaybackSpeed = 0.6 | |
386 | swordsound.Volume = 1 | |
387 | local swordland = Instance.new("Sound", tool) | |
388 | swordland.SoundId = "http://www.roblox.com/asset/?id=743521272" | |
389 | swordland.PlaybackSpeed = 0.5 | |
390 | swordland.Volume = 1 | |
391 | local scytheland = Instance.new("Sound", tool) | |
392 | scytheland.SoundId = "http://www.roblox.com/asset/?id=325507105" | |
393 | scytheland.PlaybackSpeed = 0.265 | |
394 | scytheland.Volume = 1 | |
395 | local finalhits1 = Instance.new("Sound", tool) | |
396 | finalhits1.SoundId = "http://www.roblox.com/asset/?id=62339698" | |
397 | finalhits1.PlaybackSpeed = 0.3 | |
398 | finalhits1.Volume = 1 | |
399 | local finalhits2 = Instance.new("Sound", tool) | |
400 | finalhits2.SoundId = "http://www.roblox.com/asset/?id=614345289" | |
401 | finalhits2.PlaybackSpeed = 0.3 | |
402 | finalhits2.Volume = 1 | |
403 | local blasts = Instance.new("Sound", tool) | |
404 | blasts.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
405 | blasts.PlaybackSpeed = .5 | |
406 | blasts.Volume = 1 | |
407 | local katanaslash = Instance.new("Sound", tool) | |
408 | katanaslash.SoundId = "http://www.roblox.com/asset/?id=1212307103" | |
409 | katanaslash.PlaybackSpeed = 0.8 | |
410 | katanaslash.Volume = 1 | |
411 | local foxs = Instance.new("Sound", tool) | |
412 | foxs.SoundId = "http://www.roblox.com/asset/?id=190885267" | |
413 | foxs.PlaybackSpeed = 1 | |
414 | foxs.Volume = 1 | |
415 | local music1 = Instance.new("Sound", chara.Torso) | |
416 | music1.SoundId = "http://www.roblox.com/asset/?id=971457500" | |
417 | music1.PlaybackSpeed = 1 | |
418 | music1.Volume = 1 | |
419 | music1.Looped = true | |
420 | local music2 = Instance.new("Sound", chara.Torso) | |
421 | music2.SoundId = "http://www.roblox.com/asset/?id=1119237438" | |
422 | music2.PlaybackSpeed = 1 | |
423 | music2.Volume = 1 | |
424 | music2.Looped = true | |
425 | local music3 = Instance.new("Sound", chara.Torso) | |
426 | music3.SoundId = "http://www.roblox.com/asset/?id=270280094" | |
427 | music3.PlaybackSpeed = 1 | |
428 | music3.Volume = 1 | |
429 | music3.Looped = true | |
430 | ||
431 | function scythehold() | |
432 | tool.GripForward = Vector3.new(-1,0,0) | |
433 | tool.GripPos = Vector3.new(0,-2,0) | |
434 | tool.GripRight = Vector3.new(0,0,-1) | |
435 | tool.GripUp = Vector3.new(0,-1,0) | |
436 | end | |
437 | function posslashleft() | |
438 | tool.GripForward = Vector3.new(1,0,0) | |
439 | tool.GripPos = Vector3.new(0,-4,0) | |
440 | tool.GripRight = Vector3.new(0,1,0) | |
441 | tool.GripUp = Vector3.new(0,0,-1) | |
442 | end | |
443 | function posslashright() | |
444 | tool.GripForward = Vector3.new(-1,0,0) | |
445 | tool.GripPos = Vector3.new(0,-4,0) | |
446 | tool.GripRight = Vector3.new(0,1,0) | |
447 | tool.GripUp = Vector3.new(0,0,1) | |
448 | end | |
449 | function posslashdown() | |
450 | tool.GripForward = Vector3.new(0,1,-.5) | |
451 | tool.GripPos = Vector3.new(0,-4,0) | |
452 | tool.GripRight = Vector3.new(0,0,1) | |
453 | tool.GripUp = Vector3.new(-1,0,0) | |
454 | end | |
455 | function regularswordpos() | |
456 | tool.GripForward = Vector3.new(-1,0,0) | |
457 | tool.GripPos = Vector3.new(0,-2,0) | |
458 | tool.GripRight = Vector3.new(0,0,-1) | |
459 | tool.GripUp = Vector3.new(0,-1,0) | |
460 | end | |
461 | function absorbswordm() | |
462 | tool.GripForward = Vector3.new(1,1,0) | |
463 | tool.GripPos = Vector3.new(0,-2,0) | |
464 | tool.GripRight = Vector3.new(0,0,1) | |
465 | tool.GripUp = Vector3.new(-1,1,0) | |
466 | end | |
467 | function createblack(part) | |
468 | local pt1 = NumberSequenceKeypoint.new(0,1,0) | |
469 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
470 | local effecto = Instance.new("ParticleEmitter",part) | |
471 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
472 | effecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
473 | effecto.Rate = 10000 | |
474 | effecto.Lifetime = NumberRange.new(100) | |
475 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
476 | effecto.Speed = NumberRange.new(0,0) | |
477 | effecto.RotSpeed = NumberRange.new(100,100) | |
478 | end | |
479 | function createhugeblack(part) | |
480 | local pt1 = NumberSequenceKeypoint.new(0,10,0) | |
481 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
482 | local effecto = Instance.new("ParticleEmitter",part) | |
483 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
484 | effecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
485 | effecto.Rate = 10000 | |
486 | effecto.Lifetime = NumberRange.new(100) | |
487 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
488 | effecto.Speed = NumberRange.new(0,0) | |
489 | effecto.RotSpeed = NumberRange.new(100,100) | |
490 | end | |
491 | ||
492 | createblack(orbuu) | |
493 | orbuu.ParticleEmitter.Color = ColorSequence.new(Color3.new(9,0,0)) | |
494 | orbuu.ParticleEmitter.LightEmission = 1 | |
495 | --Spell Circle-- | |
496 | ||
497 | Void = nil | |
498 | VoidParts = {} | |
499 | Equipped = false | |
500 | ||
501 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
502 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
503 | end | |
504 | ||
505 | Player = player | |
506 | Character = chara | |
507 | ||
508 | Humanoid = Character:FindFirstChild("Humanoid") | |
509 | Torso = Character:FindFirstChild("Torso") | |
510 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
511 | return | |
512 | end | |
513 | Equipped = true | |
514 | Void = Instance.new("Model") | |
515 | Void.Name = "Void" | |
516 | Angle = 0 | |
517 | for i = 1, 1 do | |
518 | local VoidPart = Instance.new("Part") | |
519 | VoidPart.Name = "VoidPart" | |
520 | VoidPart.Transparency = 1 | |
521 | VoidPart.BrickColor = BrickColor.new("Really black") | |
522 | VoidPart.Material = Enum.Material.Plastic | |
523 | VoidPart.Shape = Enum.PartType.Block | |
524 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
525 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
526 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
527 | VoidPart.Anchored = true | |
528 | VoidPart.CanCollide = false | |
529 | VoidPart.Locked = true | |
530 | VoidPart.Size = Vector3.new(10, 0.2, 10) | |
531 | local BlockMesh = Instance.new("BlockMesh") | |
532 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
533 | BlockMesh.Parent = VoidPart | |
534 | VoidPart.Parent = Void | |
535 | local Star = Instance.new("Decal", VoidPart) | |
536 | Star.Texture = "http://www.roblox.com/asset/?id=31270182" | |
537 | Star.Face = "Top" | |
538 | local Light = Instance.new("PointLight", VoidPart) | |
539 | Light.Color = Color3.new(0,0,0) | |
540 | Light.Brightness = 100 | |
541 | Light.Range = 10 | |
542 | table.insert(VoidParts, VoidPart) | |
543 | end | |
544 | Spawn(function() | |
545 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do | |
546 | if Angle == 360 then | |
547 | Angle = 0 | |
548 | end | |
549 | Angle = Angle + 0.05 | |
550 | chara.Humanoid.MaxHealth = math.huge | |
551 | chara.Humanoid.Health = math.huge | |
552 | local parentPos = chara.Torso.CFrame | |
553 | --Rotate Fluffy around the player's head | |
554 | local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0) | |
555 | local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0) | |
556 | orbuu.CFrame = ((parentPos + bob) + (rotation * RotationDist)) | |
557 | --Wait some time so we aren't going plaid | |
558 | dt, currentTime = wait(1/40) | |
559 | local cheeed = chara:GetChildren() | |
560 | for i = 1, #cheeed do | |
561 | if cheeed[i].ClassName == "Part" then | |
562 | if cheeed[i].Name ~= "Right Arm" and cheeed[i].Name ~= "Left Arm" and cheeed[i].Name ~= "Right Leg" and cheeed[i].Name ~= "Left Leg" and cheeed[i].Name ~= "Torso" and cheeed[i].Name ~= "HumanoidRootPart" and cheeed[i].Name ~= "Head" and cheeed[i].Name ~= "FakeHandle" and cheeed[i].Name ~= "FakeHandle2" and cheeed[i].Name ~= "FakeHandle3" and cheeed[i].Name ~= "Diamond" then | |
563 | cheeed[i]:Destroy() | |
564 | else end | |
565 | end | |
566 | end | |
567 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
568 | if Hit then | |
569 | if not Void.Parent then | |
570 | Void.Parent = Character | |
571 | end | |
572 | for i, v in pairs(VoidParts) do | |
573 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
574 | end | |
575 | else | |
576 | Void.Parent = nil | |
577 | end | |
578 | wait() | |
579 | end | |
580 | end) | |
581 | ||
582 | --Now the real stuff!-- | |
583 | ||
584 | function chat(string) | |
585 | --ch = game:GetService("Chat"):Chat(chara.Head, string, "Red") | |
586 | if chara:FindFirstChild("TalkingBillBoard") ~= nil then | |
587 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
588 | end | |
589 | local naeeym2 = Instance.new("BillboardGui",chara) | |
590 | naeeym2.Size = UDim2.new(0,100,0,40) | |
591 | naeeym2.StudsOffset = Vector3.new(0,4,0) | |
592 | naeeym2.Adornee = chara.Head | |
593 | naeeym2.Name = "TalkingBillBoard" | |
594 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
595 | tecks2.BackgroundTransparency = 1 | |
596 | tecks2.BorderSizePixel = 0 | |
597 | tecks2.Text = string | |
598 | tecks2.Font = "Fantasy" | |
599 | tecks2.FontSize = "Size24" | |
600 | tecks2.TextStrokeTransparency = 0 | |
601 | tecks2.TextColor3 = Color3.new(0,0,0) | |
602 | tecks2.TextStrokeColor3 = BrickColor.new("Black").Color | |
603 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
604 | debby:AddItem(naeeym2,1) | |
605 | end | |
606 | ||
607 | function createorb(origin,target) | |
608 | local orb = Instance.new("Part", game.Workspace) | |
609 | orb.Shape = "Ball" | |
610 | orb.CanCollide = false | |
611 | orb.Size = Vector3.new(1,1,1) | |
612 | orb.BrickColor = BrickColor.new("Black") | |
613 | orb.Material = "Neon" | |
614 | orb.Position = origin.Position | |
615 | orb.Velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
616 | local firr = Instance.new("Fire", orb) | |
617 | firr.Color = Color3.new(255,255,255) | |
618 | firr.SecondaryColor = Color3.new(0,0,0) | |
619 | firr.Size = 2 | |
620 | local gotoforce = Instance.new("BodyPosition", orb) | |
621 | gotoforce.Position = target.Position | |
622 | debby:AddItem(orb,1) | |
623 | end | |
624 | ||
625 | function kicktouch(hit) | |
626 | if revoruva.Value == true then | |
627 | if hit ~= nil and hit.Parent:FindFirstChild("kicko") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
628 | swordland:Play() | |
629 | hitdude = hit.Parent | |
630 | valood = Instance.new("NumberValue", hit.Parent) | |
631 | valood.Name = "kicko" | |
632 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 500 | |
633 | hitdude.Humanoid.PlatformStand = true | |
634 | faws = Instance.new("BodyVelocity", hit.Parent.Torso) | |
635 | faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 20 | |
636 | wait(.5) | |
637 | hitdude.Humanoid.PlatformStand = false | |
638 | valood:Destroy() | |
639 | faws:Destroy() | |
640 | end | |
641 | end | |
642 | end | |
643 | ||
644 | function onTouched(hit) | |
645 | --EENFERNOH DEEVAIDER!-- | |
646 | if dreadecl.Value == true then | |
647 | if hit ~= nil and hit.Parent:FindFirstChild("dreaded") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
648 | finalhits1:Play() | |
649 | hitdude = hit.Parent | |
650 | valood = Instance.new("NumberValue", hit.Parent) | |
651 | valood.Name = "dreaded" | |
652 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 300 | |
653 | hitdude.Humanoid.PlatformStand = true | |
654 | faws = Instance.new("BodyVelocity", hit.Parent.Torso) | |
655 | faws.Velocity = Vector3.new(0,50,0) | |
656 | wait(1) | |
657 | hitdude.Humanoid.PlatformStand = false | |
658 | valood:Destroy() | |
659 | faws:Destroy() | |
660 | end | |
661 | end | |
662 | --BLEK AWNSLOT!-- | |
663 | if enablehit.Value == true then | |
664 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
665 | swordland:play() | |
666 | didhit.Value = true | |
667 | enablehit.Value = false | |
668 | hitdude = hit.Parent | |
669 | if hitdude.Name == "grgrgry21" then | |
670 | chat("Woops, srry that was mine test...") | |
671 | elseif hitdude then | |
672 | chat("Sorry, but you need to die so you can go to heaven.") | |
673 | end | |
674 | hitdude.Humanoid.Health = 80 | |
675 | hitdude.Humanoid.MaxHealth = 1000 | |
676 | hitdude.Humanoid.PlatformStand = true | |
677 | hitdude.Humanoid.WalkSpeed = 0 | |
678 | chara.Humanoid.WalkSpeed = 0 | |
679 | if hitdude:FindFirstChild("Torso") ~= nil then | |
680 | hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5) | |
681 | local standstill = Instance.new("BodyPosition", hitdude.Torso) | |
682 | standstill.Position = hitdude.Torso.Position | |
683 | end | |
684 | if hitdude:FindFirstChild("Left Arm") ~= nil then | |
685 | hitdude["Left Arm"]:destroy() | |
686 | end | |
687 | if hitdude:FindFirstChild("Right Arm") ~= nil then | |
688 | hitdude["Right Arm"]:destroy() | |
689 | end | |
690 | wait(1) | |
691 | chat("Void hell") | |
692 | swordequip:play() | |
693 | swordabs:Stop() | |
694 | scythea:Play() | |
695 | fira.Enabled = true | |
696 | --fira.Size = 5 | |
697 | mesh.Parent = tool | |
698 | mesh2.Parent = handle | |
699 | wait(1) | |
700 | scythea:Stop() | |
701 | posslashleft() | |
702 | for i = 1,2 do | |
703 | handle.CanCollide = true | |
704 | scytheland:play() | |
705 | scytheal:Play() | |
706 | posslashleft() | |
707 | swordsound:play() | |
708 | swordland:play() | |
709 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 28 | |
710 | createorb(hitdude.Torso,chara.Torso) | |
711 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
712 | --fira.Size = fira.Size + .7 | |
713 | wait(0.4) | |
714 | scytheal:Stop() | |
715 | scythear:Play() | |
716 | posslashright() | |
717 | swordsound:play() | |
718 | swordland:play() | |
719 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 29 | |
720 | createorb(hitdude.Torso,chara.Torso) | |
721 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
722 | --fira.Size = fira.Size + .8 | |
723 | wait(0.4) | |
724 | handle.CanCollide = false | |
725 | scythear:Stop() | |
726 | scythead:Play() | |
727 | posslashdown() | |
728 | swordsound:play() | |
729 | swordland:play() | |
730 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 30 | |
731 | createorb(hitdude.Torso,chara.Torso) | |
732 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
733 | --fira.Size = fira.Size + .9 | |
734 | wait(0.4) | |
735 | scythead:Stop() | |
736 | end | |
737 | chat("Hell Reign!") | |
738 | mesh2.Parent = tool | |
739 | mesh.Parent = handle | |
740 | chargesound:play() | |
741 | swordabs:Play() | |
742 | absorbswordm() | |
743 | for i = 1, 4 do | |
744 | wait(.25) | |
745 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
746 | createorb(hitdude.Torso,handle) | |
747 | --fira.Size = fira.Size + 1 | |
748 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
749 | finalhits2:play() | |
750 | end | |
751 | regularswordpos() | |
752 | swordabs:Stop() | |
753 | swordstb:Play() | |
754 | for i = 1, 4 do | |
755 | wait(.25) | |
756 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 35 | |
757 | createorb(hitdude.Torso,handle) | |
758 | --fira.Size = fira.Size + 1 | |
759 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
760 | finalhits2:play() | |
761 | end | |
762 | chat("DED") | |
763 | finalhits1:play() | |
764 | finalhits2:play() | |
765 | hitdude.Humanoid.Health = 0.0001 | |
766 | local childs = hitdude:GetChildren() | |
767 | for i=1,#childs do | |
768 | if (childs[i].className == "Part") then | |
769 | childs[i].BrickColor = BrickColor.new("Really black") | |
770 | childs[i]:BreakJoints() | |
771 | local b = Instance.new("BodyVelocity") | |
772 | b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
773 | b.maxForce = Vector3.new(1e5,1e5,1e5) | |
774 | b.Parent = childs[i] | |
775 | createblack(childs[i]) | |
776 | end | |
777 | end | |
778 | wait(2) | |
779 | if hitdude.Name == "grgrgry21" then | |
780 | chat("I'm sorry...") | |
781 | elseif hitdude then | |
782 | chat("RIP") | |
783 | end | |
784 | wait(1) | |
785 | tool.Enabled = true | |
786 | didhit.Value = false | |
787 | fira.Enabled = false | |
788 | chara.Humanoid.WalkSpeed = 50 | |
789 | end | |
790 | end | |
791 | end | |
792 | ||
793 | function onTouched2(hit) | |
794 | if zanny.Value == true then | |
795 | if hit ~= nil and hit.Parent:FindFirstChild("zanned") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
796 | hitdude = hit.Parent | |
797 | valood = Instance.new("NumberValue", hit.Parent) | |
798 | valood.Name = "zanned" | |
799 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 15 | |
800 | faws = Instance.new("BodyVelocity", hit.Parent.Torso) | |
801 | faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 1 | |
802 | wait(.3) | |
803 | valood:Destroy() | |
804 | faws:Destroy() | |
805 | end | |
806 | else end | |
807 | if blawk.Value == true then | |
808 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
809 | blawk.Value = false | |
810 | chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*20) | |
811 | tool2.Enabled = false | |
812 | hitdude = hit.Parent | |
813 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 50 | |
814 | hitdude.Torso.Anchored = true | |
815 | chat("Go to void...") | |
816 | ktsl1:Play() | |
817 | local sspt1 = NumberSequenceKeypoint.new(0,1,0) | |
818 | local sspt2 = NumberSequenceKeypoint.new(1,0,0) | |
819 | local ddeffecto = Instance.new("ParticleEmitter",hitdude.Torso) | |
820 | ddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
821 | ddeffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
822 | ddeffecto.Rate = 10000 | |
823 | ddeffecto.Lifetime = NumberRange.new(100) | |
824 | ddeffecto.Size = NumberSequence.new({sspt1,sspt2}) | |
825 | ddeffecto.Speed = NumberRange.new(50,50) | |
826 | ddeffecto.RotSpeed = NumberRange.new(100,100) | |
827 | ddeffecto.VelocitySpread = 50 | |
828 | ddeffecto.EmissionDirection = "Front" | |
829 | finalhits1:Play() | |
830 | finalhits2:Play() | |
831 | wait(1) | |
832 | ddeffecto:Destroy() | |
833 | scythea:Stop() | |
834 | ktsl1:Stop() | |
835 | hitdude.Torso.Anchored = false | |
836 | chara.Humanoid.WalkSpeed = 50 | |
837 | tool2.Enabled = true | |
838 | end | |
839 | end | |
840 | if enablehit2.Value == true then | |
841 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
842 | scythea:Stop() | |
843 | finalhits2:play() | |
844 | didhit2.Value = true | |
845 | enablehit2.Value = false | |
846 | hitdude = hit.Parent | |
847 | if hitdude.Name == "grgrgry21" then | |
848 | chat("I'm sorry, Player.") | |
849 | elseif hitdude then | |
850 | chat("Haha, how unfortunate.") | |
851 | end | |
852 | hitdude.Humanoid.Health = 100 | |
853 | hitdude.Humanoid.MaxHealth = 1000 | |
854 | hitdude.Humanoid.PlatformStand = true | |
855 | hitdude.Humanoid.WalkSpeed = 0 | |
856 | chara.Humanoid.WalkSpeed = 0 | |
857 | if hitdude:FindFirstChild("Torso") ~= nil then | |
858 | createblack(hitdude.Torso) | |
859 | hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5) | |
860 | local standstill = Instance.new("BodyPosition", hitdude.Torso) | |
861 | standstill.Position = hitdude.Torso.Position | |
862 | end | |
863 | if hitdude:FindFirstChild("Left Arm") ~= nil then | |
864 | hitdude["Left Arm"]:destroy() | |
865 | end | |
866 | if hitdude:FindFirstChild("Right Arm") ~= nil then | |
867 | hitdude["Right Arm"]:destroy() | |
868 | end | |
869 | wait(1) | |
870 | local ssspt1 = NumberSequenceKeypoint.new(0,1,0) | |
871 | local ssspt2 = NumberSequenceKeypoint.new(1,0,0) | |
872 | local dddeffecto = Instance.new("ParticleEmitter",hitdude.Torso) | |
873 | dddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
874 | dddeffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
875 | dddeffecto.Rate = 10000 | |
876 | dddeffecto.Lifetime = NumberRange.new(100) | |
877 | dddeffecto.Size = NumberSequence.new({ssspt1,ssspt2}) | |
878 | dddeffecto.Speed = NumberRange.new(50,50) | |
879 | dddeffecto.RotSpeed = NumberRange.new(100,100) | |
880 | dddeffecto.VelocitySpread = 50 | |
881 | dddeffecto.EmissionDirection = "Back" | |
882 | for i = 1, 5 do | |
883 | katanaslash:Play() | |
884 | ktsl1:Play() | |
885 | wait(0.1) | |
886 | katanaslash:Play() | |
887 | ktsl1:Stop() | |
888 | ktsl2:Play() | |
889 | wait(0.1) | |
890 | katanaslash:Play() | |
891 | ktsl2:Stop() | |
892 | ktsl3:Play() | |
893 | wait(0.1) | |
894 | katanaslash:Play() | |
895 | ktsl3:Stop() | |
896 | ktsl4:Play() | |
897 | wait(0.1) | |
898 | ktsl4:Stop() | |
899 | end | |
900 | dddeffecto:Destroy() | |
901 | wait(.5) | |
902 | chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*15) | |
903 | wait(1) | |
904 | if hitdude.Name == "grgrgry21" then | |
905 | chat("Goodbye, Player.") | |
906 | elseif hitdude then | |
907 | chat("...") | |
908 | end | |
909 | wait(0.2) | |
910 | ktsl1:Play() | |
911 | swordsound:Play() | |
912 | wait(0.1) | |
913 | finalhits1:play() | |
914 | finalhits2:play() | |
915 | hitdude.Humanoid.Health = 0 | |
916 | local childs = hitdude:GetChildren() | |
917 | for i=1,#childs do | |
918 | if (childs[i].className == "Part") then | |
919 | childs[i].BrickColor = BrickColor.new("Really black") | |
920 | childs[i]:BreakJoints() | |
921 | local b = Instance.new("BodyVelocity") | |
922 | b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
923 | b.maxForce = Vector3.new(1e5,1e5,1e5) | |
924 | b.Parent = childs[i] | |
925 | createblack(childs[i]) | |
926 | end | |
927 | end | |
928 | wait(2) | |
929 | ktsl1:Stop() | |
930 | tool2.Enabled = true | |
931 | didhit2.Value = false | |
932 | chara.Humanoid.WalkSpeed = 50 | |
933 | end | |
934 | end | |
935 | end | |
936 | ||
937 | function blowprojectile(hit) | |
938 | if (hit.Parent == nil) then return end -- happens when bullet hits sword | |
939 | ||
940 | local humanoid = nil | |
941 | if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
942 | humanoid = hit.Parent:FindFirstChild("Humanoid") | |
943 | end | |
944 | if humanoid then | |
945 | hit:BreakJoints() | |
946 | hit.BrickColor = BrickColor.new("Really black") | |
947 | createblack(hit) | |
948 | end | |
949 | local vCharacter = tool.Parent | |
950 | local vPlayer = game.Players:playerFromCharacter(vCharacter) | |
951 | local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character | |
952 | if humanoid~=nil and humanoid ~= hum and hum ~= nil then | |
953 | -- final check, make sure sword is in-hand | |
954 | ||
955 | local right_arm = vCharacter:FindFirstChild("Right Arm") | |
956 | if (right_arm ~= nil) then | |
957 | local joint = right_arm:FindFirstChild("RightGrip") | |
958 | if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then | |
959 | wait(1) | |
960 | end | |
961 | end | |
962 | end | |
963 | end | |
964 | ||
965 | function fire(v, part) | |
966 | ||
967 | local vCharacter = chara | |
968 | local vPlayer = player | |
969 | ||
970 | local missile = Instance.new("Part") | |
971 | ||
972 | ||
973 | ||
974 | missile.CFrame = part.CFrame * CFrame.Angles(math.pi/2,0,0) | |
975 | missile.Size = Vector3.new(2,2,2) | |
976 | missile.Velocity = v.unit * 200 | |
977 | missile.BrickColor = BrickColor.new("Really black") | |
978 | missile.BottomSurface = 0 | |
979 | missile.TopSurface = 0 | |
980 | missile.CanCollide = false | |
981 | missile.Elasticity = .05 | |
982 | missile.Friction = .7 | |
983 | missile.Name = "Bullet" | |
984 | ||
985 | missile.Touched:connect(blowprojectile) | |
986 | ||
987 | local mesh = Instance.new("SpecialMesh") | |
988 | mesh.MeshType = "Sphere" | |
989 | mesh.Parent = missile | |
990 | ||
991 | local force = Instance.new("BodyForce") | |
992 | force.force = Vector3.new(0,1100,0) | |
993 | force.Parent = missile | |
994 | ||
995 | createblack(missile) | |
996 | ||
997 | -- local force = Instance.new("BodyForce") | |
998 | -- force.Name = "BulletFloat" | |
999 | -- force.force = Vector3.new(0,98.1,0) | |
1000 | -- force.Parent = missile | |
1001 | ||
1002 | debby:AddItem(missile,5) | |
1003 | missile.Parent = game.Workspace | |
1004 | ||
1005 | blasts:play() | |
1006 | end | |
1007 | ||
1008 | function keydowns(key) | |
1009 | if tool.Enabled == true then | |
1010 | if key == "v" then | |
1011 | chat("Void ONSLAUGHT!") | |
1012 | tool.Enabled = false | |
1013 | swordequip:Play() | |
1014 | wait(1) | |
1015 | chara.Humanoid.WalkSpeed = 0 | |
1016 | enablehit.Value = true | |
1017 | swordsound:play() | |
1018 | swordabs:Play() | |
1019 | wait(2) | |
1020 | if didhit.Value == false then | |
1021 | swordabs:Stop() | |
1022 | enablehit.Value = false | |
1023 | tool.Enabled = true | |
1024 | chara.Humanoid.WalkSpeed = 50 | |
1025 | chat("HEY WHY ARE YOU RUNNING...") | |
1026 | print("mission failed") | |
1027 | elseif didhit.Value == true then end | |
1028 | else end | |
1029 | if key == "c" then | |
1030 | chat("darkness...") | |
1031 | chara.Humanoid.WalkSpeed = 5 | |
1032 | tool.Enabled = false | |
1033 | dreadecl.Value = true | |
1034 | stormvip:Play() | |
1035 | finalhits2:Play() | |
1036 | scytheland:Play() | |
1037 | fira.Enabled = true | |
1038 | wait(1) | |
1039 | chara.Humanoid.WalkSpeed = 50 | |
1040 | dreadecl.Value = false | |
1041 | tool.Enabled = true | |
1042 | fira.Enabled = false | |
1043 | stormvip:Stop() | |
1044 | else end | |
1045 | if key == "x" then | |
1046 | chat("Black Blast!") | |
1047 | tool.Enabled = false | |
1048 | blastanim:Play() | |
1049 | chargesound:Play() | |
1050 | deffecto.Enabled = true | |
1051 | wait(1.5) | |
1052 | for i = 1, 10 do | |
1053 | wait(0.1) | |
1054 | fire(chara.HumanoidRootPart.CFrame.lookVector, orbuu) | |
1055 | end | |
1056 | wait(0.5) | |
1057 | blastanim:Stop() | |
1058 | deffecto.Enabled = false | |
1059 | tool.Enabled = true | |
1060 | else end | |
1061 | if key == "z" then | |
1062 | tool.Enabled = false | |
1063 | chat("Dark soul...") | |
1064 | kicka:Play() | |
1065 | chara.Humanoid.WalkSpeed = 5 | |
1066 | revoruva.Value = true | |
1067 | swordsound:Play() | |
1068 | wait(1) | |
1069 | kicka:Stop() | |
1070 | tool.Enabled = true | |
1071 | chara.Humanoid.WalkSpeed = 50 | |
1072 | revoruva.Value = false | |
1073 | end | |
1074 | end | |
1075 | if key == "g" then | |
1076 | Taunt() | |
1077 | elseif key == "m" then | |
1078 | Moosik() | |
1079 | elseif key == "h" then | |
1080 | changeclothes() | |
1081 | end | |
1082 | end | |
1083 | ||
1084 | function keydowns2(key) | |
1085 | if tool2.Enabled == true then | |
1086 | if key == "z" and blawk.Value == false then | |
1087 | tool2.Enabled = false | |
1088 | chat("darkness") | |
1089 | kicka:Play() | |
1090 | chara.Humanoid.WalkSpeed = 5 | |
1091 | revoruva.Value = true | |
1092 | swordsound:Play() | |
1093 | wait(1) | |
1094 | kicka:Stop() | |
1095 | tool2.Enabled = true | |
1096 | chara.Humanoid.WalkSpeed = 50 | |
1097 | revoruva.Value = false | |
1098 | end | |
1099 | if key == "x" and blawk.Value == false then | |
1100 | chat("OOf") | |
1101 | chara.Humanoid.WalkSpeed = 5 | |
1102 | tool2.Enabled = false | |
1103 | zanny.Value = true | |
1104 | for i = 1, 2 do | |
1105 | katanaslash:Play() | |
1106 | ktsl1:Play() | |
1107 | wait(0.1) | |
1108 | katanaslash:Play() | |
1109 | ktsl1:Stop() | |
1110 | ktsl2:Play() | |
1111 | wait(0.1) | |
1112 | katanaslash:Play() | |
1113 | ktsl2:Stop() | |
1114 | ktsl3:Play() | |
1115 | wait(0.1) | |
1116 | katanaslash:Play() | |
1117 | ktsl3:Stop() | |
1118 | ktsl4:Play() | |
1119 | wait(0.1) | |
1120 | ktsl4:Stop() | |
1121 | end | |
1122 | chara.Humanoid.WalkSpeed = 50 | |
1123 | tool2.Enabled = true | |
1124 | zanny.Value = false | |
1125 | end | |
1126 | if key == "c" then | |
1127 | if blawk.Value == false then | |
1128 | chat("Let see this works...") | |
1129 | scythea:Play() | |
1130 | blawk.Value = true | |
1131 | chara.Humanoid.WalkSpeed = 5 | |
1132 | elseif blawk.Value == true then | |
1133 | scythea:Stop() | |
1134 | blawk.Value = false | |
1135 | chara.Humanoid.WalkSpeed = 50 | |
1136 | end | |
1137 | end | |
1138 | if key == "v" then | |
1139 | chat("-_-") | |
1140 | tool2.Enabled = false | |
1141 | swordequip:Play() | |
1142 | chara.Humanoid.WalkSpeed = 0 | |
1143 | enablehit2.Value = true | |
1144 | scythea:Play() | |
1145 | wait(5) | |
1146 | if didhit2.Value == false then | |
1147 | enablehit2.Value = false | |
1148 | tool2.Enabled = true | |
1149 | chara.Humanoid.WalkSpeed = 50 | |
1150 | print("Failed to Hit...") | |
1151 | scythea:Stop() | |
1152 | elseif didhit2.Value == true then end | |
1153 | end | |
1154 | end | |
1155 | if key == "g" then | |
1156 | Taunt() | |
1157 | elseif key == "m" then | |
1158 | Moosik() | |
1159 | elseif key == "h" then | |
1160 | changeclothes() | |
1161 | end | |
1162 | end | |
1163 | ||
1164 | function onEquipped(mouse) | |
1165 | swordequip:play() | |
1166 | equipa:play() | |
1167 | chara.Humanoid.WalkSpeed = 50 | |
1168 | if fhandle ~= nil then | |
1169 | fhandle.Transparency = 1 | |
1170 | end | |
1171 | if mouse then mouse.KeyDown:connect(keydowns) | |
1172 | end | |
1173 | end | |
1174 | ||
1175 | function onUnequipped() | |
1176 | equipa:stop() | |
1177 | chara.Humanoid.WalkSpeed = 16 | |
1178 | if fhandle ~= nil then | |
1179 | fhandle.Transparency = 0 | |
1180 | end | |
1181 | end | |
1182 | ||
1183 | function onEquipped2(mouse) | |
1184 | swordequip:play() | |
1185 | equipa2:play() | |
1186 | chara.Humanoid.WalkSpeed = 50 | |
1187 | if fhandle2 ~= nil then | |
1188 | fhandle2.Transparency = 1 | |
1189 | end | |
1190 | if mouse then mouse.KeyDown:connect(keydowns2) | |
1191 | end | |
1192 | end | |
1193 | ||
1194 | function onUnequipped2() | |
1195 | equipa2:stop() | |
1196 | chara.Humanoid.WalkSpeed = 16 | |
1197 | if fhandle2 ~= nil then | |
1198 | fhandle2.Transparency = 0 | |
1199 | end | |
1200 | end | |
1201 | ||
1202 | function Taunt() | |
1203 | thing = math.random(1,4) | |
1204 | foxs:Play() | |
1205 | if taip == 1 then | |
1206 | if thing == 1 and prevthing ~= 1 then | |
1207 | chat("You're too heavy.") | |
1208 | prevthing = 1 | |
1209 | elseif thing == 2 and prevthing ~= 2 then | |
1210 | chat("Don't let your guard down.") | |
1211 | prevthing = 2 | |
1212 | elseif thing == 3 and prevthing ~= 3 then | |
1213 | chat("Too naive.") | |
1214 | prevthing = 3 | |
1215 | elseif thing == 4 and prevthing ~= 4 then | |
1216 | chat("Someone like you...") | |
1217 | wait(1) | |
1218 | chat("...can't defeat me!") | |
1219 | prevthing = 4 | |
1220 | end | |
1221 | elseif taip == 2 then | |
1222 | chat("please fahk me") | |
1223 | end | |
1224 | end | |
1225 | ||
1226 | function Moosik() | |
1227 | if moosek == 0 then | |
1228 | music1:Play() | |
1229 | moosek = 1 | |
1230 | elseif moosek == 1 then | |
1231 | music1:Stop() | |
1232 | moosek = 0 | |
1233 | end | |
1234 | end | |
1235 | ||
1236 | function changeclothes() | |
1237 | if taip == 1 then | |
1238 | shirt.ShirtTemplate = "" | |
1239 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" | |
1240 | tshirt.Graphic = "http://www.roblox.com/asset/?id=0" | |
1241 | taip = 2 | |
1242 | tecks.Text = "ghey" | |
1243 | elseif taip == 2 then | |
1244 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0" | |
1245 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" | |
1246 | tshirt.Graphic = "" | |
1247 | taip = 1 | |
1248 | tecks.Text = "Enma the Null Kitsune" | |
1249 | end | |
1250 | end | |
1251 | ||
1252 | tool.Equipped:connect(onEquipped) | |
1253 | tool.Unequipped:connect(onUnequipped) | |
1254 | tool2.Equipped:connect(onEquipped2) | |
1255 | tool2.Unequipped:connect(onUnequipped2) | |
1256 | --musictool.Activated:connect(Moosik) | |
1257 | --taunttool.Activated:connect(Taunt) | |
1258 | handle.Touched:connect(onTouched) | |
1259 | handle2.Touched:connect(onTouched2) | |
1260 | chara["Left Leg"].Touched:connect(kicktouch) | |
1261 | --changetool.Activated:connect(changeclothes) | |
1262 | ||
1263 | --DEATH-- | |
1264 | local deathed = false | |
1265 | function onDied() | |
1266 | deathed = true | |
1267 | chat("To be defeated by a weakling like you..") | |
1268 | shirt:Destroy() | |
1269 | pants:Destroy() | |
1270 | Void:Destroy() | |
1271 | orbuu:Destroy() | |
1272 | fhandle:Destroy() | |
1273 | fhandle2:Destroy() | |
1274 | fhandle3:Destroy() | |
1275 | music1.Volume = 0 | |
1276 | local dmusic = Instance.new("Sound", game.Workspace) | |
1277 | dmusic.SoundId = "http://www.roblox.com/asset/?id=1000294392" | |
1278 | dmusic.PlaybackSpeed = 1 | |
1279 | dmusic.Volume = 1 | |
1280 | dmusic.Looped = true | |
1281 | dmusic:Play() | |
1282 | debby:AddItem(dmusic, 5) | |
1283 | local shah = chara:GetChildren() | |
1284 | for i = 1, #shah do | |
1285 | if shah[i].ClassName == "Part" then | |
1286 | shah[i].Anchored = true | |
1287 | shah[i].BrickColor = BrickColor.new("Really black") | |
1288 | createhugeblack(shah[i]) | |
1289 | elseif shah[i].ClassName == "Attachment" then | |
1290 | shah[i].Handle.Mesh.VertexColor = Color3.new(0,0,0) | |
1291 | shah[i].Handle.Anchored = true | |
1292 | end | |
1293 | end | |
1294 | for i = 1, 3 do | |
1295 | wait(1.2) | |
1296 | dmusic.PlaybackSpeed = dmusic.PlaybackSpeed - 0.2 | |
1297 | end | |
1298 | for i = 1, #shah do | |
1299 | if shah[i].ClassName == "Part" then | |
1300 | shah[i].Anchored = false | |
1301 | createhugeblack(shah[i]) | |
1302 | elseif shah[i].ClassName == "Attachment" then | |
1303 | shah[i].Handle.Anchored = false | |
1304 | end | |
1305 | end | |
1306 | local exx = Instance.new("Explosion", game.Workspace) | |
1307 | exx.Position = chara.Torso.Position | |
1308 | exx.BlastPressure = 500000000 | |
1309 | exx.BlastRadius = 10000000000 | |
1310 | exx.Visible = false | |
1311 | exx.ExplosionType = "CratersAndDebris" | |
1312 | finalhits1:Play() | |
1313 | end | |
1314 | ||
1315 | while deathed == true do | |
1316 | wait(0.1) | |
1317 | if timeofday == "Day" then | |
1318 | game.Lighting.TimeOfDay = "18:00:00" | |
1319 | timeofday = "Dawn" | |
1320 | elseif timeofday == "Dawn" then | |
1321 | game.Lighting.TimeOfDay = "00:00:00" | |
1322 | timeofday = "Night" | |
1323 | elseif timeofday == "Night" then | |
1324 | game.Lighting.TimeOfDay = "6:00:00" | |
1325 | timeofday = "Morning" | |
1326 | elseif timeofday == "Morning" then | |
1327 | game.Lighting.TimeOfDay = "12:00:00" | |
1328 | timeofday = "Day" | |
1329 | end | |
1330 | end | |
1331 | ||
1332 | chara.Humanoid.Died:connect(onDied) |