Advertisement
UnknownUser25

FE Shadow Warrior

Oct 31st, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 45.05 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. spawn (function()
  84. Me = owner
  85. char = Me.Character
  86. larm = char["Left Arm"]
  87. rarm = char["Right Arm"]
  88. lleg = char["Left Leg"]
  89. rleg = char["Right Leg"]
  90. torso = char.Torso
  91.  
  92. lleg.Transparency = 1
  93. rleg.Transparency = 1
  94. larm.Transparency = 1
  95. rarm.Transparency = 1
  96. torso.Transparency = 1
  97. ------------------------------------------------------------------ Player -------------------------------------------------------------------
  98.  
  99. ----------------------------------------------------------------- Left Arm -----------------------------------------------------------------
  100. larm1 = Instance.new("Part", char)
  101. larm1.Name = "Middle"
  102. larm1.BrickColor = BrickColor.new("Royal purple")
  103. larm1.Size = Vector3.new(1, 2, 1)
  104. larm1.CanCollide = false
  105. larm1.BottomSurface = "Smooth"
  106. larm1.TopSurface = "Smooth"
  107. larm1.Material = "Neon"
  108. Weld = Instance.new("Weld",larm)
  109. Weld.Part0 = larm
  110. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  111. Weld.Part1 = larm1
  112. Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  113.  
  114. larm2 = Instance.new("Part", char)
  115. larm2.BrickColor = BrickColor.new("Really black")
  116. larm2.Size = Vector3.new(1, 0.4, 1)
  117. larm2.CanCollide = false
  118. larm2.BottomSurface = "Smooth"
  119. larm2.TopSurface = "Smooth"
  120. Weld = Instance.new("Weld",larm)
  121. Weld.Part0 = larm
  122. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  123. Weld.Part1 = larm2
  124. Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096)
  125.  
  126. larm3 = Instance.new("Part", char)
  127. larm3.BrickColor = BrickColor.new("Really black")
  128. larm3.Size = Vector3.new(1, 0.4, 1)
  129. larm3.CanCollide = false
  130. larm3.BottomSurface = "Smooth"
  131. larm3.TopSurface = "Smooth"
  132. Weld = Instance.new("Weld",larm)
  133. Weld.Part0 = larm
  134. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  135. Weld.Part1 = larm3
  136. Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601)
  137.  
  138. larm4 = Instance.new("Part", char)
  139. larm4.BrickColor = BrickColor.new("Really black")
  140. larm4.Size = Vector3.new(1, 0.4, 1)
  141. larm4.CanCollide = false
  142. larm4.BottomSurface = "Smooth"
  143. larm4.TopSurface = "Smooth"
  144. Weld = Instance.new("Weld",larm)
  145. Weld.Part0 = larm
  146. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  147. Weld.Part1 = larm4
  148. Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096)
  149.  
  150. larm5 = Instance.new("Part", char)
  151. larm5.BrickColor = BrickColor.new("Really black")
  152. larm5.Size = Vector3.new(1, 0.4, 1)
  153. larm5.CanCollide = false
  154. larm5.BottomSurface = "Smooth"
  155. larm5.TopSurface = "Smooth"
  156. Weld = Instance.new("Weld",larm)
  157. Weld.Part0 = larm
  158. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  159. Weld.Part1 = larm5
  160. Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601)
  161.  
  162. larm6 = Instance.new("Part", char)
  163. larm6.BrickColor = BrickColor.new("Really black")
  164. larm6.Size = Vector3.new(1, 0.4, 1)
  165. larm6.CanCollide = false
  166. larm6.BottomSurface = "Smooth"
  167. larm6.TopSurface = "Smooth"
  168. Mesh = Instance.new("SpecialMesh", larm6)
  169. Mesh.MeshType = "Brick"
  170. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  171. Weld = Instance.new("Weld",larm)
  172. Weld.Part0 = larm
  173. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  174. Weld.Part1 = larm6
  175. Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096)
  176.  
  177. larm7 = Instance.new("Part", char)
  178. larm7.BrickColor = BrickColor.new("Royal purple")
  179. larm7.Size = Vector3.new(0.5, 0.3, 2)
  180. larm7.CanCollide = false
  181. larm7.BottomSurface = "Smooth"
  182. larm7.TopSurface = "Smooth"
  183. larm7.Material = "Neon"
  184. Weld = Instance.new("Weld",larm)
  185. Weld.Part0 = larm
  186. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  187. Weld.Part1 = larm7
  188. Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271)
  189.  
  190. larm8 = Instance.new("Part", char)
  191. larm8.BrickColor = BrickColor.new("Really black")
  192. larm8.Size = Vector3.new(1, 0.4, 1)
  193. larm8.CanCollide = false
  194. larm8.BottomSurface = "Smooth"
  195. larm8.TopSurface = "Smooth"
  196. Weld = Instance.new("Weld",larm)
  197. Weld.Part0 = larm
  198. Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601)
  199. Weld.Part1 = larm8
  200. Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096)   
  201. ----------------------------------------------------------------- Right Arm -----------------------------------------------------------------
  202. rarm1 = Instance.new("Part", char)
  203. rarm1.Name = "Middle"
  204. rarm1.BrickColor = BrickColor.new("Royal purple")
  205. rarm1.Size = Vector3.new(1, 2, 1)
  206. rarm1.CanCollide = false
  207. rarm1.BottomSurface = "Smooth"
  208. rarm1.TopSurface = "Smooth"
  209. rarm1.Material = "Neon"
  210. Weld = Instance.new("Weld",rarm)
  211. Weld.Part0 = rarm
  212. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  213. Weld.Part1 = rarm1
  214. Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  215.  
  216. rarm2 = Instance.new("Part", char)
  217. rarm2.BrickColor = BrickColor.new("Really black")
  218. rarm2.Size = Vector3.new(1, 0.4, 1)
  219. rarm2.CanCollide = false
  220. rarm2.BottomSurface = "Smooth"
  221. rarm2.TopSurface = "Smooth"
  222. Weld = Instance.new("Weld",rarm)
  223. Weld.Part0 = rarm
  224. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  225. Weld.Part1 = rarm2
  226. Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362)
  227.  
  228. rarm3 = Instance.new("Part", char)
  229. rarm3.BrickColor = BrickColor.new("Really black")
  230. rarm3.Size = Vector3.new(1, 0.4, 1)
  231. rarm3.CanCollide = false
  232. rarm3.BottomSurface = "Smooth"
  233. rarm3.TopSurface = "Smooth"
  234. Weld = Instance.new("Weld",rarm)
  235. Weld.Part0 = rarm
  236. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  237. Weld.Part1 = rarm3
  238. Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668)
  239.  
  240. rarm4 = Instance.new("Part", char)
  241. rarm4.BrickColor = BrickColor.new("Really black")
  242. rarm4.Size = Vector3.new(1, 0.4, 1)
  243. rarm4.CanCollide = false
  244. rarm4.BottomSurface = "Smooth"
  245. rarm4.TopSurface = "Smooth"
  246. Weld = Instance.new("Weld",rarm)
  247. Weld.Part0 = rarm
  248. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  249. Weld.Part1 = rarm4
  250. Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057)
  251.  
  252. rarm5 = Instance.new("Part", char)
  253. rarm5.BrickColor = BrickColor.new("Really black")
  254. rarm5.Size = Vector3.new(1, 0.4, 1)
  255. rarm5.CanCollide = false
  256. rarm5.BottomSurface = "Smooth"
  257. rarm5.TopSurface = "Smooth"
  258. Mesh = Instance.new("SpecialMesh", rarm5)
  259. Mesh.MeshType = "Brick"
  260. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  261. Weld = Instance.new("Weld",rarm)
  262. Weld.Part0 = rarm
  263. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  264. Weld.Part1 = rarm5
  265. Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362)
  266.  
  267. rarm6 = Instance.new("Part", char)
  268. rarm6.BrickColor = BrickColor.new("Really black")
  269. rarm6.Size = Vector3.new(1, 0.4, 1)
  270. rarm6.CanCollide = false
  271. rarm6.BottomSurface = "Smooth"
  272. rarm6.TopSurface = "Smooth"
  273. Weld = Instance.new("Weld",rarm)
  274. Weld.Part0 = rarm
  275. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  276. Weld.Part1 = rarm6
  277. Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057)
  278.  
  279. rarm7 = Instance.new("Part", char)
  280. rarm7.BrickColor = BrickColor.new("Royal purple")
  281. rarm7.Size = Vector3.new(0.5, 0.3, 2)
  282. rarm7.CanCollide = false
  283. rarm7.BottomSurface = "Smooth"
  284. rarm7.TopSurface = "Smooth"
  285. rarm7.Material = "Neon"
  286. Weld = Instance.new("Weld",rarm)
  287. Weld.Part0 = rarm
  288. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  289. Weld.Part1 = rarm7
  290. Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915)
  291.  
  292. rarm8 = Instance.new("Part", char)
  293. rarm8.BrickColor = BrickColor.new("Really black")
  294. rarm8.Size = Vector3.new(1, 0.4, 1)
  295. rarm8.CanCollide = false
  296. rarm8.BottomSurface = "Smooth"
  297. rarm8.TopSurface = "Smooth"
  298. Weld = Instance.new("Weld",rarm)
  299. Weld.Part0 = rarm
  300. Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668)  
  301. Weld.Part1 = rarm8
  302. Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455)
  303. ----------------------------------------------------------------- Left Leg -----------------------------------------------------------------
  304. lleg1 = Instance.new("Part", char)
  305. lleg1.Name = "Middle"
  306. lleg1.BrickColor = BrickColor.new("Royal purple")
  307. lleg1.Size = Vector3.new(1, 2, 1)
  308. lleg1.CanCollide = false
  309. lleg1.BottomSurface = "Smooth"
  310. lleg1.TopSurface = "Smooth"
  311. lleg1.Material = "Neon"
  312. Weld = Instance.new("Weld",lleg)
  313. Weld.Part0 = lleg
  314. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  315. Weld.Part1 = lleg1
  316. Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  317.  
  318. lleg2 = Instance.new("Part", char)
  319. lleg2.BrickColor = BrickColor.new("Really black")
  320. lleg2.Size = Vector3.new(1, 0.4, 1)
  321. lleg2.CanCollide = false
  322. lleg2.BottomSurface = "Smooth"
  323. lleg2.TopSurface = "Smooth"
  324. Weld = Instance.new("Weld",lleg)
  325. Weld.Part0 = lleg
  326. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  327. Weld.Part1 = lleg2
  328. Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0)
  329.  
  330. lleg3 = Instance.new("Part", char)
  331. lleg3.BrickColor = BrickColor.new("Really black")
  332. lleg3.Size = Vector3.new(0.5, 0.3, 2)
  333. lleg3.CanCollide = false
  334. lleg3.BottomSurface = "Smooth"
  335. lleg3.TopSurface = "Smooth"
  336. Weld = Instance.new("Weld",lleg)
  337. Weld.Part0 = lleg
  338. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  339. Weld.Part1 = lleg3
  340. Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769)
  341.  
  342. lleg4 = Instance.new("Part", char)
  343. lleg4.BrickColor = BrickColor.new("Really black")
  344. lleg4.Size = Vector3.new(1, 0.4, 1)
  345. lleg4.CanCollide = false
  346. lleg4.BottomSurface = "Smooth"
  347. lleg4.TopSurface = "Smooth"
  348. Weld = Instance.new("Weld",lleg)
  349. Weld.Part0 = lleg
  350. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  351. Weld.Part1 = lleg4
  352. Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1)
  353.  
  354. lleg5 = Instance.new("Part", char)
  355. lleg5.BrickColor = BrickColor.new("Really black")
  356. lleg5.Size = Vector3.new(1, 0.4, 1)
  357. lleg5.CanCollide = false
  358. lleg5.BottomSurface = "Smooth"
  359. lleg5.TopSurface = "Smooth"
  360. Weld = Instance.new("Weld",lleg)
  361. Weld.Part0 = lleg
  362. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  363. Weld.Part1 = lleg5
  364. Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015)
  365.  
  366. lleg6 = Instance.new("Part", char)
  367. lleg6.BrickColor = BrickColor.new("Really black")
  368. lleg6.Size = Vector3.new(1, 0.4, 1)
  369. lleg6.CanCollide = false
  370. lleg6.BottomSurface = "Smooth"
  371. lleg6.TopSurface = "Smooth"
  372. Weld = Instance.new("Weld",lleg)
  373. Weld.Part0 = lleg
  374. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  375. Weld.Part1 = lleg6
  376. Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1)
  377.  
  378. lleg7 = Instance.new("Part", char)
  379. lleg7.BrickColor = BrickColor.new("Really black")
  380. lleg7.Size = Vector3.new(1, 0.4, 1)
  381. lleg7.CanCollide = false
  382. lleg7.BottomSurface = "Smooth"
  383. lleg7.TopSurface = "Smooth"
  384. Weld = Instance.new("Weld",lleg)
  385. Weld.Part0 = lleg
  386. Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  387. Weld.Part1 = lleg7
  388. Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1)
  389. ----------------------------------------------------------------- Right Leg -----------------------------------------------------------------
  390. rleg1 = Instance.new("Part", char)
  391. rleg1.Name = "Middle"
  392. rleg1.BrickColor = BrickColor.new("Royal purple")
  393. rleg1.Size = Vector3.new(1, 2, 1)
  394. rleg1.CanCollide = false
  395. rleg1.BottomSurface = "Smooth"
  396. rleg1.TopSurface = "Smooth"
  397. rleg1.Material = "Neon"
  398. Weld = Instance.new("Weld",rleg)
  399. Weld.Part0 = rleg
  400. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  401. Weld.Part1 = rleg1
  402. Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  403.  
  404. rleg2 = Instance.new("Part", char)
  405. rleg2.BrickColor = BrickColor.new("Really black")
  406. rleg2.Size = Vector3.new(1, 0.4, 1)
  407. rleg2.CanCollide = false
  408. rleg2.BottomSurface = "Smooth"
  409. rleg2.TopSurface = "Smooth"
  410. Weld = Instance.new("Weld",rleg)
  411. Weld.Part0 = rleg
  412. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  413. Weld.Part1 = rleg2
  414. Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1)
  415.  
  416. rleg3 = Instance.new("Part", char)
  417. rleg3.BrickColor = BrickColor.new("Really black")
  418. rleg3.Size = Vector3.new(1, 0.4, 1)
  419. rleg3.CanCollide = false
  420. rleg3.BottomSurface = "Smooth"
  421. rleg3.TopSurface = "Smooth"
  422. Weld = Instance.new("Weld",rleg)
  423. Weld.Part0 = rleg
  424. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  425. Weld.Part1 = rleg3
  426. Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762)
  427.  
  428. rleg4 = Instance.new("Part", char)
  429. rleg4.BrickColor = BrickColor.new("Really black")
  430. rleg4.Size = Vector3.new(1, 0.4, 1)
  431. rleg4.CanCollide = false
  432. rleg4.BottomSurface = "Smooth"
  433. rleg4.TopSurface = "Smooth"
  434. Weld = Instance.new("Weld",rleg)
  435. Weld.Part0 = rleg
  436. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  437. Weld.Part1 = rleg4
  438. Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1)
  439.  
  440. rleg5 = Instance.new("Part", char)
  441. rleg5.BrickColor = BrickColor.new("Really black")
  442. rleg5.Size = Vector3.new(1, 0.4, 1)
  443. rleg5.CanCollide = false
  444. rleg5.BottomSurface = "Smooth"
  445. rleg5.TopSurface = "Smooth"
  446. Weld = Instance.new("Weld",rleg)
  447. Weld.Part0 = rleg
  448. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  449. Weld.Part1 = rleg5
  450. Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015)
  451.  
  452. rleg6 = Instance.new("Part", char)
  453. rleg6.BrickColor = BrickColor.new("Really black")
  454. rleg6.Size = Vector3.new(1, 0.4, 1)
  455. rleg6.CanCollide = false
  456. rleg6.BottomSurface = "Smooth"
  457. rleg6.TopSurface = "Smooth"
  458. Weld = Instance.new("Weld",rleg)
  459. Weld.Part0 = rleg
  460. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) 
  461. Weld.Part1 = rleg6
  462. Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0)
  463.  
  464. rleg7 = Instance.new("Part", char)
  465. rleg7.BrickColor = BrickColor.new("Really black")
  466. rleg7.Size = Vector3.new(0.5, 0.3, 2)
  467. rleg7.CanCollide = false
  468. rleg7.BottomSurface = "Smooth"
  469. rleg7.TopSurface = "Smooth"
  470. Weld = Instance.new("Weld",rleg)
  471. Weld.Part0 = rleg
  472. Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  473. Weld.Part1 = rleg7
  474. Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769)
  475. ----------------------------------------------------------------- Torso -----------------------------------------------------------------
  476. Chest1 = Instance.new("Part", char)
  477. Chest1.Name = "Ball"
  478. Chest1.BrickColor = BrickColor.new("Royal purple")
  479. Chest1.Size = Vector3.new(1, 0.4, 1)
  480. Chest1.CanCollide = false
  481. Chest1.BottomSurface = "Smooth"
  482. Chest1.TopSurface = "Smooth"
  483. Chest1.Material = "Neon"
  484. Mesh = Instance.new("CylinderMesh", Chest1)
  485. Mesh.Scale = Vector3.new(0.9, 0.4, 0.9)
  486. Weld = Instance.new("Weld",torso)
  487. Weld.Part0 = torso
  488. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  489. Weld.Part1 = Chest1
  490. Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0)
  491.  
  492. Chest2 = Instance.new("Part", char)
  493. Chest2.BrickColor = BrickColor.new("Royal purple")
  494. Chest2.Name = "Middle"
  495. Chest2.Size = Vector3.new(2, 2, 1)
  496. Chest2.CanCollide = false
  497. Chest2.BottomSurface = "Smooth"
  498. Chest2.TopSurface = "Smooth"
  499. Chest2.Material = "Neon"
  500. Weld = Instance.new("Weld",torso)
  501. Weld.Part0 = torso
  502. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  503. Weld.Part1 = Chest2
  504. Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  505.  
  506. Chest3 = Instance.new("Part", char)
  507. Chest3.BrickColor = BrickColor.new("Really black")
  508. Chest3.Size = Vector3.new(1, 0.4, 1)
  509. Chest3.CanCollide = false
  510. Chest3.BottomSurface = "Smooth"
  511. Chest3.TopSurface = "Smooth"
  512. Weld = Instance.new("Weld",torso)
  513. Weld.Part0 = torso
  514. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  515. Weld.Part1 = Chest3
  516. Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008)
  517.  
  518. Chest4 = Instance.new("Part", char)
  519. Chest4.BrickColor = BrickColor.new("Really black")
  520. Chest4.Size = Vector3.new(1, 0.4, 1)
  521. Chest4.CanCollide = false
  522. Chest4.BottomSurface = "Smooth"
  523. Chest4.TopSurface = "Smooth"
  524. Weld = Instance.new("Weld",torso)
  525. Weld.Part0 = torso
  526. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  527. Weld.Part1 = Chest4
  528. Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015)
  529.  
  530. Chest5 = Instance.new("Part", char)
  531. Chest5.BrickColor = BrickColor.new("Really black")
  532. Chest5.Size = Vector3.new(1, 0.4, 1)
  533. Chest5.CanCollide = false
  534. Chest5.BottomSurface = "Smooth"
  535. Chest5.TopSurface = "Smooth"
  536. Weld = Instance.new("Weld",torso)
  537. Weld.Part0 = torso
  538. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  539. Weld.Part1 = Chest5
  540. Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0)
  541.  
  542. Chest6 = Instance.new("Part", char)
  543. Chest6.BrickColor = BrickColor.new("Really black")
  544. Chest6.Size = Vector3.new(1, 0.4, 1)
  545. Chest6.CanCollide = false
  546. Chest6.BottomSurface = "Smooth"
  547. Chest6.TopSurface = "Smooth"
  548. Weld = Instance.new("Weld",torso)
  549. Weld.Part0 = torso
  550. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  551. Weld.Part1 = Chest6
  552. Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0)
  553.  
  554. Chest7 = Instance.new("Part", char)
  555. Chest7.BrickColor = BrickColor.new("Really black")
  556. Chest7.Size = Vector3.new(1, 0.4, 1)
  557. Chest7.CanCollide = false
  558. Chest7.BottomSurface = "Smooth"
  559. Chest7.TopSurface = "Smooth"
  560. Weld = Instance.new("Weld",torso)
  561. Weld.Part0 = torso
  562. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  563. Weld.Part1 = Chest7
  564. Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0)
  565.  
  566. Chest8 = Instance.new("Part", char)
  567. Chest8.BrickColor = BrickColor.new("Really black")
  568. Chest8.Size = Vector3.new(1, 0.4, 1)
  569. Chest8.CanCollide = false
  570. Chest8.BottomSurface = "Smooth"
  571. Chest8.TopSurface = "Smooth"
  572. Weld = Instance.new("Weld",torso)
  573. Weld.Part0 = torso
  574. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  575. Weld.Part1 = Chest8
  576. Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008)
  577.  
  578. Chest9 = Instance.new("Part", char)
  579. Chest9.BrickColor = BrickColor.new("Really black")
  580. Chest9.Size = Vector3.new(0.5, 0.3, 2)
  581. Chest9.CanCollide = false
  582. Chest9.BottomSurface = "Smooth"
  583. Chest9.TopSurface = "Smooth"
  584. Weld = Instance.new("Weld",torso)
  585. Weld.Part0 = torso
  586. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  587. Weld.Part1 = Chest9
  588. Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0)
  589.  
  590. Chest10 = Instance.new("Part", char)
  591. Chest10.BrickColor = BrickColor.new("Really black")
  592. Chest10.Size = Vector3.new(1, 0.4, 1)
  593. Chest10.CanCollide = false
  594. Chest10.BottomSurface = "Smooth"
  595. Chest10.TopSurface = "Smooth"
  596. Mesh = Instance.new("SpecialMesh", Chest10)
  597. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  598. Weld = Instance.new("Weld",torso)
  599. Weld.Part0 = torso
  600. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  601. Weld.Part1 = Chest10
  602. Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1)
  603.  
  604. Chest11 = Instance.new("Part", char)
  605. Chest11.BrickColor = BrickColor.new("Really black")
  606. Chest11.Size = Vector3.new(0.5, 0.3, 2)
  607. Chest11.CanCollide = false
  608. Chest11.BottomSurface = "Smooth"
  609. Chest11.TopSurface = "Smooth"
  610. Weld = Instance.new("Weld",torso)
  611. Weld.Part0 = torso
  612. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  613. Weld.Part1 = Chest11
  614. Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015)
  615.  
  616. Chest12 = Instance.new("Part", char)
  617. Chest12.BrickColor = BrickColor.new("Really black")
  618. Chest12.Size = Vector3.new(0.5, 0.3, 2)
  619. Chest12.CanCollide = false
  620. Chest12.BottomSurface = "Smooth"
  621. Chest12.TopSurface = "Smooth"
  622. Weld = Instance.new("Weld",torso)
  623. Weld.Part0 = torso
  624. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  625. Weld.Part1 = Chest12
  626. Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011)
  627.  
  628. Chest13 = Instance.new("Part", char)
  629. Chest13.BrickColor = BrickColor.new("Really black")
  630. Chest13.Size = Vector3.new(0.5, 0.3, 2)
  631. Chest13.CanCollide = false
  632. Chest13.BottomSurface = "Smooth"
  633. Chest13.TopSurface = "Smooth"
  634. Weld = Instance.new("Weld",torso)
  635. Weld.Part0 = torso
  636. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  637. Weld.Part1 = Chest13
  638. Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044)
  639.  
  640. Chest14 = Instance.new("Part", char)
  641. Chest14.BrickColor = BrickColor.new("Really black")
  642. Chest14.Size = Vector3.new(0.5, 0.3, 2)
  643. Chest14.CanCollide = false
  644. Chest14.BottomSurface = "Smooth"
  645. Chest14.TopSurface = "Smooth"
  646. Weld = Instance.new("Weld",torso)
  647. Weld.Part0 = torso
  648. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  649. Weld.Part1 = Chest14
  650. Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902)
  651.  
  652. Chest15 = Instance.new("Part", char)
  653. Chest15.BrickColor = BrickColor.new("Really black")
  654. Chest15.Size = Vector3.new(0.5, 0.3, 2)
  655. Chest15.CanCollide = false
  656. Chest15.BottomSurface = "Smooth"
  657. Chest15.TopSurface = "Smooth"
  658. Weld = Instance.new("Weld",torso)
  659. Weld.Part0 = torso
  660. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  661. Weld.Part1 = Chest15
  662. Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027)
  663.  
  664. Chest16 = Instance.new("Part", char)
  665. Chest16.BrickColor = BrickColor.new("Really black")
  666. Chest16.Size = Vector3.new(0.5, 0.3, 2)
  667. Chest16.CanCollide = false
  668. Chest16.BottomSurface = "Smooth"
  669. Chest16.TopSurface = "Smooth"
  670. Weld = Instance.new("Weld",torso)
  671. Weld.Part0 = torso
  672. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  673. Weld.Part1 = Chest16
  674. Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867)
  675.  
  676. Chest17 = Instance.new("Part", char)
  677. Chest17.BrickColor = BrickColor.new("Really black")
  678. Chest17.Size = Vector3.new(0.5, 0.3, 2)
  679. Chest17.CanCollide = false
  680. Chest17.BottomSurface = "Smooth"
  681. Chest17.TopSurface = "Smooth"
  682. Weld = Instance.new("Weld",torso)
  683. Weld.Part0 = torso
  684. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  685. Weld.Part1 = Chest17
  686. Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044)
  687.  
  688. Chest18 = Instance.new("Part", char)
  689. Chest18.BrickColor = BrickColor.new("Really black")
  690. Chest18.Size = Vector3.new(0.5, 0.3, 2)
  691. Chest18.CanCollide = false
  692. Chest18.BottomSurface = "Smooth"
  693. Chest18.TopSurface = "Smooth"
  694. Weld = Instance.new("Weld",torso)
  695. Weld.Part0 = torso
  696. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  697. Weld.Part1 = Chest18
  698. Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044)
  699.  
  700. Chest19 = Instance.new("Part", char)
  701. Chest19.BrickColor = BrickColor.new("Really black")
  702. Chest19.Size = Vector3.new(0.5, 0.3, 2)
  703. Chest19.CanCollide = false
  704. Chest19.BottomSurface = "Smooth"
  705. Chest19.TopSurface = "Smooth"
  706. Weld = Instance.new("Weld",torso)
  707. Weld.Part0 = torso
  708. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  709. Weld.Part1 = Chest19
  710. Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925)
  711.  
  712. Chest20 = Instance.new("Part", char)
  713. Chest20.BrickColor = BrickColor.new("Really black")
  714. Chest20.Size = Vector3.new(1, 0.4, 1)
  715. Chest20.CanCollide = false
  716. Chest20.BottomSurface = "Smooth"
  717. Chest20.TopSurface = "Smooth"
  718. Mesh = Instance.new("SpecialMesh",Chest20)
  719. Mesh.Scale = Vector3.new(1.1,1.1,1.1)
  720. Weld = Instance.new("Weld",torso)
  721. Weld.Part0 = torso
  722. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  723. Weld.Part1 = Chest20
  724. Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1)
  725.  
  726. Chest21 = Instance.new("Part", char)
  727. Chest21.BrickColor = BrickColor.new("Really black")
  728. Chest21.Size = Vector3.new(0.5, 0.3, 2)
  729. Chest21.CanCollide = false
  730. Chest21.BottomSurface = "Smooth"
  731. Chest21.TopSurface = "Smooth"
  732. Weld = Instance.new("Weld",torso)
  733. Weld.Part0 = torso
  734. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  735. Weld.Part1 = Chest21
  736. Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027)
  737.  
  738. Chest22 = Instance.new("Part", char)
  739. Chest22.BrickColor = BrickColor.new("Really black")
  740. Chest22.Size = Vector3.new(0.5, 0.3, 2)
  741. Chest22.CanCollide = false
  742. Chest22.BottomSurface = "Smooth"
  743. Chest22.TopSurface = "Smooth"
  744. Weld = Instance.new("Weld",torso)
  745. Weld.Part0 = torso
  746. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  747. Weld.Part1 = Chest22
  748. Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925)
  749.  
  750. Chest23 = Instance.new("Part", char)
  751. Chest23.BrickColor = BrickColor.new("Really black")
  752. Chest23.Size = Vector3.new(0.5, 0.3, 2)
  753. Chest23.CanCollide = false
  754. Chest23.BottomSurface = "Smooth"
  755. Chest23.TopSurface = "Smooth"
  756. Weld = Instance.new("Weld",torso)
  757. Weld.Part0 = torso
  758. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  759. Weld.Part1 = Chest23
  760. Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926)
  761.  
  762. Chest24 = Instance.new("Part", char)
  763. Chest24.BrickColor = BrickColor.new("Really black")
  764. Chest24.Size = Vector3.new(0.5, 0.3, 2)
  765. Chest24.CanCollide = false
  766. Chest24.BottomSurface = "Smooth"
  767. Chest24.TopSurface = "Smooth"
  768. Weld = Instance.new("Weld",torso)
  769. Weld.Part0 = torso
  770. Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  771. Weld.Part1 = Chest24
  772. Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007)
  773. end)
  774. --Simple katana edit
  775. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  776. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  777. do
  778.     print("FE Compatibility code by Mokiros")
  779.     script.Parent = Player.Character
  780.  
  781.     --RemoteEvent for communicating
  782.     local Event = Instance.new("RemoteEvent")
  783.     Event.Name = "UserInput_Event"
  784.  
  785.     --Fake event to make stuff like Mouse.KeyDown work
  786.     local function fakeEvent()
  787.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  788.         t.connect = t.Connect
  789.         return t
  790.     end
  791.  
  792.     --Creating fake input objects with fake variables
  793.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  794.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  795.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  796.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  797.     end}
  798.     --Merged 2 functions into one by checking amount of arguments
  799.     CAS.UnbindAction = CAS.BindAction
  800.  
  801.     --This function will trigger the events that have been :Connect()'ed
  802.     local function te(self,ev,...)
  803.         local t = m[ev]
  804.         if t and t._fakeEvent and t.Function then
  805.             t.Function(...)
  806.         end
  807.     end
  808.     m.TrigEvent = te
  809.     UIS.TrigEvent = te
  810.  
  811.     Event.OnServerEvent:Connect(function(plr,io)
  812.         if plr~=Player then return end
  813.         if io.isMouse then
  814.             m.Target = io.Target
  815.             m.Hit = io.Hit
  816.         else
  817.             local b = io.UserInputState == Enum.UserInputState.Begin
  818.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  819.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  820.             end
  821.             for _,t in pairs(CAS.Actions) do
  822.                 for _,k in pairs(t.Keys) do
  823.                     if k==io.KeyCode then
  824.                         t.Function(t.Name,io.UserInputState,io)
  825.                     end
  826.                 end
  827.             end
  828.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  829.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  830.         end
  831.     end)
  832.     Event.Parent = NLS([==[
  833.     local Player = game:GetService("Players").LocalPlayer
  834.     local Event = script:WaitForChild("UserInput_Event")
  835.  
  836.     local UIS = game:GetService("UserInputService")
  837.     local input = function(io,a)
  838.         if a then return end
  839.         --Since InputObject is a client-side instance, we create and pass table instead
  840.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  841.     end
  842.     UIS.InputBegan:Connect(input)
  843.     UIS.InputEnded:Connect(input)
  844.  
  845.     local Mouse = Player:GetMouse()
  846.     local h,t
  847.     --Give the server mouse data 30 times every second, but only if the values changed
  848.     --If player is not moving their mouse, client won't fire events
  849.     while wait(1/30) do
  850.         if h~=Mouse.Hit or t~=Mouse.Target then
  851.             h,t=Mouse.Hit,Mouse.Target
  852.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  853.         end
  854.     end]==],Player.Character)
  855.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  856. end
  857. spawn (function()
  858. -- Objects
  859.  
  860. local Sword = Instance.new("Model")
  861. local Player = owner
  862. local Char = Player.Character
  863. local BaseAttachment = Instance.new("Attachment")
  864. local BladeAttackment = Instance.new("Attachment")
  865. local Blade = Instance.new("Part")
  866. local Trail = Instance.new("Trail")
  867. local RunService = game:GetService("RunService")
  868. local Handle = Instance.new("Part")
  869. local HandleToBlade = Instance.new("Weld")
  870. local HandToTorso = Instance.new("Weld")
  871. local HandleToHand = Instance.new("Weld")
  872. local BladeToSharp = Instance.new("Weld")
  873. local Sharp = Instance.new("WedgePart")
  874. local Slash = false
  875. local Blood = Instance.new("Part")
  876. local BloodCont = Instance.new("Model")
  877. local Smoothner = Instance.new("BlockMesh")
  878. local Attacking = false
  879. local HitSound = Instance.new("Sound")
  880. local SlashSound = Instance.new("Sound")
  881. local CFrames =
  882. {
  883.     t_HandToTorso =
  884.     {
  885.         BackClick = CFrame.new(-1.5, 1, 0) * CFrame.Angles(3.5, 0, 0),
  886.         BackStab =  CFrame.new(-1.5, 0.5, -0.5) * CFrame.Angles(1.5, 0, 0),
  887.         FrontClick = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),
  888.         FrontStab = CFrame.new(-1.5, 0.5, 0.5) * CFrame.Angles(-1.5, 0, 0)
  889.     },
  890.     t_HandleToHand =
  891.     {
  892.         BackClick = CFrame.new(0, 0, 0) * CFrame.Angles(-5, 0.2, 1),
  893.         BackStab = CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  894.         FrontClick = CFrame.new(0, 0, 0) * CFrame.Angles(1.5, 0, 0),
  895.         FrontStab = CFrame.new(0, 0, 0) * CFrame.Angles(3, 0, 0)
  896.     }
  897. }
  898.  
  899. -- Assets
  900.  
  901. game.ContentProvider:Preload("rbxassetid://196969716") -- Trail Texutre
  902. game.ContentProvider:Preload("rbxassetid://158037267") -- Slash Sound
  903. game.ContentProvider:Preload("rbxassetid://186311262") -- Hit Sound
  904.  
  905. -- Properties
  906.  
  907. Sword.Parent = Char
  908. Sword.Name = "Sword"
  909.  
  910. Handle.BrickColor = BrickColor.new("Really black")
  911. Handle.Material = "Marble"
  912. Handle.Name = "Handle"
  913. Handle.Anchored = false
  914. Handle.CanCollide = false
  915. Handle.Size = Vector3.new(0.1, 1, 0.35)
  916. Handle.BackSurface = "SmoothNoOutlines"
  917. Handle.BottomSurface = "SmoothNoOutlines"
  918. Handle.FrontSurface = "SmoothNoOutlines"
  919. Handle.LeftSurface = "SmoothNoOutlines"
  920. Handle.RightSurface = "SmoothNoOutlines"
  921. Handle.TopSurface = "SmoothNoOutlines"
  922.  
  923.  
  924. Blade.BrickColor = BrickColor.new("Royal purple")
  925. Blade.Material = "Neon"
  926. Blade.Name = "Blade"
  927. Blade.Anchored = false
  928. Blade.CanCollide = false
  929. Blade.Size = Vector3.new(0.1, 4.84, 0.35)
  930. Blade.BackSurface = "SmoothNoOutlines"
  931. Blade.BottomSurface = "SmoothNoOutlines"
  932. Blade.FrontSurface = "SmoothNoOutlines"
  933. Blade.LeftSurface = "SmoothNoOutlines"
  934. Blade.RightSurface = "SmoothNoOutlines"
  935. Blade.TopSurface = "SmoothNoOutlines"
  936.  
  937. Sharp.BrickColor = BrickColor.new("Royal purple")
  938. Sharp.Material = "Neon"
  939. Sharp.Name = "Sharp"
  940. Sharp.Anchored = false
  941. Sharp.CanCollide = false
  942. Sharp.Size = Vector3.new(0.1, 1, 0.35)
  943. Sharp.BackSurface = "SmoothNoOutlines"
  944. Sharp.BottomSurface = "SmoothNoOutlines"
  945. Sharp.FrontSurface = "SmoothNoOutlines"
  946. Sharp.LeftSurface = "SmoothNoOutlines"
  947. Sharp.RightSurface = "SmoothNoOutlines"
  948. Sharp.TopSurface = "SmoothNoOutlines"
  949.  
  950. Blood.BrickColor = BrickColor.new("Really red")
  951. Blood.Size = Vector3.new(0.5, 0.3, 0.6)
  952.  
  953. BloodCont.Name = "BloodCont"
  954.  
  955. Smoothner.Parent = Blood
  956.  
  957. BaseAttachment.Parent = Sharp
  958. BladeAttackment.Parent = Blade
  959.  
  960. Trail.Attachment0 = BaseAttachment
  961. Trail.Attachment1 = BladeAttackment
  962. Trail.Parent = Sharp
  963. Trail.Enabled = false
  964. Trail.Transparency = NumberSequence.new(0, 1)
  965. Trail.Texture = "rbxassetid://196969716"
  966. Trail.Lifetime = 0.15
  967.  
  968. SlashSound.Parent = Handle
  969. SlashSound.Name = "SlashSound"
  970. SlashSound.Volume = 0.4
  971. SlashSound.SoundId = "rbxassetid://158037267"
  972.  
  973. HitSound.Parent = Handle
  974. HitSound.Name = "HitSound"
  975. HitSound.Volume = 0.4
  976. HitSound.PlaybackSpeed = 2.4
  977. HitSound.SoundId = "rbxassetid://186311262"
  978.  
  979. -- Welds
  980.  
  981. HandleToBlade.Part0 = Handle
  982. HandleToBlade.C0 = CFrame.new(0, 2.92, 0)
  983. HandleToBlade.Part1 = Blade
  984. HandleToBlade.Name = "HandleToBlade"
  985. HandleToBlade.Parent = Handle
  986.  
  987. BladeToSharp.Part0 = Sharp
  988. BladeToSharp.C0 = CFrame.new(0, -2.92, 0)
  989. BladeToSharp.Part1 = Blade
  990. BladeToSharp.Parent = Handle
  991. BladeToSharp.Name = "BladeToSharp"
  992.  
  993. HandleToHand.Part0 = Handle
  994. HandleToHand.Name = "HandleToHand"
  995. HandleToHand.C0 = CFrame.Angles(1.5, 0, 0)
  996. HandleToHand.C1 = CFrame.new(0, -1, 0)
  997. HandleToHand.Part1 = Char["Right Arm"]
  998. HandleToHand.Parent = Handle
  999.  
  1000. HandToTorso.Part0 = Char["Right Arm"]
  1001. HandToTorso.Part1 = Char.Torso
  1002. HandToTorso.Name = "HandToTorso"
  1003. HandToTorso.Parent = Handle
  1004. HandToTorso.C0 = CFrame.new(-1.5, 0, 0)
  1005.  
  1006. Handle.Parent = Sword
  1007. Blade.Parent = Sword
  1008. Sharp.Parent = Sword
  1009.  
  1010. -- Functions
  1011.  
  1012.  
  1013. Mouse.Button1Down:Connect(function()
  1014.     if Slash == false then
  1015.         CFrames.t_HandleToHand.Back = CFrame.new(0, 0, 0) * CFrame.Angles(-5, math.random(-1, 1.2), 1)
  1016.         Trail.Enabled = true
  1017.         Slash = true
  1018.        
  1019.         for Back = 0, 1, 0.05 do
  1020.             HandleToHand.C0 = HandleToHand.C0:lerp(CFrames.t_HandleToHand.BackClick, Back)
  1021.             HandToTorso.C0 = HandToTorso.C0:lerp(CFrames.t_HandToTorso.BackClick, Back)
  1022.             RunService.Stepped:wait()
  1023.         end
  1024.        
  1025.         SlashSound:Play()  
  1026.        
  1027.         for Front = 0, 1, 0.1 do
  1028.             HandleToHand.C0 = HandleToHand.C0:lerp(CFrames.t_HandleToHand.FrontClick, Front)
  1029.             HandToTorso.C0 = HandToTorso.C0:lerp(CFrames.t_HandToTorso.FrontClick, Front)
  1030.             RunService.Stepped:wait()
  1031.         end
  1032.        
  1033.         Slash = false
  1034.         Trail.Enabled = false
  1035.     end
  1036. end)
  1037.  
  1038. Mouse.KeyDown:Connect(function(key)
  1039.     if key == "q" and Slash == false then
  1040.         Slash = true
  1041.         Trail.Enabled = true
  1042.        
  1043.         for Back = 0, 1, 0.025 do
  1044.             HandleToHand.C0 = HandleToHand.C0:lerp(CFrames.t_HandleToHand.BackStab, Back)
  1045.             HandToTorso.C0 = HandToTorso.C0:lerp(CFrames.t_HandToTorso.BackStab, Back)
  1046.             RunService.Stepped:wait()
  1047.         end
  1048.        
  1049.         SlashSound:Play()  
  1050.        
  1051.         for Front = 0, 1, 0.1 do
  1052.             HandleToHand.C0 = HandleToHand.C0:lerp(CFrames.t_HandleToHand.FrontStab, Front)
  1053.             HandToTorso.C0 = HandToTorso.C0:lerp(CFrames.t_HandToTorso.FrontStab, Front)
  1054.             RunService.Stepped:wait()
  1055.         end
  1056.        
  1057.         for Def = 0, 1, 0.1 do
  1058.             HandleToHand.C0 = HandleToHand.C0:lerp(CFrames.t_HandleToHand.FrontClick, Def)
  1059.             HandToTorso.C0 = HandToTorso.C0:lerp(CFrames.t_HandToTorso.FrontClick, Def)
  1060.             RunService.Stepped:wait()
  1061.         end
  1062.        
  1063.         Slash = false
  1064.         Trail.Enabled = false
  1065.     end
  1066. end)
  1067.  
  1068. Blade.Touched:Connect(function(hit)
  1069.     if Slash == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= game.Players.LocalPlayer.Character and Attacking == false then
  1070.         hit.Parent.Humanoid:TakeDamage(math.random(10, 20))
  1071.         Handle.HitSound.Playing = true
  1072.         Attacking = true
  1073.         BloodCont.Parent = hit.Parent.Torso
  1074.         for i = 1, math.random(4, 7) do
  1075.             local CBlood = Blood:Clone()
  1076.             CBlood.Parent = BloodCont
  1077.             CBlood.CFrame = hit.Parent.Torso.CFrame
  1078.         end
  1079.         wait(0.5)
  1080.         BloodCont:Remove()
  1081.         Attacking = false
  1082.     end
  1083. end)
  1084. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement