SHOW:
|
|
- or go back to the newest paste.
| 1 | --]] | |
| 2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 5 | local RealPlayer = Player | |
| 6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 7 | ||
| 8 | ||
| 9 | Player = game:service("Players").LocalPlayer
| |
| 10 | Cha = Player.Character | |
| 11 | mouse = Player:GetMouse() | |
| 12 | equip = false | |
| 13 | dmg = true | |
| 14 | slash = false | |
| 15 | attack1 = false | |
| 16 | Anims = Cha:FindFirstChild("Animate")
| |
| 17 | Anims:Destroy() | |
| 18 | ||
| 19 | function playSound(id,parent,volume,pitch) | |
| 20 | local sound = Instance.new("Sound",parent or workspace)
| |
| 21 | sound.SoundId = "http://www.roblox.com/asset?id="..id | |
| 22 | sound.Volume = volume or 1 | |
| 23 | sound.Pitch = pitch or 1 | |
| 24 | coroutine.wrap(function() | |
| 25 | wait() | |
| 26 | sound:Play() | |
| 27 | wait(10) | |
| 28 | sound:Stop() | |
| 29 | sound:Destroy() | |
| 30 | end)() | |
| 31 | return sound | |
| 32 | end | |
| 33 | ||
| 34 | mouse.Button1Down:connect(function() | |
| 35 | ||
| 36 | if (not vDebounce) and equip == true and dmg == true then | |
| 37 | ||
| 38 | dmg = false | |
| 39 | ||
| 40 | vDebounce = true | |
| 41 | ||
| 42 | wa = Instance.new("Part",Char)
| |
| 43 | ||
| 44 | wa.Material = "SmoothPlastic" | |
| 45 | ||
| 46 | wa.Transparency=1 | |
| 47 | ||
| 48 | wa.CanCollide = false | |
| 49 | ||
| 50 | wa.Size = Vector3.new(1, 1, 1) | |
| 51 | ||
| 52 | wa:BreakJoints() | |
| 53 | ||
| 54 | Weld3 = Instance.new("Weld",wa)
| |
| 55 | ||
| 56 | Weld3.Part0 = Blade | |
| 57 | ||
| 58 | Weld3.Part1 = wa | |
| 59 | ||
| 60 | Weld3.C0 = CFrame.new(0, 0, -2) * CFrame.Angles(0, 0, 0) | |
| 61 | ||
| 62 | playSound(10209645,Blade1,1,1) | |
| 63 | ||
| 64 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -2.5) | |
| 65 | wait() | |
| 66 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -2.1) | |
| 67 | wait() | |
| 68 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -1.7) | |
| 69 | wait() | |
| 70 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -1.3) | |
| 71 | wait() | |
| 72 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -0.9) | |
| 73 | wait() | |
| 74 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -0.5) | |
| 75 | wait() | |
| 76 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -0.1) | |
| 77 | wait() | |
| 78 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0.3) | |
| 79 | wait() | |
| 80 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0.5) | |
| 81 | wait() | |
| 82 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 83 | wa:remove() | |
| 84 | ||
| 85 | vDebounce = false | |
| 86 | ||
| 87 | dmg = true | |
| 88 | ||
| 89 | ||
| 90 | end | |
| 91 | end) | |
| 92 | ||
| 93 | ||
| 94 | Handle = Instance.new("Part",Cha)
| |
| 95 | Handle.Material = "SmoothPlastic" | |
| 96 | Handle.TopSurface = "Smooth" | |
| 97 | Handle.BottomSurface = "Smooth" | |
| 98 | Handle.FormFactor = "Custom" | |
| 99 | Handle.Size = Vector3.new(1,1,1) | |
| 100 | Handle.CanCollide = True | |
| 101 | Handle.BrickColor = BrickColor.new("Really black")
| |
| 102 | HandleMesh = Instance.new("SpecialMesh", Handle)
| |
| 103 | HandleMesh.MeshType = "Brick" | |
| 104 | HandleMesh.Scale = Vector3.new(0.1,0.1,1) | |
| 105 | HandleWeld = Instance.new("Weld",Cha)
| |
| 106 | HandleWeld.Part0 = Cha.Torso | |
| 107 | HandleWeld.Part1 = Handle | |
| 108 | HandleWeld.C1 = CFrame.new(1, 1.2, 0.8)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 109 | ||
| 110 | Stripe = Instance.new("Part",Cha)
| |
| 111 | Stripe.Material = "SmoothPlastic" | |
| 112 | Stripe.TopSurface = "Smooth" | |
| 113 | Stripe.BottomSurface = "Smooth" | |
| 114 | Stripe.FormFactor = "Custom" | |
| 115 | Stripe.Size = Vector3.new(1,1,1) | |
| 116 | Stripe.CanCollide = True | |
| 117 | Stripe.BrickColor = BrickColor.new("Navy blue")
| |
| 118 | StripeMesh = Instance.new("SpecialMesh", Stripe)
| |
| 119 | StripeMesh.MeshType = "Brick" | |
| 120 | StripeMesh.Scale = Vector3.new(0.15,0.15,0.1) | |
| 121 | StripeWeld = Instance.new("Weld",Cha)
| |
| 122 | StripeWeld.Part0 = Handle | |
| 123 | StripeWeld.Part1 = Stripe | |
| 124 | StripeWeld.C1 = CFrame.new(0,0,0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 125 | ||
| 126 | Stripe2 = Instance.new("Part",Cha)
| |
| 127 | Stripe2.Material = "SmoothPlastic" | |
| 128 | Stripe2.TopSurface = "Smooth" | |
| 129 | Stripe2.BottomSurface = "Smooth" | |
| 130 | Stripe2.FormFactor = "Custom" | |
| 131 | Stripe2.Size = Vector3.new(1,1,1) | |
| 132 | Stripe2.CanCollide = True | |
| 133 | Stripe2.BrickColor = BrickColor.new("Navy blue")
| |
| 134 | Stripe2Mesh = Instance.new("SpecialMesh", Stripe2)
| |
| 135 | Stripe2Mesh.MeshType = "Brick" | |
| 136 | Stripe2Mesh.Scale = Vector3.new(0.15,0.15,0.1) | |
| 137 | Stripe2Weld = Instance.new("Weld",Cha)
| |
| 138 | Stripe2Weld.Part0 = Handle | |
| 139 | Stripe2Weld.Part1 = Stripe2 | |
| 140 | Stripe2Weld.C1 = CFrame.new(0,0,-0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 141 | ||
| 142 | Stripe3 = Instance.new("Part",Cha)
| |
| 143 | Stripe3.Material = "SmoothPlastic" | |
| 144 | Stripe3.TopSurface = "Smooth" | |
| 145 | Stripe3.BottomSurface = "Smooth" | |
| 146 | Stripe3.FormFactor = "Custom" | |
| 147 | Stripe3.Size = Vector3.new(1,1,1) | |
| 148 | Stripe3.CanCollide = True | |
| 149 | Stripe3.BrickColor = BrickColor.new("Navy blue")
| |
| 150 | Stripe3Mesh = Instance.new("SpecialMesh", Stripe3)
| |
| 151 | Stripe3Mesh.MeshType = "Brick" | |
| 152 | Stripe3Mesh.Scale = Vector3.new(0.15,0.15,0.1) | |
| 153 | Stripe3Weld = Instance.new("Weld",Cha)
| |
| 154 | Stripe3Weld.Part0 = Handle | |
| 155 | Stripe3Weld.Part1 = Stripe3 | |
| 156 | Stripe3Weld.C1 = CFrame.new(0,0,0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 157 | ||
| 158 | Stripe4 = Instance.new("Part",Cha)
| |
| 159 | Stripe4.Material = "SmoothPlastic" | |
| 160 | Stripe4.TopSurface = "Smooth" | |
| 161 | Stripe4.BottomSurface = "Smooth" | |
| 162 | Stripe4.FormFactor = "Custom" | |
| 163 | Stripe4.Size = Vector3.new(1,1,1) | |
| 164 | Stripe4.CanCollide = True | |
| 165 | Stripe4.BrickColor = BrickColor.new("Navy blue")
| |
| 166 | Stripe4Mesh = Instance.new("SpecialMesh", Stripe4)
| |
| 167 | Stripe4Mesh.MeshType = "Brick" | |
| 168 | Stripe4Mesh.Scale = Vector3.new(0.15,0.15,0.1) | |
| 169 | Stripe4Weld = Instance.new("Weld",Cha)
| |
| 170 | Stripe4Weld.Part0 = Handle | |
| 171 | Stripe4Weld.Part1 = Stripe4 | |
| 172 | Stripe4Weld.C1 = CFrame.new(0,0,-0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 173 | ||
| 174 | HandleTop = Instance.new("Part",Cha)
| |
| 175 | HandleTop.Material = "SmoothPlastic" | |
| 176 | HandleTop.TopSurface = "Smooth" | |
| 177 | HandleTop.BottomSurface = "Smooth" | |
| 178 | HandleTop.FormFactor = "Custom" | |
| 179 | HandleTop.Size = Vector3.new(1,1,1) | |
| 180 | HandleTop.CanCollide = True | |
| 181 | HandleTop.BrickColor = BrickColor.new("Really black")
| |
| 182 | HandleTopMesh = Instance.new("SpecialMesh", HandleTop)
| |
| 183 | HandleTopMesh.MeshType = "Brick" | |
| 184 | HandleTopMesh.Scale = Vector3.new(0.25,0.25,0.05) | |
| 185 | HandleTopWeld = Instance.new("Weld",Cha)
| |
| 186 | HandleTopWeld.Part0 = Handle | |
| 187 | HandleTopWeld.Part1 = HandleTop | |
| 188 | HandleTopWeld.C1 = CFrame.new(0,0,-0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 189 | ||
| 190 | HandleTop2 = Instance.new("Part",Cha)
| |
| 191 | HandleTop2.Material = "SmoothPlastic" | |
| 192 | HandleTop2.TopSurface = "Smooth" | |
| 193 | HandleTop2.BottomSurface = "Smooth" | |
| 194 | HandleTop2.FormFactor = "Custom" | |
| 195 | HandleTop2.Size = Vector3.new(1,1,1) | |
| 196 | HandleTop2.CanCollide = True | |
| 197 | HandleTop2.BrickColor = BrickColor.new("Really black")
| |
| 198 | HandleTop2Mesh = Instance.new("SpecialMesh", HandleTop2)
| |
| 199 | HandleTop2Mesh.MeshType = "Brick" | |
| 200 | HandleTop2Mesh.Scale = Vector3.new(0.5,0.05,0.05) | |
| 201 | HandleTop2Weld = Instance.new("Weld",Cha)
| |
| 202 | HandleTop2Weld.Part0 = HandleTop | |
| 203 | HandleTop2Weld.Part1 = HandleTop2 | |
| 204 | HandleTop2Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 205 | ||
| 206 | HandleTop3 = Instance.new("Part",Cha)
| |
| 207 | HandleTop3.Material = "SmoothPlastic" | |
| 208 | HandleTop3.TopSurface = "Smooth" | |
| 209 | HandleTop3.BottomSurface = "Smooth" | |
| 210 | HandleTop3.FormFactor = "Custom" | |
| 211 | HandleTop3.Size = Vector3.new(1,1,1) | |
| 212 | HandleTop3.CanCollide = True | |
| 213 | HandleTop3.BrickColor = BrickColor.new("Really black")
| |
| 214 | HandleTop3Mesh = Instance.new("SpecialMesh", HandleTop3)
| |
| 215 | HandleTop3Mesh.MeshType = "Brick" | |
| 216 | HandleTop3Mesh.Scale = Vector3.new(0.05,0.5,0.05) | |
| 217 | HandleTop3Weld = Instance.new("Weld",Cha)
| |
| 218 | HandleTop3Weld.Part0 = HandleTop | |
| 219 | HandleTop3Weld.Part1 = HandleTop3 | |
| 220 | HandleTop3Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 221 | ||
| 222 | Blade1 = Instance.new("Part",Cha)
| |
| 223 | Blade1.Material = "SmoothPlastic" | |
| 224 | Blade1.TopSurface = "Smooth" | |
| 225 | Blade1.BottomSurface = "Smooth" | |
| 226 | Blade1.FormFactor = "Custom" | |
| 227 | Blade1.Size = Vector3.new(0.2,0.2,3.3) | |
| 228 | Blade1.CanCollide = True | |
| 229 | Blade1.Reflectance =0.3 | |
| 230 | Blade1.BrickColor = BrickColor.new("Really black")
| |
| 231 | Blade1Mesh = Instance.new("SpecialMesh", Blade1)
| |
| 232 | Blade1Mesh.MeshType = "Brick" | |
| 233 | Blade1Mesh.Scale = Vector3.new(0.3,0.3,1) | |
| 234 | Blade1Weld = Instance.new("Weld",Cha)
| |
| 235 | Blade1Weld.Part0 = HandleTop | |
| 236 | Blade1Weld.Part1 = Blade1 | |
| 237 | Blade1Weld.C1 = CFrame.new(0,-0.03,-1.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 238 | ||
| 239 | Blade2 = Instance.new("Part",Cha)
| |
| 240 | Blade2.Material = "SmoothPlastic" | |
| 241 | Blade2.TopSurface = "Smooth" | |
| 242 | Blade2.BottomSurface = "Smooth" | |
| 243 | Blade2.FormFactor = "Custom" | |
| 244 | Blade2.Size = Vector3.new(0.2,0.2,3) | |
| 245 | Blade2.CanCollide = True | |
| 246 | Blade2.Reflectance =0.3 | |
| 247 | Blade2.BrickColor = BrickColor.new("White")
| |
| 248 | Blade2Mesh = Instance.new("SpecialMesh", Blade2)
| |
| 249 | Blade2Mesh.MeshType = "Brick" | |
| 250 | Blade2Mesh.Scale = Vector3.new(0.3,0.3,1) | |
| 251 | Blade2Weld = Instance.new("Weld",Cha)
| |
| 252 | Blade2Weld.Part0 = HandleTop | |
| 253 | Blade2Weld.Part1 = Blade2 | |
| 254 | Blade2Weld.C1 = CFrame.new(0,0.03,-1.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 255 | ||
| 256 | BladeTop = Instance.new("Part",Cha)
| |
| 257 | BladeTop.Material = "SmoothPlastic" | |
| 258 | BladeTop.TopSurface = "Smooth" | |
| 259 | BladeTop.BottomSurface = "Smooth" | |
| 260 | BladeTop.FormFactor = "Custom" | |
| 261 | BladeTop.Size = Vector3.new(0.2,0.5,0.2) | |
| 262 | BladeTop.CanCollide = True | |
| 263 | BladeTop.Reflectance =0.3 | |
| 264 | BladeTop.BrickColor = BrickColor.new("Really black")
| |
| 265 | BladeTopMesh = Instance.new("SpecialMesh", BladeTop)
| |
| 266 | BladeTopMesh.MeshType = "Wedge" | |
| 267 | BladeTopMesh.Scale = Vector3.new(0.3,0.5,0.3) | |
| 268 | BladeTopWeld = Instance.new("Weld",Cha)
| |
| 269 | BladeTopWeld.Part0 = Blade1 | |
| 270 | BladeTopWeld.Part1 = BladeTop | |
| 271 | BladeTopWeld.C1 = CFrame.new(-0.07,-1.77,0)*CFrame.fromEulerAnglesXYZ(1.57,3.1,0) | |
| 272 | ||
| 273 | BladeTop2 = Instance.new("Part",Cha)
| |
| 274 | BladeTop2.Material = "SmoothPlastic" | |
| 275 | BladeTop2.TopSurface = "Smooth" | |
| 276 | BladeTop2.BottomSurface = "Smooth" | |
| 277 | BladeTop2.FormFactor = "Custom" | |
| 278 | BladeTop2.Size = Vector3.new(0.2,0.5,0.2) | |
| 279 | BladeTop2.CanCollide = True | |
| 280 | BladeTop2.Reflectance =0.3 | |
| 281 | BladeTop2.BrickColor = BrickColor.new("White")
| |
| 282 | BladeTop2Mesh = Instance.new("SpecialMesh", BladeTop2)
| |
| 283 | BladeTop2Mesh.MeshType = "Wedge" | |
| 284 | BladeTop2Mesh.Scale = Vector3.new(0.3,0.5,0.3) | |
| 285 | BladeTop2Weld = Instance.new("Weld",Cha)
| |
| 286 | BladeTop2Weld.Part0 = Blade2 | |
| 287 | BladeTop2Weld.Part1 = BladeTop2 | |
| 288 | BladeTop2Weld.C1 = CFrame.new(-0.062,-1.62,0)*CFrame.fromEulerAnglesXYZ(1.57,3.1,0) | |
| 289 | ||
| 290 | Case = Instance.new("Part",Cha)
| |
| 291 | Case.Material = "SmoothPlastic" | |
| 292 | Case.TopSurface = "Smooth" | |
| 293 | Case.BottomSurface = "Smooth" | |
| 294 | Case.FormFactor = "Custom" | |
| 295 | Case.Size = Vector3.new(1,1,1) | |
| 296 | Case.CanCollide = True | |
| 297 | Case.BrickColor = BrickColor.new("Really black")
| |
| 298 | CaseMesh = Instance.new("SpecialMesh", Case)
| |
| 299 | CaseMesh.MeshType = "Brick" | |
| 300 | CaseMesh.Scale = Vector3.new(0.1,0.2,3.5) | |
| 301 | CaseWeld = Instance.new("Weld",Cha)
| |
| 302 | CaseWeld.Part0 = Cha.Torso | |
| 303 | CaseWeld.Part1 = Case | |
| 304 | CaseWeld.C1 = CFrame.new(1, 1.2, -1.5)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 305 | ||
| 306 | Crystal = Instance.new("Part",Cha)
| |
| 307 | Crystal.Material = "SmoothPlastic" | |
| 308 | Crystal.TopSurface = "Smooth" | |
| 309 | Crystal.BottomSurface = "Smooth" | |
| 310 | Crystal.Size = Vector3.new(1,1,1) | |
| 311 | Crystal.CanCollide = True | |
| 312 | Crystal.BrickColor = BrickColor.new("Navy blue")
| |
| 313 | Crystal.Reflectance = 0 | |
| 314 | Crystal.Transparency = 0 | |
| 315 | CrystalMesh = Instance.new("SpecialMesh",Crystal)
| |
| 316 | CrystalMesh.MeshType = "FileMesh" | |
| 317 | CrystalMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 318 | CrystalMesh.Scale = Vector3.new(0.15,0.13,1) | |
| 319 | Weld = Instance.new("Weld",Cha)
| |
| 320 | Weld.Part0 = Case | |
| 321 | Weld.Part1 = Crystal | |
| 322 | Weld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 323 | coroutine.resume(coroutine.create(function() | |
| 324 | while wait() do | |
| 325 | Crystal.Reflectance = 0.2 | |
| 326 | wait(0.5) | |
| 327 | Crystal.Reflectance = 0.4 | |
| 328 | wait(0.5) | |
| 329 | Crystal.Reflectance = 0.6 | |
| 330 | wait(0.5) | |
| 331 | Crystal.Reflectance = 0.8 | |
| 332 | wait(0.5) | |
| 333 | Crystal.Reflectance = 1 | |
| 334 | end | |
| 335 | end)) | |
| 336 | ||
| 337 | Crystal2 = Instance.new("Part",Cha)
| |
| 338 | Crystal2.Material = "SmoothPlastic" | |
| 339 | Crystal2.TopSurface = "Smooth" | |
| 340 | Crystal2.BottomSurface = "Smooth" | |
| 341 | Crystal2.Size = Vector3.new(1,1,1) | |
| 342 | Crystal2.CanCollide = True | |
| 343 | Crystal2.BrickColor = BrickColor.new("Navy blue")
| |
| 344 | Crystal2.Reflectance = 0 | |
| 345 | Crystal2.Transparency = 0 | |
| 346 | Crystal2Mesh = Instance.new("SpecialMesh",Crystal2)
| |
| 347 | Crystal2Mesh.MeshType = "FileMesh" | |
| 348 | Crystal2Mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 349 | Crystal2Mesh.Scale = Vector3.new(0.15,0.13,1) | |
| 350 | Weld = Instance.new("Weld",Cha)
| |
| 351 | Weld.Part0 = Case | |
| 352 | Weld.Part1 = Crystal2 | |
| 353 | Weld.C1 = CFrame.new(0,0,1)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 354 | coroutine.resume(coroutine.create(function() | |
| 355 | while wait() do | |
| 356 | Crystal2.Reflectance = 0.2 | |
| 357 | wait(0.5) | |
| 358 | Crystal2.Reflectance = 0.4 | |
| 359 | wait(0.5) | |
| 360 | Crystal2.Reflectance = 0.6 | |
| 361 | wait(0.5) | |
| 362 | Crystal2.Reflectance = 0.8 | |
| 363 | wait(0.5) | |
| 364 | Crystal2.Reflectance = 1 | |
| 365 | end | |
| 366 | end)) | |
| 367 | ||
| 368 | Crystal3 = Instance.new("Part",Cha)
| |
| 369 | Crystal3.Material = "SmoothPlastic" | |
| 370 | Crystal3.TopSurface = "Smooth" | |
| 371 | Crystal3.BottomSurface = "Smooth" | |
| 372 | Crystal3.Size = Vector3.new(1,1,1) | |
| 373 | Crystal3.CanCollide = True | |
| 374 | Crystal3.BrickColor = BrickColor.new("Navy blue")
| |
| 375 | Crystal3.Reflectance = 0 | |
| 376 | Crystal3.Transparency = 0 | |
| 377 | Crystal3Mesh = Instance.new("SpecialMesh",Crystal3)
| |
| 378 | Crystal3Mesh.MeshType = "FileMesh" | |
| 379 | Crystal3Mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
| 380 | Crystal3Mesh.Scale = Vector3.new(0.15,0.13,1) | |
| 381 | Weld = Instance.new("Weld",Cha)
| |
| 382 | Weld.Part0 = Case | |
| 383 | Weld.Part1 = Crystal3 | |
| 384 | Weld.C1 = CFrame.new(0,0,-1)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 385 | coroutine.resume(coroutine.create(function() | |
| 386 | while wait() do | |
| 387 | Crystal3.Reflectance = 0.2 | |
| 388 | wait(0.5) | |
| 389 | Crystal3.Reflectance = 0.4 | |
| 390 | wait(0.5) | |
| 391 | Crystal3.Reflectance = 0.6 | |
| 392 | wait(0.5) | |
| 393 | Crystal3.Reflectance = 0.8 | |
| 394 | wait(0.5) | |
| 395 | Crystal3.Reflectance = 1 | |
| 396 | end | |
| 397 | end)) | |
| 398 | ||
| 399 | Blade1.Touched:connect(function(hit) | |
| 400 | if hit.Parent:FindFirstChild("Humanoid") and dmg == false then
| |
| 401 | hit.Parent.Humanoid:TakeDamage(3) | |
| 402 | end | |
| 403 | end) | |
| 404 | ||
| 405 | ||
| 406 | Blade2.Touched:connect(function(hit) | |
| 407 | if hit.Parent:FindFirstChild("Humanoid") and dmg == false then
| |
| 408 | hit.Parent.Humanoid:TakeDamage(3) | |
| 409 | end | |
| 410 | end) | |
| 411 | ||
| 412 | ||
| 413 | BladeTop.Touched:connect(function(hit) | |
| 414 | if hit.Parent:FindFirstChild("Humanoid") and dmg == false then
| |
| 415 | hit.Parent.Humanoid:TakeDamage(3) | |
| 416 | end | |
| 417 | end) | |
| 418 | ||
| 419 | ||
| 420 | BladeTop2.Touched:connect(function(hit) | |
| 421 | if hit.Parent:FindFirstChild("Humanoid") and dmg == false then
| |
| 422 | hit.Parent.Humanoid:TakeDamage(3) | |
| 423 | end | |
| 424 | end) | |
| 425 | ||
| 426 | function Chat(Object,Text,Color) | |
| 427 | local Color = BrickColor.new(Color) | |
| 428 | pcall(function()Object:findFirstChild("AtlasText"):Destroy()end)
| |
| 429 | local G = Instance.new("BillboardGui",Object)
| |
| 430 | G.Name = "AtlasText" | |
| 431 | G.Adornee = Object | |
| 432 | G.Size = UDim2.new(3.5,0,2.5,0) | |
| 433 | G.AlwaysOnTop = false | |
| 434 | G.StudsOffset = Vector3.new(0,3,0) | |
| 435 | local Frame = Instance.new("Frame")
| |
| 436 | Frame.Parent = G | |
| 437 | Frame.Size = UDim2.new(1,0,1,0) | |
| 438 | Frame.BackgroundTransparency = 1 | |
| 439 | local Txt = Instance.new("TextLabel",Frame)
| |
| 440 | Txt.Size = UDim2.new(1,0,1,0) | |
| 441 | Txt.Text = Text | |
| 442 | Txt.TextScaled = true | |
| 443 | Txt.TextWrapped = true | |
| 444 | Txt.Font = "SourceSansBold" | |
| 445 | Txt.TextColor = Color | |
| 446 | Txt.BackgroundTransparency = 1 | |
| 447 | Txt.ZIndex = 2 | |
| 448 | Game:GetService("Debris"):AddItem(G,3)
| |
| 449 | end | |
| 450 | ||
| 451 | mouse.KeyDown:connect(function(key) | |
| 452 | key:lower() | |
| 453 | if key == "e" and equip == false then | |
| 454 | ||
| 455 | equip = true | |
| 456 | ||
| 457 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 458 | wait() | |
| 459 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.2, 1.55, 0) | |
| 460 | wait() | |
| 461 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 462 | wait() | |
| 463 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 464 | wait() | |
| 465 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 466 | wait() | |
| 467 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 468 | wait() | |
| 469 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.4, 0, 0) | |
| 470 | wait() | |
| 471 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 472 | wait() | |
| 473 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.6, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 474 | wait() | |
| 475 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.7, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 476 | wait() | |
| 477 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.8, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 478 | wait() | |
| 479 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.9, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 480 | wait() | |
| 481 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 1, 0.7)*CFrame.fromEulerAnglesXYZ(-0.5, -0.5, 0) | |
| 482 | ||
| 483 | HandleWeld.Part0 = Cha["Right Arm"] | |
| 484 | HandleWeld.Part1 = Handle | |
| 485 | HandleWeld.C1 = CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0, 3.1, 0) | |
| 486 | wait() | |
| 487 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.9, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 488 | wait() | |
| 489 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.8, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 490 | wait() | |
| 491 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.7, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 492 | wait() | |
| 493 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.6, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 494 | wait() | |
| 495 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 496 | wait() | |
| 497 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.4, 0, 0) | |
| 498 | wait() | |
| 499 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 500 | wait() | |
| 501 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 502 | wait() | |
| 503 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 504 | wait() | |
| 505 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.2, 1.55, 0) | |
| 506 | wait() | |
| 507 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 508 | ||
| 509 | end | |
| 510 | ||
| 511 | if key == "q" and equip == true then | |
| 512 | equip = false | |
| 513 | ||
| 514 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 515 | wait() | |
| 516 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.2, 1.55, 0) | |
| 517 | wait() | |
| 518 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 519 | wait() | |
| 520 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 521 | wait() | |
| 522 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 523 | wait() | |
| 524 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 525 | wait() | |
| 526 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.4, 0, 0) | |
| 527 | wait() | |
| 528 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 529 | wait() | |
| 530 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.6, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 531 | wait() | |
| 532 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.7, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 533 | wait() | |
| 534 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.8, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 535 | wait() | |
| 536 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.9, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 537 | wait() | |
| 538 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 1, 0.7)*CFrame.fromEulerAnglesXYZ(-0.5, -0.5, 0) | |
| 539 | ||
| 540 | HandleWeld.Part0 = Cha.Torso | |
| 541 | HandleWeld.Part1 = Handle | |
| 542 | HandleWeld.C1 = CFrame.new(1, 1.2, 0.8)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 543 | ||
| 544 | wait() | |
| 545 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.9, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 546 | wait() | |
| 547 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.8, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 548 | wait() | |
| 549 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.7, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 550 | wait() | |
| 551 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.6, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 552 | wait() | |
| 553 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.5, 0, 0) | |
| 554 | wait() | |
| 555 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 1)*CFrame.fromEulerAnglesXYZ(-0.4, 0, 0) | |
| 556 | wait() | |
| 557 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-1, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 558 | wait() | |
| 559 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 0, 0) | |
| 560 | wait() | |
| 561 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.3, 1.55, 0) | |
| 562 | wait() | |
| 563 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.2, 1.55, 0) | |
| 564 | wait() | |
| 565 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 566 | ||
| 567 | ||
| 568 | end | |
| 569 | ||
| 570 | if key == "r" and slash == false and equip == true then | |
| 571 | slash = true | |
| 572 | playSound(153092315,Blade1,1,1) | |
| 573 | Chat(Cha.Head,"Aura slash...","Navy blue") | |
| 574 | dmg = false | |
| 575 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -2.5) | |
| 576 | wait() | |
| 577 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -1.7) | |
| 578 | wait() | |
| 579 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -0.9) | |
| 580 | wait() | |
| 581 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, -0.1) | |
| 582 | wait() | |
| 583 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 584 | ||
| 585 | torso = Player.Character.Torso | |
| 586 | ||
| 587 | bla=Instance.new('Part',Workspace)
| |
| 588 | bla.Material = "SmoothPlastic" | |
| 589 | bla.Size=Vector3.new(3,7,3) | |
| 590 | bla.TopSurface = "Smooth" | |
| 591 | bla.BottomSurface = "Smooth" | |
| 592 | bla.BrickColor=BrickColor.new("Navy blue")
| |
| 593 | bla.CanCollide = True | |
| 594 | bla.Position=torso.Position+torso.CFrame.lookVector*8 | |
| 595 | bla.Transparency = 0.6 | |
| 596 | blaMesh = Instance.new("SpecialMesh", bla)
| |
| 597 | blaMesh.MeshType = "Wedge" | |
| 598 | blaMesh.Scale = Vector3.new(0.4,3,0.4) | |
| 599 | bla:BreakJoints() | |
| 600 | blav = Instance.new('BodyVelocity',bla)
| |
| 601 | blav.maxForce = Vector3.new()*math.huge | |
| 602 | blav.velocity = torso.CFrame.lookVector*250 | |
| 603 | ||
| 604 | ||
| 605 | bla.Touched:connect(function(hit) | |
| 606 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 607 | bla:Destroy() | |
| 608 | hit.Parent.Humanoid:TakeDamage(40) | |
| 609 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 610 | Boom2 = Instance.new("Part",Workspace)
| |
| 611 | Boom2.Material = "SmoothPlastic" | |
| 612 | Boom2.BrickColor = BrickColor.new("Really black")
| |
| 613 | Boom2.Transparency = 0.4 | |
| 614 | Boom2.TopSurface = "Smooth" | |
| 615 | Boom2.BottomSurface = "Smooth" | |
| 616 | Boom2.Anchored = true | |
| 617 | Boom2.CanCollide = True | |
| 618 | Boom2.Size = Vector3.new(1,1,1) | |
| 619 | Boom2.CFrame = hit.Parent:FindFirstChild("Humanoid").Torso.CFrame
| |
| 620 | Boom2Mesh = Instance.new("SpecialMesh", Boom2)
| |
| 621 | Boom2Mesh.MeshType = "Sphere" | |
| 622 | Boom2Mesh.Scale = Vector3.new(1,0.5,1) | |
| 623 | wait() | |
| 624 | Boom2Mesh.Scale = Vector3.new(3,0.5,3) | |
| 625 | wait() | |
| 626 | Boom2Mesh.Scale = Vector3.new(5,0.5,5) | |
| 627 | wait() | |
| 628 | Boom2Mesh.Scale = Vector3.new(7,0.5,7) | |
| 629 | wait() | |
| 630 | Boom2Mesh.Scale = Vector3.new(9,0.5,9) | |
| 631 | wait() | |
| 632 | Boom2Mesh.Scale = Vector3.new(11,0.5,11) | |
| 633 | wait() | |
| 634 | Boom2Mesh.Scale = Vector3.new(13,0.5,13) | |
| 635 | wait() | |
| 636 | Boom2Mesh.Scale = Vector3.new(15,0.5,15) | |
| 637 | wait(1) | |
| 638 | Boom2:Destroy() | |
| 639 | end | |
| 640 | end) | |
| 641 | ||
| 642 | for i = 1,26 do wait() | |
| 643 | p3 = Instance.new("Part",workspace)
| |
| 644 | p3.Material = "SmoothPlastic" | |
| 645 | p3.FormFactor="Custom" | |
| 646 | p3.Size = Vector3.new(3,7,3) | |
| 647 | p3.TopSurface = 0 | |
| 648 | p3.BottomSurface = 0 | |
| 649 | p3.BrickColor=BrickColor.new("Really black")
| |
| 650 | p3.Transparency=.8 | |
| 651 | p3.CanCollide=false | |
| 652 | p3.Anchored=true | |
| 653 | p3.CFrame =(bla.CFrame*CFrame.new(0,0,0)) | |
| 654 | p3Mesh = Instance.new("SpecialMesh", p3)
| |
| 655 | p3Mesh.MeshType = "Wedge" | |
| 656 | p3Mesh.Scale = Vector3.new(0.2,2.5,0.2) | |
| 657 | game.Debris:AddItem(p3,0.2) | |
| 658 | end | |
| 659 | ||
| 660 | wait() | |
| 661 | dmg = true | |
| 662 | ||
| 663 | ||
| 664 | ||
| 665 | wait(10) | |
| 666 | slash = false | |
| 667 | end | |
| 668 | if key == "f" and equip == true and attack1 == false then | |
| 669 | Chat(Cha.Head,". . .","Really black") | |
| 670 | attack1 = true | |
| 671 | dmg = false | |
| 672 | ||
| 673 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, -1.2, -0.4) | |
| 674 | Cha.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.5, -0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 675 | playSound(10209645,Blade1,1,1) | |
| 676 | wait(1) | |
| 677 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, -1, -0.4) | |
| 678 | wait() | |
| 679 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, -0.6, -0.4) | |
| 680 | wait() | |
| 681 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, -0.2, -0.4) | |
| 682 | wait() | |
| 683 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0.2, -0.4) | |
| 684 | wait() | |
| 685 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0.6, -0.4) | |
| 686 | wait() | |
| 687 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-2, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1, -0.4) | |
| 688 | wait() | |
| 689 | Cha.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 1.55, 0) | |
| 690 | Cha.Torso["Left Shoulder"].C1 = CFrame.new(0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, -1.55, 0) | |
| 691 | ||
| 692 | wait() | |
| 693 | dmg = true | |
| 694 | ||
| 695 | wait(5) | |
| 696 | attack1 = false | |
| 697 | end | |
| 698 | end) | |
| 699 | ||
| 700 | while wait() do | |
| 701 | for i = 1,26 do wait() | |
| 702 | p = Instance.new("Part",workspace)
| |
| 703 | p.Material = "SmoothPlastic" | |
| 704 | p.FormFactor="Custom" | |
| 705 | p.Size = Vector3.new(0.2,0.2,3.3) | |
| 706 | p.TopSurface = 0 | |
| 707 | p.BottomSurface = 0 | |
| 708 | p.BrickColor=BrickColor.new("Really black")
| |
| 709 | p.Transparency=.8 | |
| 710 | p.CanCollide=false | |
| 711 | p.Anchored=true | |
| 712 | p.CFrame =(Blade1.CFrame*CFrame.new(0,0,0)) | |
| 713 | pMesh = Instance.new("SpecialMesh", p)
| |
| 714 | pMesh.MeshType = "Brick" | |
| 715 | pMesh.Scale = Vector3.new(0.3,0.3,1) | |
| 716 | game.Debris:AddItem(p,0.2) | |
| 717 | ||
| 718 | p2 = Instance.new("Part",workspace)
| |
| 719 | p2.Material = "SmoothPlastic" | |
| 720 | p2.FormFactor="Custom" | |
| 721 | p2.Size = Vector3.new(0.2,0.2,3) | |
| 722 | p2.TopSurface = 0 | |
| 723 | p2.BottomSurface = 0 | |
| 724 | p2.BrickColor=BrickColor.new("White")
| |
| 725 | p2.Transparency=.8 | |
| 726 | p2.CanCollide=false | |
| 727 | p2.Anchored=true | |
| 728 | p2.CFrame =(Blade2.CFrame*CFrame.new(0,0,0)) | |
| 729 | p2Mesh = Instance.new("SpecialMesh", p2)
| |
| 730 | p2Mesh.MeshType = "Brick" | |
| 731 | p2Mesh.Scale = Vector3.new(0.3,0.3,1) | |
| 732 | game.Debris:AddItem(p2,0.2) | |
| 733 | end | |
| 734 | end |