troymikeyt

Untitled

Jun 4th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 421.68 KB | None | 0 0
  1. -- Created By. B34ST_GH0ST
  2. -- Enjoy!
  3.  
  4. -- Objects
  5.  
  6. Script1Name = "TopK3K"
  7. Script2Name = "AttackOnTitan"
  8. Script3Name = "Pepe!WorldDestroyer!"
  9. Script4Name = "Mini You"
  10. Script5Name = "YourFavAnime"
  11. Script6Name = "Ravenger"
  12.  
  13. local BeastScriptInjector = Instance.new("ScreenGui")
  14. local MenuBase = Instance.new("Frame")
  15. local MenuBase2 = Instance.new("Frame")
  16. local Menu2List = Instance.new("TextLabel")
  17. local InjectScript1 = Instance.new("TextButton")
  18. local InjectScript2 = Instance.new("TextButton")
  19. local InjectScript3 = Instance.new("TextButton")
  20. local InjectScript4 = Instance.new("TextButton")
  21. local InjectScript5 = Instance.new("TextButton")
  22. local InjectScript6 = Instance.new("TextButton")
  23. local Title = Instance.new("TextLabel")
  24. local Options = Instance.new("TextButton")
  25. local Credits1 = Instance.new("TextLabel")
  26. local Credits2 = Instance.new("TextLabel")
  27. local OptionGui = Instance.new("Frame")
  28. local OptionGuiClose = Instance.new("TextButton")
  29. local PositionOptionsBackground = Instance.new("Frame")
  30. local PositionOptionTitle = Instance.new("TextLabel")
  31. local PositionOptionX = Instance.new("TextBox")
  32. local PositionOptionY = Instance.new("TextBox")
  33. local PositionOptionEnter = Instance.new("TextButton")
  34. local OptionTitle = Instance.new("TextLabel")
  35. local ColorOptionsBackground = Instance.new("Frame")
  36. local ColorOptionTitle = Instance.new("TextLabel")
  37. local ColorOptionR = Instance.new("TextBox")
  38. local ColorOptionEnter = Instance.new("TextButton")
  39. local ColorOptionG = Instance.new("TextBox")
  40. local ColorOptionB = Instance.new("TextBox")
  41. local OpenOptionGui = Instance.new("TextButton")
  42.  
  43. -- Properties
  44.  
  45. BeastScriptInjector.Name = "BeastScriptInjector"
  46. BeastScriptInjector.Parent = game.Players.LocalPlayer.PlayerGui
  47.  
  48. MenuBase.Name = "MenuBase"
  49. MenuBase.Parent = BeastScriptInjector
  50. MenuBase.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  51. MenuBase.BorderColor3 = Color3.new(1, 0, 1)
  52. MenuBase.BorderSizePixel = 3
  53. MenuBase.Position = UDim2.new(0, 120, 0, 120)
  54. MenuBase.Size = UDim2.new(0, 269, 0, 356)
  55.  
  56. MenuBase2.Name = "MenuBase2"
  57. MenuBase2.Parent = MenuBase
  58. MenuBase2.BackgroundColor3 = Color3.new(0, 0, 0)
  59. MenuBase2.BackgroundTransparency = 0.69999998807907
  60. MenuBase2.BorderColor3 = Color3.new(1, 0, 1)
  61. MenuBase2.BorderSizePixel = 3
  62. MenuBase2.Position = UDim2.new(0, 0, 0.143258423, 0)
  63. MenuBase2.Size = UDim2.new(0, 269, 0, 232)
  64.  
  65. Menu2List.Name = "Menu2List"
  66. Menu2List.Parent = MenuBase2
  67. Menu2List.BackgroundColor3 = Color3.new(0, 0, 0)
  68. Menu2List.BackgroundTransparency = 0.80000001192093
  69. Menu2List.BorderColor3 = Color3.new(1, 0, 1)
  70. Menu2List.BorderSizePixel = 3
  71. Menu2List.Size = UDim2.new(0, 269, 0, 30)
  72. Menu2List.Font = Enum.Font.SourceSans
  73. Menu2List.Text = "📜Scripts List📋:"
  74. Menu2List.TextColor3 = Color3.new(1, 0.666667, 1)
  75. Menu2List.TextScaled = true
  76. Menu2List.TextSize = 52
  77. Menu2List.TextWrapped = true
  78.  
  79. InjectScript1.Name = "InjectScript1"
  80. InjectScript1.Parent = MenuBase2
  81. InjectScript1.BackgroundColor3 = Color3.new(0, 0, 0)
  82. InjectScript1.BackgroundTransparency = 0.60000002384186
  83. InjectScript1.BorderColor3 = Color3.new(0, 0, 0)
  84. InjectScript1.BorderSizePixel = 0
  85. InjectScript1.Position = UDim2.new(0, 0, 0.185344815, 0)
  86. InjectScript1.Size = UDim2.new(0, 269, 0, 29)
  87. InjectScript1.Font = Enum.Font.Code
  88. InjectScript1.Text = Script1Name
  89. InjectScript1.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  90. InjectScript1.TextScaled = true
  91. InjectScript1.TextSize = 14
  92. InjectScript1.TextWrapped = true
  93.  
  94. InjectScript2.Name = "InjectScript2"
  95. InjectScript2.Parent = MenuBase2
  96. InjectScript2.BackgroundColor3 = Color3.new(0, 0, 0)
  97. InjectScript2.BackgroundTransparency = 0.60000002384186
  98. InjectScript2.BorderColor3 = Color3.new(0, 0, 0)
  99. InjectScript2.BorderSizePixel = 0
  100. InjectScript2.Position = UDim2.new(0, 0, 0.310344815, 0)
  101. InjectScript2.Size = UDim2.new(0, 269, 0, 29)
  102. InjectScript2.Font = Enum.Font.Code
  103. InjectScript2.Text = Script2Name
  104. InjectScript2.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  105. InjectScript2.TextScaled = true
  106. InjectScript2.TextSize = 14
  107. InjectScript2.TextWrapped = true
  108.  
  109. InjectScript3.Name = "InjectScript3"
  110. InjectScript3.Parent = MenuBase2
  111. InjectScript3.BackgroundColor3 = Color3.new(0, 0, 0)
  112. InjectScript3.BackgroundTransparency = 0.60000002384186
  113. InjectScript3.BorderColor3 = Color3.new(0, 0, 0)
  114. InjectScript3.BorderSizePixel = 0
  115. InjectScript3.Position = UDim2.new(0, 0, 0.43318966, 0)
  116. InjectScript3.Size = UDim2.new(0, 269, 0, 29)
  117. InjectScript3.Font = Enum.Font.Code
  118. InjectScript3.Text = Script3Name
  119. InjectScript3.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  120. InjectScript3.TextScaled = true
  121. InjectScript3.TextSize = 14
  122. InjectScript3.TextWrapped = true
  123.  
  124. InjectScript4.Name = "InjectScript4"
  125. InjectScript4.Parent = MenuBase2
  126. InjectScript4.BackgroundColor3 = Color3.new(0, 0, 0)
  127. InjectScript4.BackgroundTransparency = 0.60000002384186
  128. InjectScript4.BorderColor3 = Color3.new(0, 0, 0)
  129. InjectScript4.BorderSizePixel = 0
  130. InjectScript4.Position = UDim2.new(0, 0, 0.560344875, 0)
  131. InjectScript4.Size = UDim2.new(0, 269, 0, 29)
  132. InjectScript4.Font = Enum.Font.Code
  133. InjectScript4.Text = Script4Name
  134. InjectScript4.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  135. InjectScript4.TextScaled = true
  136. InjectScript4.TextSize = 14
  137. InjectScript4.TextWrapped = true
  138.  
  139. InjectScript5.Name = "InjectScript5"
  140. InjectScript5.Parent = MenuBase2
  141. InjectScript5.BackgroundColor3 = Color3.new(0, 0, 0)
  142. InjectScript5.BackgroundTransparency = 0.60000002384186
  143. InjectScript5.BorderColor3 = Color3.new(0, 0, 0)
  144. InjectScript5.BorderSizePixel = 0
  145. InjectScript5.Position = UDim2.new(0, 0, 0.685344875, 0)
  146. InjectScript5.Size = UDim2.new(0, 269, 0, 29)
  147. InjectScript5.Font = Enum.Font.Code
  148. InjectScript5.Text = Script5Name
  149. InjectScript5.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  150. InjectScript5.TextScaled = true
  151. InjectScript5.TextSize = 14
  152. InjectScript5.TextWrapped = true
  153.  
  154. InjectScript6.Name = "InjectScript6"
  155. InjectScript6.Parent = MenuBase2
  156. InjectScript6.BackgroundColor3 = Color3.new(0, 0, 0)
  157. InjectScript6.BackgroundTransparency = 0.60000002384186
  158. InjectScript6.BorderColor3 = Color3.new(0, 0, 0)
  159. InjectScript6.BorderSizePixel = 0
  160. InjectScript6.Position = UDim2.new(0, 0, 0.810344875, 0)
  161. InjectScript6.Size = UDim2.new(0, 269, 0, 29)
  162. InjectScript6.Font = Enum.Font.Code
  163. InjectScript6.Text = Script6Name
  164. InjectScript6.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  165. InjectScript6.TextScaled = true
  166. InjectScript6.TextSize = 14
  167. InjectScript6.TextWrapped = true
  168.  
  169. Title.Name = "Title"
  170. Title.Parent = MenuBase
  171. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  172. Title.BackgroundTransparency = 1
  173. Title.BorderSizePixel = 0
  174. Title.Position = UDim2.new(0.0334572494, 0, 0, 0)
  175. Title.Size = UDim2.new(0, 203, 0, 44)
  176. Title.Font = Enum.Font.Cartoon
  177. Title.Text = "🛡️Beast Injector📌"
  178. Title.TextColor3 = Color3.new(1, 0.666667, 1)
  179. Title.TextScaled = true
  180. Title.TextSize = 14
  181. Title.TextWrapped = true
  182.  
  183. Options.Name = "Options"
  184. Options.Parent = MenuBase
  185. Options.BackgroundColor3 = Color3.new(1, 1, 1)
  186. Options.BackgroundTransparency = 1
  187. Options.BorderSizePixel = 0
  188. Options.Position = UDim2.new(0.825278819, 0, 0, 0)
  189. Options.Size = UDim2.new(0, 37, 0, 44)
  190. Options.Font = Enum.Font.SourceSans
  191. Options.Text = "🔧"
  192. Options.TextColor3 = Color3.new(0, 0, 0)
  193. Options.TextScaled = true
  194. Options.TextSize = 14
  195. Options.TextWrapped = true
  196.  
  197. Credits1.Name = "Credits1"
  198. Credits1.Parent = MenuBase
  199. Credits1.BackgroundColor3 = Color3.new(1, 1, 1)
  200. Credits1.BackgroundTransparency = 1
  201. Credits1.BorderSizePixel = 0
  202. Credits1.Position = UDim2.new(0.0334572494, 0, 0.82303369, 0)
  203. Credits1.Size = UDim2.new(0, 110, 0, 18)
  204. Credits1.Font = Enum.Font.Code
  205. Credits1.Text = "Created by."
  206. Credits1.TextColor3 = Color3.new(0.694118, 0.694118, 0.694118)
  207. Credits1.TextScaled = true
  208. Credits1.TextSize = 14
  209. Credits1.TextWrapped = true
  210.  
  211. Credits2.Name = "Credits2"
  212. Credits2.Parent = MenuBase
  213. Credits2.BackgroundColor3 = Color3.new(1, 1, 1)
  214. Credits2.BackgroundTransparency = 1
  215. Credits2.BorderSizePixel = 0
  216. Credits2.Position = UDim2.new(0.0669144988, 0, 0.873595476, 0)
  217. Credits2.Size = UDim2.new(0, 233, 0, 35)
  218. Credits2.Font = Enum.Font.Cartoon
  219. Credits2.Text = "B34ST_GH0ST"
  220. Credits2.TextColor3 = Color3.new(1, 0.666667, 1)
  221. Credits2.TextScaled = true
  222. Credits2.TextSize = 14
  223. Credits2.TextWrapped = true
  224.  
  225. OptionGui.Name = "OptionGui"
  226. OptionGui.Parent = BeastScriptInjector
  227. OptionGui.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  228. OptionGui.BorderColor3 = Color3.new(1, 0, 1)
  229. OptionGui.BorderSizePixel = 3
  230. OptionGui.Position = UDim2.new(0.290629566, 0, 0.0223642178, 0)
  231. OptionGui.Size = UDim2.new(0, 243, 0, 173)
  232. OptionGui.Visible = false
  233.  
  234. OptionGuiClose.Name = "OptionGuiClose"
  235. OptionGuiClose.Parent = OptionGui
  236. OptionGuiClose.BackgroundColor3 = Color3.new(1, 1, 1)
  237. OptionGuiClose.BackgroundTransparency = 1
  238. OptionGuiClose.BorderSizePixel = 0
  239. OptionGuiClose.Position = UDim2.new(0.855967104, 0, 0, 0)
  240. OptionGuiClose.Size = UDim2.new(0, 29, 0, 30)
  241. OptionGuiClose.Font = Enum.Font.SourceSans
  242. OptionGuiClose.Text = "❌"
  243. OptionGuiClose.TextColor3 = Color3.new(0, 0, 0)
  244. OptionGuiClose.TextScaled = true
  245. OptionGuiClose.TextSize = 14
  246. OptionGuiClose.TextWrapped = true
  247.  
  248. PositionOptionsBackground.Name = "PositionOptionsBackground"
  249. PositionOptionsBackground.Parent = OptionGui
  250. PositionOptionsBackground.BackgroundColor3 = Color3.new(0, 0, 0)
  251. PositionOptionsBackground.BackgroundTransparency = 0.69999998807907
  252. PositionOptionsBackground.BorderColor3 = Color3.new(1, 0, 1)
  253. PositionOptionsBackground.BorderSizePixel = 3
  254. PositionOptionsBackground.Position = UDim2.new(0, 0, 0.173410401, 0)
  255. PositionOptionsBackground.Size = UDim2.new(0, 243, 0, 67)
  256.  
  257. PositionOptionTitle.Name = "PositionOptionTitle"
  258. PositionOptionTitle.Parent = PositionOptionsBackground
  259. PositionOptionTitle.BackgroundColor3 = Color3.new(0, 0, 0)
  260. PositionOptionTitle.BackgroundTransparency = 0.80000001192093
  261. PositionOptionTitle.BorderColor3 = Color3.new(1, 0, 1)
  262. PositionOptionTitle.BorderSizePixel = 3
  263. PositionOptionTitle.Size = UDim2.new(0, 243, 0, 30)
  264. PositionOptionTitle.Font = Enum.Font.SourceSans
  265. PositionOptionTitle.Text = "🔍Position🔎"
  266. PositionOptionTitle.TextColor3 = Color3.new(1, 0.666667, 1)
  267. PositionOptionTitle.TextScaled = true
  268. PositionOptionTitle.TextSize = 14
  269. PositionOptionTitle.TextWrapped = true
  270.  
  271. PositionOptionX.Name = "PositionOptionX"
  272. PositionOptionX.Parent = PositionOptionsBackground
  273. PositionOptionX.BackgroundColor3 = Color3.new(0, 0, 0)
  274. PositionOptionX.BorderSizePixel = 0
  275. PositionOptionX.Position = UDim2.new(0, 0, 0.447761208, 0)
  276. PositionOptionX.Size = UDim2.new(0, 79, 0, 37)
  277. PositionOptionX.Font = Enum.Font.Code
  278. PositionOptionX.Text = "X"
  279. PositionOptionX.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  280. PositionOptionX.TextScaled = true
  281. PositionOptionX.TextSize = 14
  282. PositionOptionX.TextWrapped = true
  283.  
  284. PositionOptionY.Name = "PositionOptionY"
  285. PositionOptionY.Parent = PositionOptionsBackground
  286. PositionOptionY.BackgroundColor3 = Color3.new(0, 0, 0)
  287. PositionOptionY.BorderSizePixel = 0
  288. PositionOptionY.Position = UDim2.new(0.325102895, 0, 0.447761208, 0)
  289. PositionOptionY.Size = UDim2.new(0, 85, 0, 37)
  290. PositionOptionY.Font = Enum.Font.Code
  291. PositionOptionY.Text = "Y"
  292. PositionOptionY.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  293. PositionOptionY.TextScaled = true
  294. PositionOptionY.TextSize = 14
  295. PositionOptionY.TextWrapped = true
  296.  
  297. PositionOptionEnter.Name = "PositionOptionEnter"
  298. PositionOptionEnter.Parent = PositionOptionsBackground
  299. PositionOptionEnter.BackgroundColor3 = Color3.new(0, 0, 0)
  300. PositionOptionEnter.BorderColor3 = Color3.new(1, 0, 1)
  301. PositionOptionEnter.BorderSizePixel = 0
  302. PositionOptionEnter.Position = UDim2.new(0.674897134, 0, 0.447761208, 0)
  303. PositionOptionEnter.Size = UDim2.new(0, 79, 0, 37)
  304. PositionOptionEnter.Font = Enum.Font.SciFi
  305. PositionOptionEnter.Text = "Enter"
  306. PositionOptionEnter.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  307. PositionOptionEnter.TextScaled = true
  308. PositionOptionEnter.TextSize = 14
  309. PositionOptionEnter.TextWrapped = true
  310.  
  311. OptionTitle.Name = "OptionTitle"
  312. OptionTitle.Parent = OptionGui
  313. OptionTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  314. OptionTitle.BackgroundTransparency = 1
  315. OptionTitle.BorderSizePixel = 0
  316. OptionTitle.Position = UDim2.new(0.0246913582, 0, 0, 0)
  317. OptionTitle.Size = UDim2.new(0, 202, 0, 30)
  318. OptionTitle.Font = Enum.Font.Cartoon
  319. OptionTitle.Text = "⚙️Injector Options⚙️"
  320. OptionTitle.TextColor3 = Color3.new(1, 0.666667, 1)
  321. OptionTitle.TextScaled = true
  322. OptionTitle.TextSize = 14
  323. OptionTitle.TextWrapped = true
  324.  
  325. ColorOptionsBackground.Name = "ColorOptionsBackground"
  326. ColorOptionsBackground.Parent = OptionGui
  327. ColorOptionsBackground.BackgroundColor3 = Color3.new(0, 0, 0)
  328. ColorOptionsBackground.BackgroundTransparency = 0.69999998807907
  329. ColorOptionsBackground.BorderColor3 = Color3.new(1, 0, 1)
  330. ColorOptionsBackground.BorderSizePixel = 3
  331. ColorOptionsBackground.Position = UDim2.new(0, 0, 0.612716734, 0)
  332. ColorOptionsBackground.Size = UDim2.new(0, 243, 0, 67)
  333.  
  334. ColorOptionTitle.Name = "ColorOptionTitle"
  335. ColorOptionTitle.Parent = ColorOptionsBackground
  336. ColorOptionTitle.BackgroundColor3 = Color3.new(0, 0, 0)
  337. ColorOptionTitle.BackgroundTransparency = 0.80000001192093
  338. ColorOptionTitle.BorderColor3 = Color3.new(1, 0, 1)
  339. ColorOptionTitle.BorderSizePixel = 3
  340. ColorOptionTitle.Size = UDim2.new(0, 243, 0, 30)
  341. ColorOptionTitle.Font = Enum.Font.SourceSans
  342. ColorOptionTitle.Text = "🎊Color🎊"
  343. ColorOptionTitle.TextColor3 = Color3.new(1, 0.666667, 1)
  344. ColorOptionTitle.TextScaled = true
  345. ColorOptionTitle.TextSize = 14
  346. ColorOptionTitle.TextWrapped = true
  347.  
  348. ColorOptionR.Name = "ColorOptionR"
  349. ColorOptionR.Parent = ColorOptionsBackground
  350. ColorOptionR.BackgroundColor3 = Color3.new(0, 0, 0)
  351. ColorOptionR.BorderSizePixel = 0
  352. ColorOptionR.Position = UDim2.new(0, 0, 0.447761208, 0)
  353. ColorOptionR.Size = UDim2.new(0, 63, 0, 37)
  354. ColorOptionR.Font = Enum.Font.Code
  355. ColorOptionR.Text = "R"
  356. ColorOptionR.TextColor3 = Color3.new(1, 0, 0.498039)
  357. ColorOptionR.TextScaled = true
  358. ColorOptionR.TextSize = 14
  359. ColorOptionR.TextWrapped = true
  360.  
  361. ColorOptionEnter.Name = "ColorOptionEnter"
  362. ColorOptionEnter.Parent = ColorOptionsBackground
  363. ColorOptionEnter.BackgroundColor3 = Color3.new(0, 0, 0)
  364. ColorOptionEnter.BorderColor3 = Color3.new(1, 0, 1)
  365. ColorOptionEnter.BorderSizePixel = 0
  366. ColorOptionEnter.Position = UDim2.new(0.777777791, 0, 0.447761208, 0)
  367. ColorOptionEnter.Size = UDim2.new(0, 54, 0, 37)
  368. ColorOptionEnter.Font = Enum.Font.SciFi
  369. ColorOptionEnter.Text = "Enter"
  370. ColorOptionEnter.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  371. ColorOptionEnter.TextScaled = true
  372. ColorOptionEnter.TextSize = 14
  373. ColorOptionEnter.TextWrapped = true
  374.  
  375. ColorOptionG.Name = "ColorOptionG"
  376. ColorOptionG.Parent = ColorOptionsBackground
  377. ColorOptionG.BackgroundColor3 = Color3.new(0, 0, 0)
  378. ColorOptionG.BorderSizePixel = 0
  379. ColorOptionG.Position = UDim2.new(0.259259254, 0, 0.447761208, 0)
  380. ColorOptionG.Size = UDim2.new(0, 63, 0, 37)
  381. ColorOptionG.Font = Enum.Font.Code
  382. ColorOptionG.Text = "G"
  383. ColorOptionG.TextColor3 = Color3.new(0.333333, 1, 0.498039)
  384. ColorOptionG.TextScaled = true
  385. ColorOptionG.TextSize = 14
  386. ColorOptionG.TextWrapped = true
  387.  
  388. ColorOptionB.Name = "ColorOptionB"
  389. ColorOptionB.Parent = ColorOptionsBackground
  390. ColorOptionB.BackgroundColor3 = Color3.new(0, 0, 0)
  391. ColorOptionB.BorderSizePixel = 0
  392. ColorOptionB.Position = UDim2.new(0.518518507, 0, 0.447761208, 0)
  393. ColorOptionB.Size = UDim2.new(0, 63, 0, 37)
  394. ColorOptionB.Font = Enum.Font.Code
  395. ColorOptionB.Text = "B"
  396. ColorOptionB.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  397. ColorOptionB.TextScaled = true
  398. ColorOptionB.TextSize = 14
  399. ColorOptionB.TextWrapped = true
  400.  
  401. OpenOptionGui.Name = "OpenOptionGui"
  402. OpenOptionGui.Parent = BeastScriptInjector
  403. OpenOptionGui.BackgroundColor3 = Color3.new(1, 0.666667, 1)
  404. OpenOptionGui.BackgroundTransparency = 0.80000001192093
  405. OpenOptionGui.BorderSizePixel = 0
  406. OpenOptionGui.Position = UDim2.new(0.477306008, 0, 0, 0)
  407. OpenOptionGui.Size = UDim2.new(0, 76, 0, 23)
  408. OpenOptionGui.Font = Enum.Font.Cartoon
  409. OpenOptionGui.Text = "Open Options"
  410. OpenOptionGui.TextColor3 = Color3.new(1, 0.823529, 0.972549)
  411. OpenOptionGui.TextScaled = true
  412. OpenOptionGui.TextSize = 14
  413. OpenOptionGui.TextWrapped = true
  414.  
  415. ------------------------------------------------------------------- Functions
  416.  
  417. InjectScript1.MouseButton1Click:Connect(function()
  418. -- -- Epic Script Leaked By Scratchy!
  419. -- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
  420.  
  421.  
  422. _G.Rc7Notification = function(a,b,c)
  423. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
  424. end
  425. local topkek = {}
  426. topkek.patch = '1.0.5a'
  427. topkek.data = {}
  428. topkek.commandbase = {}
  429. topkek.navigation = {}
  430. topkek.banmgr = {}
  431. topkek.lplr = game:GetService('Players').LocalPlayer
  432.  
  433. topkek.tools = {}
  434. topkek.tools.gui = {}
  435. topkek.tools.util = {}
  436. topkek.tools.animator = {}
  437.  
  438. topkek.windows = {}
  439. topkek.windows.lplr = {}
  440. topkek.windows.server = {}
  441. topkek.windows.players = {}
  442. topkek.windows.destruction = {}
  443. topkek.windows.scripts = {}
  444. topkek.windows.misc = {}
  445.  
  446. topkek.misc = {}
  447.  
  448. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  449. NewGuiPart1.Name = "4.0"
  450. -------
  451. local NewGuiPart2 = Instance.new("Frame")
  452. NewGuiPart2.Active = true
  453. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  454. NewGuiPart2.BorderSizePixel = 0
  455. NewGuiPart2.Name = "Main"
  456. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  457. NewGuiPart2.Selectable = true
  458. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  459. NewGuiPart2.Visible = false
  460. NewGuiPart2.ClipsDescendants = true
  461. NewGuiPart2.Draggable = true
  462. NewGuiPart2.Parent = NewGuiPart1
  463. -------
  464. local NewGuiPart3 = Instance.new("Frame")
  465. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  466. NewGuiPart3.BorderSizePixel = 0
  467. NewGuiPart3.Name = "Topbar"
  468. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  469. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  470. NewGuiPart3.Parent = NewGuiPart2
  471. -------
  472. local NewGuiPart4 = Instance.new("TextLabel")
  473. NewGuiPart4.BackgroundTransparency = 1
  474. NewGuiPart4.Name = "PlayerName"
  475. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  476. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  477. NewGuiPart4.Visible = false
  478. NewGuiPart4.ZIndex = 4
  479. NewGuiPart4.Font = Enum.Font.Arcade
  480. NewGuiPart4.FontSize = Enum.FontSize.Size18
  481. NewGuiPart4.Text = "Player1"
  482. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  483. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  484. NewGuiPart4.Parent = NewGuiPart3
  485. -------
  486. local NewGuiPart5 = Instance.new("Frame")
  487. NewGuiPart5.BackgroundTransparency = 1
  488. NewGuiPart5.Name = "Controllers"
  489. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  490. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  491. NewGuiPart5.Parent = NewGuiPart3
  492. -------
  493. local NewGuiPart6 = Instance.new("TextButton")
  494. NewGuiPart6.Active = true
  495. NewGuiPart6.AutoButtonColor = false
  496. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  497. NewGuiPart6.BorderSizePixel = 0
  498. NewGuiPart6.Name = "Exit"
  499. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  500. NewGuiPart6.Selectable = true
  501. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  502. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  503. NewGuiPart6.FontSize = Enum.FontSize.Size14
  504. NewGuiPart6.Text = ""
  505. NewGuiPart6.Parent = NewGuiPart5
  506. -------
  507. local NewGuiPart7 = Instance.new("TextButton")
  508. NewGuiPart7.Active = true
  509. NewGuiPart7.AutoButtonColor = false
  510. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  511. NewGuiPart7.BorderSizePixel = 0
  512. NewGuiPart7.Name = "Hide"
  513. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  514. NewGuiPart7.Selectable = true
  515. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  516. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  517. NewGuiPart7.FontSize = Enum.FontSize.Size14
  518. NewGuiPart7.Text = ""
  519. NewGuiPart7.Parent = NewGuiPart5
  520. -------
  521. local NewGuiPart8 = Instance.new("TextLabel")
  522. NewGuiPart8.BackgroundTransparency = 1
  523. NewGuiPart8.Name = "IsFE"
  524. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  525. NewGuiPart8.FontSize = Enum.FontSize.Size18
  526. NewGuiPart8.Text = "Not FE"
  527. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  528. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  529. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  530. NewGuiPart8.Parent = NewGuiPart5
  531. -------
  532. local NewGuiPart9 = Instance.new("TextLabel")
  533. NewGuiPart9.BackgroundTransparency = 1
  534. NewGuiPart9.Name = "Stella"
  535. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  536. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  537. NewGuiPart9.ZIndex = 2
  538. NewGuiPart9.Font = Enum.Font.Arcade
  539. NewGuiPart9.FontSize = Enum.FontSize.Size18
  540. NewGuiPart9.Text = "[Stella]"
  541. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  542. NewGuiPart9.Parent = NewGuiPart3
  543. -------
  544. local NewGuiPart10 = Instance.new("Frame")
  545. NewGuiPart10.BackgroundTransparency = 1
  546. NewGuiPart10.Name = "Holder"
  547. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  548. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  549. NewGuiPart10.Parent = NewGuiPart2
  550. -------
  551. local NewGuiPart11 = Instance.new("Frame")
  552. NewGuiPart11.BackgroundTransparency = 1
  553. NewGuiPart11.Name = "Home"
  554. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  555. NewGuiPart11.Parent = NewGuiPart10
  556. -------
  557. local NewGuiPart12 = Instance.new("TextLabel")
  558. NewGuiPart12.BackgroundTransparency = 1
  559. NewGuiPart12.BorderSizePixel = 0
  560. NewGuiPart12.Name = "Title1"
  561. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  562. NewGuiPart12.Selectable = true
  563. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  564. NewGuiPart12.Font = Enum.Font.SourceSansBold
  565. NewGuiPart12.FontSize = Enum.FontSize.Size42
  566. NewGuiPart12.Text = "T0PK3K 4.0"
  567. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  568. NewGuiPart12.TextStrokeTransparency = 0.5
  569. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  570. NewGuiPart12.Parent = NewGuiPart11
  571. -------
  572. local NewGuiPart13 = Instance.new("TextLabel")
  573. NewGuiPart13.BackgroundTransparency = 1
  574. NewGuiPart13.BorderSizePixel = 0
  575. NewGuiPart13.Name = "Title2"
  576. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  577. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  578. NewGuiPart13.Font = Enum.Font.SourceSansBold
  579. NewGuiPart13.FontSize = Enum.FontSize.Size18
  580. NewGuiPart13.Text = "by nosyliam"
  581. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  582. NewGuiPart13.TextStrokeTransparency = 0.5
  583. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  584. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  585. NewGuiPart13.Parent = NewGuiPart12
  586. -------
  587. local NewGuiPart14 = Instance.new("Frame")
  588. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  589. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  590. NewGuiPart14.Name = "Container"
  591. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  592. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  593. NewGuiPart14.Parent = NewGuiPart11
  594. -------
  595. local NewGuiPart15 = Instance.new("TextLabel")
  596. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  597. NewGuiPart15.BorderSizePixel = 0
  598. NewGuiPart15.Name = "Message"
  599. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  600. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  601. NewGuiPart15.Font = Enum.Font.Highway
  602. NewGuiPart15.FontSize = Enum.FontSize.Size14
  603. NewGuiPart15.Text = "Server Message: variable is gay"
  604. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  605. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  606. NewGuiPart15.Parent = NewGuiPart11
  607. -------
  608. local NewGuiPart16 = Instance.new("TextBox")
  609. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  610. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  611. NewGuiPart16.Name = "Command"
  612. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  613. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  614. NewGuiPart16.Font = Enum.Font.Code
  615. NewGuiPart16.FontSize = Enum.FontSize.Size12
  616. NewGuiPart16.Text = "Press ; to enter a command"
  617. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  618. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  619. NewGuiPart16.TextTransparency = 0.30000001192093
  620. NewGuiPart16.Parent = NewGuiPart10
  621. -------
  622. local NewGuiPart17 = Instance.new("Frame")
  623. NewGuiPart17.BackgroundTransparency = 1
  624. NewGuiPart17.Name = "Template"
  625. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  626. NewGuiPart17.Visible = false
  627. NewGuiPart17.ZIndex = 2
  628. NewGuiPart17.Parent = NewGuiPart10
  629. -------
  630. local NewGuiPart18 = Instance.new("ScrollingFrame")
  631. NewGuiPart18.Active = true
  632. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  633. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  634. NewGuiPart18.Name = "Container"
  635. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  636. NewGuiPart18.Selectable = true
  637. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  638. NewGuiPart18.ZIndex = 2
  639. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  640. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  641. NewGuiPart18.MidImage = "rbxassetid://368504177"
  642. NewGuiPart18.ScrollBarThickness = 5
  643. NewGuiPart18.TopImage = "rbxassetid://368504177"
  644. NewGuiPart18.ClipsDescendants = true
  645. NewGuiPart18.Parent = NewGuiPart17
  646. -------
  647. local NewGuiPart19 = Instance.new("Frame")
  648. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  649. NewGuiPart19.BackgroundTransparency = 1
  650. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  651. NewGuiPart19.Name = "Navigator"
  652. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  653. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  654. NewGuiPart19.Visible = false
  655. NewGuiPart19.Parent = NewGuiPart10
  656. -------
  657. local NewGuiPart20 = Instance.new("Frame")
  658. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  659. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  660. NewGuiPart20.Name = "NavMain"
  661. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  662. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  663. NewGuiPart20.Parent = NewGuiPart19
  664. -------
  665. local NewGuiPart21 = Instance.new("TextButton")
  666. NewGuiPart21.Active = true
  667. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  668. NewGuiPart21.BorderSizePixel = 0
  669. NewGuiPart21.Name = "NavLeft"
  670. NewGuiPart21.Selectable = true
  671. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  672. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  673. NewGuiPart21.FontSize = Enum.FontSize.Size14
  674. NewGuiPart21.Text = ""
  675. NewGuiPart21.Parent = NewGuiPart19
  676. -------
  677. local NewGuiPart22 = Instance.new("TextButton")
  678. NewGuiPart22.Active = true
  679. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  680. NewGuiPart22.BorderSizePixel = 0
  681. NewGuiPart22.Name = "NavRight"
  682. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  683. NewGuiPart22.Selectable = true
  684. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  685. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  686. NewGuiPart22.FontSize = Enum.FontSize.Size14
  687. NewGuiPart22.Text = ""
  688. NewGuiPart22.Parent = NewGuiPart19
  689. -------
  690. local NewGuiPart23 = Instance.new("Frame")
  691. NewGuiPart23.Active = true
  692. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  693. NewGuiPart23.BorderSizePixel = 0
  694. NewGuiPart23.Name = "Navigation"
  695. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  696. NewGuiPart23.ZIndex = 2
  697. NewGuiPart23.Parent = NewGuiPart2
  698. -------
  699. local NewGuiPart24 = Instance.new("Frame")
  700. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  701. NewGuiPart24.BorderSizePixel = 0
  702. NewGuiPart24.Name = "Topbar"
  703. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  704. NewGuiPart24.ZIndex = 3
  705. NewGuiPart24.Parent = NewGuiPart23
  706. -------
  707. local NewGuiPart25 = Instance.new("ScrollingFrame")
  708. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  709. NewGuiPart25.BorderSizePixel = 0
  710. NewGuiPart25.Name = "Scroll"
  711. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  712. NewGuiPart25.Selectable = true
  713. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  714. NewGuiPart25.ZIndex = 3
  715. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  716. NewGuiPart25.MidImage = "rbxassetid://368504177"
  717. NewGuiPart25.ScrollBarThickness = 6
  718. NewGuiPart25.TopImage = "rbxassetid://368504177"
  719. NewGuiPart25.ClipsDescendants = true
  720. NewGuiPart25.Parent = NewGuiPart23
  721. -------
  722. local NewGuiPart26 = Instance.new("Frame")
  723. NewGuiPart26.BackgroundTransparency = 1
  724. NewGuiPart26.Name = "Composite1"
  725. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  726. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  727. NewGuiPart26.ClipsDescendants = true
  728. NewGuiPart26.Parent = NewGuiPart1
  729. -------
  730. local NewGuiPart27 = Instance.new("TextLabel")
  731. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  732. NewGuiPart27.BorderSizePixel = 0
  733. NewGuiPart27.Name = "Label"
  734. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  735. NewGuiPart27.Font = Enum.Font.SourceSansBold
  736. NewGuiPart27.FontSize = Enum.FontSize.Size96
  737. NewGuiPart27.Text = "T"
  738. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  739. NewGuiPart27.Parent = NewGuiPart26
  740. -------
  741. local NewGuiPart28 = Instance.new("Frame")
  742. NewGuiPart28.BackgroundTransparency = 1
  743. NewGuiPart28.Name = "Composite2"
  744. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  745. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  746. NewGuiPart28.ClipsDescendants = true
  747. NewGuiPart28.Parent = NewGuiPart1
  748. -------
  749. local NewGuiPart29 = Instance.new("TextLabel")
  750. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  751. NewGuiPart29.BorderSizePixel = 0
  752. NewGuiPart29.Name = "Label"
  753. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  754. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  755. NewGuiPart29.Font = Enum.Font.SourceSansBold
  756. NewGuiPart29.FontSize = Enum.FontSize.Size96
  757. NewGuiPart29.Text = "T"
  758. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  759. NewGuiPart29.Parent = NewGuiPart28
  760. -------
  761. local NewGuiPart30 = Instance.new("Frame")
  762. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  763. NewGuiPart30.Name = "Solid"
  764. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  765. NewGuiPart30.Visible = false
  766. NewGuiPart30.ClipsDescendants = true
  767. NewGuiPart30.Parent = NewGuiPart1
  768. -------
  769. local NewGuiPart31 = Instance.new("TextLabel")
  770. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  771. NewGuiPart31.BorderSizePixel = 0
  772. NewGuiPart31.Name = "Label"
  773. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  774. NewGuiPart31.Font = Enum.Font.SourceSansBold
  775. NewGuiPart31.FontSize = Enum.FontSize.Size96
  776. NewGuiPart31.Text = "T"
  777. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  778. NewGuiPart31.Parent = NewGuiPart30
  779.  
  780.  
  781.  
  782. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  783. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  784. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  785. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  786. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  787.  
  788. AllowHovers = false
  789. PlayerChatHook, UpdateBanlist = nil
  790. cmd = {}
  791.  
  792. --// data //--
  793. topkek.data.windows = {
  794. 'Home',
  795. 'LocalPlayer',
  796. 'Server',
  797. 'Players',
  798. 'Destruction',
  799. 'Scripts',
  800. 'Catalog',
  801. 'Music',
  802. 'Hats',
  803. 'Faces',
  804. 'Settings',
  805. 'Commands',
  806. 'Banlist',
  807. }
  808.  
  809. color3 = function(r,g,b)
  810. return Color3.new(r/255, g/255, b/255)
  811. end
  812. --// doggo dropdown //--
  813. -- thanks krystal
  814. GUI = {
  815. TextBox = {
  816. Settings = {
  817. Font = Enum.Font.SourceSans;
  818. FontSize = Enum.FontSize.Size14;
  819. };
  820. Color = {
  821. Main = Color3.fromRGB(5,8,11);
  822. Border = Color3.fromRGB(27,42,53);
  823. Text = Color3.fromRGB(199,199,199);
  824. };
  825. New = function(Position, Size, Parent, ...)
  826. local arguments = {...};
  827.  
  828. local TextBox = Instance.new("TextBox", Parent);
  829. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  830. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  831. TextBox.Font = GUI.TextBox.Settings.Font;
  832. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  833. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  834. TextBox.Position = Position;
  835. TextBox.Size = Size;
  836. if #arguments then
  837. if arguments[1] then
  838. TextBox.Text = tostring(arguments[1]);
  839. else
  840. TextBox.Text = "";
  841. end
  842. end
  843. return TextBox;
  844. end;
  845. };
  846. DropDown = {
  847. Settings = {
  848. ScrollerAmount = 5; --A scroller will appear at this amount.
  849. ScrollBarThickness = 6;
  850. };
  851. Gfx = {
  852. Scroller = "rbxassetid://606572419";
  853. };
  854. Color = {
  855. Main = color3(107, 36, 36);
  856. Secondary = color3(113, 39, 39);
  857. Border = color3(127, 44, 44);
  858. Text = Color3.fromRGB(199,199,199);
  859. };
  860. New = function(Position, Size, Parent, ...)
  861. local vValue = {};
  862. local arguments = {...};
  863. local vSelected = Instance.new("StringValue");
  864. vSelected.Value = "nil";
  865.  
  866. if arguments then
  867. if type(arguments) == "table" then
  868. for i=1,#(arguments) do
  869. if type(arguments[i]) == "table" then
  870. for f=1,#(arguments[i]) do
  871. table.insert(vValue, tostring((arguments[i])[f]));
  872. end
  873. else
  874. table.insert(vValue, tostring(arguments[i]));
  875. end
  876. end
  877. vSelected.Value = (vValue[1]);
  878. end
  879. end
  880.  
  881. local Main = Instance.new("TextButton", Parent);
  882. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  883. Main.BorderColor3 = GUI.DropDown.Color.Border;
  884. Main.Position = Position;
  885. Main.Size = Size;
  886. Main.TextColor3 = GUI.DropDown.Color.Text;
  887. Main.FontSize = Enum.FontSize.Size14;
  888. Main.TextStrokeTransparency = 0.5;
  889. Main.TextXAlignment = Enum.TextXAlignment.Left;
  890. Main.Font = Enum.Font.SourceSans;
  891. Main.Text = " "..tostring(vSelected.Value);
  892. Main.ZIndex = 3
  893.  
  894. local Icon = Instance.new("TextLabel", Main);
  895. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  896. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  897. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  898. Icon.Position = UDim2.new(1,-2,1,-2);
  899. Icon.Size = UDim2.new(-1,4,-1,4);
  900. Icon.TextColor3 = GUI.DropDown.Color.Text;
  901. Icon.FontSize = Enum.FontSize.Size14;
  902. Icon.TextStrokeTransparency = 0.5;
  903. Icon.Font = Enum.Font.SourceSans;
  904. Icon.Text = "V"
  905. Icon.ZIndex = 4
  906.  
  907. local Holder, Search;
  908. local ClearHolder = function()
  909. if Holder then
  910. Holder:ClearAllChildren();
  911. Holder.Size = UDim2.new(1,0,0,0);
  912. Holder.Visible = false;
  913. if Search then
  914. Search.Visible = false;
  915. end
  916. end
  917. end;
  918.  
  919. local CreateButton;
  920. local RefreshDropDown = function()
  921. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  922. if not Holder or not Holder:IsA("Frame") then
  923. Holder = nil; Search = nil;
  924. Holder = Instance.new("Frame",Main);
  925. Holder.Size = UDim2.new(1,0,0,0);
  926. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  927. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  928. Holder.Visible = false;
  929. Holder.ZIndex = 3
  930. end
  931. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  932. if not Holder or not Holder:IsA("ScrollingFrame") then
  933. Holder = nil; Search = nil;
  934. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  935. Search.Visible = false;
  936. Search.ZIndex = 4
  937. Search.Changed:connect(function(p)
  938. if p == "Text" then
  939. CreateButton(Search.Text);
  940. end
  941. end)
  942. Holder = Instance.new("ScrollingFrame",Main);
  943. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  944. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  945. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  946. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  947. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  948. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  949. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  950. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  951. Holder.Visible = false;
  952. Holder.ZIndex = 3;
  953. end
  954. end
  955. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  956. vSelected.Value = vValue[1];
  957. elseif #vValue == 0 then
  958. vSelected.Value = "nil";
  959. warn("Table amount is nil.");
  960. end
  961. Main.Text = " "..tostring(vSelected.Value);
  962. --ClearHolder();
  963. end;
  964.  
  965. local Debounce = false;
  966. CreateButton = function(searches)
  967. if Debounce == false then
  968. Debounce = true;
  969. ClearHolder()
  970. Holder.Visible = true;
  971. local Searched = 0;
  972. if #vValue > 0 then
  973. for i=1,#vValue do
  974. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  975. Searched = Searched + 1;
  976. end
  977. end
  978. for i=1,#vValue do
  979. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
  980. local Select = Instance.new("TextButton", Holder);
  981. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  982. Select.BorderColor3 = GUI.DropDown.Color.Border;
  983. Select.BackgroundTransparency = 1;
  984. Select.BorderSizePixel = 0;
  985. Select.Position = Position;
  986. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  987. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  988. else
  989. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  990. end
  991. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  992. Select.TextColor3 = GUI.DropDown.Color.Text;
  993. Select.FontSize = Enum.FontSize.Size14;
  994. Select.TextStrokeTransparency = 0.5;
  995. Select.Font = Enum.Font.SourceSans;
  996. Select.Text = tostring(vValue[i]);
  997. Select.ZIndex = 3
  998. Select.MouseButton1Click:connect(function()
  999. vSelected.Value = vValue[i];
  1000. ClearHolder();
  1001. RefreshDropDown();
  1002. end)
  1003. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  1004. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  1005. elseif Holder:IsA("ScrollingFrame") then
  1006. Search.Visible = true;
  1007. if #Holder:GetChildren() >= 1 then
  1008. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  1009. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  1010. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  1011. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  1012. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  1013. end
  1014. elseif #Holder:GetChildren() < 1 then
  1015. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  1016. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  1017. end
  1018. end
  1019. end
  1020. end
  1021. end
  1022. Debounce = false;
  1023. end
  1024. end;
  1025.  
  1026. RefreshDropDown();
  1027.  
  1028. Main.MouseButton1Click:connect(function()
  1029. CreateButton()
  1030. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  1031. Search:CaptureFocus();
  1032. Search.Text = "";
  1033. end
  1034. end)
  1035.  
  1036. topkek.lplr:GetMouse().Button1Down:connect(function()
  1037. ClearHolder()
  1038. end)
  1039.  
  1040. return {
  1041. Update = function()
  1042. RefreshDropDown();
  1043. end;
  1044. GetValue = function()
  1045. RefreshDropDown();
  1046. return vValue;
  1047. end;
  1048. GetSelected = function()
  1049. RefreshDropDown();
  1050. return vSelected.Value;
  1051. end;
  1052. SetTable = function(F)
  1053. vValue = F;
  1054. RefreshDropDown();
  1055. end;
  1056. Changed = function(F)
  1057. vSelected.Changed:connect(function()
  1058. ypcall(function()
  1059. F(vSelected.Value);
  1060. end)
  1061. end)
  1062. return "ChangedEvent Hooked";
  1063. end;
  1064. AddValue = function(obj)
  1065. local Type = type(obj);
  1066. if Type == "table" then
  1067. for i=1,#obj do
  1068. table.insert(vValue, obj[i])
  1069. end
  1070. elseif Type == "string" or Type == "number" or Type == "boolean" then
  1071. table.insert(vValue, obj)
  1072. end
  1073. RefreshDropDown();
  1074. end;
  1075. RemoveValue = function(obj)
  1076. local Type = type(obj);
  1077. if Type == "table" then
  1078. for i=1,#vValue do
  1079. for f=1,#obj do
  1080. if tostring(obj[f]) == tostring(vValue[i]) then
  1081. table.remove(vValue,i)
  1082. end
  1083. end
  1084. end
  1085. else
  1086. for i=1,#vValue do
  1087. if tostring(obj) == tostring(vValue[i]) then
  1088. table.remove(vValue,i)
  1089. end
  1090. end
  1091. end
  1092. RefreshDropDown();
  1093. end;
  1094. ClearValue = function()
  1095. vValue = {};
  1096. RefreshDropDown();
  1097. end;
  1098. }
  1099. end;
  1100. };
  1101. };
  1102. --// util //--
  1103. function topkek.tools.util.Object(o, p)
  1104. local a, b = pcall(function()
  1105. Instance.new(o)
  1106. end)
  1107. if not a then
  1108. return
  1109. end
  1110. local obj = Instance.new(o)
  1111. for prop, val in pairs(p) do
  1112. pcall(function()
  1113. obj[prop] = val
  1114. end)
  1115. end
  1116. return obj
  1117. end
  1118.  
  1119. function topkek.tools.util.getContainer(n)
  1120. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  1121. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  1122. else
  1123. print("menu not found; returning template")
  1124. return topkek.holder['Template']
  1125. end
  1126. end
  1127.  
  1128. function topkek.tools.util.play(id)
  1129. local mu = Instance.new("Sound", game:GetService('Workspace'))
  1130. mu.Volume = 1
  1131. mu.Looped = true
  1132. mu.Pitch = 1
  1133. mu.SoundId = "rbxassetid://"..tostring(id)
  1134. mu:Play()
  1135. end
  1136.  
  1137. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  1138. if plr.Character then
  1139. if plr.Character:FindFirstChild('UpperTorso') then
  1140. return plr.Character.UpperTorso
  1141. elseif plr.Character:FindFirstChild('Torso') then
  1142. return plr.Character.Torso
  1143. else
  1144. return nil
  1145. end
  1146. end
  1147. end
  1148.  
  1149. function topkek.tools.util.recurseRemove(x,type_)
  1150. local function recurse(x)
  1151. for i, v in pairs(x:GetChildren()) do
  1152. pcall(function()
  1153. if v:IsA(type_) then
  1154. v:Destroy()
  1155. end
  1156. if #(v:GetChildren())>0 then
  1157. recurse(v)
  1158. end
  1159. end)
  1160. end
  1161. end
  1162. recurse(x)
  1163. end
  1164.  
  1165. function topkek.tools.util.recurseFunc(type_,func)
  1166. local function recurse(x)
  1167. for i, v in pairs(x:GetChildren()) do
  1168. pcall(function()
  1169. if v:IsA(type_) then
  1170. func(v)
  1171. end
  1172. if #(v:GetChildren())>0 then
  1173. recurse(v)
  1174. end
  1175. end)
  1176. end
  1177. end
  1178. recurse(game)
  1179. end
  1180. function topkek.tools.util.trowel()
  1181. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  1182. T.Name = 'Custom Trowel'
  1183.  
  1184. local p = Instance.new('Part')
  1185. p.Name = 'Handle'
  1186. p.Size = Vector3.new(1,4.4,1)
  1187. p.Parent = T
  1188.  
  1189. local specialMesh = Instance.new('SpecialMesh')
  1190. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  1191. specialMesh.MeshType = 'FileMesh'
  1192. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  1193. specialMesh.Parent = T.Handle
  1194.  
  1195. local sound = Instance.new'Sound'
  1196. sound.Name = 'build'
  1197. sound.SoundId = 'rbxasset://sounds//bass.wav'
  1198. sound.Volume = 1
  1199. sound.Parent = T.Handle
  1200.  
  1201. local brickHeight = 100
  1202. local trowelSpeed = 0.05
  1203. local brickWidth = 500
  1204. local mouseConnection
  1205.  
  1206. function newBrick(CF, P, color)
  1207. local brick = Instance.new('Part')
  1208. brick.BrickColor = color
  1209. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  1210. brick.Parent = game.Workspace
  1211. brick:MakeJoints()
  1212. brick.Material = 'Neon'
  1213. brick.Name = 'DeleteMe'
  1214. return brick, P + brick.Size
  1215. end
  1216.  
  1217. function genBrick(cFrame)
  1218. local randBrickColor = BrickColor.Random()
  1219. assert(brickWidth > 0)
  1220.  
  1221. local yPos = 0
  1222.  
  1223. while yPos < brickHeight do
  1224. local vPos
  1225. local X = -brickWidth / 2
  1226. while X < brickWidth / 2 do
  1227. local brick
  1228. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  1229. X = vPos.x
  1230. wait(trowelSpeed)
  1231. end
  1232. yPos = vPos.y
  1233. end
  1234. end
  1235.  
  1236. function calcPos(vec)
  1237. if (math.abs(vec.x) > math.abs(vec.z)) then
  1238. if vec.x > 0 then
  1239. return Vector3.new(1, 0, 0)
  1240. else
  1241. return Vector3.new(-1, 0, 0)
  1242. end
  1243. else
  1244. if (vec.z > 0) then
  1245. return Vector3.new(0, 0, 1)
  1246. else
  1247. return Vector3.new(0, 0, -1)
  1248. end
  1249. end
  1250. end
  1251.  
  1252. T.Enabled = true
  1253.  
  1254. T.Activated:connect(function()
  1255. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  1256. T.Enabled = false
  1257. T.Handle.build:Play()
  1258. genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
  1259. T.Enabled = true
  1260. end
  1261. end)
  1262.  
  1263. T.Equipped:connect(function()
  1264. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  1265. if (key == 'r') then
  1266. for i,v in next, workspace:children'' do
  1267. if (v.Name == 'DeleteMe') then
  1268. v:Destroy()
  1269. end
  1270. end
  1271. end
  1272. end)
  1273. end)
  1274.  
  1275. T.Unequipped:connect(function()
  1276. mouseConnection:disconnect()
  1277. end)
  1278. end
  1279. function topkek.tools.util.recurseSet(type_,prop,val)
  1280. local function recurse(x)
  1281. for i, v in pairs(x:GetChildren()) do
  1282. pcall(function()
  1283. if v:IsA(type_) then
  1284. v[prop]=val
  1285. end
  1286. if #(v:GetChildren())>0 then
  1287. recurse(v)
  1288. end
  1289. end)
  1290. end
  1291. end
  1292. recurse(game)
  1293. end
  1294. function topkek.tools.util.recurseUltimate(d)
  1295. topkek.tools.util.recurseDecal(d)
  1296. topkek.tools.util.recurseParticles(d)
  1297. end
  1298. function topkek.tools.util.recurseDecal(img)
  1299. img = 'rbxassetid://' .. img
  1300. local function skybox(x)
  1301. local sky = Instance.new("Sky",game.Lighting)
  1302. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  1303. for i,v in pairs(fcs) do
  1304. sky["Skybox"..v]=x
  1305. end
  1306. end
  1307.  
  1308. local function decal(p, b)
  1309. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  1310. for i, v in pairs(sides) do
  1311. local a = Instance.new("Decal", p)
  1312. a.Texture = b
  1313. a.Face = v
  1314. end
  1315. end
  1316.  
  1317. local function recurse(x)
  1318. for i, v in pairs(x:GetChildren()) do
  1319. pcall(function() -- 'error occured, no output from Lua' LOLE
  1320. if v:IsA("BasePart") then
  1321. decal(v, img)
  1322. end
  1323. if #(v:GetChildren())>0 then
  1324. recurse(v)
  1325. end
  1326. end)
  1327. end
  1328. end
  1329.  
  1330. recurse(game)
  1331. skybox(img)
  1332. end
  1333. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  1334. img = 'rbxassetid://' .. img
  1335. local function skybox(x)
  1336. local sky = Instance.new("Sky",game.Lighting)
  1337. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  1338. for i,v in pairs(fcs) do
  1339. sky["Skybox"..v]=x
  1340. end
  1341. end
  1342. local function particle(p, b)
  1343. local a = Instance.new("ParticleEmitter", p)
  1344. a.Rate = 500
  1345. a.Lifetime = NumberRange.new(20, 30)
  1346. a.VelocitySpread = 200
  1347. a.Texture = b
  1348. end
  1349.  
  1350. local function recurse(x)
  1351. for i, v in pairs(x:GetChildren()) do
  1352. pcall(function() -- 'error occured, no output from Lua' LOLE
  1353. if v:IsA("BasePart") then
  1354. particle(v, img)
  1355. end
  1356. if #(v:GetChildren())>0 then
  1357. recurse(v)
  1358. end
  1359. end)
  1360. end
  1361. end
  1362.  
  1363. recurse(game)
  1364. skybox(img)
  1365. end
  1366. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  1367. local function recurse(x)
  1368. for i, v in pairs(x:GetChildren()) do
  1369. pcall(function()
  1370. if v:IsA(type_) then
  1371. v[prop]=val
  1372. end
  1373. if #(v:GetChildren())>0 then
  1374. recurse(v)
  1375. end
  1376. end)
  1377. end
  1378. end
  1379. recurse(obj)
  1380. end
  1381. function topkek.tools.util.doPlayers(cval, func)
  1382. local plrs = {}
  1383. if cval == 'All' then
  1384. plrs = game:GetService('Players'):GetPlayers()
  1385. else
  1386. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  1387. end
  1388. for i, v in pairs(plrs) do
  1389. func(v)
  1390. end
  1391. end
  1392. function topkek.tools.util.scalePlayer(sc,plr)
  1393. local pchar = plr.Character
  1394. if pchar:FindFirstChild("UpperTorso") then
  1395. warn("Player [" ..plr.Name.. "] is R15.")
  1396. return
  1397. end
  1398. local function scale(chr,scl)
  1399.  
  1400. for _,v in pairs(pchar:GetChildren()) do
  1401. if v:IsA("Hat") then
  1402. v:Clone()
  1403. v.Parent = game.Lighting
  1404. end
  1405. end
  1406.  
  1407. local Head = chr['Head']
  1408. local Torso = chr['Torso']
  1409. local LA = chr['Left Arm']
  1410. local RA = chr['Right Arm']
  1411. local LL = chr['Left Leg']
  1412. local RL = chr['Right Leg']
  1413. local HRP = chr['HumanoidRootPart']
  1414.  
  1415. wait(0.1)
  1416.  
  1417. Head.formFactor = 3
  1418. Torso.formFactor = 3
  1419. LA.formFactor = 3
  1420. RA.formFactor = 3
  1421. LL.formFactor = 3
  1422. RL.formFactor = 3
  1423. HRP.formFactor = 3
  1424.  
  1425. Head.Size = Vector3.new(scl * 2, scl, scl)
  1426. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1427. LA.Size = Vector3.new(scl, scl * 2, scl)
  1428. RA.Size = Vector3.new(scl, scl * 2, scl)
  1429. LL.Size = Vector3.new(scl, scl * 2, scl)
  1430. RL.Size = Vector3.new(scl, scl * 2, scl)
  1431. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1432.  
  1433. local Motor1 = Instance.new('Motor6D', Torso)
  1434. Motor1.Part0 = Torso
  1435. Motor1.Part1 = Head
  1436. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1437. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1438. Motor1.Name = "Neck"
  1439.  
  1440. local Motor2 = Instance.new('Motor6D', Torso)
  1441. Motor2.Part0 = Torso
  1442. Motor2.Part1 = LA
  1443. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1444. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1445. Motor2.Name = "Left Shoulder"
  1446.  
  1447. local Motor3 = Instance.new('Motor6D', Torso)
  1448. Motor3.Part0 = Torso
  1449. Motor3.Part1 = RA
  1450. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1451. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1452. Motor3.Name = "Right Shoulder"
  1453.  
  1454. local Motor4 = Instance.new('Motor6D', Torso)
  1455. Motor4.Part0 = Torso
  1456. Motor4.Part1 = LL
  1457. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1458. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1459. Motor4.Name = "Left Hip"
  1460.  
  1461. local Motor5 = Instance.new('Motor6D', Torso)
  1462. Motor5.Part0 = Torso
  1463. Motor5.Part1 = RL
  1464. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1465. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1466. Motor5.Name = "Right Hip"
  1467.  
  1468. local Motor6 = Instance.new('Motor6D', HRP)
  1469. Motor6.Part0 = HRP
  1470. Motor6.Part1 = Torso
  1471. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1472. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1473.  
  1474. end
  1475.  
  1476. scale(pchar, sc)
  1477.  
  1478. for _,v in pairs(game.Lighting:GetChildren()) do
  1479. if v:IsA("Hat") then
  1480. v.Parent = pchar
  1481. end
  1482. end
  1483. end
  1484. function topkek.tools.util.applyFace(id)
  1485. local Char = topkek.lplr.Character
  1486. if(Char)then
  1487. local Type = id
  1488. local Meme=id
  1489. local BBG_SIZE=Char.Head.Size.X*1.25;
  1490. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1491. local STUD_VECTOR_2=Char.Head.Size.Z;
  1492. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1493. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1494. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1495. bbg.Adornee=Char.Head;
  1496. bbg.Name='BBGMEME';
  1497. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1498. img.BackgroundTransparency=1;
  1499. img.Image="rbxassetid://"..Meme;
  1500. img.Size=UDim2.new(1,0,1,0)
  1501. img.Name='Meme';
  1502. for i,v in next,Char:children()do
  1503. if(v.className=='Hat')then
  1504. v=v:FindFirstChild'Handle';
  1505. if(v)then
  1506. v.Transparency=0
  1507. end;
  1508. end;
  1509. end;
  1510. end;
  1511. end;
  1512. function topkek.tools.util.weenieHutJunior(plr)
  1513. plr=plr.Character
  1514. Shaft=Instance.new("Part", plr)
  1515. Shaft.Name='Shaft'
  1516. Shaft.Size=Vector3.new(1, 2.5, 1)
  1517. Shaft.TopSurface=0
  1518. Shaft.BottomSurface=0
  1519. Shaft.CanCollide=true
  1520. Cyln=Instance.new("CylinderMesh", Shaft)
  1521. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  1522. Instance.new("Weld", plr)
  1523. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  1524. plr.Weld.Part1=plr.Shaft
  1525. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  1526. Shaft.BrickColor=BrickColor.new("Pastel brown")
  1527. Tip=Instance.new("Part", plr)
  1528. Tip.Name='Tip'
  1529. Tip.TopSurface=0
  1530. Tip.BottomSurface=0
  1531. Tip.Size=Vector3.new(1, 1, 1)
  1532. Tip.CanCollide=true
  1533. Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  1534. Cyln2=Instance.new("SpecialMesh", Tip)
  1535. Cyln2.MeshType='Sphere'
  1536. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  1537. Instance.new("Weld", plr).Name='Weld2'
  1538. plr.Weld2.Part0=plr.Shaft
  1539. plr.Weld2.Part1=plr.Tip
  1540. plr.Weld2.C0=CFrame.new(0,-.9,0)
  1541. Tip.BrickColor=BrickColor.new("Pink")
  1542. -----
  1543. Ball1=Instance.new("Part", plr)
  1544. Ball1.Name='Ball1'
  1545. Ball1.Size=Vector3.new(1, 1, 1)
  1546. Ball1.TopSurface=0
  1547. Ball1.BottomSurface=0
  1548. Cyln3=Instance.new("SpecialMesh", Ball1)
  1549. Cyln3.MeshType='Sphere'
  1550. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1551. Instance.new("Weld", plr).Name='Weld3'
  1552. plr.Weld3.Part0=plr.Shaft
  1553. plr.Weld3.Part1=plr.Ball1
  1554. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  1555. Ball1.BrickColor=BrickColor.new("Pastel brown")
  1556. -----
  1557. Ball2=Instance.new("Part", plr)
  1558. Ball2.Name='Ball2'
  1559. Ball2.Size=Vector3.new(1, 1, 1)
  1560. Ball2.TopSurface=0
  1561. Ball2.BottomSurface=0
  1562. Cyln3=Instance.new("SpecialMesh", Ball2)
  1563. Cyln3.MeshType='Sphere'
  1564. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1565. Instance.new("Weld", plr).Name='Weld4'
  1566. plr.Weld4.Part0=plr.Shaft
  1567. plr.Weld4.Part1=plr.Ball2
  1568. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  1569. Ball2.BrickColor=BrickColor.new("Pastel brown")
  1570. end
  1571. --// banmgr //--
  1572. topkek.banmgr.isPrivate = false
  1573. topkek.banmgr.whitelist = {}
  1574. topkek.banmgr.bans = {}
  1575. function topkek.banmgr.executeKick(z)
  1576. local function doKick()
  1577. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1578. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1579. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1580. spawn(function()
  1581. repeat wait()
  1582. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1583. SP.Position = z.Character.HumanoidRootPart.Position
  1584. end
  1585. until not game:GetService('Players'):FindFirstChild(z.Name)
  1586. end)
  1587. z.Character.Torso.Anchored = true
  1588. end
  1589. end
  1590. repeat
  1591. doKick()
  1592. wait()
  1593. until not z
  1594. end
  1595. function topkek.banmgr.loadFromFile()
  1596. -- todo: read file
  1597. topkek.settings.get()
  1598. topkek.banmgr.bans = topkek.settingsTable['Bans']
  1599. end
  1600. function topkek.banmgr.addHardBan(p)
  1601. -- todo: write file
  1602. table.insert(topkek.banmgr.bans, p.Name)
  1603. topkek.settings.get()
  1604. table.insert(topkek.settingsTable['Bans'], p.Name)
  1605. topkek.settings.write()
  1606. print("Hardbanned " .. p.Name)
  1607. UpdateBanlist()
  1608. topkek.banmgr.executeKick(p)
  1609. topkek.banmgr.loadFromFile()
  1610. end
  1611. function topkek.banmgr.addSoftBan(p)
  1612. table.insert(topkek.banmgr.bans, p.Name)
  1613. topkek.banmgr.executeKick(p)
  1614. end
  1615. function topkek.banmgr.plrBanned(p)
  1616. for x, m in pairs(topkek.banmgr.bans) do
  1617. if m == p.Name then
  1618. return true
  1619. end
  1620. end
  1621. return false
  1622. end
  1623. function topkek.banmgr.doWhitelist(p)
  1624. print(p .. " whitelisted")
  1625. table.insert(topkek.banmgr.whitelist, p)
  1626. end
  1627. function topkek.banmgr.unwhitelist(p)
  1628. for x, m in pairs(topkek.banmgr.whitelist) do
  1629. if m == p then
  1630. print(m .. " unwhitelisted")
  1631. table.remove(topkek.banmgr.whitelist, x)
  1632. if game:GetService('Players'):FindFirstChild(p) then
  1633. topkek.banmgr.executeKick(game:GetService('Players')[p])
  1634. end
  1635. end
  1636. end
  1637. end
  1638. function topkek.banmgr.plrWhitelisted(p)
  1639. for x, m in pairs(topkek.banmgr.whitelist) do
  1640. if m == p.Name then
  1641. return true
  1642. end
  1643. end
  1644. return false
  1645. end
  1646. function topkek.banmgr.makePrivate()
  1647. topkek.banmgr.isPrivate = true
  1648. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1649. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1650. spawn(function()
  1651. topkek.banmgr.executeKick(v)
  1652. end)
  1653. end
  1654. end
  1655. end
  1656. function topkek.banmgr.unprivate()
  1657. topkek.banmgr.isPrivate = false
  1658. end
  1659. function topkek.banmgr.init()
  1660. topkek.banmgr.loadFromFile()
  1661. game:GetService('Players').PlayerAdded:connect(function(p)
  1662. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1663. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1664. topkek.banmgr.executeKick(p)
  1665. end
  1666. end)
  1667. end
  1668. --// settings //--
  1669. topkek.settings = {}
  1670. topkek.settingsTable = {}
  1671. function topkek.settings.write()
  1672. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1673. end
  1674. function topkek.settings.get()
  1675. if game.Players.LocalPlayer.Character then
  1676. print("No settings! Making new ...")
  1677. topkek.settingsTable = {
  1678. ['Bans'] = {
  1679.  
  1680. },
  1681. ['Themes'] = {
  1682. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1683. };
  1684. }
  1685. topkek.settings.write()
  1686. return topkek.settingsTable
  1687. else
  1688. local lset = game:GetService('HttpService'):JSONDecode(set)
  1689. topkek.settingsTable = lset
  1690. return lset
  1691. end
  1692. end
  1693. --// shortcuts //--
  1694. tk = {}
  1695. tk.ob = topkek.tools.util.Object
  1696. tk.dp = topkek.tools.util.doPlayers
  1697. tk.rcm = topkek.tools.util.recurseRemove
  1698. tk.rcs = topkek.tools.util.recurseSet
  1699. tk.rcf = topkek.tools.util.recurseFunc
  1700. tk.rco = topkek.tools.util.recurseSetObj
  1701. tk.play = topkek.tools.util.play
  1702. tk.gt = topkek.tools.util.getTorso
  1703. --// gui //--
  1704. -- copying this from topkek3.0 because i'm
  1705. -- too lazy to rewrite my lib
  1706. topkek.tools.gui.seperation = 12
  1707. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1708. topkek.tools.util.Object('ImageLabel', {
  1709. Parent = parent;
  1710. BackgroundTransparency = 1;
  1711. Position = UDim2.new(0, 2, 0, 2);
  1712. Size = UDim2.new(0, sz, 0, sz);
  1713. Image = img;
  1714. })
  1715. end
  1716. function topkek.tools.gui:makeContainer(n)
  1717. local temp = topkek.template:Clone()
  1718. temp.Name = n
  1719. temp.Parent = topkek.holder
  1720. temp.Container.Visible = false
  1721. end
  1722. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1723. if not o:IsA("ScrollingFrame") and (not ncan) then
  1724. return nil
  1725. elseif o:IsA("ScrollingFrame") then
  1726. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1727. end
  1728.  
  1729. local self = {}
  1730. self.main = o
  1731. self.drawX = 0
  1732. self.drawY = stt or topkek.tools.gui.seperation/2
  1733. self.drawHeight = 0
  1734. self.sepr = sepr or topkek.tools.gui.seperation
  1735.  
  1736. function self:drawButton(sz, txt, func, ysz, cbgd)
  1737. local xposOffset = 0
  1738. local xposScale = self.drawX
  1739. local xszOffset = 0
  1740. local xszScale = sz
  1741. if not (self.drawX == 0) then
  1742. xszOffset = -5
  1743. if sz + self.drawX > 0.998 then
  1744. xszOffset = -10
  1745. end
  1746. elseif sz == 1 then
  1747. local bzz = 4
  1748. if ncan then
  1749. bzz = 0
  1750. end
  1751. xszOffset = -(self.sepr) - bzz
  1752. xposOffset = self.sepr/2
  1753. else
  1754. xszOffset = -4 + -(self.sepr/2)
  1755. xposOffset = self.sepr/2
  1756. end
  1757. if not ysz then ysz = 20 end
  1758. local obj = topkek.tools.util.Object("TextButton", {
  1759. Parent = self.main;
  1760. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1761. BorderSizePixel = 0;
  1762. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1763. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1764. Font = 'SourceSans';
  1765. FontSize = 'Size14';
  1766. Text = txt;
  1767. TextSize = 14;
  1768. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1769. })
  1770. obj.MouseButton1Down:connect(function()
  1771. spawn(func)
  1772. end)
  1773. if ysz > self.drawHeight then
  1774. self.drawHeight = ysz
  1775. end
  1776. self.drawX = self.drawX + sz
  1777. if self.drawX > 0.998 then
  1778. self.drawY = self.drawY + 3 + self.drawHeight
  1779. self.drawX = 0
  1780. self.drawHeight = 0
  1781. if (not ncan) then
  1782. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1783. end
  1784. end
  1785. return obj
  1786. end
  1787.  
  1788. function self:GetChildren()
  1789. return self.main:GetChildren()
  1790. end
  1791.  
  1792. function self:getDrawY()
  1793. return self.drawY
  1794. end
  1795.  
  1796. function self:setDrawY(y)
  1797. self.drawY = y
  1798. end
  1799.  
  1800. function self:drawTextBox(sz, txt, ysz, cbgd)
  1801. local xposOffset = 0
  1802. local xposScale = self.drawX
  1803. local xszOffset = 0
  1804. local xszScale = sz
  1805. if not (self.drawX == 0) then
  1806. xszOffset = -5
  1807. if sz + self.drawX > 0.998 then
  1808. xszOffset = -10
  1809. end
  1810. elseif sz == 1 then
  1811. xszOffset = -(self.sepr) - 5
  1812. xposOffset = self.sepr/2
  1813. else
  1814. xszOffset = -4 + -(self.sepr/2)
  1815. xposOffset = self.sepr/2
  1816. end
  1817. if not ysz then ysz = 20 end
  1818. local obj = topkek.tools.util.Object("TextBox", {
  1819. Parent = self.main;
  1820. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1821. BorderSizePixel = 0;
  1822. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1823. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1824. Font = 'SourceSans';
  1825. FontSize = 'Size14';
  1826. Text = txt;
  1827. TextSize = 14;
  1828. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1829. })
  1830. if ysz > self.drawHeight then
  1831. self.drawHeight = ysz
  1832. end
  1833. self.drawX = self.drawX + sz
  1834. if self.drawX > 0.998 then
  1835. self.drawY = self.drawY + 3 + self.drawHeight
  1836. self.drawX = 0
  1837. self.drawHeight = 0
  1838. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1839. end
  1840. return obj
  1841. end
  1842.  
  1843. function self:drawImage(sz, img, ysz)
  1844. local xposOffset = 0
  1845. local xposScale = self.drawX
  1846. local xszOffset = 0
  1847. local xszScale = sz
  1848. if not (self.drawX == 0) then
  1849. xszOffset = -5
  1850. if sz + self.drawX > 0.998 then
  1851. xszOffset = -12
  1852. end
  1853. elseif sz == 1 then
  1854. xszOffset = -(self.sepr) - 5
  1855. xposOffset = self.sepr/2
  1856. else
  1857. xszOffset = -5 + -(self.sepr/2)
  1858. xposOffset = self.sepr/2
  1859. end
  1860. if not ysz then ysz = 20 end
  1861. local obj = topkek.tools.util.Object("ImageLabel", {
  1862. Parent = self.main;
  1863. BackgroundTransparency = 1;
  1864. BorderColor3 = Color3.new(27, 42, 53);
  1865. BorderSizePixel = 0;
  1866. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1867. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1868. Image = img;
  1869. })
  1870. if ysz > self.drawHeight then
  1871. self.drawHeight = ysz
  1872. end
  1873. self.drawX = self.drawX + sz
  1874. if self.drawX > 0.998 then
  1875. self.drawY = self.drawY + 3 + self.drawHeight
  1876. self.drawX = 0
  1877. self.drawHeight = 0
  1878. if (not ncan) then
  1879. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1880. end
  1881. end
  1882. return obj
  1883. end
  1884.  
  1885. function self:drawText(sz, txt, ysz)
  1886. local xposOffset = 0
  1887. local xposScale = self.drawX
  1888. local xszOffset = 0
  1889. local xszScale = sz
  1890. if not (self.drawX == 0) then
  1891. xszOffset = -5
  1892. if sz + self.drawX > 0.998 then
  1893. xszOffset = -10
  1894. end
  1895. elseif sz == 1 then
  1896. local bzz = 5
  1897. if ncan then
  1898. bzz = 0
  1899. end
  1900. xszOffset = -(self.sepr) - bzz
  1901. xposOffset = self.sepr/2
  1902. else
  1903. xszOffset = -4 + -(self.sepr/2)
  1904. xposOffset = self.sepr/2
  1905. end
  1906. if not ysz then ysz = 20 end
  1907. local obj = topkek.tools.util.Object("TextLabel", {
  1908. Parent = self.main;
  1909. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1910. BorderSizePixel = 0;
  1911. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1912. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1913. Font = 'SourceSans';
  1914. FontSize = 'Size14';
  1915. Text = txt;
  1916. TextSize = 14;
  1917. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1918.  
  1919. })
  1920. if ysz > self.drawHeight then
  1921. self.drawHeight = ysz
  1922. end
  1923. self.drawX = self.drawX + sz
  1924. if self.drawX > 0.998 then
  1925. self.drawY = self.drawY + 3 + self.drawHeight
  1926. self.drawX = 0
  1927. self.drawHeight = 0
  1928. if (not ncan) then
  1929. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1930. end
  1931. end
  1932. return obj
  1933. end
  1934.  
  1935.  
  1936. function self:drawScrollingContainer(ysz)
  1937. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1938. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1939. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1940. Parent = self.main;
  1941. BackgroundColor3 = color3(117, 42, 42);
  1942. BorderSizePixel = 0;
  1943. Position = pos;
  1944. Size = sz;
  1945. BottomImage = 'rbxassetid://368504177';
  1946. MidImage = 'rbxassetid://368504177';
  1947. TopImage = 'rbxassetid://368504177';
  1948. ScrollBarThickness = 5;
  1949. })
  1950.  
  1951. self.drawY = self.drawY + 5 + ysz
  1952. self.drawX = 0
  1953. self.drawHeight = 0
  1954. if (not ncan) then
  1955. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1956. end
  1957. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1958. end
  1959.  
  1960. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1961. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1962. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1963. local obj = topkek.tools.util.Object("Frame", {
  1964. Parent = self.main;
  1965. BackgroundColor3 = color3(117, 42, 42);
  1966. BorderSizePixel = 0;
  1967. Position = pos;
  1968. Size = sz;
  1969. })
  1970. if not xz then
  1971. self.drawY = self.drawY + 5 + ysz
  1972. end
  1973. self.drawX = 0
  1974. self.drawHeight = 0
  1975. if (not ncan) then
  1976. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1977. end
  1978. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1979. end
  1980.  
  1981. function self:addSpacing()
  1982. self.drawY = self.drawY + 3
  1983. end
  1984.  
  1985. function self:center()
  1986. local a,c,b=
  1987. self.main.Position.X.Scale,
  1988. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1989. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1990. end
  1991.  
  1992. return self
  1993. end
  1994.  
  1995. --//anim//--
  1996. topkek.tools.animator.animateTo = function(source, dest)
  1997. -- holder2holder:
  1998. -- invis holder
  1999. -- clone holder; vis
  2000. -- move holder to right
  2001. -- vis dest container
  2002. -- tween clone holder left
  2003. -- tween dest holder right
  2004. print("nav",source,dest)
  2005. topkek.holder.Visible = false
  2006. local hclone = topkek.holder:Clone()
  2007. hclone.Parent = topkek.center
  2008. hclone.Name = 'animclone'
  2009. hclone.Visible = true
  2010. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  2011. source.Visible = false
  2012. dest.Visible = true
  2013. dest.Container.Visible = true
  2014. dest.Container.ZIndex = 1
  2015. dest.ZIndex = 1
  2016. topkek.holder.Visible = true
  2017. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  2018. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  2019. wait(0.3)
  2020. end
  2021. topkek.tools.animator.initialAnimation = function()
  2022. -- initanim:
  2023. -- join both composites
  2024. -- delete composites; vis solid
  2025. -- tween solid to nav topbar
  2026. -- copy topbar plrname; move outside region
  2027. -- tween in clone topbar
  2028. -- delete clone and solid; vis topbar
  2029. -- tween down topbar
  2030. -- tween holder out
  2031. local function abspos(x)
  2032. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  2033. end
  2034. local function abssz(x)
  2035. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  2036. end
  2037. local holder = topkek.holder
  2038. local nav = topkek.navigator
  2039. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  2040. local topbar = topkek.topbar
  2041. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  2042. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  2043. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  2044. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  2045. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  2046. wait(0.52)
  2047. solid.Visible = true
  2048. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  2049. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  2050. wait(3)
  2051. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  2052. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  2053. wait(0.52)
  2054. solid.Label:Destroy()
  2055. wait(0.12)
  2056. topkek.center.Visible = true
  2057. topnav.Visible = true
  2058. solid:Destroy()
  2059. pname.Position = UDim2.new(0, -170, 0, 0)
  2060. pname.Parent = topnav
  2061. pname.Visible = true
  2062. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  2063. wait(0.25)
  2064. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  2065. spawn(topkek.navigation.buildNavigator)
  2066. wait(0.35)
  2067. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  2068. wait(0.35)
  2069. topbar.PlayerName.Visible = true
  2070. pname:Destroy()
  2071. AllowHovers = true
  2072. end
  2073. --//nav//--
  2074. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  2075. topkek.navigation.windowState = 0
  2076. topkek.navigation.gotoContainer = function(cont)
  2077. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  2078. topkek.navigation.currentContainer = cont
  2079. end
  2080. topkek.navigation.buildNavigator = function()
  2081. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  2082. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  2083. local btns = {}
  2084. for l, x in pairs(topkek.data.windows) do
  2085. local container = topkek.tools.util.getContainer(x)
  2086. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  2087. local ZPos = btn.Position
  2088. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  2089. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  2090. btn.LayoutOrder = l
  2091. btn.ZIndex = 4
  2092. local OPos = btn.Position
  2093. btn.MouseEnter:connect(function()
  2094. if AllowHovers == false then
  2095. return
  2096. end
  2097. for i, v in pairs(btns) do
  2098. if v[1] ~= btn then
  2099. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  2100. end
  2101. end
  2102. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  2103. end)
  2104. btn.MouseLeave:connect(function()
  2105. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  2106. end)
  2107. table.insert(btns, {btn, OPos})
  2108. wait()
  2109. end
  2110. end
  2111. topkek.navigation.buildTopbar = function()
  2112. local top = topkek.topbar
  2113. local FELabel = top.Controllers.IsFE
  2114. top.PlayerName.Text = topkek.lplr.Name
  2115. if game:GetService('Workspace').FilteringEnabled == true then
  2116. FELabel.Text = "FE Game"
  2117. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  2118. else
  2119. FELabel.Text = "Not FE"
  2120. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  2121. end
  2122. top.Controllers.Hide.MouseButton1Down:connect(function()
  2123. if topkek.navigation.windowState == 0 then
  2124. topkek.navigation.windowState = 1
  2125. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  2126. else
  2127. topkek.navigation.windowState = 0
  2128. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  2129. end
  2130. end)
  2131. top.Controllers.Exit.MouseButton1Down:connect(function()
  2132. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  2133. wait(0.31)
  2134. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  2135. PlayerChatHook:disconnect()
  2136. end)
  2137.  
  2138. end
  2139. topkek.navigation.initCommandBar = function()
  2140. DistributedCmdBar, cmd = topkek.holder.Command, {}
  2141. --weathered-down version of my cmdscript for topkek
  2142. cmd = {}
  2143.  
  2144. -- ** defines ** --
  2145. cmd.service = (function(a) return game:service(a) end)
  2146. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  2147. cmd.players = cmd.service('Players')
  2148. cmd.localplayer = cmd.players.LocalPlayer
  2149.  
  2150. cmd.prefix = ';'
  2151. cmd.hidden = '/'
  2152.  
  2153. cmd.commands = {}
  2154. cmd.util = {}
  2155. cmd.interface = {}
  2156.  
  2157. cmd.admins = {}
  2158. cmd.noclip = false
  2159.  
  2160. -- ** util ** --
  2161. cmd.util.pos = function(str, pos)
  2162. local increment = 1
  2163. for spc in str:gmatch("[^ ]+") do
  2164. if increment == pos then
  2165. return spc
  2166. end
  2167. increment = increment + 1
  2168. end
  2169. return ''
  2170. end
  2171. cmd.util.pstr = function(str, re_enc)
  2172. str = string.lower(str)
  2173. local players = {}
  2174. if re_enc == true then
  2175. if str == 'me' then
  2176. return {game.Players.LocalPlayer}
  2177. end
  2178. if str == 'all' then
  2179. return game.Players:GetPlayers()
  2180. end
  2181. if str == 'others' then
  2182. for i, v in pairs(game.Players:GetPlayers()) do
  2183. if v ~= cmd.localplayer then
  2184. table.insert(players, v)
  2185. end
  2186. end
  2187. end
  2188. for i, v in pairs(game.Players:GetPlayers()) do
  2189. if string.lower(v.Name):sub(1, #str) == str then
  2190. table.insert(players, v)
  2191. end
  2192. end
  2193. return players
  2194. else
  2195. for seper in str:gmatch("[^,]+") do
  2196. for i, v in pairs(cmd.util.pstr(seper, true)) do
  2197. table.insert(players, v)
  2198. end
  2199. end
  2200. return players
  2201. end
  2202. end
  2203. cmd.util.parse = function(str, fmt)
  2204. local args = {}
  2205. local encountered = 0
  2206. local position = 1
  2207. for form in fmt:gmatch("[^%%]+") do
  2208. if position == 1 then
  2209. args['command'] = cmd.util.pos(str, position)
  2210. end
  2211. if form == 'inf' then
  2212. args[position] = str:sub(encountered, #str)
  2213. end
  2214. if form == 'int' then
  2215. local fetch = cmd.util.pos(str, position)
  2216. if tonumber(fetch) == nil then
  2217. return nil
  2218. end
  2219. args[position] = {'integer', data = fetch}
  2220. end
  2221. if form == 'str' then
  2222. local fetch = cmd.util.pos(str, position)
  2223. args[position] = {'string', data = fetch}
  2224. end
  2225. if form == 'plrs' then
  2226. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  2227. end
  2228. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  2229. position = position + 1
  2230. end
  2231. return args
  2232. end
  2233. cmd.util.isadmin = function(p)
  2234. if p == cmd.localplayer.Name then
  2235. return true
  2236. else
  2237. for i, v in pairs(cmd.admins) do
  2238. if v == p.Name then
  2239. return true
  2240. end
  2241. end
  2242. return false
  2243. end
  2244. end
  2245. cmd.util.BombVest = function(Players)
  2246. -- modified by nosyliam
  2247. local TickWait = 1
  2248. local Dead = false
  2249. local BeltPositions = { }
  2250. local ExplodeSounds = { }
  2251.  
  2252. for ___, player in pairs(Players) do
  2253. pcall(function()
  2254. local Me = player
  2255. local Char = Me.Character
  2256. local Torso = Char.Torso
  2257. local Color = "Medium stone gray"
  2258. local Dead = false
  2259.  
  2260.  
  2261. local Position = Vector3.new(0,100,0)
  2262. local function NewPart(Parent)
  2263. local Part = Instance.new("Part", Parent)
  2264. Part.CanCollide = false
  2265. Part.FormFactor = "Custom"
  2266. Part.Position = Position
  2267. Part.TopSurface = "Smooth"
  2268. Part.BottomSurface = "Smooth"
  2269. Part.BrickColor = BrickColor.new(Color)
  2270. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  2271. return Part
  2272. end
  2273.  
  2274. local Model = Char:FindFirstChild("Bomb")
  2275. if Model then Model:Destroy() end
  2276.  
  2277. Model = Instance.new("Model", Char)
  2278. Model.Name = "Bomb"
  2279.  
  2280. local Belt = NewPart(Model)
  2281. Belt.Size = Vector3.new(2.2,0.5,1.2)
  2282. table.insert(BeltPositions, Belt)
  2283. local Weld = Instance.new("Weld", Belt)
  2284. Weld.Part0 = Belt
  2285. Weld.Part1 = Torso
  2286. Weld.C0 = CFrame.new(0,1.1,0)
  2287. local Light = Instance.new("PointLight", Belt)
  2288. Light.Range = 15
  2289. Light.Brightness = 5
  2290. Light.Color = Color3.new(1,0,0)
  2291. local Beep = Instance.new("Sound", Belt)
  2292. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  2293. local ExplodeSound = Instance.new("Sound", Belt)
  2294. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  2295. ExplodeSound.Pitch = 2.8
  2296. ExplodeSound.Volume = 3
  2297. table.insert(ExplodeSounds, ExplodeSound)
  2298.  
  2299. local Back = NewPart(Model)
  2300. Back.Size = Vector3.new(1.5,1.5,0.5)
  2301. local Weld = Instance.new("Weld", Back)
  2302. Weld.Part0 = Back
  2303. Weld.Part1 = Torso
  2304. Weld.C0 = CFrame.new(0,0.1,-0.75)
  2305.  
  2306. local StrapLeft = NewPart(Model)
  2307. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  2308. local Weld = Instance.new("Weld", StrapLeft)
  2309. Weld.Part0 = StrapLeft
  2310. Weld.Part1 = Torso
  2311. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  2312.  
  2313. local BuckleLeft = NewPart(Model)
  2314. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  2315. local Weld = Instance.new("Weld", BuckleLeft)
  2316. Weld.Part0 = BuckleLeft
  2317. Weld.Part1 = Torso
  2318. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  2319.  
  2320. local StrapRight = NewPart(Model)
  2321. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  2322. local Weld = Instance.new("Weld", StrapRight)
  2323. Weld.Part0 = StrapRight
  2324. Weld.Part1 = Torso
  2325. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  2326.  
  2327. local BuckleRight = NewPart(Model)
  2328. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  2329. local Weld = Instance.new("Weld", BuckleRight)
  2330. Weld.Part0 = BuckleRight
  2331. Weld.Part1 = Torso
  2332. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  2333.  
  2334.  
  2335. coroutine.wrap(function()
  2336. repeat
  2337. wait(TickWait)
  2338. Light.Enabled = not Light.Enabled
  2339. Beep:Play()
  2340. until Dead == true
  2341. end)()
  2342. end)
  2343. end
  2344.  
  2345. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  2346. Tool.Name = "Bomb Vest"
  2347.  
  2348. Tool.Selected:connect(function(Mouse)
  2349. TickWait = 0.3
  2350. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  2351.  
  2352. Mouse.Button1Down:connect(function()
  2353. if Dead == false then
  2354. Dead = true
  2355. for i, Belt in pairs(BeltPositions) do
  2356. coroutine.wrap(function()
  2357. pcall(function() ExplodeSounds[i]:Play() end)
  2358. wait(1.4)
  2359. local Explosion = Instance.new("Explosion", workspace)
  2360. Explosion.Position = Belt.Position
  2361. Explosion.BlastPressure = 100000
  2362. Explosion.DestroyJointRadiusPercent = 0.7
  2363. Explosion.ExplosionType = "CratersAndDebris"
  2364. Explosion.BlastRadius = 50
  2365. Explosion.Hit:connect(function(Part, Distance)
  2366. Part.Anchored = false
  2367. if Distance <= 10 then
  2368. Part:BreakJoints()
  2369. end
  2370. end)
  2371. end)()
  2372. end
  2373. end
  2374. end)
  2375. end)
  2376.  
  2377. Tool.Deselected:connect(function()
  2378. TickWait = 1
  2379. end)
  2380. end
  2381. cmd.util.hulk = function(p)
  2382. function giant(p, size)
  2383. local pchar = p.Character
  2384. if pchar then
  2385. local function scale(chr,scl)
  2386.  
  2387. for _,v in pairs(pchar:GetChildren()) do
  2388. if v:IsA("Hat") then
  2389. v:Clone()
  2390. v.Parent = game.Lighting
  2391. end
  2392. end
  2393.  
  2394. local Head = chr['Head']
  2395. local Torso = chr['Torso']
  2396. local LA = chr['Left Arm']
  2397. local RA = chr['Right Arm']
  2398. local LL = chr['Left Leg']
  2399. local RL = chr['Right Leg']
  2400. local HRP = chr['HumanoidRootPart']
  2401.  
  2402. wait(0.1)
  2403.  
  2404. Head.formFactor = 3
  2405. Torso.formFactor = 3
  2406. LA.formFactor = 3
  2407. RA.formFactor = 3
  2408. LL.formFactor = 3
  2409. RL.formFactor = 3
  2410. HRP.formFactor = 3
  2411.  
  2412. Head.Size = Vector3.new(scl * 2, scl, scl)
  2413. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2414. LA.Size = Vector3.new(scl, scl * 2, scl)
  2415. RA.Size = Vector3.new(scl, scl * 2, scl)
  2416. LL.Size = Vector3.new(scl, scl * 2, scl)
  2417. RL.Size = Vector3.new(scl, scl * 2, scl)
  2418. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2419.  
  2420. local Motor1 = Instance.new('Motor6D', Torso)
  2421. Motor1.Part0 = Torso
  2422. Motor1.Part1 = Head
  2423. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2424. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2425. Motor1.Name = "Neck"
  2426.  
  2427. local Motor2 = Instance.new('Motor6D', Torso)
  2428. Motor2.Part0 = Torso
  2429. Motor2.Part1 = LA
  2430. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2431. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2432. Motor2.Name = "Left Shoulder"
  2433.  
  2434. local Motor3 = Instance.new('Motor6D', Torso)
  2435. Motor3.Part0 = Torso
  2436. Motor3.Part1 = RA
  2437. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2438. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2439. Motor3.Name = "Right Shoulder"
  2440.  
  2441. local Motor4 = Instance.new('Motor6D', Torso)
  2442. Motor4.Part0 = Torso
  2443. Motor4.Part1 = LL
  2444. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2445. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2446. Motor4.Name = "Left Hip"
  2447.  
  2448. local Motor5 = Instance.new('Motor6D', Torso)
  2449. Motor5.Part0 = Torso
  2450. Motor5.Part1 = RL
  2451. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2452. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2453. Motor5.Name = "Right Hip"
  2454.  
  2455. local Motor6 = Instance.new('Motor6D', HRP)
  2456. Motor6.Part0 = HRP
  2457. Motor6.Part1 = Torso
  2458. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2459. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2460.  
  2461. end
  2462.  
  2463. scale(pchar, size)
  2464. pchar.Humanoid.WalkSpeed = 15 * size
  2465.  
  2466. for _,v in pairs(game.Lighting:GetChildren()) do
  2467. if v:IsA("Hat") then
  2468. v.Parent = pchar
  2469. end
  2470. end
  2471. end
  2472. end
  2473.  
  2474. local plr = p
  2475. giant(plr, 3)
  2476. for i, v in pairs(plr.Character:GetChildren()) do
  2477. if v:IsA("BasePart") then
  2478. v.Touched:connect(function(p)
  2479. if p.Size.X<30 then
  2480. p.Anchored = false
  2481. p:BreakJoints()
  2482. end
  2483. end)
  2484. end
  2485. end
  2486.  
  2487. local csize = 3
  2488.  
  2489. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2490. local base = Instance.new("Frame", sgui)
  2491. base.BackgroundTransparency = 1
  2492. base.Size = UDim2.new(0, 110, 0, 200)
  2493. base.Position = UDim2.new(1, -120, 1, -180)
  2494. local indicator = Instance.new("TextLabel", base)
  2495. indicator.Size = UDim2.new(1, 0, 0, 25)
  2496. indicator.TextColor3 = Color3.new(1, 1, 1)
  2497. indicator.BackgroundTransparency = 0
  2498. indicator.FontSize = Enum.FontSize.Size18
  2499. indicator.Font = Enum.Font.SourceSans
  2500. indicator.Text = "Current Size: 3"
  2501. local PlusOne = Instance.new("TextButton", base)
  2502. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2503. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2504. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2505. PlusOne.BorderSizePixel = 2
  2506. PlusOne.Font = Enum.Font.SourceSansBold
  2507. PlusOne.FontSize = Enum.FontSize.Size24
  2508. PlusOne.Text = "+1 Size"
  2509. local MinusOne = Instance.new("TextButton", base)
  2510. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2511. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2512. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2513. MinusOne.Text = "-1 Size"
  2514. MinusOne.BorderSizePixel = 2
  2515. MinusOne.Font = Enum.Font.SourceSansBold
  2516. MinusOne.FontSize = Enum.FontSize.Size24
  2517.  
  2518. PlusOne.MouseButton1Down:connect(function()
  2519. csize = csize + 1
  2520. giant(plr, csize)
  2521. indicator.Text = "Current Size: "..tostring(csize)
  2522. end)
  2523.  
  2524. MinusOne.MouseButton1Down:connect(function()
  2525. csize = csize - 1
  2526. giant(plr, csize)
  2527. indicator.Text = "Current Size: "..tostring(csize)
  2528. end)
  2529. end
  2530. cmd.util.R15 = function()
  2531. rcode=[[local function Init()
  2532. wait()
  2533. local function ConChar(P)
  2534. Character = P.Character
  2535.  
  2536. local R15Model = Instance.new("Model")
  2537. R15Model.Name = "R15Model"
  2538. R15Model.Parent = Character
  2539.  
  2540. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2541. local Part = Instance.new("Part")
  2542. Part.FormFactor = "Custom"
  2543. Part.Size = Size
  2544. Part.BrickColor = Color
  2545. Part.CanCollide = false
  2546. Part.Name = Name
  2547. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2548. Part.TopSurface = "Smooth"
  2549. Part.BottomSurface = "Smooth"
  2550.  
  2551. local Motor = Instance.new("Motor6D")
  2552. Motor.C0 = C0
  2553. Motor.C1 = C1
  2554. Motor.Part0 = ConnectToLimb
  2555. Motor.Part1 = Part
  2556. Motor.Name = MotorName
  2557. Motor.MaxVelocity = 0.1
  2558. Motor.Parent = ConnectToLimb
  2559.  
  2560. if MeshId then
  2561. local Mesh = Instance.new("SpecialMesh")
  2562. Mesh.MeshType = "FileMesh"
  2563. Mesh.MeshId = MeshId
  2564. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2565. Mesh.Parent = Part
  2566. end
  2567.  
  2568. if MeshId and Transparency == 0.001 then
  2569. local ShirtTexturePart = Instance.new("Part")
  2570. ShirtTexturePart.FormFactor = "Custom"
  2571. ShirtTexturePart.Size = Size
  2572. ShirtTexturePart.BrickColor = Color
  2573. ShirtTexturePart.CanCollide = false
  2574. ShirtTexturePart.Name = "ShirtTexturePart"
  2575. ShirtTexturePart.Transparency = Transparency
  2576. ShirtTexturePart.TopSurface = "Smooth"
  2577. ShirtTexturePart.BottomSurface = "Smooth"
  2578.  
  2579. local Mesh = Instance.new("SpecialMesh")
  2580. Mesh.MeshType = "FileMesh"
  2581. Mesh.MeshId = MeshId
  2582. Mesh.Parent = ShirtTexturePart
  2583.  
  2584. local Weld = Instance.new("Weld")
  2585. Weld.Part0 = Part
  2586. Weld.Part1 = ShirtTexturePart
  2587. Weld.Parent = ShirtTexturePart
  2588.  
  2589. ShirtTexturePart.Parent = Part
  2590. end
  2591. Part.Parent = R15Model
  2592. return Part
  2593. end
  2594.  
  2595.  
  2596. local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
  2597. local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
  2598. local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
  2599. local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
  2600. local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
  2601. local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
  2602. local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
  2603. local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
  2604. local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
  2605. local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
  2606. local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
  2607. local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
  2608. local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
  2609. local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
  2610. local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
  2611. local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
  2612.  
  2613. --if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
  2614. -- Head.MeshId = Character.Head.Mesh.MeshId
  2615. --end
  2616.  
  2617. Character:WaitForChild("Animate").Disabled = false
  2618. local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
  2619. for i, v in pairs(Anim:GetChildren()) do
  2620. v.Parent = script
  2621. end
  2622. script.Parent = Character
  2623.  
  2624. local function Clear(Name,Alternative,ColorParts)
  2625. local Part = Character:WaitForChild(Name)
  2626. Part.Transparency = (Name == "Head" and 0.99 or 1)
  2627. local function ChildAdded(Ins)
  2628. delay(0.05,function()
  2629. if Ins.Name == "face" then
  2630. if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
  2631. Ins.Parent = Alternative
  2632. elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
  2633. Ins.Name = "Fake_"..Ins.Name
  2634. elseif Ins.Name == "HeadWeld" then
  2635. delay(0.05,function()
  2636. Ins.Parent = Head
  2637. Ins.Part0 = Head
  2638. Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
  2639. end)
  2640. elseif not Ins:IsA("Weld") then
  2641. Ins:Destroy()
  2642. end
  2643. end)
  2644. end
  2645. for _,Sub in pairs(Part:GetChildren()) do
  2646. ChildAdded(Sub)
  2647. end
  2648. Part.ChildAdded:connect(ChildAdded)
  2649.  
  2650. local function Color()
  2651. for _,Sub in pairs(ColorParts) do
  2652. Sub.BrickColor = Part.BrickColor
  2653. local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
  2654. if TexturePart then
  2655. TexturePart.BrickColor = Part.BrickColor
  2656. end
  2657. end
  2658. end
  2659. Color()
  2660. Part.Changed:connect(Color)
  2661. end
  2662.  
  2663. Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
  2664. Clear("Head",Head,{Head})
  2665. Clear("Torso",nil,{LowerTorso,UpperTorso})
  2666. Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
  2667. Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
  2668. Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
  2669. Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
  2670.  
  2671. local ShirtUsed = false
  2672. local function ChildAdded(Ins)
  2673. if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
  2674. delay(0.05,function()
  2675. local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
  2676. Ins.AttachmentPos = Ins.AttachmentPos
  2677. Mesh.Scale = Mesh.Scale
  2678. Ins.Name = "Scaled_"..Ins.Name
  2679. end)
  2680. elseif Ins:IsA("Shirt") then
  2681. ShirtUsed = true
  2682. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2683. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2684. LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2685. LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2686. LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2687. RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2688. RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2689. RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
  2690. elseif Ins:IsA("Pants") then
  2691. LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2692. LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2693. LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2694. RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2695. RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2696. RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2697. if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
  2698. LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2699. UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
  2700. end
  2701. end
  2702. end
  2703.  
  2704. for _,Sub in pairs(Character:GetChildren()) do
  2705. ChildAdded(Sub)
  2706. end
  2707. Character.ChildAdded:connect(ChildAdded)
  2708. loadstring(Anim.Source)()
  2709. end
  2710. ConChar(game:service'Players'.LocalPlayer)
  2711. end
  2712.  
  2713. Init()]]
  2714. spawn(function() loadstring(rcode)() end)
  2715. end
  2716. cmd.util.size = function(p, size)
  2717. -- omfg thanks var
  2718. local pchar = p.Character
  2719. local function scale(chr,scl)
  2720.  
  2721. for _,v in pairs(pchar:GetChildren()) do
  2722. if v:IsA("Hat") then
  2723. v:Clone()
  2724. v.Parent = game.Lighting
  2725. end
  2726. end
  2727.  
  2728. local Head = chr['Head']
  2729. local Torso = chr['Torso']
  2730. local LA = chr['Left Arm']
  2731. local RA = chr['Right Arm']
  2732. local LL = chr['Left Leg']
  2733. local RL = chr['Right Leg']
  2734. local HRP = chr['HumanoidRootPart']
  2735.  
  2736. wait(0.1)
  2737.  
  2738. Head.formFactor = 3
  2739. Torso.formFactor = 3
  2740. LA.formFactor = 3
  2741. RA.formFactor = 3
  2742. LL.formFactor = 3
  2743. RL.formFactor = 3
  2744. HRP.formFactor = 3
  2745.  
  2746. Head.Size = Vector3.new(scl * 2, scl, scl)
  2747. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  2748. LA.Size = Vector3.new(scl, scl * 2, scl)
  2749. RA.Size = Vector3.new(scl, scl * 2, scl)
  2750. LL.Size = Vector3.new(scl, scl * 2, scl)
  2751. RL.Size = Vector3.new(scl, scl * 2, scl)
  2752. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  2753.  
  2754. local Motor1 = Instance.new('Motor6D', Torso)
  2755. Motor1.Part0 = Torso
  2756. Motor1.Part1 = Head
  2757. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2758. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2759. Motor1.Name = "Neck"
  2760.  
  2761. local Motor2 = Instance.new('Motor6D', Torso)
  2762. Motor2.Part0 = Torso
  2763. Motor2.Part1 = LA
  2764. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2765. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2766. Motor2.Name = "Left Shoulder"
  2767.  
  2768. local Motor3 = Instance.new('Motor6D', Torso)
  2769. Motor3.Part0 = Torso
  2770. Motor3.Part1 = RA
  2771. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2772. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2773. Motor3.Name = "Right Shoulder"
  2774.  
  2775. local Motor4 = Instance.new('Motor6D', Torso)
  2776. Motor4.Part0 = Torso
  2777. Motor4.Part1 = LL
  2778. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2779. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2780. Motor4.Name = "Left Hip"
  2781.  
  2782. local Motor5 = Instance.new('Motor6D', Torso)
  2783. Motor5.Part0 = Torso
  2784. Motor5.Part1 = RL
  2785. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2786. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2787. Motor5.Name = "Right Hip"
  2788.  
  2789. local Motor6 = Instance.new('Motor6D', HRP)
  2790. Motor6.Part0 = HRP
  2791. Motor6.Part1 = Torso
  2792. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2793. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2794.  
  2795. end
  2796.  
  2797. scale(pchar, size)
  2798.  
  2799. for _,v in pairs(game.Lighting:GetChildren()) do
  2800. if v:IsA("Hat") then
  2801. v.Parent = pchar
  2802. end
  2803. end
  2804. end
  2805. cmd.util.checktable = function(t, v)
  2806. for i, __ in pairs(t) do
  2807. if __ == v then
  2808. return true
  2809. end
  2810. end
  2811. return false
  2812. end
  2813. cmd.util.nextrgb = function(r, g, b)
  2814. local ar, ag, ab = r, g, b
  2815. if r == 255 and g < 255 and b == 0 then
  2816. ag = g + 8.5
  2817. end
  2818. if g == 255 and r > 0 and b == 0 then
  2819. ar = r - 8.5
  2820. end
  2821. if g == 255 and b < 255 and r == 0 then
  2822. ab = b + 8.5
  2823. end
  2824. if b == 255 and g > 0 and r == 0 then
  2825. ag = g - 8.5
  2826. end
  2827. if b == 255 and r < 255 and g == 0 then
  2828. ar = r + 8.5
  2829. end
  2830. if r == 255 and b > 0 and g == 0 then
  2831. ab = b - 8.5
  2832. end
  2833. return {ar, ag, ab}
  2834. end
  2835. -- ** interface ** --
  2836. game:GetService('UserInputService').InputBegan:connect(function(inp)
  2837. if inp.UserInputType == Enum.UserInputType.Keyboard then
  2838. if inp.KeyCode == Enum.KeyCode.Semicolon then
  2839. DistributedCmdBar:CaptureFocus()
  2840. end
  2841. end
  2842. end)
  2843.  
  2844. -- ** commands ** --
  2845. cmd.commands.store = {}
  2846. cmd.commands.fmtstore = {}
  2847.  
  2848. cmd.commands.register = function(cmdz, fmt, func)
  2849. cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
  2850. cmd.commands.fmtstore[cmdz] = fmt
  2851. end
  2852.  
  2853. cmd.commands.run = function(str)
  2854. local cmdz = cmd.util.pos(str, 1)
  2855. if not cmd.commands.store[cmdz] then
  2856. return nil
  2857. else
  2858. cmd.commands.store[cmdz](str)
  2859. end
  2860. end
  2861.  
  2862. -- // actual commands // --
  2863.  
  2864. cmd.commands.register('kill', 'cmd%plrs', function(args)
  2865. for i, v in pairs(args[2]) do
  2866. v.Character.Humanoid.Health = 0
  2867. end
  2868. end)
  2869.  
  2870. cmd.commands.register('clone', 'cmd%plrs', function(args)
  2871. for i, v in pairs(args[2]) do
  2872. v.Character.Archivable = true
  2873. local clone = v.Character:Clone()
  2874. clone.Parent = game.Workspace
  2875. clone:MoveTo(v.Character.Torso.Position)
  2876. end
  2877. end)
  2878.  
  2879. cmd.commands.register('damage', 'cmd%plrs%int', function(args)
  2880. for i, v in pairs(args[2]) do
  2881. v.Character.Humanoid:TakeDamage(args[3].data)
  2882. end
  2883. end)
  2884.  
  2885. cmd.commands.register('freeze', 'cmd%plrs', function(args)
  2886. for i, v in pairs(args[2]) do
  2887. v.Character.Torso.Anchored = true
  2888. end
  2889. end)
  2890.  
  2891. cmd.commands.register('thaw', 'cmd%plrs', function(args)
  2892. for i, v in pairs(args[2]) do
  2893. v.Character.Torso.Anchored = false
  2894. end
  2895. end)
  2896. Fly = false;
  2897. cmd.commands.register('fly', 'cmd', function(args)
  2898. if Fly == true then
  2899. Fly = false
  2900. return
  2901. end
  2902. Fly = true
  2903. local mouse=game.Players.LocalPlayer:GetMouse''
  2904. localplayer=game.Players.LocalPlayer
  2905. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2906. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  2907. local speed=0
  2908. local keys={a=false,d=false,w=false,s=false}
  2909. local e1
  2910. local e2
  2911. local function start()
  2912. local pos = Instance.new("BodyPosition",torso)
  2913. local gyro = Instance.new("BodyGyro",torso)
  2914. pos.Name="EPIXPOS"
  2915. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2916. pos.position = torso.Position
  2917. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2918. gyro.cframe = torso.CFrame
  2919. repeat
  2920. wait()
  2921. localplayer.Character.Humanoid.PlatformStand=true
  2922. local new=gyro.cframe - gyro.cframe.p + pos.position
  2923. if not keys.w and not keys.s and not keys.a and not keys.d then
  2924. speed=1
  2925. end
  2926. if keys.w then
  2927. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2928. speed=speed+0.01
  2929. end
  2930. if keys.s then
  2931. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  2932. speed=speed+0.01
  2933. end
  2934. if keys.d then
  2935. new = new * CFrame.new(speed,0,0)
  2936. speed=speed+0.01
  2937. end
  2938. if keys.a then
  2939. new = new * CFrame.new(-speed,0,0)
  2940. speed=speed+0.01
  2941. end
  2942. if speed>5 then
  2943. speed=5
  2944. end
  2945. pos.position=new.p
  2946. if keys.w then
  2947. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  2948. elseif keys.s then
  2949. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  2950. else
  2951. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  2952. end
  2953. until not Fly
  2954. if gyro then gyro:Destroy() end
  2955. if pos then pos:Destroy() end
  2956. flying=false
  2957. localplayer.Character.Humanoid.PlatformStand=false
  2958. speed=0
  2959. end
  2960. e1=mouse.KeyDown:connect(function(key)
  2961. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  2962. if key=="w" then
  2963. keys.w=true
  2964. elseif key=="s" then
  2965. keys.s=true
  2966. elseif key=="a" then
  2967. keys.a=true
  2968. elseif key=="d" then
  2969. keys.d=true
  2970. end
  2971. end)
  2972. e2=mouse.KeyUp:connect(function(key)
  2973. if key=="w" then
  2974. keys.w=false
  2975. elseif key=="s" then
  2976. keys.s=false
  2977. elseif key=="a" then
  2978. keys.a=false
  2979. elseif key=="d" then
  2980. keys.d=false
  2981. end
  2982. end)
  2983. start()
  2984. end)
  2985. cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
  2986. local players = args[2]
  2987. local target = args[3][1]
  2988. for i, player in pairs(args[2]) do
  2989. player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  2990. end
  2991. end)
  2992.  
  2993. cmd.commands.register('naked', 'cmd%plrs', function(args)
  2994. for i, v in pairs(args[2]) do
  2995. v:ClearCharacterAppearance()
  2996. end
  2997. end)
  2998. cmd.commands.register('sgod', 'cmd%plrs', function(args)
  2999. for i, v in pairs(args[2]) do
  3000. v.Character.Humanoid.MaxHealth = 999999999
  3001. v.Character.Humanoid.Health = 999999999
  3002. end
  3003. end)
  3004.  
  3005. cmd.commands.register('ws', 'cmd%plrs%int', function(args)
  3006. for i, v in pairs(args[2]) do
  3007. v.Character.Humanoid.WalkSpeed = args[3].data
  3008. end
  3009. end)
  3010.  
  3011. cmd.commands.register('lag', 'cmd%plrs', function(args)
  3012. for i, v in pairs(args[2]) do
  3013. coroutine.wrap(function()
  3014. for i = 1, 200 do
  3015. ypcall(function()
  3016. coroutine.wrap(function()
  3017. for i = 1, 1000 do
  3018. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  3019. end
  3020. end)()
  3021. end)
  3022. wait()
  3023. end
  3024. end)()
  3025. end
  3026. end)
  3027.  
  3028. cmd.commands.register('ban', 'cmd%plrs', function(args)
  3029. for i, v in pairs(args[2]) do
  3030. table.insert(cmd.bans, v.Name)
  3031. v.Parent = nil
  3032. end
  3033. end)
  3034.  
  3035. cmd.commands.register('lagban', 'cmd%plrs', function(args)
  3036. for i, v in pairs(args[2]) do
  3037. table.insert(cmd.lagbans, v.Name)
  3038. coroutine.wrap(function()
  3039. for i = 1, 200 do
  3040. ypcall(function()
  3041. coroutine.wrap(function()
  3042. for i = 1, 1000 do
  3043. Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
  3044. end
  3045. end)()
  3046. end)
  3047. wait()
  3048. end
  3049. end)()
  3050. end
  3051. end)
  3052.  
  3053. cmd.commands.register('punish', 'cmd%plrs', function(args)
  3054. for i, v in pairs(args[2]) do
  3055. v.Character.Parent = game.Lighting
  3056. end
  3057. end)
  3058.  
  3059. cmd.commands.register('unpunish', 'cmd%plrs', function(args)
  3060. for i, v in pairs(args[2]) do
  3061. v.Character.Parent = game.Workspace
  3062. end
  3063. end)
  3064.  
  3065. cmd.commands.register('respawn', 'cmd%plrs', function(args)
  3066. for i, v in pairs(args[2]) do
  3067. local a1 = Instance.new("Model", game.Workspace)
  3068. local a2 = Instance.new("Part", game.Workspace)
  3069. a2.CanCollide = true
  3070. a2.Anchored = true
  3071. a2.CFrame = CFrame.new(10000, 10000, 10000)
  3072. a2.Name = "Torso"
  3073. local a3 = Instance.new("Humanoid", a1)
  3074. a3.MaxHealth=100;a3.Health=100
  3075. v.Character = a1
  3076. a3.Health=0
  3077. end
  3078. end)
  3079.  
  3080. cmd.commands.register('shutdown', 'cmd', function(args)
  3081. for i, v in pairs(cmd.service('Players'):GetPlayers()) do
  3082. v.Parent = nil
  3083. end
  3084. end)
  3085.  
  3086. cmd.commands.register('music', 'cmd%int', function(args)
  3087. local a = Instance.new("Sound")
  3088. a.SoundId = "rbxassetid://" .. tostring(args[2].data)
  3089. a.Looped = true
  3090. a.Volume = 1
  3091. a.Parent = game.Workspace
  3092. a:Play()
  3093.  
  3094. end)
  3095.  
  3096. cmd.commands.register('sit', 'cmd%plrs', function(args)
  3097. for i, v in pairs(args[2]) do
  3098. v.Character.Humanoid.Sit = true
  3099. end
  3100. end)
  3101.  
  3102. cmd.commands.register('jump', 'cmd%plrs', function(args)
  3103. for i, v in pairs(args[2]) do
  3104. v.Character.Humanoid.Jump = true
  3105. end
  3106. end)
  3107.  
  3108. cmd.commands.register('stun', 'cmd%plrs', function(args)
  3109. for i, v in pairs(args[2]) do
  3110. v.Character.Humanoid.PlatformStand = true
  3111. end
  3112. end)
  3113.  
  3114. cmd.commands.register('unstun', 'cmd%plrs', function(args)
  3115. for i, v in pairs(args[2]) do
  3116. v.Character.Humanoid.PlatformStand = false
  3117. end
  3118. end)
  3119.  
  3120. cmd.commands.register('loopstate', 'cmd%int', function(args)
  3121. coroutine.resume(coroutine.create(function()
  3122. repeat
  3123. ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data) end)
  3124. wait(0)
  3125. until cmd.localplayer.Character.Humanoid == nil
  3126. end))
  3127. end)
  3128.  
  3129. cmd.commands.register('invis', 'cmd%plrs', function(args)
  3130. for i, v in pairs(args[2]) do
  3131. local function dloop(o)
  3132. for i, v in pairs(o:GetChildren()) do
  3133. pcall(function() v.Transparency = 1 end)
  3134. dloop(v)
  3135. end
  3136. end
  3137. dloop(v.Character)
  3138. end
  3139. end)
  3140.  
  3141. cmd.commands.register('vis', 'cmd%plrs', function(args)
  3142. for i, v in pairs(args[2]) do
  3143. local function dloop(o)
  3144. for i, v in pairs(o:GetChildren()) do
  3145. pcall(function() v.Transparency = 0 end)
  3146. dloop(v)
  3147. end
  3148. end
  3149. v.Character.HumanoidRootPart.Transparency = 1
  3150. dloop(v.Character)
  3151. end
  3152. end)
  3153.  
  3154. cmd.commands.register('nuke', 'cmd%plrs', function(args)
  3155. for i, v in pairs(args[2]) do
  3156. if v.Character then
  3157. local nuke = Instance.new("Part", game.Workspace)
  3158. nuke.Anchored = true
  3159. nuke.CanCollide = false
  3160. nuke.FormFactor = "Symmetric"
  3161. nuke.Shape = "Ball"
  3162. nuke.Size = Vector3.new(1,1,1)
  3163. nuke.BrickColor = BrickColor.new("New Yeller")
  3164. nuke.Transparency = 0.5
  3165. nuke.Reflectance = 0.2
  3166. nuke.TopSurface = 0
  3167. nuke.BottomSurface = 0
  3168. nuke.Touched:connect(function (hit)
  3169. if hit and hit.Parent then
  3170. local boom = Instance.new("Explosion", game.Workspace)
  3171. boom.Position = hit.Position
  3172. boom.BlastRadius = 11
  3173. boom.BlastPressure = math.huge
  3174. end
  3175. end)
  3176. local CF = v.Character.Torso.CFrame
  3177. nuke.CFrame = CF
  3178. for i = 1,333 do
  3179. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  3180. nuke.CFrame = CF
  3181. wait(1/44)
  3182. end
  3183. nuke:Destroy()
  3184. end
  3185. end
  3186. end)
  3187.  
  3188. cmd.commands.register('explode', 'cmd%plrs', function(args)
  3189. for i, v in pairs(args[2]) do
  3190. Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
  3191. end
  3192. end)
  3193.  
  3194. cmd.commands.register('hat', 'cmd%plrs%int', function(args)
  3195. for i, v in pairs(args[2]) do
  3196. cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
  3197. end
  3198. end)
  3199.  
  3200. cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
  3201. for i, v in pairs(args[2]) do
  3202. game:GetService('Chat'):Chat(v.Character, args[3], 1)
  3203. end
  3204. end)
  3205.  
  3206. cmd.commands.register('god', 'cmd%plrs', function(args)
  3207. for i, v in pairs(args[2]) do
  3208. v.Character.Humanoid.MaxHealth = math.huge
  3209. v.Character.Humanoid.Health = math.huge
  3210. end
  3211. end)
  3212.  
  3213. cmd.commands.register('ungod', 'cmd%plrs', function(args)
  3214. for i, v in pairs(args[2]) do
  3215. v.Character.Humanoid.Health = 100
  3216. v.Character.Humanoid.MaxHealth = 100
  3217. end
  3218. end)
  3219.  
  3220. cmd.commands.register('rh', 'cmd%plrs', function(args)
  3221. for i, v in pairs(args[2]) do
  3222. v.Character.Humanoid.Parent = nil
  3223. end
  3224. end)
  3225.  
  3226. cmd.commands.register('fire', 'cmd%plrs', function(args)
  3227. for i, v in pairs(args[2]) do
  3228. Instance.new('Fire', v.Character.Torso)
  3229. end
  3230. end)
  3231.  
  3232. cmd.commands.register('insane', 'cmd%plrs', function(args)
  3233. for x, m in pairs(args[2]) do
  3234. for i,v in pairs(m.Character.Torso:GetChildren()) do
  3235. if v:IsA("Motor6D") then
  3236. coroutine.wrap(function()
  3237. while v do
  3238. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  3239. wait()
  3240. end
  3241. end)()
  3242. end
  3243. end
  3244. end
  3245. end)
  3246.  
  3247. cmd.commands.register('admin', 'cmd%plrs',function(args)
  3248. for i, v in pairs(args[2]) do
  3249. --table.insert(cmd.admins, v.Name)
  3250. v.Chatted:connect(function(msg)
  3251. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  3252. cmd.commands.run(msg:sub(2, #msg))
  3253. end
  3254. end)
  3255. end
  3256. end)
  3257.  
  3258. cmd.commands.register('nosound', 'cmd', function(args)
  3259. local function dx(o)
  3260. for i, v in pairs(o:GetChildren()) do
  3261. if v:IsA("Sound") then
  3262. v:Stop()
  3263. end
  3264. dx(v)
  3265. end
  3266. end
  3267. dx(game.Workspace)
  3268. end)
  3269.  
  3270. cmd.commands.register('duck', 'cmd%plrs', function(args)
  3271. for _,p in pairs(args[2]) do
  3272. local pchar = p.Character
  3273. for i,v in pairs(pchar.Torso:GetChildren()) do
  3274. if v:IsA("Decal") then
  3275. v:Destroy()
  3276. end
  3277. end
  3278. for i,v in pairs(pchar:GetChildren()) do
  3279. if v:IsA("Hat") then
  3280. v:Destroy()
  3281. end
  3282. end
  3283. local duck = Instance.new("SpecialMesh", pchar.Torso)
  3284. duck.MeshType = "FileMesh"
  3285. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  3286. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  3287. duck.Scale = Vector3.new(5, 5, 5)
  3288. pchar.Head.Transparency = 1
  3289. pchar["Left Arm"].Transparency = 1
  3290. pchar["Right Arm"].Transparency = 1
  3291. pchar["Left Leg"].Transparency = 1
  3292. pchar["Right Leg"].Transparency = 1
  3293. pchar.Head.face.Transparency = 1
  3294. end
  3295. end)
  3296.  
  3297. cmd.commands.register('shrek', 'cmd%plrs', function(args)
  3298. for i, v in pairs(args[2]) do
  3299. local pchar = v.Character
  3300. for i,v in pairs(pchar:GetChildren()) do
  3301. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  3302. v:Destroy()
  3303. end
  3304. end
  3305. for i,v in pairs(pchar.Head:GetChildren()) do
  3306. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  3307. v:Destroy()
  3308. end
  3309. end
  3310.  
  3311. local mesh = Instance.new("SpecialMesh", pchar.Head)
  3312. mesh.MeshType = "FileMesh"
  3313. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  3314. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  3315. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  3316.  
  3317. local Shirt = Instance.new("Shirt", v.Character)
  3318. local Pants = Instance.new("Pants", v.Character)
  3319.  
  3320. Shirt.ShirtTemplate = "rbxassetid://133078194"
  3321. Pants.PantsTemplate = "rbxassetid://133078204"
  3322. end
  3323. end)
  3324.  
  3325. cmd.commands.register('nograv', 'cmd%plrs', function(args)
  3326. for i, v in pairs(args[2]) do
  3327. for x, m in pairs(v.Character:GetChildren()) do
  3328. if m:IsA("BasePart") then
  3329. local bf = Instance.new("BodyForce", m)
  3330. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  3331. end
  3332. if m:IsA("Hat") then
  3333. if m:findFirstChild("Handle") then
  3334. local bf = Instance.new("BodyForce", m.Handle)
  3335. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  3336. end
  3337. end
  3338. end
  3339. end
  3340. end)
  3341.  
  3342. cmd.commands.register('loopheal', 'cmd%plrs', function(args)
  3343. for i, v in pairs(args[2]) do
  3344. coroutine.wrap(function()
  3345. while wait() do
  3346. if v.Character.Humanoid then
  3347. v.Character.Humanoid.Health = 1000
  3348. v.Character.Humanoid.MaxHealth = 1000
  3349. end
  3350. end
  3351. end)()
  3352. end
  3353. end)
  3354.  
  3355. cmd.commands.register('hulk', 'cmd%plrs', function(args)
  3356. for i, v in pairs(args[2]) do
  3357. cmd.util.hulk(v)
  3358. end
  3359. end)
  3360.  
  3361. cmd.commands.register('sky', 'cmd%int', function(args)
  3362. local ID = args[2].data
  3363. local sky = Instance.new("Sky", game.Lighting)
  3364. sky.SkyboxBk = "rbxassetid://" .. ID
  3365. sky.SkyboxDn = "rbxassetid://" .. ID
  3366. sky.SkyboxFt = "rbxassetid://" .. ID
  3367. sky.SkyboxLf = "rbxassetid://" .. ID
  3368. sky.SkyboxRt = "rbxassetid://" .. ID
  3369. sky.SkyboxUp = "rbxassetid://" .. ID
  3370. end)
  3371.  
  3372. cmd.commands.register('bombs', 'cmd%plrs', function(args)
  3373. cmd.util.BombVest(args[2])
  3374. end)
  3375.  
  3376. cmd.commands.register('control', 'cmd%plrs', function(args)
  3377. -- variable
  3378. local pchar = args[2][1].Character
  3379. local char = cmd.localplayer.Character
  3380. pchar.Humanoid.PlatformStand = true
  3381. local w = Instance.new("Weld", pchar.Torso)
  3382. w.Part0 = pchar.Torso
  3383. w.Part1 = pchar.Torso
  3384. local w2 = Instance.new("Weld", pchar.Head)
  3385. w2.Part0 = pchar.Head
  3386. w2.Part1 = pchar.Head
  3387. local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm"))
  3388. w3.Part0 = pchar:findFirstChild("Right Arm")
  3389. w3.Part1 = pchar:findFirstChild("Right Arm")
  3390. local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
  3391. w4.Part0 = pchar:findFirstChild("Left Arm")
  3392. w4.Part1 = pchar:findFirstChild("Left Arm")
  3393. local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg"))
  3394. w5.Part0 = pchar:findFirstChild("Right Leg")
  3395. w5.Part1 = pchar:findFirstChild("Right Leg")
  3396. local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg"))
  3397. w6.Part0 = pchar:findFirstChild("Left Leg")
  3398. w6.Part1 = pchar:findFirstChild("Left Leg")
  3399. char.Head.face:Destroy()
  3400. for i,v in pairs(pchar:GetChildren()) do
  3401. if v:IsA("BasePart") then
  3402. v.CanCollide = false
  3403. end
  3404. end
  3405. for i,v in pairs(char:GetChildren()) do
  3406. if v:IsA("BasePart") then
  3407. v.Transparency = 1
  3408. elseif v:IsA("Hat") then
  3409. v:Destroy()
  3410. end
  3411. end
  3412. pchar.Parent = char
  3413. repeat
  3414. pchar.Humanoid.PlatformStand = true
  3415. wait()
  3416. until char.Parent == nil
  3417. end)
  3418.  
  3419. cmd.commands.register('rtag', 'cmd%inf', function(args)
  3420. local len = 10; local player = cmd.localplayer
  3421. local bb = Instance.new("BillboardGui")
  3422. bb.Parent = player.Character.Head
  3423. bb.Adornee = player.Character.Head
  3424. bb.AlwaysOnTop = true
  3425. bb.Enabled = true
  3426. bb.Size = UDim2.new(len, 0, 1.5, 0)
  3427. bb.Name = "tag"
  3428. bb.StudsOffset = Vector3.new(0, 3, 0)
  3429. --local fr = Instance.new("Frame")
  3430. --fr.Parent = bb
  3431. --fr.Size = UDim2.new(1, 0, 1, 0)
  3432. --fr.Style = Enum.FrameStyle.RobloxRound
  3433. local tl = Instance.new("TextLabel")
  3434. tl.Parent = bb
  3435. tl.BackgroundTransparency = 1
  3436. tl.TextScaled = true
  3437. tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  3438. tl.Size = UDim2.new(1, 0, 1, 0)
  3439. tl.Text = args[2]
  3440. tl.Name = "trutag"
  3441. tl.Visible = true
  3442. tl.ZIndex = 2
  3443. coroutine.wrap(function()
  3444. local r, g, b = 255, 0, 0
  3445. repeat
  3446. tl.TextColor3 = Color3.new(r/255, g/255, b/255)
  3447. local bo = cmd.util.nextrgb(r, g, b)
  3448. r = bo[1]; g = bo[2]; b = bo[3];
  3449. wait()
  3450. until bb == nil
  3451. end)()
  3452. end)
  3453.  
  3454. cmd.commands.register('smoke', 'cmd%plrs', function(args)
  3455. for i, v in pairs(args[2]) do
  3456. Instance.new('Smoke', v.Character.Torso)
  3457. end
  3458. end)
  3459.  
  3460. cmd.commands.register('btools', 'cmd%plrs', function(args)
  3461. for i, p in pairs(args[2]) do
  3462. local a = Instance.new("HopperBin")
  3463. a.BinType = "GameTool"
  3464. a.Parent = p.Backpack
  3465. local a = Instance.new("HopperBin")
  3466. a.BinType = "Clone"
  3467. a.Parent = p.Backpack
  3468. local a = Instance.new("HopperBin")
  3469. a.BinType = "Hammer"
  3470. a.Parent = p.Backpack
  3471. end
  3472. end)
  3473.  
  3474. con = nil;
  3475. cmd.commands.register('noclip', 'cmd', function(args)
  3476. cmd.noclip = false
  3477. con = game:GetService('RunService').Stepped:connect(function()
  3478. if cmd.noclip == true then
  3479. con:disconnect()
  3480. else
  3481. cmd.localplayer.Character.Torso.CanCollide = false
  3482. cmd.localplayer.Character.Head.CanCollide = false
  3483. end
  3484. end)
  3485. end)
  3486.  
  3487. cmd.commands.register('clip', 'cmd', function(args)
  3488. cmd.noclip = true
  3489. end)
  3490.  
  3491. cmd.commands.register('gear', 'cmd%plrs%int', function(args)
  3492. local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
  3493. if not gear then return end
  3494. for i, v in pairs(args[2]) do
  3495. gear:Clone().Parent = v.Backpack
  3496. end
  3497. end)
  3498.  
  3499. cmd.commands.register('kick', 'cmd%plrs', function(args)
  3500. for i, v in pairs(args[2]) do
  3501. v.Parent = nil
  3502. end
  3503. end)
  3504.  
  3505. cmd.commands.register('r15', 'cmd', function(args)
  3506. cmd.util.R15()
  3507. end)
  3508.  
  3509. cmd.commands.register('char', 'cmd%plrs%str', function(args)
  3510. if tonumber(args[3].data) ~= nil then
  3511. args[3].data = tonumber(args[3].data)
  3512. else
  3513. args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
  3514. end
  3515. for i, v in pairs(args[2]) do
  3516. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
  3517. pcall(function() v.Character.Humanoid.Health = 0 end)
  3518. end
  3519. end)
  3520.  
  3521. cmd.commands.register('noob', 'cmd%plrs', function(args)
  3522. for i, v in pairs(args[2]) do
  3523. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
  3524. pcall(function() v.Character.Humanoid.Health = 0 end)
  3525. end
  3526. end)
  3527.  
  3528. cmd.commands.register('ff', 'cmd%plrs', function(args)
  3529. for i, v in pairs(args[2]) do
  3530. Instance.new("ForceField", v.Character)
  3531. end
  3532. end)
  3533.  
  3534. cmd.commands.register('unff', 'cmd%plrs', function(args)
  3535. for i, v in pairs(args[2]) do
  3536. for x, m in pairs(v.Character:GetChildren()) do
  3537. if m:IsA("ForceField") then
  3538. m.Parent = nil
  3539. end
  3540. end
  3541. end
  3542. end)
  3543.  
  3544. cmd.commands.register('guest', 'cmd%plrs', function(args)
  3545. for i, v in pairs(args[2]) do
  3546. v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
  3547. pcall(function() v.Character.Humanoid.Health = 0 end)
  3548. end
  3549. end)
  3550.  
  3551. cmd.commands.register('giraffe', 'cmd%plrs', function(args)
  3552. for i, v in pairs(args[2]) do
  3553. local char=v.Character
  3554. local h=char.Head
  3555. local tor=char.Torso
  3556. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  3557. local fn=Instance.new("Part",char)
  3558. fn.Size=Vector3.new(1,5.5,1)
  3559. fn.Name="FakeNeck"
  3560. fn.Anchored=false
  3561. fn.CanCollide=false
  3562. if char:FindFirstChild("Body Colors") then
  3563. fn.BrickColor=char["Body Colors"].HeadColor
  3564. end
  3565. local cm=Instance.new("CylinderMesh",fn)
  3566. local we=Instance.new("Weld",h)
  3567. we.Part0=h
  3568. we.Part1=fn
  3569. we.C1=we.C1*CFrame.new(0,2.6,0)
  3570. end
  3571. end)
  3572.  
  3573. cmd.commands.register('notools', 'cmd%plrs', function(args)
  3574. for i, v in pairs(args[2]) do
  3575. for x, m in pairs(v.Backpack:GetChildren()) do
  3576. m.Parent = nil
  3577. end
  3578. end
  3579. end)
  3580.  
  3581. cmd.commands.register('taketools', 'cmd%plrs', function(args)
  3582. for i, v in pairs(args[2]) do
  3583. for x, m in pairs(v.Backpack:GetChildren()) do
  3584. m.Parent = cmd.localplayer.Backpack
  3585. end
  3586. end
  3587. end)
  3588.  
  3589. cmd.commands.register('confuse', 'cmd%plrs', function(args)
  3590. for i, v in pairs(args[2]) do
  3591. v.Character.Humanoid.WalkSpeed = -16
  3592. end
  3593. end)
  3594.  
  3595. cmd.commands.register('spin', 'cmd%plrs', function(args)
  3596. for i, v in pairs(args[2]) do
  3597. for i,v in pairs(v.Character.Torso:GetChildren()) do
  3598. if v.Name == "Spinning" then
  3599. v:Destroy()
  3600. end
  3601. end
  3602. local Torso = v.Character.Torso
  3603. local BG = Instance.new("BodyGyro", Torso)
  3604. BG.Name = "Spinning"
  3605. BG.maxTorque = Vector3.new(0, math.huge, 0)
  3606. BG.P = 11111
  3607. BG.cframe = Torso.CFrame
  3608. repeat wait(1/44)
  3609. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  3610. until not BG or BG.Parent ~= Torso
  3611. end
  3612. end)
  3613.  
  3614. cmd.commands.register('fling', 'cmd%plrs', function(args)
  3615. for i, v in pairs(args[2]) do
  3616. local pchar = v.Character
  3617. if pchar:FindFirstChild("Humanoid") then
  3618. local xran
  3619. local zran
  3620. repeat
  3621. xran = math.random(-9999,9999)
  3622. until math.abs(xran) >= 5555
  3623. repeat
  3624. zran = math.random(-9999,9999)
  3625. until math.abs(zran) >= 5555
  3626. pchar.Humanoid.Sit = true
  3627. pchar.Torso.Velocity = Vector3.new(0,0,0)
  3628. local BF = Instance.new("BodyForce", pchar.Torso)
  3629. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  3630. end
  3631. end
  3632. end)
  3633.  
  3634. cmd.commands.register('burn', 'cmd%plrs', function(args)
  3635. for i, v in pairs(args[2]) do
  3636. spawn(function()
  3637. wait(0.1)
  3638. local fire=Instance.new("Fire", v.Character.Torso)
  3639. wait(0.1)
  3640. local fire=Instance.new("Fire", v.Character.Head)
  3641. wait(0.1)
  3642. local fire=Instance.new("Fire", v.Character["Left Arm"])
  3643. wait(0.1)
  3644. local fire=Instance.new("Fire", v.Character["Right Leg"])
  3645. wait(0.5)
  3646. v.Character:BreakJoints();
  3647. end)
  3648. end
  3649. end)
  3650.  
  3651. cmd.commands.register('printcmds', 'cmd', function(args)
  3652. for i, v in pairs(cmd.commands.store) do
  3653. print(i, '==', v)
  3654. end
  3655. end)
  3656.  
  3657. cmd.commands.register('gun', 'cmd%plrs', function(args)
  3658. local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
  3659. local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
  3660. local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
  3661. for i, v in pairs(args[2]) do
  3662. a:Clone().Parent = v.Backpack
  3663. b:Clone().Parent = v.Backpack
  3664. c:Clone().Parent = v.Backpack
  3665. end
  3666. end)
  3667.  
  3668.  
  3669. cmd.commands.register('goto', 'cmd%plrs', function(args)
  3670. local target = args[2][1]
  3671. cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  3672. end)
  3673.  
  3674. cmd.commands.register('select', 'cmd%plrs', function(args)
  3675. for i, v in pairs(args[2]) do
  3676. Instance.new("SelectionBox", v.Character).Adornee = v.Character
  3677. end
  3678. end)
  3679.  
  3680. cmd.commands.register('sphere', 'cmd%plrs', function(args)
  3681. for i, v in pairs(args[2]) do
  3682. Instance.new("SelectionSphere", v.Character).Adornee = v.Character
  3683. end
  3684. end)
  3685.  
  3686. cmd.commands.register('bring', 'cmd%plrs', function(args)
  3687. for i, v in pairs(args[2]) do
  3688. v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame
  3689. end
  3690. end)
  3691.  
  3692. cmd.commands.register('knife', 'cmd%plrs', function(args)
  3693. local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
  3694. for i, v in pairs(args[2]) do
  3695. knife:Clone().Parent = v
  3696. end
  3697. end)
  3698.  
  3699. cmd.commands.register('shades', 'cmd%plrs', function(args)
  3700. local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
  3701. for i, v in pairs(args[2]) do
  3702. shades:Clone().Parent = v.Character
  3703. end
  3704. end)
  3705.  
  3706. cmd.commands.register('alien', 'cmd%plrs', function(args)
  3707. -- variable
  3708. for i, v in pairs(args[2]) do
  3709. local pchar = v.Character
  3710. if pchar:FindFirstChild('Shirt') then
  3711. pchar.Shirt:Destroy()
  3712. end
  3713. if pchar:FindFirstChild('Pants') then
  3714. pchar.Pants:Destroy()
  3715. end
  3716. if pchar:FindFirstChild('Shirt Graphic') then
  3717. pchar['Shirt Graphic'].Graphic = ''
  3718. end
  3719. for i,v in pairs(pchar:GetChildren()) do
  3720. if v:IsA('Hat') then
  3721. v:Destroy()
  3722. end
  3723. end
  3724. local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
  3725. ayy2.Parent = pchar
  3726. local BC = pchar['Body Colors']
  3727. BC.HeadColor = BrickColor.new('Fossil')
  3728. BC.LeftArmColor = BrickColor.new('Fossil')
  3729. BC.LeftLegColor = BrickColor.new('Fossil')
  3730. BC.RightArmColor = BrickColor.new('Fossil')
  3731. BC.RightLegColor = BrickColor.new('Fossil')
  3732. BC.TorsoColor = BrickColor.new('Fossil')
  3733. end
  3734. end)
  3735.  
  3736. cmd.commands.register('team', 'cmd%plrs%str', function(args)
  3737. for i, v in pairs(args[2]) do
  3738. for x, m in pairs(game:GetService('Teams'):GetTeams()) do
  3739. if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
  3740. v.TeamColor = m.TeamColor
  3741. end
  3742. end
  3743. end
  3744. end)
  3745.  
  3746. cmd.commands.register('particles', 'cmd%plrs%int', function(args)
  3747. for i, v in pairs(args[2]) do
  3748. Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
  3749. end
  3750. end)
  3751.  
  3752. cmd.commands.register('ghost', 'cmd%plrs', function(args)
  3753. for i, v in pairs(args[2]) do
  3754. local pchar = v.Character
  3755. pchar.Head.Transparency = 0.5
  3756. pchar.Torso.Transparency = 0.5
  3757. pchar["Left Arm"].Transparency = 0.5
  3758. pchar["Right Arm"].Transparency = 0.5
  3759. pchar["Left Leg"].Transparency = 0.5
  3760. pchar["Right Leg"].Transparency = 0.5
  3761. pchar.Head.face.Transparency = 0.5
  3762. end
  3763. end)
  3764.  
  3765. cmd.commands.register('firstperson', 'cmd%plrs', function(args)
  3766. for i, v in pairs(args[2]) do
  3767. v.CameraMode = Enum.CameraMode.LockFirstPerson
  3768. end
  3769. end)
  3770.  
  3771. cmd.commands.register('creeper', 'cmd%plrs', function(args)
  3772. for i, v in pairs(args[2]) do
  3773. local pchar = v.Character
  3774. if pchar then
  3775. if pchar:FindFirstChild("Shirt") then
  3776. pchar.Shirt.Parent = pchar.Torso
  3777. end
  3778. if pchar:FindFirstChild("Pants") then
  3779. pchar.Pants.Parent = pchar.Torso
  3780. end
  3781. if pchar:FindFirstChild("Shirt Graphic") then
  3782. pchar["Shirt Graphic"].Graphic = ""
  3783. end
  3784. for i,v in pairs(pchar:GetChildren()) do
  3785. if v:IsA("Hat") then
  3786. v:Destroy()
  3787. end
  3788. end
  3789. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  3790. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  3791. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  3792. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  3793. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  3794. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  3795. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  3796. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  3797. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  3798. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  3799. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  3800. end
  3801. end
  3802. end)
  3803.  
  3804. cmd.commands.register('insert', 'cmd%int', function(args)
  3805. local m = cmd.service('InsertService'):LoadAsset(args[2].data)
  3806. m.Parent = game.Workspace
  3807. m:MoveTo(cmd.localplayer.Character.Torso.Position)
  3808. m:MakeJoints()
  3809. end)
  3810.  
  3811. cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
  3812. for i, v in pairs(game.Players:GetPlayers()) do
  3813. v.Character['Right Leg'].Parent = nil
  3814. v.Character['Left Leg'].Parent = nil
  3815. v.Character['Right Arm'].Parent = nil
  3816. v.Character['Left Arm'].Parent = nil
  3817. end
  3818. end)
  3819.  
  3820. cmd.commands.register('recurseremove', 'cmd%str', function(args)
  3821. local function a(o)
  3822. for i,v in pairs(o:GetChildren()) do
  3823. if v:IsA(args[2].data) then
  3824. v.Parent=nil
  3825. end
  3826. a(v)
  3827. end
  3828. end
  3829. a(game.Workspace)
  3830. end)
  3831.  
  3832. cmd.commands.register('name', 'cmd%plrs%inf', function(args)
  3833. for i, v in pairs(args[2]) do
  3834. local tchar = v.Character
  3835. for x, m in pairs(tchar:GetChildren()) do
  3836. if m:FindFirstChild('nm') then
  3837. m.Parent = nil
  3838. end
  3839. end
  3840. tchar.Name = ''
  3841. local ntag = Instance.new("Model", tchar)
  3842. ntag.Name = args[3]
  3843. local nhead = tchar.Head:Clone()
  3844. nhead.Parent = ntag
  3845. local nhum = Instance.new("Humanoid", ntag)
  3846. nhum.MaxHealth = 0
  3847. nhum.Health = 0
  3848. nhum.Name = 'nm'
  3849. local nweld = Instance.new("Weld", nhead)
  3850. nweld.Part0 = nhead
  3851. nweld.Part1 = tchar.Head
  3852. end
  3853. end)
  3854.  
  3855. cmd.commands.register('track', 'cmd%plrs%inf', function(args)
  3856. for i, v in pairs(args[2]) do
  3857. local tchar = v.Character
  3858. for x, m in pairs(tchar:GetChildren()) do
  3859. if m:FindFirstChild('nm') then
  3860. m.Parent = nil
  3861. end
  3862. end
  3863. tchar.Name = ''
  3864. local ntag = Instance.new("Model", workspace.CurrentCamera)
  3865. ntag.Name = v.Name
  3866. local nhead = tchar.Head:Clone()
  3867. nhead.Parent = ntag
  3868. local nhum = Instance.new("Humanoid", ntag)
  3869. nhum.MaxHealth = 0
  3870. nhum.Health = 0
  3871. nhum.Name = 'nm'
  3872. local nweld = Instance.new("Weld", nhead)
  3873. nweld.Part0 = nhead
  3874. nweld.Part1 = tchar.Head
  3875. end
  3876. end)
  3877.  
  3878. cmd.commands.register('rname', 'cmd%plrs', function(args)
  3879. local player = cmd.localplayer
  3880. player.Neutral = false
  3881. repeat
  3882. wait()
  3883. player.TeamColor = BrickColor.Random()
  3884. until not player.Character.Humanoid
  3885. end)
  3886.  
  3887. cmd.commands.register('fogend', 'cmd%int', function(args)
  3888. game.Lighting.FogEnd = args[2].data
  3889. end)
  3890.  
  3891. cmd.commands.register('fogstart', 'cmd%int', function(args)
  3892. game.Lighting.FogStart = args[2].data
  3893. end)
  3894.  
  3895. cmd.commands.register('time', 'cmd%int', function(args)
  3896. game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
  3897. end)
  3898.  
  3899. cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
  3900. game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3901. end)
  3902.  
  3903. cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
  3904. game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
  3905. end)
  3906.  
  3907. cmd.commands.register('sword', 'cmd%plrs', function(args)
  3908. local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
  3909. for i, v in pairs(args[2]) do
  3910. sword:Clone().Parent = v.Backpack
  3911. end
  3912. end)
  3913.  
  3914. cmd.commands.register('paranoid', 'cmd%plrs', function(args)
  3915. for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
  3916. if v:IsA("BasePart") then
  3917. v.Anchored = true
  3918. end
  3919. end
  3920. end)
  3921.  
  3922. cmd.commands.register('size', 'cmd%plrs%int', function(args)
  3923. for i, v in pairs(args[2]) do
  3924. cmd.util.size(v, args[3].data)
  3925. end
  3926. end)
  3927.  
  3928. cmd.commands.register('unlockws', 'cmd%plrs', function(args)
  3929. local function dloop(o)
  3930. for i, v in pairs(o:GetChildren()) do
  3931. if v:IsA("BasePart") then
  3932. v.Anchored = false
  3933. end
  3934. if v:IsA("Model") then
  3935. v:BreakJoints()
  3936. end
  3937. dloop(v)
  3938. end
  3939. end
  3940. dloop(game.Workspace)
  3941. end)
  3942.  
  3943. cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
  3944. for i, v in pairs(args[2]) do
  3945. if v:FindFirstChild("leaderstats") then
  3946. if v.leaderstats:FindFirstChild(args[3].data) then
  3947. if v.leaderstats[args[3].data]:IsA("StringValue") then
  3948. v.leaderstats[args[3].data].Value = args[4]
  3949. end
  3950. if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
  3951. print(args[4])
  3952. if tonumber(args[4]) ~= nil then
  3953. v.leaderstats[args[3].data].Value = tonumber(args[4])
  3954. end
  3955. end
  3956. end
  3957. end
  3958. end
  3959. end)
  3960.  
  3961. ---------------------------
  3962.  
  3963. -- ** init ** --
  3964.  
  3965. local count = 0
  3966. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3967.  
  3968. warn("loaded nosyliam's cmdscript [a]")
  3969. warn(tostring(count).." commands")
  3970.  
  3971. DistributedCmdBar.FocusLost:connect(function(e)
  3972. if e == true then
  3973. cmd.commands.run(DistributedCmdBar.Text)
  3974. DistributedCmdBar.Text = ''
  3975. end
  3976. end)
  3977.  
  3978. --PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  3979. -- if cmd.util.isadmin(plr.Name) then
  3980. -- if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  3981. -- cmd.commands.run(msg:sub(2, #msg))
  3982. -- end
  3983. -- end
  3984. -- end)
  3985. end
  3986. topkek.navigation.buildHomePage = function()
  3987. local count = 0
  3988. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  3989. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  3990. hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
  3991. hook:drawText(1, 'Patch version 1.0.5')
  3992. hook:drawText(1, 'Commandbase patch version 1.0.0')
  3993. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  3994. local stime = hook:drawText(1, 'Server Time: 0')
  3995. spawn(function()
  3996. while true do
  3997. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  3998. wait(0.5)
  3999. end
  4000. end)
  4001. local ssz = hook:drawText(1, 'Server Size: 0')
  4002. spawn(function()
  4003. while true do
  4004. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  4005. wait(0.5)
  4006. end
  4007. end)
  4008. local fe = game:GetService('Workspace').FilteringEnabled
  4009. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  4010. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  4011. hook:drawText(1, 'same', 55)
  4012. end
  4013. topkek.navigation.buildContainers = function()
  4014. for _, v in pairs(topkek.data.windows) do
  4015. topkek.tools.gui:makeContainer(v)
  4016. end
  4017. end
  4018.  
  4019. topkek.navigation.initCommandBar()
  4020. topkek.navigation.buildContainers()
  4021. topkek.navigation.buildTopbar()
  4022. topkek.navigation.buildHomePage()
  4023. wait()
  4024.  
  4025.  
  4026. --// actual code below lole //--
  4027.  
  4028. --// PLAYERS //--
  4029. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  4030. local search = plrwin:drawButton(1, '', function()end)
  4031. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  4032. function fixPlayerDrop()
  4033. local t = {'All'}
  4034. for i, v in pairs(game.Players:GetPlayers()) do
  4035. table.insert(t, v.Name)
  4036. end
  4037. drop.SetTable(t)
  4038. end
  4039. game.Players.PlayerAdded:connect(function()
  4040. fixPlayerDrop()
  4041. end)
  4042. game.Players.PlayerRemoving:connect(function()
  4043. fixPlayerDrop()
  4044. end)
  4045. plrFrame = plrwin:drawContainer(1, 100)
  4046. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  4047. headshotContainer:setDrawY(20)
  4048. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  4049. headshotContainer:setDrawY(0)
  4050. userNameText = headshotContainer:drawText(1, "[All]")
  4051. userNameText.ClipsDescendants = true
  4052. userNameText.Font = Enum.Font.SourceSansBold
  4053. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  4054. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  4055. userIdText = infoContainer:drawText(1, "ID: 0")
  4056. userAgeText = infoContainer:drawText(1, "Age: 0")
  4057. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  4058. cval = 'All'
  4059. fixPlayerDrop()
  4060.  
  4061. function updatePlayer(plri)
  4062. local plr = game:GetService('Players'):FindFirstChild(plri)
  4063. if not plr and plri ~= 'All' then
  4064. print("Couldn't find player!")
  4065. updatePlayer(topkek.lplr)
  4066. else
  4067. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  4068. userNameText.Text = "[All]"
  4069. userIdText.Text = 'ID: [multiple]'
  4070. userAgeText.Text = 'Age: [multiple]'
  4071. userTeamText.Text = 'Team: [multiple]'
  4072. cval = 'All'
  4073. end
  4074. local team = plr.TeamColor
  4075. if team == nil then
  4076. team = 'Neutral'
  4077. else
  4078. team = tostring(team)
  4079. end
  4080. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  4081. userNameText.Text = plr.Name
  4082. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  4083. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  4084. userTeamText.Text = 'Team: ' .. team
  4085. cval = plr.Name
  4086.  
  4087. end
  4088. drop.Changed(updatePlayer)
  4089. --actual code ------__-
  4090. plrwin:addSpacing()
  4091. plrwin:drawButton(1/2, 'Kick', function()
  4092. tk.dp(cval, function(p)
  4093. topkek.banmgr.executeKick(p)
  4094. end)
  4095. end)
  4096.  
  4097. plrwin:drawButton(1/2, 'Ban', function()
  4098. tk.dp(cval, function(p)
  4099. topkek.banmgr.addSoftBan(p)
  4100. end)
  4101. end)
  4102. plrwin:drawButton(1/2,'Friendlag', function()
  4103. tk.dp(cval, function(p)
  4104. for i = 1, 10 do
  4105. spawn(function()
  4106. while wait() do
  4107. game.Players.LocalPlayer:RequestFriendship(p)
  4108. game.Players.LocalPlayer:RevokeFriendship(p)
  4109. end
  4110. end)
  4111. end
  4112. end)
  4113. end)
  4114. plrwin:drawButton(1/2, 'Hardban', function()
  4115. tk.dp(cval, function(p)
  4116. topkek.banmgr.addHardBan(p)
  4117. end)
  4118. end)
  4119. plrwin:addSpacing()
  4120. plrwin:drawButton(1/2, 'Bring', function()
  4121. tk.dp(cval, function(z)
  4122. if z.Character then
  4123. z.Character.HumanoidRootPart.CFrame =
  4124. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  4125. end
  4126. end)
  4127. end)
  4128. plrwin:drawButton(1/2, 'Goto', function()
  4129. tk.dp(cval, function(z)
  4130. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  4131. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  4132. end)
  4133. end)
  4134. plrwin:addSpacing()
  4135. plrwin:drawButton(1/3, 'Kill', function()
  4136. tk.dp(cval, function(p)
  4137. if p.Character and p.Character:FindFirstChild("Humanoid") then
  4138. p.Character.Humanoid.Health = 0
  4139. end
  4140. end)
  4141. end)
  4142. plrwin:drawButton(1/3, 'Seizure', function()
  4143. tk.dp(cval, function(p)
  4144. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  4145. spawn(function()
  4146. p.Character.Humanoid.PlatformStand = true
  4147. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  4148. repeat
  4149. wait()
  4150. p.Character.Humanoid.PlatformStand = true
  4151. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  4152. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  4153. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  4154. end)
  4155. end
  4156. end)
  4157. end)
  4158. plrwin:drawButton(1/3, 'Stun', function()
  4159. tk.dp(cval, function(p)
  4160. if p.Character and p.Character:FindFirstChild("Humanoid") then
  4161. p.Character.Humanoid.PlatformStand = true
  4162. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  4163. end
  4164. end)
  4165. end)
  4166. plrwin:drawButton(1/3, 'Freeze', function()
  4167. tk.dp(cval, function(p)
  4168. if p.Character then
  4169. tk.gt(p).Anchored = true
  4170. end
  4171. end)
  4172. end)
  4173. plrwin:drawButton(1/3, 'Thaw', function()
  4174. tk.dp(cval, function(p)
  4175. if p.Character then
  4176. tk.gt(p).Anchored = false
  4177. end
  4178. end)
  4179. end)
  4180. plrwin:drawButton(1/3, 'Superslow', function()
  4181. tk.dp(cval, function(p)
  4182. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4183. p.Character.Humanoid.WalkSpeed = 1
  4184. end
  4185. end)
  4186. end)
  4187. plrwin:drawButton(1/3, 'Highjump', function()
  4188. tk.dp(cval, function(p)
  4189. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4190. p.Character.Humanoid.JumpPower = 125
  4191. end
  4192. end)
  4193. end)
  4194. plrwin:drawButton(1/3, 'God', function()
  4195. tk.dp(cval, function(p)
  4196. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4197. p.Character.Humanoid.MaxHealth = math.huge
  4198. p.Character.Humanoid.Health = math.huge
  4199. end
  4200. end)
  4201. end)
  4202. plrwin:drawButton(1/3, 'Semigod', function()
  4203. tk.dp(cval, function(p)
  4204. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4205. p.Character.Humanoid.MaxHealth = 9e9
  4206. p.Character.Humanoid.Health = 9e9
  4207. end
  4208. end)
  4209. end)
  4210. plrwin:drawButton(1/3, 'Fast', function()
  4211. tk.dp(cval, function(p)
  4212. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4213. p.Character.Humanoid.WalkSpeed = 50
  4214. end
  4215. end)
  4216. end)
  4217. Follow = false;
  4218. plrwin:drawButton(1/3, 'Annoy', function()
  4219. tk.dp(cval, function(p)
  4220. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4221. if Follow == true then
  4222. Follow = false; return
  4223. else Follow = true end
  4224. while Follow == true do
  4225. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  4226. p.Character.HumanoidRootPart.CFrame
  4227. wait()
  4228. end
  4229. end
  4230. end)
  4231. end)
  4232. plrwin:drawButton(1/3, 'Freefall', function()
  4233. tk.dp(cval, function(p)
  4234. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4235. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  4236. end
  4237. end)
  4238. end)
  4239. plrwin:drawButton(1/3, 'Destroy', function()
  4240. tk.dp(cval, function(p)
  4241. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4242. p.Character.Humanoid:Destroy()
  4243. end
  4244. end)
  4245. end)
  4246. plrwin:drawButton(1/3, 'Fix', function()
  4247. tk.dp(cval, function(p)
  4248. if p.Character and p.Character:FindFirstChild('Humanoid') then
  4249. p.Character.Humanoid.Health = 100
  4250. p.Character.Humanoid.MaxHealth = 100
  4251. p.Character.Humanoid.JumpPower = 100
  4252. p.Character.Humanoid.WalkSpeed = 16
  4253. p.Character.Humanoid.PlatformStand = false
  4254. p.Character.Humanoid.Jump = true
  4255. end
  4256. end)
  4257. end)
  4258. plrwin:drawButton(1/3, 'Respawn', function()
  4259. tk.dp(cval, function(p)
  4260. if p.Character then
  4261. local a1 = Instance.new("Model", game:service'Workspace')
  4262. local a2 = Instance.new("Part", game:service'Workspace')
  4263. a2.CanCollide = true
  4264. a2.Anchored = true
  4265. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4266. a2.Name = "Torso"
  4267. local a3 = Instance.new("Humanoid", a1)
  4268. a3.MaxHealth=100;a3.Health=100
  4269. p.Character = a1
  4270. a3.Health=0
  4271. end
  4272. end)
  4273. end)
  4274. plrwin:addSpacing()
  4275. local nameInp
  4276. plrwin:drawButton(1/3, 'Name', function()
  4277. tk.dp(cval, function(z)
  4278. local Character = z.Character
  4279. local newName = Instance.new("Model", z.Character)
  4280. newName.Name = nameInp.Text
  4281. local cl = Character:WaitForChild("Head"):Clone()
  4282. cl.Parent = newName
  4283. cl:WaitForChild("face"):Destroy()
  4284. local hum = Instance.new("Humanoid", newName)
  4285. hum.Name = "NameTag"
  4286. hum.MaxHealth = 0
  4287. hum.Health = 0
  4288. local weld = Instance.new("Weld", cl)
  4289. weld.Part0 = cl
  4290. weld.Part1 = Character:WaitForChild("Head")
  4291. Character:WaitForChild("Head").Transparency = 1
  4292. wait(.5)
  4293. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  4294. end)
  4295. end)
  4296. nameInp = plrwin:drawTextBox(2/3, '')
  4297. local chatInp
  4298. plrwin:drawButton(1/3, 'Chat', function()
  4299. tk.dp(cval, function(z)
  4300. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  4301. end)
  4302. end)
  4303. chatInp = plrwin:drawTextBox(2/3, '')
  4304. local disgInp
  4305. plrwin:drawButton(1/3, 'Disguise', function()
  4306. tk.dp(cval, function(p)
  4307. local id = 0
  4308. if tonumber(disgInp.Text) then
  4309. id = tonumber(disgInp.Text)
  4310. else
  4311. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  4312. end
  4313. if p.Character:FindFirstChild("Humanoid") then
  4314. p.Character.Humanoid.Health = 0
  4315. end
  4316. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  4317. end)
  4318. end)
  4319. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  4320. plrwin:addSpacing()
  4321. clrR = plrwin:drawTextBox(1/3, '0')
  4322. clrG = plrwin:drawTextBox(1/3, '0')
  4323. clrB = plrwin:drawTextBox(1/3, '0')
  4324. function getColor()
  4325. local r = tonumber(clrR.Text)
  4326. local g = tonumber(clrG.Text)
  4327. local b = tonumber(clrB.Text)
  4328. if not (r and g and b) then return Color3.new(0,0,0) end
  4329. return Color3.new(r/255, g/255, b/255)
  4330. end
  4331. plrwin:drawButton(1/3, 'Sparkles', function()
  4332. tk.dp(cval, function(z)
  4333. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  4334. end)
  4335. end)
  4336. plrwin:drawButton(1/3, 'Smoke', function()
  4337. tk.dp(cval, function(z)
  4338. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  4339.  
  4340. end)
  4341. end)
  4342. plrwin:drawButton(1/3, 'Fire', function()
  4343. tk.dp(cval, function(z)
  4344. local fr = Instance.new("Fire", tk.gt(z))
  4345. fr.Color = getColor()
  4346. fr.Heat = 30
  4347. fr.Size = 20
  4348. end)
  4349. end)
  4350. plrwin:drawButton(1/3, 'Forcefield', function()
  4351. tk.dp(cval, function(z)
  4352. if z.Character then
  4353. Instance.new("ForceField", z.Character)
  4354. end
  4355. end)
  4356. end)
  4357. plrwin:drawButton(1/3, 'Select', function()
  4358. tk.dp(cval, function(z)
  4359. if z.Character and tk.gt(z) then
  4360. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  4361. end
  4362. end)
  4363. end)
  4364. plrwin:drawButton(1/3, 'Sphere', function()
  4365. tk.dp(cval, function(z)
  4366. if z.Character and tk.gt(z) then
  4367. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  4368. end
  4369. end)
  4370. end)
  4371. plrwin:drawButton(1/3, 'Fling', function()
  4372. tk.dp(cval, function(z)
  4373. spawn(function() --kohls admin commands lol
  4374. if z.Character and tk.gt(z) then
  4375. local xran, zran
  4376. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  4377. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  4378. z.Character.Humanoid.Sit = true
  4379. tk.gt(z).Velocity = Vector3.new(0,0,0)
  4380. local frc = Instance.new("BodyForce", tk.gt(z))
  4381. frc.Name = "BFRC"
  4382. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  4383. game:GetService("Debris"):AddItem(frc, 0.1)
  4384. end
  4385. end)
  4386. end)
  4387. end)
  4388. plrwin:drawButton(1/3, 'Explode', function()
  4389. tk.dp(cval, function(z)
  4390. if z.Character and tk.gt(z) then
  4391. local explosion = Instance.new("Explosion")
  4392. explosion.Position = tk.gt(z).Position
  4393. explosion.Parent = workspace
  4394. end
  4395. end)
  4396. end)
  4397. plrwin:drawButton(1/3, 'Nuke', function()
  4398. tk.dp(cval, function(z)
  4399. if z.Character and tk.gt(z) then
  4400. local torso = tk.gt(z)
  4401. local nuke = Instance.new("Part", game.Workspace)
  4402. local opos = torso.CFrame
  4403. nuke.BrickColor = BrickColor.new("Bright yellow")
  4404. nuke.TopSurface = Enum.SurfaceType.Smooth
  4405. nuke.BottomSurface = Enum.SurfaceType.Smooth
  4406. nuke.Anchored = true
  4407. nuke.CanCollide = false
  4408. nuke.Shape = "Ball"
  4409. nuke.Transparency = 0.5
  4410. nuke.CFrame = torso.CFrame
  4411. nuke.Size = Vector3.new(1, 1, 1)
  4412. nuke.Touched:connect(function(p)
  4413. local expl = Instance.new("Explosion", p)
  4414. expl.BlastPressure = 50000
  4415. expl.BlastRadius = 50
  4416. expl.Position = p.Position
  4417. p.Material = Enum.Material.CorrodedMetal
  4418. p:BreakJoints()
  4419. end)
  4420. for i = 1, 150 do
  4421. nuke.Size = Vector3.new(i, i, i)
  4422. nuke.CFrame = opos
  4423. wait(0.08)
  4424. end
  4425. nuke:Destroy()
  4426. end
  4427. end)
  4428. end)
  4429. plrwin:drawButton(1/3, 'No Tools', function()
  4430. tk.dp(cval, function(p)
  4431. for _, t in pairs(p.Backpack:GetChildren()) do
  4432. t:Destroy()
  4433. end
  4434. end)
  4435. end)
  4436. plrwin:drawButton(1/3, 'Take Tools', function()
  4437. tk.dp(cval, function(p)
  4438. for _, t in pairs(p.Backpack:GetChildren()) do
  4439. t.Parent = game:service'Players'.LocalPlayer.Backpack
  4440. end
  4441. end)
  4442. end)
  4443. plrwin:drawButton(1/3, 'BTools', function()
  4444. tk.dp(cval, function(p)
  4445. local a = Instance.new("HopperBin")
  4446. a.BinType = "GameTool"
  4447. a.Parent = p.Backpack
  4448. local a = Instance.new("HopperBin")
  4449. a.BinType = "Clone"
  4450. a.Parent = p.Backpack
  4451. local a = Instance.new("HopperBin")
  4452. a.BinType = "Hammer"
  4453. a.Parent = p.Backpack
  4454. end)
  4455. end)
  4456. plrwin:drawButton(1/3, 'Hotdog', function()
  4457. tk.dp(cval, function(p)
  4458. if p.Character and tk.gt(p) then
  4459. topkek.tools.util.weenieHutJunior(p)
  4460. end
  4461. end)
  4462. end)
  4463. plrwin:drawButton(1/3, 'Quicksand', function()
  4464. tk.dp(cval, function(z)
  4465. if z.Character and z.Character:FindFirstChild("Humanoid") then
  4466. local tor = tk.gt(z)
  4467. local hole = Instance.new("Part", z.Character)
  4468. hole.Anchored = true
  4469. hole.Name = "Hole"
  4470. hole.FormFactor = Enum.FormFactor.Custom
  4471. hole.Size = Vector3.new(7, 1, 7)
  4472. hole.CanCollide = false
  4473. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  4474. hole.BrickColor = BrickColor.new("Cool yellow")
  4475. hole.Material = Enum.Material.Sand
  4476. local hm = Instance.new("CylinderMesh", hole)
  4477. tor.Anchored = true
  4478. if z.Character:FindFirstChild("Humanoid") then
  4479. z.Character.Humanoid.Jump = true
  4480. end
  4481. for x,m in pairs(z.Character:GetChildren()) do
  4482. if m:IsA("BasePart") or m:IsA("MeshPart") then
  4483. m.CanCollide = false
  4484. end
  4485. end
  4486. for i=1,75 do
  4487. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  4488. wait(0.06)
  4489. end
  4490. tor.CFrame=tor.CFrame*CFrame.new(0,
  4491. -500,0
  4492. )
  4493. z.Character.Humanoid.Health = 0
  4494. end
  4495. end)
  4496. end)
  4497. plrwin:drawButton(1/3, 'Insane', function()
  4498. tk.dp(cval, function(p)
  4499. if p.Character and tk.gt(p) then
  4500. for i,v in pairs(tk.gt(p):GetChildren()) do
  4501. if v:IsA("Motor6D") then
  4502. spawn(function()
  4503. while v do
  4504. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  4505. wait()
  4506. end
  4507. end)
  4508. end
  4509. end
  4510. end
  4511. end)
  4512. end)
  4513. plrwin:drawButton(1/3, 'Invisible', function()
  4514. tk.dp(cval, function(p)
  4515. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  4516. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  4517. end)
  4518. end)
  4519. plrwin:drawButton(1/3, 'Visible', function()
  4520. tk.dp(cval, function(p)
  4521. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  4522. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  4523. end)
  4524. end)
  4525. plrwin:drawButton(1/3, 'Bighead', function()
  4526. tk.dp(cval, function(z)
  4527. if z.Character then
  4528. if z.Character:FindFirstChild('Head') then
  4529. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  4530. end
  4531. end
  4532. end)
  4533. end)
  4534. plrwin:drawButton(1/3, 'Goldify', function()
  4535. tk.dp(cval, function(z)
  4536. if z.Character then
  4537. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  4538. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  4539. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  4540. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  4541. end
  4542. end)
  4543. end)
  4544. plrwin:drawButton(1/3, 'Neon', function()
  4545. tk.dp(cval, function(z)
  4546. if z.Character then
  4547. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  4548. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  4549. end
  4550. end)
  4551. end)
  4552. plrwin:drawButton(1/3, 'Shiny', function()
  4553. tk.dp(cval, function(z)
  4554. if z.Character then
  4555. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  4556. tk.rcm(z.Character, 'MeshPart')
  4557. end
  4558. end)
  4559. end)
  4560. plrwin:drawButton(1/3, 'Shrek', function()
  4561. tk.dp(cval, function(z)
  4562. if z.Character then
  4563. local pchar = z.Character
  4564. for i,v in pairs(pchar:GetChildren()) do
  4565. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  4566. v:Destroy()
  4567. end
  4568. end
  4569. for i,v in pairs(pchar.Head:GetChildren()) do
  4570. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  4571. v:Destroy()
  4572. end
  4573. end
  4574.  
  4575. local mesh = Instance.new("SpecialMesh", pchar.Head)
  4576. mesh.MeshType = "FileMesh"
  4577. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  4578. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  4579. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  4580.  
  4581. local Shirt = Instance.new("Shirt", z.Character)
  4582. local Pants = Instance.new("Pants", z.Character)
  4583.  
  4584. Shirt.ShirtTemplate = "rbxassetid://133078194"
  4585. Pants.PantsTemplate = "rbxassetid://133078204"
  4586. end
  4587. end)
  4588. end)
  4589. plrwin:drawButton(1/3, 'Duck', function()
  4590. tk.dp(cval, function(z)
  4591. if z.Character then
  4592. local pchar = z.Character
  4593. for i,v in pairs(pchar:GetChildren()) do
  4594. if v:IsA("Hat") or v:IsA("Accessory") then
  4595. v:Destroy()
  4596. end
  4597. end
  4598. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  4599. duck.MeshType = "FileMesh"
  4600. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  4601. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  4602. duck.Scale = Vector3.new(5, 5, 5)
  4603. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  4604. z.Character.HumanoidRootPart.Transparency = 0
  4605. end
  4606. end)
  4607. end)
  4608. plrwin:drawButton(1/3, 'Spheres', function()
  4609. tk.dp(cval, function(z)
  4610. if z.Character then
  4611. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  4612. end
  4613. end)
  4614. end)
  4615. plrwin:drawButton(1/3, 'Big', function()
  4616. tk.dp(cval, function(z)
  4617. if z.Character then
  4618. topkek.tools.util.scalePlayer(5, z)
  4619. end
  4620. end)
  4621. end)
  4622. plrwin:drawButton(1/3, 'Small', function()
  4623. tk.dp(cval, function(z)
  4624. if z.Character then
  4625. topkek.tools.util.scalePlayer(5, z)
  4626. end
  4627. end)
  4628. end)
  4629. plrwin:drawButton(1/3, 'Giraffe', function()
  4630. tk.dp(cval, function(z)
  4631. if z.Character then
  4632. local char=z.Character
  4633. local h=char.Head
  4634. local tor=char:FindFirstChild("Torso")
  4635. if not tor then return end
  4636. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  4637. local fn=Instance.new("Part",char)
  4638. fn.Size=Vector3.new(1,5.5,1)
  4639. fn.Name="FakeNeck"
  4640. fn.Anchored=false
  4641. fn.CanCollide=false
  4642. if char:FindFirstChild("Body Colors") then
  4643. fn.BrickColor=char["Body Colors"].HeadColor
  4644. end
  4645. local cm=Instance.new("CylinderMesh",fn)
  4646. local we=Instance.new("Weld",h)
  4647. we.Part0=h
  4648. we.Part1=fn
  4649. we.C1=we.C1*CFrame.new(0,2.6,0)
  4650. end
  4651. end)
  4652. end)
  4653. plrwin:drawButton(1/3, 'Dab', function()
  4654. tk.dp(cval, function(z)
  4655. if z.Character and z.Character:FindFirstChild("Torso") then
  4656. local chr = z.Character
  4657. chr.Animate.Disabled = true
  4658. chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  4659. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  4660. chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  4661. end
  4662. end)
  4663. end)
  4664. plrwin:drawButton(1/3, 'Force Follow', function()
  4665. tk.dp(cval, function(z)
  4666. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  4667. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  4668. end)
  4669. end)
  4670. end)
  4671. plrwin:drawButton(1/3, 'Camlock', function()
  4672. tk.dp(cval, function(z)
  4673. z.CameraMode = "LockFirstPerson"
  4674. end)
  4675. end)
  4676. --// SERVER //--
  4677. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  4678. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  4679. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  4680. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  4681. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  4682. --detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  4683. servwin:drawButton(1/2, 'Shutdown', function()
  4684. workspace.Gravity = 0/0
  4685. end)
  4686. servwin:drawButton(1/2, 'Clear', function()
  4687. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4688. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4689. v:Destroy()
  4690. end
  4691. end
  4692. end)
  4693. servwin:drawButton(1/2, 'Baseplate', function()
  4694. for X = -2500, 2500, 512 do
  4695. for Z = -2500, 2500, 512 do
  4696. local P = Instance.new("Part")
  4697. P.Anchored = true
  4698. P.Locked = true
  4699. P.Size = Vector3.new(512,3,512)
  4700. P.CFrame = CFrame.new(X,0,Z)
  4701. P.BrickColor = BrickColor.Green()
  4702. P.Parent = game:service'Workspace'
  4703. end
  4704. end
  4705. end)
  4706. servwin:drawButton(1/2, 'Reset', function()
  4707. for i,v in pairs(game:service'Workspace':GetChildren()) do
  4708. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  4709. v:Destroy()
  4710. end
  4711. end
  4712. for X = -2500, 2500, 512 do
  4713. for Z = -2500, 2500, 512 do
  4714. local P = Instance.new("Part")
  4715. P.Anchored = true
  4716. P.Locked = true
  4717. P.Size = Vector3.new(512,3,512)
  4718. P.CFrame = CFrame.new(X,0,Z)
  4719. P.BrickColor = BrickColor.Green()
  4720. P.Parent = game:service'Workspace'
  4721. end
  4722. end
  4723. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  4724. local a1 = Instance.new("Model", game:service'Workspace')
  4725. local a2 = Instance.new("Part", game:service'Workspace')
  4726. a2.CanCollide = true
  4727. a2.Anchored = true
  4728. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4729. a2.Name = "Torso"
  4730. local a3 = Instance.new("Humanoid", a1)
  4731. a3.MaxHealth=100;a3.Health=100
  4732. v.Character = a1
  4733. a3.Health=0
  4734. end
  4735. end)
  4736. servwin:drawButton(1, 'Remove Sounds', function()
  4737. tk.rcm(game, 'Sound')
  4738. end)
  4739. servwin:addSpacing()
  4740. servwin:drawButton(1, 'Break All', function()
  4741. workspace:BreakJoints(workspace:GetChildren())
  4742. end)
  4743. local gravInp
  4744. servwin:drawButton(1/3, 'Gravity', function()
  4745. if not tonumber(gravInp.Text) then return end
  4746. workspace.Gravity = tonumber(gravInp.Text)
  4747. end)
  4748. gravInp = servwin:drawTextBox(2/3, '')
  4749. servwin:addSpacing()
  4750. servwin:drawButton(1, 'Reset Lighting', function()
  4751. local l = game:service'Lighting'
  4752. l.Ambient = Color3.new(0, 0, 0)
  4753. l.Brightness = 1
  4754. l.GlobalShadows = true
  4755. l.Outlines = true
  4756. l.FogEnd = 100000
  4757. l.FogStart = 0
  4758. l:SetMinutesAfterMidnight(12*60)
  4759. end)
  4760. local brightInp
  4761. servwin:drawButton(1/3, 'Brightness', function()
  4762. if not tonumber(brightInp.Text) then return end
  4763. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  4764. end)
  4765. brightInp = servwin:drawTextBox(2/3, '100')
  4766. local fogInp
  4767. servwin:drawButton(1/3, 'Fog', function()
  4768. if not tonumber(fogInp.Text) then return end
  4769. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  4770. end)
  4771. fogInp = servwin:drawTextBox(2/3, '0')
  4772. local timeInp
  4773. servwin:drawButton(1/3, 'Hour', function()
  4774. if not tonumber(timeInp.Text) then return end
  4775. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  4776. end)
  4777. timeInp = servwin:drawTextBox(2/3, '12')
  4778. servwin:addSpacing()
  4779. -- private server crap
  4780. local privateToggle
  4781. local privStatus = false
  4782. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  4783. if privStatus == false then
  4784. privStatus = true
  4785. privateToggle.Text = 'Private Server ON'
  4786. topkek.banmgr.makePrivate()
  4787. else
  4788. privateToggle.Text = 'Private Server OFF'
  4789. topkek.banmgr.unprivate()
  4790. end
  4791. end)
  4792. servwin:addSpacing()
  4793. servwin:drawText(1, 'Whitelist')
  4794. local plrAddInp
  4795. servwin:drawButton(1/3, 'Add', function()
  4796. topkek.banmgr.doWhitelist(plrAddInp.Text)
  4797. ReorderWL()
  4798. end)
  4799. plrAddInp = servwin:drawTextBox(2/3, '')
  4800. wlCont = servwin:drawScrollingContainer(100)
  4801. function ReorderWL()
  4802. local wl = topkek.banmgr.whitelist
  4803. for i,v in pairs(wlCont:GetChildren()) do
  4804. v:Destroy()
  4805. end
  4806. wlCont:setDrawY(3)
  4807. for i,v in pairs(wl) do
  4808. wlCont:drawText(2/3, v)
  4809. wlCont:drawButton(1/3, 'Remove', function()
  4810. topkek.banmgr.unwhitelist(v)
  4811. ReorderWL()
  4812. end)
  4813. end
  4814. end
  4815. ReorderWL()
  4816. --// LOCALPLAYER //--
  4817. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  4818. lpwin:drawButton(1, 'Reset Camera', function()
  4819. game.Workspace.CurrentCamera:remove()
  4820. wait(.1)
  4821. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  4822. game.Workspace[topkek.lplr.Name].Humanoid
  4823. game.Workspace.CurrentCamera.CameraType = "Custom"
  4824. end)
  4825. lpwin:drawButton(1, 'Respawn', function()
  4826. local a1 = Instance.new("Model", game:service'Workspace')
  4827. local a2 = Instance.new("Part", game:service'Workspace')
  4828. a2.CanCollide = true
  4829. a2.Anchored = true
  4830. a2.CFrame = CFrame.new(10000, 10000, 10000)
  4831. a2.Name = "Torso"
  4832. local a3 = Instance.new("Humanoid", a1)
  4833. a3.MaxHealth=100;a3.Health=100
  4834. topkek.lplr.Character = a1
  4835. a3.Health=0
  4836. end)
  4837. lpwin:drawButton(1, 'Rejoin', function()
  4838. game:GetService('TeleportService'):Teleport(game.PlaceId)
  4839. end)
  4840. lpwin:addSpacing()
  4841. lpwin:drawButton(1/2, 'God', function()
  4842. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4843. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4844. topkek.lplr.Character.Humanoid.Health = math.huge
  4845. end
  4846. end)
  4847. lpwin:drawButton(1/2, 'Semigod', function()
  4848. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  4849. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  4850. topkek.lplr.Character.Humanoid.Health = 9e9
  4851. end
  4852. end)
  4853. Loopgod = false
  4854. lpwin:drawButton(1, 'Loopgod', function()
  4855. if Loopgod == false then
  4856. Loopgod = true
  4857. spawn(function()
  4858. repeat
  4859. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  4860. topkek.lplr.Character.Humanoid.Health = math.huge
  4861. wait()
  4862. until Loopgod == false
  4863. end)
  4864. else
  4865. Loopgod = false
  4866. end
  4867. end)
  4868. lpwin:addSpacing()
  4869. plrwin:addSpacing()
  4870. local Lev, Clip, Fly
  4871. lpwin:drawButton(1/2, 'Levitate', function()
  4872. if Lev == true then
  4873. Lev = false
  4874. return
  4875. end
  4876. Lev = true
  4877. repeat
  4878. topkek.lplr.Character.Humanoid:ChangeState(10)
  4879. wait(0)
  4880. until Lev == false
  4881. end)
  4882. lpwin:drawButton(1/2, 'Noclip', function()
  4883. if Clip == true then
  4884. Clip = false
  4885. return
  4886. end
  4887. Clip = true
  4888. game:GetService("RunService").Stepped:connect(function()
  4889. tk.gt(topkek.lplr).CanCollide = not Clip
  4890. topkek.lplr.Character.Head.CanCollide = not Clip
  4891. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4892. if topkek.lplr.Character.UpperTorso then
  4893. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4894. end
  4895. end)
  4896. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  4897. tk.gt(topkek.lplr).CanCollide = not Clip
  4898. topkek.lplr.Character.Head.CanCollide = not Clip
  4899. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  4900. if topkek.lplr.Character.UpperTorso then
  4901. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  4902. end
  4903. end)
  4904. end)
  4905. lpwin:drawButton(1/2, 'Fly', function()
  4906. if Fly == true then
  4907. Fly = false
  4908. return
  4909. end
  4910. Fly = true
  4911. local mouse=game.Players.LocalPlayer:GetMouse''
  4912. localplayer=game.Players.LocalPlayer
  4913. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  4914. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  4915. local speed=0
  4916. local keys={a=false,d=false,w=false,s=false}
  4917. local e1
  4918. local e2
  4919. local function start()
  4920. local pos = Instance.new("BodyPosition",torso)
  4921. local gyro = Instance.new("BodyGyro",torso)
  4922. pos.Name="EPIXPOS"
  4923. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4924. pos.position = torso.Position
  4925. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4926. gyro.cframe = torso.CFrame
  4927. repeat
  4928. wait()
  4929. localplayer.Character.Humanoid.PlatformStand=true
  4930. local new=gyro.cframe - gyro.cframe.p + pos.position
  4931. if not keys.w and not keys.s and not keys.a and not keys.d then
  4932. speed=1
  4933. end
  4934. if keys.w then
  4935. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4936. speed=speed+0.01
  4937. end
  4938. if keys.s then
  4939. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  4940. speed=speed+0.01
  4941. end
  4942. if keys.d then
  4943. new = new * CFrame.new(speed,0,0)
  4944. speed=speed+0.01
  4945. end
  4946. if keys.a then
  4947. new = new * CFrame.new(-speed,0,0)
  4948. speed=speed+0.01
  4949. end
  4950. if speed>5 then
  4951. speed=5
  4952. end
  4953. pos.position=new.p
  4954. if keys.w then
  4955. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  4956. elseif keys.s then
  4957. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  4958. else
  4959. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  4960. end
  4961. until not Fly
  4962. if gyro then gyro:Destroy() end
  4963. if pos then pos:Destroy() end
  4964. flying=false
  4965. localplayer.Character.Humanoid.PlatformStand=false
  4966. speed=0
  4967. end
  4968. e1=mouse.KeyDown:connect(function(key)
  4969. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  4970. if key=="w" then
  4971. keys.w=true
  4972. elseif key=="s" then
  4973. keys.s=true
  4974. elseif key=="a" then
  4975. keys.a=true
  4976. elseif key=="d" then
  4977. keys.d=true
  4978. end
  4979. end)
  4980. e2=mouse.KeyUp:connect(function(key)
  4981. if key=="w" then
  4982. keys.w=false
  4983. elseif key=="s" then
  4984. keys.s=false
  4985. elseif key=="a" then
  4986. keys.a=false
  4987. elseif key=="d" then
  4988. keys.d=false
  4989. end
  4990. end)
  4991. start()
  4992. end)
  4993. lpwin:drawButton(1/2, 'Highjump', function()
  4994. local thrust = Instance.new("BodyVelocity")
  4995. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  4996. if i.KeyCode == Enum.KeyCode.Space then
  4997. print("Got jump")
  4998. coroutine.resume(coroutine.create(function()
  4999. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  5000. thrust.velocity = Vector3.new(0,50,0)
  5001. thrust.maxForce = Vector3.new(0,4e+050,0)
  5002. wait(0.2)
  5003. thrust.Parent = nil
  5004. end))
  5005. end
  5006. end)
  5007. end)
  5008. lpwin:addSpacing()
  5009. local apprInp
  5010. lpwin:drawButton(1/3, 'Appearance', function()
  5011. local id = 0
  5012. if tonumber(apprInp.Text) then
  5013. id = tonumber(apprInp.Text)
  5014. else
  5015. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  5016. end
  5017. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  5018. topkek.lplr.Character.Humanoid.Health = 0
  5019. end
  5020. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  5021. end)
  5022. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  5023. local teamInp
  5024. lpwin:drawButton(1/3, 'Team', function()
  5025. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  5026. end)
  5027. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  5028. lpwin:drawButton(1/2, 'Naked', function()
  5029. topkek.lplr:ClearCharacterAppearance()
  5030. end)
  5031. lpwin:drawButton(1/2, 'Neutral', function()
  5032. topkek.lplr.Neutral = true
  5033. end)
  5034. lpwin:addSpacing()
  5035. lpwin:drawButton(1/2, 'Orb', function()
  5036. game.Players.LocalPlayer.Character = nil
  5037. --lp:Destroy()
  5038. local cam = game.Workspace.CurrentCamera
  5039. local m = Instance.new("Model", game.Workspace)
  5040. m.Name = game.Players.LocalPlayer.Name
  5041. local hum = Instance.new("Humanoid", m)
  5042. hum.Health = 0
  5043. hum.MaxHealth = 0
  5044. local orb = Instance.new("Part", m)
  5045. orb.Size = Vector3.new(1, 1, 1)
  5046. orb.Shape = "Ball"
  5047. orb.Name = "Head"
  5048. orb.Anchored = true
  5049. orb.CanCollide = true
  5050. orb.BottomSurface = Enum.SurfaceType.Smooth
  5051. orb.TopSurface = Enum.SurfaceType.Smooth
  5052. orb.Transparency = 0
  5053. spawn(function()
  5054. while true do
  5055. wait(0.1)
  5056. if orb then
  5057. orb.BrickColor = BrickColor.Random()
  5058. else break end
  5059. end
  5060. end)
  5061. cam.CameraSubject = orb
  5062. cam.CameraType = Enum.CameraType.Fixed
  5063. game:GetService("RunService").RenderStepped:connect(function()
  5064. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  5065. end)
  5066. game.Players.LocalPlayer.Chatted:connect(function(a)
  5067. game:GetService("Chat"):Chat(orb, a)
  5068. end)
  5069. end)
  5070. lpwin:drawButton(1/2, 'Freecam', function()
  5071. local cam = game.Workspace.CurrentCamera
  5072. cam.CameraType = "Fixed"
  5073. cam.CameraSubject = nil
  5074. topkek.lplr.Character = nil
  5075. end)
  5076. lpwin:drawButton(1/2, 'NoGrav', function()
  5077. if topkek.lplr.Character then
  5078. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  5079. if m:IsA("BasePart") then
  5080. local bf = Instance.new("BodyForce", m)
  5081. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  5082. end
  5083. if m:IsA("Hat") or m:IsA("Accessory") then
  5084. if m:findFirstChild("Handle") then
  5085. local bf = Instance.new("BodyForce", m.Handle)
  5086. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  5087. end
  5088. end
  5089. end
  5090. end
  5091. end)
  5092. lpwin:drawButton(1/2, 'Trowel', function()
  5093. topkek.tools.util.trowel()
  5094. end)
  5095. lpwin:addSpacing()
  5096. lpwin:drawButton(1/2, 'Fedora', function()
  5097. local hats={
  5098. 98346834,
  5099. 215751161,
  5100. 119916949,
  5101. 72082328,
  5102. 147180077,
  5103. 100929604,
  5104. 63043890,
  5105. 1285307,
  5106. 1029025,
  5107. 334663683,
  5108. 259423244
  5109. }
  5110. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  5111. end)
  5112. lpwin:drawButton(1/2, 'Rainbow Name', function()
  5113. topkek.lplr.Neutral = false
  5114. repeat
  5115. wait()
  5116. topkek.lplr.TeamColor = BrickColor.Random()
  5117. until not topkek.lplr.Character.Humanoid
  5118. end)
  5119. local tagInp
  5120. lpwin:drawButton(1/3, 'Tag', function()
  5121. local len = 10
  5122. local bb = Instance.new("BillboardGui")
  5123. bb.Parent = topkek.lplr.Character.Head
  5124. bb.Adornee = topkek.lplr.Character.Head
  5125. bb.AlwaysOnTop = true
  5126. bb.Enabled = true
  5127. bb.Size = UDim2.new(len, 0, 1.5, 0)
  5128. bb.Name = "tag"
  5129. bb.StudsOffset = Vector3.new(0, 3, 0)
  5130. --local fr = Instance.new("Frame")
  5131. --fr.Parent = bb
  5132. --fr.Size = UDim2.new(1, 0, 1, 0)
  5133. --fr.Style = Enum.FrameStyle.RobloxRound
  5134. local tl = Instance.new("TextLabel")
  5135. tl.Parent = bb
  5136. tl.Font = Enum.Font.Code
  5137. tl.BackgroundTransparency = 1
  5138. tl.TextScaled = true
  5139. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  5140. tl.Size = UDim2.new(1, 0, 1, 0)
  5141. tl.Text = tagInp.Text
  5142. tl.Name = "trutag"
  5143. tl.Visible = true
  5144. tl.ZIndex = 2
  5145. end)
  5146. tagInp = lpwin:drawTextBox(2/3, '')
  5147. --// SCRIPTS //--
  5148. --local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  5149. --local search = scriptwin:drawTextBox(1,'')
  5150. --local origy = scriptwin:getDrawY()
  5151. --scriptwin:addSpacing()
  5152. --scriptwin:addSpacing()
  5153. --local scripts = game:GetObjects("rbxassetid://376553985")[1]
  5154. --local container = {}
  5155. --function MakeList(condition)
  5156. -- for i,v in pairs(scriptwin:GetChildren()) do
  5157. -- if v.Name == "Script" then
  5158. -- v:Destroy()
  5159. -- end
  5160. -- end
  5161. --scriptwin:setDrawY(origy)
  5162. --for i, v in pairs(scripts:GetChildren()) do
  5163. -- if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  5164. -- local scr = scriptwin:drawButton(1, v.Name, function()
  5165. -- spawn(function() loadstring(v.Source)() end)
  5166. -- end, 25)
  5167. -- scr.Name = 'Script'
  5168. -- end
  5169. -- end
  5170. --end
  5171. --game:GetService("UserInputService").InputChanged:connect(function(inp)
  5172. -- if inp.UserInputType == Enum.UserInputType.TextInput then
  5173. -- if search:IsFocused() then
  5174. -- MakeList(search.Text)
  5175. -- end
  5176. --end
  5177. --end)
  5178. --MakeList('')
  5179. --// DESTRUCTION // --
  5180. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  5181. local decals, seldec = destwin:drawScrollingContainer(100)
  5182. seldec = destwin:drawText(1, 'Selected Decal: None')
  5183. cursel = nil
  5184. local decs = {
  5185. {'Rain', '574772793'},
  5186. {'Robbie', '574773630'},
  5187. {'Pepe', '244905904'},
  5188. {'Troll Face', '48308661'},
  5189. {'Jeff', '109129888'},
  5190. {'Shrek', '170539018'},
  5191. {'Doge', '133720697'},
  5192. {'Dat Boi', '409578848'},
  5193. }
  5194. for _, v in pairs(decs) do
  5195. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  5196. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  5197. end
  5198. destwin:drawButton(1, 'Spam Decal', function()
  5199. if cursel ~= nil then
  5200. topkek.tools.util.recurseDecal(tonumber(cursel))
  5201. end
  5202. end)
  5203. destwin:drawButton(1, 'Spam Particles', function()
  5204. if cursel ~= nil then
  5205. topkek.tools.util.recurseParticles(tonumber(cursel))
  5206. end
  5207. end)
  5208. destwin:drawButton(1, 'Spam Both', function()
  5209. if cursel ~= nil then
  5210. topkek.tools.util.recurseUltimate(tonumber(cursel))
  5211. end
  5212. end)
  5213. destwin:drawButton(1, 'Rollback', function()
  5214. tk.rcm(workspace, 'Decal')
  5215. tk.rcm(workspace, 'ParticleEmitter')
  5216. end)
  5217. destwin:addSpacing()
  5218. destwin:drawButton(1, '666', function()
  5219. for i,v in next,workspace:children''do
  5220. if(v:IsA'BasePart')then
  5221. me=v;
  5222. bbg=Instance.new('BillboardGui',me);
  5223. bbg.Name='stuf';
  5224. bbg.Adornee=me;
  5225. bbg.Size=UDim2.new(2.5,0,2.5,0)
  5226. --bbg.StudsOffset=Vector3.new(0,2,0)
  5227. tlb=Instance.new'TextLabel';
  5228. tlb.Text='666 666 666 666 666 666';
  5229. tlb.Font='SourceSansBold';
  5230. tlb.FontSize='Size48';
  5231. tlb.TextColor3=Color3.new(1,0,0);
  5232. tlb.Size=UDim2.new(1.25,0,1.25,0);
  5233. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  5234. tlb.BackgroundTransparency=1;
  5235. tlb.Parent=bbg;
  5236. end;end;
  5237. --coroutine.wrap(function()while wait''do
  5238. s=Instance.new'Sound';
  5239. s.Parent=workspace;
  5240. s.SoundId='rbxassetid://152840862';
  5241. s.Pitch=1;
  5242. s.Volume=1;
  5243. s.Looped=true;
  5244. s:play();
  5245. --end;end)();
  5246. function xds(dd)
  5247. for i,v in next,dd:children''do
  5248. if(v:IsA'BasePart')then
  5249. v.BrickColor=BrickColor.new'Really black';
  5250. v.TopSurface='Smooth';
  5251. v.BottomSurface='Smooth';
  5252. s=Instance.new('SelectionBox',v);
  5253. s.Adornee=v;
  5254. s.Color=BrickColor.new'Really red';
  5255. a=Instance.new('PointLight',v);
  5256. a.Color=Color3.new(1,0,0);
  5257. a.Range=15;
  5258. a.Brightness=5;
  5259. f=Instance.new('Fire',v);
  5260. f.Size=19;
  5261. f.Heat=22;
  5262. end;
  5263. game.Lighting.TimeOfDay=0;
  5264. game.Lighting.Brightness=0;
  5265. game.Lighting.ShadowColor=Color3.new(0,0,0);
  5266. game.Lighting.Ambient=Color3.new(1,0,0);
  5267. game.Lighting.FogEnd=200;
  5268. game.Lighting.FogColor=Color3.new(0,0,0);
  5269. local dec = 'http://www.roblox.com/asset/?id=19399245';
  5270. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  5271. --coroutine.wrap(function()
  5272. --for _,__ in pairs(fac) do
  5273. --local ddec = Instance.new("Decal", v)
  5274. --ddec.Face = __
  5275. --ddec.Texture = dec
  5276. --end end)()
  5277. if #(v:GetChildren())>0 then
  5278. xds(v)
  5279. end
  5280. end
  5281. end
  5282. xds(game.Workspace)
  5283. end)
  5284. destwin:drawButton(1, 'Troll', function()
  5285. topkek.tools.util.recurseUltimate('48308661')
  5286. tk.play(154664102)
  5287. end)
  5288. destwin:addSpacing()
  5289. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  5290. local materiallist =
  5291. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  5292. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  5293. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  5294. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  5295. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  5296. local function r(where)
  5297. for _,v in pairs (where:GetChildren()) do
  5298. if v:IsA("BasePart") then
  5299. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  5300. end)
  5301. destwin:drawButton(1/2,'Materialize',function()
  5302. local function r(where)
  5303. for _,v in pairs (where:GetChildren()) do
  5304. if v:IsA("BasePart") then
  5305. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  5306. end)
  5307. destwin:drawButton(1/2,'Meshify',function()
  5308. local enums={
  5309. Enum.MeshType.Head;
  5310. Enum.MeshType.Torso;
  5311. Enum.MeshType.Wedge;
  5312. Enum.MeshType.Brick;
  5313. Enum.MeshType.Sphere;
  5314. Enum.MeshType.Cylinder;
  5315. }
  5316. tk.rcf('BasePart',function(o)
  5317. local mesh = Instance.new('SpecialMesh', o)
  5318. mesh.MeshType = enums[math.random(1,#enums)]
  5319. end)
  5320. end)
  5321. destwin:drawButton(1/2,'Loop-Meshify',function()
  5322. coroutine.wrap(function()
  5323. while true do
  5324. local enums={
  5325. Enum.MeshType.Head;
  5326. Enum.MeshType.Torso;
  5327. Enum.MeshType.Wedge;
  5328. Enum.MeshType.Brick;
  5329. Enum.MeshType.Sphere;
  5330. Enum.MeshType.Cylinder;
  5331. }
  5332. tk.rcf('BasePart',function(o)
  5333. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  5334. local mesh = Instance.new('SpecialMesh', o)
  5335. mesh.MeshType = enums[math.random(1,#enums)]
  5336. end)
  5337. wait(0.5)
  5338. end
  5339. end)()
  5340. end)
  5341. destwin:addSpacing()
  5342. destwin:drawButton(1, 'Rotations', function()
  5343. tk.rcf('BasePart', function(o)
  5344. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  5345. end)
  5346. end)
  5347. destwin:drawButton(1, 'Collisions', function()
  5348. tk.rcf('BasePart', function(o)
  5349. o.CanCollide = false
  5350. end)
  5351. end)
  5352. destwin:drawButton(1, 'Velocity', function()
  5353. tk.rcf('BasePart', function(o)
  5354. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  5355. end)
  5356. end)
  5357. destwin:drawButton(1, 'Invisiblity', function()
  5358. tk.rcf('BasePart', function(o)
  5359. o.Transparency = 1
  5360. end)
  5361. end)
  5362. destwin:drawButton(1, 'BreakJoints', function()
  5363. tk.rcf('Model', function(o)
  5364. o:BreakJoints()
  5365. end)
  5366. end)
  5367. destwin:drawButton(1, 'Forces', function()
  5368. tk.rcf('BasePart', function(o)
  5369. local bf = Instance.new("BodyForce", o)
  5370. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  5371. end)
  5372. end)
  5373. destwin:drawButton(1, 'Brightness', function()
  5374. tk.rcf('BasePart', function(o)
  5375. local light = Instance.new("SpotLight", o)
  5376. light.Brightness = 9e9
  5377. light.Range = 60
  5378. end)
  5379. end)
  5380. --// CATALOG //--
  5381. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  5382. local page, currentkeyword = 1, ""
  5383. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  5384. local searchbar = catwin:drawTextBox(2/3,'')
  5385. local search = catwin:drawButton(1/3, 'Search', function()
  5386. page = 1
  5387. currentkeyword = searchbar.Text
  5388. makeCatalog(currentkeyword, page)
  5389. end)
  5390. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  5391. if page > 1 then
  5392. page = page - 1
  5393. makeCatalog(currentkeyword, page)
  5394. end
  5395. end)
  5396. local previous = catwin:drawButton(1/2, 'Next Page', function()
  5397. if page >= 1 then
  5398. page = page + 1
  5399. makeCatalog(currentkeyword, page)
  5400. end
  5401. end)
  5402. local catalog_start = catwin:getDrawY()
  5403. function split(str,divider)
  5404. local found = ""
  5405. local results = {}
  5406. for i=1,string.len(str) do
  5407. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  5408. table.insert(results, found)
  5409. found = ""
  5410. else
  5411. found = found..string.sub(str,i,i)
  5412. end
  5413. end
  5414. table.insert(results, found)
  5415. return results
  5416. end
  5417. function GetName(nm)
  5418. local spl = split(nm," ")
  5419. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  5420. return (a.." "..b.." "..c.." "..d.." "..e)
  5421. end
  5422. --function makeCatalog(keyword, page)
  5423. --local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  5424. --local results = game:HttpGet(endpoint, true)
  5425. --local parse = game:GetService('HttpService'):JSONDecode(results)
  5426. --for i, v in pairs(res) do
  5427. --v:Destroy()
  5428. --end
  5429. --catwin:setDrawY(catalog_start)
  5430. --catwin:addSpacing()
  5431. --for i, v in pairs(parse) do
  5432. --local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  5433. --local below = topkek.tools.util.Object("TextButton", {
  5434. -- Parent = img;
  5435. -- BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  5436. -- BorderSizePixel = 0;
  5437. -- Position = UDim2.new(0, -45, 1, 5);
  5438. -- Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  5439. -- Font = 'SourceSans';
  5440. -- FontSize = 'Size14';
  5441. -- Text = GetName(v['Name']);
  5442. -- TextSize = 14;
  5443. -- TextColor3 = color3(199, 199, 199);
  5444. -- TextStrokeTransparency = 0.5;
  5445. -- ClipsDescendants = true;
  5446. --})
  5447. -- below.MouseButton1Down:connect(function()
  5448. -- local Model = Instance.new("Model", workspace)
  5449. -- game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  5450. -- Model:MakeJoints()
  5451. -- Model:MoveTo(topkek.lplr.Character.Head.Position)
  5452. --end)
  5453. --img.Size=UDim2.new(0,50,0,50)
  5454. --img.Position=img.Position+UDim2.new(0,45,0,0)
  5455. -- if (i%2)==0 then
  5456. -- catwin:setDrawY(catwin:getDrawY() + 25)
  5457. --end
  5458. -- if (i==10) then
  5459. -- catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  5460. -- end
  5461. -- table.insert(res,img)
  5462. --end
  5463. --end
  5464. --makeCatalog("", 1)
  5465. --// CMDS //--
  5466. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  5467. count = 0
  5468. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  5469. cmdwin:drawText(1, tostring(count) .. " Commands")
  5470. cmdwin:drawText(1, 'Chat Prefix: /')
  5471. local cmdlist = cmdwin:drawScrollingContainer(260)
  5472. for i, v in pairs(cmd.commands.fmtstore) do
  5473. local xfmt = {}
  5474. local str = " ;" .. i .. " "
  5475. for form in v:gmatch("[^%%]+") do
  5476. if form ~= 'cmd' then
  5477. if form == 'inf' then form = 'str' end
  5478. str = str .. "{" .. form .. "} "
  5479. end
  5480. end
  5481. cmdlist:drawText(1, str)
  5482. end
  5483. --// MUSIC //--
  5484. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  5485. Sounds = {
  5486. {"caramell", 2303479};
  5487. {"epic", 27697743};
  5488. {"rick", 2027611};
  5489. {"halo", 1034065};
  5490. {"pokemon", 1372261};
  5491. {"cursed", 1372257};
  5492. {"extreme", 11420933};
  5493. {"awaken", 27697277};
  5494. {"alone", 27697392};
  5495. {"mario", 1280470};
  5496. {"choir", 1372258};
  5497. {"chrono" ,1280463};
  5498. {"dotr", 11420922};
  5499. {"entertain", 27697267};
  5500. {"fantasy", 1280473};
  5501. {"final", 787};
  5502. {"organ", 11231513};
  5503. {"tunnel", 9650822}
  5504. }
  5505.  
  5506. local cursel
  5507. local xcursel = 0
  5508. scr = musicwin:drawScrollingContainer(230)
  5509. for i, v in pairs(Sounds) do
  5510. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  5511. cursel.Text = "Currently Selected - " .. v[1]
  5512. xcursel = v[2]
  5513. end)
  5514. end
  5515.  
  5516. cursel = musicwin:drawText(1, "Currently Selected - None")
  5517. local setInp
  5518. musicwin:drawButton(1/3, "Set", function()
  5519. if tonumber(setInp.Text) then
  5520. cursel.Text = "Currently Selected - " .. setInp.Text
  5521. xcursel = tonumber(setInp.Text)
  5522. end
  5523. end)
  5524. setInp = musicwin:drawTextBox(2/3, '')
  5525. musicwin:drawButton(1, "Play", function()
  5526. tk.rcm(game, 'Sound')
  5527. tk.play(xcursel)
  5528. end)
  5529. musicwin:drawButton(1, "Stop", function()
  5530. tk.rcm(game, 'Sound')
  5531. end)
  5532. --// FACES //--
  5533. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  5534. local faces = {
  5535. {name='Rofl',id=47595647},
  5536. {name='Sparta',id=74142203},
  5537. {name='UJelly',id=48989071},
  5538. {name='Troll',id=45120559},
  5539. {name='Horse',id=62079221},
  5540. {name='Angry',id=48258623},
  5541. {name='Okey',id=62830600},
  5542. {name='Yeaw',id=53646377},
  5543. {name='Here',id=62677045},
  5544. {name='Har',id=48260066},
  5545. {name='Baby Sun',id=47596170},
  5546. {name='LOL',id=48293007},
  5547. {name='Sad',id=53645378},
  5548. {name='Joseph Stalin',id=48290678},
  5549. {name='Doge',id=130742396},
  5550. {name='Forever Alone',id=156886272},
  5551. {name='RickRoll',id=5104631},
  5552. {name='Jim Carrey',id=74885351},
  5553. {name='Meh IRL',id=237553381}
  5554. }
  5555. local cursel, xcursel = nil, 0
  5556. faclist = facwin:drawScrollingContainer(260)
  5557. for i,v in pairs(faces) do
  5558. local btn = faclist:drawButton(1, v['name'], function()
  5559. xcursel = v['id']
  5560. cursel.Text = 'Currently Selected: ' .. v['name']
  5561. end)
  5562. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  5563. end
  5564. cursel = facwin:drawText(1, 'Currently Selected: None')
  5565. facwin:drawButton(1, 'Wear', function()
  5566. if not (xcursel == 0) then
  5567. if topkek.lplr.Character then
  5568. tk.rcm(topkek.lplr.Character, 'Accessory')
  5569. tk.rcm(topkek.lplr.Character, 'Hat')
  5570. topkek.tools.util.applyFace(xcursel)
  5571. end
  5572. end
  5573. end)
  5574. --// SETTINGS // --
  5575. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  5576. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  5577. setwin:drawText(1, 'Devnote: foh skids')
  5578. setwin:drawText(1, [[
  5579. === CREDITS ===
  5580.  
  5581. Variable - retard that created Stella
  5582. KrystalTeam - provided critical design tips & advice
  5583. Circumvention - lol joey salads
  5584.  
  5585. Thanks to everyone that supported T0PK3K 4.0!
  5586.  
  5587. ]], 260)
  5588. --// BANLIST //--
  5589. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  5590. local plrBanInp
  5591. banwin:drawButton(1/3, 'Add', function()
  5592. topkek.settings.get()
  5593. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  5594. topkek.settings.write()
  5595. UpdateBanlist()
  5596. end)
  5597. plrBanInp = banwin:drawTextBox(2/3, '')
  5598. banCont = banwin:drawScrollingContainer(288)
  5599. function UpdateBanlist(x)
  5600. topkek.settings.get()
  5601. local wl = x or topkek.settingsTable['Bans']
  5602. for i,v in pairs(banCont:GetChildren()) do
  5603. v:Destroy()
  5604. end
  5605. banCont:setDrawY(3)
  5606. for i,v in pairs(wl) do
  5607. banCont:drawText(2/3, v)
  5608. banCont:drawButton(1/3, 'Remove', function()
  5609. for x, m in pairs(wl) do
  5610. if m == v then
  5611. table.remove(topkek.settingsTable['Bans'], x)
  5612. topkek.settings.write()
  5613. UpdateBanlist()
  5614. topkek.banmgr.bans = topkek.settingsTable['Bans']
  5615. end
  5616. end
  5617. end)
  5618. end
  5619. end
  5620. UpdateBanlist()
  5621. --// HATS //--
  5622. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  5623. local hats={
  5624. {name='Dominus Empyreus',id=21070012},
  5625. {name='Dominus Vespertilio',id=96103379},
  5626. {name='Dominus Infernus',id=31101391},
  5627. {name='Dominus Rex',id=250395631},
  5628. {name='Dominus Frigidus',id=48545806},
  5629. {name='Dominus Astra',id=162067148},
  5630. {name='Dominus Aureus',id=138932314},
  5631. {name='DIY Dominus Empyreus',id=151789690},
  5632. {name='Dominus Messor',id=64444871},
  5633. {name='Demon Skeleton Wings',id=133554007},
  5634. {name='Gilded Wings of Glory',id=250405532},
  5635. {name='Majestic Ice Wings',id=188702967},
  5636. {name='Black Wings',id=215719598},
  5637. {name='Clockworks Shades',id=11748356},
  5638. {name='Faerie Wings',id=19399896},
  5639. {name='Orinthian Wings',id=223751505},
  5640. {name='Clockworks Headphones',id=1235488},
  5641. {name='Perfectly Legitimate Business Hat',id=19027209},
  5642. {name='Sparkling Angel Wings',id=192557913},
  5643. {name='Commander Crows Wings',id=133553855},
  5644. {name='Sunfire Wings',id=158068470},
  5645. {name='Royal Faerie Wings',id=119916756},
  5646. {name='Wings of Freedom',id=164174048},
  5647. {name='Firebrand Wings',id=128160626},
  5648. {name='Frozen Wings',id=136758613},
  5649. {name='Webbed Wings',id=120507280},
  5650. {name='Gargoyle Wings',id=120507201},
  5651. {name='Bat Wings',id=19399858},
  5652. {name='Wings of Fire',id=136758532},
  5653. {name='Headrow',id=1082935},
  5654. {name='Rubber Duckie',id=9254254},
  5655. {name='Valkyrie Helm',id=1365767},
  5656. {name='Hockey Mask',id=5161514}}
  5657. local searchi = hatwin:drawButton(1, '', function()end)
  5658. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  5659. function fixPlayerDropi()
  5660. local t = {'All'}
  5661. for i, v in pairs(game.Players:GetPlayers()) do
  5662. table.insert(t, v.Name)
  5663. end
  5664. dropx.SetTable(t)
  5665. end
  5666. game.Players.PlayerAdded:connect(function()
  5667. fixPlayerDropi()
  5668. end)
  5669. game.Players.PlayerRemoving:connect(function()
  5670. fixPlayerDropi()
  5671. end)
  5672. local eval = 'All'
  5673. dropx.Changed(function(p) eval = p end)
  5674. fixPlayerDrop()
  5675.  
  5676. local hatInp
  5677. hatlist = hatwin:drawScrollingContainer(260)
  5678. for i,v in pairs(hats) do
  5679. hatlist:drawButton(1, v['name'], function()
  5680. hatInp.Text = tostring(v['id'])
  5681. end)
  5682. end
  5683. hatwin:drawButton(1/3, 'Wear', function()
  5684. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  5685. tk.dp(eval, function(x)
  5686. if x.Character then
  5687. hat:Clone().Parent = x.Character
  5688. end
  5689. end)
  5690. end)
  5691.  
  5692.  
  5693. hatInp = hatwin:drawTextBox(2/3, '')
  5694. topkek.tools.animator.initialAnimation()
  5695. topkek.banmgr.init()
  5696.  
  5697. _G.Rc7Notification("Leaked by Scratchy","T0pk3k 4.0 Script Leaked!",5)
  5698. wait(5)
  5699. if game.Workspace.FilteringEnabled == true then
  5700. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  5701. else
  5702. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  5703. end
  5704. end)
  5705.  
  5706. InjectScript2.MouseButton1Click:Connect(function()
  5707. -- --3D Manuever Gear Script --
  5708. -- Based off of Attack on titan c; --
  5709. -- Made by kash5 [NOT THE SCRIPT] --
  5710. -- Local Script --
  5711. debounce = false
  5712. v3 = Vector3.new
  5713. cn = CFrame.new
  5714. ca2 = CFrame.Angles
  5715. mf = math.floor
  5716. mran = math.random
  5717. mrad = math.rad
  5718. mdeg = math.deg
  5719. ca = function(x,y,z) return ca2(mrad(x),mrad(y),mrad(z)) end
  5720. v32=function(x,y,z) return v3(mdeg(x),mdeg(y),mdeg(z)) end
  5721. mran2 = function(a,b) return mran(a*1000,b*1000)/1000 end
  5722. ud=UDim2.new
  5723. bn = BrickColor.new
  5724. c3 = Color3.new
  5725. nov3=v3(0,0,0)
  5726. maxv3=v3(1,1,1)/0
  5727. -----
  5728. Player = game:service'Players'.LocalPlayer
  5729. Char = Player.Character
  5730. Torso = Char.Torso
  5731. Head = Char.Head
  5732. Humanoid = Char.Humanoid
  5733. Root=Char.HumanoidRootPart.RootJoint
  5734.  
  5735. LA=Char['Left Arm']
  5736. RA=Char['Right Arm']
  5737. LL=Char['Left Leg']
  5738. RL=Char['Right Leg']
  5739. LAM=Torso:findFirstChild'Left Shoulder' or _G.LAM
  5740. RAM=Torso:findFirstChild'Right Shoulder' or _G.RAM
  5741. LLM=Torso:findFirstChild'Left Hip' or _G.LLM
  5742. RLM=Torso:findFirstChild'Right Hip' or _G.RLM
  5743. Neck=Torso.Neck
  5744. Neck.C0=cn(0,1.5,0)
  5745. Neck.C1=cn(0,0,0)
  5746. _G.LAM=LAM _G.RAM=RAM _G.LLM=LLM _G.RLM=RLM
  5747.  
  5748.  
  5749. as,so={},{'metal','Block','Slash','Slash2','Hit','Kick'}
  5750. as.corner='11294911'
  5751. as.cone='1033714'
  5752. as.ring="3270017"
  5753. as.Chakram='47260990'
  5754. as.ring2='18430887'
  5755. as.blast='20329976'
  5756. as.missile='10207677'
  5757. as.fire='2693346'
  5758. as.boom='3264793'
  5759. as.slash='143858925'
  5760. as.abscond='2767090'
  5761. as.firelaser='13775494'
  5762. as.diamond='9756362'
  5763. as.metal='rbxasset://sounds\\unsheath.wav'
  5764. as.Block = 'rbxasset://sounds\\metal.ogg'
  5765. as.Slash = '10209645'
  5766. as.Slash2 = '46760716'
  5767. as.Hit='10209583'
  5768. as.Kick='46153268'
  5769. as.cast='2101137'
  5770.  
  5771.  
  5772. for i,v in pairs(as) do
  5773. if type(tonumber(v:sub(1,3)))=="number" then
  5774. as[i]="http://www.roblox.com/asset/?id="..v
  5775. end
  5776. end
  5777.  
  5778. game:service"ControllerService":ClearAllChildren()
  5779. Controls=Instance.new("HumanoidController",game:service"ControllerService")
  5780.  
  5781.  
  5782. LastMade=nil
  5783. iNew=function(tab)
  5784. local v=Instance.new(tab[1])
  5785. for Ind,Val in pairs(tab) do
  5786. if Ind~=1 and Ind~=2 then
  5787. v[Ind] = Val
  5788. end
  5789. end
  5790. v.Parent=tab[2]==0 and LastMade or tab[2]
  5791. LastMade=v
  5792. return v
  5793. end
  5794. iPart=function(tab)
  5795. local v=Instance.new(tab.type or 'Part')
  5796. if tab.type~='CornerWedgePart' then v.formFactor='Custom' end
  5797. v.TopSurface=0 v.BottomSurface=0
  5798. if tab.sc then
  5799. v.Size=v3(tab[2]*tab.sc,tab[3]*tab.sc,tab[4]*tab.sc)
  5800. else
  5801. v.Size=v3(tab[2],tab[3],tab[4])
  5802. end
  5803. if tab.co then v.BrickColor=bn(tab.co) end
  5804. if tab.tr then v.Transparency=tab.tr end
  5805. if tab.rf then v.Reflectance=tab.rf end
  5806. v.CanCollide=false --if tab.can then v.CanCollide=tab.can end
  5807. if tab.cf then v.CFrame=tab.cf end
  5808. if tab.an then v.Anchored=tab.an end
  5809. if tab.na then v.Name=tab.na end
  5810. if tab.ma then v.Material=tab.ma end
  5811. v.Parent=tab[1]
  5812. v:BreakJoints()
  5813. LastMade=v
  5814. return v
  5815. end
  5816. ray = function(Pos, Dir,tab,length) -- ray cast
  5817. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *(length or 999)),tab)
  5818. end
  5819. function getoutline(x,z,i)
  5820. return math.sqrt(x^2+z^2)+(i or 0.05),mdeg(math.atan2(x,z))
  5821. end
  5822. function v3a(cf)
  5823. local x,y,z=cf:toEulerAnglesXYZ()
  5824. return v3(mdeg(x),mdeg(y),mdeg(z))
  5825. end
  5826. function TweenV3(i, loops,origpos,nextpos,smooth)
  5827. loops=math.floor(loops)
  5828. smooth = smooth or 1
  5829. local tox2,toy2,toz2 = 0,0,0
  5830. local perc =smooth==1 and math.sin((math.pi/2)/loops*i) or i/loops
  5831. tox2= origpos.x > nextpos.x and -math.abs(origpos.x - nextpos.x) *perc or math.abs(origpos.x - nextpos.x) *perc
  5832. toy2= origpos.y > nextpos.y and -math.abs(origpos.y - nextpos.y) *perc or math.abs(origpos.y - nextpos.y) *perc
  5833. toz2= origpos.z > nextpos.z and -math.abs(origpos.z - nextpos.z) *perc or math.abs(origpos.z - nextpos.z) *perc
  5834. return v3(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2)
  5835. end
  5836. function TweenCF(i, loops,origpos,nextpos,smooth)
  5837. loops=math.floor(loops)
  5838. smooth = smooth or 1
  5839. local x0,y0,z0=origpos:toEulerAnglesXYZ()
  5840. local x1,y1,z1=nextpos:toEulerAnglesXYZ()
  5841. origangle=v32(x0,y0,z0)
  5842. nextangle=v32(x1,y1,z1)
  5843. local perc =smooth==1 and math.sin((math.pi/2)/loops*i) or i/loops
  5844. local tox,toy,toz = 0,0,0
  5845. tox = origangle.x > nextangle.x and -math.abs(origangle.x - nextangle.x) *perc or math.abs(origangle.x - nextangle.x) *perc
  5846. toy = origangle.y > nextangle.y and -math.abs(origangle.y - nextangle.y) *perc or math.abs(origangle.y - nextangle.y) *perc
  5847. toz = origangle.z > nextangle.z and -math.abs(origangle.z - nextangle.z) *perc or math.abs(origangle.z - nextangle.z) *perc
  5848. local tox2,toy2,toz2 = 0,0,0
  5849. tox2= origpos.x > nextpos.x and -math.abs(origpos.x - nextpos.x) *perc or math.abs(origpos.x - nextpos.x) *perc
  5850. toy2= origpos.y > nextpos.y and -math.abs(origpos.y - nextpos.y) *perc or math.abs(origpos.y - nextpos.y) *perc
  5851. toz2= origpos.z > nextpos.z and -math.abs(origpos.z - nextpos.z) *perc or math.abs(origpos.z - nextpos.z) *perc
  5852. return cn(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2)*ca(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  5853. end
  5854. WeldLib={}
  5855. function GetWeld(weld,CO)
  5856. if not WeldLib[weld] then
  5857. local x0,y0,z0=weld.C0:toEulerAnglesXYZ()
  5858. local x1,y1,z1=weld.C1:toEulerAnglesXYZ()
  5859. WeldLib[weld]={[0]=v3(mdeg(x0),mdeg(y0),mdeg(z0)),[1]=v3(mdeg(x1),mdeg(y1),mdeg(z1))}
  5860. end
  5861. return weld['C'..CO].p,WeldLib[weld][CO]
  5862. end
  5863. function ClearWeld(weld)
  5864. if WeldLib[weld] then WeldLib[weld]=nil end
  5865. end
  5866. function SetWeld(weld,CO,i, loops, origpos,origangle, nextpos,nextangle,smooth)
  5867. loops=math.floor(loops)
  5868. smooth = smooth or 1
  5869. if not WeldLib[weld] then
  5870. local x0,y0,z0=weld.C0:toEulerAnglesXYZ()
  5871. local x1,y1,z1=weld.C1:toEulerAnglesXYZ()
  5872. WeldLib[weld]={[0]=v3(mdeg(x0),mdeg(y0),mdeg(z0)),[1]=v3(mdeg(x1),mdeg(y1),mdeg(z1))}
  5873. end
  5874. local perc =smooth==1 and math.sin((math.pi/2)/loops*i) or i/loops
  5875. --print(weld.Part1)
  5876. local tox,toy,toz = 0,0,0
  5877. tox = origangle.x > nextangle.x and -math.abs(origangle.x - nextangle.x) *perc or math.abs(origangle.x - nextangle.x) *perc
  5878. toy = origangle.y > nextangle.y and -math.abs(origangle.y - nextangle.y) *perc or math.abs(origangle.y - nextangle.y) *perc
  5879. toz = origangle.z > nextangle.z and -math.abs(origangle.z - nextangle.z) *perc or math.abs(origangle.z - nextangle.z) *perc
  5880. local tox2,toy2,toz2 = 0,0,0
  5881. tox2= origpos.x > nextpos.x and -math.abs(origpos.x - nextpos.x) *perc or math.abs(origpos.x - nextpos.x) *perc
  5882. toy2= origpos.y > nextpos.y and -math.abs(origpos.y - nextpos.y) *perc or math.abs(origpos.y - nextpos.y) *perc
  5883. toz2= origpos.z > nextpos.z and -math.abs(origpos.z - nextpos.z) *perc or math.abs(origpos.z - nextpos.z) *perc
  5884. WeldLib[weld][CO] = v3(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  5885. weld['C'..CO] = cn(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2)*ca(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  5886. end
  5887. function FindSurface(part, position)
  5888. local obj = part.CFrame:pointToObjectSpace(position)
  5889. local siz = part.Size/2
  5890. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  5891. local vec = Vector3.FromNormalId(v)
  5892. local wvec = part.CFrame:vectorToWorldSpace(vec)
  5893. local vz = (obj)/(siz*vec)
  5894. if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
  5895. return wvec,vec
  5896. end
  5897. end
  5898. if part.className == "WedgePart" then
  5899. return part.CFrame:vectorToWorldSpace(Vector3.new(0,0.707,-0.707)), Vector3.new(0,0.707,-0.707)
  5900. end
  5901. end
  5902. LoopFunctions={}
  5903. function DoLoop(times,func)
  5904. LoopFunctions[#LoopFunctions+1]={times,0,func}
  5905. end
  5906. pcall(function() Torso.LAW:Remove() Torso.RAW:Remove() Torso.LLW:Remove() Torso.RLW:Remove() end)
  5907. LAW=iNew{'Weld',Torso,Name='LAW',Part0=Torso,C0=cn(-1.5,0.5,0),C1=cn(0,0.5,0)}
  5908. RAW=iNew{'Weld',Torso,Name='RAW',Part0=Torso,C0=cn( 1.5,0.5,0),C1=cn(0,0.5,0)}
  5909. LLW=iNew{'Weld',Torso,Name='LLW',Part0=Torso,C0=cn(-0.5, -1,0),C1=cn(0, 1,0)}
  5910. RLW=iNew{'Weld',Torso,Name='RLW',Part0=Torso,C0=cn( 0.5, -1,0),C1=cn(0, 1,0)}
  5911. function Arms(on)
  5912. LAM.Parent=Torso LAM.Part0=Torso
  5913. RAM.Parent=Torso RAM.Part0=Torso
  5914. LAM.Part1=on and nil or LA
  5915. RAM.Part1=on and nil or RA
  5916. LAW.Part1=on and LA or nil
  5917. RAW.Part1=on and RA or nil
  5918. end
  5919. function Legs(on)
  5920. LLM.Part1=on and nil or LL
  5921. RLM.Part1=on and nil or RL
  5922. LLW.Part1=on and LL or nil
  5923. RLW.Part1=on and RL or nil
  5924. end
  5925.  
  5926. _G.MGear=getfenv()
  5927. pcall(function() _G.MGearS.Disabled=true end)
  5928. _G.MGearS=script
  5929.  
  5930. pcall(function() Char.Gear:Remove() end)
  5931. Gear=iNew{'Model',Char,Name='Gear'}
  5932. Gt={[-1]={},[1]={}}
  5933. for x=-1,1,2 do
  5934. local base=iPart{Gear,0.6,3,0.8} iNew{'Weld',LastMade,Part0=x==-1 and LL or RL,Part1=LastMade,C0=cn(0.8*x,0.05,0.45)*ca(-80,0,6*x)}
  5935. local v=iPart{Gear,0.5,2.5,0.5,co='Light stone grey'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(0,-0.24,0.6)} iNew{'CylinderMesh',v}
  5936. local v=iPart{Gear,0.5,0.5,0.5,co='Light stone grey'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(0,1.01,0.6)} iNew{'SpecialMesh',v,MeshType='Sphere'}
  5937. for z=-1.2,0.81,1 do
  5938. local v=iPart{Gear,0.65,0.22,1.35,co='Dark stone grey'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(0,z,0.22)}
  5939. end
  5940. local v=iPart{Gear,0.25,0.5,0.25,co='Dark stone grey'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(0,1.25,0.6)*ca(0,0,90)} iNew{'CylinderMesh',v}
  5941. local v=iPart{Gear,0.3,0.3,0.3,co='Black'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(0,1.25,0.6)*ca(0,0,90)} iNew{'CylinderMesh',v}
  5942. local st,en=-0.3,0.3 local co=(st*-1+en)/4
  5943. for xx=st,en,co do --sheath holes
  5944. local v=iPart{Gear,0.2,0.2,0.7,co='Really black'} iNew{'Weld',v,Part0=base,Part1=v,C0=cn(xx+co/2,1.5,0)} iNew{'BlockMesh',v,Scale=v3(0.4,0.1,1)}
  5945. end
  5946. local v=iPart{Gear,0.75,0.2,0.75} iNew{'Weld',v,Part0=Torso,Part1=v,C0=cn(0.6*x,-0.65,1.1)*ca(45,0,-45*x)} iNew{'CylinderMesh',v}
  5947. local v=iPart{Gear,0.6,0.22,0.6,co='Dark stone grey'} iNew{'Weld',v,Part0=Torso,Part1=v,C0=cn(0.6*x,-0.65,1.1)*ca(45,0,-45*x)} iNew{'CylinderMesh',v}
  5948. local v2=iPart{Gear,0.2,0.2,0.2} iNew{'Weld',v2,Part0=v,Part1=v2,C0=cn(0,-0.35,0)*ca(180,0,0)} iNew{'SpecialMesh',v2,Scale=v3(0.3,0.65,0.3),MeshId=as.cone}
  5949. local v2=iPart{Gear,0.2,0.2,0.3} iNew{'Weld',v2,Part0=v,Part1=v2,C0=ca(0,200*x,0)*cn(0,0,-0.5)}
  5950. --sword handle
  5951. local h=iPart{Gear,0.3,1.05,0.3} local hw=iNew{'Weld',h,Part0=x==-1 and LA or RA,Part1=h,C0=cn(0,-1,0)*ca(-90,0,0)} iNew{'CylinderMesh',h}
  5952. Gt[x].h=hw
  5953. local v=iPart{Gear,0.32,0.2,0.32,co='Black'} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,-0.35,0)} iNew{'CylinderMesh',v}
  5954. local v=iPart{Gear,0.2,0.5,0.25} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.25,-0.15)}
  5955. local v=iPart{Gear,0.21,0.2,0.25,co='Black'} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.25+0.12,-0.125)}
  5956. local v=iPart{Gear,0.21,0.2,0.25,co='Black'} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.25-0.12,-0.125)}
  5957. local v=iPart{Gear,0.3,0.2,0.3} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.6,0)}
  5958. local v=iPart{Gear,0.3,0.2,0.3,type='WedgePart'} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.6,-0.3)}
  5959. local v=iPart{Gear,0.3,0.2,0.3,type='WedgePart'} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,0.6, 0.3)*ca(180,0,0)}
  5960. local v=iPart{Gear,0.2,0.5,0.2} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0, 0.3,-0.4)*ca( 14,0,0)} iNew{'CylinderMesh',v,Scale=v3(0.6,1,0.6)}
  5961. local v=iPart{Gear,0.2,0.2,0.2} iNew{'Weld',v,Part0=h,Part1=v,C0=cn(0,-0.25,-0.35)*ca(-20+180,0,0)} iNew{'SpecialMesh',v,MeshId=as.cone,Scale=v3(0.06,1,0.06)}
  5962. --sword blade
  5963. local bladelength=4
  5964. local blade=iPart{Gear,0.2,bladelength,0.4} iNew{'Weld',v,Part0=h,Part1=blade,C0=cn(0,0.7+bladelength/2,0.05)} iNew{'BlockMesh',blade,Scale=v3(0.4,1,1)}
  5965. local tip=iPart{Gear,0.2,0.5,0.4,type='WedgePart'} iNew{'Weld',v,Part0=blade,Part1=tip,C0=cn(0,bladelength/2+0.25,0)*ca(0,180,0)} iNew{'SpecialMesh',tip,MeshType='Wedge',Scale=v3(0.4,1,1)}
  5966. for i=-1.6,1.4,0.6 do
  5967. local v=iPart{Gear,0.2,0,0.52,co='White'} iNew{'Weld',v,Part0=blade,Part1=v,C0=cn(0,i+0.1,0)*ca(40,0,0)} iNew{'BlockMesh',v,Scale=v3(0.42,0.3,1)}
  5968. end
  5969.  
  5970. blade.Touched:connect(function(hit)
  5971. if debounce == false then
  5972. debounce = true
  5973. isPlayer = hit.Parent:FindFirstChild("Humanoid")
  5974. if isPlayer then
  5975. isPlayer:TakeDamage(13333333333333337)
  5976. wait(0.5)
  5977. end
  5978. debounce = false
  5979. end
  5980. end)
  5981.  
  5982. end
  5983. --Middle
  5984. local v=iPart{Gear,0.2,0.2,0.2} iNew{'Weld',v,Part0=Torso,Part1=v,C0=cn(0,-1,1.1)*ca(90,0,0)} iNew{'SpecialMesh',v,Scale=v3(0.4,1.6,0.16),MeshId=as.cone}
  5985. Gas=iNew{'Smoke',v,Opacity=0.4,RiseVelocity=25,Size=3,Enabled=false}
  5986. local v=iPart{Gear,0.6,0.3,0.6} iNew{'Weld',v,Part0=Torso,Part1=v,C0=cn(0,-0.85,0.8)} iNew{'CylinderMesh',v}
  5987. local v=iPart{Gear,0.3,0.3,0.35,co='Dark stone grey',type='WedgePart'} iNew{'Weld',v,Part0=Torso,Part1=v,C0=cn(0,-0.9,1.2)*ca(0,180,0)}
  5988. local belt=iPart{Gear,2.01,0.3,1.01,co='Black'} iNew{'Weld',belt,Part0=Torso,Part1=belt,C0=cn(0,-0.7,0)}
  5989. for x=-1,1,2 do --continuesides
  5990. local of=iPart{Gear,0.3,1.2,0.3} iNew{'Weld',belt,Part0=belt,Part1=of,C0=cn(1.15*x,-0.1,0)*ca(-80,0,0)}
  5991. local v=iPart{Gear,0.3,1.2,0.3} iNew{'Weld',v,Part0=of,Part1=v,C0=cn(0,0,0.15)} iNew{'CylinderMesh',v}
  5992. local v=iPart{Gear,0.2,0.2,0.2,co='Really black'} iNew{'Weld',v,Part0=of,Part1=v,C0=cn(0,0.51,0.15)} iNew{'CylinderMesh',v}
  5993. Gt[x].grap=v
  5994.  
  5995. end
  5996.  
  5997. for i,v in pairs(Torso:children()) do
  5998. if v:IsA'Sound' then v:Remove() end
  5999. end
  6000. for i,n in pairs(so) do
  6001. if as[n] then
  6002. local v=iNew{'Sound',Torso,Volume=0.5,Pitch=1,Looped=false,Name=n,SoundId=as[n]}
  6003. so[n]=v
  6004. end
  6005. end
  6006.  
  6007.  
  6008. key={}
  6009.  
  6010. print(#Gear:children())
  6011. Root.C0=cn(0,0,0)*ca(0,0,0)
  6012. Root.C1=cn(0,0,0)*ca(0,0,0)
  6013.  
  6014. WalkAnim=0
  6015. Walking=false
  6016. WalkM=8
  6017. Humanoid.Running:connect(function(Walk)
  6018. Walking=Walk>20 and true or false
  6019. end)
  6020.  
  6021. --LL.Touched:connect(function() if Torso.Velocity.magnitude>30 then Torso.Velocity=nov3 end end)
  6022. --RL.Touched:connect(function() if Torso.Velocity.magnitude>30 then Torso.Velocity=nov3 end end)
  6023. _G.Torso=Torso
  6024.  
  6025. wait()
  6026. Arms(true)
  6027. Legs()
  6028. GetCurrent=function()
  6029. cLA,cLA2=GetWeld(LAW,0)
  6030. cRA,cRA2=GetWeld(RAW,0)
  6031. cLL,cLL2=GetWeld(LLW,0)
  6032. cRL,cRL2=GetWeld(RLW,0)
  6033. cRO,cRO2=GetWeld(Root,0)
  6034. cNE,cNE2=GetWeld(Neck,0)
  6035. end
  6036. ReturnAnim=function()
  6037. GetCurrent()
  6038. local ogt={[-1]={},[1]={}}
  6039. for x=-1,1,2 do ogt[x][1],ogt[x][2]=GetWeld(Gt[x].h,0) end
  6040. local walk=WalkAnim~=0
  6041. for x=1,ASpeed do
  6042. SetWeld(LAW,0,x,ASpeed,cLA,cLA2,OrigLA,walk and Walk1*WAPerc or OrigLA2,1)
  6043. SetWeld(RAW,0,x,ASpeed,cRA,cRA2,OrigRA,walk and Walk2*WAPerc or OrigRA2,1)
  6044. if Hooks[-1] or Hooks[1] then else
  6045. SetWeld(LLW,0,x,ASpeed,cLL,cLL2,OrigLL,OrigLL2,1)
  6046. SetWeld(RLW,0,x,ASpeed,cRL,cRL2,OrigRL,OrigRL2,1) end
  6047. SetWeld(Root,0,x,ASpeed,cRO,cRO2,OrigRO,walk and Walk3*WAPerc or OrigRO2,1)
  6048. SetWeld(Neck,0,x,ASpeed,cNE,cNE2,OrigNE,walk and Walk4*WAPerc or OrigNE2,1)
  6049. for h=-1,1,2 do SetWeld(Gt[h].h,0,x,ASpeed,ogt[h][1],ogt[h][2],v3(0,-1,0),v3(-90,0,0),1) end
  6050. wait()
  6051. end
  6052. end
  6053.  
  6054. SpecialAttack=function(TYPE)
  6055. if TYPE==1 then
  6056. GetCurrent()
  6057. if Controls.Parent then Humanoid.Jump=true end
  6058. local legwas=LLW.Part1==LL and true or false
  6059. Legs(true)
  6060. for x=1,ASpeed/2 do
  6061. SetWeld(LAW,0,x,ASpeed/2,cLA,cLA2,OrigLA+v3(0,0.8,-0.2),v3(190,0, 10,1),1)
  6062. SetWeld(RAW,0,x,ASpeed/2,cRA,cRA2,OrigRA+v3(0,0.8,-0.2),v3(190,0,-10,1),1)
  6063. for h=-1,1,2 do SetWeld(Gt[h].h,0,x,ASpeed/2,v3(0,-1,0),v3(-90,0,0),v3(0,-1.25,0),v3(-135,0,0),1) end
  6064. SetWeld(LLW,0,x,ASpeed/2,cLL,cLL2,OrigLL+v3(0,0.6,-0.7),v3(-30,0,-10,1),1)
  6065. SetWeld(RLW,0,x,ASpeed/2,cRL,cRL2,OrigRL+v3(0,0.6,-0.7),v3(-30,0,10,1),1)
  6066. SetWeld(Root,0,x,ASpeed/2,cRO,cRO2,OrigRO,v3(90,0,0,1),1)
  6067. wait()
  6068. end
  6069. local spin,ii=360,3
  6070. for i=0,spin,spin/12 do
  6071. ii=ii+1 if ii%4==0 then so.Slash:Play() end
  6072. Root.C0=ca(90-i,0,0)
  6073. wait()
  6074. end
  6075. ClearWeld(Root)
  6076. ReturnAnim() Legs(legwas)
  6077. elseif TYPE==2 then
  6078. end
  6079. end
  6080.  
  6081. pcall(function() Torso.BG:Remove() Torso.RP:Remove() end)
  6082. BG=iNew{'BodyGyro',Torso,Name='BG',maxTorque=nov3}
  6083. BP=iNew{'RocketPropulsion',Torso,Name='RP'}
  6084. local rocketprop=iPart{Gear,1,1,1,an=true,cf=cn(0,-100,0),tr=1}
  6085. rocketprop.CanCollide=false
  6086. BP.Target=rocketprop
  6087. BP.ThrustP=5
  6088. BP.MaxTorque=nov3 --v3(400000,400000,0)
  6089. BP.MaxThrust=4000
  6090. BP.MaxSpeed=30
  6091. --BP.CartoonFactor=1
  6092. BP.TurnP,BP.TurnD=0,0
  6093. BP.ThrustD=0.03 --BP.ThrustD*30
  6094. BP.ThrustP=BP.ThrustP/1.5
  6095. BP.TargetRadius=0
  6096.  
  6097. pcall(function() workspace.Camera.Inv:Remove() end)
  6098. Inv=iNew{'Model',workspace.Camera,Name='Inv'}
  6099.  
  6100. Hooks={}
  6101. HookP={[-1]={},[1]={}}
  6102. Hit=nil
  6103. Grapple={}
  6104. key={}
  6105. mouse=Player:GetMouse()
  6106. mouse.KeyDown:connect(function(k)
  6107. coroutine.resume(coroutine.create(function()
  6108. key[k]=true
  6109. local gp={['q']=-1,['e']=1}
  6110. if k=='2' then
  6111. elseif (k==' ') and Controls.Parent==nil then
  6112. if WallWalk then WallWalk=false return end
  6113. WallWalk=false
  6114. Controls.Parent=game:service'ControllerService'
  6115. Humanoid.Sit=false
  6116. Legs(false)
  6117. OrigRO=v3(0,0,0)
  6118. Root.C0=cn(OrigRO)
  6119. ---
  6120. elseif k=='0' and Controls.Parent==nil and not Gas.Enabled and not WallWalking then
  6121. local bv=iNew{'BodyVelocity',Torso}
  6122. Gas.Enabled=true
  6123. repeat
  6124. local ss=(Hooks[1] or Hooks[-1]) and 5000 or 2000
  6125. bv.maxForce=v3(ss,2000,ss)
  6126. bv.velocity=Torso.CFrame.lookVector*125
  6127. wait()
  6128. until not key[k] or Controls.Parent
  6129. Gas.Enabled=false
  6130. bv:Remove()
  6131. elseif (k=='q' or k=='e') and not Grapple[k] then
  6132. so.Slash:Play()
  6133. Grapple[k]=true
  6134. local x=gp[k]
  6135. local ob1=Gt[x].grap
  6136. local speed=26
  6137. local hook=iPart{Gear,1,1,1,co='Black',an=true,cf=cn(ob1.Position,mouse.Hit.p)*ca(-90,0,0)} iNew{'SpecialMesh',hook,Scale=v3(0.4,2,0.4),MeshId=as.cone}
  6138. local rope=iPart{Gear,1,1,1,co='Black',an=true,cf=cf} local ropem=iNew{'CylinderMesh',rope}
  6139. hook.CanCollide=false
  6140. rope.CanCollide=false
  6141. local con=game:GetService'RunService'.RenderStepped:connect(function()
  6142. local mag=(ob1.Position-hook.Position).magnitude
  6143. ropem.Scale=v3(0.2,mag,0.2)
  6144. rope.CFrame=cn(ob1.Position,hook.Position)*cn(0,0,-mag/2)*ca(90,0,0)
  6145. if not rope or not rope.Parent then con:disconnect() end
  6146. end)
  6147. for i=1,200 do
  6148. if not key[k] then break end
  6149. local hit,pos=ray(hook.Position,hook.Position-hook.CFrame*cn(0,-speed,0).p,Char,speed+1)
  6150. if not hit then
  6151. hook.CFrame=hook.CFrame*cn(0,speed,0)*ca(-0.1,0,0)
  6152. else
  6153. hook.CFrame=hook.CFrame*cn(0,(hook.Position-pos).magnitude,0)
  6154. end
  6155. local mag=(ob1.Position-hook.Position).magnitude
  6156. if hit and hit.Transparency<1 and hit.CanCollide then
  6157. Hit=hit
  6158. HookP[x]={Hit,Hit.CFrame:toObjectSpace(hook.CFrame),pos}
  6159. so.Block:Play()
  6160. Hooks[x]=hook
  6161. Humanoid.Sit=true
  6162. Legs(true)
  6163. OrigRO=v3(0,1,0)
  6164. Root.C0=cn(OrigRO)
  6165. Controls.Parent=nil
  6166. break
  6167. end
  6168. wait()
  6169. end
  6170. ---
  6171. if Hit then
  6172. --hook.Reflectance=0.1
  6173. end
  6174. repeat wait()
  6175. until not key[k] or Controls.Parent --relase
  6176. Hooks[x]=nil
  6177. hook:Remove()
  6178. rope:Remove()
  6179. Grapple[k]=false
  6180. elseif k=='f' and LegAnim=='None' and TorsoAnim=='None' and LegAnim=='None' then
  6181. ArmAnim,LegAnim,TorsoAnim='','',''
  6182. SpecialAttack(1)
  6183. ArmAnim,LegAnim,TorsoAnim='None','None','None'
  6184. elseif k=='p' then
  6185. local mpos=mouse.Hit.p
  6186. local wall=iPart{Char,1,1,1,an=true}
  6187. repeat
  6188. local mag=(mpos-mouse.Hit.p).magnitude
  6189. wall.Size=v3(not key.l and 4 or 0.5,200,mag)
  6190. wall.CFrame=cn(mpos,mouse.Hit.p)*cn(0,100,-mag/2)
  6191. wait() until not key.p
  6192. local cf=wall.CFrame wall.Parent=workspace wall.CFrame=cf wall.CanCollide=true
  6193. elseif k=='l' then
  6194. wotm8=wotm8 and wotm8+150 or 75
  6195. iPart{workspace,120,30,120,an=true,cf=cn(0,180,wotm8+100)*ca(0,mran(-40,40),0)}.CanCollide=true
  6196. iPart{workspace,146,4,120,an=true,cf=cn(0,1,wotm8+100)}.CanCollide=true
  6197. --elseif k=='w' and (not Hooks[-1] and not Hooks[1]) then
  6198. --Humanoid.PlatformStand=false
  6199. end
  6200. end)) end)
  6201. mouse.KeyUp:connect(function(k)
  6202. coroutine.resume(coroutine.create(function()
  6203. key[k]=false
  6204.  
  6205. end)) end)
  6206. mouse.Button1Down:connect(function()
  6207. Button1=true
  6208. if ArmAnim=='None' then
  6209. ArmAnim,TorsoAnim='Attack','Attack'
  6210. thesteerclick=thesteerclick==1 and -1 or 1
  6211. local y=thesteerclick
  6212. GetCurrent()
  6213. local ASpeed=ASpeed/1.5
  6214. for x=1,ASpeed do
  6215. SetWeld(LAW,0,x,ASpeed,cLA,cLA2,OrigLA,v3(0,-135*y,(-90-LookAngle/2)*y),1)
  6216. SetWeld(RAW,0,x,ASpeed,cRA,cRA2,OrigRA,v3(0,-135*y,(-90-LookAngle/2)*y),1)
  6217. SetWeld(Root,0,x,ASpeed,cRO,cRO2,OrigRO,v3(0,-90*y,0),1)
  6218. SetWeld(Neck,0,x,ASpeed,cNE,cNE2,OrigNE,v3(0,90*y/3,0),1)
  6219. for h=-1,1,2 do SetWeld(Gt[h].h,0,x,ASpeed,v3(0,-1,0),v3(-90,0,0),v3(0,-1.25,0),v3(-180,0,0),1) end
  6220. wait()
  6221. end
  6222. GetCurrent()
  6223. so.Slash:Play()
  6224. for x=1,ASpeed do
  6225. SetWeld(LAW,0,x,ASpeed,cLA,cLA2,OrigLA+v3(0,0,-0.8),v3(0,-30*y,(-90-LookAngle/2)*y),1)
  6226. SetWeld(RAW,0,x,ASpeed,cRA,cRA2,OrigRA+v3(0,0,-0.8),v3(0,-30*y,(-90-LookAngle/2)*y),1)
  6227. SetWeld(Root,0,x,ASpeed,cRO,cRO2,OrigRO,v3(0,80*y,0),1)
  6228. SetWeld(Neck,0,x,ASpeed,cNE,cNE2,OrigNE,v3(0,-80*y/3,0),1)
  6229. wait()
  6230. end
  6231. ReturnAnim()
  6232. ArmAnim,TorsoAnim='None','None'
  6233. end
  6234. end)
  6235. mouse.Button1Up:connect(function()
  6236. Button1=false
  6237.  
  6238. end)
  6239.  
  6240.  
  6241. LegAnim='None'
  6242. ArmAnim='None'
  6243. TorsoAnim='None'
  6244. WalkSpeed={1,1,1,1,1,1,1,1}
  6245. ASpeed=8
  6246. OrigLA=v3(-1.5,0.5,0) OrigLA2=v3(5,0,-30)
  6247. OrigRA=v3( 1.5,0.5,0) OrigRA2=v3(5,0,30)
  6248. OrigLL=v3(-0.5,-1,0) OrigLL2=v3(0,0,0)
  6249. OrigRL=v3( 0.5,-1,0) OrigRL2=v3(0,0,0)
  6250. OrigRO=v3(0,0,0) OrigRO2=v3(0,0,0)
  6251. OrigNE=v3(0,1.5,0) OrigNE2=v3(0,0,0)
  6252. -----
  6253. --c/local x,y,z=workspace.RobroxMasterDX.Torso["Left Hip"].C0:toEulerAnglesXYZ() print(math.deg(y))
  6254. rocketfired=false
  6255. local spi,spix,span=0,0.5,1
  6256. while Gear.Parent do
  6257. local headpos,mousepos=Head.Position,mouse.Hit.p
  6258. XAngle=math.floor(cn(headpos,mousepos).lookVector.y*180)
  6259. LookAngle=XAngle<-20 and -20 or (XAngle>45 and 45 or XAngle)
  6260. WalkAnim=WalkAnim+(ArmAnim=='None' and (Walking and 1 or -1) or 0)
  6261. if WalkAnim<0 then WalkAnim=0 elseif WalkAnim>WalkM then WalkAnim=WalkM end
  6262. WAPerc=WalkAnim/WalkM
  6263. spi=spi+spix
  6264. local adj=spi*8
  6265. if math.abs(spi)>=span then spix=spix*-1 end
  6266. Walk1,Walk2,Walk3,Walk4=v3(0,90,-90+25+adj),v3(0,-90,90-25-adj),v3(-18-adj,0,spi*1.5),v3(18+adj,0,-spi*1.5)
  6267. if ArmAnim=='None' then
  6268. SetWeld(LAW,0,WalkAnim,WalkM,OrigLA,OrigLA2,OrigLA,Walk1,1)
  6269. SetWeld(RAW,0,WalkAnim,WalkM,OrigRA,OrigRA2,OrigRA,Walk2,1)
  6270. end
  6271. if TorsoAnim=='None' then
  6272. SetWeld(Root,0,WalkAnim,WalkM,OrigRO,OrigRO2,OrigRO,Walk3,1)
  6273. SetWeld(Neck,0,WalkAnim,WalkM,OrigNE,OrigNE2,OrigNE,Walk4,1)
  6274. end
  6275. local ws=28 for i=1,#WalkSpeed do ws=ws*WalkSpeed[i] end Humanoid.WalkSpeed=ws
  6276. --DoLoop Package
  6277. for i,v in pairs(LoopFunctions) do
  6278. v[2]=v[2]+1
  6279. v[3](v[2]/v[1])
  6280. if v[1]<=v[2] then LoopFunctions[i]=nil end
  6281. end
  6282. for x=-1,1,2 do
  6283. if Hooks[x] then Hooks[x].CFrame=HookP[x][1].CFrame*HookP[x][2] end
  6284. end
  6285. if Hooks[-1] or Hooks[1] then
  6286. local hook=(Hooks[1] and Hooks[-1]) and 0 or Hooks[1] or Hooks[-1]
  6287. HookPos=hook==0 and Hooks[1].Position+(Hooks[-1].Position-Hooks[1].Position)/2 or hook.CFrame.p
  6288. BP.MaxTorque=v3(0,0,0) BP.MaxSpeed=200 BP.MaxThrust=10*10000
  6289. rocketprop.CFrame=cn(HookPos+v3(0,4,0))
  6290. if not rocketfired then BP:Fire() rocketfired=true end
  6291. else BP.MaxTorque=nov3
  6292. if rocketfired then BP:Abort() rocketfired=false end
  6293. end
  6294. if Humanoid.Sit and not WallWalking then
  6295. SetWeld(LLW,0,1,1,OrigLL,OrigLL2,OrigLL+v3(0,0.6,-0.7),v3(-30,0,-14,1),1)
  6296. SetWeld(RLW,0,1,1,OrigRL,OrigRL2,OrigRL+v3(0,0.6,-0.7),v3(-30,0, 14,1),1)
  6297. if not WallWalking then BG.cframe=cn(Torso.Position,mouse.Hit.p)*cn(0,0,-1) end --TweenCF(3,9,bg.CFrame,cn(Torso.Position,mouse.Hit.p))*cn(0,0,-1)
  6298. BG.maxTorque=maxv3 --workspace.Camera.CoordinateFrame*cn(0,0,-1000).p
  6299. else
  6300. if not WallWalking then BG.maxTorque=nov3 end
  6301. end
  6302. wait()
  6303. end --TweenV3(0.5,1,Hooks[1].Position,Hooks[-1].Position)
  6304. end)
  6305.  
  6306. InjectScript3.MouseButton1Click:Connect(function()
  6307. -- --(Edited By Angel Seth I dont own this script This is two scripts i edited togethier)--
  6308. for i, v in pairs(game.Players:GetChildren()) do
  6309. emit = Instance.new("ParticleEmitter")
  6310. emit.Parent = v.Character.Torso
  6311. emit.Texture = "http://www.roblox.com/asset/?id=292916914"
  6312. emit.VelocitySpread = 20
  6313. end
  6314. a=Instance.new("Sky",game.Lighting)
  6315. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  6316. for i,v in pairs(b) do
  6317. a["Skybox"..v]="rbxassetid://244905904"
  6318. end
  6319. sc = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) --:D its WORKS!
  6320. q = Instance.new("Frame", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  6321. q.Name = "qe"
  6322. q.Position = UDim2.new(0, -10, 0, 0)
  6323. q.Size = UDim2.new(0, 260, 0, 90)
  6324. q.BackgroundColor3 = Color3.new(0,255,0)
  6325. q.Active = true
  6326. n = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  6327. n.Position = UDim2.new(0, 0, 0, 0)
  6328. n.Size = UDim2.new(0, 260, 0, 30)
  6329. n.Style = "RobloxRoundDefaultButton"
  6330. n.Text = "Pepe Path"
  6331. n.Active = true
  6332. a = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  6333. a.Name = "eq"
  6334. a.Position = UDim2.new(0, 0, 0, 30)
  6335. a.Size = UDim2.new(0, 260, 0, 30)
  6336. a.Style = "RobloxRoundDefaultButton"
  6337. a.Text = "Pepe Decal SPAM"
  6338. a.Active = true
  6339. no = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  6340. no.Name = "nope"
  6341. no.Position = UDim2.new(0, 0, 0, 60)
  6342. no.Size = UDim2.new(0, 260, 0, 30)
  6343. no.Style = "RobloxRoundDefaultButton"
  6344. no.Text = "Pepe Music"
  6345. no.Active = true
  6346. --table.getn
  6347. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.TextButton.MouseButton1Down:connect(function()
  6348. Player = game.Players.LocalPlayer
  6349.  
  6350. bin = Instance.new("HopperBin",Player.Backpack)
  6351. bin.Name = "Pepe Path"
  6352.  
  6353. function onKeyDown(Key)
  6354. if Key:lower() == "r" then
  6355. for _,v in pairs(game.Workspace:GetChildren()) do
  6356. if v.Name == "NewPart" then
  6357. if v:findFirstChild("creator") and v.creator.Value == game.Players.LocalPlayer then
  6358. v:Remove()
  6359. end
  6360. end
  6361. end
  6362. end
  6363. end
  6364.  
  6365. function press(mouse)
  6366. if sel == true then
  6367. local hit = mouse.Target
  6368. local point = mouse.Hit.p
  6369. local s = Instance.new("Part")
  6370. s.CanCollide = true
  6371. s.Size=Vector3.new(6,6,6)
  6372. s.Anchored = true
  6373. s.BrickColor = BrickColor.Green()
  6374. s.Transparency = 0
  6375. s.Velocity = mouse.Hit.lookVector * 100
  6376. s.Name = "NewPart"
  6377. s.Material = "Neon"
  6378. s.TopSurface = "Smooth"
  6379. s.BottomSurface = "Smooth"
  6380. s.Parent = game.Workspace
  6381. local t = Instance.new("SelectionBox",s)
  6382. t.Adornee = s
  6383. t.Color3 = s.BrickColor.Color
  6384. for i=0, 5 do
  6385. local D = Instance.new("Decal")
  6386. D.Name = "PEPE"
  6387. D.Face = i
  6388. D.Parent = s
  6389. D.Texture = "http://www.roblox.com/asset/?id=244905904"
  6390. end
  6391. game:GetService("Debris"):AddItem(s,120)
  6392. s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  6393. s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position.x,game.Players.LocalPlayer.Character.Torso.Position.y-6,game.Players.LocalPlayer.Character.Torso.Position.z)
  6394. s.CFrame = CFrame.new(s.Position,point)
  6395. local r = Instance.new("ObjectValue")
  6396. r.Value = game.Players.LocalPlayer
  6397. r.Parent = s
  6398. r.Name = "creator"
  6399. wait()
  6400. press(mouse)
  6401. end
  6402. end
  6403.  
  6404.  
  6405. function onButton1Down(mouse)
  6406. sel = true
  6407. if sel == true then
  6408. press(mouse)
  6409. end
  6410. end
  6411.  
  6412. function onButton1Up(mouse)
  6413. sel = false
  6414. end
  6415.  
  6416. function onEquippedLocal(mouse)
  6417. if mouse == nil then
  6418. print("Mouse not found")
  6419. return
  6420. end
  6421. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  6422. mouse.Button1Down:connect(function()
  6423. onButton1Down(mouse)
  6424. end)
  6425. mouse.Button1Up:connect(function()
  6426. onButton1Up(mouse)
  6427. end)
  6428. mouse.KeyDown:connect(onKeyDown)
  6429. end
  6430.  
  6431.  
  6432. bin.Selected:connect(onEquippedLocal)
  6433. end)
  6434. --PEPE SPAM
  6435. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.nope.MouseButton1Down:connect(function()
  6436. local s = Instance.new("Sound")
  6437. s.Name = "Sound"
  6438. s.SoundId = "http://www.roblox.com/asset/?id=264246827"
  6439. s.Volume = 1
  6440. s.Looped = true
  6441. s.archivable = false
  6442. s.Parent = game.Workspace
  6443. s:play()
  6444. end)
  6445. --PEPE SUIT ME
  6446. wait(1)
  6447. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.eq.MouseButton1Down:connect(function()
  6448. local ID =244905904
  6449. function spamDecal(v)
  6450. if v:IsA("Part") then
  6451. for i=0, 5 do
  6452. D = Instance.new("Decal")
  6453. D.Name = "pepedecalxd"
  6454. D.Face = i
  6455. D.Parent = v
  6456. D.Texture = ("http://www.roblox.com/asset/?id="..Id)
  6457. end
  6458. else
  6459. if v:IsA("Model") then
  6460. for a,b in pairs(v:GetChildren()) do
  6461. spamDecal(b)
  6462. end
  6463. end
  6464. end
  6465. end
  6466. function decalspam(id)
  6467. Id = id
  6468. for i,v in pairs(game.Workspace:GetChildren()) do
  6469. if v:IsA("Part") then
  6470. for i=0, 5 do
  6471. D = Instance.new("Decal")
  6472. D.Name = "pepedecalxd"
  6473. D.Face = i
  6474. D.Parent = v
  6475. D.Texture = ("http://www.roblox.com/asset/?id="..id)
  6476. end
  6477. else
  6478. if v:IsA("Model") then
  6479. for a,b in pairs(v:GetChildren()) do
  6480. spamDecal(b)
  6481. end
  6482. end
  6483. end
  6484. end
  6485. end
  6486.  
  6487. decalspam(ID)
  6488. end)
  6489. --RARE PEPE SCRIPT LOADED
  6490. dot = false
  6491. Player = game.Players.LocalPlayer
  6492. Character = Player.Character
  6493. ra = Character:FindFirstChild("Right Arm")
  6494. rl = Character:FindFirstChild("Right Leg")
  6495. la = Character:FindFirstChild("Left Arm")
  6496. ll = Character:FindFirstChild("Left Leg")
  6497. h = Character:FindFirstChild("Head")
  6498. to = Character:FindFirstChild("Torso")
  6499. Image = Instance.new("ImageLabel")
  6500. Character.Humanoid.MaxHealth = math.huge
  6501. wait()
  6502. Character.Humanoid.Health = math.huge
  6503. Billboard = Instance.new("BillboardGui")
  6504. t = Instance.new("HopperBin")
  6505. bb = Instance.new("BillboardGui",Character.Head)
  6506. bb.Enabled = true
  6507. bb.AlwaysOnTop = true
  6508. bb.Size = UDim2.new(0,200,0,50)
  6509. bb.StudsOffset = Vector3.new(0,1,0)
  6510. gui=Instance.new("TextBox",bb)
  6511. gui.Size = UDim2.new(0,200,0,50)
  6512. gui.Position=UDim2.new(0,0,0,-48)
  6513. gui.BackgroundColor3=Color3.new(255,255,255)
  6514. gui.BorderSizePixel = 0
  6515. gui.TextWrapped = true
  6516. gui.Font = "SourceSansBold"
  6517. gui.TextScaled = true
  6518. gui.TextXAlignment = "Left"
  6519. gui.TextYAlignment = "Top"
  6520. gui.Visible = true
  6521. gui.Text = "Rare Pepe script loaded"
  6522. gui.TextColor3 = Color3.new(0/255, 171/255, 0/255)
  6523. wait(2)
  6524. gui.Text = "Made by docrobloxman52"
  6525. gui.TextColor3 = Color3.new(0/255, 171/255, 0/255)
  6526. wait(2)
  6527. gui.BackgroundTransparency = 1
  6528. gui.Text = " "
  6529. gui.BorderColor3 = Color3.new(0,0,0)
  6530. Player.Chatted:connect(function(message)
  6531. gui.Visible = true
  6532. if dot == false then
  6533. if string.sub(message,2,2) == "/" or string.sub(message,1,1) == "/" then
  6534. gui.Text = "cmd: "..message
  6535. gui.BackgroundTransparency = 0
  6536. gui.TextColor3 = Color3.new(255,0,0)
  6537. else
  6538. gui.Text = message
  6539. gui.BackgroundTransparency = 0
  6540. gui.TextColor3 = Color3.new(0/255, 171/255, 0/255)
  6541. end
  6542. end
  6543. wait(5)
  6544. gui.Text = " "
  6545. gui.BackgroundTransparency = 1
  6546. end)
  6547. mouse = Player:GetMouse()
  6548. t.Parent = Player.Backpack
  6549. t.Name = " "
  6550. t.Selected:connect(function(tool)
  6551. tool.Button1Down:connect(function()
  6552. local p = Character.Head
  6553. local cf = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
  6554. local mag = (p.Position - mouse.Hit.p).magnitude if (mag > 2048) then return end
  6555. local r = Instance.new("Part",workspace)
  6556. r.Name = "Lazer"
  6557. r.formFactor = "Custom" r.TopSurface = "Smooth"
  6558. r.Size = Vector3.new(2,2,mag)
  6559. r.CFrame = cf
  6560. r.Anchored = true
  6561. r.CanCollide = false
  6562. r.Material = Enum.Material.Neon
  6563. r.BrickColor = BrickColor.new("Bright green")
  6564. local s = Instance.new("Sound",workspace)
  6565. s.SoundId = "rbxassetid://357614490"
  6566. s.Volume = 1
  6567. s:Play()
  6568. local e = Instance.new("Explosion",workspace)
  6569. e.BlastRadius = 10
  6570. e.BlastPressure = 10000
  6571. e.Position = mouse.Hit.p
  6572. wait(.1)
  6573. r:Destroy()
  6574. end)
  6575. mouse.KeyDown:connect(function(key)
  6576. if key == "0" then
  6577. local p = Instance.new("ParticleEmitter",Character.Torso)
  6578. p.Texture = "rbxassetid://244905904"
  6579. p.Name = "PepeP"
  6580. p.ZOffset = 5
  6581. p.Lifetime = NumberRange.new(.5,.5)
  6582. Character.Humanoid.WalkSpeed = 180
  6583. Character.Humanoid.JumpPower = 200
  6584. elseif key == "v" then
  6585. Character.Torso.CFrame = CFrame.new(mouse.hit.p+Vector3.new(0,5,0))
  6586. elseif key == "t" then
  6587. if Character and Character.Humanoid.Health ~= nil then
  6588. Character.Humanoid.Health = Character.Humanoid.MaxHealth
  6589. end
  6590. elseif key == "e" then
  6591. local name = Instance.new("Part",workspace)
  6592. name.Size = Vector3.new(10,10,10)
  6593. name.Shape = "Ball"
  6594. name.CanCollide = false
  6595. name.Anchored = true
  6596. name.BrickColor = BrickColor.new("Bright blue")
  6597. name.Material = Enum.Material.Neon
  6598. name.Position = Player.Character.Torso.Position
  6599. local name2 = Instance.new("Part",workspace)
  6600. name.Size = Vector3.new(10,10,10)
  6601. name.Shape = "Ball"
  6602. name.CanCollide = false
  6603. name.Anchored = true
  6604. name.BrickColor = BrickColor.new("Bright blue")
  6605. name.Material = Enum.Material.Neon
  6606. name.Position = Player.Character.Torso.Position
  6607. end
  6608. end)
  6609. mouse.KeyUp:connect(function(key)
  6610. if key == "0" then
  6611. local pd = Character.Torso:FindFirstChild("PepeP")
  6612. if pd ~= nil then
  6613. pd:Destroy()
  6614. end
  6615. Character.Humanoid.WalkSpeed = 16
  6616. Character.Humanoid.JumpPower = 50
  6617. end
  6618. end)
  6619. end)
  6620. local thing = Instance.new("Part",workspace)
  6621. thing.Name = "Spawn"
  6622. thing.Shape = "Ball"
  6623. thing.CanCollide = false
  6624. thing.Material = Enum.Material.Neon
  6625. thing.BrickColor = BrickColor.new("Institutional white")
  6626. thing.Size = Vector3.new(10,10,10)
  6627. thing.Position = Player.Character.Torso.Position
  6628. thing.Anchored = true
  6629. Character.Humanoid.WalkSpeed = 0
  6630. Character.Humanoid.JumpPower = 0
  6631. wait(5)
  6632. for i=1,5 do
  6633. thing.Transparency = (i / 5)
  6634. wait(.1)
  6635. end
  6636. wait()
  6637. Character.Humanoid.WalkSpeed = 16
  6638. Character.Humanoid.JumpPower = 50
  6639. Billboard.AlwaysOnTop = true
  6640. Image.Parent = Billboard
  6641. Billboard.Parent = Character.Head
  6642. Image.Size = UDim2.new(1, 0, 1, 0)
  6643. Billboard.Size = UDim2.new(5, 0, 5, 0)
  6644. Image.Position = UDim2.new(0, 0, 0, 0)
  6645. Billboard.StudsOffset = Vector3.new(0, 0, 0)
  6646. Image.BackgroundTransparency = 1
  6647. local BC = Character["Body Colors"]
  6648. BC.HeadColor = BrickColor.new("Bright green")
  6649. BC.LeftArmColor = BrickColor.new("Bright green")
  6650. BC.LeftLegColor = BrickColor.new("Bright green")
  6651. BC.RightArmColor = BrickColor.new("Bright green")
  6652. BC.RightLegColor = BrickColor.new("Bright green")
  6653. BC.TorsoColor = BrickColor.new("Bright green")
  6654. repeat wait() until Character and Character:findFirstChild("Head")
  6655. Billboard.Adornee = Character.Head
  6656. Image.Image = "rbxassetid://244905904"
  6657. while true do
  6658. Image.ImageColor3 = Color3.new(1,1,1)
  6659. wait(0.1)
  6660. Image.ImageColor3 = Color3.new(252/255,0/255,6/255)
  6661. wait(0.1)
  6662. Image.ImageColor3 = Color3.new(249/255, 121/255, 8/255)
  6663. wait(0.1)
  6664. Image.ImageColor3 = Color3.new(248/255, 250/255, 14/255)
  6665. wait(0.1)
  6666. Image.ImageColor3 = Color3.new(47/255, 1, 14/255)
  6667. wait(0.1)
  6668. Image.ImageColor3 = Color3.new(36/255, 1, 219/255)
  6669. wait(0.1)
  6670. Image.ImageColor3 = Color3.new(27/255, 71/255, 1)
  6671. wait(0.1)
  6672. Image.ImageColor3 = Color3.new(225/255, 0/255, 1)
  6673. wait(0.1)
  6674. Image.ImageColor3 = Color3.new(252/255, 0/255, 10/255)
  6675. wait(0.1)
  6676. end
  6677. end)
  6678.  
  6679. InjectScript4.MouseButton1Click:Connect(function()
  6680. --
  6681. --[[dont u even dare take credit
  6682. cus dis mai law ok and if u break my law i keel u in sb
  6683.  
  6684. btw there's no point in re-naming "LocalPlayer" to "YOURNAMEHERE" or whatever, localplayer is the CLIENT itself.
  6685. + i did a small update so you still have your clothes on when small ok?
  6686. ]]--
  6687.  
  6688. local ran,err = ypcall(function()
  6689. plr = game:service'Players'.LocalPlayer
  6690. char = plr.Character
  6691. mouse = plr:GetMouse()
  6692. humanoid = char:findFirstChild("Humanoid")
  6693. torso = char:findFirstChild("Torso")
  6694. head = char.Head
  6695. ra = char:findFirstChild("Right Arm")
  6696. la = char:findFirstChild("Left Arm")
  6697. rl = char:findFirstChild("Right Leg")
  6698. ll = char:findFirstChild("Left Leg")
  6699. rs = torso:findFirstChild("Right Shoulder")
  6700. ls = torso:findFirstChild("Left Shoulder")
  6701. rh = torso:findFirstChild("Right Hip")
  6702. lh = torso:findFirstChild("Left Hip")
  6703. neck = torso:findFirstChild("Neck")
  6704. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  6705. anim = char:findFirstChild("Animate")
  6706. rootpart = char:findFirstChild("HumanoidRootPart")
  6707. camera = workspace.CurrentCamera
  6708. do --Removing ROBLOX's new Looped bug >_>
  6709. local function rec(x)
  6710. for i,v in pairs(x:children()) do
  6711. if v:IsA'Animation' then
  6712. v.AnimationId = 'rbxassetid://28159255'
  6713. end
  6714. rec(v)
  6715. end
  6716. end
  6717. rec(anim) --the Animate script
  6718. end
  6719.  
  6720. humanoid.Jump = true
  6721.  
  6722. wait(.4)
  6723.  
  6724.  
  6725. if anim then
  6726. anim:Destroy()
  6727. end
  6728.  
  6729.  
  6730. rj.C0 = CFrame.new()
  6731. rj.C1 = CFrame.new()
  6732.  
  6733.  
  6734. super_annoying = Instance.new("Sound", head)
  6735. super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003"
  6736. super_annoying.Volume = 0.6
  6737. super_annoying.Looped = true
  6738. barrel_roll = Instance.new("Sound", head)
  6739. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
  6740. barrel_roll.Volume = 1
  6741. barrel_roll.Looped = true
  6742. dubstep_gun = Instance.new("Sound", head)
  6743. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491"
  6744. dubstep_gun.Volume = 0.6
  6745. dubstep_gun.Looped = true
  6746. you_are_pirate = Instance.new("Sound", head)
  6747. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
  6748. you_are_pirate.Volume = 0.6
  6749. you_are_pirate.Looped = true
  6750. cant_touch = Instance.new("Sound", head)
  6751. cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  6752. cant_touch.Volume = 1
  6753. cant_touch.Looped = true
  6754. gangy_style = Instance.new("Sound", head)
  6755. gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
  6756. gangy_style.Volume = 0.6
  6757. gangy_style.Looped = true
  6758. fox_say = Instance.new("Sound", head)
  6759. fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915"
  6760. fox_say.Volume = 0.5
  6761. fox_say.Looped = true
  6762. durk = Instance.new("Sound", head)
  6763. durk.SoundId = "http://www.roblox.com/asset/?id=130776787"
  6764. durk.Volume = 0.8
  6765. durk.Looped = true
  6766. sax_guy = Instance.new("Sound", head)
  6767. sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  6768. sax_guy.Volume = 0.6
  6769. sax_guy.Looped = true
  6770. heman = Instance.new("Sound", head)
  6771. heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  6772. heman.Volume = 1
  6773. heman.Looped = true
  6774. justin = Instance.new("Sound", head)
  6775. justin.SoundId = "http://www.roblox.com/asset/?id=130841252"
  6776. justin.Volume = 0.8
  6777. justin.Looped = true
  6778. brony_music = Instance.new("Sound", head)
  6779. brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874"
  6780. brony_music.Volume = 1
  6781. brony_music.Looped = true
  6782. spitfire = Instance.new("Sound", head)
  6783. spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596"
  6784. spitfire.Volume = 0.8
  6785. spitfire.Looped = true
  6786. burn_dem = Instance.new("Sound", head)
  6787. burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  6788. burn_dem.Volume = 1
  6789. burn_dem.Looped = true
  6790. aj = Instance.new("Sound", head)
  6791. aj.SoundId = "rbxassetid://177732780"
  6792. aj.Volume = 1
  6793. aj.Looped = true
  6794.  
  6795. Instance.new("HumanoidController", game:service'ControllerService')
  6796. Instance.new("SkateboardController", game:service'ControllerService')
  6797. Instance.new("VehicleController", game:service'ControllerService')
  6798.  
  6799.  
  6800.  
  6801.  
  6802. --minimize
  6803. rh.Parent = nil
  6804. lh.Parent = nil
  6805. rs.Parent = nil
  6806. ls.Parent = nil
  6807. neck.Parent = nil
  6808. rj.Parent = nil
  6809.  
  6810.  
  6811. rl.FormFactor = "Custom"
  6812. ll.FormFactor = "Custom"
  6813. ra.FormFactor = "Custom"
  6814. la.FormFactor = "Custom"
  6815. torso.FormFactor = "Custom"
  6816. head.FormFactor = "Custom"
  6817. rootpart.FormFactor = "Custom"
  6818.  
  6819.  
  6820.  
  6821.  
  6822. rootpart.Size = Vector3.new(.4, .4, .2)
  6823. rl.Size = Vector3.new(.2, .4, .2)
  6824. ll.Size = Vector3.new(.2, .4, .2)
  6825. ra.Size = Vector3.new(.2, .4, .2)
  6826. la.Size = Vector3.new(.2, .4, .2)
  6827. torso.Size = Vector3.new(.4, .4, .2)
  6828. head.Size = Vector3.new(.4, .2, .2)
  6829.  
  6830. rh.Parent = torso
  6831. lh.Parent = torso
  6832. rs.Parent = torso
  6833. ls.Parent = torso
  6834. neck.Parent = torso
  6835. rj.Parent = rootpart
  6836.  
  6837.  
  6838. if torso:findFirstChild("roblox") then
  6839. local p = Instance.new("Part", char)
  6840. p.FormFactor = "Custom"
  6841. p.Size = torso.Size
  6842. p.Transparency = 1
  6843. p:BreakJoints()
  6844. local w = Instance.new("Weld", char)
  6845. w.Part0 = p
  6846. w.Part1 = torso
  6847. torso:findFirstChild("roblox").Parent = p
  6848. end
  6849.  
  6850.  
  6851. --[[mesh1 = Instance.new("SpecialMesh", torso)
  6852. mesh1.Name = "Mesh"
  6853. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  6854. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  6855. mesh2 = Instance.new("SpecialMesh", la)
  6856. mesh2.Name = "Mesh"
  6857. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  6858. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  6859. mesh3 = Instance.new("SpecialMesh", ra)
  6860. mesh3.Name = "Mesh"
  6861. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  6862. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  6863. mesh4 = Instance.new("SpecialMesh", ll)
  6864. mesh4.Name = "Mesh"
  6865. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  6866. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  6867. mesh5 = Instance.new("SpecialMesh", rl)
  6868. mesh5.Name = "Mesh"
  6869. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  6870. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]]
  6871.  
  6872.  
  6873. --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
  6874.  
  6875. ls.C0 = CFrame.new(-.3,.1,0)
  6876. ls.C1 = CFrame.new(0,.1,0)
  6877. rs.C0 = CFrame.new(.3,.1,0)
  6878. rs.C1 = CFrame.new(0,.1,0)
  6879. rh.C0 = CFrame.new(.1,-.2,0)
  6880. rh.C1 = CFrame.new(0, .2, 0)
  6881. lh.C0 = CFrame.new(-.1,-.2,0)
  6882. lh.C1 = CFrame.new(0, .2, 0)
  6883. neck.C0 = CFrame.new(0,.2,0)
  6884. neck.C1 = CFrame.new(0,-.1,0)
  6885.  
  6886. bodyc = char:findFirstChild("Body Colors")
  6887. if bodyc then
  6888. bodyc:Destroy()
  6889. end
  6890.  
  6891. wait(1)
  6892.  
  6893. local body = {}
  6894. for i,v in pairs(char:children()) do
  6895. if v:IsA'BasePart' then
  6896. print(v.Name)
  6897. body[v.Name] = {Color = v.BrickColor}
  6898. end
  6899. end
  6900.  
  6901. print(body.Torso)
  6902. function restorecolors()
  6903. for _,bp in pairs(char:children()) do
  6904. if bp:IsA("BasePart") then
  6905. bp.BrickColor = body[bp.Name].Color
  6906. end
  6907. end
  6908. end
  6909.  
  6910.  
  6911. local LightForTorso = Instance.new("PointLight", head)
  6912. LightForTorso.Color = torso.BrickColor.Color
  6913. LightForTorso.Range = 7
  6914. LightForTorso.Brightness = 1.5
  6915.  
  6916.  
  6917.  
  6918.  
  6919. local slidecount = 0
  6920. local slidecountmax = 0
  6921. local anim = ""
  6922. local lastanim = anim
  6923. local speed = 0
  6924. local looking = false
  6925. local dancing = false
  6926. local superannoying = false
  6927. local barrelroll = false
  6928. local dubstepgun = false
  6929. local foxie = false
  6930. local durka = false
  6931. local saxguy = false
  6932. local heya = false
  6933. local jb = false
  6934. local bronymusic = false
  6935. local sheddy = false
  6936. local burndem = false
  6937. local global_wait = 0
  6938.  
  6939. count = 0
  6940. countspeed = 1
  6941. sine = 0
  6942. sinespeed = 1
  6943.  
  6944.  
  6945.  
  6946. humanoid.WalkSpeed = 11
  6947.  
  6948.  
  6949. local controllerService = game:GetService("ControllerService")
  6950. local controller = controllerService:GetChildren()[1]
  6951.  
  6952.  
  6953. local colors = {"White", "Really black"}
  6954.  
  6955. humanoid.Died:connect(function()
  6956. for cframe_parts = 0, 100 do
  6957. local p = Instance.new("Part")
  6958. p.FormFactor = "Custom"
  6959. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  6960. p.Size = Vector3.new(1, 1, 1)
  6961. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  6962. p.Locked = true
  6963. p.CanCollide = false
  6964. p.Anchored = true
  6965. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  6966. p.Parent = workspace
  6967. game:service'Debris':AddItem(p, 5)
  6968. coroutine.wrap(function()
  6969. while wait() do
  6970. if p ~= nil then
  6971. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  6972. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  6973. p.Transparency = p.Transparency + 0.015
  6974. else
  6975. break
  6976. end
  6977. end
  6978. end)()
  6979. end
  6980. for _,v in pairs(char:children()) do
  6981. if v:IsA("Part") then
  6982. v:Destroy()
  6983. end
  6984. end
  6985.  
  6986. end)
  6987.  
  6988.  
  6989. mouse.KeyDown:connect(function(k)
  6990.  
  6991. if string.byte(k) == 50 then
  6992.  
  6993. if dancing then return end
  6994. sitting = not sitting
  6995. if sitting then
  6996. local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  6997. local hitz,enz = workspace:FindPartOnRay(ray, char)
  6998.  
  6999.  
  7000. if hitz then
  7001. controller.Parent = nil
  7002. humanoid.WalkSpeed = 0
  7003. coroutine.wrap(function()
  7004. while wait() do
  7005. humanoid.PlatformStand = true
  7006. if sitting == false then humanoid.PlatformStand = false break end
  7007. end
  7008. end)()
  7009. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  7010. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  7011. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  7012. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  7013. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  7014.  
  7015. miniweld = Instance.new("Weld", char)
  7016. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  7017. miniweld.Part0 = hitz
  7018. miniweld.Part1 = rootpart
  7019. else
  7020. sitting = false
  7021. return
  7022. end
  7023. else
  7024. if miniweld then
  7025. miniweld:Destroy()
  7026. end
  7027. controller.Parent = controllerService
  7028. humanoid.PlatformStand = false
  7029. humanoid.WalkSpeed = 11
  7030. end
  7031. end
  7032.  
  7033. if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  7034. superannoying = false
  7035. barrelroll = false
  7036. heya = false
  7037. dubstepgun = false
  7038. youpirate = false
  7039. canttouch = false
  7040. gangnam = false
  7041. sheddy = false
  7042. durka = false
  7043. saxguy = false
  7044. foxie = false
  7045. burndem = false
  7046. bronymusic = false
  7047. brony_music:stop()
  7048. fox_say:stop()
  7049. spitfire:stop()
  7050. heman:stop()
  7051. justin:stop()
  7052. jb = false
  7053. durk:stop()
  7054. restorecolors()
  7055. burn_dem:stop()
  7056. if hat then
  7057. hat:Destroy()
  7058. end
  7059. sax_guy:stop()
  7060. gangy_style:stop()
  7061. cant_touch:stop()
  7062. you_are_pirate:stop()
  7063. dubstep_gun:stop()
  7064. super_annoying:stop()
  7065. barrel_roll:stop()
  7066. dancing = false
  7067. global_wait = 0
  7068. LightForTorso.Color = torso.BrickColor.Color
  7069. end
  7070.  
  7071. if k == "z" then
  7072. if dancing then return end
  7073. if not sitting then
  7074. dancing = true
  7075. superannoying = true
  7076. super_annoying:play()
  7077. end
  7078. end
  7079. if k == "k" then
  7080. if dancing then return end
  7081. if not sitting then
  7082. dancing = true
  7083. sheddy = true
  7084. spitfire:play()
  7085. end
  7086. end
  7087.  
  7088. if k == "n" then
  7089. if dancing then return end
  7090. if not sitting then
  7091. dancing = true
  7092. gangnam = true
  7093. gangy_style:play()
  7094. end
  7095. end
  7096.  
  7097. if k == "r" then
  7098. if dancing then return end
  7099. if not sitting then
  7100. dancing = true
  7101. burndem = true
  7102. burn_dem:play()
  7103. end
  7104. end
  7105.  
  7106.  
  7107. if k == "x" then
  7108. if dancing then return end
  7109. if not sitting then
  7110. dancing = true
  7111. barrelroll = true
  7112. barrel_roll:play()
  7113. hat = Instance.new("Part", char)
  7114. hat.FormFactor = "Custom"
  7115. hat.CanCollide = false
  7116. hat.Size = torso.Size
  7117. hat.Locked = true
  7118. hat:breakJoints()
  7119. local hatmesh = Instance.new("SpecialMesh", hat)
  7120. hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  7121. hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  7122. hatmesh.Scale = Vector3.new(.22, .2, .22)
  7123. local hatweld = Instance.new("Weld", hat)
  7124. hatweld.Part0 = hat
  7125. hatweld.Part1 = torso
  7126. end
  7127. end
  7128. if k == "h" then
  7129. if dancing then return end
  7130. if not sitting then
  7131. dancing = true
  7132. heman:play()
  7133. heya = true
  7134. hat = Instance.new("Part", char)
  7135. hat.FormFactor = "Custom"
  7136. hat.CanCollide = false
  7137. hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  7138. hat.Locked = true
  7139. hat.BrickColor = BrickColor.new("Hot pink")
  7140. hat:breakJoints()
  7141. local hatweld = Instance.new("Weld", hat)
  7142. hatweld.Part0 = hat
  7143. hatweld.Part1 = torso
  7144. end
  7145. end
  7146. if k == "j" then
  7147. if dancing then return end
  7148. if not sitting then
  7149. dancing = true
  7150. justin:play()
  7151. jb = true
  7152. hat = Instance.new("Part", char)
  7153. hat.FormFactor = "Custom"
  7154. hat.CanCollide = false
  7155. hat.Size = head.Size
  7156. hat.Locked = true
  7157. hat.BrickColor = BrickColor.new("Hot pink")
  7158. hat:breakJoints()
  7159. local hatmesh = Instance.new("SpecialMesh", hat)
  7160. hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  7161. hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  7162. hatmesh.Scale = Vector3.new(.23, .23, .23)
  7163. local hatweld = Instance.new("Weld", hat)
  7164. hatweld.Part0 = hat
  7165. hatweld.Part1 = head
  7166. hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  7167. end
  7168. end
  7169. if k == "c" then
  7170. if dancing then return end
  7171. if not sitting then
  7172. dancing = true
  7173. dubstepgun = true
  7174. dubstep_gun:play()
  7175. end
  7176. end
  7177. if k == "v" then
  7178. if dancing then return end
  7179. if not sitting then
  7180. dancing = true
  7181. youpirate = true
  7182. you_are_pirate:play()
  7183. hat = Instance.new("Part", char)
  7184. hat.FormFactor = "Custom"
  7185. hat.CanCollide = false
  7186. hat.Size = head.Size
  7187. hat.Locked = true
  7188. hat:breakJoints()
  7189. local hatmesh = Instance.new("SpecialMesh", hat)
  7190. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  7191. hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  7192. hatmesh.Scale = Vector3.new(.2, .2, .2)
  7193. local hatweld = Instance.new("Weld", hat)
  7194. hatweld.Part0 = hat
  7195. hatweld.Part1 = head
  7196. hatweld.C0 = CFrame.new(0, -0.15, 0)
  7197. end
  7198. end
  7199. if k == "m" then
  7200. if dancing then return end
  7201. if not sitting then
  7202. dancing = true
  7203. canttouch = true
  7204. cant_touch:play()
  7205. end
  7206. end
  7207. if k == "b" then
  7208. if dancing then return end
  7209. if not sitting then
  7210. dancing = true
  7211. bronymusic = true
  7212. brony_music:play()
  7213. for _,bp in pairs(char:children()) do
  7214. if bp:IsA("BasePart") then
  7215. bp.BrickColor = BrickColor.new("Lavender")
  7216. end
  7217. end
  7218. hat = Instance.new("Part", char)
  7219. hat.FormFactor = "Custom"
  7220. hat.CanCollide = false
  7221. hat.Size = head.Size
  7222. hat.Locked = true
  7223. hat.BrickColor = BrickColor.new("Lavender")
  7224. hat:breakJoints()
  7225. local hatmesh = Instance.new("SpecialMesh", hat)
  7226. hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
  7227. hatmesh.Scale = Vector3.new(.1, .2, .1)
  7228. local hatweld = Instance.new("Weld", hat)
  7229. hatweld.Part0 = hat
  7230. hatweld.Part1 = head
  7231. hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  7232. end
  7233. end
  7234.  
  7235. if k == "l" then
  7236. if dancing then return end
  7237. if not sitting then
  7238. dancing = true
  7239. foxie = true
  7240. fox_say:play()
  7241. hat = Instance.new("Part", char)
  7242. hat.FormFactor = "Custom"
  7243. hat.CanCollide = false
  7244. hat.Size = head.Size
  7245. hat.Locked = true
  7246. hat:breakJoints()
  7247. local hatmesh = Instance.new("SpecialMesh", hat)
  7248. hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  7249. hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  7250. hatmesh.Scale = Vector3.new(.2, .2, .2)
  7251. local hatweld = Instance.new("Weld", hat)
  7252. hatweld.Part0 = hat
  7253. hatweld.Part1 = head
  7254. hatweld.C0 = CFrame.new(0, -0.1, 0)
  7255. end
  7256.  
  7257. end
  7258. if k == "f" then
  7259. if dancing then return end
  7260. if not sitting then
  7261. dancing = true
  7262. durka = true
  7263. durk:play()
  7264. end
  7265. end
  7266. if k == "g" then
  7267. if dancing then return end
  7268. if not sitting then
  7269. dancing = true
  7270. saxguy = true
  7271. sax_guy:play()
  7272. hat = Instance.new("Part", char)
  7273. hat.FormFactor = "Custom"
  7274. hat.CanCollide = false
  7275. hat.Size = head.Size
  7276. hat.Locked = true
  7277. hat:breakJoints()
  7278. local hatmesh = Instance.new("SpecialMesh", hat)
  7279. hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  7280. hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  7281. hatmesh.Scale = Vector3.new(.25, .25, .25)
  7282. local hatweld = Instance.new("Weld", hat)
  7283. hatweld.Part0 = hat
  7284. hatweld.Part1 = la
  7285. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  7286. end
  7287. end
  7288.  
  7289.  
  7290.  
  7291.  
  7292. if k == "q" then
  7293. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  7294. if sitting then return end
  7295. looking = true
  7296. rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  7297. end
  7298. if k == "e" then
  7299. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  7300. if sitting then return end
  7301. looking = true
  7302. rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  7303. end
  7304. if k == "t" then
  7305. if dancing then return end
  7306. if sitting then return end
  7307. dancing = true
  7308. aj:play()
  7309. end
  7310. if string.byte(k) == 48 or string.byte(k) == 47 then
  7311. if sitting then return end
  7312. humanoid.WalkSpeed = 18
  7313. end
  7314. if string.byte(k) == 52 then
  7315. if sitting then return end
  7316. humanoid.WalkSpeed = 6
  7317. end
  7318. end)
  7319.  
  7320. mouse.KeyUp:connect(function(k)
  7321. if string.byte(k) == 48 or string.byte(k) == 47 then
  7322. if sitting then return end
  7323. humanoid.WalkSpeed = 11
  7324. end
  7325. if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  7326. superannoying = false
  7327. barrelroll = false
  7328. heya = false
  7329. dubstepgun = false
  7330. youpirate = false
  7331. canttouch = false
  7332. gangnam = false
  7333. sheddy = false
  7334. durka = false
  7335. saxguy = false
  7336. foxie = false
  7337. burndem = false
  7338. bronymusic = false
  7339. aj:stop()
  7340. brony_music:stop()
  7341. fox_say:stop()
  7342. spitfire:stop()
  7343. heman:stop()
  7344. justin:stop()
  7345. jb = false
  7346. durk:stop()
  7347. restorecolors()
  7348. burn_dem:stop()
  7349. if hat then
  7350. hat:Destroy()
  7351. end
  7352. sax_guy:stop()
  7353. gangy_style:stop()
  7354. cant_touch:stop()
  7355. you_are_pirate:stop()
  7356. dubstep_gun:stop()
  7357. super_annoying:stop()
  7358. barrel_roll:stop()
  7359. dancing = false
  7360. global_wait = 0
  7361. LightForTorso.Color = torso.BrickColor.Color
  7362. end
  7363.  
  7364.  
  7365. if k == "q" then
  7366. if looking then
  7367. if sitting then return end
  7368. rj.C0 = CFrame.new()
  7369. looking = false
  7370. end
  7371. end
  7372.  
  7373. if k == "e" then
  7374. if looking then
  7375. if sitting then return end
  7376. rj.C0 = CFrame.new()
  7377. looking = false
  7378. end
  7379. end
  7380. end)
  7381.  
  7382.  
  7383. game:service'RunService'.Stepped:connect(function()
  7384. count = (count % 100) + (countspeed/2)
  7385. angle = math.pi * math.sin(math.pi*2/100*count)
  7386.  
  7387. if slidecount < slidecountmax then
  7388. slidecount = slidecount + speed
  7389. end
  7390. if slidecount > slidecountmax then
  7391. slidecount = slidecount - speed
  7392. end
  7393. if global_wait == 380 then global_wait = 0 end
  7394.  
  7395. sine = sine + sinespeed
  7396. if not dancing then
  7397. if not sitting then
  7398. local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  7399. local hitz, enz = workspace:FindPartOnRay(ray, char)
  7400. if not hitz then
  7401. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  7402. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  7403. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0)
  7404. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  7405. if not looking then
  7406. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7407. end
  7408. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7409. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  7410.  
  7411. -- idle anim
  7412.  
  7413. anim = "Idle"
  7414. if anim ~= lastanim then
  7415. if lastanim == "Walking" then
  7416. speed = 0.5
  7417. slidecount = 1
  7418. slidecountmax = 0
  7419. elseif lastanim == "Running" then
  7420. speed = 2.5
  7421. slidecount = 5
  7422. slidecountmax = 0
  7423. else
  7424. slidecount = 0
  7425. slidecountmax = 0
  7426. end
  7427. end
  7428. countspeed = 1
  7429. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
  7430. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  7431. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
  7432. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  7433. if not looking then
  7434. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7435. end
  7436. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7437. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  7438. looking = false
  7439. -- walk anim
  7440. anim = "Walking"
  7441. if anim ~= lastanim then
  7442. speed = 0.2
  7443. slidecount = 0
  7444. slidecountmax = 1
  7445. if lastanim == "Running" then
  7446. slidecount = 5
  7447. end
  7448. end
  7449. countspeed = 6
  7450. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  7451. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  7452. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  7453. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  7454. rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  7455. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7456. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  7457. --run anim
  7458. anim = "Running"
  7459. if anim ~= lastanim then
  7460. speed = 1
  7461. slidecount = 0
  7462. slidecountmax = 5
  7463. if lastanim == "Walking" then
  7464. slidecount = 1
  7465. end
  7466. end
  7467.  
  7468. looking = false
  7469. countspeed = 9
  7470. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  7471. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  7472. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  7473. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  7474. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  7475. rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  7476. end
  7477.  
  7478. lastanim = anim
  7479. else
  7480. countspeed = 1
  7481. local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  7482. local hitz, enz = workspace:FindPartOnRay(ray, char)
  7483. if not hitz then
  7484. rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  7485. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  7486. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  7487. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  7488. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  7489. else
  7490. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  7491. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  7492. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  7493. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  7494. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  7495. end
  7496.  
  7497. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  7498. end
  7499. else
  7500. if superannoying then
  7501. countspeed = 5
  7502. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7503. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7504. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7505. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7506. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7507. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7508. elseif barrelroll then
  7509. countspeed = 5
  7510. sinespeed = 0.1
  7511. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  7512. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  7513. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  7514. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  7515. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7516. rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  7517. elseif dubstepgun then
  7518. global_wait = (global_wait % 380) + 1
  7519. countspeed = 5
  7520. if global_wait < 249 - 40 then
  7521. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  7522. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  7523. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7524. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7525. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7526. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7527. elseif global_wait > 249 - 40 then
  7528. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  7529. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  7530. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  7531. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  7532. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7533. rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  7534. end
  7535. elseif youpirate then
  7536. global_wait = (global_wait % 380) + 1
  7537. countspeed = 5
  7538. if global_wait < 79 then
  7539. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  7540. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  7541. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7542. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7543. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7544. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7545. elseif global_wait < 299 then
  7546. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  7547. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  7548. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  7549. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  7550. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  7551. rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7552. elseif global_wait > 299 then
  7553. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  7554. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  7555. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7556. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7557. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7558. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  7559. end
  7560. elseif canttouch then
  7561. countspeed = 5
  7562. global_wait = (global_wait % 160) + 1
  7563. if global_wait == 160 then global_wait = 0 end
  7564. if global_wait < 39 then
  7565. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7566. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7567. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7568. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7569. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7570. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  7571. elseif global_wait < 79 then
  7572. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  7573. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  7574. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  7575. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  7576. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7577. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  7578. elseif global_wait < 119 then
  7579. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  7580. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  7581. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  7582. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  7583. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7584. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  7585. torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  7586. elseif global_wait > 119 then
  7587. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  7588. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  7589. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  7590. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  7591. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7592. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  7593. torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  7594. end
  7595. elseif gangnam then
  7596. countspeed = 5
  7597. if global_wait == 180 then global_wait = 0 end
  7598. global_wait = (global_wait % 180) + 1
  7599. if global_wait < 89 then
  7600. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  7601. rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
  7602. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7603. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7604. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7605. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7606. elseif global_wait > 89 then
  7607. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  7608. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  7609. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7610. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7611. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7612. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7613. end
  7614. elseif foxie then
  7615. countspeed = 5
  7616. global_wait = (global_wait % 380) + 2
  7617. if global_wait < 89 then
  7618. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  7619. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  7620. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7621. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7622. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7623. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  7624. elseif global_wait > 89 then
  7625. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  7626. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  7627. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  7628. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  7629. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  7630. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7631. end
  7632. elseif durka then
  7633. countspeed = 2
  7634. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  7635. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  7636. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  7637. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
  7638. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7639. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  7640. elseif saxguy then
  7641. countspeed = 5
  7642. ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  7643. rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  7644. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  7645. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  7646. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  7647. rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  7648. elseif heya then
  7649. countspeed = 5
  7650. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  7651. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  7652. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7653. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7654. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7655. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  7656. elseif jb then
  7657. countspeed = 5
  7658. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  7659. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  7660. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7661. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7662. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7663. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7664. elseif bronymusic then
  7665. countspeed = 5
  7666. ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  7667. rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  7668. lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  7669. rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  7670. neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  7671. rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  7672. elseif sheddy then
  7673. countspeed = 7
  7674. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  7675. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  7676. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7677. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7678. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7679. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7680. elseif burndem then
  7681. countspeed = 4
  7682. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  7683. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  7684. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  7685. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  7686. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7687. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  7688. elseif aj.IsPlaying then
  7689. countspeed = 5
  7690. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0)
  7691. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0)
  7692. lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0) * CFrame.Angles(angle*0.05, 0, -0.06)
  7693. rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06)
  7694. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  7695. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0)
  7696. end
  7697. end
  7698. end)
  7699.  
  7700.  
  7701. plr.Chatted:connect(function(msg)
  7702. game:service'Chat':Chat(head, msg, 1)
  7703. if msg == "die/" then
  7704. char:breakJoints()
  7705. end
  7706. end)
  7707.  
  7708. end)
  7709. if not ran and err then
  7710. print(err)
  7711. end
  7712. end)
  7713.  
  7714. InjectScript5.MouseButton1Click:Connect(function()
  7715. -- -- ty krystalburger
  7716. --[[
  7717. Thomas The Dank Engine:
  7718. By: KrystalTeam
  7719. Features: Being a dank engine that kill people
  7720. Version: 1.0.0.2
  7721. --]]
  7722.  
  7723. local p = game.Players.LocalPlayer.Character
  7724. local weld = Instance.new("Weld",p.Torso)
  7725. weld.Part0 = p.Torso
  7726.  
  7727. local train = Instance.new("Part",p.Torso)
  7728. train.Anchored = true
  7729. train.CanCollide = false
  7730. train.Size = Vector3.new(3,2,6)
  7731. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  7732. weld.Part1 = train
  7733. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  7734. train.Anchored = false
  7735. local TrainMesh = Instance.new("SpecialMesh",train)
  7736. TrainMesh.MeshType = Enum.MeshType.FileMesh
  7737. TrainMesh.Scale = Vector3.new(0.020,0.020,0.015)
  7738. TrainMesh.MeshId = "rbxassetid://431017802"
  7739. TrainMesh.TextureId = "rbxassetid://431017809"
  7740.  
  7741.  
  7742. local weld2 = Instance.new("Weld",p.Torso)
  7743. weld2.Part0 = p.Torso
  7744. local Smoke = Instance.new("Part",p.Torso)
  7745. Smoke.Anchored = true
  7746. Smoke.CanCollide = false
  7747. Smoke.Size = Vector3.new(1,1,1)
  7748. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  7749. weld2.Part1 = Smoke
  7750. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  7751. Smoke.Anchored = false
  7752. Smoke.Transparency = 1;
  7753.  
  7754. local Particle = Instance.new("ParticleEmitter",Smoke)
  7755. Particle.Rate = 50;
  7756. Particle.Speed = NumberRange.new(30,60);
  7757. Particle.VelocitySpread = 4;
  7758. Particle.Texture = "rbxassetid://133619974"
  7759.  
  7760. local Light = Instance.new("SpotLight",train)
  7761. Light.Angle = 45;
  7762. Light.Brightness = 100;
  7763. Light.Face = Enum.NormalId.Back;
  7764. Light.Range = 30;
  7765.  
  7766. p.Humanoid.WalkSpeed = 60;
  7767.  
  7768.  
  7769. for i,v in pairs(p:GetChildren()) do
  7770. if v:IsA("Part") then
  7771. v.Transparency = 1;
  7772. elseif v:IsA("Hat") then
  7773. v:Destroy()
  7774. elseif v:IsA("Model") then
  7775. v:Destroy()
  7776. end
  7777. end
  7778.  
  7779. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  7780. train.Touched:connect(function(p)
  7781. if p.Parent then
  7782. if p.Parent:IsA("Model") then
  7783. if game.Players:FindFirstChild(p.Parent.Name) then
  7784. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  7785. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  7786. local Whistle = SFX(475073913)
  7787. Whistle:Play()
  7788. end
  7789. end
  7790. end
  7791. end
  7792. end)
  7793.  
  7794. local Music = SFX(190819252)
  7795. Music.Looped = true;
  7796. wait(1)
  7797. Music:Play();
  7798. -- ~CL 2016
  7799. end)
  7800.  
  7801. InjectScript6.MouseButton1Click:Connect(function()
  7802. -- --[[ Leaked by CLarramore ]]--
  7803. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  7804. -- I am now spreading this on
  7805. -- You can now make ur edits with this
  7806. -- ENTIRELY OPEN SOURCED!!!! YAY!
  7807. -- 1337 views. l0l
  7808. -- NightOwlAce dont kill me
  7809. Player=game:GetService("Players").LocalPlayer
  7810. Character=Player.Character
  7811. PlayerGui=Player.PlayerGui
  7812. Backpack=Player.Backpack
  7813. Torso=Character.Torso
  7814. Head=Character.Head
  7815. Humanoid=Character.Humanoid
  7816. m=Instance.new('Model',Character)
  7817. LeftArm=Character["Left Arm"]
  7818. LeftLeg=Character["Left Leg"]
  7819. RightArm=Character["Right Arm"]
  7820. RightLeg=Character["Right Leg"]
  7821. LS=Torso["Left Shoulder"]
  7822. LH=Torso["Left Hip"]
  7823. RS=Torso["Right Shoulder"]
  7824. RH=Torso["Right Hip"]
  7825. Face = Head.face
  7826. Neck=Torso.Neck
  7827. it=Instance.new
  7828. attacktype=1
  7829. vt=Vector3.new
  7830. cf=CFrame.new
  7831. euler=CFrame.fromEulerAnglesXYZ
  7832. angles=CFrame.Angles
  7833. cloaked=false
  7834. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  7835. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  7836. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  7837. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  7838. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  7839. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  7840. RootPart=Character.HumanoidRootPart
  7841. RootJoint=RootPart.RootJoint
  7842. RootCF=euler(-1.57,0,3.14)
  7843. attack = false
  7844. attackdebounce = false
  7845. deb=false
  7846. equipped=true
  7847. hand=false
  7848. MMouse=nil
  7849. combo=0
  7850. mana=0
  7851. trispeed=1
  7852. pathtrans=.7
  7853. attackmode='none'
  7854. local idle=0
  7855. local Anim="Idle"
  7856. local Effects={}
  7857. local gun=false
  7858. local shoot=false
  7859. player=nil
  7860. cloak=false
  7861. lightcolor='Bright blue'
  7862.  
  7863. local Color1=Torso.BrickColor
  7864.  
  7865. local fengui=it("GuiMain")
  7866. fengui.Parent=Player.PlayerGui
  7867. fengui.Name="WeaponGUI"
  7868. local fenframe=it("Frame")
  7869. fenframe.Parent=fengui
  7870. fenframe.BackgroundColor3=Color3.new(255,255,255)
  7871. fenframe.BackgroundTransparency=1
  7872. fenframe.BorderColor3=Color3.new(17,17,17)
  7873. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  7874. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  7875. local fenbarmana1=it("TextLabel")
  7876. fenbarmana1.Parent=fenframe
  7877. fenbarmana1.Text=" "
  7878. fenbarmana1.BackgroundTransparency=0
  7879. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  7880. fenbarmana1.SizeConstraint="RelativeXY"
  7881. fenbarmana1.TextXAlignment="Center"
  7882. fenbarmana1.TextYAlignment="Center"
  7883. fenbarmana1.Position=UDim2.new(0,0,0,0)
  7884. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  7885. local fenbarmana2=it("TextLabel")
  7886. fenbarmana2.Parent=fenframe
  7887. fenbarmana2.Text=" "
  7888. fenbarmana2.BackgroundTransparency=0
  7889. fenbarmana2.BackgroundColor3=Torso.Color
  7890. fenbarmana2.SizeConstraint="RelativeXY"
  7891. fenbarmana2.TextXAlignment="Center"
  7892. fenbarmana2.TextYAlignment="Center"
  7893. fenbarmana2.Position=UDim2.new(0,0,0,0)
  7894. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  7895. local fenbarmana3=it("TextLabel")
  7896. fenbarmana3.Parent=fenframe
  7897. fenbarmana3.Text=" "
  7898. fenbarmana3.BackgroundTransparency=0
  7899. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  7900. fenbarmana3.SizeConstraint="RelativeXY"
  7901. fenbarmana3.TextXAlignment="Center"
  7902. fenbarmana3.TextYAlignment="Center"
  7903. fenbarmana3.Position=UDim2.new(0,0,0,0)
  7904. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  7905. local fenbarmana4=it("TextLabel")
  7906. fenbarmana4.Parent=fenframe
  7907. fenbarmana4.Text="Energy("..mana..")"
  7908. fenbarmana4.BackgroundTransparency=1
  7909. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  7910. fenbarmana4.SizeConstraint="RelativeXY"
  7911. fenbarmana4.TextXAlignment="Center"
  7912. fenbarmana4.TextYAlignment="Center"
  7913. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  7914. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  7915. fenbarmana4.FontSize="Size9"
  7916. fenbarmana4.TextStrokeTransparency=0
  7917. fenbarmana4.TextColor=BrickColor.new("White")
  7918.  
  7919. mouse=Player:GetMouse()
  7920. --save shoulders
  7921. RSH, LSH=nil, nil
  7922. --welds
  7923. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  7924. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  7925. LH=Torso["Left Hip"]
  7926. RH=Torso["Right Hip"]
  7927. TorsoColor=Torso.BrickColor
  7928. function NoOutline(Part)
  7929. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  7930. end
  7931. player=Player
  7932. ch=Character
  7933. RSH=ch.Torso["Right Shoulder"]
  7934. LSH=ch.Torso["Left Shoulder"]
  7935. --
  7936. RSH.Parent=nil
  7937. LSH.Parent=nil
  7938. --
  7939. RW.Name="Right Shoulder"
  7940. RW.Part0=ch.Torso
  7941. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  7942. RW.C1=cf(0, 0.5, 0)
  7943. RW.Part1=ch["Right Arm"]
  7944. RW.Parent=ch.Torso
  7945. --
  7946. LW.Name="Left Shoulder"
  7947. LW.Part0=ch.Torso
  7948. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7949. LW.C1=cf(0, 0.5, 0)
  7950. LW.Part1=ch["Left Arm"]
  7951. LW.Parent=ch.Torso
  7952.  
  7953. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  7954. local fp=it("Part")
  7955. fp.formFactor=formfactor
  7956. fp.Parent=parent
  7957. fp.Reflectance=reflectance
  7958. fp.Transparency=transparency
  7959. fp.CanCollide=false
  7960. fp.Locked=true
  7961. fp.BrickColor=brickcolor
  7962. fp.Name=name
  7963. fp.Size=size
  7964. fp.Position=Torso.Position
  7965. NoOutline(fp)
  7966. fp.Material="Neon"
  7967. fp:BreakJoints()
  7968. return fp
  7969. end
  7970.  
  7971. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  7972. local mesh=it(Mesh)
  7973. mesh.Parent=part
  7974. if Mesh=="SpecialMesh" then
  7975. mesh.MeshType=meshtype
  7976. if meshid~="nil" then
  7977. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  7978. end
  7979. end
  7980. mesh.Offset=offset
  7981. mesh.Scale=scale
  7982. return mesh
  7983. end
  7984.  
  7985. function weld(parent,part0,part1,c0)
  7986. local weld=it("Weld")
  7987. weld.Parent=parent
  7988. weld.Part0=part0
  7989. weld.Part1=part1
  7990. weld.C0=c0
  7991. return weld
  7992. end
  7993.  
  7994. local Color1=Torso.BrickColor
  7995.  
  7996. local bodvel=Instance.new("BodyVelocity")
  7997. local bg=Instance.new("BodyGyro")
  7998.  
  7999. function swait(num)
  8000. if num==0 or num==nil then
  8001. game:service'RunService'.Stepped:wait(0)
  8002. else
  8003. for i=0,num do
  8004. game:service'RunService'.Stepped:wait(0)
  8005. end
  8006. end
  8007. end
  8008.  
  8009.  
  8010. so = function(id,par,vol,pit)
  8011. coroutine.resume(coroutine.create(function()
  8012. local sou = Instance.new("Sound",par or workspace)
  8013. sou.Volume=vol
  8014. sou.Pitch=pit or 1
  8015. sou.SoundId=id
  8016. swait()
  8017. sou:play()
  8018. game:GetService("Debris"):AddItem(sou,6)
  8019. end))
  8020. end
  8021.  
  8022. function clerp(a,b,t)
  8023. local qa = {QuaternionFromCFrame(a)}
  8024. local qb = {QuaternionFromCFrame(b)}
  8025. local ax, ay, az = a.x, a.y, a.z
  8026. local bx, by, bz = b.x, b.y, b.z
  8027. local _t = 1-t
  8028. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  8029. end
  8030.  
  8031. function QuaternionFromCFrame(cf)
  8032. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  8033. local trace = m00 + m11 + m22
  8034. if trace > 0 then
  8035. local s = math.sqrt(1 + trace)
  8036. local recip = 0.5/s
  8037. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  8038. else
  8039. local i = 0
  8040. if m11 > m00 then
  8041. i = 1
  8042. end
  8043. if m22 > (i == 0 and m00 or m11) then
  8044. i = 2
  8045. end
  8046. if i == 0 then
  8047. local s = math.sqrt(m00-m11-m22+1)
  8048. local recip = 0.5/s
  8049. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  8050. elseif i == 1 then
  8051. local s = math.sqrt(m11-m22-m00+1)
  8052. local recip = 0.5/s
  8053. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  8054. elseif i == 2 then
  8055. local s = math.sqrt(m22-m00-m11+1)
  8056. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  8057. end
  8058. end
  8059. end
  8060.  
  8061. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  8062. local xs, ys, zs = x + x, y + y, z + z
  8063. local wx, wy, wz = w*xs, w*ys, w*zs
  8064. local xx = x*xs
  8065. local xy = x*ys
  8066. local xz = x*zs
  8067. local yy = y*ys
  8068. local yz = y*zs
  8069. local zz = z*zs
  8070. 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))
  8071. end
  8072.  
  8073. function QuaternionSlerp(a, b, t)
  8074. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  8075. local startInterp, finishInterp;
  8076. if cosTheta >= 0.0001 then
  8077. if (1 - cosTheta) > 0.0001 then
  8078. local theta = math.acos(cosTheta)
  8079. local invSinTheta = 1/math.sin(theta)
  8080. startInterp = math.sin((1-t)*theta)*invSinTheta
  8081. finishInterp = math.sin(t*theta)*invSinTheta
  8082. else
  8083. startInterp = 1-t
  8084. finishInterp = t
  8085. end
  8086. else
  8087. if (1+cosTheta) > 0.0001 then
  8088. local theta = math.acos(-cosTheta)
  8089. local invSinTheta = 1/math.sin(theta)
  8090. startInterp = math.sin((t-1)*theta)*invSinTheta
  8091. finishInterp = math.sin(t*theta)*invSinTheta
  8092. else
  8093. startInterp = t-1
  8094. finishInterp = t
  8095. end
  8096. end
  8097. 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
  8098. end
  8099.  
  8100. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  8101. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  8102. end
  8103.  
  8104. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  8105. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8106. prt.Anchored=true
  8107. prt.CFrame=cframe
  8108. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  8109. --http://www.roblox.com/asset/?id=4770560
  8110. game:GetService("Debris"):AddItem(prt,2)
  8111. CF=prt.CFrame
  8112. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  8113. for i=0,1,0.2 do
  8114. wait()
  8115. Part.CFrame=CF*cf(0,0,-0.4)
  8116. end
  8117. for i=0,1,delay do
  8118. wait()
  8119. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  8120. Mesh.Scale=Mesh.Scale
  8121. end
  8122. for i=0,1,0.1 do
  8123. wait()
  8124. Part.Transparency=i
  8125. end
  8126. Part.Parent=nil
  8127. end),prt,msh,CF)
  8128. end
  8129.  
  8130. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8131. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8132. prt.Anchored=true
  8133. prt.CFrame=cframe
  8134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  8135. game:GetService("Debris"):AddItem(prt,5)
  8136. coroutine.resume(coroutine.create(function(Part,Mesh)
  8137. for i=0,1,delay do
  8138. wait()
  8139. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8140. Part.Transparency=i
  8141. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8142. end
  8143. Part.Parent=nil
  8144. end),prt,msh)
  8145. end
  8146.  
  8147. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  8148. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8149. prt.Anchored=false
  8150. prt.CFrame=cframe
  8151. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  8152. local wld=weld(prt,prt,Parent,cframe)
  8153. game:GetService("Debris"):AddItem(prt,5)
  8154. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  8155. for i=0,1,delay do
  8156. wait()
  8157. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  8158. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8159. Part.Transparency=i
  8160. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8161. end
  8162. Part.Parent=nil
  8163. end),prt,msh,wld)
  8164. end
  8165.  
  8166. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  8167. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8168. prt.Anchored=false
  8169. prt.CFrame=cframe
  8170. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  8171. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  8172. game:GetService("Debris"):AddItem(prt,5)
  8173. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  8174. for i=0,1,delay do
  8175. wait()
  8176. Weld.C0=euler(i*20,0,0)
  8177. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8178. Part.Transparency=i
  8179. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8180. end
  8181. Part.Parent=nil
  8182. end),prt,msh,wld)
  8183. end
  8184.  
  8185. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8186. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8187. prt.Anchored=true
  8188. prt.CFrame=cframe
  8189. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  8190. game:GetService("Debris"):AddItem(prt,2)
  8191. coroutine.resume(coroutine.create(function(Part,Mesh)
  8192. for i=0,1,delay do
  8193. wait()
  8194. Part.CFrame=Part.CFrame
  8195. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8196. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8197. prt2.Anchored=true
  8198. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8199. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  8200. game:GetService("Debris"):AddItem(prt2,2)
  8201. coroutine.resume(coroutine.create(function(Part,Mesh)
  8202. for i=0,1,0.1 do
  8203. wait()
  8204. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  8205. end
  8206. Part.Parent=nil
  8207. end),prt2,msh2)
  8208. end
  8209. for i=0,1,delay*2 do
  8210. wait()
  8211. Part.CFrame=Part.CFrame
  8212. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  8213. end
  8214. Part.Parent=nil
  8215. end),prt,msh)
  8216. end
  8217.  
  8218. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8219. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8220. prt.Anchored=true
  8221. prt.CFrame=cframe
  8222. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  8223. game:GetService("Debris"):AddItem(prt,2)
  8224. coroutine.resume(coroutine.create(function(Part,Mesh)
  8225. for i=0,1,delay do
  8226. wait()
  8227. Part.CFrame=Part.CFrame
  8228. Part.Transparency=i
  8229. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8230. end
  8231. Part.Parent=nil
  8232. end),prt,msh)
  8233. end
  8234.  
  8235. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  8236. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8237. prt.Anchored=true
  8238. prt.CFrame=cframe*euler(x2,y2,z2)
  8239. --"http://www.roblox.com/asset/?id=168892465"
  8240. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  8241. game:GetService("Debris"):AddItem(prt,2)
  8242. coroutine.resume(coroutine.create(function(Part,Mesh)
  8243. for i=0,1,0.03 do
  8244. wait()
  8245. Part.CFrame=Part.CFrame
  8246. Part.Transparency=i
  8247. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8248. end
  8249. Part.Parent=nil
  8250. end),prt,msh)
  8251. end
  8252.  
  8253. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  8254. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8255. prt.Anchored=true
  8256. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8257. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  8258. game:GetService("Debris"):AddItem(prt,2)
  8259. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  8260. CF=Part.CFrame
  8261. Numbb=0
  8262. randnumb=math.random()/10
  8263. rand1=math.random()/10
  8264. for i=0,1,rand1 do
  8265. wait()
  8266. CF=CF*cf(0,math.random()/2,0)
  8267. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  8268. Part.CFrame=CF*euler(Numbb,0,0)
  8269. Part.Transparency=i
  8270. Numbb=Numbb+randnumb
  8271. end
  8272. Part.Parent=nil
  8273. end),prt,CF,Numbb,randnumb)
  8274. end
  8275.  
  8276. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8277. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8278. prt.Anchored=true
  8279. prt.CFrame=cframe
  8280. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  8281. game:GetService("Debris"):AddItem(prt,5)
  8282. coroutine.resume(coroutine.create(function(Part,Mesh)
  8283. for i=0,1,delay do
  8284. wait()
  8285. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  8286. Part.Transparency=i
  8287. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8288. end
  8289. Part.Parent=nil
  8290. end),prt,msh)
  8291. end
  8292.  
  8293. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8294. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8295. prt.Anchored=true
  8296. prt.CFrame=cframe
  8297. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  8298. game:GetService("Debris"):AddItem(prt,2)
  8299. coroutine.resume(coroutine.create(function(Part,Mesh)
  8300. for i=0,1,delay do
  8301. wait()
  8302. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  8303. Part.Transparency=i
  8304. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8305. end
  8306. Part.Parent=nil
  8307. end),prt,msh)
  8308. end
  8309.  
  8310. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  8311. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8312. prt.Anchored=true
  8313. prt.CFrame=cframe*cf(x,y,z)
  8314. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  8315. game:GetService("Debris"):AddItem(prt,5)
  8316. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  8317. local num=math.random()
  8318. local num2=math.random(-3,2)+math.random()
  8319. local numm=0
  8320. for i=0,1,delay*2 do
  8321. swait()
  8322. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  8323. Part.Transparency=i
  8324. numm=numm+0.01
  8325. end
  8326. Part.Parent=nil
  8327. Mesh.Parent=nil
  8328. end),prt,msh,x,y,z)
  8329. end
  8330.  
  8331. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  8332. if hit.Parent==nil then
  8333. return
  8334. end
  8335. h=hit.Parent:FindFirstChild("Humanoid")
  8336. for _,v in pairs(hit.Parent:children()) do
  8337. if v:IsA("Humanoid") then
  8338. h=v
  8339. end
  8340. end
  8341. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  8342. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  8343. end
  8344. if hit.Parent.className=="Hat" then
  8345. hit=hit.Parent.Parent:findFirstChild("Head")
  8346. end
  8347. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  8348. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  8349. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  8350. return
  8351. end]]
  8352. -- hs(hit,1.2)
  8353. c=Instance.new("ObjectValue")
  8354. c.Name="creator"
  8355. c.Value=game:service("Players").LocalPlayer
  8356. c.Parent=h
  8357. game:GetService("Debris"):AddItem(c,.5)
  8358. Damage=math.random(minim,maxim)
  8359. -- h:TakeDamage(Damage)
  8360. blocked=false
  8361. block=hit.Parent:findFirstChild("Block")
  8362. if block~=nil then
  8363. print(block.className)
  8364. if block.className=="NumberValue" then
  8365. if block.Value>0 then
  8366. blocked=true
  8367. if decreaseblock==nil then
  8368. block.Value=block.Value-1
  8369. end
  8370. end
  8371. end
  8372. if block.className=="IntValue" then
  8373. if block.Value>0 then
  8374. blocked=true
  8375. if decreaseblock~=nil then
  8376. block.Value=block.Value-1
  8377. end
  8378. end
  8379. end
  8380. end
  8381. if blocked==false then
  8382. -- h:TakeDamage(Damage)
  8383. h.Health=h.Health-Damage
  8384. showDamage(hit.Parent,Damage,.5,TorsoColor)
  8385. else
  8386. h.Health=h.Health-(Damage/2)
  8387. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  8388. end
  8389. if Type=="Knockdown" then
  8390. hum=hit.Parent.Humanoid
  8391. hum.PlatformStand=true
  8392. coroutine.resume(coroutine.create(function(HHumanoid)
  8393. swait(1)
  8394. HHumanoid.PlatformStand=false
  8395. end),hum)
  8396. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  8397. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  8398. local bodvol=Instance.new("BodyVelocity")
  8399. bodvol.velocity=angle*knockback
  8400. bodvol.P=5000
  8401. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  8402. bodvol.Parent=hit
  8403. rl=Instance.new("BodyAngularVelocity")
  8404. rl.P=3000
  8405. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  8406. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  8407. rl.Parent=hit
  8408. game:GetService("Debris"):AddItem(bodvol,.5)
  8409. game:GetService("Debris"):AddItem(rl,.5)
  8410. elseif Type=="Normal" then
  8411. vp=Instance.new("BodyVelocity")
  8412. vp.P=500
  8413. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  8414. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  8415. if KnockbackType==1 then
  8416. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  8417. elseif KnockbackType==2 then
  8418. vp.velocity=Property.CFrame.lookVector*knockback
  8419. end
  8420. if knockback>0 then
  8421. vp.Parent=hit.Parent.Torso
  8422. end
  8423. game:GetService("Debris"):AddItem(vp,.5)
  8424. elseif Type=="Up" then
  8425. local bodyVelocity=Instance.new("BodyVelocity")
  8426. bodyVelocity.velocity=vt(0,10,0)
  8427. bodyVelocity.P=1000
  8428. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  8429. bodyVelocity.Parent=hit
  8430. game:GetService("Debris"):AddItem(bodyVelocity,1)
  8431. rl=Instance.new("BodyAngularVelocity")
  8432. rl.P=3000
  8433. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  8434. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  8435. rl.Parent=hit
  8436. game:GetService("Debris"):AddItem(rl,.5)
  8437. elseif Type=="Snare" then
  8438. bp=Instance.new("BodyPosition")
  8439. bp.P=2000
  8440. bp.D=100
  8441. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  8442. bp.position=hit.Parent.Torso.Position
  8443. bp.Parent=hit.Parent.Torso
  8444. game:GetService("Debris"):AddItem(bp,1)
  8445. elseif Type=="Target" then
  8446. if Targetting==false then
  8447. ZTarget=hit.Parent.Torso
  8448. coroutine.resume(coroutine.create(function(Part)
  8449. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  8450. swait(5)
  8451. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  8452. end),ZTarget)
  8453. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  8454. targetgui=Instance.new("BillboardGui")
  8455. targetgui.Parent=ZTarget
  8456. targetgui.Size=UDim2.new(10,100,10,100)
  8457. targ=Instance.new("ImageLabel")
  8458. targ.Parent=targetgui
  8459. targ.BackgroundTransparency=1
  8460. targ.Image="rbxassetid://4834067"
  8461. targ.Size=UDim2.new(1,0,1,0)
  8462. cam.CameraType="Scriptable"
  8463. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8464. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  8465. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8466. Targetting=true
  8467. RocketTarget=ZTarget
  8468. for i=1,Property do
  8469. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  8470. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  8471. swait()
  8472. end
  8473. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  8474. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  8475. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  8476. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  8477. end
  8478. Targetting=false
  8479. RocketTarget=nil
  8480. targetgui.Parent=nil
  8481. cam.CameraType="Custom"
  8482. end
  8483. end
  8484. debounce=Instance.new("BoolValue")
  8485. debounce.Name="DebounceHit"
  8486. debounce.Parent=hit.Parent
  8487. debounce.Value=true
  8488. game:GetService("Debris"):AddItem(debounce,Delay)
  8489. c=Instance.new("ObjectValue")
  8490. c.Name="creator"
  8491. c.Value=Player
  8492. c.Parent=h
  8493. game:GetService("Debris"):AddItem(c,.5)
  8494. CRIT=false
  8495. hitDeb=true
  8496. AttackPos=6
  8497. end
  8498. end
  8499.  
  8500. showDamage=function(Char,Dealt,du,Color)
  8501. m=Instance.new("Model")
  8502. m.Name=tostring(Dealt)
  8503. h=Instance.new("Humanoid")
  8504. h.Health=0
  8505. h.MaxHealth=0
  8506. h.Parent=m
  8507. c=Instance.new("Part")
  8508. c.Transparency=0
  8509. c.BrickColor=TorsoColor
  8510. c.Name="Head"
  8511. c.TopSurface=0
  8512. c.BottomSurface=0
  8513. c.formFactor="Plate"
  8514. c.Size=Vector3.new(1,.4,1)
  8515. ms=Instance.new("CylinderMesh")
  8516. ms.Scale=Vector3.new(.8,.8,.8)
  8517. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  8518. if CRIT==true then
  8519. ms.Scale=Vector3.new(1,1.25,1)
  8520. end
  8521. ms.Parent=c
  8522. c.Reflectance=0
  8523. Instance.new("BodyGyro").Parent=c
  8524. c.Parent=m
  8525. if Char:findFirstChild("Head")~=nil then
  8526. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  8527. elseif Char.Parent:findFirstChild("Head")~=nil then
  8528. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  8529. end
  8530. f=Instance.new("BodyPosition")
  8531. f.P=2000
  8532. f.D=100
  8533. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  8534. f.position=c.Position+Vector3.new(0,3,0)
  8535. f.Parent=c
  8536. game:GetService("Debris"):AddItem(m,.5+du)
  8537. c.CanCollide=false
  8538. m.Parent=workspace
  8539. c.CanCollide=false
  8540. end
  8541.  
  8542. Player=game:GetService('Players').LocalPlayer
  8543. Character=Player.Character
  8544. Mouse=Player:GetMouse()
  8545. m=Instance.new('Model',Character)
  8546.  
  8547.  
  8548. local function weldBetween(a, b)
  8549. local weldd = Instance.new("ManualWeld")
  8550. weldd.Part0 = a
  8551. weldd.Part1 = b
  8552. weldd.C0 = CFrame.new()
  8553. weldd.C1 = b.CFrame:inverse() * a.CFrame
  8554. weldd.Parent = a
  8555. return weldd
  8556. end
  8557.  
  8558. it=Instance.new
  8559.  
  8560. function nooutline(part)
  8561. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  8562. end
  8563.  
  8564. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  8565. local fp=it("Part")
  8566. fp.formFactor=formfactor
  8567. fp.Parent=parent
  8568. fp.Reflectance=reflectance
  8569. fp.Transparency=transparency
  8570. fp.CanCollide=false
  8571. fp.Locked=true
  8572. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  8573. fp.Name=name
  8574. fp.Size=size
  8575. fp.Position=Character.Torso.Position
  8576. nooutline(fp)
  8577. fp.Material=material
  8578. fp:BreakJoints()
  8579. return fp
  8580. end
  8581.  
  8582. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  8583. local mesh=it(Mesh)
  8584. mesh.Parent=part
  8585. if Mesh=="SpecialMesh" then
  8586. mesh.MeshType=meshtype
  8587. mesh.MeshId=meshid
  8588. end
  8589. mesh.Offset=offset
  8590. mesh.Scale=scale
  8591. return mesh
  8592. end
  8593.  
  8594. function weld(parent,part0,part1,c0,c1)
  8595. local weld=it("Weld")
  8596. weld.Parent=parent
  8597. weld.Part0=part0
  8598. weld.Part1=part1
  8599. weld.C0=c0
  8600. weld.C1=c1
  8601. return weld
  8602. end
  8603.  
  8604. local modelzorz=Instance.new("Model")
  8605. modelzorz.Parent=Character
  8606. modelzorz.Name="Claw1"
  8607.  
  8608. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  8609. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  8610. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8612. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  8613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8614. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  8615. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8616. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8617. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  8618. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8619. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  8620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8621. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  8622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8623. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  8624. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8625. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  8626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8627. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  8628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8629. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  8630. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8631. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  8632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8633. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  8634. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8636. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  8637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8638. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  8639. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8640. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  8641. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  8642. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  8643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8644. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  8645. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8647. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  8648. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8649.  
  8650. local modelzorz2=Instance.new("Model")
  8651. modelzorz2.Parent=Character
  8652. modelzorz2.Name="Claw2"
  8653.  
  8654. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  8655. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  8656. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8657. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8658. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  8659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8660. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  8661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8662. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  8663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8664. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  8665. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8667. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  8668. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8670. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  8671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8672. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  8673. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8675. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  8676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8677. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  8678. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8680. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  8681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  8682. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  8683. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  8684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8685. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  8686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8687. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  8688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8689. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  8690. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  8691. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  8692. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  8693. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  8694. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  8695.  
  8696. local modelzorz3=Instance.new("Model")
  8697. modelzorz3.Parent=Character
  8698. modelzorz3.Name="Eye"
  8699.  
  8700. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  8701. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  8702. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  8703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  8704. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  8705. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  8706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  8707. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  8708. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  8709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  8710. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  8711. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  8712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  8713. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  8714. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  8715. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  8716. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  8717. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  8718. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  8719. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  8720. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  8721. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  8722. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  8723. local moosick = it("Sound",Character)
  8724. moosick.SoundId = "rbxassetid://142653441"
  8725. --142653441, 175067863
  8726. moosick.Looped = true
  8727. moosick.Pitch = 1
  8728. moosick.Volume = 0
  8729. moosick:Play()
  8730.  
  8731. anim = Character:findFirstChild("Animate")
  8732. if anim then
  8733. anim:Destroy()
  8734. end
  8735.  
  8736. local particleemitter = Instance.new("ParticleEmitter", Handle)
  8737. particleemitter.VelocitySpread = 180
  8738. particleemitter.Lifetime = NumberRange.new(0.1)
  8739. particleemitter.Speed = NumberRange.new(2)
  8740. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  8741. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  8742. particleemitter.Rate = 100
  8743. particleemitter.Rotation = NumberRange.new(-45, 45)
  8744. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  8745. particleemitter.LightEmission = 0
  8746. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  8747.  
  8748. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  8749. particleemitter.VelocitySpread = 180
  8750. particleemitter.Lifetime = NumberRange.new(0.1)
  8751. particleemitter.Speed = NumberRange.new(2)
  8752. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  8753. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  8754. particleemitter.Rate = 100
  8755. particleemitter.Rotation = NumberRange.new(-45, 45)
  8756. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  8757. particleemitter.LightEmission = 0
  8758. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  8759.  
  8760. local particleemitter = Instance.new("ParticleEmitter", handle)
  8761. particleemitter.VelocitySpread = 180
  8762. particleemitter.Lifetime = NumberRange.new(0.1)
  8763. particleemitter.Speed = NumberRange.new(2)
  8764. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  8765. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  8766. particleemitter.Rate = 100
  8767. particleemitter.Rotation = NumberRange.new(-45, 45)
  8768. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  8769. particleemitter.LightEmission = 0.8
  8770. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  8771.  
  8772. local light = Instance.new("PointLight", Character.Torso)
  8773. light.Color = Color3.new(255,255,255)
  8774. light.Brightness = 5
  8775. light.Range = 15
  8776.  
  8777. particleemitter.Enabled = true
  8778.  
  8779. local Footsteps = it("Sound",Character.Torso)
  8780. Footsteps.SoundId = "rbxassetid://142665235"
  8781. Footsteps.Looped = true
  8782. Footsteps.Pitch = 0.8
  8783. Footsteps.Volume = 0.3
  8784.  
  8785. local Footsteps2 = it("Sound",Character.Torso)
  8786. Footsteps2.SoundId = "rbxassetid://142665235"
  8787. Footsteps2.Looped = true
  8788. Footsteps2.Pitch = 1
  8789. Footsteps2.Volume = 0.4
  8790.  
  8791. local cam = game.Workspace.CurrentCamera
  8792.  
  8793. --cam.CameraSubject = Character
  8794.  
  8795. for i,v in pairs(Head:children()) do
  8796. if v:IsA("Sound") then
  8797. v:Destroy()
  8798. end
  8799. end
  8800.  
  8801. mouse.Button1Down:connect(function()
  8802. if attack==false and attacktype==1 then
  8803. attacktype=2
  8804. attackone()
  8805. elseif attack==false and attacktype==2 then
  8806. attacktype=3
  8807. attacktwo()
  8808. elseif attack==false and attacktype==3 then
  8809. attacktype=4
  8810. attackthree()
  8811. elseif attack==false and attacktype==4 then
  8812. attacktype=1
  8813. attackfour()
  8814. end
  8815. end)
  8816.  
  8817. mouse.KeyDown:connect(function(k)
  8818. k=k:lower()
  8819. if k=='e' then
  8820. if attack==false and mana>=20 then
  8821. Push()
  8822. end
  8823. elseif k=='g' then
  8824. if attack==false and mana>=50 then
  8825. Twirl()
  8826. end
  8827. elseif k=='v' then
  8828. if attack==false and mana>=25 then
  8829. MagicJump()
  8830. end
  8831. elseif k=='q' then
  8832. if attack==false then
  8833. idle=1000
  8834. end
  8835. elseif k=='h' then
  8836. if attack==false then
  8837. mana=100
  8838. end
  8839. elseif k=='y' then
  8840. if attack==false and mana>=100 then
  8841. Shred()
  8842. end
  8843. elseif k=='f' then
  8844. if attack==false and mana>=40 then
  8845. Spin()
  8846. end
  8847. elseif k=='r' then
  8848. if attack==false and mana>=20 then
  8849. Clap()
  8850. end
  8851. elseif k=='t' then
  8852. if attack==false then
  8853. Hai()
  8854. end
  8855. elseif k=='0' then
  8856. if attack==false then
  8857. Humanoid.WalkSpeed=(24)
  8858. end
  8859. elseif k=='j' then
  8860. if attack==false then
  8861. Humanoid.Health = 10
  8862. print("Congrats, you commited suicide.")
  8863. end
  8864. end
  8865. end)
  8866.  
  8867. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  8868. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8869. prt.Anchored=true
  8870. prt.CFrame=cframe
  8871. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  8872. game:GetService("Debris"):AddItem(prt,2)
  8873. coroutine.resume(coroutine.create(function(Part,Mesh)
  8874. for i=0,1,delay do
  8875. wait()
  8876. Part.CFrame=Part.CFrame
  8877. Part.Transparency=i
  8878. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  8879. end
  8880. Part.Parent=nil
  8881. end),prt,msh)
  8882. end
  8883.  
  8884. TrailDeb = false
  8885.  
  8886. function equipanim()
  8887. attack=true
  8888. Humanoid.WalkSpeed = 0
  8889. if TrailDeb == false then
  8890. TrailDeb = true
  8891. end
  8892.  
  8893.  
  8894. coroutine.wrap(function()
  8895. local Old = handle.CFrame.p
  8896. while wait()do
  8897. if not TrailDeb then break end
  8898. local New = handle.CFrame.p
  8899. local Mag =(Old -New).magnitude
  8900. local Dis =(Old +New)/2
  8901. local Trail = Instance.new("Part",Character)
  8902. Trail.Material = "Neon"
  8903. Trail.Anchored = true
  8904. Trail.CanCollide = false
  8905. Trail.BrickColor = TorsoColor
  8906. Trail.Size = Vector3.new(0.2,Mag,0.2)
  8907. Trail.TopSurface = 0
  8908. Trail.BottomSurface = 0
  8909. Trail.formFactor = "Custom"
  8910. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  8911. local ms = Instance.new("BlockMesh",Trail)
  8912. ms.Scale = Vector3.new(1,1,1)
  8913. local TM = Instance.new("CylinderMesh",Trail)
  8914. TM.Scale = Vector3.new(1,1,1)
  8915. Old = New
  8916. coroutine.wrap(function()
  8917. for i = 1,0,-0.1 do
  8918. wait()
  8919. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  8920. end
  8921. Trail:remove()
  8922. end)()
  8923. coroutine.wrap(function()
  8924. for i = 1,10 do
  8925. wait()
  8926. Trail.Transparency = Trail.Transparency +0.1
  8927. end end)()end end)()
  8928. coroutine.wrap(function()
  8929. local Old = Handle.CFrame.p
  8930. while wait()do
  8931. if not TrailDeb then break end
  8932. local New = Handle.CFrame.p
  8933. local Mag =(Old -New).magnitude
  8934. local Dis =(Old +New)/2
  8935. local Trail = Instance.new("Part",Character)
  8936. Trail.Material = "Neon"
  8937. Trail.Anchored = true
  8938. Trail.CanCollide = false
  8939. Trail.BrickColor = TorsoColor
  8940. Trail.Size = Vector3.new(0.2,Mag,0.2)
  8941. Trail.TopSurface = 0
  8942. Trail.BottomSurface = 0
  8943. Trail.formFactor = "Custom"
  8944. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  8945. local ms = Instance.new("BlockMesh",Trail)
  8946. ms.Scale = Vector3.new(1,1,1)
  8947. local TM = Instance.new("CylinderMesh",Trail)
  8948. TM.Scale = Vector3.new(1,1,1)
  8949. Old = New
  8950. coroutine.wrap(function()
  8951. for i = 1,0,-0.1 do
  8952. wait()
  8953. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  8954. end
  8955. Trail:remove()
  8956. end)()
  8957. coroutine.wrap(function()
  8958. for i = 1,10 do
  8959. wait()
  8960. Trail.Transparency = Trail.Transparency +0.1
  8961. end end)()end end)()
  8962. coroutine.wrap(function()
  8963. local Old = Handle2.CFrame.p
  8964. while wait()do
  8965. if not TrailDeb then break end
  8966. local New = Handle2.CFrame.p
  8967. local Mag =(Old -New).magnitude
  8968. local Dis =(Old +New)/2
  8969. local Trail = Instance.new("Part",Character)
  8970. Trail.Material = "Neon"
  8971. Trail.Anchored = true
  8972. Trail.CanCollide = false
  8973. Trail.BrickColor = TorsoColor
  8974. Trail.Size = Vector3.new(0.2,Mag,0.2)
  8975. Trail.TopSurface = 0
  8976. Trail.BottomSurface = 0
  8977. Trail.formFactor = "Custom"
  8978. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  8979. local ms = Instance.new("BlockMesh",Trail)
  8980. ms.Scale = Vector3.new(1,1,1)
  8981. local TM = Instance.new("CylinderMesh",Trail)
  8982. TM.Scale = Vector3.new(1,1,1)
  8983. Old = New
  8984. coroutine.wrap(function()
  8985. for i = 1,0,-0.1 do
  8986. wait()
  8987. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  8988. end
  8989. Trail:remove()
  8990. end)()
  8991. coroutine.wrap(function()
  8992. for i = 1,10 do
  8993. wait()
  8994. Trail.Transparency = Trail.Transparency +0.1
  8995. end end)()end end)()
  8996. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  8997. for i=0,1,0.005 do
  8998. swait()
  8999. moosick.Volume = 0+1*i
  9000. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  9001. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  9002. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9003. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9004. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9005. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  9006. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  9007. end
  9008. for i=0,1,0.005 do
  9009. swait()
  9010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  9011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  9012. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9013. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9014. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  9015. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  9016. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  9017. end
  9018. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  9019. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  9020. for i=0,1,0.005 do
  9021. swait()
  9022. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  9023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  9024. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9025. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  9026. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  9027. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  9028. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  9029. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  9030. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  9031. end
  9032. for i=0,1,0.04 do
  9033. swait()
  9034. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  9035. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9036. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9037. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9038. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  9039. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  9040. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  9041. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  9042. end
  9043. --dmgstop()
  9044. attack=false
  9045. Humanoid.WalkSpeed = 12
  9046. if TrailDeb == true then
  9047. TrailDeb = false
  9048. end
  9049. end
  9050.  
  9051. function attackone()
  9052. attack=true
  9053. if TrailDeb == false then
  9054. TrailDeb = true
  9055. end
  9056.  
  9057.  
  9058. coroutine.wrap(function()
  9059. local Old = Handle.CFrame.p
  9060. while wait()do
  9061. if not TrailDeb then break end
  9062. local New = Handle.CFrame.p
  9063. local Mag =(Old -New).magnitude
  9064. local Dis =(Old +New)/2
  9065. local Trail = Instance.new("Part",Character)
  9066. Trail.Material = "Neon"
  9067. Trail.Anchored = true
  9068. Trail.CanCollide = false
  9069. Trail.BrickColor = TorsoColor
  9070. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9071. Trail.TopSurface = 0
  9072. Trail.BottomSurface = 0
  9073. Trail.formFactor = "Custom"
  9074. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9075. local ms = Instance.new("BlockMesh",Trail)
  9076. ms.Scale = Vector3.new(1,1,1)
  9077. local TM = Instance.new("CylinderMesh",Trail)
  9078. TM.Scale = Vector3.new(1,1,1)
  9079. Old = New
  9080. coroutine.wrap(function()
  9081. for i = 1,0,-0.1 do
  9082. wait()
  9083. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9084. end
  9085. Trail:remove()
  9086. end)()
  9087. coroutine.wrap(function()
  9088. for i = 1,10 do
  9089. wait()
  9090. Trail.Transparency = Trail.Transparency +0.1
  9091. end end)()end end)()
  9092. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  9093. for i=0,1,0.08 do
  9094. swait()
  9095. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  9096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  9097. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9098. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  9099. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9100. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  9101. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  9102. end
  9103. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  9104. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  9105. for i=0,1,0.1 do
  9106. swait()
  9107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  9108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  9109. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9110. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  9111. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9112. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  9113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  9114. end
  9115. --dmgstop()
  9116. attack=false
  9117. con1:disconnect()
  9118. if TrailDeb == true then
  9119. TrailDeb = false
  9120. end
  9121. end
  9122.  
  9123. function attacktwo()
  9124. attack=true
  9125. if TrailDeb == false then
  9126. TrailDeb = true
  9127. end
  9128.  
  9129.  
  9130. coroutine.wrap(function()
  9131. local Old = Handle2.CFrame.p
  9132. while wait()do
  9133. if not TrailDeb then break end
  9134. local New = Handle2.CFrame.p
  9135. local Mag =(Old -New).magnitude
  9136. local Dis =(Old +New)/2
  9137. local Trail = Instance.new("Part",Character)
  9138. Trail.Material = "Neon"
  9139. Trail.Anchored = true
  9140. Trail.CanCollide = false
  9141. Trail.BrickColor = TorsoColor
  9142. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9143. Trail.TopSurface = 0
  9144. Trail.BottomSurface = 0
  9145. Trail.formFactor = "Custom"
  9146. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9147. local ms = Instance.new("BlockMesh",Trail)
  9148. ms.Scale = Vector3.new(1,1,1)
  9149. local TM = Instance.new("CylinderMesh",Trail)
  9150. TM.Scale = Vector3.new(1,1,1)
  9151. Old = New
  9152. coroutine.wrap(function()
  9153. for i = 1,0,-0.1 do
  9154. wait()
  9155. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9156. end
  9157. Trail:remove()
  9158. end)()
  9159. coroutine.wrap(function()
  9160. for i = 1,10 do
  9161. wait()
  9162. Trail.Transparency = Trail.Transparency +0.1
  9163. end end)()end end)()
  9164. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  9165. for i=0,1,0.08 do
  9166. swait()
  9167. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  9168. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  9169. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9170. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  9171. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9172. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  9173. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  9174. end
  9175. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  9176. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  9177. for i=0,1,0.1 do
  9178. swait()
  9179. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  9180. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  9181. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9182. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  9183. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9184. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  9185. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  9186. end
  9187. --dmgstop()
  9188. attack=false
  9189. con1:disconnect()
  9190. if TrailDeb == true then
  9191. TrailDeb = false
  9192. end
  9193. end
  9194.  
  9195. function attackthree()
  9196. attack=true
  9197. if TrailDeb == false then
  9198. TrailDeb = true
  9199. end
  9200.  
  9201.  
  9202. coroutine.wrap(function()
  9203. local Old = Handle.CFrame.p
  9204. while wait()do
  9205. if not TrailDeb then break end
  9206. local New = Handle.CFrame.p
  9207. local Mag =(Old -New).magnitude
  9208. local Dis =(Old +New)/2
  9209. local Trail = Instance.new("Part",Character)
  9210. Trail.Material = "Neon"
  9211. Trail.Anchored = true
  9212. Trail.CanCollide = false
  9213. Trail.BrickColor = TorsoColor
  9214. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9215. Trail.TopSurface = 0
  9216. Trail.BottomSurface = 0
  9217. Trail.formFactor = "Custom"
  9218. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9219. local ms = Instance.new("BlockMesh",Trail)
  9220. ms.Scale = Vector3.new(1,1,1)
  9221. local TM = Instance.new("CylinderMesh",Trail)
  9222. TM.Scale = Vector3.new(1,1,1)
  9223. Old = New
  9224. coroutine.wrap(function()
  9225. for i = 1,0,-0.1 do
  9226. wait()
  9227. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9228. end
  9229. Trail:remove()
  9230. end)()
  9231. coroutine.wrap(function()
  9232. for i = 1,10 do
  9233. wait()
  9234. Trail.Transparency = Trail.Transparency +0.1
  9235. end end)()end end)()
  9236. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  9237. for i=0,1,0.08 do
  9238. swait()
  9239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  9241. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9242. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  9243. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9244. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  9245. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  9246. end
  9247. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  9248. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  9249. for i=0,1,0.05 do
  9250. swait()
  9251. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  9252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  9253. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9254. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  9255. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9256. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  9257. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  9258. end
  9259. --dmgstop()
  9260. attack=false
  9261. con1:disconnect()
  9262. if TrailDeb == true then
  9263. TrailDeb = false
  9264. end
  9265. end
  9266.  
  9267. function attackfour()
  9268. attack=true
  9269. if TrailDeb == false then
  9270. TrailDeb = true
  9271. end
  9272.  
  9273.  
  9274. coroutine.wrap(function()
  9275. local Old = Handle2.CFrame.p
  9276. while wait()do
  9277. if not TrailDeb then break end
  9278. local New = Handle2.CFrame.p
  9279. local Mag =(Old -New).magnitude
  9280. local Dis =(Old +New)/2
  9281. local Trail = Instance.new("Part",Character)
  9282. Trail.Material = "Neon"
  9283. Trail.Anchored = true
  9284. Trail.CanCollide = false
  9285. Trail.BrickColor = TorsoColor
  9286. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9287. Trail.TopSurface = 0
  9288. Trail.BottomSurface = 0
  9289. Trail.formFactor = "Custom"
  9290. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9291. local ms = Instance.new("BlockMesh",Trail)
  9292. ms.Scale = Vector3.new(1,1,1)
  9293. local TM = Instance.new("CylinderMesh",Trail)
  9294. TM.Scale = Vector3.new(1,1,1)
  9295. Old = New
  9296. coroutine.wrap(function()
  9297. for i = 1,0,-0.1 do
  9298. wait()
  9299. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9300. end
  9301. Trail:remove()
  9302. end)()
  9303. coroutine.wrap(function()
  9304. for i = 1,10 do
  9305. wait()
  9306. Trail.Transparency = Trail.Transparency +0.1
  9307. end end)()end end)()
  9308. coroutine.wrap(function()
  9309. local Old = Handle.CFrame.p
  9310. while wait()do
  9311. if not TrailDeb then break end
  9312. local New = Handle.CFrame.p
  9313. local Mag =(Old -New).magnitude
  9314. local Dis =(Old +New)/2
  9315. local Trail = Instance.new("Part",Character)
  9316. Trail.Material = "Neon"
  9317. Trail.Anchored = true
  9318. Trail.CanCollide = false
  9319. Trail.BrickColor = TorsoColor
  9320. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9321. Trail.TopSurface = 0
  9322. Trail.BottomSurface = 0
  9323. Trail.formFactor = "Custom"
  9324. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9325. local ms = Instance.new("BlockMesh",Trail)
  9326. ms.Scale = Vector3.new(1,1,1)
  9327. local TM = Instance.new("CylinderMesh",Trail)
  9328. TM.Scale = Vector3.new(1,1,1)
  9329. Old = New
  9330. coroutine.wrap(function()
  9331. for i = 1,0,-0.1 do
  9332. wait()
  9333. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9334. end
  9335. Trail:remove()
  9336. end)()
  9337. coroutine.wrap(function()
  9338. for i = 1,10 do
  9339. wait()
  9340. Trail.Transparency = Trail.Transparency +0.1
  9341. end end)()end end)()
  9342. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  9343. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  9344. for i=0,1,0.08 do
  9345. swait()
  9346. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  9347. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9348. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9349. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9350. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  9351. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  9352. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  9353. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  9354. end
  9355. if anim then
  9356. anim.Disabled=true
  9357. end
  9358. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  9359. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  9360. for i=0,1,0.04 do
  9361. swait()
  9362. Torso.Velocity=RootPart.CFrame.lookVector*50
  9363. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  9364. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9365. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9366. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9367. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9368. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9369. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9370. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9371. end
  9372. --dmgstop()
  9373. attack=false
  9374. con1:disconnect()
  9375. con2:disconnect()
  9376. if anim then
  9377. anim.Disabled=false
  9378. end
  9379. if TrailDeb == true then
  9380. TrailDeb = false
  9381. end
  9382. end
  9383.  
  9384. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  9385. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  9386. prt.Anchored = true
  9387. prt.CFrame = cframe
  9388. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  9389. coroutine.resume(coroutine.create(function()
  9390. for i = 0, 1, 0.05 do
  9391. wait()
  9392. prt.Transparency = i
  9393. msh.Scale = msh.Scale + vt(x2, y2, z2)
  9394. end
  9395. prt.Parent = nil
  9396. end))
  9397. end
  9398.  
  9399. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  9400. for _, c in pairs(workspace:children()) do
  9401. local hum = c:findFirstChild("Humanoid")
  9402. if hum ~= nil then
  9403. local head = c:findFirstChild("Torso")
  9404. if head ~= nil then
  9405. local targ = head.Position - Part.Position
  9406. local mag = targ.magnitude
  9407. if mag <= magni and c.Name ~= Player.Name then
  9408. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  9409. end
  9410. end
  9411. end
  9412. end
  9413. end
  9414.  
  9415. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  9416. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  9417. prt.Anchored = true
  9418. prt.CFrame = cframe
  9419. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  9420. game:GetService("Debris"):AddItem(prt, 2)
  9421. coroutine.resume(coroutine.create(function(Part, Mesh)
  9422. for i = 0, 1, delay do
  9423. swait()
  9424. Part.CFrame = Part.CFrame
  9425. Part.Transparency = i
  9426. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  9427. end
  9428. Part.Parent = nil
  9429. end), prt, msh)
  9430. end
  9431.  
  9432. function MagicJump()
  9433. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  9434. attack=true
  9435. mana=mana-25
  9436. --[[ Humanoid.WalkSpeed = 0
  9437. for i=0,1,0.01 do
  9438. swait()
  9439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  9440. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  9441. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  9442. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  9443. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  9444. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  9445. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  9446. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  9447. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  9448. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  9449. end]]--
  9450. Humanoid.Jump = true
  9451. Torso.Velocity = vt(0, 150, 0)
  9452. Humanoid.WalkSpeed = 64
  9453. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  9454. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  9455. for i=0,1,0.05 do
  9456. swait()
  9457. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  9458. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  9459. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  9460. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  9461. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  9462. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  9463. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  9464. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  9465. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  9466. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  9467. end
  9468. for i=0,1,0.02 do
  9469. swait()
  9470. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  9471. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  9472. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  9473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  9474. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  9475. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  9476. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  9477. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  9478. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  9479. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  9480. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  9481. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  9482. end
  9483. Humanoid.WalkSpeed = 0
  9484. swait(8)
  9485. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  9486. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  9487. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  9488. if hit~=nil then
  9489. swait(2)
  9490. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  9491. ref.Anchored=true
  9492. ref.CFrame=cf(pos)
  9493. game:GetService("Debris"):AddItem(ref,3)
  9494. for i=1,10 do
  9495. local Col=BrickColor.new("Really black")
  9496. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  9497. groundpart.Anchored=true
  9498. groundpart.CanCollide=false
  9499. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  9500. local Col2=TorsoColor
  9501. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  9502. groundpart2.Anchored=true
  9503. groundpart2.CanCollide=false
  9504. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  9505. game:GetService("Debris"):AddItem(groundpart,5)
  9506. game:GetService("Debris"):AddItem(groundpart2,5)
  9507. end
  9508. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  9509. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  9510. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  9511. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  9512. for i=0,1,0.06 do
  9513. swait()
  9514. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  9515. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  9516. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  9517. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  9518. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  9519. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  9520. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  9521. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  9522. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  9523. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  9524. end
  9525. end
  9526. swait(20)
  9527. Humanoid.WalkSpeed = 12
  9528. --dmgstop()
  9529. attack=false
  9530. end
  9531. end
  9532.  
  9533. function Spin()
  9534. attack=true
  9535. mana=mana-40
  9536. if TrailDeb == false then
  9537. TrailDeb = true
  9538. end
  9539.  
  9540. coroutine.wrap(function()
  9541. local Old = Handle2.CFrame.p
  9542. while wait()do
  9543. if not TrailDeb then break end
  9544. local New = Handle2.CFrame.p
  9545. local Mag =(Old -New).magnitude
  9546. local Dis =(Old +New)/2
  9547. local Trail = Instance.new("Part",Character)
  9548. Trail.Material = "Neon"
  9549. Trail.Anchored = true
  9550. Trail.CanCollide = false
  9551. Trail.BrickColor = TorsoColor
  9552. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9553. Trail.TopSurface = 0
  9554. Trail.BottomSurface = 0
  9555. Trail.formFactor = "Custom"
  9556. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9557. local ms = Instance.new("BlockMesh",Trail)
  9558. ms.Scale = Vector3.new(1,1,1)
  9559. local TM = Instance.new("CylinderMesh",Trail)
  9560. TM.Scale = Vector3.new(1,1,1)
  9561. Old = New
  9562. coroutine.wrap(function()
  9563. for i = 1,0,-0.1 do
  9564. wait()
  9565. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9566. end
  9567. Trail:remove()
  9568. end)()
  9569. coroutine.wrap(function()
  9570. for i = 1,10 do
  9571. wait()
  9572. Trail.Transparency = Trail.Transparency +0.1
  9573. end end)()end end)()
  9574. coroutine.wrap(function()
  9575. local Old = Handle.CFrame.p
  9576. while wait()do
  9577. if not TrailDeb then break end
  9578. local New = Handle.CFrame.p
  9579. local Mag =(Old -New).magnitude
  9580. local Dis =(Old +New)/2
  9581. local Trail = Instance.new("Part",Character)
  9582. Trail.Material = "Neon"
  9583. Trail.Anchored = true
  9584. Trail.CanCollide = false
  9585. Trail.BrickColor = TorsoColor
  9586. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9587. Trail.TopSurface = 0
  9588. Trail.BottomSurface = 0
  9589. Trail.formFactor = "Custom"
  9590. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9591. local ms = Instance.new("BlockMesh",Trail)
  9592. ms.Scale = Vector3.new(1,1,1)
  9593. local TM = Instance.new("CylinderMesh",Trail)
  9594. TM.Scale = Vector3.new(1,1,1)
  9595. Old = New
  9596. coroutine.wrap(function()
  9597. for i = 1,0,-0.1 do
  9598. wait()
  9599. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9600. end
  9601. Trail:remove()
  9602. end)()
  9603. coroutine.wrap(function()
  9604. for i = 1,10 do
  9605. wait()
  9606. Trail.Transparency = Trail.Transparency +0.1
  9607. end end)()end end)()
  9608. Footsteps:Stop()
  9609. Footsteps2:Stop()
  9610. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  9611. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  9612. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  9613. for i=0,1,0.1 do
  9614. swait()
  9615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9616. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9617. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9618. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9619. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9620. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9621. end
  9622. if anim then
  9623. anim.Disabled=true
  9624. end
  9625. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  9626. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  9627. for i=0,1,0.05 do
  9628. swait()
  9629. Torso.Velocity=RootPart.CFrame.lookVector*100
  9630. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  9631. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9632. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9633. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9634. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9635. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9636. end
  9637. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  9638. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  9639. for i=0,1,0.05 do
  9640. swait()
  9641. Torso.Velocity=RootPart.CFrame.lookVector*100
  9642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  9643. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9644. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9645. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9646. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9647. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9648. end
  9649. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  9650. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  9651. for i=0,1,0.05 do
  9652. swait()
  9653. Torso.Velocity=RootPart.CFrame.lookVector*100
  9654. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  9655. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9656. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9657. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9658. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9659. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9660. end
  9661. --dmgstop()
  9662. Humanoid.WalkSpeed=12
  9663. attack=false
  9664. con1:disconnect()
  9665. con2:disconnect()
  9666. if anim then
  9667. anim.Disabled=false
  9668. end
  9669. if TrailDeb == true then
  9670. TrailDeb = false
  9671. end
  9672. end
  9673.  
  9674. function Twirl()
  9675. mana=mana-50
  9676. attack=true
  9677. if TrailDeb == false then
  9678. TrailDeb = true
  9679. end
  9680.  
  9681.  
  9682. coroutine.wrap(function()
  9683. local Old = Handle2.CFrame.p
  9684. while wait()do
  9685. if not TrailDeb then break end
  9686. local New = Handle2.CFrame.p
  9687. local Mag =(Old -New).magnitude
  9688. local Dis =(Old +New)/2
  9689. local Trail = Instance.new("Part",Character)
  9690. Trail.Material = "Neon"
  9691. Trail.Anchored = true
  9692. Trail.CanCollide = false
  9693. Trail.BrickColor = TorsoColor
  9694. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9695. Trail.TopSurface = 0
  9696. Trail.BottomSurface = 0
  9697. Trail.formFactor = "Custom"
  9698. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9699. local ms = Instance.new("BlockMesh",Trail)
  9700. ms.Scale = Vector3.new(1,1,1)
  9701. local TM = Instance.new("CylinderMesh",Trail)
  9702. TM.Scale = Vector3.new(1,1,1)
  9703. Old = New
  9704. coroutine.wrap(function()
  9705. for i = 1,0,-0.1 do
  9706. wait()
  9707. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9708. end
  9709. Trail:remove()
  9710. end)()
  9711. coroutine.wrap(function()
  9712. for i = 1,10 do
  9713. wait()
  9714. Trail.Transparency = Trail.Transparency +0.1
  9715. end end)()end end)()
  9716. coroutine.wrap(function()
  9717. local Old = Handle.CFrame.p
  9718. while wait()do
  9719. if not TrailDeb then break end
  9720. local New = Handle.CFrame.p
  9721. local Mag =(Old -New).magnitude
  9722. local Dis =(Old +New)/2
  9723. local Trail = Instance.new("Part",Character)
  9724. Trail.Material = "Neon"
  9725. Trail.Anchored = true
  9726. Trail.CanCollide = false
  9727. Trail.BrickColor = TorsoColor
  9728. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9729. Trail.TopSurface = 0
  9730. Trail.BottomSurface = 0
  9731. Trail.formFactor = "Custom"
  9732. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9733. local ms = Instance.new("BlockMesh",Trail)
  9734. ms.Scale = Vector3.new(1,1,1)
  9735. local TM = Instance.new("CylinderMesh",Trail)
  9736. TM.Scale = Vector3.new(1,1,1)
  9737. Old = New
  9738. coroutine.wrap(function()
  9739. for i = 1,0,-0.1 do
  9740. wait()
  9741. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9742. end
  9743. Trail:remove()
  9744. end)()
  9745. coroutine.wrap(function()
  9746. for i = 1,10 do
  9747. wait()
  9748. Trail.Transparency = Trail.Transparency +0.1
  9749. end end)()end end)()
  9750. Footsteps:Stop()
  9751. Footsteps2:Stop()
  9752. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  9753. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  9754. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  9755. for i=0,1,0.1 do
  9756. swait()
  9757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9758. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9759. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9760. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9761. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9762. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9763. end
  9764. if anim then
  9765. anim.Disabled=true
  9766. end
  9767. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  9768. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  9769. for i=0,1,0.05 do
  9770. swait()
  9771. Torso.Velocity=RootPart.CFrame.lookVector*80
  9772. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  9773. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9774. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9775. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9776. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9777. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9778. end
  9779. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  9780. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  9781. for i=0,1,0.05 do
  9782. swait()
  9783. Torso.Velocity=RootPart.CFrame.lookVector*80
  9784. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  9785. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9786. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9787. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9788. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9789. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9790. end
  9791. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  9792. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  9793. for i=0,1,0.05 do
  9794. swait()
  9795. Torso.Velocity=RootPart.CFrame.lookVector*80
  9796. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  9797. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9798. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9799. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9800. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9801. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9802. end
  9803. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  9804. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  9805. for i=0,1,0.05 do
  9806. swait()
  9807. Torso.Velocity=RootPart.CFrame.lookVector*80
  9808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  9809. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9810. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9811. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9812. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9813. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9814. end
  9815. --dmgstop()
  9816. Humanoid.WalkSpeed=12
  9817. attack=false
  9818. con1:disconnect()
  9819. con2:disconnect()
  9820. if anim then
  9821. anim.Disabled=false
  9822. end
  9823. if TrailDeb == true then
  9824. TrailDeb = false
  9825. end
  9826. end
  9827.  
  9828. function Shred()
  9829. attack=true
  9830. mana=mana-100
  9831. if TrailDeb == false then
  9832. TrailDeb = true
  9833. end
  9834.  
  9835.  
  9836. coroutine.wrap(function()
  9837. local Old = Handle2.CFrame.p
  9838. while wait()do
  9839. if not TrailDeb then break end
  9840. local New = Handle2.CFrame.p
  9841. local Mag =(Old -New).magnitude
  9842. local Dis =(Old +New)/2
  9843. local Trail = Instance.new("Part",Character)
  9844. Trail.Material = "Neon"
  9845. Trail.Anchored = true
  9846. Trail.CanCollide = false
  9847. Trail.BrickColor = TorsoColor
  9848. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9849. Trail.TopSurface = 0
  9850. Trail.BottomSurface = 0
  9851. Trail.formFactor = "Custom"
  9852. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9853. local ms = Instance.new("BlockMesh",Trail)
  9854. ms.Scale = Vector3.new(1,1,1)
  9855. local TM = Instance.new("CylinderMesh",Trail)
  9856. TM.Scale = Vector3.new(1,1,1)
  9857. Old = New
  9858. coroutine.wrap(function()
  9859. for i = 1,0,-0.1 do
  9860. wait()
  9861. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9862. end
  9863. Trail:remove()
  9864. end)()
  9865. coroutine.wrap(function()
  9866. for i = 1,10 do
  9867. wait()
  9868. Trail.Transparency = Trail.Transparency +0.1
  9869. end end)()end end)()
  9870. coroutine.wrap(function()
  9871. local Old = Handle.CFrame.p
  9872. while wait()do
  9873. if not TrailDeb then break end
  9874. local New = Handle.CFrame.p
  9875. local Mag =(Old -New).magnitude
  9876. local Dis =(Old +New)/2
  9877. local Trail = Instance.new("Part",Character)
  9878. Trail.Material = "Neon"
  9879. Trail.Anchored = true
  9880. Trail.CanCollide = false
  9881. Trail.BrickColor = TorsoColor
  9882. Trail.Size = Vector3.new(0.2,Mag,0.2)
  9883. Trail.TopSurface = 0
  9884. Trail.BottomSurface = 0
  9885. Trail.formFactor = "Custom"
  9886. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  9887. local ms = Instance.new("BlockMesh",Trail)
  9888. ms.Scale = Vector3.new(1,1,1)
  9889. local TM = Instance.new("CylinderMesh",Trail)
  9890. TM.Scale = Vector3.new(1,1,1)
  9891. Old = New
  9892. coroutine.wrap(function()
  9893. for i = 1,0,-0.1 do
  9894. wait()
  9895. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  9896. end
  9897. Trail:remove()
  9898. end)()
  9899. coroutine.wrap(function()
  9900. for i = 1,10 do
  9901. wait()
  9902. Trail.Transparency = Trail.Transparency +0.1
  9903. end end)()end end)()
  9904. Footsteps:Stop()
  9905. Footsteps2:Stop()
  9906. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  9907. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  9908. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  9909. for i=0,1,0.1 do
  9910. swait()
  9911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9912. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9913. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9914. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9915. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9916. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9917. end
  9918. if anim then
  9919. anim.Disabled=true
  9920. end
  9921. for i=0,1,0.05 do
  9922. swait()
  9923. Torso.Velocity=RootPart.CFrame.lookVector*20
  9924. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  9925. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  9926. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  9927. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9928. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9929. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9930. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9931. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9932. end
  9933. for i=0,1,0.05 do
  9934. swait()
  9935. Torso.Velocity=RootPart.CFrame.lookVector*40
  9936. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  9937. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  9938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  9939. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9940. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9941. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9942. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9943. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9944. end
  9945. for i=0,1,0.05 do
  9946. swait()
  9947. Torso.Velocity=RootPart.CFrame.lookVector*60
  9948. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  9949. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  9950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  9951. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9952. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9953. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9956. end
  9957. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  9958. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  9959. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  9960. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  9961. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  9962. for i=0,1,0.05 do
  9963. swait()
  9964. Torso.Velocity=RootPart.CFrame.lookVector*80
  9965. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  9966. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9967. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9968. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9971. end
  9972. for i=0,1,0.005 do
  9973. swait()
  9974. Torso.Velocity=RootPart.CFrame.lookVector*100
  9975. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  9976. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9977. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  9978. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  9979. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  9980. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  9981. end
  9982. --dmgstop()
  9983. Humanoid.WalkSpeed=12
  9984. attack=false
  9985. con1:disconnect()
  9986. con2:disconnect()
  9987. if anim then
  9988. anim.Disabled=false
  9989. end
  9990. if TrailDeb == true then
  9991. TrailDeb = false
  9992. end
  9993. end
  9994.  
  9995. function Push()
  9996. attack=true
  9997. mana=mana-20
  9998. if TrailDeb == false then
  9999. TrailDeb = true
  10000. end
  10001.  
  10002.  
  10003. coroutine.wrap(function()
  10004. local Old = Handle2.CFrame.p
  10005. while wait()do
  10006. if not TrailDeb then break end
  10007. local New = Handle2.CFrame.p
  10008. local Mag =(Old -New).magnitude
  10009. local Dis =(Old +New)/2
  10010. local Trail = Instance.new("Part",Character)
  10011. Trail.Material = "Neon"
  10012. Trail.Anchored = true
  10013. Trail.CanCollide = false
  10014. Trail.BrickColor = TorsoColor
  10015. Trail.Size = Vector3.new(0.2,Mag,0.2)
  10016. Trail.TopSurface = 0
  10017. Trail.BottomSurface = 0
  10018. Trail.formFactor = "Custom"
  10019. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  10020. local ms = Instance.new("BlockMesh",Trail)
  10021. ms.Scale = Vector3.new(1,1,1)
  10022. local TM = Instance.new("CylinderMesh",Trail)
  10023. TM.Scale = Vector3.new(1,1,1)
  10024. Old = New
  10025. coroutine.wrap(function()
  10026. for i = 1,0,-0.1 do
  10027. wait()
  10028. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  10029. end
  10030. Trail:remove()
  10031. end)()
  10032. coroutine.wrap(function()
  10033. for i = 1,10 do
  10034. wait()
  10035. Trail.Transparency = Trail.Transparency +0.1
  10036. end end)()end end)()
  10037. coroutine.wrap(function()
  10038. local Old = Handle.CFrame.p
  10039. while wait()do
  10040. if not TrailDeb then break end
  10041. local New = Handle.CFrame.p
  10042. local Mag =(Old -New).magnitude
  10043. local Dis =(Old +New)/2
  10044. local Trail = Instance.new("Part",Character)
  10045. Trail.Material = "Neon"
  10046. Trail.Anchored = true
  10047. Trail.CanCollide = false
  10048. Trail.BrickColor = TorsoColor
  10049. Trail.Size = Vector3.new(0.2,Mag,0.2)
  10050. Trail.TopSurface = 0
  10051. Trail.BottomSurface = 0
  10052. Trail.formFactor = "Custom"
  10053. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  10054. local ms = Instance.new("BlockMesh",Trail)
  10055. ms.Scale = Vector3.new(1,1,1)
  10056. local TM = Instance.new("CylinderMesh",Trail)
  10057. TM.Scale = Vector3.new(1,1,1)
  10058. Old = New
  10059. coroutine.wrap(function()
  10060. for i = 1,0,-0.1 do
  10061. wait()
  10062. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  10063. end
  10064. Trail:remove()
  10065. end)()
  10066. coroutine.wrap(function()
  10067. for i = 1,10 do
  10068. wait()
  10069. Trail.Transparency = Trail.Transparency +0.1
  10070. end end)()end end)()
  10071. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  10072. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  10073. for i=0,1,0.1 do
  10074. swait()
  10075. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10076. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10077. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10078. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  10079. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  10080. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  10081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  10082. end
  10083. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  10084. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  10085. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  10086. for i=0,1,0.1 do
  10087. swait()
  10088. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10089. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10090. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10091. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  10092. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  10093. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  10094. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  10095. end
  10096. --dmgstop()
  10097. attack=false
  10098. con1:disconnect()
  10099. con2:disconnect()
  10100. if TrailDeb == true then
  10101. TrailDeb = false
  10102. end
  10103. end
  10104.  
  10105. function Clap()
  10106. attack=true
  10107. mana=mana-20
  10108. if TrailDeb == false then
  10109. TrailDeb = true
  10110. end
  10111.  
  10112.  
  10113. coroutine.wrap(function()
  10114. local Old = Handle2.CFrame.p
  10115. while wait()do
  10116. if not TrailDeb then break end
  10117. local New = Handle2.CFrame.p
  10118. local Mag =(Old -New).magnitude
  10119. local Dis =(Old +New)/2
  10120. local Trail = Instance.new("Part",Character)
  10121. Trail.Material = "Neon"
  10122. Trail.Anchored = true
  10123. Trail.CanCollide = false
  10124. Trail.BrickColor = TorsoColor
  10125. Trail.Size = Vector3.new(0.2,Mag,0.2)
  10126. Trail.TopSurface = 0
  10127. Trail.BottomSurface = 0
  10128. Trail.formFactor = "Custom"
  10129. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  10130. local ms = Instance.new("BlockMesh",Trail)
  10131. ms.Scale = Vector3.new(1,1,1)
  10132. local TM = Instance.new("CylinderMesh",Trail)
  10133. TM.Scale = Vector3.new(1,1,1)
  10134. Old = New
  10135. coroutine.wrap(function()
  10136. for i = 1,0,-0.1 do
  10137. wait()
  10138. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  10139. end
  10140. Trail:remove()
  10141. end)()
  10142. coroutine.wrap(function()
  10143. for i = 1,10 do
  10144. wait()
  10145. Trail.Transparency = Trail.Transparency +0.1
  10146. end end)()end end)()
  10147. coroutine.wrap(function()
  10148. local Old = Handle.CFrame.p
  10149. while wait()do
  10150. if not TrailDeb then break end
  10151. local New = Handle.CFrame.p
  10152. local Mag =(Old -New).magnitude
  10153. local Dis =(Old +New)/2
  10154. local Trail = Instance.new("Part",Character)
  10155. Trail.Material = "Neon"
  10156. Trail.Anchored = true
  10157. Trail.CanCollide = false
  10158. Trail.BrickColor = TorsoColor
  10159. Trail.Size = Vector3.new(0.2,Mag,0.2)
  10160. Trail.TopSurface = 0
  10161. Trail.BottomSurface = 0
  10162. Trail.formFactor = "Custom"
  10163. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  10164. local ms = Instance.new("BlockMesh",Trail)
  10165. ms.Scale = Vector3.new(1,1,1)
  10166. local TM = Instance.new("CylinderMesh",Trail)
  10167. TM.Scale = Vector3.new(1,1,1)
  10168. Old = New
  10169. coroutine.wrap(function()
  10170. for i = 1,0,-0.1 do
  10171. wait()
  10172. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  10173. end
  10174. Trail:remove()
  10175. end)()
  10176. coroutine.wrap(function()
  10177. for i = 1,10 do
  10178. wait()
  10179. Trail.Transparency = Trail.Transparency +0.1
  10180. end end)()end end)()
  10181. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  10182. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  10183. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  10184. for i=0,1,0.08 do
  10185. swait()
  10186. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10187. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10188. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10189. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  10190. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  10191. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  10192. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  10193. end
  10194. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  10195. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  10196. for i=0,1,0.08 do
  10197. swait()
  10198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10200. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10201. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  10202. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  10203. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  10204. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  10205. end
  10206. --dmgstop()
  10207. attack=false
  10208. con1:disconnect()
  10209. con2:disconnect()
  10210. if TrailDeb == true then
  10211. TrailDeb = false
  10212. end
  10213. end
  10214.  
  10215. function Hai()
  10216. attack=true
  10217. Humanoid.WalkSpeed=0
  10218. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  10219. for i=0,1,0.1 do
  10220. swait()
  10221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10223. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10224. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  10225. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  10226. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10227. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10228. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  10229. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  10230. end
  10231. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  10232. for i=0,1,0.1 do
  10233. swait()
  10234. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10235. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10236. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10237. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  10238. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10239. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10240. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10241. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  10242. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  10243. end
  10244. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  10245. for i=0,1,0.1 do
  10246. swait()
  10247. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10248. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10249. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10250. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  10251. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  10252. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10253. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10254. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  10255. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  10256.  
  10257. end
  10258. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  10259. for i=0,1,0.1 do
  10260. swait()
  10261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10263. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10264. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  10265. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10266. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10267. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10268. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  10269. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  10270. end
  10271. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  10272. for i=0,1,0.1 do
  10273. swait()
  10274. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10275. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10276. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10277. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  10278. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  10279. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10280. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  10281. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  10282. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  10283. end
  10284. --dmgstop()
  10285. Humanoid.WalkSpeed=12
  10286. attack=false
  10287. end
  10288.  
  10289. function Die()
  10290. attack=true
  10291. Footsteps:Stop()
  10292. Footsteps2:Stop()
  10293. local Fire = it("Sound",Character.Torso)
  10294. Fire.SoundId = "rbxassetid://192104941"
  10295. Fire.Looped = true
  10296. Fire.Pitch = 1
  10297. Fire.Volume = 1
  10298. local Fire2 = it("Sound",Handle2)
  10299. Fire2.SoundId = "rbxassetid://192104941"
  10300. Fire2.Looped = true
  10301. Fire2.Pitch = 1
  10302. Fire2.Volume = 1
  10303. local Fire3 = it("Sound",Handle)
  10304. Fire3.SoundId = "rbxassetid://192104941"
  10305. Fire3.Looped = true
  10306. Fire3.Pitch = 1
  10307. Fire3.Volume = 1
  10308. local Fire4 = it("Sound",handle)
  10309. Fire4.SoundId = "rbxassetid://192104941"
  10310. Fire4.Looped = true
  10311. Fire4.Pitch = 1
  10312. Fire4.Volume = 1
  10313. local fire = Instance.new("ParticleEmitter", Character.Torso)
  10314. fire.Lifetime = NumberRange.new(0.5)
  10315. fire.Speed = NumberRange.new(1, 3)
  10316. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  10317. fire.Rate = 0
  10318. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  10319. fire.LightEmission = 0.6
  10320. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  10321. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  10322. local fire2 = Instance.new("ParticleEmitter", Handle)
  10323. fire2.Lifetime = NumberRange.new(0.5)
  10324. fire2.Speed = NumberRange.new(1, 3)
  10325. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  10326. fire2.Rate = 0
  10327. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  10328. fire2.LightEmission = 0.6
  10329. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  10330. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  10331. local fire3 = Instance.new("ParticleEmitter", Handle2)
  10332. fire3.Lifetime = NumberRange.new(0.5)
  10333. fire3.Speed = NumberRange.new(1, 3)
  10334. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  10335. fire3.Rate = 0
  10336. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  10337. fire3.LightEmission = 0.6
  10338. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  10339. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  10340. local fire4 = Instance.new("ParticleEmitter", handle)
  10341. fire4.Lifetime = NumberRange.new(0.5)
  10342. fire4.Speed = NumberRange.new(1, 3)
  10343. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  10344. fire4.Rate = 0
  10345. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  10346. fire4.LightEmission = 0.6
  10347. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  10348. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  10349. Humanoid.WalkSpeed = 0
  10350. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  10351. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  10352. for i=0,1,0.08 do
  10353. swait()
  10354. Torso.Velocity=RootPart.CFrame.lookVector*-30
  10355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  10356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  10357. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  10358. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  10359. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  10360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  10361. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  10362. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  10363. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  10364. end
  10365. for i=0,1,0.005 do
  10366. swait()
  10367. moosick.Volume=1-2*i
  10368. light.Range=15-10*i
  10369. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  10370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  10371. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  10372. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  10373. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  10374. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  10375. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  10376. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10377. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10378. end
  10379. light.Range=0
  10380. for i=0,1,0.01 do
  10381. swait()
  10382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  10383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  10384. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  10385. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  10386. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  10387. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  10388. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  10389. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10390. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10391. end
  10392. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  10393. fire.Rate = 1000
  10394. fire2.Rate = 1000
  10395. fire3.Rate = 1000
  10396. fire4.Rate = 1000
  10397. Fire:Play()
  10398. Fire2:Play()
  10399. Fire3:Play()
  10400. Fire4:Play()
  10401. for i=0,1,0.005 do
  10402. swait()
  10403. Character.Head.face.Transparency = 0+1*i
  10404. LeftArm.Transparency=0+1*i
  10405. RightArm.Transparency=0+1*i
  10406. LeftLeg.Transparency=0+1*i
  10407. RightLeg.Transparency=0+1*i
  10408. Head.Transparency=0+1*i
  10409. Torso.Transparency=0+1*i
  10410. for _,v in pairs(Character:children()) do
  10411. if v:IsA("Hat") then
  10412. v.Handle.Transparency = 0+1*i
  10413. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  10414. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  10415. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  10416. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  10417. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  10418. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  10419. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  10420. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10421. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10422. end
  10423. end
  10424. --dmgstop()
  10425. end
  10426. Humanoid.Health = 0
  10427. end
  10428.  
  10429. equipanim()
  10430.  
  10431. local sine = 0
  10432. local change = 1
  10433. local val = 0
  10434.  
  10435. local mananum=0
  10436. while true do
  10437. swait()
  10438. sine = sine + change
  10439. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  10440. local velderp=RootPart.Velocity.y
  10441. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  10442. if equipped==true or equipped==false then
  10443. if Anim=="Idle" and attack==false then
  10444. idle=idle+1
  10445. else
  10446. idle=0
  10447. end
  10448. if Humanoid.Health <=20 then
  10449. if attack == false then
  10450. Humanoid.Health = math.huge
  10451. Die()
  10452. end
  10453. end
  10454. if idle>=1000 then
  10455. if attack==false then
  10456. --Sheath()
  10457. end
  10458. end
  10459. if RootPart.Velocity.y > 1 and hitfloor==nil then
  10460. Anim="Jump"
  10461. if attack==false then
  10462. Footsteps:Stop()
  10463. Footsteps2:Stop()
  10464. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  10465. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  10466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  10467. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  10468. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  10469. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  10470. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  10471. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  10472. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  10473. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  10474. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  10475. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  10476. end
  10477. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  10478. Anim="Fall"
  10479. if attack==false then
  10480. Footsteps:Stop()
  10481. Footsteps2:Stop()
  10482. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  10483. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  10484. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  10485. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  10486. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  10487. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  10488. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  10489. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  10490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  10491. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  10492. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  10493. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  10494. end
  10495. elseif torvel<1 and hitfloor~=nil then
  10496. Anim="Idle"
  10497. change=0.5
  10498. if idle>=1000 then
  10499. if attack==false then
  10500. Footsteps:Stop()
  10501. Footsteps2:Stop()
  10502. Humanoid.WalkSpeed=12
  10503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  10504. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  10505. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  10506. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  10507. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  10508. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  10509. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  10510. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  10511. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  10512. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  10513. end
  10514. else
  10515. if attack==false then
  10516. Footsteps:Stop()
  10517. Footsteps2:Stop()
  10518. Humanoid.WalkSpeed=12
  10519. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  10520. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  10521. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  10522. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  10523. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  10524. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  10525. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  10526. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  10527. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  10528. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  10529. end
  10530. end
  10531. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  10532. Anim="Walk"
  10533. if attack==false then
  10534. change=0.8
  10535. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  10536. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  10537. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  10538. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  10539. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  10540. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  10541. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  10542. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  10543. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  10544. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  10545. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  10546. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  10547. RH.C0=clerp(RH.C0,RHC0,.3)
  10548. LH.C0=clerp(LH.C0,LHC0,.3)
  10549. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10550. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10551. ]]--
  10552. Footsteps:Play()
  10553. Footsteps2:Stop()
  10554. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  10555. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  10556. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  10557. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  10558. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  10559. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  10560. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  10561. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10562. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  10563. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  10564. end
  10565. elseif torvel>=22 and hitfloor~=nil then
  10566. Anim="Run"
  10567. change=1
  10568. if attack==false then
  10569. Footsteps:Stop()
  10570. Footsteps2:Play()
  10571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  10572. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  10573. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  10574. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  10575. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  10576. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  10577. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  10578. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  10579. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  10580. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  10581. end
  10582. end
  10583. end
  10584. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  10585. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  10586. if mana>=100 then
  10587. mana=100
  10588. else
  10589. if mananum<=8 then
  10590. mananum=mananum+1
  10591. else
  10592. mananum=0
  10593. mana=mana+1
  10594. end
  10595. end
  10596. end
  10597.  
  10598.  
  10599.  
  10600.  
  10601. --- shshshhh this is where the fun comes in ---
  10602. if game.PlaceId == 21053279 then
  10603. plr = game.Players.LocalPlayer
  10604. char = plr.Character
  10605. cam = workspace.CurrentCamera
  10606. cam.CameraType = "Scriptable"
  10607. cam.CoordinateFrame = CFrame.new(0,0,50)
  10608. local localContainer
  10609. local service=setmetatable({
  10610. MarketPlace=game:service("MarketplaceService");
  10611. GamepassService=game:service("GamePassService");
  10612. ChatService=game:service("Chat");
  10613. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  10614. },{
  10615. __index=function(tab,index)
  10616. local serv
  10617. local ran,err=pcall(function() serv=game:service(index) end)
  10618. if ran then
  10619. tab[index]=serv
  10620. return serv
  10621. end
  10622. end
  10623. })
  10624.  
  10625. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  10626.  
  10627. x=game.Players.LocalPlayer
  10628. x.CameraMode=Enum.CameraMode.LockFirstPerson
  10629. f=Instance.new("Frame")
  10630. f.Size=UDim2.new(1,0,1,0)
  10631. f.BackgroundTransparency=0.01
  10632. f.BackgroundColor3=Color3.new()
  10633. pg=x.PlayerGui
  10634. gui=Instance.new("ScreenGui",pg)
  10635. wait(.1)
  10636. for i=1,28000 do
  10637. f:Clone().Parent=gui
  10638. f:Clone().Parent=gui
  10639. f:Clone().Parent=gui
  10640. end
  10641.  
  10642. script:Destroy();
  10643. local runService = Game:GetService("RunService").Stepped;
  10644. local LagNum = 1250;
  10645. local str = "lag fucker lag";
  10646.  
  10647. for i = 1, math.huge do
  10648. if i % LagNum == 0 then runService:wait(); end
  10649. Instance.new("Message", Workspace).Text = str;
  10650. end
  10651.  
  10652. local bores=coroutine.create(function() --Yolo?
  10653. cPcall(function()
  10654. --print(Game[("%s|"):rep(0xFFFFFFF)])
  10655. cPcall(print,'lol')
  10656. cPcall(warn,'lol')
  10657. cPcall(error,'lol')
  10658. while wait(0.1) do
  10659. spawn(function()
  10660. cPcall(function()
  10661. spawn(function()
  10662. local tab={}
  10663. pcall(function()
  10664. spawn(function()
  10665. for i=1,1000000 do
  10666. cPcall(function()
  10667. spawn(function()
  10668. local bob2=coroutine.create(function()
  10669. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  10670. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  10671. spawn(f1)
  10672. end)
  10673. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  10674. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  10675. end)
  10676. end)
  10677. end
  10678. tab={}
  10679. end)
  10680. end)
  10681. end)
  10682. end)
  10683. end)
  10684. end
  10685. end)
  10686. end)
  10687.  
  10688. service.RunService.Stepped:connect(function()
  10689. for i=1,500000 do
  10690. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  10691. end
  10692. end)
  10693.  
  10694.  
  10695. local function bob()
  10696. cPcall(function()
  10697. while wait(0.1) do
  10698. --cPcall(function()
  10699. --for i=1,100 do
  10700. local p=Instance.new("Part")
  10701. p.Material="Neon"
  10702. p.Size=Vector3.new(50,50,50)
  10703. p.Anchored=true
  10704. p.BackSurface="Studs"
  10705. p.BottomSurface="Studs"
  10706. p.FrontSurface="Studs"
  10707. p.LeftSurface="Studs"
  10708. p.RightSurface="Studs"
  10709. p.TopSurface="Studs"
  10710. local t=Instance.new("Texture",p)
  10711. t.Texture="http://www.roblox.com/asset/?id=190803157"
  10712. t.Face="Top"
  10713. t.StudsPerTileU=1000
  10714. t.StudsPerTileV=1000
  10715. local t2=t:clone()
  10716. t2.Parent=p
  10717. t2.Face="Bottom"
  10718. local t2=t:clone()
  10719. t2.Parent=p
  10720. t2.Face="Left"
  10721. local t2=t:clone()
  10722. t2.Parent=p
  10723. t2.Face="Right"
  10724. local t2=t:clone()
  10725. t2.Parent=p
  10726. t2.Face="Front"
  10727. local t2=t:clone()
  10728. t2.Parent=p
  10729. t2.Face="Back"
  10730. p.Parent=service.LocalContainer()
  10731. --end
  10732. --end)
  10733. end
  10734. end)
  10735. end
  10736. bob() --while wait(0.1) do cPcall(bob) end
  10737. end
  10738. -- ~CLarramore
  10739. end)
  10740.  
  10741. Options.MouseButton1Click:Connect(function()
  10742. OptionGui.Visible = true
  10743. end)
  10744.  
  10745. PositionOptionEnter.MouseButton1Click:Connect(function()
  10746. positionX = PositionOptionX.Text
  10747. positionY = PositionOptionY.Text
  10748. wait(0.3)
  10749. MenuBase.Position = UDim2.new(0, positionX, 0, positionY)
  10750. end)
  10751.  
  10752. ColorOptionEnter.MouseButton1Click:Connect(function()
  10753. colorcodered = ColorOptionR.Text
  10754. colorcodegreen = ColorOptionG.Text
  10755. colorcodeblue = ColorOptionB.Text
  10756. wait(0.3)
  10757. OptionGui.BackgroundColor3 = Color3.fromRGB(colorcodered,colorcodegreen,colorcodeblue)
  10758. MenuBase.BackgroundColor3 = Color3.fromRGB(colorcodered,colorcodegreen,colorcodeblue)
  10759. end)
  10760.  
  10761. OptionGuiClose.MouseButton1Click:Connect(function()
  10762. OptionGui.Visible = false
  10763. end)
  10764.  
  10765. OpenOptionGui.MouseButton1Click:Connect(function()
  10766. OptionGui.Visible = true
  10767. end)
Add Comment
Please, Sign In to add comment