okban

Untitled

Mar 22nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.76 KB | None | 0 0
  1.  
  2. -- FOR MOTHER RUSSIA
  3. --[[
  4. Russian knuckles
  5. By: KYLETHORNTON
  6.  
  7. --]]
  8.  
  9. local p = game.Players.LocalPlayer.Character
  10. local weld = Instance.new("Weld",p.Torso)
  11. weld.Part0 = p.Torso
  12.  
  13.  
  14. --[[Remove's Hat And EveryThing Else]]--
  15. for i,v in pairs(p:GetChildren()) do
  16. if v:IsA("Hat") then
  17. v.Transparency = 0;
  18. elseif v:IsA("Hat") then
  19. v:Destroy()
  20. elseif v:IsA("Model") then
  21. v:Destroy()
  22. end
  23. end
  24. ------------------------------------------
  25.  
  26. wait(0)
  27. --[[BackUp]]-------------------------------------------------------------------------------------------------------
  28. wait(0.1)
  29. local Player = game.Players.localPlayer
  30. local Character = Player.Character
  31. local Humanoid = Character.Humanoid
  32. local Mouse = Player:GetMouse()
  33. local LeftArm = Character["Left Arm"]
  34. local RightArm = Character["Right Arm"]
  35. local LeftLeg = Character["Left Leg"]
  36. local RightLeg = Character["Right Leg"]
  37. local Head = Character.Head
  38. local Torso = Character.Torso
  39. local Camera = game.Workspace.CurrentCamera
  40. local RootPart = Character.HumanoidRootPart
  41. local RootJoint = RootPart.RootJoint
  42. local attack = false
  43. local Anim = 'Idle'
  44. local attacktype = 1
  45. local Orin2 = "1"
  46. Head.Transparency = Orin2
  47. local delays = false
  48. local play = true
  49. local targetted = nil
  50. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  51. local velocity = RootPart.Velocity.y
  52. local sine = 0
  53. local change = 1
  54. local doe = 0
  55. local Create = LoadLibrary("RbxUtility").Create
  56. Humanoid.WalkSpeed = 16
  57.  
  58. local Orin = "rbxassetid://0"
  59. Head.face.Texture = Orin
  60. spawn(function()
  61. while wait() do
  62. Head.BrickColor = BrickColor.new("Pink")
  63. RightArm.BrickColor = BrickColor.new("Pink")
  64. LeftArm.BrickColor = BrickColor.new("Pink")
  65. Torso.BrickColor = BrickColor.new("Pink")
  66. RightLeg.BrickColor = BrickColor.new("Pink")
  67. LeftLeg.BrickColor = BrickColor.new("Pink")
  68. end
  69. end)
  70. for i,v in pairs(Character:children()) do
  71. if v:IsA("Hat") then
  72. v:Destroy()
  73. end
  74. end
  75. for i,v in pairs(Character:children()) do
  76. if v:IsA("Accessory") then
  77. v:Destroy()
  78. end
  79. end
  80. for i,v in pairs(Character:children()) do
  81. if v:IsA("Hair") then
  82. v:Destroy()
  83. end
  84. end
  85. for i,v in pairs(Character:children()) do
  86. if v:IsA("Shirt") then
  87. v:Destroy()
  88. end
  89. end
  90. for i,v in pairs(Character:children()) do
  91. if v:IsA("Pants") then
  92. v:Destroy()
  93. end
  94. end
  95. for i,v in pairs(Character:children()) do
  96. if v:IsA("Graphic Shirt") then
  97. v:Destroy()
  98. end
  99. end
  100. wait()
  101.  
  102. --Converted with ttyyuu12345's model to script plugin v4
  103. function sandbox(var,func)
  104. local env = getfenv(func)
  105. local newenv = setmetatable({},{
  106. __index = function(self,k)
  107. if k=="script" then
  108. return var
  109. else
  110. return env[k]
  111. end
  112. end,
  113. })
  114. setfenv(func,newenv)
  115. return func
  116. end
  117. cors = {}
  118. mas = Instance.new("Model",game:GetService("Lighting"))
  119. Model0 = Instance.new("Model")
  120. Model1 = Instance.new("Model")
  121. Part2 = Instance.new("Part")
  122. SpecialMesh3 = Instance.new("SpecialMesh")
  123. Part4 = Instance.new("Part")
  124. SpecialMesh5 = Instance.new("SpecialMesh")
  125. Decal6 = Instance.new("Decal")
  126. Part7 = Instance.new("Part")
  127. SpecialMesh8 = Instance.new("SpecialMesh")
  128. Decal9 = Instance.new("Decal")
  129. Model10 = Instance.new("Model")
  130. Part11 = Instance.new("Part")
  131. Model12 = Instance.new("Model")
  132. Part13 = Instance.new("Part")
  133. Model14 = Instance.new("Model")
  134. Part15 = Instance.new("Part")
  135. Model16 = Instance.new("Model")
  136. Part17 = Instance.new("Part")
  137. Model18 = Instance.new("Model")
  138. Part19 = Instance.new("Part")
  139. Script20 = Instance.new("Script")
  140. Model0.Name = "Armor"
  141. Model0.Parent = mas
  142. Model1.Name = "Head"
  143. Model1.Parent = Model0
  144. Part2.Name = "Head1"
  145. Part2.Parent = Model1
  146. Part2.Material = Enum.Material.SmoothPlastic
  147. Part2.BrickColor = BrickColor.new("Pastel brown")
  148. Part2.Transparency = 1
  149. Part2.Rotation = Vector3.new(-180, 0, -180)
  150. Part2.Velocity = Vector3.new(0, -65.4000244, 0)
  151. Part2.Anchored = true
  152. Part2.CanCollide = false
  153. Part2.Size = Vector3.new(2, 1, 1)
  154. Part2.CFrame = CFrame.new(14.6534729, -39.140728, 3.78713918, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, -0, -1)
  155. Part2.TopSurface = Enum.SurfaceType.Smooth
  156. Part2.Color = Color3.new(1, 0.8, 0.6)
  157. Part2.Position = Vector3.new(14.6534729, -39.140728, 3.78713918)
  158. Part2.Orientation = Vector3.new(0, -180, 0)
  159. Part2.Color = Color3.new(1, 0.8, 0.6)
  160. SpecialMesh3.Parent = Part2
  161. SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
  162. SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
  163. Part4.Parent = Model1
  164. Part4.BrickColor = BrickColor.new("Cool yellow")
  165. Part4.Rotation = Vector3.new(-180, 0, -179.959991)
  166. Part4.Anchored = true
  167. Part4.CanCollide = false
  168. Part4.FormFactor = Enum.FormFactor.Symmetric
  169. Part4.Friction = 0
  170. Part4.Size = Vector3.new(2, 1, 1)
  171. Part4.CFrame = CFrame.new(14.6400833, -39.2403755, 3.83691359, -0.999999702, 0.000777850626, 1.93693268e-06, 0.000777843699, 1.00000679, 6.07832771e-06, -1.93220421e-06, 6.07988659e-06, -1)
  172. Part4.TopSurface = Enum.SurfaceType.Smooth
  173. Part4.Color = Color3.new(0.992157, 0.917647, 0.552941)
  174. Part4.Position = Vector3.new(14.6400833, -39.2403755, 3.83691359)
  175. Part4.Orientation = Vector3.new(0, 180, 0.0399999991)
  176. Part4.Color = Color3.new(0.992157, 0.917647, 0.552941)
  177. SpecialMesh5.Parent = Part4
  178. SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
  179. SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
  180. Decal6.Parent = Part4
  181. Decal6.Texture = "http://www.roblox.com/asset/?id=214083825"
  182. Part7.Parent = Model1
  183. Part7.BrickColor = BrickColor.new("Pink")
  184. Part7.Rotation = Vector3.new(-180, 0, -179.959991)
  185. Part7.Anchored = true
  186. Part7.CanCollide = false
  187. Part7.FormFactor = Enum.FormFactor.Symmetric
  188. Part7.Friction = 0
  189. Part7.Size = Vector3.new(2, 1, 1)
  190. Part7.CFrame = CFrame.new(14.6408339, -39.1404991, 3.7771492, -0.999999702, 0.000777850626, 1.93693268e-06, 0.000777843699, 1.00000679, 6.07832771e-06, -1.93220421e-06, 6.07988659e-06, -1)
  191. Part7.TopSurface = Enum.SurfaceType.Smooth
  192. Part7.Color = Color3.new(1, 0.4, 0.8)
  193. Part7.Position = Vector3.new(14.6408339, -39.1404991, 3.7771492)
  194. Part7.Orientation = Vector3.new(0, 180, 0.0399999991)
  195. Part7.Color = Color3.new(1, 0.4, 0.8)
  196. SpecialMesh8.Parent = Part7
  197. SpecialMesh8.Scale = Vector3.new(1.25, 1.25, 1.25)
  198. SpecialMesh8.Scale = Vector3.new(1.25, 1.25, 1.25)
  199. Decal9.Name = "face"
  200. Decal9.Parent = Part7
  201. Decal9.Texture = "rbxasset://textures/face.png"
  202. Model10.Name = "RightLeg"
  203. Model10.Parent = Model0
  204. Part11.Name = "Right Leg1"
  205. Part11.Parent = Model10
  206. Part11.Material = Enum.Material.SmoothPlastic
  207. Part11.BrickColor = BrickColor.new("Pastel brown")
  208. Part11.Transparency = 1
  209. Part11.Rotation = Vector3.new(-180, 0, -180)
  210. Part11.Velocity = Vector3.new(0, -65.4000244, 0)
  211. Part11.Anchored = true
  212. Part11.CanCollide = false
  213. Part11.Size = Vector3.new(1, 2, 1)
  214. Part11.CFrame = CFrame.new(14.1528625, -42.6508026, 3.78719258, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, -0, -1)
  215. Part11.Color = Color3.new(1, 0.8, 0.6)
  216. Part11.Position = Vector3.new(14.1528625, -42.6508026, 3.78719258)
  217. Part11.Orientation = Vector3.new(0, -180, 0)
  218. Part11.Color = Color3.new(1, 0.8, 0.6)
  219. Model12.Name = "Torso"
  220. Model12.Parent = Model0
  221. Part13.Name = "Torso1"
  222. Part13.Parent = Model12
  223. Part13.Material = Enum.Material.SmoothPlastic
  224. Part13.BrickColor = BrickColor.new("Pastel brown")
  225. Part13.Transparency = 1
  226. Part13.Rotation = Vector3.new(-180, 0, 0)
  227. Part13.Velocity = Vector3.new(0, -65.4000244, 0)
  228. Part13.Anchored = true
  229. Part13.CanCollide = false
  230. Part13.Size = Vector3.new(2, 2, 1)
  231. Part13.CFrame = CFrame.new(14.6534853, -40.650753, 3.78718495, 1, 8.74227766e-08, 0, 8.74227766e-08, -1, 0, -0, 0, -1)
  232. Part13.TopSurface = Enum.SurfaceType.Smooth
  233. Part13.Color = Color3.new(1, 0.8, 0.6)
  234. Part13.Position = Vector3.new(14.6534853, -40.650753, 3.78718495)
  235. Part13.Orientation = Vector3.new(0, 180, 180)
  236. Part13.Color = Color3.new(1, 0.8, 0.6)
  237. Model14.Name = "LeftArm"
  238. Model14.Parent = Model0
  239. Part15.Name = "Left Arm1"
  240. Part15.Parent = Model14
  241. Part15.Material = Enum.Material.SmoothPlastic
  242. Part15.BrickColor = BrickColor.new("Pastel brown")
  243. Part15.Transparency = 1
  244. Part15.Rotation = Vector3.new(-180, 0, 0)
  245. Part15.Velocity = Vector3.new(0, -65.4000244, 0)
  246. Part15.Anchored = true
  247. Part15.CanCollide = false
  248. Part15.Size = Vector3.new(1, 2, 1)
  249. Part15.CFrame = CFrame.new(16.1135769, -40.6506767, 3.78678775, 1, 8.74227766e-08, 0, 8.74227766e-08, -1, 0, -0, 0, -1)
  250. Part15.BottomSurface = Enum.SurfaceType.Smooth
  251. Part15.TopSurface = Enum.SurfaceType.Smooth
  252. Part15.Color = Color3.new(1, 0.8, 0.6)
  253. Part15.Position = Vector3.new(16.1135769, -40.6506767, 3.78678775)
  254. Part15.Orientation = Vector3.new(0, 180, 180)
  255. Part15.Color = Color3.new(1, 0.8, 0.6)
  256. Model16.Name = "RightArm"
  257. Model16.Parent = Model0
  258. Part17.Name = "Right Arm1"
  259. Part17.Parent = Model16
  260. Part17.Material = Enum.Material.SmoothPlastic
  261. Part17.BrickColor = BrickColor.new("Pastel brown")
  262. Part17.Transparency = 1
  263. Part17.Rotation = Vector3.new(-180, 0, -180)
  264. Part17.Anchored = true
  265. Part17.CanCollide = false
  266. Part17.Size = Vector3.new(1, 2, 1)
  267. Part17.CFrame = CFrame.new(13.1534615, -40.6506233, 3.78752828, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, -0, -1)
  268. Part17.BottomSurface = Enum.SurfaceType.Smooth
  269. Part17.TopSurface = Enum.SurfaceType.Smooth
  270. Part17.Color = Color3.new(1, 0.8, 0.6)
  271. Part17.Position = Vector3.new(13.1534615, -40.6506233, 3.78752828)
  272. Part17.Orientation = Vector3.new(0, -180, 0)
  273. Part17.Color = Color3.new(1, 0.8, 0.6)
  274. Model18.Name = "LeftLeg"
  275. Model18.Parent = Model0
  276. Part19.Name = "Left Leg1"
  277. Part19.Parent = Model18
  278. Part19.Material = Enum.Material.SmoothPlastic
  279. Part19.BrickColor = BrickColor.new("Pastel brown")
  280. Part19.Transparency = 1
  281. Part19.Rotation = Vector3.new(-180, 0, -180)
  282. Part19.Velocity = Vector3.new(0, -65.4000244, 0)
  283. Part19.Anchored = true
  284. Part19.CanCollide = false
  285. Part19.Size = Vector3.new(1, 2, 1)
  286. Part19.CFrame = CFrame.new(15.1534071, -42.6508179, 3.78716207, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, -0, -1)
  287. Part19.Color = Color3.new(1, 0.8, 0.6)
  288. Part19.Position = Vector3.new(15.1534071, -42.6508179, 3.78716207)
  289. Part19.Orientation = Vector3.new(0, -180, 0)
  290. Part19.Color = Color3.new(1, 0.8, 0.6)
  291. Script20.Parent = Model0
  292. table.insert(cors,sandbox(Script20,function()
  293. --Saz
  294.  
  295. --A new system which is a combination of fast-welds and hard-welds.
  296. --Should be far, far better.
  297.  
  298. --When script.CreateNewWelds.Value == true, we create a new set of weld information on script run.
  299. --This toggles off automatically afterwards, to prevent issues that fast-welds can cause.
  300.  
  301. --Cruder than I wanted it to be, but not like I intended for anyone but me to use it anyway.
  302. --The fact that you're reading this means you should likely kill yourself. Immediately.
  303.  
  304. wait(.33)
  305.  
  306. Tool=script.Parent
  307. Nib=Tool.Parent
  308.  
  309.  
  310. for _,v in pairs(Nib:children()) do
  311. if v.className=="Hat" then
  312. v:Remove()
  313. end
  314. end
  315.  
  316. wait(1)
  317.  
  318. weldparts=function()
  319. print("Welding")
  320. lel={}
  321. function jarate(p)
  322. for i=1, #p do
  323. table.insert(lel,p[i])
  324. k=p[i]:children()
  325. if #k>0 then
  326. jarate(k)
  327. end
  328. end
  329. end
  330. for _,v in pairs(script.Parent:children()) do
  331. if v.Name~="Cloak" and v.className~="Script" then
  332. v:BreakJoints()
  333. jarate(v:children())
  334. end
  335. end
  336. for _,v in pairs(lel) do
  337. if v.className=="Weld" or v.className=="Motor6D" then
  338. v:Remove()
  339. end
  340. end
  341. for _,v in pairs(script.Parent["RightLeg"]:children()) do
  342. if v.Name~="Right Leg1" then
  343. w=Instance.new("Weld")
  344. w.Part0=script.Parent["RightLeg"]["Right Leg1"]
  345. w.Part1=v
  346. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  347. w.C0=script.Parent["RightLeg"]["Right Leg1"].CFrame:inverse()*CFrame.new(v.Position)
  348. w.Parent=w.Part0
  349. end
  350. end
  351. w=Instance.new("Weld")
  352. w.Part0=Nib["Right Leg"]
  353. w.Part1=script.Parent["RightLeg"]["Right Leg1"]
  354. w.Parent=w.Part0
  355. w.C0=CFrame.new(0,-.1,0)
  356. for _,v in pairs(script.Parent["LeftLeg"]:children()) do
  357. if v.Name~="Left Leg1" then
  358. w=Instance.new("Weld")
  359. w.Part0=script.Parent["LeftLeg"]["Left Leg1"]
  360. w.Part1=v
  361. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  362. w.C0=script.Parent["LeftLeg"]["Left Leg1"].CFrame:inverse()*CFrame.new(v.Position)
  363. w.Parent=w.Part0
  364. end
  365. end
  366. w=Instance.new("Weld")
  367. w.Part0=Nib["Left Leg"]
  368. w.Part1=script.Parent["LeftLeg"]["Left Leg1"]
  369. w.Parent=w.Part0
  370. w.C0=CFrame.new(0,-.1,0)
  371. for _,v in pairs(script.Parent["RightArm"]:children()) do
  372. if v.Name~="Right Arm1" then
  373. w=Instance.new("Weld")
  374. w.Part0=script.Parent["RightArm"]["Right Arm1"]
  375. w.Part1=v
  376. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  377. w.C0=script.Parent["RightArm"]["Right Arm1"].CFrame:inverse()*CFrame.new(v.Position)
  378. w.Parent=w.Part1
  379. end
  380. end
  381. w=Instance.new("Weld")
  382. w.Part0=Nib["Right Arm"]
  383. w.Part1=script.Parent["RightArm"]["Right Arm1"]
  384. w.Parent=w.Part0
  385. w.C0 = w.C0 * CFrame.Angles(0,math.rad(90),math.rad(90))
  386.  
  387. for _,v in pairs(script.Parent["LeftArm"]:children()) do
  388. if v.Name~="Left Arm1" then
  389. w=Instance.new("Weld")
  390. w.Part0=script.Parent["LeftArm"]["Left Arm1"]
  391. w.Part1=v
  392. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  393. w.C0=script.Parent["LeftArm"]["Left Arm1"].CFrame:inverse()*CFrame.new(v.Position)
  394. w.Parent=w.Part0
  395. end
  396. end
  397. w=Instance.new("Weld")
  398. w.Part0=Nib["Left Arm"]
  399. w.Part1=script.Parent["LeftArm"]["Left Arm1"]
  400. w.Parent=w.Part0
  401.  
  402.  
  403. for _,v in pairs(script.Parent["Head"]:children()) do
  404. if v.Name~="Head1" then
  405. w=Instance.new("Weld")
  406. w.Part0=script.Parent["Head"]["Head1"]
  407. w.Part1=v
  408. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  409. w.C0=script.Parent["Head"]["Head1"].CFrame:inverse()*CFrame.new(v.Position)
  410. w.Parent=w.Part0
  411. end
  412. end
  413. w=Instance.new("Weld")
  414. w.Part0=Nib["Head"]
  415. w.Part1=script.Parent["Head"]["Head1"]
  416. w.Parent=w.Part0
  417.  
  418. for _,v in pairs(script.Parent["Torso"]:children()) do
  419. if v.Name~="Torso1" then
  420. w=Instance.new("Weld")
  421. w.Part0=script.Parent["Torso"]["Torso1"]
  422. w.Part1=v
  423. w.C1=v.CFrame:inverse()*CFrame.new(v.Position)
  424. w.C0=script.Parent["Torso"]["Torso1"].CFrame:inverse()*CFrame.new(v.Position)
  425. w.Parent=script.Parent["Torso"]["Torso1"]
  426. end
  427. end
  428.  
  429. w=Instance.new("Weld")
  430. w.Part0=Nib["Torso"]
  431. w.Part1=script.Parent["Torso"]["Torso1"]
  432. w.C0=w.C0*CFrame.fromEulerAnglesXYZ(0,0,0)
  433. w.Parent=w.Part0
  434.  
  435. for _,v in pairs(lel) do
  436. if v:IsA("BasePart") then v.Anchored=false end
  437. end
  438.  
  439.  
  440.  
  441. wait(1)
  442.  
  443. w=Instance.new("Weld")
  444. w.Part0=Nib.Torso
  445. w.Part1=Tool.Torso.Torso1
  446. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  447. w.C1=CFrame.new(0,0,0)
  448. w.Parent=w.Part1
  449. w.Name="ClothingWeld"
  450.  
  451. wait(.06)
  452.  
  453. while Tool.Torso.Torso1:FindFirstChild("ClothingWeld")==nil do
  454. wait(.03)
  455. w=Instance.new("Weld")
  456. w.Part0=Nib.Torso
  457. w.Part1=Tool.Torso.Torso1
  458. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  459. w.C1=CFrame.new(0,0,0)
  460. w.Parent=w.Part1
  461. w.Name="ClothingWeld"
  462. end
  463.  
  464. w=Instance.new("Weld")
  465. w.Part0=Nib["Right Leg"]
  466. w.Part1=Tool.RightLeg["Right Leg1"]
  467. w.C0=CFrame.new(0,0,0)
  468. w.C1=CFrame.new(0,0,0)
  469. w.Parent=w.Part1
  470. w.Name="ClothingWeld"
  471.  
  472. w=Instance.new("Weld")
  473. w.Part0=Nib["Left Leg"]
  474. w.Part1=Tool.LeftLeg["Left Leg1"]
  475. w.C0=CFrame.new(0,0,0)
  476. w.C1=CFrame.new(0,0,0)
  477. w.Parent=w.Part1
  478. w.Name="ClothingWeld"
  479.  
  480. w=Instance.new("Weld")
  481. w.Part0=Nib["Right Arm"]
  482. w.Part1=Tool.RightArm["Right Arm1"]
  483. w.C0=CFrame.new(0,0,0)
  484. w.C1=CFrame.new(0,0,0)
  485. w.Parent=w.Part1
  486. w.Name="ClothingWeld"
  487.  
  488. w=Instance.new("Weld")
  489. w.Part0=Nib["Left Arm"]
  490. w.Part1=Tool.LeftArm["Left Arm1"]
  491. w.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  492. w.C1=CFrame.new(0,0,0)
  493. w.Parent=w.Part1
  494. w.Name="ClothingWeld"
  495.  
  496. wait()
  497.  
  498. end
  499. weldparts()
  500.  
  501. end))
  502. for i,v in pairs(mas:GetChildren()) do
  503. v.Parent = game:GetService("Players").LocalPlayer.Character
  504. pcall(function() v:MakeJoints() end)
  505. end
  506. mas:Destroy()
  507. for i,v in pairs(cors) do
  508. spawn(function()
  509. pcall(v)
  510. end)
  511. end
  512.  
  513. --[[
  514. ==================================]}
  515. //{Script: Memuto
  516. //{User: Solavenge
  517. ==================================]}
  518. //{Controls:
  519. // F - Toggle Memes
  520. ==================================]}
  521. --]]
  522.  
  523. Player=game:GetService("Players").LocalPlayer
  524. Character=Player.Character
  525. PlayerGui=Player.PlayerGui
  526. Backpack=Player.Backpack
  527. Torso=Character.Torso
  528. Head=Character.Head
  529. Humanoid=Character.Humanoid
  530. m=Instance.new('Model',Character)
  531. LeftArm=Character["Left Arm"]
  532. LeftLeg=Character["Left Leg"]
  533. RightArm=Character["Right Arm"]
  534. RightLeg=Character["Right Leg"]
  535. LS=Torso["Left Shoulder"]
  536. LH=Torso["Left Hip"]
  537. RS=Torso["Right Shoulder"]
  538. RH=Torso["Right Hip"]
  539. Neck=Torso.Neck
  540. it=Instance.new
  541. attacktype=1
  542. vt=Vector3.new
  543. cf=CFrame.new
  544. euler=CFrame.fromEulerAnglesXYZ
  545. angles=CFrame.Angles
  546. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  547. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  548. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  549. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  550. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  551. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  552. RootPart=Character.HumanoidRootPart
  553. RootJoint=RootPart.RootJoint
  554. RootCF=euler(-1.57,0,3.14)
  555. attack = false
  556. attackdebounce = false
  557. deb=false
  558. equipped=true
  559. hand=false
  560. MMouse=nil
  561. combo=0
  562. mana=0
  563. cam=workspace.CurrentCamera
  564. RocketTarget=nil
  565. Targetting=false
  566. trispeed=.2
  567. attackmode='none'
  568. local idle=0
  569. local Anim="Idle"
  570. local Effects={}
  571. local gun=false
  572. local shoot=false
  573. local issprinting=false
  574. local memeing=false
  575. player=nil
  576. mouse=Player:GetMouse()
  577. --save shoulders
  578. RSH, LSH=nil, nil
  579. --welds
  580. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  581. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  582. LH=Torso["Left Hip"]
  583. RH=Torso["Right Hip"]
  584. TorsoColor=Torso.BrickColor
  585. function NoOutline(Part)
  586. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  587. end
  588. player=Player
  589. ch=Character
  590. RSH=ch.Torso["Right Shoulder"]
  591. LSH=ch.Torso["Left Shoulder"]
  592. --
  593. RSH.Parent=nil
  594. LSH.Parent=nil
  595. --
  596. RW.Name="Right Shoulder"
  597. RW.Part0=ch.Torso
  598. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  599. RW.C1=cf(0, 0.5, 0)
  600. RW.Part1=ch["Right Arm"]
  601. RW.Parent=ch.Torso
  602. --
  603. LW.Name="Left Shoulder"
  604. LW.Part0=ch.Torso
  605. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  606. LW.C1=cf(0, 0.5, 0)
  607. LW.Part1=ch["Left Arm"]
  608. LW.Parent=ch.Torso
  609.  
  610. if Humanoid:findFirstChild("Animate") then
  611. Humanoid:findFirstChild("Animate"):Destroy()
  612. elseif Character:findFirstChild("Animate") then
  613. Character:findFirstChild("Animate"):Destroy()
  614. end
  615.  
  616.  
  617. local WEEB = Instance.new("Sound",Torso)
  618. WEEB.Volume=0
  619. WEEB.Pitch=0
  620. WEEB.SoundId="http://www.roblox.com/asset/?id=693592545"
  621. WEEB.Looped=true
  622. wait()
  623. WEEB:play()
  624.  
  625.  
  626. local Stats=Instance.new("BoolValue")
  627. Stats.Name="Stats"
  628. Stats.Parent=Character
  629. local Atk=Instance.new("NumberValue")
  630. Atk.Name="Damage"
  631. Atk.Parent=Stats
  632. Atk.Value=1
  633. local Def=Instance.new("NumberValue")
  634. Def.Name="Defense"
  635. Def.Parent=Stats
  636. Def.Value=1
  637. local Speed=Instance.new("NumberValue")
  638. Speed.Name="Speed"
  639. Speed.Parent=Stats
  640. Speed.Value=1
  641. local Mvmt=Instance.new("NumberValue")
  642. Mvmt.Name="Movement"
  643. Mvmt.Parent=Stats
  644. Mvmt.Value=1
  645.  
  646.  
  647. local donum=0
  648.  
  649. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  650. local fp=it("Part")
  651. fp.formFactor=formfactor
  652. fp.Parent=parent
  653. fp.Reflectance=reflectance
  654. fp.Transparency=transparency
  655. fp.CanCollide=false
  656. fp.Locked=true
  657. fp.BrickColor=brickcolor
  658. fp.Name=name
  659. fp.Size=size
  660. fp.Position=Torso.Position
  661. NoOutline(fp)
  662. fp.Material="SmoothPlastic"
  663. fp:BreakJoints()
  664. return fp
  665. end
  666.  
  667. function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  668. local fp = Instance.new("Part")
  669. fp.formFactor = formfactor
  670. fp.Parent = parent
  671. fp.Reflectance = reflectance
  672. fp.Transparency = transparency
  673. fp.CanCollide = false
  674. fp.Locked = true
  675. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  676. fp.Name = name
  677. fp.Size = size
  678. fp.Position = Character.Torso.Position
  679. fp.Material = material
  680.  
  681. NoOutline(fp)
  682. return fp
  683. end
  684.  
  685. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  686. local mesh=it(Mesh)
  687. mesh.Parent=part
  688. if Mesh=="SpecialMesh" then
  689. mesh.MeshType=meshtype
  690. mesh.MeshId=meshid
  691. end
  692. mesh.Offset=offset
  693. mesh.Scale=scale
  694. return mesh
  695. end
  696.  
  697. function weld(parent,part0,part1,c0)
  698. local weld=it("Weld")
  699. weld.Parent=parent
  700. weld.Part0=part0
  701. weld.Part1=part1
  702. weld.C0=c0
  703. return weld
  704. end
  705.  
  706. function weld2(parent, part0, part1, c0, c1)
  707. local Weld = Instance.new("Weld")
  708. Weld.Parent = parent
  709. Weld.Part0 = part0
  710. Weld.Part1 = part1
  711. Weld.C0 = c0
  712. Weld.C1 = c1
  713.  
  714. return Weld
  715. end
  716.  
  717. local Color1=Torso.BrickColor
  718.  
  719. local bodvel=Instance.new("BodyVelocity")
  720. local bg=Instance.new("BodyGyro")
  721.  
  722. ArtificialHB = Instance.new("BindableEvent", script)
  723. ArtificialHB.Name = "Heartbeat"
  724.  
  725. script:WaitForChild("Heartbeat")
  726.  
  727. frame = 1 / 60
  728. tf = 0
  729. allowframeloss = true
  730. tossremainder = false
  731. lastframe = tick()
  732. script.Heartbeat:Fire()
  733.  
  734. game:GetService("RunService").Heartbeat:connect(function(s, p)
  735. tf = tf + s
  736. if tf >= frame then
  737. if allowframeloss then
  738. script.Heartbeat:Fire()
  739. lastframe = tick()
  740. else
  741. for i = 1, math.floor(tf / frame) do
  742. script.Heartbeat:Fire()
  743. end
  744. lastframe = tick()
  745. end
  746. if tossremainder then
  747. tf = 0
  748. else
  749. tf = tf - frame * math.floor(tf / frame)
  750. end
  751. end
  752. end)
  753.  
  754. function swait(num)
  755. if num == 0 or num == nil then
  756. ArtificialHB.Event:wait()
  757. else
  758. for i = 0, num do
  759. ArtificialHB.Event:wait()
  760. end
  761. end
  762. end
  763.  
  764.  
  765. so = function(id,par,vol,pit)
  766. coroutine.resume(coroutine.create(function()
  767. local sou = Instance.new("Sound",par or workspace)
  768. sou.Volume=vol
  769. sou.Pitch=pit or 1
  770. sou.SoundId=id
  771. swait()
  772. sou:play()
  773. game:GetService("Debris"):AddItem(sou,6)
  774. end))
  775. end
  776.  
  777. function clerp(a,b,t)
  778. local qa = {QuaternionFromCFrame(a)}
  779. local qb = {QuaternionFromCFrame(b)}
  780. local ax, ay, az = a.x, a.y, a.z
  781. local bx, by, bz = b.x, b.y, b.z
  782. local _t = 1-t
  783. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  784. end
  785.  
  786. function QuaternionFromCFrame(cf)
  787. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  788. local trace = m00 + m11 + m22
  789. if trace > 0 then
  790. local s = math.sqrt(1 + trace)
  791. local recip = 0.5/s
  792. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  793. else
  794. local i = 0
  795. if m11 > m00 then
  796. i = 1
  797. end
  798. if m22 > (i == 0 and m00 or m11) then
  799. i = 2
  800. end
  801. if i == 0 then
  802. local s = math.sqrt(m00-m11-m22+1)
  803. local recip = 0.5/s
  804. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  805. elseif i == 1 then
  806. local s = math.sqrt(m11-m22-m00+1)
  807. local recip = 0.5/s
  808. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  809. elseif i == 2 then
  810. local s = math.sqrt(m22-m00-m11+1)
  811. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  812. end
  813. end
  814. end
  815.  
  816. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  817. local xs, ys, zs = x + x, y + y, z + z
  818. local wx, wy, wz = w*xs, w*ys, w*zs
  819. local xx = x*xs
  820. local xy = x*ys
  821. local xz = x*zs
  822. local yy = y*ys
  823. local yz = y*zs
  824. local zz = z*zs
  825. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  826. end
  827.  
  828. function QuaternionSlerp(a, b, t)
  829. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  830. local startInterp, finishInterp;
  831. if cosTheta >= 0.0001 then
  832. if (1 - cosTheta) > 0.0001 then
  833. local theta = math.acos(cosTheta)
  834. local invSinTheta = 1/math.sin(theta)
  835. startInterp = math.sin((1-t)*theta)*invSinTheta
  836. finishInterp = math.sin(t*theta)*invSinTheta
  837. else
  838. startInterp = 1-t
  839. finishInterp = t
  840. end
  841. else
  842. if (1+cosTheta) > 0.0001 then
  843. local theta = math.acos(-cosTheta)
  844. local invSinTheta = 1/math.sin(theta)
  845. startInterp = math.sin((t-1)*theta)*invSinTheta
  846. finishInterp = math.sin(t*theta)*invSinTheta
  847. else
  848. startInterp = t-1
  849. finishInterp = t
  850. end
  851. end
  852. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  853. end
  854.  
  855. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  856. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  857. end
  858.  
  859. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) --bm1
  860. if hit.Parent == nil then
  861. return
  862. end
  863. local h = hit.Parent:FindFirstChild("Humanoid")
  864. for _, v in pairs(hit.Parent:children()) do
  865. if v:IsA("Humanoid") then
  866. h = v
  867. end
  868. end
  869. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  870. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  871. if hit.Parent.DebounceHit.Value == true then
  872. return
  873. end
  874. end
  875. if h.MaxHealth >= math.huge then
  876. hit:BreakJoints()
  877. end
  878. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  879. return
  880. end]]
  881. -- hs(hit,1.2)
  882. local c = Instance.new("ObjectValue")
  883. c.Name = "creator"
  884. c.Value = game:service("Players").LocalPlayer
  885. c.Parent = h
  886.  
  887. game:GetService("Debris"):AddItem(c, .5)
  888. if HitSound ~= nil and HitPitch ~= nil then
  889. so(HitSound, hit, 1, HitPitch)
  890. end
  891. local Damage = math.random(minim, maxim)
  892. -- h:TakeDamage(Damage)
  893. local blocked = false
  894. local block = hit.Parent:findFirstChild("Block")
  895. if block ~= nil then
  896. if block.className == "IntValue" then
  897. if block.Value > 0 then
  898. blocked = true
  899. block.Value = block.Value - 1
  900. print(block.Value)
  901. end
  902. end
  903. end
  904. if blocked == false then
  905. -- h:TakeDamage(Damage)
  906. h.Health = h.Health - Damage
  907. if Damage ~= 0 then
  908. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  909. end
  910. else
  911. h.Health = h.Health - (Damage / 2)
  912. if Damage ~=0 then
  913. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  914. end
  915. end
  916. if Type == "Knockdown" then
  917. local hum = hit.Parent.Humanoid
  918. hum.PlatformStand = true
  919. coroutine.resume(coroutine.create(function(HHumanoid)
  920. swait(1)
  921. HHumanoid.PlatformStand = false
  922. end), hum)
  923. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  924. local bodvol = Instance.new("BodyVelocity")
  925. bodvol.velocity = angle * knockback
  926. bodvol.P = 5000
  927. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  928. bodvol.Parent = hit
  929.  
  930. local rl = Instance.new("BodyAngularVelocity")
  931. rl.P = 3000
  932. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  933. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  934. rl.Parent = hit
  935.  
  936. game:GetService("Debris"):AddItem(bodvol, .5)
  937. game:GetService("Debris"):AddItem(rl, .5)
  938. elseif Type == "Plat" then
  939. local hum = hit.Parent.Humanoid
  940. hum.PlatformStand = true
  941. coroutine.resume(coroutine.create(function(HHumanoid)
  942. swait(2)
  943. HHumanoid.PlatformStand = false
  944. end), hum)
  945.  
  946. local rl = Instance.new("BodyAngularVelocity")
  947. rl.P = 3000
  948. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  949. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  950. rl.Parent = hit
  951.  
  952. game:GetService("Debris"):AddItem(rl, .5)
  953. elseif Type == "Normal" then
  954. local vp = Instance.new("BodyVelocity")
  955. vp.P = 500
  956. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  957. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  958.  
  959. if knockback > 0 then
  960. vp.Parent = hit.Parent.Torso
  961. end
  962. game:GetService("Debris"):AddItem(vp, .5)
  963. elseif Type == "Up" then
  964. local bodyVelocity = Instance.new("BodyVelocity")
  965. bodyVelocity.velocity = vt(0, 20, 0)
  966. bodyVelocity.P = 5000
  967. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  968. bodyVelocity.Parent = hit
  969.  
  970. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  971. elseif Type == "Snare" then
  972. local bp = Instance.new("BodyPosition")
  973. bp.P = 2000
  974. bp.D = 100
  975. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  976. bp.position = hit.Parent.Torso.Position
  977. bp.Parent = hit.Parent.Torso
  978. game:GetService("Debris"):AddItem(bp, 1)
  979.  
  980. elseif Type == "Freeze" then
  981. local BodPos = Instance.new("BodyPosition")
  982. BodPos.P = 50000
  983. BodPos.D = 1000
  984. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  985. BodPos.position = hit.Parent.Torso.Position
  986. BodPos.Parent = hit.Parent.Torso
  987.  
  988. local BodGy = Instance.new("BodyGyro")
  989. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  990. BodGy.P = 20e+003
  991. BodGy.Parent = hit.Parent.Torso
  992. BodGy.cframe = hit.Parent.Torso.CFrame
  993.  
  994. hit.Parent.Torso.Anchored = true
  995. coroutine.resume(coroutine.create(function(Part)
  996. swait(1.5)
  997. Part.Anchored = false
  998. end), hit.Parent.Torso)
  999. game:GetService("Debris"):AddItem(BodPos, 3)
  1000. game:GetService("Debris"):AddItem(BodGy, 3)
  1001.  
  1002.  
  1003. elseif Type=="Target" then
  1004. if Targetting==false then
  1005. ZTarget=hit.Parent.Torso
  1006. coroutine.resume(coroutine.create(function(Part)
  1007. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1008. swait(5)
  1009. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1010. end),ZTarget)
  1011. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1012. targetgui=Instance.new("BillboardGui")
  1013. targetgui.Parent=ZTarget
  1014. targetgui.Size=UDim2.new(10,100,10,100)
  1015. targ=Instance.new("ImageLabel")
  1016. targ.Parent=targetgui
  1017. targ.BackgroundTransparency=1
  1018. targ.Image="rbxassetid://4834067"
  1019. targ.Size=UDim2.new(1,0,1,0)
  1020. cam.CameraType="Scriptable"
  1021. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1022. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1023. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1024. Targetting=true
  1025. RocketTarget=ZTarget
  1026. for i=1,Property do
  1027. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1028. swait()
  1029. end
  1030. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1031. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1032. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1033. end
  1034. Targetting=false
  1035. RocketTarget=nil
  1036. targetgui.Parent=nil
  1037. cam.CameraType="Custom"
  1038. end
  1039. end
  1040.  
  1041. local debounce = Instance.new("BoolValue")
  1042. debounce.Name = "DebounceHit"
  1043. debounce.Parent = hit.Parent
  1044. debounce.Value = true
  1045. game:GetService("Debris"):AddItem(debounce, Delay)
  1046. c = Instance.new("ObjectValue")
  1047. c.Name = "creator"
  1048. c.Value = Player
  1049. c.Parent = h
  1050. game:GetService("Debris"):AddItem(c, .5)
  1051. end
  1052. end
  1053.  
  1054. function ShowDamage2(Pos, Text, Time, Color)
  1055. local Rate = (1 / 30)
  1056. local Pos = (Pos or Vector3.new(0, 0, 0))
  1057. local Text = (Text or "")
  1058. local Time = (Time or 2)
  1059. local Color = (Color or Color3.new(1, 0, 0))
  1060. local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  1061. EffectPart.Anchored = true
  1062. local BillboardGui = Instance.new("BillboardGui")
  1063. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1064. BillboardGui.Adornee = EffectPart
  1065. BillboardGui.Parent = EffectPart
  1066.  
  1067. local TextLabel = Instance.new("TextLabel")
  1068. TextLabel.BackgroundTransparency = 1
  1069. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1070. TextLabel.Text = Text
  1071. TextLabel.TextColor3 = Color
  1072. TextLabel.TextScaled = true
  1073. TextLabel.Font = Enum.Font.ArialBold
  1074. TextLabel.Parent = BillboardGui
  1075.  
  1076. game.Debris:AddItem(EffectPart, (Time + 0.1))
  1077. EffectPart.Parent = game:GetService("Workspace")
  1078. delay(0, function()
  1079. local Frames = (Time / Rate)
  1080. for Frame = 1, Frames do
  1081. wait(Rate)
  1082. local Percent = (Frame / Frames)
  1083. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1084. TextLabel.TextTransparency = Percent
  1085. end
  1086. if EffectPart and EffectPart.Parent then
  1087. EffectPart:Destroy()
  1088. end
  1089. end)
  1090. end
  1091.  
  1092. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1093. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1094. prt.Anchored = true
  1095. prt.CFrame = cframe
  1096. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1097. coroutine.resume(coroutine.create(function()
  1098. for i = 0, 1, 0.05 do
  1099. wait()
  1100. prt.Transparency = i
  1101. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1102. end
  1103. prt.Parent = nil
  1104. end))
  1105. end
  1106.  
  1107. function weld(parent, part0, part1, c0, c1)
  1108. local Weld = Instance.new("Weld")
  1109. Weld.Parent = parent
  1110. Weld.Part0 = part0
  1111. Weld.Part1 = part1
  1112. Weld.C0 = c0
  1113. Weld.C1 = c1
  1114.  
  1115. return Weld
  1116. end
  1117.  
  1118. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1119. for _, c in pairs(workspace:children()) do
  1120. local hum = c:findFirstChild("Humanoid")
  1121. if hum ~= nil then
  1122. local head = c:findFirstChild("Torso")
  1123. if head ~= nil then
  1124. local targ = head.Position - Part.Position
  1125. local mag = targ.magnitude
  1126. if mag <= magni and c.Name ~= Player.Name then
  1127. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1128. end
  1129. end
  1130. end
  1131. end
  1132. end
  1133.  
  1134. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1135. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1136. prt.Anchored = true
  1137. prt.CFrame = cframe
  1138. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1139. game:GetService("Debris"):AddItem(prt, 2)
  1140. coroutine.resume(coroutine.create(function(Part, Mesh)
  1141. for i = 0, 1, delay do
  1142. swait()
  1143. Part.CFrame = Part.CFrame
  1144. Part.Transparency = i
  1145. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1146. end
  1147. Part.Parent = nil
  1148. end), prt, msh)
  1149. end
  1150.  
  1151. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1152. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  1153. prt.Anchored=true
  1154. prt.CFrame=cframe
  1155. local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1156. game:GetService("Debris"):AddItem(prt,2)
  1157. coroutine.resume(coroutine.create(function(Part,Mesh)
  1158. for i=0,1,delay do
  1159. swait()
  1160. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1161. Part.Transparency=i
  1162. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1163. end
  1164. Part.Parent=nil
  1165. end),prt,msh)
  1166. end
  1167.  
  1168.  
  1169. user=game:service'Players'.localPlayer
  1170. char=user.Character
  1171. mouse=user:GetMouse()
  1172.  
  1173.  
  1174. local function weldBetween(a, b, name)
  1175. local weld = Instance.new("ManualWeld")
  1176. weld.Part0 = a
  1177. weld.Part1 = b
  1178. weld.C0 = CFrame.new()
  1179. weld.C1 = b.CFrame:inverse() * a.CFrame
  1180. weld.Parent = a
  1181. weld.Name=name or 'weldb1'
  1182. weld.Parent=m
  1183. return weld;
  1184. end
  1185.  
  1186.  
  1187. player=game.Players.localPlayer
  1188. char=player.Character
  1189. Effects={}
  1190. vt=Vector3.new
  1191. cf=CFrame.new
  1192. euler=CFrame.fromEulerAnglesXYZ
  1193. m=Instance.new("Model",char)
  1194.  
  1195. mouse.Button1Down:connect(function()
  1196. print("NEIN")
  1197. end)
  1198.  
  1199. local mdel = false
  1200.  
  1201. mouse.KeyDown:connect(function(k)
  1202. k=k:lower()
  1203. if k=='f' then
  1204. if attack==false then
  1205. ToggleMemes()
  1206. end
  1207. end
  1208. end)
  1209.  
  1210. function ToggleMemes()
  1211. if memeing == true and mdel == false then
  1212. memeing = false
  1213. issprinting=false
  1214. Humanoid.WalkSpeed = 16
  1215. mdel = true
  1216. for i = 10,0,-0.1 do
  1217. wait(0.05)
  1218. WEEB.Volume = 0
  1219. end
  1220. WEEB.Pitch = 0
  1221. mdel = false
  1222. elseif memeing == false and mdel == false then
  1223. memeing = true
  1224. issprinting=true
  1225. Humanoid.WalkSpeed=35
  1226. WEEB.Pitch = 1
  1227. WEEB.Volume = 10
  1228. mdel = true
  1229. for i = 0,1,.1 do
  1230. wait(0.05)
  1231. WEEB.Volume = 10
  1232. end
  1233. mdel = false
  1234. end
  1235. end
  1236.  
  1237. local function CFrameFromTopBack(at, top, back)
  1238. local right = top:Cross(back)
  1239. return CFrame.new(at.x, at.y, at.z,
  1240. right.x, top.x, back.x,
  1241. right.y, top.y, back.y,
  1242. right.z, top.z, back.z)
  1243. end
  1244.  
  1245. function Triangle(a, b, c)
  1246. local edg1 = (c-a):Dot((b-a).unit)
  1247. local edg2 = (a-b):Dot((c-b).unit)
  1248. local edg3 = (b-c):Dot((a-c).unit)
  1249. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1250. a, b, c = a, b, c
  1251. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1252. a, b, c = b, c, a
  1253. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1254. a, b, c = c, a, b
  1255. else
  1256. assert(false, "unreachable")
  1257. end
  1258.  
  1259. local len1 = (c-a):Dot((b-a).unit)
  1260. local len2 = (b-a).magnitude - len1
  1261. local width = (a + (b-a).unit*len1 - c).magnitude
  1262.  
  1263. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1264.  
  1265. local list = {}
  1266.  
  1267. if len1 > 0.01 then
  1268. local w1 = Instance.new('WedgePart', m)
  1269. game:GetService("Debris"):AddItem(w1,5)
  1270. w1.Material = "SmoothPlastic"
  1271. w1.FormFactor = 'Custom'
  1272. w1.BrickColor = TorsoColor
  1273. w1.Transparency = 0
  1274. w1.Reflectance = 0
  1275. w1.Material = "SmoothPlastic"
  1276. w1.CanCollide = false
  1277. NoOutline(w1)
  1278. local sz = Vector3.new(0.2, width, len1)
  1279. w1.Size = sz
  1280. local sp = Instance.new("SpecialMesh",w1)
  1281. sp.MeshType = "Wedge"
  1282. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1283. w1:BreakJoints()
  1284. w1.Anchored = true
  1285. w1.Parent = workspace
  1286. w1.Transparency = 0.7
  1287. table.insert(Effects,{w1,"Disappear",.01})
  1288. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1289. table.insert(list,w1)
  1290. end
  1291.  
  1292. if len2 > 0.01 then
  1293. local w2 = Instance.new('WedgePart', m)
  1294. game:GetService("Debris"):AddItem(w2,5)
  1295. w2.Material = "SmoothPlastic"
  1296. w2.FormFactor = 'Custom'
  1297. w2.BrickColor = TorsoColor
  1298. w2.Transparency = 0
  1299. w2.Reflectance = 0
  1300. w2.Material = "SmoothPlastic"
  1301. w2.CanCollide = false
  1302. NoOutline(w2)
  1303. local sz = Vector3.new(0.2, width, len2)
  1304. w2.Size = sz
  1305. local sp = Instance.new("SpecialMesh",w2)
  1306. sp.MeshType = "Wedge"
  1307. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1308. w2:BreakJoints()
  1309. w2.Anchored = true
  1310. w2.Parent = workspace
  1311. w2.Transparency = 0.7
  1312. table.insert(Effects,{w2,"Disappear",.01})
  1313. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1314. table.insert(list,w2)
  1315. end
  1316. return unpack(list)
  1317. end
  1318.  
  1319. function NoOutline(Part)
  1320. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1321. end
  1322.  
  1323. local sine = 0
  1324. local change = 1
  1325. local val = 0
  1326.  
  1327. if #Effects>0 then
  1328. --table.insert(Effects,{prt,"Block1",delay})
  1329. for e=1,#Effects do
  1330. if Effects[e]~=nil then
  1331. --for j=1,#Effects[e] do
  1332. local Thing=Effects[e]
  1333. if Thing~=nil then
  1334. local Part=Thing[1]
  1335. local Mode=Thing[2]
  1336. local Delay=Thing[3]
  1337. local IncX=Thing[4]
  1338. local IncY=Thing[5]
  1339. local IncZ=Thing[6]
  1340. if Thing[1].Transparency<=1 then
  1341. if Thing[2]=="Block1" then
  1342. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1343. Mesh=Thing[1].Mesh
  1344. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1345. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1346. elseif Thing[2]=="Cylinder" then
  1347. Mesh=Thing[1].Mesh
  1348. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1349. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1350. elseif Thing[2]=="Blood" then
  1351. Mesh=Thing[1].Mesh
  1352. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1353. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1354. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1355. elseif Thing[2]=="Elec" then
  1356. Mesh=Thing[1].Mesh
  1357. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1358. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1359. elseif Thing[2]=="Disappear" then
  1360. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1361. end
  1362. else
  1363. Part.Parent=nil
  1364. table.remove(Effects,e)
  1365. end
  1366. end
  1367. --end
  1368. end
  1369. end
  1370. end
  1371.  
  1372. cn = CFrame.new
  1373. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1374. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1375. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1376. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1377.  
  1378. local mananum=0
  1379. while true do
  1380. swait()
  1381. sine = sine + change
  1382. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1383. local velderp=RootPart.Velocity.y
  1384. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1385. if equipped==true or equipped==false then
  1386. if attack==false then
  1387. idle=idle+1
  1388. else
  1389. idle=0
  1390. end
  1391. if idle>=500 then
  1392. if attack==false then
  1393. --Sheath()
  1394. end
  1395. end
  1396. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1397. Anim="Jump"
  1398. if attack==false then
  1399. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1400. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1401. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1402. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  1403. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1404. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1405. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1406. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  1407. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  1408. end
  1409. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1410. Anim="Fall"
  1411. if attack==false then
  1412. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1413. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1414. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1415. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  1416. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1417. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1418. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1419. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  1420. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  1421. end
  1422. elseif torvel<1 and hitfloor~=nil then
  1423. Anim="Idle"
  1424. if attack==false then
  1425. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .3)
  1426. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .3)
  1427. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.3)
  1428. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3)
  1429. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  1430. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  1431. end
  1432. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1433. Anim="Walk"
  1434. if attack==false then
  1435. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2)
  1436. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  1437. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
  1438. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
  1439. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
  1440. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 7))), .3)
  1441. end
  1442. elseif torvel>=22 and issprinting==true and hitfloor~=nil then
  1443. Anim="Run"
  1444. if attack==false then
  1445. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.05 + .1 * 2.5 * math.cos(sine / 2)) * angles(math.rad(50), math.rad(2) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 2))), .2)
  1446. Torso.Neck.C0 = clerp(Torso.Neck.C0, cn(0, 1.1, -0.2, -1, -0, -0, 0, 0, 1, 0, 1, 0) * angles(math.rad(-50), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  1447. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(-5), math.rad(25 * math.cos(sine / 3))), .2)
  1448. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.4) * angles(math.rad(75 * math.cos(6 / 2)), math.rad(5), math.rad(25 * math.cos(sine / 3))), .2)
  1449. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
  1450. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(55 * math.cos(sine / 3))), .3)
  1451. end
  1452. end
  1453. end
  1454. end
Add Comment
Please, Sign In to add comment