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