Advertisement
firebudgy

Untitled

May 28th, 2018
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 347.04 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. ParticleEmitter0 = Instance.new("ParticleEmitter")
  19. ParticleEmitter1 = Instance.new("ParticleEmitter")
  20. ParticleEmitter2 = Instance.new("ParticleEmitter")
  21. ParticleEmitter3 = Instance.new("ParticleEmitter")
  22. Tool4 = Instance.new("Tool")
  23. BillboardGui5 = Instance.new("BillboardGui")
  24. TextLabel6 = Instance.new("TextLabel")
  25. ParticleEmitter7 = Instance.new("ParticleEmitter")
  26. Script8 = Instance.new("Script")
  27. LocalScript9 = Instance.new("LocalScript")
  28. IntValue10 = Instance.new("IntValue")
  29. Sound11 = Instance.new("Sound")
  30. Tool12 = Instance.new("Tool")
  31. Part13 = Instance.new("Part")
  32. ManualWeld14 = Instance.new("ManualWeld")
  33. ManualWeld15 = Instance.new("ManualWeld")
  34. ManualWeld16 = Instance.new("ManualWeld")
  35. Part17 = Instance.new("Part")
  36. CylinderMesh18 = Instance.new("CylinderMesh")
  37. ManualWeld19 = Instance.new("ManualWeld")
  38. ManualWeld20 = Instance.new("ManualWeld")
  39. Script21 = Instance.new("Script")
  40. Script22 = Instance.new("Script")
  41. LocalScript23 = Instance.new("LocalScript")
  42. RemoteEvent24 = Instance.new("RemoteEvent")
  43. Part25 = Instance.new("Part")
  44. ManualWeld26 = Instance.new("ManualWeld")
  45. ParticleEmitter27 = Instance.new("ParticleEmitter")
  46. ParticleEmitter28 = Instance.new("ParticleEmitter")
  47. ParticleEmitter29 = Instance.new("ParticleEmitter")
  48. PointLight30 = Instance.new("PointLight")
  49. ParticleEmitter31 = Instance.new("ParticleEmitter")
  50. Tool32 = Instance.new("Tool")
  51. Part33 = Instance.new("Part")
  52. Model34 = Instance.new("Model")
  53. ManualWeld35 = Instance.new("ManualWeld")
  54. ManualWeld36 = Instance.new("ManualWeld")
  55. Part37 = Instance.new("Part")
  56. ManualWeld38 = Instance.new("ManualWeld")
  57. ManualWeld39 = Instance.new("ManualWeld")
  58. ManualWeld40 = Instance.new("ManualWeld")
  59. ParticleEmitter41 = Instance.new("ParticleEmitter")
  60. ParticleEmitter42 = Instance.new("ParticleEmitter")
  61. PointLight43 = Instance.new("PointLight")
  62. ParticleEmitter44 = Instance.new("ParticleEmitter")
  63. ManualWeld45 = Instance.new("ManualWeld")
  64. Script46 = Instance.new("Script")
  65. Script47 = Instance.new("Script")
  66. LocalScript48 = Instance.new("LocalScript")
  67. RemoteEvent49 = Instance.new("RemoteEvent")
  68. Tool50 = Instance.new("Tool")
  69. Part51 = Instance.new("Part")
  70. Script52 = Instance.new("Script")
  71. Script53 = Instance.new("Script")
  72. LocalScript54 = Instance.new("LocalScript")
  73. RemoteEvent55 = Instance.new("RemoteEvent")
  74. ManualWeld56 = Instance.new("ManualWeld")
  75. ManualWeld57 = Instance.new("ManualWeld")
  76. ManualWeld58 = Instance.new("ManualWeld")
  77. ManualWeld59 = Instance.new("ManualWeld")
  78. ManualWeld60 = Instance.new("ManualWeld")
  79. PointLight61 = Instance.new("PointLight")
  80. ParticleEmitter62 = Instance.new("ParticleEmitter")
  81. ParticleEmitter63 = Instance.new("ParticleEmitter")
  82. ManualWeld64 = Instance.new("ManualWeld")
  83. Tool65 = Instance.new("Tool")
  84. Script66 = Instance.new("Script")
  85. Part67 = Instance.new("Part")
  86. ManualWeld68 = Instance.new("ManualWeld")
  87. Script69 = Instance.new("Script")
  88. Model70 = Instance.new("Model")
  89. ManualWeld71 = Instance.new("ManualWeld")
  90. ManualWeld72 = Instance.new("ManualWeld")
  91. ManualWeld73 = Instance.new("ManualWeld")
  92. ManualWeld74 = Instance.new("ManualWeld")
  93. ManualWeld75 = Instance.new("ManualWeld")
  94. Part76 = Instance.new("Part")
  95. ManualWeld77 = Instance.new("ManualWeld")
  96. ManualWeld78 = Instance.new("ManualWeld")
  97. ManualWeld79 = Instance.new("ManualWeld")
  98. ManualWeld80 = Instance.new("ManualWeld")
  99. ManualWeld81 = Instance.new("ManualWeld")
  100. ManualWeld82 = Instance.new("ManualWeld")
  101. ManualWeld83 = Instance.new("ManualWeld")
  102. ManualWeld84 = Instance.new("ManualWeld")
  103. ManualWeld85 = Instance.new("ManualWeld")
  104. ManualWeld86 = Instance.new("ManualWeld")
  105. ManualWeld87 = Instance.new("ManualWeld")
  106. Model88 = Instance.new("Model")
  107. ManualWeld89 = Instance.new("ManualWeld")
  108. Part90 = Instance.new("Part")
  109. ManualWeld91 = Instance.new("ManualWeld")
  110. Part92 = Instance.new("Part")
  111. ManualWeld93 = Instance.new("ManualWeld")
  112. Part94 = Instance.new("Part")
  113. SpecialMesh95 = Instance.new("SpecialMesh")
  114. ManualWeld96 = Instance.new("ManualWeld")
  115. ManualWeld97 = Instance.new("ManualWeld")
  116. ManualWeld98 = Instance.new("ManualWeld")
  117. ScreenGui99 = Instance.new("ScreenGui")
  118. Frame100 = Instance.new("Frame")
  119. ImageLabel101 = Instance.new("ImageLabel")
  120. Frame102 = Instance.new("Frame")
  121. TextButton103 = Instance.new("TextButton")
  122. TextLabel104 = Instance.new("TextLabel")
  123. Frame105 = Instance.new("Frame")
  124. TextButton106 = Instance.new("TextButton")
  125. TextButton107 = Instance.new("TextButton")
  126. TextButton108 = Instance.new("TextButton")
  127. TextButton109 = Instance.new("TextButton")
  128. Frame110 = Instance.new("Frame")
  129. LocalScript111 = Instance.new("LocalScript")
  130. LocalScript112 = Instance.new("LocalScript")
  131. RemoteEvent113 = Instance.new("RemoteEvent")
  132. Script114 = Instance.new("Script")
  133. Script115 = Instance.new("Script")
  134. StringValue116 = Instance.new("StringValue")
  135. LocalScript117 = Instance.new("LocalScript")
  136. StringValue118 = Instance.new("StringValue")
  137. BoolValue119 = Instance.new("BoolValue")
  138. StringValue120 = Instance.new("StringValue")
  139. Script121 = Instance.new("Script")
  140. LocalScript122 = Instance.new("LocalScript")
  141. LocalScript123 = Instance.new("LocalScript")
  142. Frame124 = Instance.new("Frame")
  143. Frame125 = Instance.new("Frame")
  144. Frame126 = Instance.new("Frame")
  145. TextButton127 = Instance.new("TextButton")
  146. ScrollingFrame128 = Instance.new("ScrollingFrame")
  147. TextBox129 = Instance.new("TextBox")
  148. ScrollingFrame130 = Instance.new("ScrollingFrame")
  149. LocalScript131 = Instance.new("LocalScript")
  150. ScrollingFrame132 = Instance.new("ScrollingFrame")
  151. Frame133 = Instance.new("Frame")
  152. TextLabel134 = Instance.new("TextLabel")
  153. TextLabel135 = Instance.new("TextLabel")
  154. ImageButton136 = Instance.new("ImageButton")
  155. Frame137 = Instance.new("Frame")
  156. TextButton138 = Instance.new("TextButton")
  157. ScrollingFrame139 = Instance.new("ScrollingFrame")
  158. TextBox140 = Instance.new("TextBox")
  159. ScrollingFrame141 = Instance.new("ScrollingFrame")
  160. LocalScript142 = Instance.new("LocalScript")
  161. Frame143 = Instance.new("Frame")
  162. ScrollingFrame144 = Instance.new("ScrollingFrame")
  163. Frame145 = Instance.new("Frame")
  164. TextLabel146 = Instance.new("TextLabel")
  165. TextLabel147 = Instance.new("TextLabel")
  166. TextLabel148 = Instance.new("TextLabel")
  167. Frame149 = Instance.new("Frame")
  168. TextLabel150 = Instance.new("TextLabel")
  169. TextLabel151 = Instance.new("TextLabel")
  170. TextLabel152 = Instance.new("TextLabel")
  171. TextButton153 = Instance.new("TextButton")
  172. TextLabel154 = Instance.new("TextLabel")
  173. TextLabel155 = Instance.new("TextLabel")
  174. TextButton156 = Instance.new("TextButton")
  175. TextButton157 = Instance.new("TextButton")
  176. Frame158 = Instance.new("Frame")
  177. TextLabel159 = Instance.new("TextLabel")
  178. TextLabel160 = Instance.new("TextLabel")
  179. TextLabel161 = Instance.new("TextLabel")
  180. TextLabel162 = Instance.new("TextLabel")
  181. TextLabel163 = Instance.new("TextLabel")
  182. TextLabel164 = Instance.new("TextLabel")
  183. TextLabel165 = Instance.new("TextLabel")
  184. Frame166 = Instance.new("Frame")
  185. TextButton167 = Instance.new("TextButton")
  186. TextButton168 = Instance.new("TextButton")
  187. TextButton169 = Instance.new("TextButton")
  188. Frame170 = Instance.new("Frame")
  189. LocalScript171 = Instance.new("LocalScript")
  190. Frame172 = Instance.new("Frame")
  191. Frame173 = Instance.new("Frame")
  192. TextLabel174 = Instance.new("TextLabel")
  193. TextButton175 = Instance.new("TextButton")
  194. ScrollingFrame176 = Instance.new("ScrollingFrame")
  195. ImageLabel177 = Instance.new("ImageLabel")
  196. ScrollingFrame178 = Instance.new("ScrollingFrame")
  197. LocalScript179 = Instance.new("LocalScript")
  198. RemoteFunction180 = Instance.new("RemoteFunction")
  199. TextButton181 = Instance.new("TextButton")
  200. Frame182 = Instance.new("Frame")
  201. TextLabel183 = Instance.new("TextLabel")
  202. TextLabel184 = Instance.new("TextLabel")
  203. ParticleEmitter185 = Instance.new("ParticleEmitter")
  204. ParticleEmitter186 = Instance.new("ParticleEmitter")
  205. ParticleEmitter187 = Instance.new("ParticleEmitter")
  206. ParticleEmitter188 = Instance.new("ParticleEmitter")
  207. Tool189 = Instance.new("Tool")
  208. Part190 = Instance.new("Part")
  209. ManualWeld191 = Instance.new("ManualWeld")
  210. ManualWeld192 = Instance.new("ManualWeld")
  211. ManualWeld193 = Instance.new("ManualWeld")
  212. Part194 = Instance.new("Part")
  213. CylinderMesh195 = Instance.new("CylinderMesh")
  214. ManualWeld196 = Instance.new("ManualWeld")
  215. ManualWeld197 = Instance.new("ManualWeld")
  216. Script198 = Instance.new("Script")
  217. Script199 = Instance.new("Script")
  218. LocalScript200 = Instance.new("LocalScript")
  219. RemoteEvent201 = Instance.new("RemoteEvent")
  220. Part202 = Instance.new("Part")
  221. ManualWeld203 = Instance.new("ManualWeld")
  222. ParticleEmitter204 = Instance.new("ParticleEmitter")
  223. ParticleEmitter205 = Instance.new("ParticleEmitter")
  224. ParticleEmitter206 = Instance.new("ParticleEmitter")
  225. PointLight207 = Instance.new("PointLight")
  226. ParticleEmitter208 = Instance.new("ParticleEmitter")
  227. Tool209 = Instance.new("Tool")
  228. BillboardGui210 = Instance.new("BillboardGui")
  229. TextLabel211 = Instance.new("TextLabel")
  230. ParticleEmitter212 = Instance.new("ParticleEmitter")
  231. Script213 = Instance.new("Script")
  232. LocalScript214 = Instance.new("LocalScript")
  233. IntValue215 = Instance.new("IntValue")
  234. Sound216 = Instance.new("Sound")
  235. Tool217 = Instance.new("Tool")
  236. Part218 = Instance.new("Part")
  237. Model219 = Instance.new("Model")
  238. ManualWeld220 = Instance.new("ManualWeld")
  239. ManualWeld221 = Instance.new("ManualWeld")
  240. Part222 = Instance.new("Part")
  241. ManualWeld223 = Instance.new("ManualWeld")
  242. ManualWeld224 = Instance.new("ManualWeld")
  243. ManualWeld225 = Instance.new("ManualWeld")
  244. ParticleEmitter226 = Instance.new("ParticleEmitter")
  245. ParticleEmitter227 = Instance.new("ParticleEmitter")
  246. PointLight228 = Instance.new("PointLight")
  247. ParticleEmitter229 = Instance.new("ParticleEmitter")
  248. ManualWeld230 = Instance.new("ManualWeld")
  249. Script231 = Instance.new("Script")
  250. Script232 = Instance.new("Script")
  251. LocalScript233 = Instance.new("LocalScript")
  252. RemoteEvent234 = Instance.new("RemoteEvent")
  253. Tool235 = Instance.new("Tool")
  254. Part236 = Instance.new("Part")
  255. Script237 = Instance.new("Script")
  256. Script238 = Instance.new("Script")
  257. LocalScript239 = Instance.new("LocalScript")
  258. RemoteEvent240 = Instance.new("RemoteEvent")
  259. ManualWeld241 = Instance.new("ManualWeld")
  260. ManualWeld242 = Instance.new("ManualWeld")
  261. ManualWeld243 = Instance.new("ManualWeld")
  262. ManualWeld244 = Instance.new("ManualWeld")
  263. ManualWeld245 = Instance.new("ManualWeld")
  264. PointLight246 = Instance.new("PointLight")
  265. ParticleEmitter247 = Instance.new("ParticleEmitter")
  266. ParticleEmitter248 = Instance.new("ParticleEmitter")
  267. ManualWeld249 = Instance.new("ManualWeld")
  268. Tool250 = Instance.new("Tool")
  269. Script251 = Instance.new("Script")
  270. Part252 = Instance.new("Part")
  271. ManualWeld253 = Instance.new("ManualWeld")
  272. Script254 = Instance.new("Script")
  273. Model255 = Instance.new("Model")
  274. ManualWeld256 = Instance.new("ManualWeld")
  275. ManualWeld257 = Instance.new("ManualWeld")
  276. ManualWeld258 = Instance.new("ManualWeld")
  277. ManualWeld259 = Instance.new("ManualWeld")
  278. ManualWeld260 = Instance.new("ManualWeld")
  279. Part261 = Instance.new("Part")
  280. ManualWeld262 = Instance.new("ManualWeld")
  281. ManualWeld263 = Instance.new("ManualWeld")
  282. ManualWeld264 = Instance.new("ManualWeld")
  283. ManualWeld265 = Instance.new("ManualWeld")
  284. ManualWeld266 = Instance.new("ManualWeld")
  285. ManualWeld267 = Instance.new("ManualWeld")
  286. ManualWeld268 = Instance.new("ManualWeld")
  287. ManualWeld269 = Instance.new("ManualWeld")
  288. ManualWeld270 = Instance.new("ManualWeld")
  289. ManualWeld271 = Instance.new("ManualWeld")
  290. ManualWeld272 = Instance.new("ManualWeld")
  291. Model273 = Instance.new("Model")
  292. ManualWeld274 = Instance.new("ManualWeld")
  293. Part275 = Instance.new("Part")
  294. ManualWeld276 = Instance.new("ManualWeld")
  295. Part277 = Instance.new("Part")
  296. ManualWeld278 = Instance.new("ManualWeld")
  297. Part279 = Instance.new("Part")
  298. SpecialMesh280 = Instance.new("SpecialMesh")
  299. ManualWeld281 = Instance.new("ManualWeld")
  300. ManualWeld282 = Instance.new("ManualWeld")
  301. ManualWeld283 = Instance.new("ManualWeld")
  302. ScreenGui284 = Instance.new("ScreenGui")
  303. Frame285 = Instance.new("Frame")
  304. ImageLabel286 = Instance.new("ImageLabel")
  305. Frame287 = Instance.new("Frame")
  306. TextButton288 = Instance.new("TextButton")
  307. TextLabel289 = Instance.new("TextLabel")
  308. Frame290 = Instance.new("Frame")
  309. TextButton291 = Instance.new("TextButton")
  310. TextButton292 = Instance.new("TextButton")
  311. TextButton293 = Instance.new("TextButton")
  312. TextButton294 = Instance.new("TextButton")
  313. Frame295 = Instance.new("Frame")
  314. LocalScript296 = Instance.new("LocalScript")
  315. LocalScript297 = Instance.new("LocalScript")
  316. RemoteEvent298 = Instance.new("RemoteEvent")
  317. Script299 = Instance.new("Script")
  318. Script300 = Instance.new("Script")
  319. StringValue301 = Instance.new("StringValue")
  320. LocalScript302 = Instance.new("LocalScript")
  321. StringValue303 = Instance.new("StringValue")
  322. BoolValue304 = Instance.new("BoolValue")
  323. StringValue305 = Instance.new("StringValue")
  324. Script306 = Instance.new("Script")
  325. LocalScript307 = Instance.new("LocalScript")
  326. LocalScript308 = Instance.new("LocalScript")
  327. Frame309 = Instance.new("Frame")
  328. Frame310 = Instance.new("Frame")
  329. Frame311 = Instance.new("Frame")
  330. TextButton312 = Instance.new("TextButton")
  331. ScrollingFrame313 = Instance.new("ScrollingFrame")
  332. TextBox314 = Instance.new("TextBox")
  333. ScrollingFrame315 = Instance.new("ScrollingFrame")
  334. LocalScript316 = Instance.new("LocalScript")
  335. ScrollingFrame317 = Instance.new("ScrollingFrame")
  336. Frame318 = Instance.new("Frame")
  337. TextLabel319 = Instance.new("TextLabel")
  338. TextLabel320 = Instance.new("TextLabel")
  339. ImageButton321 = Instance.new("ImageButton")
  340. Frame322 = Instance.new("Frame")
  341. TextButton323 = Instance.new("TextButton")
  342. ScrollingFrame324 = Instance.new("ScrollingFrame")
  343. TextBox325 = Instance.new("TextBox")
  344. ScrollingFrame326 = Instance.new("ScrollingFrame")
  345. LocalScript327 = Instance.new("LocalScript")
  346. Frame328 = Instance.new("Frame")
  347. ScrollingFrame329 = Instance.new("ScrollingFrame")
  348. Frame330 = Instance.new("Frame")
  349. TextLabel331 = Instance.new("TextLabel")
  350. TextLabel332 = Instance.new("TextLabel")
  351. TextLabel333 = Instance.new("TextLabel")
  352. Frame334 = Instance.new("Frame")
  353. TextLabel335 = Instance.new("TextLabel")
  354. TextLabel336 = Instance.new("TextLabel")
  355. TextLabel337 = Instance.new("TextLabel")
  356. TextButton338 = Instance.new("TextButton")
  357. TextLabel339 = Instance.new("TextLabel")
  358. TextLabel340 = Instance.new("TextLabel")
  359. TextButton341 = Instance.new("TextButton")
  360. TextButton342 = Instance.new("TextButton")
  361. Frame343 = Instance.new("Frame")
  362. TextLabel344 = Instance.new("TextLabel")
  363. TextLabel345 = Instance.new("TextLabel")
  364. TextLabel346 = Instance.new("TextLabel")
  365. TextLabel347 = Instance.new("TextLabel")
  366. TextLabel348 = Instance.new("TextLabel")
  367. TextLabel349 = Instance.new("TextLabel")
  368. TextLabel350 = Instance.new("TextLabel")
  369. Frame351 = Instance.new("Frame")
  370. TextButton352 = Instance.new("TextButton")
  371. TextButton353 = Instance.new("TextButton")
  372. TextButton354 = Instance.new("TextButton")
  373. Frame355 = Instance.new("Frame")
  374. LocalScript356 = Instance.new("LocalScript")
  375. Frame357 = Instance.new("Frame")
  376. Frame358 = Instance.new("Frame")
  377. TextLabel359 = Instance.new("TextLabel")
  378. TextButton360 = Instance.new("TextButton")
  379. ScrollingFrame361 = Instance.new("ScrollingFrame")
  380. ImageLabel362 = Instance.new("ImageLabel")
  381. ScrollingFrame363 = Instance.new("ScrollingFrame")
  382. LocalScript364 = Instance.new("LocalScript")
  383. RemoteFunction365 = Instance.new("RemoteFunction")
  384. TextButton366 = Instance.new("TextButton")
  385. Frame367 = Instance.new("Frame")
  386. TextLabel368 = Instance.new("TextLabel")
  387. TextLabel369 = Instance.new("TextLabel")
  388. Script370 = Instance.new("Script")
  389. Script371 = Instance.new("Script")
  390. StringValue372 = Instance.new("StringValue")
  391. LocalScript373 = Instance.new("LocalScript")
  392. StringValue374 = Instance.new("StringValue")
  393. BoolValue375 = Instance.new("BoolValue")
  394. StringValue376 = Instance.new("StringValue")
  395. Script377 = Instance.new("Script")
  396. LocalScript378 = Instance.new("LocalScript")
  397. LocalScript379 = Instance.new("LocalScript")
  398. RemoteFunction380 = Instance.new("RemoteFunction")
  399. LocalScript381 = Instance.new("LocalScript")
  400. RemoteEvent382 = Instance.new("RemoteEvent")
  401. Frame383 = Instance.new("Frame")
  402. Frame384 = Instance.new("Frame")
  403. Frame385 = Instance.new("Frame")
  404. TextButton386 = Instance.new("TextButton")
  405. ScrollingFrame387 = Instance.new("ScrollingFrame")
  406. TextBox388 = Instance.new("TextBox")
  407. ScrollingFrame389 = Instance.new("ScrollingFrame")
  408. LocalScript390 = Instance.new("LocalScript")
  409. ScrollingFrame391 = Instance.new("ScrollingFrame")
  410. Frame392 = Instance.new("Frame")
  411. TextLabel393 = Instance.new("TextLabel")
  412. TextLabel394 = Instance.new("TextLabel")
  413. ImageButton395 = Instance.new("ImageButton")
  414. Frame396 = Instance.new("Frame")
  415. TextButton397 = Instance.new("TextButton")
  416. ScrollingFrame398 = Instance.new("ScrollingFrame")
  417. TextBox399 = Instance.new("TextBox")
  418. ScrollingFrame400 = Instance.new("ScrollingFrame")
  419. LocalScript401 = Instance.new("LocalScript")
  420. Frame402 = Instance.new("Frame")
  421. ScrollingFrame403 = Instance.new("ScrollingFrame")
  422. Frame404 = Instance.new("Frame")
  423. TextLabel405 = Instance.new("TextLabel")
  424. TextLabel406 = Instance.new("TextLabel")
  425. TextLabel407 = Instance.new("TextLabel")
  426. Frame408 = Instance.new("Frame")
  427. TextLabel409 = Instance.new("TextLabel")
  428. TextLabel410 = Instance.new("TextLabel")
  429. TextLabel411 = Instance.new("TextLabel")
  430. TextButton412 = Instance.new("TextButton")
  431. TextLabel413 = Instance.new("TextLabel")
  432. TextLabel414 = Instance.new("TextLabel")
  433. TextButton415 = Instance.new("TextButton")
  434. TextButton416 = Instance.new("TextButton")
  435. Frame417 = Instance.new("Frame")
  436. TextLabel418 = Instance.new("TextLabel")
  437. TextLabel419 = Instance.new("TextLabel")
  438. TextLabel420 = Instance.new("TextLabel")
  439. TextLabel421 = Instance.new("TextLabel")
  440. TextLabel422 = Instance.new("TextLabel")
  441. TextLabel423 = Instance.new("TextLabel")
  442. TextLabel424 = Instance.new("TextLabel")
  443. Frame425 = Instance.new("Frame")
  444. TextButton426 = Instance.new("TextButton")
  445. TextButton427 = Instance.new("TextButton")
  446. TextButton428 = Instance.new("TextButton")
  447. Frame429 = Instance.new("Frame")
  448. LocalScript430 = Instance.new("LocalScript")
  449. Frame431 = Instance.new("Frame")
  450. Frame432 = Instance.new("Frame")
  451. TextLabel433 = Instance.new("TextLabel")
  452. TextButton434 = Instance.new("TextButton")
  453. ScrollingFrame435 = Instance.new("ScrollingFrame")
  454. ImageLabel436 = Instance.new("ImageLabel")
  455. ScrollingFrame437 = Instance.new("ScrollingFrame")
  456. LocalScript438 = Instance.new("LocalScript")
  457. Frame439 = Instance.new("Frame")
  458. ImageLabel440 = Instance.new("ImageLabel")
  459. Frame441 = Instance.new("Frame")
  460. TextButton442 = Instance.new("TextButton")
  461. TextLabel443 = Instance.new("TextLabel")
  462. Frame444 = Instance.new("Frame")
  463. TextButton445 = Instance.new("TextButton")
  464. TextButton446 = Instance.new("TextButton")
  465. TextButton447 = Instance.new("TextButton")
  466. TextButton448 = Instance.new("TextButton")
  467. Frame449 = Instance.new("Frame")
  468. LocalScript450 = Instance.new("LocalScript")
  469. TextButton451 = Instance.new("TextButton")
  470. Frame452 = Instance.new("Frame")
  471. TextLabel453 = Instance.new("TextLabel")
  472. TextLabel454 = Instance.new("TextLabel")
  473. ParticleEmitter185.Name = "Aether1"
  474. ParticleEmitter185.Parent = mas
  475. ParticleEmitter185.Transparency = NumberSequence.new(1,0,1)
  476. ParticleEmitter185.Rotation = NumberRange.new(0, 360)
  477. ParticleEmitter185.Size = NumberSequence.new(0.875,1.5625)
  478. ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  479. ParticleEmitter185.Enabled = false
  480. ParticleEmitter185.LightEmission = 0.20000000298023
  481. ParticleEmitter185.Texture = "http://www.roblox.com/asset/?id=445231898"
  482. ParticleEmitter185.Lifetime = NumberRange.new(2, 4)
  483. ParticleEmitter185.Rate = 80
  484. ParticleEmitter185.RotSpeed = NumberRange.new(-20, 20)
  485. ParticleEmitter185.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  486. ParticleEmitter185.VelocitySpread = 360
  487. ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  488. ParticleEmitter186.Name = "Aether2"
  489. ParticleEmitter186.Parent = mas
  490. ParticleEmitter186.Transparency = NumberSequence.new(1,0,1)
  491. ParticleEmitter186.Rotation = NumberRange.new(0, 360)
  492. ParticleEmitter186.Size = NumberSequence.new(0.875,1.5625)
  493. ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  494. ParticleEmitter186.Enabled = false
  495. ParticleEmitter186.LightEmission = 0.20000000298023
  496. ParticleEmitter186.Texture = "http://www.roblox.com/asset/?id=445231746"
  497. ParticleEmitter186.Lifetime = NumberRange.new(2, 3)
  498. ParticleEmitter186.Rate = 80
  499. ParticleEmitter186.RotSpeed = NumberRange.new(-20, 20)
  500. ParticleEmitter186.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  501. ParticleEmitter186.VelocitySpread = 360
  502. ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  503. ParticleEmitter187.Name = "Aether3"
  504. ParticleEmitter187.Parent = mas
  505. ParticleEmitter187.Transparency = NumberSequence.new(1,0,0,1)
  506. ParticleEmitter187.Rotation = NumberRange.new(0, 360)
  507. ParticleEmitter187.Size = NumberSequence.new(2,2)
  508. ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
  509. ParticleEmitter187.Enabled = false
  510. ParticleEmitter187.LightEmission = 1
  511. ParticleEmitter187.Texture = "http://www.roblox.com/asset/?id=398285173"
  512. ParticleEmitter187.ZOffset = 2
  513. ParticleEmitter187.Lifetime = NumberRange.new(2, 4)
  514. ParticleEmitter187.Rate = 120
  515. ParticleEmitter187.Speed = NumberRange.new(0.5, 0.5)
  516. ParticleEmitter187.VelocitySpread = 360
  517. ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
  518. ParticleEmitter188.Name = "Aether4"
  519. ParticleEmitter188.Parent = mas
  520. ParticleEmitter188.Transparency = NumberSequence.new(0.96100002527237,0.88749998807907,0.98000001907349)
  521. ParticleEmitter188.Size = NumberSequence.new(0.44444400072098,3.8125,5.3125,2.375)
  522. ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
  523. ParticleEmitter188.Enabled = false
  524. ParticleEmitter188.LightEmission = 1
  525. ParticleEmitter188.Texture = "http://www.roblox.com/asset/?id=217245118"
  526. ParticleEmitter188.ZOffset = 3
  527. ParticleEmitter188.Lifetime = NumberRange.new(0.5, 0.5)
  528. ParticleEmitter188.Rate = 100
  529. ParticleEmitter188.Speed = NumberRange.new(0, 0)
  530. ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
  531. Tool209.Name = "Conch"
  532. Tool209.Parent = mas
  533. Tool209.GripForward = Vector3.new(-0, 0.98480773, -0.173648193)
  534. Tool209.GripPos = Vector3.new(0, -0.542477846, 0.0603880882)
  535. Tool209.GripRight = Vector3.new(0.866025388, 0.0868240967, 0.492403865)
  536. Tool209.GripUp = Vector3.new(-0.5, 0.150383741, 0.852868497)
  537. BillboardGui210.Name = "G"
  538. BillboardGui210.Parent = mas
  539. BillboardGui210.Size = UDim2.new(4, 0, 1, 0)
  540. BillboardGui210.Enabled = false
  541. BillboardGui210.AlwaysOnTop = true
  542. BillboardGui210.StudsOffset = Vector3.new(0, 2, 0)
  543. TextLabel211.Name = "L"
  544. TextLabel211.Parent = BillboardGui210
  545. TextLabel211.Transparency = 1
  546. TextLabel211.Size = UDim2.new(1, 0, 1, 0)
  547. TextLabel211.Text = "Nothing."
  548. TextLabel211.BackgroundColor3 = Color3.new(0, 0, 0)
  549. TextLabel211.BackgroundTransparency = 1
  550. TextLabel211.TextColor3 = Color3.new(0.490196, 0.407843, 0.729412)
  551. TextLabel211.TextScaled = true
  552. TextLabel211.TextStrokeColor3 = Color3.new(1, 0.847059, 0.45098)
  553. TextLabel211.TextStrokeTransparency = 0.40000000596046
  554. TextLabel211.TextWrapped = true
  555. TextLabel211.TextYAlignment = Enum.TextYAlignment.Bottom
  556. ParticleEmitter212.Name = "E"
  557. ParticleEmitter212.Parent = mas
  558. ParticleEmitter212.Transparency = NumberSequence.new(1,0,1)
  559. ParticleEmitter212.Rotation = NumberRange.new(0, 360)
  560. ParticleEmitter212.Size = NumberSequence.new(0.875,1.5625)
  561. ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  562. ParticleEmitter212.Enabled = false
  563. ParticleEmitter212.LightEmission = 0.20000000298023
  564. ParticleEmitter212.Texture = "http://www.roblox.com/asset/?id=445231746"
  565. ParticleEmitter212.Lifetime = NumberRange.new(2, 3)
  566. ParticleEmitter212.Rate = 80
  567. ParticleEmitter212.RotSpeed = NumberRange.new(-20, 20)
  568. ParticleEmitter212.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  569. ParticleEmitter212.VelocitySpread = 360
  570. ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  571. Script213.Parent = Tool209
  572. table.insert(cors,sandbox(Script213,function()
  573. local ev=Instance.new("RemoteEvent",script.Parent)
  574. ev.Name="Conch"
  575. local function ConchEvent(p,number)
  576. script.Parent.Type.Value=number
  577. end
  578. ev.OnServerEvent:connect(ConchEvent)
  579. local Tool=script.Parent
  580. local Gui=Tool.Handle:WaitForChild("G")
  581. local L=Gui:WaitForChild("L")
  582. local SoundsIds={
  583. {448352003,"No."},
  584. {147760112,"Nothing."},
  585. {483414191,"Try asking again."},
  586. {483414204,"I don't think so."},
  587. {483972159,"Maybe some day."},
  588. {483977329,"Yes."}
  589. }
  590.  
  591. local Cooldown=false
  592.  
  593. local function Activate()
  594. if not Cooldown then
  595. Cooldown=true
  596.  
  597. local rand=Tool.Type.Value
  598. local S=Instance.new("Sound",Tool.Handle)
  599. S.SoundId="rbxassetid://"..SoundsIds[rand][1]
  600. S.Volume=1
  601. S:Play()
  602. spawn(function()
  603. wait(3)
  604. S:Destroy()
  605. end)
  606. L.Text=SoundsIds[rand][2]
  607. Gui.Enabled=true
  608. Tool.Handle.E:Emit(10)
  609. wait(3)
  610. Gui.Enabled=false
  611. wait(.5)
  612. Cooldown=false
  613. end
  614. end
  615. Tool.Activated:connect(Activate)
  616. end))
  617. LocalScript214.Parent = Tool209
  618. table.insert(cors,sandbox(LocalScript214,function()
  619. local plr=game.Players.LocalPlayer
  620.  
  621. local Input=game:GetService("UserInputService")
  622.  
  623.  
  624. Input.InputBegan:connect(function(input)
  625. if input.KeyCode==Enum.KeyCode.U and Input:GetFocusedTextBox()==nil then
  626. script.Parent.Conch:FireServer("1")
  627. end
  628. if input.KeyCode==Enum.KeyCode.I and Input:GetFocusedTextBox()==nil then
  629. script.Parent.Conch:FireServer("2")
  630. end
  631. if input.KeyCode==Enum.KeyCode.O and Input:GetFocusedTextBox()==nil then
  632. script.Parent.Conch:FireServer("3")
  633. end
  634. if input.KeyCode==Enum.KeyCode.P and Input:GetFocusedTextBox()==nil then
  635. script.Parent.Conch:FireServer("4")
  636. end
  637. if input.KeyCode==Enum.KeyCode.LeftBracket and Input:GetFocusedTextBox()==nil then
  638. script.Parent.Conch:FireServer("5")
  639. end
  640. if input.KeyCode==Enum.KeyCode.RightBracket and Input:GetFocusedTextBox()==nil then
  641. script.Parent.Conch:FireServer("6")
  642. end
  643. end)
  644. end))
  645. IntValue215.Name = "Type"
  646. IntValue215.Parent = Tool209
  647. IntValue215.Value = 1
  648. Sound216.Parent = Tool209
  649. Tool189.Name = "Olivia"
  650. Tool189.Parent = mas
  651. Tool189.TextureId = "rbxassetid://236599083"
  652. Tool189.GripForward = Vector3.new(1, 0, 0)
  653. Tool189.GripPos = Vector3.new(0, 2, 0)
  654. Tool189.GripRight = Vector3.new(0, 0, -1)
  655. Tool189.GripUp = Vector3.new(0, -1, 0)
  656. Tool189.ToolTip = "OathKeeper"
  657. Tool189.CanBeDropped = false
  658. Part190.Name = "Handle"
  659. Part190.Parent = Tool189
  660. Part190.BrickColor = BrickColor.new("Dark stone grey")
  661. Part190.Reflectance = 0.40000000596046
  662. Part190.Transparency = 1
  663. Part190.Rotation = Vector3.new(-90, 0, 0)
  664. Part190.CanCollide = false
  665. Part190.FormFactor = Enum.FormFactor.Custom
  666. Part190.Size = Vector3.new(0.638599575, 6.67512226, 0.894040227)
  667. Part190.CFrame = CFrame.new(2.280689, 4.09103489, 30.2925091, 1, 0, -3.11913445e-15, -3.11913445e-15, 0, 1, 0, -1, 0)
  668. Part190.BottomSurface = Enum.SurfaceType.Smooth
  669. Part190.TopSurface = Enum.SurfaceType.Smooth
  670. Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  671. Part190.Position = Vector3.new(2.280689, 4.09103489, 30.2925091)
  672. Part190.Orientation = Vector3.new(-90, 0, 0)
  673. Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  674. ManualWeld191.Name = "Weld"
  675. ManualWeld191.Parent = Part190
  676. ManualWeld191.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
  677. ManualWeld191.C1 = CFrame.new(-0.0213336945, -1.9965806, -0.0587976575, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  678. ManualWeld191.Part0 = Part190
  679. ManualWeld191.Part1 = Part194
  680. ManualWeld192.Name = "Weld"
  681. ManualWeld192.Parent = mas
  682. ManualWeld192.C0 = CFrame.new(0, 0, 0, 8.9408033e-08, 1, 3.6135458e-07, -3.725292e-07, -3.61354523e-07, 1, 1, -8.9408168e-08, 3.72529172e-07)
  683. ManualWeld192.C1 = CFrame.new(-0.009765625, -0.902000904, 1.1920929e-07, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  684. ManualWeld192.Part0 = nil
  685. ManualWeld192.Part1 = Part194
  686. ManualWeld193.Name = "Weld"
  687. ManualWeld193.Parent = mas
  688. ManualWeld193.C0 = CFrame.new(0, 0, 0, -3.725292e-07, -1.48504768e-07, 1, 8.9408104e-08, 1, 1.48504796e-07, -1, 8.94081609e-08, -3.72529172e-07)
  689. ManualWeld193.C1 = CFrame.new(0.0011882782, -3.0788312, -0.00642350316, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  690. ManualWeld193.Part0 = nil
  691. ManualWeld193.Part1 = Part194
  692. Part194.Name = "CylinderMesh1.0"
  693. Part194.Parent = Tool189
  694. Part194.Material = Enum.Material.Granite
  695. Part194.BrickColor = BrickColor.new("Pink")
  696. Part194.Rotation = Vector3.new(-90, 0, 0)
  697. Part194.CanCollide = false
  698. Part194.FormFactor = Enum.FormFactor.Custom
  699. Part194.Size = Vector3.new(0.200000003, 1.14180911, 0.200000003)
  700. Part194.CFrame = CFrame.new(2.30202341, 4.14983273, 28.295929, 1, 3.725292e-07, 8.94094825e-08, -8.94095464e-08, 1.55955462e-07, 1, 3.72529172e-07, -1, 1.5595549e-07)
  701. Part194.BottomSurface = Enum.SurfaceType.Smooth
  702. Part194.TopSurface = Enum.SurfaceType.Smooth
  703. Part194.Color = Color3.new(1, 0.4, 0.8)
  704. Part194.Position = Vector3.new(2.30202341, 4.14983273, 28.295929)
  705. Part194.Orientation = Vector3.new(-90, 0, 0)
  706. Part194.Color = Color3.new(1, 0.4, 0.8)
  707. CylinderMesh195.Parent = Part194
  708. ManualWeld196.Name = "Weld"
  709. ManualWeld196.Parent = mas
  710. ManualWeld196.C0 = CFrame.new(0, 0, 0, -1, 8.94095464e-08, -3.72529172e-07, 8.94094114e-08, 1, 3.6135458e-07, 3.725292e-07, 3.61354523e-07, -1)
  711. ManualWeld196.C1 = CFrame.new(0, 0.632318974, 3.87430191e-06, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  712. ManualWeld196.Part0 = nil
  713. ManualWeld196.Part1 = Part194
  714. ManualWeld197.Name = "Weld"
  715. ManualWeld197.Parent = mas
  716. ManualWeld197.C0 = CFrame.new(0, 0, 0, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 3.61354523e-07, -1, 8.94094114e-08, 1, 3.6135458e-07)
  717. ManualWeld197.C1 = CFrame.new(0, -0.59699297, 0.00163406134, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  718. ManualWeld197.Part0 = nil
  719. ManualWeld197.Part1 = Part194
  720. Script198.Name = "CharacterWeld"
  721. Script198.Parent = Tool189
  722. table.insert(cors,sandbox(Script198,function()
  723. -- Tool References
  724. local Tool = script.Parent
  725. local Player = script.Parent.Parent.Parent
  726. local Model = nil
  727.  
  728. -- When the tool is unequipped
  729. Tool.Unequipped:connect(function()
  730.  
  731. -- Define Character
  732. local Character = Player.Character
  733.  
  734. -- Create the welded model
  735. Model = Instance.new("Model", Character)
  736. Model.Name = Tool.Name.."Weld"
  737.  
  738. -- Weld all parts to the handle
  739. local Handle = Tool.Handle:Clone()
  740. Handle.Name = "Part"
  741. Handle.CanCollide = false
  742. Handle.Parent = Model
  743. for _,Item in pairs(Tool:GetChildren()) do
  744. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  745. if Item.Name ~= "Handle" then
  746. local Part = Item:Clone()
  747. Part.Name = "Part"
  748. local Weld = Instance.new("Weld")
  749. Weld.Parent = Part
  750. Weld.Part0 = Part
  751. Weld.Part1 = Handle
  752. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  753. Part.Parent = Model
  754. end
  755. end
  756. end
  757.  
  758. -- CFrame model to side
  759. local Weld = Instance.new("Weld")
  760. Weld.Parent = Handle
  761. Weld.Part0 = Handle
  762. Weld.Part1 = Player.Character.Torso
  763. Weld.C0 = CFrame.new(0, 0, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(40))
  764.  
  765. end)
  766.  
  767. -- When the tool is equipped
  768. Tool.Equipped:connect(function()
  769.  
  770. -- Remove the tool when they re-equip sword
  771. if Model ~= nil then
  772. Model:Destroy()
  773. end
  774.  
  775. end)
  776. end))
  777. Script199.Name = "SwordScript"
  778. Script199.Parent = Tool189
  779. table.insert(cors,sandbox(Script199,function()
  780. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  781.  
  782. r = game:service("RunService")
  783.  
  784.  
  785. local damage = 5
  786.  
  787.  
  788. local slash_damage = 10
  789. local lunge_damage = 30
  790.  
  791. sword = script.Parent.Handle
  792. Tool = script.Parent
  793.  
  794. local fxToggled = false
  795.  
  796. local SlashSound = Instance.new("Sound")
  797. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  798. SlashSound.Parent = sword
  799. SlashSound.Volume = .7
  800.  
  801. local LungeSound = Instance.new("Sound")
  802. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  803. LungeSound.Parent = sword
  804. LungeSound.Volume = .6
  805.  
  806. local UnsheathSound = Instance.new("Sound")
  807. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  808. UnsheathSound.Parent = sword
  809. UnsheathSound.Volume = 1
  810.  
  811.  
  812. function blow(hit)
  813. if (hit.Parent == nil) then return end
  814.  
  815. local humanoid = hit.Parent:findFirstChild("Humanoid")
  816. local vCharacter = Tool.Parent
  817. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  818. local hum = vCharacter:findFirstChild("Humanoid")
  819. if humanoid and humanoid ~= hum and hum then
  820. -- final check, make sure sword is in-hand
  821. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  822. local right_arm = vCharacter:FindFirstChild("Right Arm")
  823. if (right_arm) then
  824. local joint = right_arm:FindFirstChild("RightGrip")
  825. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  826. if guygettingsliced then --If he's a player
  827. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  828. tagHumanoid(humanoid, vPlayer)
  829. humanoid:TakeDamage(damage)
  830. wait(1)
  831. untagHumanoid(humanoid)
  832. --end
  833. else --If he's not a player (AI, shop, etc)
  834. tagHumanoid(humanoid, vPlayer)
  835. humanoid:TakeDamage(damage)
  836. wait(1)
  837. untagHumanoid(humanoid)
  838. end
  839. end
  840. end
  841.  
  842. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  843.  
  844.  
  845. end
  846. end
  847.  
  848.  
  849. function tagHumanoid(humanoid, player)
  850. local creator_tag = Instance.new("ObjectValue")
  851. creator_tag.Value = player
  852. creator_tag.Name = "creator"
  853. creator_tag.Parent = humanoid
  854. end
  855.  
  856. function untagHumanoid(humanoid)
  857. if humanoid ~= nil then
  858. local tag = humanoid:findFirstChild("creator")
  859. if tag ~= nil then
  860. tag.Parent = nil
  861. end
  862. end
  863. end
  864.  
  865.  
  866. function attack()
  867. damage = slash_damage
  868. SlashSound:play()
  869. local anim = Instance.new("StringValue")
  870. anim.Name = "toolanim"
  871. anim.Value = "Slash"
  872. anim.Parent = Tool
  873. end
  874. local fx=script.Parent:FindFirstChild("FX")
  875. local fx2=fx:FindFirstChild("Stroke")
  876. function lunge()
  877. damage = lunge_damage
  878.  
  879. LungeSound:play()
  880.  
  881. local anim = Instance.new("StringValue")
  882. anim.Name = "toolanim"
  883. anim.Value = "Lunge"
  884. anim.Parent = Tool
  885.  
  886.  
  887. local force = Instance.new("BodyVelocity")
  888. force.velocity = Vector3.new(0,10,0)
  889. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  890. force.Parent = Tool.Parent.Torso
  891. if fx and fx2 and fxToggled then fx2.Enabled=true end
  892. wait(.25)
  893. swordOut()
  894. wait(.25)
  895. force.Parent = nil
  896. wait(.5)
  897. swordUp()
  898. if fx and fx2 then fx2.Enabled=false end
  899.  
  900. damage = slash_damage
  901. end
  902.  
  903. function swordUp()
  904. Tool.GripForward = Vector3.new(1, 0, 0)
  905. Tool.GripRight = Vector3.new(0, 0, -1)
  906. Tool.GripUp = Vector3.new(0, -1, 0)
  907. end
  908.  
  909. function swordOut()
  910. Tool.GripForward = Vector3.new(1, 0, 0)
  911. Tool.GripRight = Vector3.new(0, 0, -1)
  912. Tool.GripUp = Vector3.new(-20, -1, 0)
  913. end
  914.  
  915. function swordAcross()
  916. -- parry
  917. end
  918.  
  919.  
  920. Tool.Enabled = true
  921. local last_attack = 0
  922. function onActivated()
  923.  
  924. if not Tool.Enabled then
  925. return
  926. end
  927.  
  928. Tool.Enabled = false
  929.  
  930. local character = Tool.Parent;
  931. local humanoid = character.Humanoid
  932. if humanoid == nil then
  933. print("Humanoid not found")
  934. return
  935. end
  936.  
  937. local t = r.Stepped:wait()
  938.  
  939. if (t - last_attack < .2) then
  940. lunge()
  941. else
  942. attack()
  943. end
  944.  
  945. last_attack = t
  946.  
  947. --wait(.5)
  948.  
  949. Tool.Enabled = true
  950. end
  951.  
  952.  
  953. function onEquipped()
  954. UnsheathSound:play()
  955. end
  956. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  957. local ch=script.Parent.FX:GetChildren()
  958. for i=1,#ch do
  959. if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
  960. ch[i].Enabled=toggle
  961. end
  962. end
  963. spawn(function()
  964. wait(.5)
  965. script.Parent.FX.Stroke.Enabled=false
  966. end)
  967. fxToggled=toggle
  968. if not toggle then
  969. script.Parent.Blade.Material=Enum.Material.Metal
  970. script.Parent.Blade.BrickColor=BrickColor.new("Black")
  971. damage=5
  972. slash_damage=10
  973. lunge_damage=30
  974.  
  975. else
  976. script.Parent.Blade.Material=Enum.Material.Neon
  977. script.Parent.Blade.BrickColor=BrickColor.new("Buttermilk")
  978. damage=5
  979. slash_damage=10
  980. lunge_damage=30
  981. end
  982. end)
  983.  
  984. script.Parent.Activated:connect(onActivated)
  985. script.Parent.Equipped:connect(onEquipped)
  986.  
  987.  
  988. connection = sword.Touched:connect(blow)
  989.  
  990.  
  991.  
  992. end))
  993. LocalScript200.Parent = Tool189
  994. table.insert(cors,sandbox(LocalScript200,function()
  995. repeat wait() until game.Players.LocalPlayer.Character~=nil
  996. local plr=game.Players.LocalPlayer
  997. local chr=plr.Character
  998. local KeyPress=game:GetService("UserInputService")
  999.  
  1000. local Tool=script.Parent
  1001. local ToolEquipped=false
  1002.  
  1003. local fx=false
  1004. KeyPress.InputBegan:connect(function(Key)
  1005. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  1006. fx = not fx
  1007. script.Parent.Effects:FireServer(fx)
  1008. end
  1009. end)
  1010.  
  1011. Tool.Equipped:connect(function()
  1012. ToolEquipped=true
  1013. end)
  1014. Tool.Unequipped:connect(function()
  1015. ToolEquipped=false
  1016. end)
  1017.  
  1018. end))
  1019. RemoteEvent201.Name = "Effects"
  1020. RemoteEvent201.Parent = Tool189
  1021. Part202.Name = "FX"
  1022. Part202.Parent = Tool189
  1023. Part202.BrickColor = BrickColor.new("Dark stone grey")
  1024. Part202.Reflectance = 0.40000000596046
  1025. Part202.Transparency = 1
  1026. Part202.Rotation = Vector3.new(-90, 0, 0)
  1027. Part202.CanCollide = false
  1028. Part202.FormFactor = Enum.FormFactor.Custom
  1029. Part202.Size = Vector3.new(0.638599575, 4.47512245, 0.200000003)
  1030. Part202.CFrame = CFrame.new(2.28068852, 4.14401436, 31.3925095, 1, 1.4477809e-14, -7.10542736e-15, -7.10542736e-15, 0, 1, -1.4477809e-14, -1, 0)
  1031. Part202.BottomSurface = Enum.SurfaceType.Smooth
  1032. Part202.TopSurface = Enum.SurfaceType.Smooth
  1033. Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1034. Part202.Position = Vector3.new(2.28068852, 4.14401436, 31.3925095)
  1035. Part202.Orientation = Vector3.new(-90, 0, 0)
  1036. Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1037. ManualWeld203.Name = "Weld"
  1038. ManualWeld203.Parent = Part202
  1039. ManualWeld203.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
  1040. ManualWeld203.C1 = CFrame.new(-0.0213336945, -3.09658098, -0.00581765175, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  1041. ManualWeld203.Part0 = Part202
  1042. ManualWeld203.Part1 = Part194
  1043. ParticleEmitter204.Name = "Lightning1"
  1044. ParticleEmitter204.Parent = Part202
  1045. ParticleEmitter204.Transparency = NumberSequence.new(1,0.77777802944183,0.98000001907349)
  1046. ParticleEmitter204.Rotation = NumberRange.new(0, 360)
  1047. ParticleEmitter204.Size = NumberSequence.new(0.3125,0.5625,0.60509598255157,0.5,0.3821650147438)
  1048. ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  1049. ParticleEmitter204.Enabled = false
  1050. ParticleEmitter204.LightEmission = 0.60000002384186
  1051. ParticleEmitter204.Texture = "rbxassetid://203216563"
  1052. ParticleEmitter204.Lifetime = NumberRange.new(1, 3)
  1053. ParticleEmitter204.Rate = 40
  1054. ParticleEmitter204.RotSpeed = NumberRange.new(-500, 500)
  1055. ParticleEmitter204.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  1056. ParticleEmitter204.VelocitySpread = 360
  1057. ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  1058. ParticleEmitter205.Name = "Lightning2"
  1059. ParticleEmitter205.Parent = Part202
  1060. ParticleEmitter205.Transparency = NumberSequence.new(0,0.46857100725174,0.77777802944183,0.98000001907349)
  1061. ParticleEmitter205.Rotation = NumberRange.new(0, 360)
  1062. ParticleEmitter205.Size = NumberSequence.new(0.15923599898815,0.35031899809837)
  1063. ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  1064. ParticleEmitter205.Enabled = false
  1065. ParticleEmitter205.LightEmission = 0.60000002384186
  1066. ParticleEmitter205.Texture = "http://www.roblox.com/asset/?id=296659257"
  1067. ParticleEmitter205.Lifetime = NumberRange.new(2, 3)
  1068. ParticleEmitter205.Rate = 80
  1069. ParticleEmitter205.RotSpeed = NumberRange.new(-30, 30)
  1070. ParticleEmitter205.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  1071. ParticleEmitter205.VelocitySpread = 360
  1072. ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  1073. ParticleEmitter206.Name = "Lightning3"
  1074. ParticleEmitter206.Parent = Part202
  1075. ParticleEmitter206.Transparency = NumberSequence.new(1,0,0,0,0,0.98000001907349)
  1076. ParticleEmitter206.Rotation = NumberRange.new(0, 360)
  1077. ParticleEmitter206.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  1078. ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
  1079. ParticleEmitter206.Enabled = false
  1080. ParticleEmitter206.LightEmission = 0.69999998807907
  1081. ParticleEmitter206.Texture = "rbxassetid://289770974"
  1082. ParticleEmitter206.Acceleration = Vector3.new(0, -1, 1)
  1083. ParticleEmitter206.Lifetime = NumberRange.new(2, 3)
  1084. ParticleEmitter206.RotSpeed = NumberRange.new(-30, 30)
  1085. ParticleEmitter206.Speed = NumberRange.new(0.5, 0.5)
  1086. ParticleEmitter206.VelocitySpread = 360
  1087. ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
  1088. PointLight207.Parent = Part202
  1089. PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
  1090. PointLight207.Enabled = false
  1091. PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
  1092. ParticleEmitter208.Name = "Stroke"
  1093. ParticleEmitter208.Parent = Part202
  1094. ParticleEmitter208.Transparency = NumberSequence.new(0.20454500615597,1)
  1095. ParticleEmitter208.Rotation = NumberRange.new(0, 360)
  1096. ParticleEmitter208.Size = NumberSequence.new(1.125,0.8125,2.3333299160004)
  1097. ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
  1098. ParticleEmitter208.Enabled = false
  1099. ParticleEmitter208.LightEmission = 0.20000000298023
  1100. ParticleEmitter208.Texture = "http://www.roblox.com/asset/?id=296659257"
  1101. ParticleEmitter208.Acceleration = Vector3.new(0, 0, 0.100000001)
  1102. ParticleEmitter208.Lifetime = NumberRange.new(1, 2)
  1103. ParticleEmitter208.Rate = 200
  1104. ParticleEmitter208.RotSpeed = NumberRange.new(-25, 25)
  1105. ParticleEmitter208.Speed = NumberRange.new(0, 0.10000000149012)
  1106. ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
  1107. Tool217.Name = "Saber"
  1108. Tool217.Parent = mas
  1109. Tool217.GripForward = Vector3.new(1, 0, 0)
  1110. Tool217.GripPos = Vector3.new(0, 2, 0)
  1111. Tool217.GripRight = Vector3.new(0, 0, -1)
  1112. Tool217.GripUp = Vector3.new(0, -1, 0)
  1113. Tool217.ToolTip = "Whalers' Officer Sword"
  1114. Tool217.CanBeDropped = false
  1115. Part218.Name = "Handle"
  1116. Part218.Parent = Tool217
  1117. Part218.BrickColor = BrickColor.new("Dark stone grey")
  1118. Part218.Reflectance = 0.40000000596046
  1119. Part218.Transparency = 1
  1120. Part218.Rotation = Vector3.new(180, 0, 0)
  1121. Part218.CanCollide = false
  1122. Part218.FormFactor = Enum.FormFactor.Custom
  1123. Part218.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  1124. Part218.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
  1125. Part218.BottomSurface = Enum.SurfaceType.Smooth
  1126. Part218.TopSurface = Enum.SurfaceType.Smooth
  1127. Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1128. Part218.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
  1129. Part218.Orientation = Vector3.new(0, 180, 180)
  1130. Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1131. Model219.Name = "Sheath"
  1132. Model219.Parent = Tool217
  1133. ManualWeld220.Name = "Weld"
  1134. ManualWeld220.Parent = mas
  1135. ManualWeld220.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
  1136. ManualWeld220.C1 = CFrame.new(-0.0213623047, -0.000297546387, 1.8490715, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1137. ManualWeld220.Part0 = nil
  1138. ManualWeld220.Part1 = nil
  1139. ManualWeld221.Name = "Weld"
  1140. ManualWeld221.Parent = mas
  1141. ManualWeld221.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
  1142. ManualWeld221.C1 = CFrame.new(0.00109481812, -0.000293731689, -1.53172398, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1143. ManualWeld221.Part0 = nil
  1144. ManualWeld221.Part1 = nil
  1145. Part222.Name = "Handle"
  1146. Part222.Parent = Model219
  1147. Part222.BrickColor = BrickColor.new("Dark stone grey")
  1148. Part222.Reflectance = 0.40000000596046
  1149. Part222.Transparency = 1
  1150. Part222.Rotation = Vector3.new(180, 0, 0)
  1151. Part222.CanCollide = false
  1152. Part222.FormFactor = Enum.FormFactor.Custom
  1153. Part222.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  1154. Part222.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
  1155. Part222.BottomSurface = Enum.SurfaceType.Smooth
  1156. Part222.TopSurface = Enum.SurfaceType.Smooth
  1157. Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1158. Part222.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
  1159. Part222.Orientation = Vector3.new(0, 180, 180)
  1160. Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1161. ManualWeld223.Name = "Weld"
  1162. ManualWeld223.Parent = Part222
  1163. ManualWeld223.C0 = CFrame.new(0, 0, 0, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1164. ManualWeld223.C1 = CFrame.new(-0.0770301819, 0.0458289385, -0.344614983, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1165. ManualWeld223.Part0 = Part222
  1166. ManualWeld223.Part1 = nil
  1167. ManualWeld224.Name = "Weld"
  1168. ManualWeld224.Parent = mas
  1169. ManualWeld224.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1170. ManualWeld224.C1 = CFrame.new(-0.0816249847, 1.77062011, 0.062302351, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1171. ManualWeld224.Part0 = nil
  1172. ManualWeld224.Part1 = Part218
  1173. ManualWeld225.Name = "Weld"
  1174. ManualWeld225.Parent = mas
  1175. ManualWeld225.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1176. ManualWeld225.C1 = CFrame.new(-0.0652732849, -0.336987495, 0.0498373508, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1177. ManualWeld225.Part0 = nil
  1178. ManualWeld225.Part1 = Part218
  1179. ParticleEmitter226.Name = "ASD1"
  1180. ParticleEmitter226.Parent = mas
  1181. ParticleEmitter226.Transparency = NumberSequence.new(0.96100002527237,0.90643298625946,0.98000001907349)
  1182. ParticleEmitter226.Size = NumberSequence.new(0.44444400072098,3.8125,0.73248398303986,2.375)
  1183. ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1184. ParticleEmitter226.Enabled = false
  1185. ParticleEmitter226.LightEmission = 1
  1186. ParticleEmitter226.Texture = "http://www.roblox.com/asset/?id=217245118"
  1187. ParticleEmitter226.ZOffset = 1.2000000476837
  1188. ParticleEmitter226.Lifetime = NumberRange.new(1, 1)
  1189. ParticleEmitter226.Rate = 50
  1190. ParticleEmitter226.Speed = NumberRange.new(0, 0)
  1191. ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1192. ParticleEmitter227.Name = "ASD2"
  1193. ParticleEmitter227.Parent = mas
  1194. ParticleEmitter227.Transparency = NumberSequence.new(0,0,1)
  1195. ParticleEmitter227.Rotation = NumberRange.new(0, 360)
  1196. ParticleEmitter227.Size = NumberSequence.new(2,2)
  1197. ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1198. ParticleEmitter227.Enabled = false
  1199. ParticleEmitter227.LightEmission = 1
  1200. ParticleEmitter227.Texture = "http://www.roblox.com/asset/?id=398285173"
  1201. ParticleEmitter227.ZOffset = 1
  1202. ParticleEmitter227.Acceleration = Vector3.new(0, 0.5, 0)
  1203. ParticleEmitter227.Lifetime = NumberRange.new(1, 3)
  1204. ParticleEmitter227.Rate = 30
  1205. ParticleEmitter227.Speed = NumberRange.new(0.5, 0.5)
  1206. ParticleEmitter227.VelocitySpread = 360
  1207. ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1208. PointLight228.Parent = mas
  1209. PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
  1210. PointLight228.Enabled = false
  1211. PointLight228.Range = 10
  1212. PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
  1213. ParticleEmitter229.Name = "Stroke"
  1214. ParticleEmitter229.Parent = mas
  1215. ParticleEmitter229.Transparency = NumberSequence.new(0.20454500615597,1)
  1216. ParticleEmitter229.Rotation = NumberRange.new(0, 360)
  1217. ParticleEmitter229.Size = NumberSequence.new(1.6013100147247,0.8125,1.7647099494934,3.0718998908997)
  1218. ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
  1219. ParticleEmitter229.Enabled = false
  1220. ParticleEmitter229.LightEmission = 0.20000000298023
  1221. ParticleEmitter229.Texture = "http://www.roblox.com/asset/?id=296659257"
  1222. ParticleEmitter229.Acceleration = Vector3.new(0, 0, 0.200000003)
  1223. ParticleEmitter229.Lifetime = NumberRange.new(1, 3)
  1224. ParticleEmitter229.Rate = 300
  1225. ParticleEmitter229.RotSpeed = NumberRange.new(-25, 25)
  1226. ParticleEmitter229.Speed = NumberRange.new(0, 0.10000000149012)
  1227. ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
  1228. ManualWeld230.Name = "Weld"
  1229. ManualWeld230.Parent = mas
  1230. ManualWeld230.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1231. ManualWeld230.C1 = CFrame.new(-0.0854969025, 1.76604128, -0.13350749, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1232. ManualWeld230.Part0 = nil
  1233. ManualWeld230.Part1 = Part218
  1234. Script231.Name = "CharacterWeld"
  1235. Script231.Parent = Tool217
  1236. table.insert(cors,sandbox(Script231,function()
  1237. -- Tool References
  1238. local Tool = script.Parent
  1239. local Player = script.Parent.Parent.Parent
  1240. local Model = nil
  1241.  
  1242. -- When the tool is unequipped
  1243. local weldTypes={
  1244. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  1245. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  1246. }
  1247. local part1Attachment={
  1248. [Enum.HumanoidRigType.R6]="Torso",
  1249. [Enum.HumanoidRigType.R15]="LowerTorso"
  1250. }
  1251. Tool.Unequipped:connect(function()
  1252.  
  1253. -- Define Character
  1254. local Character = Player.Character
  1255.  
  1256. -- Create the welded model
  1257. Model = Instance.new("Model", Character)
  1258. Model.Name = Tool.Name.."Weld"
  1259.  
  1260. -- Weld all parts to the handle
  1261. local Handle = Tool.Handle:Clone()
  1262. Handle.Name = "Part"
  1263. Handle.CanCollide = false
  1264. Handle.Parent = Model
  1265. for _,Item in pairs(Tool:GetChildren()) do
  1266. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  1267. if Item.Name ~= "Handle" then
  1268. local Part = Item:Clone()
  1269. Part.Name = "Part"
  1270. local Weld = Instance.new("Weld")
  1271. Weld.Parent = Part
  1272. Weld.Part0 = Part
  1273. Weld.Part1 = Handle
  1274. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  1275. Part.Parent = Model
  1276. end
  1277. end
  1278. end
  1279.  
  1280. -- CFrame model to side
  1281. local Weld = Instance.new("Weld")
  1282. Weld.Parent = Handle
  1283. Weld.Part0 = Handle
  1284. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  1285. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  1286. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  1287.  
  1288. end)
  1289.  
  1290. -- When the tool is equipped
  1291. Tool.Equipped:connect(function()
  1292.  
  1293. -- Remove the tool when they re-equip sword
  1294. if not Player.Character:FindFirstChild("Sheath") then
  1295. local SheathModel=script.Parent.Sheath
  1296. SheathModel.Parent=Player.Character
  1297. local Weld = Instance.new("Weld")
  1298. Weld.Parent = SheathModel.Handle
  1299. Weld.Part0 = SheathModel.Handle
  1300. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
  1301. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  1302. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  1303. end
  1304. if Model ~= nil then
  1305. Model:Destroy()
  1306. end
  1307.  
  1308. end)
  1309. end))
  1310. Script232.Name = "SwordScript"
  1311. Script232.Parent = Tool217
  1312. table.insert(cors,sandbox(Script232,function()
  1313. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  1314.  
  1315. r = game:service("RunService")
  1316.  
  1317.  
  1318. local damage = 5
  1319.  
  1320.  
  1321. local slash_damage = 10
  1322. local lunge_damage = 30
  1323.  
  1324. sword = script.Parent.Handle
  1325. Tool = script.Parent
  1326.  
  1327. local fxToggled = false
  1328.  
  1329. local SlashSound = Instance.new("Sound")
  1330. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1331. SlashSound.Parent = sword
  1332. SlashSound.Volume = .7
  1333.  
  1334. local LungeSound = Instance.new("Sound")
  1335. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1336. LungeSound.Parent = sword
  1337. LungeSound.Volume = .6
  1338.  
  1339. local UnsheathSound = Instance.new("Sound")
  1340. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1341. UnsheathSound.Parent = sword
  1342. UnsheathSound.Volume = 1
  1343.  
  1344.  
  1345. function blow(hit)
  1346. if (hit.Parent == nil) then return end
  1347.  
  1348. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1349. local vCharacter = Tool.Parent
  1350. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1351. local hum = vCharacter:findFirstChild("Humanoid")
  1352. if humanoid and humanoid ~= hum and hum then
  1353. -- final check, make sure sword is in-hand
  1354. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  1355. local right_arm = vCharacter:FindFirstChild("Right Arm")
  1356. if (right_arm) then
  1357. local joint = right_arm:FindFirstChild("RightGrip")
  1358. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  1359. if guygettingsliced then --If he's a player
  1360. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  1361. tagHumanoid(humanoid, vPlayer)
  1362. humanoid:TakeDamage(damage)
  1363. wait(1)
  1364. untagHumanoid(humanoid)
  1365. --end
  1366. else --If he's not a player (AI, shop, etc)
  1367. tagHumanoid(humanoid, vPlayer)
  1368. humanoid:TakeDamage(damage)
  1369. wait(1)
  1370. untagHumanoid(humanoid)
  1371. end
  1372. end
  1373. end
  1374.  
  1375. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  1376.  
  1377.  
  1378. end
  1379. end
  1380.  
  1381.  
  1382. function tagHumanoid(humanoid, player)
  1383. local creator_tag = Instance.new("ObjectValue")
  1384. creator_tag.Value = player
  1385. creator_tag.Name = "creator"
  1386. creator_tag.Parent = humanoid
  1387. end
  1388.  
  1389. function untagHumanoid(humanoid)
  1390. if humanoid ~= nil then
  1391. local tag = humanoid:findFirstChild("creator")
  1392. if tag ~= nil then
  1393. tag.Parent = nil
  1394. end
  1395. end
  1396. end
  1397.  
  1398.  
  1399. function attack()
  1400. damage = slash_damage
  1401. SlashSound:play()
  1402. local anim = Instance.new("StringValue")
  1403. anim.Name = "toolanim"
  1404. anim.Value = "Slash"
  1405. anim.Parent = Tool
  1406. end
  1407. local fx=script.Parent:FindFirstChild("Blade")
  1408. local fx2=script.Parent.Blade:FindFirstChild("Stroke")
  1409.  
  1410. function lunge()
  1411. damage = lunge_damage
  1412.  
  1413. LungeSound:play()
  1414.  
  1415. local anim = Instance.new("StringValue")
  1416. anim.Name = "toolanim"
  1417. anim.Value = "Lunge"
  1418. anim.Parent = Tool
  1419.  
  1420.  
  1421. local force = Instance.new("BodyVelocity")
  1422. force.velocity = Vector3.new(0,10,0)
  1423. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  1424. force.Parent = Tool.Parent.Torso
  1425. if fx and fx2 and fxToggled then fx2.Enabled=true end
  1426. wait(.25)
  1427. swordOut()
  1428. wait(.25)
  1429. force.Parent = nil
  1430. wait(.5)
  1431. swordUp()
  1432. if fx and fx2 then fx2.Enabled=false end
  1433.  
  1434. damage = slash_damage
  1435. end
  1436.  
  1437. function swordUp()
  1438. Tool.GripForward = Vector3.new(1, 0, 0)
  1439. Tool.GripRight = Vector3.new(0, 0, -1)
  1440. Tool.GripUp = Vector3.new(0, -1, 0)
  1441. end
  1442.  
  1443. function swordOut()
  1444. Tool.GripForward = Vector3.new(1, 0, 0)
  1445. Tool.GripRight = Vector3.new(0, 0, -1)
  1446. Tool.GripUp = Vector3.new(-20, -1, 0)
  1447. end
  1448.  
  1449. function swordAcross()
  1450. -- parry
  1451. end
  1452.  
  1453.  
  1454. Tool.Enabled = true
  1455. local last_attack = 0
  1456. function onActivated()
  1457.  
  1458. if not Tool.Enabled then
  1459. return
  1460. end
  1461.  
  1462. Tool.Enabled = false
  1463.  
  1464. local character = Tool.Parent;
  1465. local humanoid = character.Humanoid
  1466. if humanoid == nil then
  1467. print("Humanoid not found")
  1468. return
  1469. end
  1470.  
  1471. local t = r.Stepped:wait()
  1472.  
  1473. if (t - last_attack < .2) then
  1474. lunge()
  1475. else
  1476. attack()
  1477. end
  1478.  
  1479. last_attack = t
  1480.  
  1481. --wait(.5)
  1482.  
  1483. Tool.Enabled = true
  1484. end
  1485.  
  1486.  
  1487. function onEquipped()
  1488. UnsheathSound:play()
  1489. end
  1490. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  1491. local ch=script.Parent.Blade:GetChildren()
  1492. for i=1,#ch do
  1493. if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
  1494. ch[i].Enabled=toggle
  1495. end
  1496. end
  1497. spawn(function()
  1498. wait(.5)
  1499. script.Parent.Blade.Stroke.Enabled=false
  1500. end)
  1501. fxToggled=toggle
  1502. if not toggle then
  1503. script.Parent.Blade.Material=Enum.Material.Metal
  1504. script.Parent.Blade.BrickColor=BrickColor.new("Institutional white")
  1505. damage=5
  1506. slash_damage=10
  1507. lunge_damage=30
  1508.  
  1509. else
  1510. script.Parent.Blade.Material=Enum.Material.Neon
  1511. script.Parent.Blade.BrickColor=BrickColor.new("Cool yellow")
  1512. damage=15
  1513. slash_damage=20
  1514. lunge_damage=50
  1515. end
  1516. end)
  1517.  
  1518. script.Parent.Activated:connect(onActivated)
  1519. script.Parent.Equipped:connect(onEquipped)
  1520.  
  1521.  
  1522. connection = sword.Touched:connect(blow)
  1523.  
  1524.  
  1525.  
  1526. end))
  1527. LocalScript233.Parent = Tool217
  1528. table.insert(cors,sandbox(LocalScript233,function()
  1529. repeat wait() until game.Players.LocalPlayer.Character~=nil
  1530. local plr=game.Players.LocalPlayer
  1531. local chr=plr.Character
  1532. local KeyPress=game:GetService("UserInputService")
  1533.  
  1534. local Tool=script.Parent
  1535. local ToolEquipped=false
  1536.  
  1537. local fx=false
  1538. KeyPress.InputBegan:connect(function(Key)
  1539. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  1540. fx = not fx
  1541. script.Parent.Effects:FireServer(fx)
  1542. end
  1543. end)
  1544.  
  1545. Tool.Equipped:connect(function()
  1546. ToolEquipped=true
  1547. end)
  1548. Tool.Unequipped:connect(function()
  1549. ToolEquipped=false
  1550. end)
  1551.  
  1552. end))
  1553. RemoteEvent234.Name = "Effects"
  1554. RemoteEvent234.Parent = Tool217
  1555. Tool235.Name = "Stars"
  1556. Tool235.Parent = mas
  1557. Tool235.GripForward = Vector3.new(1, 0, 0)
  1558. Tool235.GripPos = Vector3.new(0, 2, 0)
  1559. Tool235.GripRight = Vector3.new(0, 0, -1)
  1560. Tool235.GripUp = Vector3.new(0, -1, 0)
  1561. Tool235.ToolTip = "Whalers' Officer Sword"
  1562. Tool235.CanBeDropped = false
  1563. Part236.Name = "Handle"
  1564. Part236.Parent = Tool235
  1565. Part236.BrickColor = BrickColor.new("Dark stone grey")
  1566. Part236.Reflectance = 0.40000000596046
  1567. Part236.Transparency = 1
  1568. Part236.Rotation = Vector3.new(180, 0, 0)
  1569. Part236.CanCollide = false
  1570. Part236.FormFactor = Enum.FormFactor.Custom
  1571. Part236.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  1572. Part236.CFrame = CFrame.new(51.3806801, 9.38865376, 545.796448, 1.00000083, -1.00867403e-22, 7.02134494e-15, -4.43255605e-29, -1.00000083, -5.96046803e-08, 2.54677142e-15, 5.96046519e-08, -1)
  1573. Part236.BottomSurface = Enum.SurfaceType.Smooth
  1574. Part236.TopSurface = Enum.SurfaceType.Smooth
  1575. Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1576. Part236.Position = Vector3.new(51.3806801, 9.38865376, 545.796448)
  1577. Part236.Orientation = Vector3.new(0, 180, -180)
  1578. Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1579. Script237.Name = "CharacterWeld"
  1580. Script237.Parent = Tool235
  1581. table.insert(cors,sandbox(Script237,function()
  1582. -- Tool References
  1583. local Tool = script.Parent
  1584. local Player = script.Parent.Parent.Parent
  1585. local Model = nil
  1586.  
  1587. -- When the tool is unequipped
  1588. local weldTypes={
  1589. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  1590. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  1591. }
  1592. local part1Attachment={
  1593. [Enum.HumanoidRigType.R6]="Torso",
  1594. [Enum.HumanoidRigType.R15]="LowerTorso"
  1595. }
  1596. Tool.Unequipped:connect(function()
  1597.  
  1598. -- Define Character
  1599. local Character = Player.Character
  1600.  
  1601. -- Create the welded model
  1602. Model = Instance.new("Model", Character)
  1603. Model.Name = Tool.Name.."Weld"
  1604.  
  1605. -- Weld all parts to the handle
  1606. local Handle = Tool.Handle:Clone()
  1607. Handle.Name = "Part"
  1608. Handle.CanCollide = false
  1609. Handle.Parent = Model
  1610. for _,Item in pairs(Tool:GetChildren()) do
  1611. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  1612. if Item.Name ~= "Handle" then
  1613. local Part = Item:Clone()
  1614. Part.Name = "Part"
  1615. local Weld = Instance.new("Weld")
  1616. Weld.Parent = Part
  1617. Weld.Part0 = Part
  1618. Weld.Part1 = Handle
  1619. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  1620. Part.Parent = Model
  1621. end
  1622. end
  1623. end
  1624.  
  1625. -- CFrame model to side
  1626. local Weld = Instance.new("Weld")
  1627. Weld.Parent = Handle
  1628. Weld.Part0 = Handle
  1629. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  1630. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  1631. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  1632.  
  1633. end)
  1634.  
  1635. -- When the tool is equipped
  1636. Tool.Equipped:connect(function()
  1637.  
  1638. -- Remove the tool when they re-equip sword
  1639.  
  1640. if Model ~= nil then
  1641. Model:Destroy()
  1642. end
  1643.  
  1644. end)
  1645. end))
  1646. Script238.Name = "SwordScript"
  1647. Script238.Parent = Tool235
  1648. table.insert(cors,sandbox(Script238,function()
  1649. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  1650.  
  1651. r = game:service("RunService")
  1652.  
  1653.  
  1654. local damage = 5
  1655.  
  1656.  
  1657. local slash_damage = 10
  1658. local lunge_damage = 30
  1659.  
  1660. sword = script.Parent.Handle
  1661. Tool = script.Parent
  1662.  
  1663. local fxToggled = false
  1664.  
  1665. local SlashSound = Instance.new("Sound")
  1666. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1667. SlashSound.Parent = sword
  1668. SlashSound.Volume = .7
  1669.  
  1670. local LungeSound = Instance.new("Sound")
  1671. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1672. LungeSound.Parent = sword
  1673. LungeSound.Volume = .6
  1674.  
  1675. local UnsheathSound = Instance.new("Sound")
  1676. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1677. UnsheathSound.Parent = sword
  1678. UnsheathSound.Volume = 1
  1679.  
  1680.  
  1681. function blow(hit)
  1682. if (hit.Parent == nil) then return end
  1683.  
  1684. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1685. local vCharacter = Tool.Parent
  1686. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1687. local hum = vCharacter:findFirstChild("Humanoid")
  1688. if humanoid and humanoid ~= hum and hum then
  1689. -- final check, make sure sword is in-hand
  1690. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  1691. local right_arm = vCharacter:FindFirstChild("Right Arm")
  1692. if (right_arm) then
  1693. local joint = right_arm:FindFirstChild("RightGrip")
  1694. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  1695. if guygettingsliced then --If he's a player
  1696. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  1697. tagHumanoid(humanoid, vPlayer)
  1698. humanoid:TakeDamage(damage)
  1699. wait(1)
  1700. untagHumanoid(humanoid)
  1701. --end
  1702. else --If he's not a player (AI, shop, etc)
  1703. tagHumanoid(humanoid, vPlayer)
  1704. humanoid:TakeDamage(damage)
  1705. wait(1)
  1706. untagHumanoid(humanoid)
  1707. end
  1708. end
  1709. end
  1710.  
  1711. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  1712.  
  1713.  
  1714. end
  1715. end
  1716.  
  1717.  
  1718. function tagHumanoid(humanoid, player)
  1719. local creator_tag = Instance.new("ObjectValue")
  1720. creator_tag.Value = player
  1721. creator_tag.Name = "creator"
  1722. creator_tag.Parent = humanoid
  1723. end
  1724.  
  1725. function untagHumanoid(humanoid)
  1726. if humanoid ~= nil then
  1727. local tag = humanoid:findFirstChild("creator")
  1728. if tag ~= nil then
  1729. tag.Parent = nil
  1730. end
  1731. end
  1732. end
  1733.  
  1734.  
  1735. function attack()
  1736. damage = slash_damage
  1737. SlashSound:play()
  1738. local anim = Instance.new("StringValue")
  1739. anim.Name = "toolanim"
  1740. anim.Value = "Slash"
  1741. anim.Parent = Tool
  1742. end
  1743. local fx=script.Parent:FindFirstChild("Blade")
  1744. local fx2=script.Parent.Blade:FindFirstChild("Stroke")
  1745.  
  1746. function lunge()
  1747. damage = lunge_damage
  1748.  
  1749. LungeSound:play()
  1750.  
  1751. local anim = Instance.new("StringValue")
  1752. anim.Name = "toolanim"
  1753. anim.Value = "Lunge"
  1754. anim.Parent = Tool
  1755.  
  1756.  
  1757. local force = Instance.new("BodyVelocity")
  1758. force.velocity = Vector3.new(0,10,0)
  1759. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  1760. force.Parent = Tool.Parent.Torso
  1761. if fx and fx2 and fxToggled then fx2.Enabled=true end
  1762. wait(.25)
  1763. swordOut()
  1764. wait(.25)
  1765. force.Parent = nil
  1766. wait(.5)
  1767. swordUp()
  1768. if fx and fx2 then fx2.Enabled=false end
  1769.  
  1770. damage = slash_damage
  1771. end
  1772.  
  1773. function swordUp()
  1774. Tool.GripForward = Vector3.new(1, 0, 0)
  1775. Tool.GripRight = Vector3.new(0, 0, -1)
  1776. Tool.GripUp = Vector3.new(0, -1, 0)
  1777. end
  1778.  
  1779. function swordOut()
  1780. Tool.GripForward = Vector3.new(1, 0, 0)
  1781. Tool.GripRight = Vector3.new(0, 0, -1)
  1782. Tool.GripUp = Vector3.new(-20, -1, 0)
  1783. end
  1784.  
  1785. function swordAcross()
  1786. -- parry
  1787. end
  1788.  
  1789.  
  1790. Tool.Enabled = true
  1791. local last_attack = 0
  1792. function onActivated()
  1793.  
  1794. if not Tool.Enabled then
  1795. return
  1796. end
  1797.  
  1798. Tool.Enabled = false
  1799.  
  1800. local character = Tool.Parent;
  1801. local humanoid = character.Humanoid
  1802. if humanoid == nil then
  1803. print("Humanoid not found")
  1804. return
  1805. end
  1806.  
  1807. local t = r.Stepped:wait()
  1808.  
  1809. if (t - last_attack < .2) then
  1810. lunge()
  1811. else
  1812. attack()
  1813. end
  1814.  
  1815. last_attack = t
  1816.  
  1817. --wait(.5)
  1818.  
  1819. Tool.Enabled = true
  1820. end
  1821.  
  1822.  
  1823. function onEquipped()
  1824. UnsheathSound:play()
  1825. end
  1826. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  1827. local ch=script.Parent.Blade:GetChildren()
  1828. for i=1,#ch do
  1829. if ch[i].ClassName=="ParticleEmitter" then
  1830. ch[i].Enabled=toggle
  1831. end
  1832. end
  1833. spawn(function()
  1834. wait(.5)
  1835. script.Parent.Blade.Stroke.Enabled=false
  1836. end)
  1837. fxToggled=toggle
  1838. if not toggle then
  1839. script.Parent.Neon.Material=Enum.Material.Metal
  1840. script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
  1841. script.Parent.NeonBlade.Material=Enum.Material.Metal
  1842. script.Parent.NeonBlade.BrickColor=BrickColor.new("Medium stone grey")
  1843. damage=5
  1844. slash_damage=10
  1845. lunge_damage=30
  1846.  
  1847. else
  1848. script.Parent.Neon.Material=Enum.Material.Neon
  1849. script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
  1850. script.Parent.NeonBlade.Material=Enum.Material.Neon
  1851. script.Parent.NeonBlade.BrickColor=BrickColor.new("Cork")
  1852. damage=15
  1853. slash_damage=20
  1854. lunge_damage=50
  1855. end
  1856. end)
  1857.  
  1858. script.Parent.Activated:connect(onActivated)
  1859. script.Parent.Equipped:connect(onEquipped)
  1860.  
  1861.  
  1862. connection = sword.Touched:connect(blow)
  1863.  
  1864.  
  1865.  
  1866. end))
  1867. LocalScript239.Parent = Tool235
  1868. table.insert(cors,sandbox(LocalScript239,function()
  1869. repeat wait() until game.Players.LocalPlayer.Character~=nil
  1870. local plr=game.Players.LocalPlayer
  1871. local chr=plr.Character
  1872. local KeyPress=game:GetService("UserInputService")
  1873.  
  1874. local Tool=script.Parent
  1875. local ToolEquipped=false
  1876.  
  1877. local fx=false
  1878. KeyPress.InputBegan:connect(function(Key)
  1879. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  1880. fx = not fx
  1881. script.Parent.Effects:FireServer(fx)
  1882. end
  1883. end)
  1884.  
  1885. Tool.Equipped:connect(function()
  1886. ToolEquipped=true
  1887. end)
  1888. Tool.Unequipped:connect(function()
  1889. ToolEquipped=false
  1890. end)
  1891.  
  1892. end))
  1893. RemoteEvent240.Name = "Effects"
  1894. RemoteEvent240.Parent = Tool235
  1895. ManualWeld241.Name = "Weld"
  1896. ManualWeld241.Parent = mas
  1897. ManualWeld241.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  1898. ManualWeld241.C1 = CFrame.new(-0.111595154, -0.181357384, 0.0515365601, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  1899. ManualWeld241.Part0 = nil
  1900. ManualWeld241.Part1 = Part236
  1901. ManualWeld242.Name = "Weld"
  1902. ManualWeld242.Parent = mas
  1903. ManualWeld242.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  1904. ManualWeld242.C1 = CFrame.new(-0.157051086, 1.47907066, 0.0514755249, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  1905. ManualWeld242.Part0 = nil
  1906. ManualWeld242.Part1 = Part236
  1907. ManualWeld243.Name = "Weld"
  1908. ManualWeld243.Parent = mas
  1909. ManualWeld243.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  1910. ManualWeld243.C1 = CFrame.new(-0.0959625244, -0.409609795, 0.0515365601, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1911. ManualWeld243.Part0 = nil
  1912. ManualWeld243.Part1 = Part236
  1913. ManualWeld244.Name = "Weld"
  1914. ManualWeld244.Parent = mas
  1915. ManualWeld244.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  1916. ManualWeld244.C1 = CFrame.new(-0.0471954346, 2.07928133, 0.0489425659, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  1917. ManualWeld244.Part0 = nil
  1918. ManualWeld244.Part1 = Part236
  1919. ManualWeld245.Name = "Weld"
  1920. ManualWeld245.Parent = mas
  1921. ManualWeld245.C0 = CFrame.new(0, 0, 0, 0.342137009, -0.0113129998, 0.93958199, 0.665296674, 0.709051788, -0.233722121, -0.663568139, 0.705065727, 0.250119299)
  1922. ManualWeld245.C1 = CFrame.new(-0.0302352905, -0.740633965, 0.103126526, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1923. ManualWeld245.Part0 = nil
  1924. ManualWeld245.Part1 = Part236
  1925. PointLight246.Parent = mas
  1926. PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
  1927. PointLight246.Enabled = false
  1928. PointLight246.Range = 10
  1929. PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
  1930. ParticleEmitter247.Name = "Stroke"
  1931. ParticleEmitter247.Parent = mas
  1932. ParticleEmitter247.Transparency = NumberSequence.new(0.20454500615597,1)
  1933. ParticleEmitter247.Rotation = NumberRange.new(0, 360)
  1934. ParticleEmitter247.Size = NumberSequence.new(0.375,0.3125,1.5625)
  1935. ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
  1936. ParticleEmitter247.Enabled = false
  1937. ParticleEmitter247.LightEmission = 0.25999999046326
  1938. ParticleEmitter247.Texture = "http://www.roblox.com/asset/?id=296659257"
  1939. ParticleEmitter247.Acceleration = Vector3.new(0, 0, 0.200000003)
  1940. ParticleEmitter247.Lifetime = NumberRange.new(1, 3)
  1941. ParticleEmitter247.Rate = 300
  1942. ParticleEmitter247.RotSpeed = NumberRange.new(-25, 25)
  1943. ParticleEmitter247.Speed = NumberRange.new(0, 0.10000000149012)
  1944. ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
  1945. ParticleEmitter248.Name = "ASD2"
  1946. ParticleEmitter248.Parent = mas
  1947. ParticleEmitter248.Transparency = NumberSequence.new(0,0,1)
  1948. ParticleEmitter248.Rotation = NumberRange.new(0, 360)
  1949. ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1950. ParticleEmitter248.Enabled = false
  1951. ParticleEmitter248.LightEmission = 1
  1952. ParticleEmitter248.Texture = "http://www.roblox.com/asset/?id=398285173"
  1953. ParticleEmitter248.ZOffset = 1
  1954. ParticleEmitter248.Lifetime = NumberRange.new(1, 3)
  1955. ParticleEmitter248.Rate = 30
  1956. ParticleEmitter248.Speed = NumberRange.new(0.10000000149012, 0.20000000298023)
  1957. ParticleEmitter248.VelocitySpread = 360
  1958. ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  1959. ManualWeld249.Name = "Weld"
  1960. ManualWeld249.Parent = mas
  1961. ManualWeld249.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1962. ManualWeld249.C1 = CFrame.new(0.0347213745, -0.21780777, -0.050163269, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  1963. ManualWeld249.Part0 = nil
  1964. ManualWeld249.Part1 = Part236
  1965. Tool250.Name = "Sword"
  1966. Tool250.Parent = mas
  1967. Tool250.GripForward = Vector3.new(1, 0, 0)
  1968. Tool250.GripPos = Vector3.new(0, 2, 0)
  1969. Tool250.GripRight = Vector3.new(0, 0, -1)
  1970. Tool250.GripUp = Vector3.new(0, -1, 0)
  1971. Tool250.ToolTip = "Whalers' Officer Sword"
  1972. Tool250.CanBeDropped = false
  1973. Script251.Name = "SwordScript"
  1974. Script251.Parent = Tool250
  1975. table.insert(cors,sandbox(Script251,function()
  1976. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  1977.  
  1978. r = game:service("RunService")
  1979.  
  1980.  
  1981. local damage = 5
  1982.  
  1983.  
  1984. local slash_damage = 10
  1985. local lunge_damage = 30
  1986.  
  1987. sword = script.Parent.Handle
  1988. Tool = script.Parent
  1989.  
  1990.  
  1991. local SlashSound = Instance.new("Sound")
  1992. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1993. SlashSound.Parent = sword
  1994. SlashSound.Volume = .7
  1995.  
  1996. local LungeSound = Instance.new("Sound")
  1997. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1998. LungeSound.Parent = sword
  1999. LungeSound.Volume = .6
  2000.  
  2001. local UnsheathSound = Instance.new("Sound")
  2002. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  2003. UnsheathSound.Parent = sword
  2004. UnsheathSound.Volume = 1
  2005.  
  2006.  
  2007. function blow(hit)
  2008. if (hit.Parent == nil) then return end
  2009.  
  2010. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2011. local vCharacter = Tool.Parent
  2012. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2013. local hum = vCharacter:findFirstChild("Humanoid")
  2014. if humanoid and humanoid ~= hum and hum then
  2015. -- final check, make sure sword is in-hand
  2016. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  2017. local right_arm = vCharacter:FindFirstChild("Right Arm")
  2018. if (right_arm) then
  2019. local joint = right_arm:FindFirstChild("RightGrip")
  2020. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  2021. if guygettingsliced then --If he's a player
  2022. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  2023. tagHumanoid(humanoid, vPlayer)
  2024. humanoid:TakeDamage(damage)
  2025. wait(1)
  2026. untagHumanoid(humanoid)
  2027. --end
  2028. else --If he's not a player (AI, shop, etc)
  2029. tagHumanoid(humanoid, vPlayer)
  2030. humanoid:TakeDamage(damage)
  2031. wait(1)
  2032. untagHumanoid(humanoid)
  2033. end
  2034. end
  2035. end
  2036.  
  2037. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  2038.  
  2039.  
  2040. end
  2041. end
  2042.  
  2043.  
  2044. function tagHumanoid(humanoid, player)
  2045. local creator_tag = Instance.new("ObjectValue")
  2046. creator_tag.Value = player
  2047. creator_tag.Name = "creator"
  2048. creator_tag.Parent = humanoid
  2049. end
  2050.  
  2051. function untagHumanoid(humanoid)
  2052. if humanoid ~= nil then
  2053. local tag = humanoid:findFirstChild("creator")
  2054. if tag ~= nil then
  2055. tag.Parent = nil
  2056. end
  2057. end
  2058. end
  2059.  
  2060.  
  2061. function attack()
  2062. damage = slash_damage
  2063. SlashSound:play()
  2064. local anim = Instance.new("StringValue")
  2065. anim.Name = "toolanim"
  2066. anim.Value = "Slash"
  2067. anim.Parent = Tool
  2068. end
  2069.  
  2070. function lunge()
  2071. damage = lunge_damage
  2072.  
  2073. LungeSound:play()
  2074.  
  2075. local anim = Instance.new("StringValue")
  2076. anim.Name = "toolanim"
  2077. anim.Value = "Lunge"
  2078. anim.Parent = Tool
  2079.  
  2080.  
  2081. local force = Instance.new("BodyVelocity")
  2082. force.velocity = Vector3.new(0,10,0)
  2083. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  2084. force.Parent = Tool.Parent.Torso
  2085. wait(.25)
  2086. swordOut()
  2087. wait(.25)
  2088. force.Parent = nil
  2089. wait(.5)
  2090. swordUp()
  2091.  
  2092. damage = slash_damage
  2093. end
  2094.  
  2095. function swordUp()
  2096. Tool.GripForward = Vector3.new(1, 0, 0)
  2097. Tool.GripRight = Vector3.new(0, 0, -1)
  2098. Tool.GripUp = Vector3.new(0, -1, 0)
  2099. end
  2100.  
  2101. function swordOut()
  2102. Tool.GripForward = Vector3.new(1, 0, 0)
  2103. Tool.GripRight = Vector3.new(0, 0, -1)
  2104. Tool.GripUp = Vector3.new(-20, -1, 0)
  2105. end
  2106.  
  2107. function swordAcross()
  2108. -- parry
  2109. end
  2110.  
  2111.  
  2112. Tool.Enabled = true
  2113. local last_attack = 0
  2114. function onActivated()
  2115.  
  2116. if not Tool.Enabled then
  2117. return
  2118. end
  2119.  
  2120. Tool.Enabled = false
  2121.  
  2122. local character = Tool.Parent;
  2123. local humanoid = character.Humanoid
  2124. if humanoid == nil then
  2125. print("Humanoid not found")
  2126. return
  2127. end
  2128.  
  2129. local t = r.Stepped:wait()
  2130.  
  2131. if (t - last_attack < .2) then
  2132. lunge()
  2133. else
  2134. attack()
  2135. end
  2136.  
  2137. last_attack = t
  2138.  
  2139. --wait(.5)
  2140.  
  2141. Tool.Enabled = true
  2142. end
  2143.  
  2144.  
  2145. function onEquipped()
  2146. UnsheathSound:play()
  2147. end
  2148.  
  2149.  
  2150. script.Parent.Activated:connect(onActivated)
  2151. script.Parent.Equipped:connect(onEquipped)
  2152.  
  2153.  
  2154. connection = sword.Touched:connect(blow)
  2155.  
  2156.  
  2157.  
  2158. end))
  2159. Part252.Name = "Handle"
  2160. Part252.Parent = Tool250
  2161. Part252.BrickColor = BrickColor.new("Dark stone grey")
  2162. Part252.Reflectance = 0.40000000596046
  2163. Part252.Transparency = 1
  2164. Part252.CanCollide = false
  2165. Part252.FormFactor = Enum.FormFactor.Custom
  2166. Part252.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  2167. Part252.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
  2168. Part252.BottomSurface = Enum.SurfaceType.Smooth
  2169. Part252.TopSurface = Enum.SurfaceType.Smooth
  2170. Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2171. Part252.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
  2172. Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2173. ManualWeld253.Name = "Weld"
  2174. ManualWeld253.Parent = Part252
  2175. ManualWeld253.C0 = CFrame.new(0, 0, 0, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
  2176. ManualWeld253.C1 = CFrame.new(0.338930368, -0.0409965515, -0.0559577942, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2177. ManualWeld253.Part0 = Part252
  2178. ManualWeld253.Part1 = nil
  2179. Script254.Name = "CharacterWeld"
  2180. Script254.Parent = Tool250
  2181. table.insert(cors,sandbox(Script254,function()
  2182. -- Tool References
  2183. local Tool = script.Parent
  2184. local Player = script.Parent.Parent.Parent
  2185. local Model = nil
  2186.  
  2187. -- When the tool is unequipped
  2188. local weldTypes={
  2189. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  2190. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  2191. }
  2192. local part1Attachment={
  2193. [Enum.HumanoidRigType.R6]="Torso",
  2194. [Enum.HumanoidRigType.R15]="LowerTorso"
  2195. }
  2196. Tool.Unequipped:connect(function()
  2197.  
  2198. -- Define Character
  2199. local Character = Player.Character
  2200.  
  2201. -- Create the welded model
  2202. Model = Instance.new("Model", Character)
  2203. Model.Name = Tool.Name.."Weld"
  2204.  
  2205. -- Weld all parts to the handle
  2206. local Handle = Tool.Handle:Clone()
  2207. Handle.Name = "Part"
  2208. Handle.CanCollide = false
  2209. Handle.Parent = Model
  2210. for _,Item in pairs(Tool:GetChildren()) do
  2211. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  2212. if Item.Name ~= "Handle" then
  2213. local Part = Item:Clone()
  2214. Part.Name = "Part"
  2215. local Weld = Instance.new("Weld")
  2216. Weld.Parent = Part
  2217. Weld.Part0 = Part
  2218. Weld.Part1 = Handle
  2219. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  2220. Part.Parent = Model
  2221. end
  2222. end
  2223. end
  2224.  
  2225. -- CFrame model to side
  2226. local Weld = Instance.new("Weld")
  2227. Weld.Parent = Handle
  2228. Weld.Part0 = Handle
  2229. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  2230. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  2231. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  2232.  
  2233. end)
  2234.  
  2235. -- When the tool is equipped
  2236. Tool.Equipped:connect(function()
  2237.  
  2238. -- Remove the tool when they re-equip sword
  2239. if not Player.Character:FindFirstChild("Sheath") then
  2240. local SheathModel=script.Parent.Sheath
  2241. SheathModel.Parent=Player.Character
  2242. local Weld = Instance.new("Weld")
  2243. Weld.Parent = SheathModel.Handle
  2244. Weld.Part0 = SheathModel.Handle
  2245. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
  2246. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  2247. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  2248. end
  2249. if Model ~= nil then
  2250. Model:Destroy()
  2251. end
  2252.  
  2253. end)
  2254. end))
  2255. Model255.Name = "Sheath"
  2256. Model255.Parent = Tool250
  2257. ManualWeld256.Name = "Weld"
  2258. ManualWeld256.Parent = mas
  2259. ManualWeld256.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2260. ManualWeld256.C1 = CFrame.new(-0.110610962, -0.202708483, -0.0119743347, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  2261. ManualWeld256.Part0 = nil
  2262. ManualWeld256.Part1 = nil
  2263. ManualWeld257.Name = "Weld"
  2264. ManualWeld257.Parent = mas
  2265. ManualWeld257.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2266. ManualWeld257.C1 = CFrame.new(-0.110610962, -0.202708483, 0.0120239258, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  2267. ManualWeld257.Part0 = nil
  2268. ManualWeld257.Part1 = nil
  2269. ManualWeld258.Name = "Weld"
  2270. ManualWeld258.Parent = mas
  2271. ManualWeld258.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
  2272. ManualWeld258.C1 = CFrame.new(0.056312561, -1.67926908, 0.00301742554, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  2273. ManualWeld258.Part0 = nil
  2274. ManualWeld258.Part1 = nil
  2275. ManualWeld259.Name = "Weld"
  2276. ManualWeld259.Parent = mas
  2277. ManualWeld259.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
  2278. ManualWeld259.C1 = CFrame.new(0.056312561, -1.67926073, -0.0119743347, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2279. ManualWeld259.Part0 = nil
  2280. ManualWeld259.Part1 = nil
  2281. ManualWeld260.Parent = mas
  2282. ManualWeld260.C0 = CFrame.new(0, 0, 0, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  2283. ManualWeld260.C1 = CFrame.new(-0.121692657, 1.31362033, 0.0527153015, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
  2284. ManualWeld260.Part0 = nil
  2285. ManualWeld260.Part1 = Part261
  2286. Part261.Name = "Handle"
  2287. Part261.Parent = Model255
  2288. Part261.BrickColor = BrickColor.new("Dark stone grey")
  2289. Part261.Reflectance = 0.40000000596046
  2290. Part261.Transparency = 1
  2291. Part261.CanCollide = false
  2292. Part261.FormFactor = Enum.FormFactor.Custom
  2293. Part261.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  2294. Part261.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
  2295. Part261.BottomSurface = Enum.SurfaceType.Smooth
  2296. Part261.TopSurface = Enum.SurfaceType.Smooth
  2297. Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2298. Part261.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
  2299. Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2300. ManualWeld262.Name = "Weld"
  2301. ManualWeld262.Parent = mas
  2302. ManualWeld262.C0 = CFrame.new(0, 0, 0, -0.998630464, -0.0523360185, 3.83633505e-07, 0.052336134, -0.998630941, -8.2590077e-08, -4.02331381e-07, 6.14677163e-08, 1)
  2303. ManualWeld262.C1 = CFrame.new(-0.202516079, 0.0964241028, 0, -1.14491833e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689604e-08, 4.02331352e-07, -4.02331381e-07, 6.23990388e-08, 1)
  2304. ManualWeld262.Part0 = nil
  2305. ManualWeld262.Part1 = nil
  2306. ManualWeld263.Name = "Weld"
  2307. ManualWeld263.Parent = mas
  2308. ManualWeld263.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
  2309. ManualWeld263.C1 = CFrame.new(1.00788641, 0.113018036, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2310. ManualWeld263.Part0 = nil
  2311. ManualWeld263.Part1 = nil
  2312. ManualWeld264.Name = "Weld"
  2313. ManualWeld264.Parent = mas
  2314. ManualWeld264.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2315. ManualWeld264.C1 = CFrame.new(1.29100728, 0.162765503, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2316. ManualWeld264.Part0 = nil
  2317. ManualWeld264.Part1 = nil
  2318. ManualWeld265.Name = "Weld"
  2319. ManualWeld265.Parent = mas
  2320. ManualWeld265.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2321. ManualWeld265.C1 = CFrame.new(1.29100728, 0.162765503, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2322. ManualWeld265.Part0 = nil
  2323. ManualWeld265.Part1 = nil
  2324. ManualWeld266.Name = "Weld"
  2325. ManualWeld266.Parent = mas
  2326. ManualWeld266.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
  2327. ManualWeld266.C1 = CFrame.new(1.00788641, 0.113018036, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2328. ManualWeld266.Part0 = nil
  2329. ManualWeld266.Part1 = nil
  2330. ManualWeld267.Name = "Weld"
  2331. ManualWeld267.Parent = mas
  2332. ManualWeld267.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  2333. ManualWeld267.C1 = CFrame.new(1.60137153, 0.00550460815, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2334. ManualWeld267.Part0 = nil
  2335. ManualWeld267.Part1 = nil
  2336. ManualWeld268.Name = "Weld"
  2337. ManualWeld268.Parent = mas
  2338. ManualWeld268.C0 = CFrame.new(0, 0, 0, -1.00000095, -1.01839994e-08, 3.000074e-07, 1.48019438e-07, -1.00000143, 2.50237093e-08, -4.89754257e-07, 1.48890621e-07, 1)
  2339. ManualWeld268.C1 = CFrame.new(2.57105184, -0.0545959473, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2340. ManualWeld268.Part0 = nil
  2341. ManualWeld268.Part1 = nil
  2342. ManualWeld269.Name = "Weld"
  2343. ManualWeld269.Parent = mas
  2344. ManualWeld269.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  2345. ManualWeld269.C1 = CFrame.new(2.0521791, -0.0245552063, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2346. ManualWeld269.Part0 = nil
  2347. ManualWeld269.Part1 = nil
  2348. ManualWeld270.Name = "Weld"
  2349. ManualWeld270.Parent = mas
  2350. ManualWeld270.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  2351. ManualWeld270.C1 = CFrame.new(2.10121512, -0.0245475769, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2352. ManualWeld270.Part0 = nil
  2353. ManualWeld270.Part1 = nil
  2354. ManualWeld271.Name = "Weld"
  2355. ManualWeld271.Parent = mas
  2356. ManualWeld271.C0 = CFrame.new(0, 0, 0, -0.342020482, 0.939693928, 1.91144835e-07, -0.939693451, -0.342020541, 3.42723524e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2357. ManualWeld271.C1 = CFrame.new(1.5426724, 0.0306777954, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2358. ManualWeld271.Part0 = nil
  2359. ManualWeld271.Part1 = nil
  2360. ManualWeld272.Name = "Weld"
  2361. ManualWeld272.Parent = mas
  2362. ManualWeld272.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  2363. ManualWeld272.C1 = CFrame.new(1.30946541, 0.17086792, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  2364. ManualWeld272.Part0 = nil
  2365. ManualWeld272.Part1 = nil
  2366. Model273.Name = "WhalerMask"
  2367. Model273.Parent = mas
  2368. ManualWeld274.Name = "Weld"
  2369. ManualWeld274.Parent = mas
  2370. ManualWeld274.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  2371. ManualWeld274.C1 = CFrame.new(-0.0407133102, 0.367028356, -0.848461628, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2372. ManualWeld274.Part0 = nil
  2373. ManualWeld274.Part1 = nil
  2374. Part275.Parent = Model273
  2375. Part275.Material = Enum.Material.Neon
  2376. Part275.BrickColor = BrickColor.new("Institutional white")
  2377. Part275.Rotation = Vector3.new(15.8499994, -65.4499969, 14.5)
  2378. Part275.CanCollide = false
  2379. Part275.FormFactor = Enum.FormFactor.Custom
  2380. Part275.Shape = Enum.PartType.Cylinder
  2381. Part275.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
  2382. Part275.CFrame = CFrame.new(99.2226715, 1.85994792, 162.592529, 0.40230763, -0.10407684, -0.909569442, 0.000398549368, 0.993546486, -0.113509551, 0.915513158, 0.0453032516, 0.399752736)
  2383. Part275.BottomSurface = Enum.SurfaceType.Smooth
  2384. Part275.TopSurface = Enum.SurfaceType.Smooth
  2385. Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2386. Part275.Position = Vector3.new(99.2226715, 1.85994792, 162.592529)
  2387. Part275.Orientation = Vector3.new(6.51999998, -66.2699966, 0.0199999996)
  2388. Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2389. ManualWeld276.Name = "Weld"
  2390. ManualWeld276.Parent = Part275
  2391. ManualWeld276.C0 = CFrame.new(0, 0, 0, 0.402312338, 0.000398546399, 0.915506423, -0.104077831, 0.993541598, 0.0453041308, -0.909567297, -0.1135104, 0.399755448)
  2392. ManualWeld276.C1 = CFrame.new(0.258612633, 0.839319825, -0.316388607, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  2393. ManualWeld276.Part0 = Part275
  2394. ManualWeld276.Part1 = nil
  2395. Part277.Parent = Model273
  2396. Part277.Material = Enum.Material.Neon
  2397. Part277.BrickColor = BrickColor.new("Institutional white")
  2398. Part277.Rotation = Vector3.new(170.550003, -63.3899994, 166.559998)
  2399. Part277.CanCollide = false
  2400. Part277.FormFactor = Enum.FormFactor.Custom
  2401. Part277.Shape = Enum.PartType.Cylinder
  2402. Part277.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
  2403. Part277.CFrame = CFrame.new(99.7523193, 1.86405206, 162.593445, -0.435608894, -0.10408102, -0.894098461, -0.0864934325, 0.993545771, -0.073517561, 0.895979524, 0.0453087352, -0.44179967)
  2404. Part277.BottomSurface = Enum.SurfaceType.Smooth
  2405. Part277.TopSurface = Enum.SurfaceType.Smooth
  2406. Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2407. Part277.Position = Vector3.new(99.7523193, 1.86405206, 162.593445)
  2408. Part277.Orientation = Vector3.new(4.21999979, -116.299995, -4.98000002)
  2409. Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2410. ManualWeld278.Name = "Weld"
  2411. ManualWeld278.Parent = Part277
  2412. ManualWeld278.C0 = CFrame.new(0, 0, 0, -0.435613871, -0.0864927694, 0.895972729, -0.104081959, 0.993541121, 0.0453073792, -0.894095659, -0.0735180601, -0.441802502)
  2413. ManualWeld278.C1 = CFrame.new(-0.271036148, 0.843423843, -0.317310572, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  2414. ManualWeld278.Part0 = Part277
  2415. ManualWeld278.Part1 = nil
  2416. Part279.Name = "Head"
  2417. Part279.Parent = Model273
  2418. Part279.BrickColor = BrickColor.new("Really black")
  2419. Part279.CanCollide = false
  2420. Part279.FormFactor = Enum.FormFactor.Symmetric
  2421. Part279.Size = Vector3.new(2, 1, 1)
  2422. Part279.CFrame = CFrame.new(99.5109711, 1.70638311, 163.30957, 1, 0, 0, 0, 1.00000954, 0, 0, 0, 1.00000954)
  2423. Part279.BottomSurface = Enum.SurfaceType.Smooth
  2424. Part279.TopSurface = Enum.SurfaceType.Smooth
  2425. Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2426. Part279.Position = Vector3.new(99.5109711, 1.70638311, 163.30957)
  2427. Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2428. SpecialMesh280.Parent = Part279
  2429. SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
  2430. SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
  2431. ManualWeld281.Name = "Weld"
  2432. ManualWeld281.Parent = Part279
  2433. ManualWeld281.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000477, 0, 0, 0, 1.00000477)
  2434. ManualWeld281.C1 = CFrame.new(-0.029689312, 0.685756445, -1.03342056, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  2435. ManualWeld281.Part0 = Part279
  2436. ManualWeld281.Part1 = nil
  2437. ManualWeld282.Name = "Weld"
  2438. ManualWeld282.Parent = mas
  2439. ManualWeld282.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  2440. ManualWeld282.C1 = CFrame.new(-0.00351524353, 0.571756721, -0.177554846, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  2441. ManualWeld282.Part0 = nil
  2442. ManualWeld282.Part1 = nil
  2443. ManualWeld283.Name = "Weld"
  2444. ManualWeld283.Parent = mas
  2445. ManualWeld283.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  2446. ManualWeld283.C1 = CFrame.new(-0.00530433655, 0.104896426, 0.294783592, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  2447. ManualWeld283.Part0 = nil
  2448. ManualWeld283.Part1 = nil
  2449. ScreenGui284.Name = "Management Gui"
  2450. ScreenGui284.Parent = mas
  2451. Frame439.Name = "bottomFrame"
  2452. Frame439.Parent = ScreenGui284
  2453. Frame439.Size = UDim2.new(1, 0, 0, 30)
  2454. Frame439.Position = UDim2.new(0, 0, 1, -30)
  2455. Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2456. Frame439.BorderSizePixel = 0
  2457. Frame439.ZIndex = 9
  2458. ImageLabel440.Name = "TopShadow"
  2459. ImageLabel440.Parent = Frame439
  2460. ImageLabel440.Transparency = 1
  2461. ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
  2462. ImageLabel440.BackgroundTransparency = 1
  2463. ImageLabel440.ZIndex = 9
  2464. ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
  2465. ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
  2466. ImageLabel440.ImageRectSize = Vector2.new(11, 11)
  2467. ImageLabel440.ImageTransparency = 0.5
  2468. Frame441.Name = "buttonsFrame"
  2469. Frame441.Parent = Frame439
  2470. Frame441.Transparency = 1
  2471. Frame441.Size = UDim2.new(1, 0, 1, 0)
  2472. Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
  2473. Frame441.BackgroundTransparency = 1
  2474. Frame441.BorderSizePixel = 0
  2475. Frame441.ZIndex = 10
  2476. TextButton442.Name = "Close"
  2477. TextButton442.Parent = Frame441
  2478. TextButton442.Size = UDim2.new(0, 40, 0, 30)
  2479. TextButton442.Text = ""
  2480. TextButton442.Position = UDim2.new(1, -40, 0, 0)
  2481. TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2482. TextButton442.BorderSizePixel = 0
  2483. TextButton442.ZIndex = 9
  2484. TextButton442.Font = Enum.Font.SourceSansBold
  2485. TextButton442.FontSize = Enum.FontSize.Size24
  2486. TextButton442.TextColor3 = Color3.new(1, 1, 1)
  2487. TextButton442.TextStrokeTransparency = 0.69999998807907
  2488. TextLabel443.Name = "text"
  2489. TextLabel443.Parent = TextButton442
  2490. TextLabel443.Transparency = 1
  2491. TextLabel443.Text = "V"
  2492. TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
  2493. TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
  2494. TextLabel443.BackgroundTransparency = 1
  2495. TextLabel443.BorderSizePixel = 0
  2496. TextLabel443.ZIndex = 9
  2497. TextLabel443.Font = Enum.Font.SourceSansBold
  2498. TextLabel443.FontSize = Enum.FontSize.Size24
  2499. TextLabel443.TextColor3 = Color3.new(1, 1, 1)
  2500. TextLabel443.TextStrokeTransparency = 0.69999998807907
  2501. Frame444.Name = "selectionFrame"
  2502. Frame444.Parent = Frame441
  2503. Frame444.Size = UDim2.new(0, 40, 0, 3)
  2504. Frame444.Position = UDim2.new(1, -40, 0, 0)
  2505. Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
  2506. Frame444.BorderSizePixel = 0
  2507. Frame444.ZIndex = 10
  2508. TextButton445.Name = "Players"
  2509. TextButton445.Parent = Frame441
  2510. TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
  2511. TextButton445.Text = "Players"
  2512. TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2513. TextButton445.BorderSizePixel = 0
  2514. TextButton445.ZIndex = 9
  2515. TextButton445.Font = Enum.Font.SourceSansBold
  2516. TextButton445.FontSize = Enum.FontSize.Size24
  2517. TextButton445.TextColor3 = Color3.new(1, 1, 1)
  2518. TextButton445.TextStrokeTransparency = 0.69999998807907
  2519. TextButton446.Name = "Info"
  2520. TextButton446.Parent = Frame441
  2521. TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
  2522. TextButton446.Text = "Information"
  2523. TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
  2524. TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2525. TextButton446.BorderSizePixel = 0
  2526. TextButton446.ZIndex = 9
  2527. TextButton446.Font = Enum.Font.SourceSansBold
  2528. TextButton446.FontSize = Enum.FontSize.Size24
  2529. TextButton446.TextColor3 = Color3.new(1, 1, 1)
  2530. TextButton446.TextStrokeTransparency = 0.69999998807907
  2531. TextButton447.Name = "Console"
  2532. TextButton447.Parent = Frame441
  2533. TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
  2534. TextButton447.Text = "Console"
  2535. TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
  2536. TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2537. TextButton447.BorderSizePixel = 0
  2538. TextButton447.ZIndex = 9
  2539. TextButton447.Font = Enum.Font.SourceSansBold
  2540. TextButton447.FontSize = Enum.FontSize.Size24
  2541. TextButton447.TextColor3 = Color3.new(1, 1, 1)
  2542. TextButton447.TextStrokeTransparency = 0.69999998807907
  2543. TextButton448.Name = "Commands"
  2544. TextButton448.Parent = Frame441
  2545. TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
  2546. TextButton448.Text = "Commands"
  2547. TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
  2548. TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2549. TextButton448.BorderSizePixel = 0
  2550. TextButton448.ZIndex = 9
  2551. TextButton448.Font = Enum.Font.SourceSansBold
  2552. TextButton448.FontSize = Enum.FontSize.Size24
  2553. TextButton448.TextColor3 = Color3.new(1, 1, 1)
  2554. TextButton448.TextStrokeTransparency = 0.69999998807907
  2555. Frame449.Name = "bottomSpace"
  2556. Frame449.Parent = Frame439
  2557. Frame449.Size = UDim2.new(1, 0, 0, 80)
  2558. Frame449.Position = UDim2.new(0, 0, 1, 0)
  2559. Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  2560. Frame449.BorderSizePixel = 0
  2561. Frame449.ZIndex = 9
  2562. LocalScript450.Name = "manageHotbar"
  2563. LocalScript450.Parent = Frame439
  2564. table.insert(cors,sandbox(LocalScript450,function()
  2565. local plr = game:service'Players'.LocalPlayer
  2566. local backpack = plr:WaitForChild'Backpack'
  2567.  
  2568. local isOpen = false
  2569.  
  2570. function isClassInInstance(class, inst)
  2571. for _,v in pairs(inst:GetChildren()) do
  2572. if v.ClassName == class then
  2573. return true
  2574. end
  2575. end
  2576. return false
  2577. end
  2578.  
  2579. function isItems()
  2580. if #backpack:GetChildren() == 0 then
  2581. if plr.Character and isClassInInstance('Tool', plr.Character) then
  2582. return true
  2583. else
  2584. return false
  2585. end
  2586. else
  2587. return true
  2588. end
  2589. end
  2590.  
  2591. function check()
  2592. if isItems() == true and isOpen == false then
  2593. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
  2594. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
  2595. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
  2596. isOpen = true
  2597. elseif isItems() == false and isOpen == true then
  2598. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
  2599. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
  2600. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
  2601. isOpen = false
  2602. end
  2603. end
  2604.  
  2605. check()
  2606.  
  2607. backpack.ChildAdded:connect(check)
  2608. backpack.ChildRemoved:connect(check)
  2609.  
  2610. repeat wait() until plr.Character
  2611.  
  2612. if plr.Character then
  2613. plr.Character.ChildAdded:connect(check)
  2614. plr.Character.ChildRemoved:connect(check)
  2615. end
  2616. end))
  2617. LocalScript381.Name = "manageButtons"
  2618. LocalScript381.Parent = ScreenGui284
  2619. table.insert(cors,sandbox(LocalScript381,function()
  2620. local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
  2621. local frames = script.Parent:WaitForChild'Frames'
  2622. local selector = buttonsFrame:WaitForChild'selectionFrame'
  2623. local currentOpen
  2624. repeat wait() until #buttonsFrame:GetChildren() == 6
  2625. for _,v in pairs(buttonsFrame:GetChildren()) do
  2626. if v.ClassName == "TextButton" then
  2627. v.MouseButton1Up:connect(function()
  2628. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  2629. for _,c in pairs(frames:GetChildren()) do
  2630. if c.Position.Y.Offset < 0 then
  2631. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  2632. end
  2633. end
  2634. local cf = frames:FindFirstChild(v.Name)
  2635. currentOpen = cf
  2636. cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
  2637. end)
  2638. end
  2639. end
  2640.  
  2641. local isOpen = true
  2642. local deb = false
  2643.  
  2644. local oldOpened = currentOpen
  2645.  
  2646. script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
  2647. if deb == false then
  2648. if isOpen == true then
  2649. deb = true
  2650. isOpen = false
  2651. for _,c in pairs(frames:GetChildren()) do
  2652. if c.Position.Y.Offset < 0 then
  2653. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  2654. wait(.3)
  2655. end
  2656. end
  2657. oldOpened = currentOpen
  2658. frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  2659. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  2660. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
  2661. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
  2662. wait(.3)
  2663. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
  2664. deb = false
  2665. else
  2666. deb = true
  2667. isOpen = true
  2668. frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
  2669. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
  2670. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
  2671. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
  2672. wait(.3)
  2673. if oldOpened then
  2674. oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
  2675. selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
  2676. end
  2677. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
  2678. deb = false
  2679. end
  2680. end
  2681. end)
  2682. end))
  2683. RemoteEvent382.Name = "Serverside"
  2684. RemoteEvent382.Parent = ScreenGui284
  2685. Script370.Name = "manageServer"
  2686. Script370.Parent = ScreenGui284
  2687. table.insert(cors,sandbox(Script370,function()
  2688. local player = script.Parent.Parent.Parent
  2689.  
  2690. wait(.5)
  2691.  
  2692. local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
  2693.  
  2694. local settings = _G.ManagementBarSettings
  2695.  
  2696. local playersService = game:service'Players'
  2697.  
  2698. function isValInTab(val, tab)
  2699. for _,v in pairs(tab) do
  2700. if val == v then
  2701. return true
  2702. end
  2703. end
  2704. return false
  2705. end
  2706.  
  2707. function getAllGuiElements()
  2708. local tabMain = {}
  2709. function subfunc(ch)
  2710. for _,v in pairs(ch:GetChildren()) do
  2711. tabMain[#tabMain+1] = v
  2712. subfunc(v)
  2713. end
  2714. end
  2715. for _,v in pairs(script.Parent:GetChildren()) do
  2716. tabMain[#tabMain+1] = v
  2717. subfunc(v)
  2718. end
  2719. return tabMain
  2720. end
  2721.  
  2722. if settings then
  2723. local guielements = getAllGuiElements()
  2724. if settings.MainColor then
  2725. for _,v in pairs(guielements) do
  2726. if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
  2727. v.BackgroundColor3 = settings.MainColor
  2728. end
  2729. end
  2730. end
  2731. if settings.OutlineColor then
  2732. for _,v in pairs(guielements) do
  2733. if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
  2734. v.BorderColor3 = settings.OutlineColor
  2735. end
  2736. end
  2737. end
  2738. else
  2739. script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
  2740. script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
  2741. script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
  2742. script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
  2743. end
  2744.  
  2745. function getrankbycmd(data, cmd)
  2746. for i,v in pairs(data) do
  2747. if string.lower(v[1])==string.lower(cmd)then
  2748. return v,i
  2749. end
  2750. end
  2751. return nil,0
  2752. end
  2753.  
  2754. function messageAllPlayers(msg, ishint)
  2755. for _,v in pairs(playersService:GetChildren()) do
  2756. local c = script:WaitForChild'Message':Clone()
  2757. local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
  2758. ih.Value = ishint
  2759. ms.Value = msg
  2760. c.Parent = v:FindFirstChild'PlayerGui'
  2761. c.Disabled = false
  2762. end
  2763. end
  2764.  
  2765. function getAllPlayers(isOthers)
  2766. local tb = {}
  2767. if isOthers then
  2768. for _,v in pairs(playersService:GetChildren()) do
  2769. if v.userId ~= player.userId then
  2770. tb[#tb+1] = v
  2771. end
  2772. end
  2773. else
  2774. for _,v in pairs(playersService:GetChildren()) do
  2775. tb[#tb+1] = v
  2776. end
  2777. end
  2778. return tb
  2779. end
  2780.  
  2781. function getPlayer(arg)
  2782. if string.lower(arg) == "me" then
  2783. return player
  2784. elseif string.lower(arg) == "all" then
  2785. return unpack(getAllPlayers(false))
  2786. elseif string.lower(arg) == "others" then
  2787. return unpack(getAllPlayers(true))
  2788. elseif string.lower(arg) == "random" then
  2789. return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
  2790. end
  2791. for _,v in pairs(playersService:GetChildren()) do
  2792. if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
  2793. return v
  2794. end
  2795. end
  2796. return nil
  2797. end
  2798. spawn(function()
  2799. wait(1)
  2800. if not ds:GetAsync('sentmodel-' .. player.userId) then
  2801. if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
  2802. game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
  2803. end
  2804. ds:SetAsync('sentmodel-' .. player.userId, true)
  2805. end
  2806. end)
  2807.  
  2808. local commands = require(script:WaitForChild'Commands')
  2809.  
  2810. function splitWords(msg,num)
  2811. if num<=0 or msg==nil then return {} end
  2812. local tab={}
  2813. local str=msg
  2814. local full=''
  2815. for a in str:gmatch('([^ ]+)') do
  2816. if #tab>=num then break end
  2817. if #tab==num-1 then
  2818. tab[#tab+1]=msg:sub(#full+1,#msg)
  2819. end
  2820. if #tab>=num then break end
  2821. str=a..' '
  2822. full=full..a..' '
  2823. tab[#tab+1]=a
  2824. if #tab>=num then break end
  2825. end
  2826. return tab
  2827. end
  2828.  
  2829. function getNumberOfCharacters(str, chr)
  2830. local t={}
  2831. for matchedValue in string.gmatch(str, chr) do
  2832. table.insert(t, matchedValue)
  2833. end
  2834. return #t
  2835. end
  2836.  
  2837. function splitArguments(msg)
  2838. local num = getNumberOfCharacters(msg,',')+1
  2839. if num<=0 or msg==nil then return {} end
  2840. local tab={}
  2841. local str=msg
  2842. local full=''
  2843. for a in str:gmatch('([^,]+)') do
  2844. if #tab>=num then break end
  2845. if #tab==num-1 then
  2846. tab[#tab+1]=msg:sub(#full+1,#msg)
  2847. end
  2848. if #tab>=num then break end
  2849. str=a..','
  2850. full=full..a..','
  2851. tab[#tab+1]=a
  2852. if #tab>=num then break end
  2853. end
  2854. return tab
  2855. end
  2856.  
  2857. function sortArguments(orig, cust)
  2858. local newTab = {}
  2859. if #orig == #cust then
  2860. for i,v in pairs(orig) do
  2861. if v == 'player' then
  2862. if string.find(cust[i], ',') then
  2863. local mt = {}
  2864. for _,v in pairs(splitArguments(cust[i])) do
  2865. if getPlayer(v) then
  2866. mt[#mt+1] = getPlayer(v)
  2867. end
  2868. end
  2869. newTab[#newTab+1] = mt
  2870. else
  2871. if getPlayer(cust[i]) then
  2872. newTab[#newTab+1] = {getPlayer(cust[i])}
  2873. end
  2874. end
  2875. elseif v == 'number' then
  2876. if string.find(cust[i], ',') then
  2877. local mt = {}
  2878. for _,v in pairs(splitArguments(cust[i])) do
  2879. if tonumber(v) then
  2880. mt[#mt+1] = tonumber(v)
  2881. end
  2882. end
  2883. newTab[#newTab+1] = mt
  2884. else
  2885. if tonumber(cust[i]) then
  2886. newTab[#newTab+1] = {tonumber(cust[i])}
  2887. end
  2888. end
  2889. elseif v == 'precentage' then
  2890. if tonumber(cust[i]) then
  2891. newTab[#newTab+1] = {tonumber(cust[i])/100}
  2892. end
  2893. elseif v == 'message' then
  2894. newTab[#newTab+1] = {cust[i]}
  2895. end
  2896. end
  2897. end
  2898. return newTab
  2899. end
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905. function runCommand(executer, str)
  2906. local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
  2907. if commands[string.lower(cmd)] then
  2908. local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
  2909. if #args == #commands[string.lower(cmd)].argumentsNeeded then
  2910. spawn(function()
  2911. commands[string.lower(cmd)].func(executer, args)
  2912. end)
  2913. end
  2914. end
  2915. end
  2916.  
  2917. script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
  2918. if reason == "kick" then
  2919. local p = args[1]
  2920. if playersService:FindFirstChild(p) then
  2921. playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
  2922. end
  2923. elseif reason == "runcommand" then
  2924. local str = args[1]
  2925.  
  2926. runCommand(lp, str)
  2927. elseif reason == "runcode" then
  2928. if not workspace:FindFirstChild'codeBin' then
  2929. Instance.new('Model', workspace).Name = "codeBin"
  2930. end
  2931.  
  2932. local clonedTemplate = script:WaitForChild'templateCode':Clone()
  2933. clonedTemplate:WaitForChild'source'.Value = args[1]
  2934. clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
  2935. clonedTemplate.Name = "console"
  2936. clonedTemplate.Disabled = false
  2937. elseif reason == "buy" then
  2938. game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
  2939. elseif reason == "select" then
  2940. local t = args[1]
  2941. if t.ClassName == 'Tool' then
  2942. t.Parent = player.Character
  2943. end
  2944. elseif reason == "deselect" then
  2945. local t = args[1]
  2946. if t.ClassName == 'Tool' then
  2947. t.Parent = player:WaitForChild'Backpack'
  2948. end
  2949. end
  2950. end)
  2951.  
  2952. game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
  2953. script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
  2954. end)
  2955.  
  2956. script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
  2957. if infotype == "cmds" then
  2958. return commands
  2959. elseif infotype == "isloadstringenabled" then
  2960. local success = true
  2961. return success
  2962. end
  2963. end
  2964. end))
  2965. Script371.Name = "templateCode"
  2966. Script371.Parent = Script370
  2967. Script371.Disabled = true
  2968. table.insert(cors,sandbox(Script371,function()
  2969. local loadstring = require(script:WaitForChild'Loadstring')
  2970.  
  2971. loadstring(script:WaitForChild'source'.Value)()
  2972. script:remove()
  2973. end))
  2974. StringValue372.Name = "source"
  2975. StringValue372.Parent = Script371
  2976. LocalScript373.Name = "Message"
  2977. LocalScript373.Parent = Script370
  2978. LocalScript373.Disabled = true
  2979. table.insert(cors,sandbox(LocalScript373,function()
  2980. local ishint = script:WaitForChild'ishint'.Value
  2981. local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
  2982.  
  2983. local stg = Instance.new('ScreenGui', script.Parent)
  2984. stg.Name = "RMG:MessageGui"
  2985. script.Name = "RMG:MessageScript"
  2986. local text = Instance.new('TextLabel', stg)
  2987. text.BackgroundTransparency = 1
  2988. text.Text = ''
  2989. text.BorderSizePixel = 0
  2990. text.BackgroundColor3 = Color3.new(0, 0, 0)
  2991. text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
  2992. text.TextWrapped = true
  2993. text.ZIndex = 10
  2994. text.TextColor3 = Color3.new(1, 1, 1)
  2995. text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
  2996. text.Font = Enum.Font.ArialBold
  2997. text.TextStrokeTransparency = .7
  2998. local text2
  2999. if ishint == false then
  3000. text2 = Instance.new('TextLabel', stg)
  3001. text2.BackgroundTransparency = 1
  3002. text2.Text = string.upper(msg2)
  3003. text2.BorderSizePixel = 0
  3004. text2.BackgroundTransparency = 1
  3005. text2.Size = UDim2.new(1, 0, 1, 0)
  3006. text2.Position = UDim2.new(0, 0, 0, 7)
  3007. text2.TextWrapped = true
  3008. text2.ZIndex = 10
  3009. text2.TextColor3 = Color3.new(1, 1, 1)
  3010. text2.FontSize = Enum.FontSize.Size18
  3011. text2.Font = Enum.Font.ArialBold
  3012. text2.TextYAlignment = Enum.TextYAlignment.Top
  3013. text2.TextStrokeTransparency = .7
  3014. end
  3015. for i=1, 0.5, -0.05 do
  3016. text.BackgroundTransparency = i
  3017. wait()
  3018. end
  3019. for i=1, string.len(msg) do
  3020. text.Text = msg:sub(1, i)
  3021. wait()
  3022. end
  3023. wait(3)
  3024. for i=string.len(msg), 1, -1 do
  3025. text.Text = msg:sub(1, i)
  3026. wait()
  3027. end
  3028. text.Text = ''
  3029. for i=0.5, 1, 0.05 do
  3030. text.BackgroundTransparency = i
  3031. if text2 then
  3032. text2.TextTransparency = i
  3033. end
  3034. wait()
  3035. end
  3036. stg:remove()
  3037. wait()
  3038. script:remove()
  3039. end))
  3040. StringValue374.Name = "msg"
  3041. StringValue374.Parent = LocalScript373
  3042. BoolValue375.Name = "ishint"
  3043. BoolValue375.Parent = LocalScript373
  3044. StringValue376.Name = "msg2"
  3045. StringValue376.Parent = LocalScript373
  3046. Script377.Name = "Spin"
  3047. Script377.Parent = Script370
  3048. Script377.Disabled = true
  3049. table.insert(cors,sandbox(Script377,function()
  3050. if script.Parent:FindFirstChild'Torso' then
  3051. while wait() do
  3052. for i=1, 360, 2 do
  3053. script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
  3054. wait()
  3055. end
  3056. end
  3057. end
  3058. end))
  3059. LocalScript378.Name = "Fly"
  3060. LocalScript378.Parent = Script370
  3061. LocalScript378.Disabled = true
  3062. table.insert(cors,sandbox(LocalScript378,function()
  3063. local Me = game:GetService("Players").LocalPlayer
  3064. local Char = Me.Character
  3065. local Mouse = Me:GetMouse()
  3066. local Cam = workspace.CurrentCamera
  3067. local Stop = false
  3068. local Version = 0
  3069. local MaxSpeed = 5
  3070. local Speed = 1
  3071. local Keys = {}
  3072.  
  3073. local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
  3074. if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
  3075. Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
  3076. Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
  3077.  
  3078. local Thread,Old = Version, nil
  3079. Char.Humanoid.PlatformStand = true
  3080.  
  3081. function StopFly()
  3082. Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
  3083. end
  3084.  
  3085. Char.ChildAdded:connect(function(Obj) wait()
  3086. if Obj.Name == "FlyStop" then
  3087. Obj:Destroy()
  3088. StopFly()
  3089. end
  3090. end)
  3091.  
  3092. coroutine.wrap(function() while Thread == Version and Stop == false do
  3093. local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
  3094.  
  3095. if Keys[string.char(48)] then Speed = 1 end
  3096. if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
  3097. if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
  3098. if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
  3099. if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
  3100. if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
  3101. if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
  3102. if Keys.x then StopFly() end
  3103.  
  3104. if Old ~= Vectoring then
  3105. Fly.position = Vectoring.p
  3106. Old = Vectoring
  3107. Speed = math.min(Speed + Speed*0.025,MaxSpeed)
  3108. else
  3109. Speed = 1;
  3110. end
  3111. Rot.cframe = Cam.CoordinateFrame
  3112. wait(0.01)
  3113. end end)()
  3114.  
  3115. Mouse.KeyDown:connect(function(Key)
  3116. Keys[Key] = true
  3117. end)
  3118. Mouse.KeyUp:connect(function(Key)
  3119. Keys[Key] = false
  3120. end)
  3121. end))
  3122. LocalScript379.Name = "Crash"
  3123. LocalScript379.Parent = Script370
  3124. LocalScript379.Disabled = true
  3125. table.insert(cors,sandbox(LocalScript379,function()
  3126. while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
  3127. end))
  3128. Frame383.Name = "Frames"
  3129. Frame383.Parent = ScreenGui284
  3130. Frame383.Transparency = 1
  3131. Frame383.Size = UDim2.new(1, 0, 1, -30)
  3132. Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
  3133. Frame383.BackgroundTransparency = 1
  3134. Frame383.BorderSizePixel = 0
  3135. Frame383.ZIndex = 8
  3136. Frame384.Name = "Close"
  3137. Frame384.Parent = Frame383
  3138. Frame384.Transparency = 1
  3139. Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3140. Frame384.BackgroundTransparency = 1
  3141. Frame384.BorderSizePixel = 0
  3142. Frame384.ZIndex = 8
  3143. Frame385.Name = "Commands"
  3144. Frame385.Parent = Frame383
  3145. Frame385.Size = UDim2.new(0.5, -20, 0, 350)
  3146. Frame385.Position = UDim2.new(0.5, -20, 1, 0)
  3147. Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3148. Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3149. Frame385.BorderSizePixel = 0
  3150. Frame385.ZIndex = 8
  3151. TextButton386.Name = "CommandBar"
  3152. TextButton386.Parent = Frame385
  3153. TextButton386.Size = UDim2.new(1, -70, 0, 30)
  3154. TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
  3155. TextButton386.Text = ""
  3156. TextButton386.Position = UDim2.new(0, 25, 0, 10)
  3157. TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
  3158. TextButton386.ZIndex = 8
  3159. TextButton386.Selected = true
  3160. TextButton386.Font = Enum.Font.SourceSans
  3161. TextButton386.FontSize = Enum.FontSize.Size14
  3162. ScrollingFrame387.Name = "textBin"
  3163. ScrollingFrame387.Parent = TextButton386
  3164. ScrollingFrame387.Transparency = 1
  3165. ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
  3166. ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
  3167. ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
  3168. ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
  3169. ScrollingFrame387.BackgroundTransparency = 1
  3170. ScrollingFrame387.BorderSizePixel = 0
  3171. ScrollingFrame387.ZIndex = 8
  3172. ScrollingFrame387.ScrollBarThickness = 0
  3173. TextBox388.Name = "Text"
  3174. TextBox388.Parent = ScrollingFrame387
  3175. TextBox388.Transparency = 1
  3176. TextBox388.Size = UDim2.new(1, 0, 1, 0)
  3177. TextBox388.Text = "Type your command here!"
  3178. TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
  3179. TextBox388.BackgroundTransparency = 1
  3180. TextBox388.BorderSizePixel = 0
  3181. TextBox388.ZIndex = 8
  3182. TextBox388.ClearTextOnFocus = false
  3183. TextBox388.Font = Enum.Font.SourceSansBold
  3184. TextBox388.FontSize = Enum.FontSize.Size18
  3185. TextBox388.TextColor3 = Color3.new(1, 1, 1)
  3186. TextBox388.TextXAlignment = Enum.TextXAlignment.Left
  3187. ScrollingFrame389.Name = "commandList"
  3188. ScrollingFrame389.Parent = Frame385
  3189. ScrollingFrame389.Transparency = 1
  3190. ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
  3191. ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
  3192. ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
  3193. ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
  3194. ScrollingFrame389.BackgroundTransparency = 1
  3195. ScrollingFrame389.BorderSizePixel = 0
  3196. ScrollingFrame389.ZIndex = 8
  3197. ScrollingFrame389.ScrollBarThickness = 0
  3198. LocalScript390.Name = "manageCommands"
  3199. LocalScript390.Parent = Frame385
  3200. table.insert(cors,sandbox(LocalScript390,function()
  3201. function WaitForChild(...)
  3202. local args = {...}
  3203. local parent = args[1]
  3204. table.remove(args, 1)
  3205. local newArgs = {}
  3206. for i,v in pairs(args) do
  3207. table.insert(newArgs, i, parent:WaitForChild(v))
  3208. end
  3209. return unpack(newArgs)
  3210. end
  3211.  
  3212. local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
  3213.  
  3214. local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
  3215. local usageFrame = usageframe:WaitForChild'mainBar'
  3216. local barText = bar:WaitForChild'textBin':WaitForChild'Text'
  3217.  
  3218. local currentHover
  3219.  
  3220. local plr = game:service'Players'.LocalPlayer
  3221. local mouse = plr:GetMouse()
  3222. repeat mouse = plr:GetMouse() wait() until mouse
  3223.  
  3224. local cmdBarOpen = false
  3225.  
  3226. local co
  3227.  
  3228. function showList(txt)
  3229. currentHover = nil
  3230. list:ClearAllChildren()
  3231. local validCommands = {}
  3232. local usageCommands = {}
  3233. if string.len(txt) > 0 then
  3234. for _,v in pairs(cmdlist) do
  3235. if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
  3236. if #v.argumentsNeeded > 0 then
  3237. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  3238. usageCommands[v.commandMain] = v.Usage
  3239. else
  3240. validCommands[#validCommands+1] = v.commandMain
  3241. usageCommands[v.commandMain] = v.Usage
  3242. end
  3243. end
  3244. end
  3245. else
  3246. for _,v in pairs(cmdlist) do
  3247. if #v.argumentsNeeded > 0 then
  3248. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  3249. usageCommands[v.commandMain] = v.Usage
  3250. else
  3251. validCommands[#validCommands+1] = v.commandMain
  3252. usageCommands[v.commandMain] = v.Usage
  3253. end
  3254. end
  3255. end
  3256. table.sort(validCommands)
  3257. for i,v in pairs(validCommands) do
  3258. local fr = Instance.new('Frame')
  3259. fr.Name = "Suggestion"
  3260. fr.Style = Enum.FrameStyle.DropShadow
  3261. fr.Size = UDim2.new(1, 0, 0, 30)
  3262. fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
  3263. fr.ZIndex = 8
  3264. local sf = Instance.new('ScrollingFrame', fr)
  3265. sf.Name = 'infoFrame'
  3266. sf.Size = UDim2.new(1, 8, 1, 8)
  3267. sf.BackgroundTransparency = 1
  3268. sf.Position = UDim2.new(0, -4, 0, -4)
  3269. sf.CanvasSize = UDim2.new(0, 0, 0, 0)
  3270. local txt = Instance.new('TextLabel', sf)
  3271. txt.Text = v
  3272. txt.Size = UDim2.new(1, 0, 1, 5)
  3273. txt.BackgroundTransparency = 1
  3274. txt.TextColor3 = Color3.new(1, 1, 1)
  3275. txt.Position = UDim2.new(0, 4, 0, -4)
  3276. txt.Font = Enum.Font.SourceSansBold
  3277. txt.ZIndex = 8
  3278. txt.TextXAlignment = Enum.TextXAlignment.Left
  3279. txt.FontSize = Enum.FontSize.Size24
  3280. local txt2 = Instance.new('TextLabel', sf)
  3281. txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
  3282. txt2.Size = UDim2.new(1, 0, 1, 0)
  3283. txt2.Position = UDim2.new(1, 0, 0, -2)
  3284. txt2.BackgroundTransparency = 1
  3285. txt2.TextColor3 = Color3.new(1, 1, 1)
  3286. txt2.Font = Enum.Font.SourceSansBold
  3287. txt2.ZIndex = 8
  3288. txt2.TextXAlignment = Enum.TextXAlignment.Right
  3289. txt2.FontSize = Enum.FontSize.Size24
  3290. sf.MouseEnter:connect(function()
  3291. if currentHover then
  3292. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  3293. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
  3294. end
  3295. currentHover = {Text1 = txt, Text2 = txt2}
  3296. currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
  3297. currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
  3298. end)
  3299. fr.Parent = list
  3300. end
  3301. list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
  3302. end
  3303.  
  3304. barText.Changed:connect(function(changed)
  3305. if changed == "Text" and barText.Text ~= "Type your command here!" then
  3306. showList(barText.Text)
  3307. elseif changed == "Text" then
  3308. showList("")
  3309. end
  3310. end)
  3311.  
  3312. barText.Focused:connect(function()
  3313. if barText.Text == "Type your command here!" then
  3314. barText.Text = ""
  3315. end
  3316. end)
  3317.  
  3318. barText.FocusLost:connect(function(enterPressed)
  3319. if enterPressed == true then
  3320. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
  3321. showList("")
  3322. barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
  3323. if cmdBarOpen then
  3324. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  3325. if co then
  3326. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
  3327. end
  3328. end
  3329. cmdBarOpen = false
  3330. wait(.3)
  3331. barText.Text = "Type your command here!"
  3332. barText.Position = UDim2.new(0, 0, 0, 0)
  3333. end
  3334. end)
  3335.  
  3336. list.MouseLeave:connect(function()
  3337. if currentHover then
  3338. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  3339. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
  3340. currentHover = nil
  3341. end
  3342. end)
  3343.  
  3344. function getCurrentOpen()
  3345. for _,v in pairs(script.Parent.Parent:GetChildren()) do
  3346. if v.Position.Y.Offset < 0 then
  3347. return v
  3348. end
  3349. end
  3350. return nil
  3351. end
  3352.  
  3353. mouse.KeyDown:connect(function(k)
  3354. if k == '\'' then
  3355. if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
  3356. co = getCurrentOpen()
  3357. if co then
  3358. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  3359. end
  3360. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
  3361. barText:CaptureFocus()
  3362. cmdBarOpen = true
  3363. else
  3364. barText:CaptureFocus()
  3365. end
  3366. end
  3367. end)
  3368.  
  3369. local isOpen = false
  3370.  
  3371. usagebutton.MouseButton1Up:connect(function()
  3372. isOpen = not(isOpen)
  3373. usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
  3374. end)
  3375.  
  3376. showList("")
  3377. end))
  3378. ScrollingFrame391.Name = "commandUsage"
  3379. ScrollingFrame391.Parent = Frame385
  3380. ScrollingFrame391.Transparency = 1
  3381. ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
  3382. ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
  3383. ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
  3384. ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
  3385. ScrollingFrame391.BackgroundTransparency = 1
  3386. ScrollingFrame391.BorderSizePixel = 0
  3387. ScrollingFrame391.ScrollBarThickness = 1
  3388. Frame392.Name = "mainBar"
  3389. Frame392.Parent = ScrollingFrame391
  3390. Frame392.Size = UDim2.new(0, 300, 0, 350)
  3391. Frame392.Position = UDim2.new(1, 0, 1, -350)
  3392. Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3393. Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3394. Frame392.BorderSizePixel = 0
  3395. Frame392.ZIndex = 8
  3396. TextLabel393.Name = "titleObject"
  3397. TextLabel393.Parent = Frame392
  3398. TextLabel393.Transparency = 1
  3399. TextLabel393.Size = UDim2.new(1, 0, 0, 50)
  3400. TextLabel393.Text = "Command Usage"
  3401. TextLabel393.Position = UDim2.new(0, 15, 0, 0)
  3402. TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
  3403. TextLabel393.BackgroundTransparency = 1
  3404. TextLabel393.BorderSizePixel = 0
  3405. TextLabel393.ZIndex = 8
  3406. TextLabel393.Font = Enum.Font.SourceSansBold
  3407. TextLabel393.FontSize = Enum.FontSize.Size24
  3408. TextLabel393.TextColor3 = Color3.new(1, 1, 1)
  3409. TextLabel393.TextStrokeTransparency = 0.69999998807907
  3410. TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
  3411. TextLabel394.Name = "context1"
  3412. TextLabel394.Parent = Frame392
  3413. TextLabel394.Transparency = 1
  3414. TextLabel394.Size = UDim2.new(1, 0, 0, 250)
  3415. TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
  3416. TextLabel394.Position = UDim2.new(0, 10, 0, 50)
  3417. TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
  3418. TextLabel394.BackgroundTransparency = 1
  3419. TextLabel394.BorderSizePixel = 0
  3420. TextLabel394.ZIndex = 8
  3421. TextLabel394.Font = Enum.Font.SourceSansBold
  3422. TextLabel394.FontSize = Enum.FontSize.Size18
  3423. TextLabel394.TextColor3 = Color3.new(1, 1, 1)
  3424. TextLabel394.TextStrokeTransparency = 0.69999998807907
  3425. TextLabel394.TextWrapped = true
  3426. TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
  3427. TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
  3428. ImageButton395.Name = "usageButton"
  3429. ImageButton395.Parent = Frame385
  3430. ImageButton395.Transparency = 1
  3431. ImageButton395.Size = UDim2.new(0, 30, 0, 30)
  3432. ImageButton395.Position = UDim2.new(1, -40, 0, 10)
  3433. ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
  3434. ImageButton395.BackgroundTransparency = 1
  3435. ImageButton395.BorderSizePixel = 0
  3436. ImageButton395.ZIndex = 8
  3437. ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
  3438. Frame396.Name = "Console"
  3439. Frame396.Parent = Frame383
  3440. Frame396.Size = UDim2.new(0.5, -20, 0, 350)
  3441. Frame396.Position = UDim2.new(0, 0, 1, 0)
  3442. Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3443. Frame396.BorderSizePixel = 0
  3444. Frame396.ZIndex = 8
  3445. TextButton397.Name = "createCode"
  3446. TextButton397.Parent = Frame396
  3447. TextButton397.Size = UDim2.new(1, -50, 0, 30)
  3448. TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
  3449. TextButton397.Text = ""
  3450. TextButton397.Position = UDim2.new(0, 25, 1, -40)
  3451. TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
  3452. TextButton397.ZIndex = 8
  3453. TextButton397.Selected = true
  3454. TextButton397.Font = Enum.Font.SourceSans
  3455. TextButton397.FontSize = Enum.FontSize.Size14
  3456. ScrollingFrame398.Name = "textBin"
  3457. ScrollingFrame398.Parent = TextButton397
  3458. ScrollingFrame398.Transparency = 1
  3459. ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
  3460. ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
  3461. ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
  3462. ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
  3463. ScrollingFrame398.BackgroundTransparency = 1
  3464. ScrollingFrame398.BorderSizePixel = 0
  3465. ScrollingFrame398.ZIndex = 8
  3466. ScrollingFrame398.ScrollBarThickness = 0
  3467. TextBox399.Name = "Text"
  3468. TextBox399.Parent = ScrollingFrame398
  3469. TextBox399.Transparency = 1
  3470. TextBox399.Size = UDim2.new(1, 0, 1, 0)
  3471. TextBox399.Text = ""
  3472. TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
  3473. TextBox399.BackgroundTransparency = 1
  3474. TextBox399.BorderSizePixel = 0
  3475. TextBox399.ZIndex = 10
  3476. TextBox399.ClearTextOnFocus = false
  3477. TextBox399.Font = Enum.Font.SourceSansBold
  3478. TextBox399.FontSize = Enum.FontSize.Size18
  3479. TextBox399.TextColor3 = Color3.new(1, 1, 1)
  3480. TextBox399.TextXAlignment = Enum.TextXAlignment.Left
  3481. ScrollingFrame400.Name = "consoleFrame"
  3482. ScrollingFrame400.Parent = Frame396
  3483. ScrollingFrame400.Transparency = 1
  3484. ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
  3485. ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
  3486. ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
  3487. ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
  3488. ScrollingFrame400.BackgroundTransparency = 1
  3489. ScrollingFrame400.BorderSizePixel = 0
  3490. ScrollingFrame400.ZIndex = 8
  3491. LocalScript401.Name = "manageConsole"
  3492. LocalScript401.Parent = Frame396
  3493. table.insert(cors,sandbox(LocalScript401,function()
  3494. function WaitForChild(...)
  3495. local args = {...}
  3496. local parent = args[1]
  3497. table.remove(args, 1)
  3498. local newArgs = {}
  3499. for i,v in pairs(args) do
  3500. table.insert(newArgs, i, parent:WaitForChild(v))
  3501. end
  3502. return unpack(newArgs)
  3503. end
  3504.  
  3505. local lines = {}
  3506. wait(.5)
  3507. local isLoadstring = true
  3508.  
  3509. local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
  3510.  
  3511. createCode.Visible = isLoadstring
  3512.  
  3513. if isLoadstring then
  3514. script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
  3515. end
  3516.  
  3517. function createLine(text, color3)
  3518. if #lines == 32 then
  3519. lines[1]:remove()
  3520. end
  3521. for _,v in pairs(consoleFrame:GetChildren()) do
  3522. v.Position = v.Position - UDim2.new(0, 0, 0, 15)
  3523. end
  3524. local newLine = Instance.new('TextLabel', consoleFrame)
  3525. newLine.Text = tostring(" " .. text)
  3526. newLine.BackgroundTransparency = 1
  3527. newLine.TextColor3 = color3
  3528. newLine.FontSize = Enum.FontSize.Size14
  3529. newLine.Font = Enum.Font.SourceSansBold
  3530. newLine.ZIndex = 8
  3531. newLine.TextXAlignment = Enum.TextXAlignment.Left
  3532. newLine.Size = UDim2.new(1, 0, 0, 15)
  3533. newLine.Position = UDim2.new(0, 0, 1, -15)
  3534. lines[#lines+1] = newLine
  3535. return newLine
  3536. end
  3537.  
  3538. script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
  3539. createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
  3540. end)
  3541.  
  3542. createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
  3543. if enterPressed then
  3544. createLine("Script ran!", Color3.new(1, 1, 1))
  3545. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
  3546. wait()
  3547. createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
  3548. wait(.3)
  3549. createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
  3550. createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
  3551. end
  3552. end)
  3553.  
  3554. createLine('Console loaded!', Color3.new(1, 1, 1))
  3555. end))
  3556. Frame402.Name = "Info"
  3557. Frame402.Parent = Frame383
  3558. Frame402.Size = UDim2.new(0, 300, 0, 400)
  3559. Frame402.Position = UDim2.new(1, -340, 1, 0)
  3560. Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3561. Frame402.BorderSizePixel = 0
  3562. Frame402.ZIndex = 8
  3563. ScrollingFrame403.Name = "frameContainer"
  3564. ScrollingFrame403.Parent = Frame402
  3565. ScrollingFrame403.Transparency = 1
  3566. ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
  3567. ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
  3568. ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
  3569. ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
  3570. ScrollingFrame403.BackgroundTransparency = 1
  3571. ScrollingFrame403.BorderSizePixel = 0
  3572. ScrollingFrame403.ZIndex = 8
  3573. ScrollingFrame403.ScrollBarThickness = 0
  3574. Frame404.Name = "Updates"
  3575. Frame404.Parent = ScrollingFrame403
  3576. Frame404.Transparency = 1
  3577. Frame404.Size = UDim2.new(1, 0, 1, 0)
  3578. Frame404.Position = UDim2.new(0, 0, -1, 0)
  3579. Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
  3580. Frame404.BackgroundTransparency = 1
  3581. Frame404.BorderSizePixel = 0
  3582. Frame404.ZIndex = 8
  3583. TextLabel405.Name = "updateInfo"
  3584. TextLabel405.Parent = Frame404
  3585. TextLabel405.Transparency = 1
  3586. TextLabel405.Size = UDim2.new(1, 0, 1, -40)
  3587. TextLabel405.Text = "updateInfo"
  3588. TextLabel405.Position = UDim2.new(0, 0, 0, 40)
  3589. TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
  3590. TextLabel405.BackgroundTransparency = 1
  3591. TextLabel405.BorderSizePixel = 0
  3592. TextLabel405.ZIndex = 8
  3593. TextLabel405.Font = Enum.Font.SourceSans
  3594. TextLabel405.FontSize = Enum.FontSize.Size18
  3595. TextLabel405.TextColor3 = Color3.new(1, 1, 1)
  3596. TextLabel405.TextStrokeTransparency = 0.69999998807907
  3597. TextLabel405.TextWrapped = true
  3598. TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
  3599. TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
  3600. TextLabel406.Name = "currentVersion"
  3601. TextLabel406.Parent = Frame404
  3602. TextLabel406.Transparency = 1
  3603. TextLabel406.Size = UDim2.new(1, 0, 0, 10)
  3604. TextLabel406.Text = "v1.22"
  3605. TextLabel406.Position = UDim2.new(0, 0, 0, 27)
  3606. TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
  3607. TextLabel406.BackgroundTransparency = 1
  3608. TextLabel406.BorderSizePixel = 0
  3609. TextLabel406.ZIndex = 8
  3610. TextLabel406.Font = Enum.Font.SourceSansBold
  3611. TextLabel406.FontSize = Enum.FontSize.Size14
  3612. TextLabel406.TextColor3 = Color3.new(1, 1, 1)
  3613. TextLabel406.TextStrokeTransparency = 0.69999998807907
  3614. TextLabel406.TextWrapped = true
  3615. TextLabel407.Name = "Title"
  3616. TextLabel407.Parent = Frame404
  3617. TextLabel407.Transparency = 1
  3618. TextLabel407.Size = UDim2.new(1, 0, 0, 30)
  3619. TextLabel407.Text = "Updates"
  3620. TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
  3621. TextLabel407.BackgroundTransparency = 1
  3622. TextLabel407.BorderSizePixel = 0
  3623. TextLabel407.ZIndex = 8
  3624. TextLabel407.Font = Enum.Font.SourceSansBold
  3625. TextLabel407.FontSize = Enum.FontSize.Size24
  3626. TextLabel407.TextColor3 = Color3.new(1, 1, 1)
  3627. TextLabel407.TextStrokeTransparency = 0.69999998807907
  3628. TextLabel407.TextWrapped = true
  3629. Frame408.Name = "Info"
  3630. Frame408.Parent = ScrollingFrame403
  3631. Frame408.Transparency = 1
  3632. Frame408.Size = UDim2.new(1, 0, 1, 0)
  3633. Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
  3634. Frame408.BackgroundTransparency = 1
  3635. Frame408.BorderSizePixel = 0
  3636. Frame408.ZIndex = 8
  3637. TextLabel409.Name = "context1"
  3638. TextLabel409.Parent = Frame408
  3639. TextLabel409.Transparency = 1
  3640. TextLabel409.Size = UDim2.new(1, 0, 0, 73)
  3641. TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
  3642. TextLabel409.Position = UDim2.new(0, 0, 0, 23)
  3643. TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
  3644. TextLabel409.BackgroundTransparency = 1
  3645. TextLabel409.BorderSizePixel = 0
  3646. TextLabel409.ZIndex = 8
  3647. TextLabel409.Font = Enum.Font.SourceSans
  3648. TextLabel409.FontSize = Enum.FontSize.Size18
  3649. TextLabel409.TextColor3 = Color3.new(1, 1, 1)
  3650. TextLabel409.TextStrokeTransparency = 0.69999998807907
  3651. TextLabel409.TextWrapped = true
  3652. TextLabel410.Name = "Title"
  3653. TextLabel410.Parent = Frame408
  3654. TextLabel410.Transparency = 1
  3655. TextLabel410.Size = UDim2.new(1, -56, 0, 20)
  3656. TextLabel410.Text = "Created and Managed by"
  3657. TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
  3658. TextLabel410.BackgroundTransparency = 1
  3659. TextLabel410.BorderSizePixel = 0
  3660. TextLabel410.ZIndex = 8
  3661. TextLabel410.Font = Enum.Font.SourceSansBold
  3662. TextLabel410.FontSize = Enum.FontSize.Size18
  3663. TextLabel410.TextColor3 = Color3.new(1, 1, 1)
  3664. TextLabel410.TextStrokeTransparency = 0.69999998807907
  3665. TextLabel411.Name = "userName"
  3666. TextLabel411.Parent = TextLabel410
  3667. TextLabel411.Transparency = 1
  3668. TextLabel411.Size = UDim2.new(0, 56, 1, 0)
  3669. TextLabel411.Text = "Reselim"
  3670. TextLabel411.Position = UDim2.new(1, -12, 0, 0)
  3671. TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
  3672. TextLabel411.BackgroundTransparency = 1
  3673. TextLabel411.BorderSizePixel = 0
  3674. TextLabel411.ZIndex = 8
  3675. TextLabel411.Font = Enum.Font.SourceSansBold
  3676. TextLabel411.FontSize = Enum.FontSize.Size18
  3677. TextLabel411.TextColor3 = Color3.new(1, 1, 0)
  3678. TextLabel411.TextStrokeTransparency = 0.69999998807907
  3679. TextButton412.Name = "getModel"
  3680. TextButton412.Parent = Frame408
  3681. TextButton412.Size = UDim2.new(1, -20, 0, 30)
  3682. TextButton412.Text = "Want the model? Click here!"
  3683. TextButton412.Position = UDim2.new(0, 10, 0, 105)
  3684. TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3685. TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3686. TextButton412.BorderSizePixel = 3
  3687. TextButton412.ZIndex = 8
  3688. TextButton412.Font = Enum.Font.SourceSansBold
  3689. TextButton412.FontSize = Enum.FontSize.Size24
  3690. TextButton412.TextColor3 = Color3.new(1, 1, 1)
  3691. TextButton412.TextScaled = true
  3692. TextButton412.TextStrokeTransparency = 0.69999998807907
  3693. TextButton412.TextWrapped = true
  3694. TextLabel413.Name = "DonateLabel"
  3695. TextLabel413.Parent = Frame408
  3696. TextLabel413.Transparency = 1
  3697. TextLabel413.Size = UDim2.new(1, 0, 0, 20)
  3698. TextLabel413.Text = "Donate"
  3699. TextLabel413.Position = UDim2.new(0, 0, 0, 140)
  3700. TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
  3701. TextLabel413.BackgroundTransparency = 1
  3702. TextLabel413.BorderSizePixel = 0
  3703. TextLabel413.ZIndex = 8
  3704. TextLabel413.Font = Enum.Font.SourceSansBold
  3705. TextLabel413.FontSize = Enum.FontSize.Size18
  3706. TextLabel413.TextColor3 = Color3.new(1, 1, 1)
  3707. TextLabel413.TextStrokeTransparency = 0.69999998807907
  3708. TextLabel414.Name = "DonateInfo"
  3709. TextLabel414.Parent = TextLabel413
  3710. TextLabel414.Transparency = 1
  3711. TextLabel414.Size = UDim2.new(1, 0, 0, 126)
  3712. TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
  3713. TextLabel414.Position = UDim2.new(0, 0, 1, 0)
  3714. TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
  3715. TextLabel414.BackgroundTransparency = 1
  3716. TextLabel414.BorderSizePixel = 0
  3717. TextLabel414.ZIndex = 8
  3718. TextLabel414.Font = Enum.Font.SourceSans
  3719. TextLabel414.FontSize = Enum.FontSize.Size18
  3720. TextLabel414.TextColor3 = Color3.new(1, 1, 1)
  3721. TextLabel414.TextStrokeTransparency = 0.69999998807907
  3722. TextLabel414.TextWrapped = true
  3723. TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
  3724. TextButton415.Name = "donateRobux"
  3725. TextButton415.Parent = Frame408
  3726. TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
  3727. TextButton415.Text = "25 R$"
  3728. TextButton415.Position = UDim2.new(0, 10, 1, -75)
  3729. TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3730. TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3731. TextButton415.BorderSizePixel = 3
  3732. TextButton415.ZIndex = 8
  3733. TextButton415.Font = Enum.Font.SourceSansBold
  3734. TextButton415.FontSize = Enum.FontSize.Size24
  3735. TextButton415.TextColor3 = Color3.new(1, 1, 1)
  3736. TextButton415.TextScaled = true
  3737. TextButton415.TextStrokeTransparency = 0.69999998807907
  3738. TextButton415.TextWrapped = true
  3739. TextButton416.Name = "donateTickets"
  3740. TextButton416.Parent = Frame408
  3741. TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
  3742. TextButton416.Text = "100 Tix"
  3743. TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
  3744. TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3745. TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3746. TextButton416.BorderSizePixel = 3
  3747. TextButton416.ZIndex = 8
  3748. TextButton416.Font = Enum.Font.SourceSansBold
  3749. TextButton416.FontSize = Enum.FontSize.Size24
  3750. TextButton416.TextColor3 = Color3.new(1, 1, 1)
  3751. TextButton416.TextScaled = true
  3752. TextButton416.TextStrokeTransparency = 0.69999998807907
  3753. TextButton416.TextWrapped = true
  3754. Frame417.Name = "Buttons"
  3755. Frame417.Parent = ScrollingFrame403
  3756. Frame417.Transparency = 1
  3757. Frame417.Size = UDim2.new(1, 0, 1, 0)
  3758. Frame417.Position = UDim2.new(0, 0, -1, 0)
  3759. Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
  3760. Frame417.BackgroundTransparency = 1
  3761. Frame417.BorderSizePixel = 0
  3762. Frame417.ZIndex = 8
  3763. TextLabel418.Name = "players"
  3764. TextLabel418.Parent = Frame417
  3765. TextLabel418.Transparency = 1
  3766. TextLabel418.Size = UDim2.new(1, 0, 0, 30)
  3767. TextLabel418.Text = "Players"
  3768. TextLabel418.Position = UDim2.new(0, 3, 0, 30)
  3769. TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
  3770. TextLabel418.BackgroundTransparency = 1
  3771. TextLabel418.BorderSizePixel = 0
  3772. TextLabel418.ZIndex = 8
  3773. TextLabel418.Font = Enum.Font.SourceSansBold
  3774. TextLabel418.FontSize = Enum.FontSize.Size18
  3775. TextLabel418.TextColor3 = Color3.new(1, 1, 1)
  3776. TextLabel418.TextStrokeTransparency = 0.69999998807907
  3777. TextLabel418.TextWrapped = true
  3778. TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
  3779. TextLabel419.Name = "context"
  3780. TextLabel419.Parent = TextLabel418
  3781. TextLabel419.Transparency = 1
  3782. TextLabel419.Size = UDim2.new(1, -20, 0, 60)
  3783. TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
  3784. TextLabel419.Position = UDim2.new(0, 17, 0, 30)
  3785. TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
  3786. TextLabel419.BackgroundTransparency = 1
  3787. TextLabel419.BorderSizePixel = 0
  3788. TextLabel419.ZIndex = 8
  3789. TextLabel419.Font = Enum.Font.SourceSansBold
  3790. TextLabel419.FontSize = Enum.FontSize.Size18
  3791. TextLabel419.TextColor3 = Color3.new(1, 1, 1)
  3792. TextLabel419.TextStrokeTransparency = 0.69999998807907
  3793. TextLabel419.TextWrapped = true
  3794. TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
  3795. TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
  3796. TextLabel420.Name = "console"
  3797. TextLabel420.Parent = Frame417
  3798. TextLabel420.Transparency = 1
  3799. TextLabel420.Size = UDim2.new(1, 0, 0, 30)
  3800. TextLabel420.Text = "Console"
  3801. TextLabel420.Position = UDim2.new(0, 3, 0, 110)
  3802. TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
  3803. TextLabel420.BackgroundTransparency = 1
  3804. TextLabel420.BorderSizePixel = 0
  3805. TextLabel420.ZIndex = 8
  3806. TextLabel420.Font = Enum.Font.SourceSansBold
  3807. TextLabel420.FontSize = Enum.FontSize.Size18
  3808. TextLabel420.TextColor3 = Color3.new(1, 1, 1)
  3809. TextLabel420.TextStrokeTransparency = 0.69999998807907
  3810. TextLabel420.TextWrapped = true
  3811. TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
  3812. TextLabel421.Name = "context"
  3813. TextLabel421.Parent = TextLabel420
  3814. TextLabel421.Transparency = 1
  3815. TextLabel421.Size = UDim2.new(1, -20, 0, 40)
  3816. TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
  3817. TextLabel421.Position = UDim2.new(0, 17, 0, 30)
  3818. TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
  3819. TextLabel421.BackgroundTransparency = 1
  3820. TextLabel421.BorderSizePixel = 0
  3821. TextLabel421.ZIndex = 8
  3822. TextLabel421.Font = Enum.Font.SourceSansBold
  3823. TextLabel421.FontSize = Enum.FontSize.Size18
  3824. TextLabel421.TextColor3 = Color3.new(1, 1, 1)
  3825. TextLabel421.TextStrokeTransparency = 0.69999998807907
  3826. TextLabel421.TextWrapped = true
  3827. TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
  3828. TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
  3829. TextLabel422.Name = "commands"
  3830. TextLabel422.Parent = Frame417
  3831. TextLabel422.Transparency = 1
  3832. TextLabel422.Size = UDim2.new(1, 0, 0, 30)
  3833. TextLabel422.Text = "Commands"
  3834. TextLabel422.Position = UDim2.new(0, 3, 0, 173)
  3835. TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
  3836. TextLabel422.BackgroundTransparency = 1
  3837. TextLabel422.BorderSizePixel = 0
  3838. TextLabel422.ZIndex = 8
  3839. TextLabel422.Font = Enum.Font.SourceSansBold
  3840. TextLabel422.FontSize = Enum.FontSize.Size18
  3841. TextLabel422.TextColor3 = Color3.new(1, 1, 1)
  3842. TextLabel422.TextStrokeTransparency = 0.69999998807907
  3843. TextLabel422.TextWrapped = true
  3844. TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
  3845. TextLabel423.Name = "context"
  3846. TextLabel423.Parent = TextLabel422
  3847. TextLabel423.Transparency = 1
  3848. TextLabel423.Size = UDim2.new(1, -20, 0, 60)
  3849. TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
  3850. TextLabel423.Position = UDim2.new(0, 17, 0, 30)
  3851. TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
  3852. TextLabel423.BackgroundTransparency = 1
  3853. TextLabel423.BorderSizePixel = 0
  3854. TextLabel423.ZIndex = 8
  3855. TextLabel423.Font = Enum.Font.SourceSansBold
  3856. TextLabel423.FontSize = Enum.FontSize.Size18
  3857. TextLabel423.TextColor3 = Color3.new(1, 1, 1)
  3858. TextLabel423.TextStrokeTransparency = 0.69999998807907
  3859. TextLabel423.TextWrapped = true
  3860. TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
  3861. TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
  3862. TextLabel424.Name = "Title"
  3863. TextLabel424.Parent = Frame417
  3864. TextLabel424.Transparency = 1
  3865. TextLabel424.Size = UDim2.new(1, 0, 0, 30)
  3866. TextLabel424.Text = "Buttons"
  3867. TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
  3868. TextLabel424.BackgroundTransparency = 1
  3869. TextLabel424.BorderSizePixel = 0
  3870. TextLabel424.ZIndex = 8
  3871. TextLabel424.Font = Enum.Font.SourceSansBold
  3872. TextLabel424.FontSize = Enum.FontSize.Size24
  3873. TextLabel424.TextColor3 = Color3.new(1, 1, 1)
  3874. TextLabel424.TextStrokeTransparency = 0.69999998807907
  3875. TextLabel424.TextWrapped = true
  3876. Frame425.Name = "buttonsFrame"
  3877. Frame425.Parent = Frame402
  3878. Frame425.Size = UDim2.new(1, -50, 0, 30)
  3879. Frame425.Position = UDim2.new(0, 25, 0, 25)
  3880. Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3881. Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  3882. Frame425.BorderSizePixel = 5
  3883. Frame425.ZIndex = 8
  3884. TextButton426.Name = "Updates"
  3885. TextButton426.Parent = Frame425
  3886. TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
  3887. TextButton426.Text = "Updates"
  3888. TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
  3889. TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3890. TextButton426.BorderSizePixel = 0
  3891. TextButton426.ZIndex = 8
  3892. TextButton426.Font = Enum.Font.SourceSansBold
  3893. TextButton426.FontSize = Enum.FontSize.Size24
  3894. TextButton426.TextColor3 = Color3.new(1, 1, 1)
  3895. TextButton426.TextStrokeTransparency = 0.69999998807907
  3896. TextButton427.Name = "Info"
  3897. TextButton427.Parent = Frame425
  3898. TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
  3899. TextButton427.Text = "Info"
  3900. TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3901. TextButton427.BorderSizePixel = 0
  3902. TextButton427.ZIndex = 8
  3903. TextButton427.Font = Enum.Font.SourceSansBold
  3904. TextButton427.FontSize = Enum.FontSize.Size24
  3905. TextButton427.TextColor3 = Color3.new(1, 1, 1)
  3906. TextButton427.TextStrokeTransparency = 0.69999998807907
  3907. TextButton428.Name = "Buttons"
  3908. TextButton428.Parent = Frame425
  3909. TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
  3910. TextButton428.Text = "Buttons"
  3911. TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
  3912. TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3913. TextButton428.BorderSizePixel = 0
  3914. TextButton428.ZIndex = 8
  3915. TextButton428.Font = Enum.Font.SourceSansBold
  3916. TextButton428.FontSize = Enum.FontSize.Size24
  3917. TextButton428.TextColor3 = Color3.new(1, 1, 1)
  3918. TextButton428.TextStrokeTransparency = 0.69999998807907
  3919. Frame429.Name = "selectionFrame"
  3920. Frame429.Parent = Frame425
  3921. Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
  3922. Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
  3923. Frame429.BorderSizePixel = 0
  3924. Frame429.ZIndex = 8
  3925. LocalScript430.Name = "manageInfo"
  3926. LocalScript430.Parent = Frame402
  3927. table.insert(cors,sandbox(LocalScript430,function()
  3928. local version = 1.37
  3929. local newestUpdate = [[
  3930. - Can now be closed! (button 2ugly4me)
  3931. - Few new commands.
  3932. ]]
  3933.  
  3934. local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
  3935. local frames = script.Parent:WaitForChild'frameContainer'
  3936. local selector = buttonsFrame:WaitForChild'selectionFrame'
  3937. repeat wait() until #buttonsFrame:GetChildren() == 4
  3938. for _,v in pairs(buttonsFrame:GetChildren()) do
  3939. if v.ClassName == "TextButton" then
  3940. v.MouseEnter:connect(function()
  3941. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  3942. for _,v in pairs(frames:GetChildren()) do
  3943. v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
  3944. end
  3945. frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
  3946. end)
  3947. end
  3948. end
  3949.  
  3950. local infoFrame = frames:WaitForChild'Info'
  3951. local getModel = infoFrame:WaitForChild'getModel'
  3952. local robux = infoFrame:WaitForChild'donateRobux'
  3953. local tickets = infoFrame:WaitForChild'donateTickets'
  3954.  
  3955. getModel.MouseButton1Up:connect(function()
  3956. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
  3957. end)
  3958.  
  3959. frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
  3960. frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
  3961.  
  3962. robux.MouseButton1Up:connect(function()
  3963. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
  3964. end)
  3965.  
  3966. tickets.MouseButton1Up:connect(function()
  3967. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
  3968. end)
  3969. end))
  3970. Frame431.Name = "Players"
  3971. Frame431.Parent = Frame383
  3972. Frame431.Size = UDim2.new(0, 200, 0, 350)
  3973. Frame431.Position = UDim2.new(0, 0, 1, 0)
  3974. Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  3975. Frame431.BorderSizePixel = 0
  3976. Frame431.ZIndex = 8
  3977. Frame432.Name = "Template"
  3978. Frame432.Parent = Frame431
  3979. Frame432.Size = UDim2.new(1, 0, 0, 30)
  3980. Frame432.Style = Enum.FrameStyle.DropShadow
  3981. Frame432.Visible = false
  3982. Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
  3983. Frame432.ZIndex = 8
  3984. TextLabel433.Name = "playerName"
  3985. TextLabel433.Parent = Frame432
  3986. TextLabel433.Transparency = 1
  3987. TextLabel433.Size = UDim2.new(1, 0, 1, 0)
  3988. TextLabel433.Text = "OnlyTwentyCharacters"
  3989. TextLabel433.Position = UDim2.new(0, 25, 0, 0)
  3990. TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
  3991. TextLabel433.BackgroundTransparency = 1
  3992. TextLabel433.BorderSizePixel = 0
  3993. TextLabel433.ZIndex = 8
  3994. TextLabel433.Font = Enum.Font.SourceSansBold
  3995. TextLabel433.FontSize = Enum.FontSize.Size14
  3996. TextLabel433.TextColor3 = Color3.new(1, 1, 1)
  3997. TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
  3998. TextButton434.Name = "removeButton"
  3999. TextButton434.Parent = Frame432
  4000. TextButton434.Size = UDim2.new(0, 24, 0, 24)
  4001. TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  4002. TextButton434.Text = "X"
  4003. TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
  4004. TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
  4005. TextButton434.ZIndex = 8
  4006. TextButton434.Font = Enum.Font.SourceSansBold
  4007. TextButton434.FontSize = Enum.FontSize.Size18
  4008. TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
  4009. ScrollingFrame435.Name = "playerImage"
  4010. ScrollingFrame435.Parent = Frame432
  4011. ScrollingFrame435.Transparency = 1
  4012. ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
  4013. ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
  4014. ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
  4015. ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
  4016. ScrollingFrame435.BackgroundTransparency = 1
  4017. ScrollingFrame435.BorderSizePixel = 0
  4018. ScrollingFrame435.ZIndex = 8
  4019. ScrollingFrame435.ScrollBarThickness = 0
  4020. ImageLabel436.Name = "image"
  4021. ImageLabel436.Parent = ScrollingFrame435
  4022. ImageLabel436.Transparency = 1
  4023. ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
  4024. ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
  4025. ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
  4026. ImageLabel436.BackgroundTransparency = 1
  4027. ImageLabel436.BorderSizePixel = 0
  4028. ImageLabel436.ZIndex = 8
  4029. ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
  4030. ScrollingFrame437.Name = "PlayerList"
  4031. ScrollingFrame437.Parent = Frame431
  4032. ScrollingFrame437.Transparency = 1
  4033. ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
  4034. ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
  4035. ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
  4036. ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
  4037. ScrollingFrame437.BackgroundTransparency = 1
  4038. ScrollingFrame437.BorderSizePixel = 0
  4039. ScrollingFrame437.ZIndex = 8
  4040. ScrollingFrame437.ScrollBarThickness = 0
  4041. LocalScript438.Name = "manageList"
  4042. LocalScript438.Parent = Frame431
  4043. table.insert(cors,sandbox(LocalScript438,function()
  4044. function WaitForChild(...)
  4045. local args = {...}
  4046. local parent = args[1]
  4047. table.remove(args, 1)
  4048. local newArgs = {}
  4049. for i,v in pairs(args) do
  4050. table.insert(newArgs, i, parent:WaitForChild(v))
  4051. end
  4052. return unpack(newArgs)
  4053. end
  4054.  
  4055. local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
  4056.  
  4057. function refresh()
  4058. scrollable:ClearAllChildren()
  4059. for i,v in pairs(game:service'Players':GetChildren()) do
  4060. local newTemplate = template:Clone()
  4061. newTemplate.Name = v.Name
  4062. local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
  4063. imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
  4064. playerName.Text = v.Name
  4065. removePlayer.MouseButton1Up:connect(function()
  4066. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
  4067. end)
  4068. newTemplate.Parent = scrollable
  4069. newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
  4070. newTemplate.Visible = true
  4071. end
  4072. scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
  4073. end
  4074.  
  4075. refresh()
  4076.  
  4077. game:service'Players'.ChildAdded:connect(refresh)
  4078. game:service'Players'.ChildRemoved:connect(refresh)
  4079.  
  4080. end))
  4081. RemoteFunction380.Name = "ServersideInfo"
  4082. RemoteFunction380.Parent = ScreenGui284
  4083. TextButton451.Name = "closeButton"
  4084. TextButton451.Parent = ScreenGui284
  4085. TextButton451.Size = UDim2.new(0, 40, 0, 30)
  4086. TextButton451.Text = ""
  4087. TextButton451.Position = UDim2.new(1, -40, 1, -60)
  4088. TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  4089. TextButton451.BorderSizePixel = 0
  4090. TextButton451.ZIndex = 8
  4091. TextButton451.Font = Enum.Font.SourceSansBold
  4092. TextButton451.FontSize = Enum.FontSize.Size24
  4093. TextButton451.TextColor3 = Color3.new(1, 1, 1)
  4094. TextButton451.TextStrokeTransparency = 0.69999998807907
  4095. Frame452.Name = "textFrame"
  4096. Frame452.Parent = TextButton451
  4097. Frame452.Transparency = 1
  4098. Frame452.Size = UDim2.new(1, 0, 1, 0)
  4099. Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
  4100. Frame452.BackgroundTransparency = 1
  4101. Frame452.BorderSizePixel = 0
  4102. Frame452.ZIndex = 10
  4103. TextLabel453.Name = "UpperClose"
  4104. TextLabel453.Parent = Frame452
  4105. TextLabel453.Transparency = 1
  4106. TextLabel453.Text = "V"
  4107. TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
  4108. TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  4109. TextLabel453.BackgroundTransparency = 1
  4110. TextLabel453.BorderSizePixel = 0
  4111. TextLabel453.ZIndex = 8
  4112. TextLabel453.Font = Enum.Font.SourceSansLight
  4113. TextLabel453.FontSize = Enum.FontSize.Size24
  4114. TextLabel453.TextColor3 = Color3.new(1, 1, 1)
  4115. TextLabel453.TextStrokeTransparency = 0.69999998807907
  4116. TextLabel453.TextWrapped = true
  4117. TextLabel454.Name = "LowerClose"
  4118. TextLabel454.Parent = Frame452
  4119. TextLabel454.Transparency = 1
  4120. TextLabel454.Text = "V"
  4121. TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
  4122. TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  4123. TextLabel454.BackgroundTransparency = 1
  4124. TextLabel454.BorderSizePixel = 0
  4125. TextLabel454.ZIndex = 9
  4126. TextLabel454.Font = Enum.Font.SourceSansLight
  4127. TextLabel454.FontSize = Enum.FontSize.Size24
  4128. TextLabel454.TextColor3 = Color3.new(1, 1, 1)
  4129. TextLabel454.TextStrokeTransparency = 0.69999998807907
  4130. ParticleEmitter185.Name = "Aether1"
  4131. ParticleEmitter185.Parent = mas
  4132. ParticleEmitter185.Transparency = NumberSequence.new(1,0,1)
  4133. ParticleEmitter185.Rotation = NumberRange.new(0, 360)
  4134. ParticleEmitter185.Size = NumberSequence.new(0.875,1.5625)
  4135. ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4136. ParticleEmitter185.Enabled = false
  4137. ParticleEmitter185.LightEmission = 0.20000000298023
  4138. ParticleEmitter185.Texture = "http://www.roblox.com/asset/?id=445231898"
  4139. ParticleEmitter185.Lifetime = NumberRange.new(2, 4)
  4140. ParticleEmitter185.Rate = 80
  4141. ParticleEmitter185.RotSpeed = NumberRange.new(-20, 20)
  4142. ParticleEmitter185.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  4143. ParticleEmitter185.VelocitySpread = 360
  4144. ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4145. ParticleEmitter186.Name = "Aether2"
  4146. ParticleEmitter186.Parent = mas
  4147. ParticleEmitter186.Transparency = NumberSequence.new(1,0,1)
  4148. ParticleEmitter186.Rotation = NumberRange.new(0, 360)
  4149. ParticleEmitter186.Size = NumberSequence.new(0.875,1.5625)
  4150. ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4151. ParticleEmitter186.Enabled = false
  4152. ParticleEmitter186.LightEmission = 0.20000000298023
  4153. ParticleEmitter186.Texture = "http://www.roblox.com/asset/?id=445231746"
  4154. ParticleEmitter186.Lifetime = NumberRange.new(2, 3)
  4155. ParticleEmitter186.Rate = 80
  4156. ParticleEmitter186.RotSpeed = NumberRange.new(-20, 20)
  4157. ParticleEmitter186.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  4158. ParticleEmitter186.VelocitySpread = 360
  4159. ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4160. ParticleEmitter187.Name = "Aether3"
  4161. ParticleEmitter187.Parent = mas
  4162. ParticleEmitter187.Transparency = NumberSequence.new(1,0,0,1)
  4163. ParticleEmitter187.Rotation = NumberRange.new(0, 360)
  4164. ParticleEmitter187.Size = NumberSequence.new(2,2)
  4165. ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
  4166. ParticleEmitter187.Enabled = false
  4167. ParticleEmitter187.LightEmission = 1
  4168. ParticleEmitter187.Texture = "http://www.roblox.com/asset/?id=398285173"
  4169. ParticleEmitter187.ZOffset = 2
  4170. ParticleEmitter187.Lifetime = NumberRange.new(2, 4)
  4171. ParticleEmitter187.Rate = 120
  4172. ParticleEmitter187.Speed = NumberRange.new(0.5, 0.5)
  4173. ParticleEmitter187.VelocitySpread = 360
  4174. ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
  4175. ParticleEmitter188.Name = "Aether4"
  4176. ParticleEmitter188.Parent = mas
  4177. ParticleEmitter188.Transparency = NumberSequence.new(0.96100002527237,0.88749998807907,0.98000001907349)
  4178. ParticleEmitter188.Size = NumberSequence.new(0.44444400072098,3.8125,5.3125,2.375)
  4179. ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
  4180. ParticleEmitter188.Enabled = false
  4181. ParticleEmitter188.LightEmission = 1
  4182. ParticleEmitter188.Texture = "http://www.roblox.com/asset/?id=217245118"
  4183. ParticleEmitter188.ZOffset = 3
  4184. ParticleEmitter188.Lifetime = NumberRange.new(0.5, 0.5)
  4185. ParticleEmitter188.Rate = 100
  4186. ParticleEmitter188.Speed = NumberRange.new(0, 0)
  4187. ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
  4188. Tool189.Name = "Olivia"
  4189. Tool189.Parent = mas
  4190. Tool189.TextureId = "rbxassetid://236599083"
  4191. Tool189.GripForward = Vector3.new(1, 0, 0)
  4192. Tool189.GripPos = Vector3.new(0, 2, 0)
  4193. Tool189.GripRight = Vector3.new(0, 0, -1)
  4194. Tool189.GripUp = Vector3.new(0, -1, 0)
  4195. Tool189.ToolTip = "OathKeeper"
  4196. Tool189.CanBeDropped = false
  4197. Part190.Name = "Handle"
  4198. Part190.Parent = Tool189
  4199. Part190.BrickColor = BrickColor.new("Dark stone grey")
  4200. Part190.Reflectance = 0.40000000596046
  4201. Part190.Transparency = 1
  4202. Part190.Rotation = Vector3.new(-90, 0, 0)
  4203. Part190.CanCollide = false
  4204. Part190.FormFactor = Enum.FormFactor.Custom
  4205. Part190.Size = Vector3.new(0.638599575, 6.67512226, 0.894040227)
  4206. Part190.CFrame = CFrame.new(2.280689, 4.09103489, 30.2925091, 1, 0, -3.11913445e-15, -3.11913445e-15, 0, 1, 0, -1, 0)
  4207. Part190.BottomSurface = Enum.SurfaceType.Smooth
  4208. Part190.TopSurface = Enum.SurfaceType.Smooth
  4209. Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4210. Part190.Position = Vector3.new(2.280689, 4.09103489, 30.2925091)
  4211. Part190.Orientation = Vector3.new(-90, 0, 0)
  4212. Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4213. ManualWeld191.Name = "Weld"
  4214. ManualWeld191.Parent = Part190
  4215. ManualWeld191.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
  4216. ManualWeld191.C1 = CFrame.new(-0.0213336945, -1.9965806, -0.0587976575, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4217. ManualWeld191.Part0 = Part190
  4218. ManualWeld191.Part1 = Part194
  4219. ManualWeld192.Name = "Weld"
  4220. ManualWeld192.Parent = mas
  4221. ManualWeld192.C0 = CFrame.new(0, 0, 0, 8.9408033e-08, 1, 3.6135458e-07, -3.725292e-07, -3.61354523e-07, 1, 1, -8.9408168e-08, 3.72529172e-07)
  4222. ManualWeld192.C1 = CFrame.new(-0.009765625, -0.902000904, 1.1920929e-07, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4223. ManualWeld192.Part0 = nil
  4224. ManualWeld192.Part1 = Part194
  4225. ManualWeld193.Name = "Weld"
  4226. ManualWeld193.Parent = mas
  4227. ManualWeld193.C0 = CFrame.new(0, 0, 0, -3.725292e-07, -1.48504768e-07, 1, 8.9408104e-08, 1, 1.48504796e-07, -1, 8.94081609e-08, -3.72529172e-07)
  4228. ManualWeld193.C1 = CFrame.new(0.0011882782, -3.0788312, -0.00642350316, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4229. ManualWeld193.Part0 = nil
  4230. ManualWeld193.Part1 = Part194
  4231. Part194.Name = "CylinderMesh1.0"
  4232. Part194.Parent = Tool189
  4233. Part194.Material = Enum.Material.Granite
  4234. Part194.BrickColor = BrickColor.new("Pink")
  4235. Part194.Rotation = Vector3.new(-90, 0, 0)
  4236. Part194.CanCollide = false
  4237. Part194.FormFactor = Enum.FormFactor.Custom
  4238. Part194.Size = Vector3.new(0.200000003, 1.14180911, 0.200000003)
  4239. Part194.CFrame = CFrame.new(2.30202341, 4.14983273, 28.295929, 1, 3.725292e-07, 8.94094825e-08, -8.94095464e-08, 1.55955462e-07, 1, 3.72529172e-07, -1, 1.5595549e-07)
  4240. Part194.BottomSurface = Enum.SurfaceType.Smooth
  4241. Part194.TopSurface = Enum.SurfaceType.Smooth
  4242. Part194.Color = Color3.new(1, 0.4, 0.8)
  4243. Part194.Position = Vector3.new(2.30202341, 4.14983273, 28.295929)
  4244. Part194.Orientation = Vector3.new(-90, 0, 0)
  4245. Part194.Color = Color3.new(1, 0.4, 0.8)
  4246. CylinderMesh195.Parent = Part194
  4247. ManualWeld196.Name = "Weld"
  4248. ManualWeld196.Parent = mas
  4249. ManualWeld196.C0 = CFrame.new(0, 0, 0, -1, 8.94095464e-08, -3.72529172e-07, 8.94094114e-08, 1, 3.6135458e-07, 3.725292e-07, 3.61354523e-07, -1)
  4250. ManualWeld196.C1 = CFrame.new(0, 0.632318974, 3.87430191e-06, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4251. ManualWeld196.Part0 = nil
  4252. ManualWeld196.Part1 = Part194
  4253. ManualWeld197.Name = "Weld"
  4254. ManualWeld197.Parent = mas
  4255. ManualWeld197.C0 = CFrame.new(0, 0, 0, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 3.61354523e-07, -1, 8.94094114e-08, 1, 3.6135458e-07)
  4256. ManualWeld197.C1 = CFrame.new(0, -0.59699297, 0.00163406134, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4257. ManualWeld197.Part0 = nil
  4258. ManualWeld197.Part1 = Part194
  4259. Script198.Name = "CharacterWeld"
  4260. Script198.Parent = Tool189
  4261. table.insert(cors,sandbox(Script198,function()
  4262. -- Tool References
  4263. local Tool = script.Parent
  4264. local Player = script.Parent.Parent.Parent
  4265. local Model = nil
  4266.  
  4267. -- When the tool is unequipped
  4268. Tool.Unequipped:connect(function()
  4269.  
  4270. -- Define Character
  4271. local Character = Player.Character
  4272.  
  4273. -- Create the welded model
  4274. Model = Instance.new("Model", Character)
  4275. Model.Name = Tool.Name.."Weld"
  4276.  
  4277. -- Weld all parts to the handle
  4278. local Handle = Tool.Handle:Clone()
  4279. Handle.Name = "Part"
  4280. Handle.CanCollide = false
  4281. Handle.Parent = Model
  4282. for _,Item in pairs(Tool:GetChildren()) do
  4283. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  4284. if Item.Name ~= "Handle" then
  4285. local Part = Item:Clone()
  4286. Part.Name = "Part"
  4287. local Weld = Instance.new("Weld")
  4288. Weld.Parent = Part
  4289. Weld.Part0 = Part
  4290. Weld.Part1 = Handle
  4291. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  4292. Part.Parent = Model
  4293. end
  4294. end
  4295. end
  4296.  
  4297. -- CFrame model to side
  4298. local Weld = Instance.new("Weld")
  4299. Weld.Parent = Handle
  4300. Weld.Part0 = Handle
  4301. Weld.Part1 = Player.Character.Torso
  4302. Weld.C0 = CFrame.new(0, 0, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(40))
  4303.  
  4304. end)
  4305.  
  4306. -- When the tool is equipped
  4307. Tool.Equipped:connect(function()
  4308.  
  4309. -- Remove the tool when they re-equip sword
  4310. if Model ~= nil then
  4311. Model:Destroy()
  4312. end
  4313.  
  4314. end)
  4315. end))
  4316. Script199.Name = "SwordScript"
  4317. Script199.Parent = Tool189
  4318. table.insert(cors,sandbox(Script199,function()
  4319. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  4320.  
  4321. r = game:service("RunService")
  4322.  
  4323.  
  4324. local damage = 5
  4325.  
  4326.  
  4327. local slash_damage = 10
  4328. local lunge_damage = 30
  4329.  
  4330. sword = script.Parent.Handle
  4331. Tool = script.Parent
  4332.  
  4333. local fxToggled = false
  4334.  
  4335. local SlashSound = Instance.new("Sound")
  4336. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4337. SlashSound.Parent = sword
  4338. SlashSound.Volume = .7
  4339.  
  4340. local LungeSound = Instance.new("Sound")
  4341. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4342. LungeSound.Parent = sword
  4343. LungeSound.Volume = .6
  4344.  
  4345. local UnsheathSound = Instance.new("Sound")
  4346. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4347. UnsheathSound.Parent = sword
  4348. UnsheathSound.Volume = 1
  4349.  
  4350.  
  4351. function blow(hit)
  4352. if (hit.Parent == nil) then return end
  4353.  
  4354. local humanoid = hit.Parent:findFirstChild("Humanoid")
  4355. local vCharacter = Tool.Parent
  4356. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  4357. local hum = vCharacter:findFirstChild("Humanoid")
  4358. if humanoid and humanoid ~= hum and hum then
  4359. -- final check, make sure sword is in-hand
  4360. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  4361. local right_arm = vCharacter:FindFirstChild("Right Arm")
  4362. if (right_arm) then
  4363. local joint = right_arm:FindFirstChild("RightGrip")
  4364. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  4365. if guygettingsliced then --If he's a player
  4366. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  4367. tagHumanoid(humanoid, vPlayer)
  4368. humanoid:TakeDamage(damage)
  4369. wait(1)
  4370. untagHumanoid(humanoid)
  4371. --end
  4372. else --If he's not a player (AI, shop, etc)
  4373. tagHumanoid(humanoid, vPlayer)
  4374. humanoid:TakeDamage(damage)
  4375. wait(1)
  4376. untagHumanoid(humanoid)
  4377. end
  4378. end
  4379. end
  4380.  
  4381. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  4382.  
  4383.  
  4384. end
  4385. end
  4386.  
  4387.  
  4388. function tagHumanoid(humanoid, player)
  4389. local creator_tag = Instance.new("ObjectValue")
  4390. creator_tag.Value = player
  4391. creator_tag.Name = "creator"
  4392. creator_tag.Parent = humanoid
  4393. end
  4394.  
  4395. function untagHumanoid(humanoid)
  4396. if humanoid ~= nil then
  4397. local tag = humanoid:findFirstChild("creator")
  4398. if tag ~= nil then
  4399. tag.Parent = nil
  4400. end
  4401. end
  4402. end
  4403.  
  4404.  
  4405. function attack()
  4406. damage = slash_damage
  4407. SlashSound:play()
  4408. local anim = Instance.new("StringValue")
  4409. anim.Name = "toolanim"
  4410. anim.Value = "Slash"
  4411. anim.Parent = Tool
  4412. end
  4413. local fx=script.Parent:FindFirstChild("FX")
  4414. local fx2=fx:FindFirstChild("Stroke")
  4415. function lunge()
  4416. damage = lunge_damage
  4417.  
  4418. LungeSound:play()
  4419.  
  4420. local anim = Instance.new("StringValue")
  4421. anim.Name = "toolanim"
  4422. anim.Value = "Lunge"
  4423. anim.Parent = Tool
  4424.  
  4425.  
  4426. local force = Instance.new("BodyVelocity")
  4427. force.velocity = Vector3.new(0,10,0)
  4428. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  4429. force.Parent = Tool.Parent.Torso
  4430. if fx and fx2 and fxToggled then fx2.Enabled=true end
  4431. wait(.25)
  4432. swordOut()
  4433. wait(.25)
  4434. force.Parent = nil
  4435. wait(.5)
  4436. swordUp()
  4437. if fx and fx2 then fx2.Enabled=false end
  4438.  
  4439. damage = slash_damage
  4440. end
  4441.  
  4442. function swordUp()
  4443. Tool.GripForward = Vector3.new(1, 0, 0)
  4444. Tool.GripRight = Vector3.new(0, 0, -1)
  4445. Tool.GripUp = Vector3.new(0, -1, 0)
  4446. end
  4447.  
  4448. function swordOut()
  4449. Tool.GripForward = Vector3.new(1, 0, 0)
  4450. Tool.GripRight = Vector3.new(0, 0, -1)
  4451. Tool.GripUp = Vector3.new(-20, -1, 0)
  4452. end
  4453.  
  4454. function swordAcross()
  4455. -- parry
  4456. end
  4457.  
  4458.  
  4459. Tool.Enabled = true
  4460. local last_attack = 0
  4461. function onActivated()
  4462.  
  4463. if not Tool.Enabled then
  4464. return
  4465. end
  4466.  
  4467. Tool.Enabled = false
  4468.  
  4469. local character = Tool.Parent;
  4470. local humanoid = character.Humanoid
  4471. if humanoid == nil then
  4472. print("Humanoid not found")
  4473. return
  4474. end
  4475.  
  4476. local t = r.Stepped:wait()
  4477.  
  4478. if (t - last_attack < .2) then
  4479. lunge()
  4480. else
  4481. attack()
  4482. end
  4483.  
  4484. last_attack = t
  4485.  
  4486. --wait(.5)
  4487.  
  4488. Tool.Enabled = true
  4489. end
  4490.  
  4491.  
  4492. function onEquipped()
  4493. UnsheathSound:play()
  4494. end
  4495. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  4496. local ch=script.Parent.FX:GetChildren()
  4497. for i=1,#ch do
  4498. if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
  4499. ch[i].Enabled=toggle
  4500. end
  4501. end
  4502. spawn(function()
  4503. wait(.5)
  4504. script.Parent.FX.Stroke.Enabled=false
  4505. end)
  4506. fxToggled=toggle
  4507. if not toggle then
  4508. script.Parent.Blade.Material=Enum.Material.Metal
  4509. script.Parent.Blade.BrickColor=BrickColor.new("Black")
  4510. damage=5
  4511. slash_damage=10
  4512. lunge_damage=30
  4513.  
  4514. else
  4515. script.Parent.Blade.Material=Enum.Material.Neon
  4516. script.Parent.Blade.BrickColor=BrickColor.new("Buttermilk")
  4517. damage=5
  4518. slash_damage=10
  4519. lunge_damage=30
  4520. end
  4521. end)
  4522.  
  4523. script.Parent.Activated:connect(onActivated)
  4524. script.Parent.Equipped:connect(onEquipped)
  4525.  
  4526.  
  4527. connection = sword.Touched:connect(blow)
  4528.  
  4529.  
  4530.  
  4531. end))
  4532. LocalScript200.Parent = Tool189
  4533. table.insert(cors,sandbox(LocalScript200,function()
  4534. repeat wait() until game.Players.LocalPlayer.Character~=nil
  4535. local plr=game.Players.LocalPlayer
  4536. local chr=plr.Character
  4537. local KeyPress=game:GetService("UserInputService")
  4538.  
  4539. local Tool=script.Parent
  4540. local ToolEquipped=false
  4541.  
  4542. local fx=false
  4543. KeyPress.InputBegan:connect(function(Key)
  4544. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  4545. fx = not fx
  4546. script.Parent.Effects:FireServer(fx)
  4547. end
  4548. end)
  4549.  
  4550. Tool.Equipped:connect(function()
  4551. ToolEquipped=true
  4552. end)
  4553. Tool.Unequipped:connect(function()
  4554. ToolEquipped=false
  4555. end)
  4556.  
  4557. end))
  4558. RemoteEvent201.Name = "Effects"
  4559. RemoteEvent201.Parent = Tool189
  4560. Part202.Name = "FX"
  4561. Part202.Parent = Tool189
  4562. Part202.BrickColor = BrickColor.new("Dark stone grey")
  4563. Part202.Reflectance = 0.40000000596046
  4564. Part202.Transparency = 1
  4565. Part202.Rotation = Vector3.new(-90, 0, 0)
  4566. Part202.CanCollide = false
  4567. Part202.FormFactor = Enum.FormFactor.Custom
  4568. Part202.Size = Vector3.new(0.638599575, 4.47512245, 0.200000003)
  4569. Part202.CFrame = CFrame.new(2.28068852, 4.14401436, 31.3925095, 1, 1.4477809e-14, -7.10542736e-15, -7.10542736e-15, 0, 1, -1.4477809e-14, -1, 0)
  4570. Part202.BottomSurface = Enum.SurfaceType.Smooth
  4571. Part202.TopSurface = Enum.SurfaceType.Smooth
  4572. Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4573. Part202.Position = Vector3.new(2.28068852, 4.14401436, 31.3925095)
  4574. Part202.Orientation = Vector3.new(-90, 0, 0)
  4575. Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4576. ManualWeld203.Name = "Weld"
  4577. ManualWeld203.Parent = Part202
  4578. ManualWeld203.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
  4579. ManualWeld203.C1 = CFrame.new(-0.0213336945, -3.09658098, -0.00581765175, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
  4580. ManualWeld203.Part0 = Part202
  4581. ManualWeld203.Part1 = Part194
  4582. ParticleEmitter204.Name = "Lightning1"
  4583. ParticleEmitter204.Parent = Part202
  4584. ParticleEmitter204.Transparency = NumberSequence.new(1,0.77777802944183,0.98000001907349)
  4585. ParticleEmitter204.Rotation = NumberRange.new(0, 360)
  4586. ParticleEmitter204.Size = NumberSequence.new(0.3125,0.5625,0.60509598255157,0.5,0.3821650147438)
  4587. ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  4588. ParticleEmitter204.Enabled = false
  4589. ParticleEmitter204.LightEmission = 0.60000002384186
  4590. ParticleEmitter204.Texture = "rbxassetid://203216563"
  4591. ParticleEmitter204.Lifetime = NumberRange.new(1, 3)
  4592. ParticleEmitter204.Rate = 40
  4593. ParticleEmitter204.RotSpeed = NumberRange.new(-500, 500)
  4594. ParticleEmitter204.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  4595. ParticleEmitter204.VelocitySpread = 360
  4596. ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  4597. ParticleEmitter205.Name = "Lightning2"
  4598. ParticleEmitter205.Parent = Part202
  4599. ParticleEmitter205.Transparency = NumberSequence.new(0,0.46857100725174,0.77777802944183,0.98000001907349)
  4600. ParticleEmitter205.Rotation = NumberRange.new(0, 360)
  4601. ParticleEmitter205.Size = NumberSequence.new(0.15923599898815,0.35031899809837)
  4602. ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  4603. ParticleEmitter205.Enabled = false
  4604. ParticleEmitter205.LightEmission = 0.60000002384186
  4605. ParticleEmitter205.Texture = "http://www.roblox.com/asset/?id=296659257"
  4606. ParticleEmitter205.Lifetime = NumberRange.new(2, 3)
  4607. ParticleEmitter205.Rate = 80
  4608. ParticleEmitter205.RotSpeed = NumberRange.new(-30, 30)
  4609. ParticleEmitter205.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
  4610. ParticleEmitter205.VelocitySpread = 360
  4611. ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
  4612. ParticleEmitter206.Name = "Lightning3"
  4613. ParticleEmitter206.Parent = Part202
  4614. ParticleEmitter206.Transparency = NumberSequence.new(1,0,0,0,0,0.98000001907349)
  4615. ParticleEmitter206.Rotation = NumberRange.new(0, 360)
  4616. ParticleEmitter206.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  4617. ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
  4618. ParticleEmitter206.Enabled = false
  4619. ParticleEmitter206.LightEmission = 0.69999998807907
  4620. ParticleEmitter206.Texture = "rbxassetid://289770974"
  4621. ParticleEmitter206.Acceleration = Vector3.new(0, -1, 1)
  4622. ParticleEmitter206.Lifetime = NumberRange.new(2, 3)
  4623. ParticleEmitter206.RotSpeed = NumberRange.new(-30, 30)
  4624. ParticleEmitter206.Speed = NumberRange.new(0.5, 0.5)
  4625. ParticleEmitter206.VelocitySpread = 360
  4626. ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
  4627. PointLight207.Parent = Part202
  4628. PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
  4629. PointLight207.Enabled = false
  4630. PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
  4631. ParticleEmitter208.Name = "Stroke"
  4632. ParticleEmitter208.Parent = Part202
  4633. ParticleEmitter208.Transparency = NumberSequence.new(0.20454500615597,1)
  4634. ParticleEmitter208.Rotation = NumberRange.new(0, 360)
  4635. ParticleEmitter208.Size = NumberSequence.new(1.125,0.8125,2.3333299160004)
  4636. ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
  4637. ParticleEmitter208.Enabled = false
  4638. ParticleEmitter208.LightEmission = 0.20000000298023
  4639. ParticleEmitter208.Texture = "http://www.roblox.com/asset/?id=296659257"
  4640. ParticleEmitter208.Acceleration = Vector3.new(0, 0, 0.100000001)
  4641. ParticleEmitter208.Lifetime = NumberRange.new(1, 2)
  4642. ParticleEmitter208.Rate = 200
  4643. ParticleEmitter208.RotSpeed = NumberRange.new(-25, 25)
  4644. ParticleEmitter208.Speed = NumberRange.new(0, 0.10000000149012)
  4645. ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
  4646. Tool209.Name = "Conch"
  4647. Tool209.Parent = mas
  4648. Tool209.GripForward = Vector3.new(-0, 0.98480773, -0.173648193)
  4649. Tool209.GripPos = Vector3.new(0, -0.542477846, 0.0603880882)
  4650. Tool209.GripRight = Vector3.new(0.866025388, 0.0868240967, 0.492403865)
  4651. Tool209.GripUp = Vector3.new(-0.5, 0.150383741, 0.852868497)
  4652. BillboardGui210.Name = "G"
  4653. BillboardGui210.Parent = mas
  4654. BillboardGui210.Size = UDim2.new(4, 0, 1, 0)
  4655. BillboardGui210.Enabled = false
  4656. BillboardGui210.AlwaysOnTop = true
  4657. BillboardGui210.StudsOffset = Vector3.new(0, 2, 0)
  4658. TextLabel211.Name = "L"
  4659. TextLabel211.Parent = BillboardGui210
  4660. TextLabel211.Transparency = 1
  4661. TextLabel211.Size = UDim2.new(1, 0, 1, 0)
  4662. TextLabel211.Text = "Nothing."
  4663. TextLabel211.BackgroundColor3 = Color3.new(0, 0, 0)
  4664. TextLabel211.BackgroundTransparency = 1
  4665. TextLabel211.TextColor3 = Color3.new(0.490196, 0.407843, 0.729412)
  4666. TextLabel211.TextScaled = true
  4667. TextLabel211.TextStrokeColor3 = Color3.new(1, 0.847059, 0.45098)
  4668. TextLabel211.TextStrokeTransparency = 0.40000000596046
  4669. TextLabel211.TextWrapped = true
  4670. TextLabel211.TextYAlignment = Enum.TextYAlignment.Bottom
  4671. ParticleEmitter212.Name = "E"
  4672. ParticleEmitter212.Parent = mas
  4673. ParticleEmitter212.Transparency = NumberSequence.new(1,0,1)
  4674. ParticleEmitter212.Rotation = NumberRange.new(0, 360)
  4675. ParticleEmitter212.Size = NumberSequence.new(0.875,1.5625)
  4676. ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4677. ParticleEmitter212.Enabled = false
  4678. ParticleEmitter212.LightEmission = 0.20000000298023
  4679. ParticleEmitter212.Texture = "http://www.roblox.com/asset/?id=445231746"
  4680. ParticleEmitter212.Lifetime = NumberRange.new(2, 3)
  4681. ParticleEmitter212.Rate = 80
  4682. ParticleEmitter212.RotSpeed = NumberRange.new(-20, 20)
  4683. ParticleEmitter212.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
  4684. ParticleEmitter212.VelocitySpread = 360
  4685. ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4686. Script213.Parent = Tool209
  4687. table.insert(cors,sandbox(Script213,function()
  4688. local ev=Instance.new("RemoteEvent",script.Parent)
  4689. ev.Name="Conch"
  4690. local function ConchEvent(p,number)
  4691. script.Parent.Type.Value=number
  4692. end
  4693. ev.OnServerEvent:connect(ConchEvent)
  4694. local Tool=script.Parent
  4695. local Gui=Tool.Handle:WaitForChild("G")
  4696. local L=Gui:WaitForChild("L")
  4697. local SoundsIds={
  4698. {448352003,"No."},
  4699. {147760112,"Nothing."},
  4700. {483414191,"Try asking again."},
  4701. {483414204,"I don't think so."},
  4702. {483972159,"Maybe some day."},
  4703. {483977329,"Yes."}
  4704. }
  4705.  
  4706. local Cooldown=false
  4707.  
  4708. local function Activate()
  4709. if not Cooldown then
  4710. Cooldown=true
  4711.  
  4712. local rand=Tool.Type.Value
  4713. local S=Instance.new("Sound",Tool.Handle)
  4714. S.SoundId="rbxassetid://"..SoundsIds[rand][1]
  4715. S.Volume=1
  4716. S:Play()
  4717. spawn(function()
  4718. wait(3)
  4719. S:Destroy()
  4720. end)
  4721. L.Text=SoundsIds[rand][2]
  4722. Gui.Enabled=true
  4723. Tool.Handle.E:Emit(10)
  4724. wait(3)
  4725. Gui.Enabled=false
  4726. wait(.5)
  4727. Cooldown=false
  4728. end
  4729. end
  4730. Tool.Activated:connect(Activate)
  4731. end))
  4732. LocalScript214.Parent = Tool209
  4733. table.insert(cors,sandbox(LocalScript214,function()
  4734. local plr=game.Players.LocalPlayer
  4735.  
  4736. local Input=game:GetService("UserInputService")
  4737.  
  4738.  
  4739. Input.InputBegan:connect(function(input)
  4740. if input.KeyCode==Enum.KeyCode.U and Input:GetFocusedTextBox()==nil then
  4741. script.Parent.Conch:FireServer("1")
  4742. end
  4743. if input.KeyCode==Enum.KeyCode.I and Input:GetFocusedTextBox()==nil then
  4744. script.Parent.Conch:FireServer("2")
  4745. end
  4746. if input.KeyCode==Enum.KeyCode.O and Input:GetFocusedTextBox()==nil then
  4747. script.Parent.Conch:FireServer("3")
  4748. end
  4749. if input.KeyCode==Enum.KeyCode.P and Input:GetFocusedTextBox()==nil then
  4750. script.Parent.Conch:FireServer("4")
  4751. end
  4752. if input.KeyCode==Enum.KeyCode.LeftBracket and Input:GetFocusedTextBox()==nil then
  4753. script.Parent.Conch:FireServer("5")
  4754. end
  4755. if input.KeyCode==Enum.KeyCode.RightBracket and Input:GetFocusedTextBox()==nil then
  4756. script.Parent.Conch:FireServer("6")
  4757. end
  4758. end)
  4759. end))
  4760. IntValue215.Name = "Type"
  4761. IntValue215.Parent = Tool209
  4762. IntValue215.Value = 1
  4763. Sound216.Parent = Tool209
  4764. Tool217.Name = "Saber"
  4765. Tool217.Parent = mas
  4766. Tool217.GripForward = Vector3.new(1, 0, 0)
  4767. Tool217.GripPos = Vector3.new(0, 2, 0)
  4768. Tool217.GripRight = Vector3.new(0, 0, -1)
  4769. Tool217.GripUp = Vector3.new(0, -1, 0)
  4770. Tool217.ToolTip = "Whalers' Officer Sword"
  4771. Tool217.CanBeDropped = false
  4772. Part218.Name = "Handle"
  4773. Part218.Parent = Tool217
  4774. Part218.BrickColor = BrickColor.new("Dark stone grey")
  4775. Part218.Reflectance = 0.40000000596046
  4776. Part218.Transparency = 1
  4777. Part218.Rotation = Vector3.new(180, 0, 0)
  4778. Part218.CanCollide = false
  4779. Part218.FormFactor = Enum.FormFactor.Custom
  4780. Part218.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  4781. Part218.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
  4782. Part218.BottomSurface = Enum.SurfaceType.Smooth
  4783. Part218.TopSurface = Enum.SurfaceType.Smooth
  4784. Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4785. Part218.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
  4786. Part218.Orientation = Vector3.new(0, 180, 180)
  4787. Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4788. Model219.Name = "Sheath"
  4789. Model219.Parent = Tool217
  4790. ManualWeld220.Name = "Weld"
  4791. ManualWeld220.Parent = mas
  4792. ManualWeld220.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
  4793. ManualWeld220.C1 = CFrame.new(-0.0213623047, -0.000297546387, 1.8490715, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4794. ManualWeld220.Part0 = nil
  4795. ManualWeld220.Part1 = nil
  4796. ManualWeld221.Name = "Weld"
  4797. ManualWeld221.Parent = mas
  4798. ManualWeld221.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
  4799. ManualWeld221.C1 = CFrame.new(0.00109481812, -0.000293731689, -1.53172398, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4800. ManualWeld221.Part0 = nil
  4801. ManualWeld221.Part1 = nil
  4802. Part222.Name = "Handle"
  4803. Part222.Parent = Model219
  4804. Part222.BrickColor = BrickColor.new("Dark stone grey")
  4805. Part222.Reflectance = 0.40000000596046
  4806. Part222.Transparency = 1
  4807. Part222.Rotation = Vector3.new(180, 0, 0)
  4808. Part222.CanCollide = false
  4809. Part222.FormFactor = Enum.FormFactor.Custom
  4810. Part222.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  4811. Part222.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
  4812. Part222.BottomSurface = Enum.SurfaceType.Smooth
  4813. Part222.TopSurface = Enum.SurfaceType.Smooth
  4814. Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4815. Part222.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
  4816. Part222.Orientation = Vector3.new(0, 180, 180)
  4817. Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4818. ManualWeld223.Name = "Weld"
  4819. ManualWeld223.Parent = Part222
  4820. ManualWeld223.C0 = CFrame.new(0, 0, 0, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  4821. ManualWeld223.C1 = CFrame.new(-0.0770301819, 0.0458289385, -0.344614983, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4822. ManualWeld223.Part0 = Part222
  4823. ManualWeld223.Part1 = nil
  4824. ManualWeld224.Name = "Weld"
  4825. ManualWeld224.Parent = mas
  4826. ManualWeld224.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4827. ManualWeld224.C1 = CFrame.new(-0.0816249847, 1.77062011, 0.062302351, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  4828. ManualWeld224.Part0 = nil
  4829. ManualWeld224.Part1 = Part218
  4830. ManualWeld225.Name = "Weld"
  4831. ManualWeld225.Parent = mas
  4832. ManualWeld225.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4833. ManualWeld225.C1 = CFrame.new(-0.0652732849, -0.336987495, 0.0498373508, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  4834. ManualWeld225.Part0 = nil
  4835. ManualWeld225.Part1 = Part218
  4836. ParticleEmitter226.Name = "ASD1"
  4837. ParticleEmitter226.Parent = mas
  4838. ParticleEmitter226.Transparency = NumberSequence.new(0.96100002527237,0.90643298625946,0.98000001907349)
  4839. ParticleEmitter226.Size = NumberSequence.new(0.44444400072098,3.8125,0.73248398303986,2.375)
  4840. ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4841. ParticleEmitter226.Enabled = false
  4842. ParticleEmitter226.LightEmission = 1
  4843. ParticleEmitter226.Texture = "http://www.roblox.com/asset/?id=217245118"
  4844. ParticleEmitter226.ZOffset = 1.2000000476837
  4845. ParticleEmitter226.Lifetime = NumberRange.new(1, 1)
  4846. ParticleEmitter226.Rate = 50
  4847. ParticleEmitter226.Speed = NumberRange.new(0, 0)
  4848. ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4849. ParticleEmitter227.Name = "ASD2"
  4850. ParticleEmitter227.Parent = mas
  4851. ParticleEmitter227.Transparency = NumberSequence.new(0,0,1)
  4852. ParticleEmitter227.Rotation = NumberRange.new(0, 360)
  4853. ParticleEmitter227.Size = NumberSequence.new(2,2)
  4854. ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4855. ParticleEmitter227.Enabled = false
  4856. ParticleEmitter227.LightEmission = 1
  4857. ParticleEmitter227.Texture = "http://www.roblox.com/asset/?id=398285173"
  4858. ParticleEmitter227.ZOffset = 1
  4859. ParticleEmitter227.Acceleration = Vector3.new(0, 0.5, 0)
  4860. ParticleEmitter227.Lifetime = NumberRange.new(1, 3)
  4861. ParticleEmitter227.Rate = 30
  4862. ParticleEmitter227.Speed = NumberRange.new(0.5, 0.5)
  4863. ParticleEmitter227.VelocitySpread = 360
  4864. ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4865. PointLight228.Parent = mas
  4866. PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
  4867. PointLight228.Enabled = false
  4868. PointLight228.Range = 10
  4869. PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
  4870. ParticleEmitter229.Name = "Stroke"
  4871. ParticleEmitter229.Parent = mas
  4872. ParticleEmitter229.Transparency = NumberSequence.new(0.20454500615597,1)
  4873. ParticleEmitter229.Rotation = NumberRange.new(0, 360)
  4874. ParticleEmitter229.Size = NumberSequence.new(1.6013100147247,0.8125,1.7647099494934,3.0718998908997)
  4875. ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
  4876. ParticleEmitter229.Enabled = false
  4877. ParticleEmitter229.LightEmission = 0.20000000298023
  4878. ParticleEmitter229.Texture = "http://www.roblox.com/asset/?id=296659257"
  4879. ParticleEmitter229.Acceleration = Vector3.new(0, 0, 0.200000003)
  4880. ParticleEmitter229.Lifetime = NumberRange.new(1, 3)
  4881. ParticleEmitter229.Rate = 300
  4882. ParticleEmitter229.RotSpeed = NumberRange.new(-25, 25)
  4883. ParticleEmitter229.Speed = NumberRange.new(0, 0.10000000149012)
  4884. ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
  4885. ManualWeld230.Name = "Weld"
  4886. ManualWeld230.Parent = mas
  4887. ManualWeld230.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  4888. ManualWeld230.C1 = CFrame.new(-0.0854969025, 1.76604128, -0.13350749, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  4889. ManualWeld230.Part0 = nil
  4890. ManualWeld230.Part1 = Part218
  4891. Script231.Name = "CharacterWeld"
  4892. Script231.Parent = Tool217
  4893. table.insert(cors,sandbox(Script231,function()
  4894. -- Tool References
  4895. local Tool = script.Parent
  4896. local Player = script.Parent.Parent.Parent
  4897. local Model = nil
  4898.  
  4899. -- When the tool is unequipped
  4900. local weldTypes={
  4901. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  4902. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  4903. }
  4904. local part1Attachment={
  4905. [Enum.HumanoidRigType.R6]="Torso",
  4906. [Enum.HumanoidRigType.R15]="LowerTorso"
  4907. }
  4908. Tool.Unequipped:connect(function()
  4909.  
  4910. -- Define Character
  4911. local Character = Player.Character
  4912.  
  4913. -- Create the welded model
  4914. Model = Instance.new("Model", Character)
  4915. Model.Name = Tool.Name.."Weld"
  4916.  
  4917. -- Weld all parts to the handle
  4918. local Handle = Tool.Handle:Clone()
  4919. Handle.Name = "Part"
  4920. Handle.CanCollide = false
  4921. Handle.Parent = Model
  4922. for _,Item in pairs(Tool:GetChildren()) do
  4923. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  4924. if Item.Name ~= "Handle" then
  4925. local Part = Item:Clone()
  4926. Part.Name = "Part"
  4927. local Weld = Instance.new("Weld")
  4928. Weld.Parent = Part
  4929. Weld.Part0 = Part
  4930. Weld.Part1 = Handle
  4931. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  4932. Part.Parent = Model
  4933. end
  4934. end
  4935. end
  4936.  
  4937. -- CFrame model to side
  4938. local Weld = Instance.new("Weld")
  4939. Weld.Parent = Handle
  4940. Weld.Part0 = Handle
  4941. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  4942. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  4943. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  4944.  
  4945. end)
  4946.  
  4947. -- When the tool is equipped
  4948. Tool.Equipped:connect(function()
  4949.  
  4950. -- Remove the tool when they re-equip sword
  4951. if not Player.Character:FindFirstChild("Sheath") then
  4952. local SheathModel=script.Parent.Sheath
  4953. SheathModel.Parent=Player.Character
  4954. local Weld = Instance.new("Weld")
  4955. Weld.Parent = SheathModel.Handle
  4956. Weld.Part0 = SheathModel.Handle
  4957. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
  4958. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  4959. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  4960. end
  4961. if Model ~= nil then
  4962. Model:Destroy()
  4963. end
  4964.  
  4965. end)
  4966. end))
  4967. Script232.Name = "SwordScript"
  4968. Script232.Parent = Tool217
  4969. table.insert(cors,sandbox(Script232,function()
  4970. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  4971.  
  4972. r = game:service("RunService")
  4973.  
  4974.  
  4975. local damage = 5
  4976.  
  4977.  
  4978. local slash_damage = 10
  4979. local lunge_damage = 30
  4980.  
  4981. sword = script.Parent.Handle
  4982. Tool = script.Parent
  4983.  
  4984. local fxToggled = false
  4985.  
  4986. local SlashSound = Instance.new("Sound")
  4987. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4988. SlashSound.Parent = sword
  4989. SlashSound.Volume = .7
  4990.  
  4991. local LungeSound = Instance.new("Sound")
  4992. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4993. LungeSound.Parent = sword
  4994. LungeSound.Volume = .6
  4995.  
  4996. local UnsheathSound = Instance.new("Sound")
  4997. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4998. UnsheathSound.Parent = sword
  4999. UnsheathSound.Volume = 1
  5000.  
  5001.  
  5002. function blow(hit)
  5003. if (hit.Parent == nil) then return end
  5004.  
  5005. local humanoid = hit.Parent:findFirstChild("Humanoid")
  5006. local vCharacter = Tool.Parent
  5007. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  5008. local hum = vCharacter:findFirstChild("Humanoid")
  5009. if humanoid and humanoid ~= hum and hum then
  5010. -- final check, make sure sword is in-hand
  5011. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  5012. local right_arm = vCharacter:FindFirstChild("Right Arm")
  5013. if (right_arm) then
  5014. local joint = right_arm:FindFirstChild("RightGrip")
  5015. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  5016. if guygettingsliced then --If he's a player
  5017. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  5018. tagHumanoid(humanoid, vPlayer)
  5019. humanoid:TakeDamage(damage)
  5020. wait(1)
  5021. untagHumanoid(humanoid)
  5022. --end
  5023. else --If he's not a player (AI, shop, etc)
  5024. tagHumanoid(humanoid, vPlayer)
  5025. humanoid:TakeDamage(damage)
  5026. wait(1)
  5027. untagHumanoid(humanoid)
  5028. end
  5029. end
  5030. end
  5031.  
  5032. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  5033.  
  5034.  
  5035. end
  5036. end
  5037.  
  5038.  
  5039. function tagHumanoid(humanoid, player)
  5040. local creator_tag = Instance.new("ObjectValue")
  5041. creator_tag.Value = player
  5042. creator_tag.Name = "creator"
  5043. creator_tag.Parent = humanoid
  5044. end
  5045.  
  5046. function untagHumanoid(humanoid)
  5047. if humanoid ~= nil then
  5048. local tag = humanoid:findFirstChild("creator")
  5049. if tag ~= nil then
  5050. tag.Parent = nil
  5051. end
  5052. end
  5053. end
  5054.  
  5055.  
  5056. function attack()
  5057. damage = slash_damage
  5058. SlashSound:play()
  5059. local anim = Instance.new("StringValue")
  5060. anim.Name = "toolanim"
  5061. anim.Value = "Slash"
  5062. anim.Parent = Tool
  5063. end
  5064. local fx=script.Parent:FindFirstChild("Blade")
  5065. local fx2=script.Parent.Blade:FindFirstChild("Stroke")
  5066.  
  5067. function lunge()
  5068. damage = lunge_damage
  5069.  
  5070. LungeSound:play()
  5071.  
  5072. local anim = Instance.new("StringValue")
  5073. anim.Name = "toolanim"
  5074. anim.Value = "Lunge"
  5075. anim.Parent = Tool
  5076.  
  5077.  
  5078. local force = Instance.new("BodyVelocity")
  5079. force.velocity = Vector3.new(0,10,0)
  5080. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  5081. force.Parent = Tool.Parent.Torso
  5082. if fx and fx2 and fxToggled then fx2.Enabled=true end
  5083. wait(.25)
  5084. swordOut()
  5085. wait(.25)
  5086. force.Parent = nil
  5087. wait(.5)
  5088. swordUp()
  5089. if fx and fx2 then fx2.Enabled=false end
  5090.  
  5091. damage = slash_damage
  5092. end
  5093.  
  5094. function swordUp()
  5095. Tool.GripForward = Vector3.new(1, 0, 0)
  5096. Tool.GripRight = Vector3.new(0, 0, -1)
  5097. Tool.GripUp = Vector3.new(0, -1, 0)
  5098. end
  5099.  
  5100. function swordOut()
  5101. Tool.GripForward = Vector3.new(1, 0, 0)
  5102. Tool.GripRight = Vector3.new(0, 0, -1)
  5103. Tool.GripUp = Vector3.new(-20, -1, 0)
  5104. end
  5105.  
  5106. function swordAcross()
  5107. -- parry
  5108. end
  5109.  
  5110.  
  5111. Tool.Enabled = true
  5112. local last_attack = 0
  5113. function onActivated()
  5114.  
  5115. if not Tool.Enabled then
  5116. return
  5117. end
  5118.  
  5119. Tool.Enabled = false
  5120.  
  5121. local character = Tool.Parent;
  5122. local humanoid = character.Humanoid
  5123. if humanoid == nil then
  5124. print("Humanoid not found")
  5125. return
  5126. end
  5127.  
  5128. local t = r.Stepped:wait()
  5129.  
  5130. if (t - last_attack < .2) then
  5131. lunge()
  5132. else
  5133. attack()
  5134. end
  5135.  
  5136. last_attack = t
  5137.  
  5138. --wait(.5)
  5139.  
  5140. Tool.Enabled = true
  5141. end
  5142.  
  5143.  
  5144. function onEquipped()
  5145. UnsheathSound:play()
  5146. end
  5147. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  5148. local ch=script.Parent.Blade:GetChildren()
  5149. for i=1,#ch do
  5150. if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
  5151. ch[i].Enabled=toggle
  5152. end
  5153. end
  5154. spawn(function()
  5155. wait(.5)
  5156. script.Parent.Blade.Stroke.Enabled=false
  5157. end)
  5158. fxToggled=toggle
  5159. if not toggle then
  5160. script.Parent.Blade.Material=Enum.Material.Metal
  5161. script.Parent.Blade.BrickColor=BrickColor.new("Institutional white")
  5162. damage=5
  5163. slash_damage=10
  5164. lunge_damage=30
  5165.  
  5166. else
  5167. script.Parent.Blade.Material=Enum.Material.Neon
  5168. script.Parent.Blade.BrickColor=BrickColor.new("Cool yellow")
  5169. damage=15
  5170. slash_damage=20
  5171. lunge_damage=50
  5172. end
  5173. end)
  5174.  
  5175. script.Parent.Activated:connect(onActivated)
  5176. script.Parent.Equipped:connect(onEquipped)
  5177.  
  5178.  
  5179. connection = sword.Touched:connect(blow)
  5180.  
  5181.  
  5182.  
  5183. end))
  5184. LocalScript233.Parent = Tool217
  5185. table.insert(cors,sandbox(LocalScript233,function()
  5186. repeat wait() until game.Players.LocalPlayer.Character~=nil
  5187. local plr=game.Players.LocalPlayer
  5188. local chr=plr.Character
  5189. local KeyPress=game:GetService("UserInputService")
  5190.  
  5191. local Tool=script.Parent
  5192. local ToolEquipped=false
  5193.  
  5194. local fx=false
  5195. KeyPress.InputBegan:connect(function(Key)
  5196. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  5197. fx = not fx
  5198. script.Parent.Effects:FireServer(fx)
  5199. end
  5200. end)
  5201.  
  5202. Tool.Equipped:connect(function()
  5203. ToolEquipped=true
  5204. end)
  5205. Tool.Unequipped:connect(function()
  5206. ToolEquipped=false
  5207. end)
  5208.  
  5209. end))
  5210. RemoteEvent234.Name = "Effects"
  5211. RemoteEvent234.Parent = Tool217
  5212. Tool235.Name = "Stars"
  5213. Tool235.Parent = mas
  5214. Tool235.GripForward = Vector3.new(1, 0, 0)
  5215. Tool235.GripPos = Vector3.new(0, 2, 0)
  5216. Tool235.GripRight = Vector3.new(0, 0, -1)
  5217. Tool235.GripUp = Vector3.new(0, -1, 0)
  5218. Tool235.ToolTip = "Whalers' Officer Sword"
  5219. Tool235.CanBeDropped = false
  5220. Part236.Name = "Handle"
  5221. Part236.Parent = Tool235
  5222. Part236.BrickColor = BrickColor.new("Dark stone grey")
  5223. Part236.Reflectance = 0.40000000596046
  5224. Part236.Transparency = 1
  5225. Part236.Rotation = Vector3.new(180, 0, 0)
  5226. Part236.CanCollide = false
  5227. Part236.FormFactor = Enum.FormFactor.Custom
  5228. Part236.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  5229. Part236.CFrame = CFrame.new(51.3806801, 9.38865376, 545.796448, 1.00000083, -1.00867403e-22, 7.02134494e-15, -4.43255605e-29, -1.00000083, -5.96046803e-08, 2.54677142e-15, 5.96046519e-08, -1)
  5230. Part236.BottomSurface = Enum.SurfaceType.Smooth
  5231. Part236.TopSurface = Enum.SurfaceType.Smooth
  5232. Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5233. Part236.Position = Vector3.new(51.3806801, 9.38865376, 545.796448)
  5234. Part236.Orientation = Vector3.new(0, 180, -180)
  5235. Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5236. Script237.Name = "CharacterWeld"
  5237. Script237.Parent = Tool235
  5238. table.insert(cors,sandbox(Script237,function()
  5239. -- Tool References
  5240. local Tool = script.Parent
  5241. local Player = script.Parent.Parent.Parent
  5242. local Model = nil
  5243.  
  5244. -- When the tool is unequipped
  5245. local weldTypes={
  5246. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  5247. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  5248. }
  5249. local part1Attachment={
  5250. [Enum.HumanoidRigType.R6]="Torso",
  5251. [Enum.HumanoidRigType.R15]="LowerTorso"
  5252. }
  5253. Tool.Unequipped:connect(function()
  5254.  
  5255. -- Define Character
  5256. local Character = Player.Character
  5257.  
  5258. -- Create the welded model
  5259. Model = Instance.new("Model", Character)
  5260. Model.Name = Tool.Name.."Weld"
  5261.  
  5262. -- Weld all parts to the handle
  5263. local Handle = Tool.Handle:Clone()
  5264. Handle.Name = "Part"
  5265. Handle.CanCollide = false
  5266. Handle.Parent = Model
  5267. for _,Item in pairs(Tool:GetChildren()) do
  5268. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  5269. if Item.Name ~= "Handle" then
  5270. local Part = Item:Clone()
  5271. Part.Name = "Part"
  5272. local Weld = Instance.new("Weld")
  5273. Weld.Parent = Part
  5274. Weld.Part0 = Part
  5275. Weld.Part1 = Handle
  5276. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  5277. Part.Parent = Model
  5278. end
  5279. end
  5280. end
  5281.  
  5282. -- CFrame model to side
  5283. local Weld = Instance.new("Weld")
  5284. Weld.Parent = Handle
  5285. Weld.Part0 = Handle
  5286. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  5287. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  5288. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  5289.  
  5290. end)
  5291.  
  5292. -- When the tool is equipped
  5293. Tool.Equipped:connect(function()
  5294.  
  5295. -- Remove the tool when they re-equip sword
  5296.  
  5297. if Model ~= nil then
  5298. Model:Destroy()
  5299. end
  5300.  
  5301. end)
  5302. end))
  5303. Script238.Name = "SwordScript"
  5304. Script238.Parent = Tool235
  5305. table.insert(cors,sandbox(Script238,function()
  5306. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  5307.  
  5308. r = game:service("RunService")
  5309.  
  5310.  
  5311. local damage = 5
  5312.  
  5313.  
  5314. local slash_damage = 10
  5315. local lunge_damage = 30
  5316.  
  5317. sword = script.Parent.Handle
  5318. Tool = script.Parent
  5319.  
  5320. local fxToggled = false
  5321.  
  5322. local SlashSound = Instance.new("Sound")
  5323. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5324. SlashSound.Parent = sword
  5325. SlashSound.Volume = .7
  5326.  
  5327. local LungeSound = Instance.new("Sound")
  5328. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  5329. LungeSound.Parent = sword
  5330. LungeSound.Volume = .6
  5331.  
  5332. local UnsheathSound = Instance.new("Sound")
  5333. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5334. UnsheathSound.Parent = sword
  5335. UnsheathSound.Volume = 1
  5336.  
  5337.  
  5338. function blow(hit)
  5339. if (hit.Parent == nil) then return end
  5340.  
  5341. local humanoid = hit.Parent:findFirstChild("Humanoid")
  5342. local vCharacter = Tool.Parent
  5343. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  5344. local hum = vCharacter:findFirstChild("Humanoid")
  5345. if humanoid and humanoid ~= hum and hum then
  5346. -- final check, make sure sword is in-hand
  5347. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  5348. local right_arm = vCharacter:FindFirstChild("Right Arm")
  5349. if (right_arm) then
  5350. local joint = right_arm:FindFirstChild("RightGrip")
  5351. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  5352. if guygettingsliced then --If he's a player
  5353. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  5354. tagHumanoid(humanoid, vPlayer)
  5355. humanoid:TakeDamage(damage)
  5356. wait(1)
  5357. untagHumanoid(humanoid)
  5358. --end
  5359. else --If he's not a player (AI, shop, etc)
  5360. tagHumanoid(humanoid, vPlayer)
  5361. humanoid:TakeDamage(damage)
  5362. wait(1)
  5363. untagHumanoid(humanoid)
  5364. end
  5365. end
  5366. end
  5367.  
  5368. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  5369.  
  5370.  
  5371. end
  5372. end
  5373.  
  5374.  
  5375. function tagHumanoid(humanoid, player)
  5376. local creator_tag = Instance.new("ObjectValue")
  5377. creator_tag.Value = player
  5378. creator_tag.Name = "creator"
  5379. creator_tag.Parent = humanoid
  5380. end
  5381.  
  5382. function untagHumanoid(humanoid)
  5383. if humanoid ~= nil then
  5384. local tag = humanoid:findFirstChild("creator")
  5385. if tag ~= nil then
  5386. tag.Parent = nil
  5387. end
  5388. end
  5389. end
  5390.  
  5391.  
  5392. function attack()
  5393. damage = slash_damage
  5394. SlashSound:play()
  5395. local anim = Instance.new("StringValue")
  5396. anim.Name = "toolanim"
  5397. anim.Value = "Slash"
  5398. anim.Parent = Tool
  5399. end
  5400. local fx=script.Parent:FindFirstChild("Blade")
  5401. local fx2=script.Parent.Blade:FindFirstChild("Stroke")
  5402.  
  5403. function lunge()
  5404. damage = lunge_damage
  5405.  
  5406. LungeSound:play()
  5407.  
  5408. local anim = Instance.new("StringValue")
  5409. anim.Name = "toolanim"
  5410. anim.Value = "Lunge"
  5411. anim.Parent = Tool
  5412.  
  5413.  
  5414. local force = Instance.new("BodyVelocity")
  5415. force.velocity = Vector3.new(0,10,0)
  5416. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  5417. force.Parent = Tool.Parent.Torso
  5418. if fx and fx2 and fxToggled then fx2.Enabled=true end
  5419. wait(.25)
  5420. swordOut()
  5421. wait(.25)
  5422. force.Parent = nil
  5423. wait(.5)
  5424. swordUp()
  5425. if fx and fx2 then fx2.Enabled=false end
  5426.  
  5427. damage = slash_damage
  5428. end
  5429.  
  5430. function swordUp()
  5431. Tool.GripForward = Vector3.new(1, 0, 0)
  5432. Tool.GripRight = Vector3.new(0, 0, -1)
  5433. Tool.GripUp = Vector3.new(0, -1, 0)
  5434. end
  5435.  
  5436. function swordOut()
  5437. Tool.GripForward = Vector3.new(1, 0, 0)
  5438. Tool.GripRight = Vector3.new(0, 0, -1)
  5439. Tool.GripUp = Vector3.new(-20, -1, 0)
  5440. end
  5441.  
  5442. function swordAcross()
  5443. -- parry
  5444. end
  5445.  
  5446.  
  5447. Tool.Enabled = true
  5448. local last_attack = 0
  5449. function onActivated()
  5450.  
  5451. if not Tool.Enabled then
  5452. return
  5453. end
  5454.  
  5455. Tool.Enabled = false
  5456.  
  5457. local character = Tool.Parent;
  5458. local humanoid = character.Humanoid
  5459. if humanoid == nil then
  5460. print("Humanoid not found")
  5461. return
  5462. end
  5463.  
  5464. local t = r.Stepped:wait()
  5465.  
  5466. if (t - last_attack < .2) then
  5467. lunge()
  5468. else
  5469. attack()
  5470. end
  5471.  
  5472. last_attack = t
  5473.  
  5474. --wait(.5)
  5475.  
  5476. Tool.Enabled = true
  5477. end
  5478.  
  5479.  
  5480. function onEquipped()
  5481. UnsheathSound:play()
  5482. end
  5483. script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
  5484. local ch=script.Parent.Blade:GetChildren()
  5485. for i=1,#ch do
  5486. if ch[i].ClassName=="ParticleEmitter" then
  5487. ch[i].Enabled=toggle
  5488. end
  5489. end
  5490. spawn(function()
  5491. wait(.5)
  5492. script.Parent.Blade.Stroke.Enabled=false
  5493. end)
  5494. fxToggled=toggle
  5495. if not toggle then
  5496. script.Parent.Neon.Material=Enum.Material.Metal
  5497. script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
  5498. script.Parent.NeonBlade.Material=Enum.Material.Metal
  5499. script.Parent.NeonBlade.BrickColor=BrickColor.new("Medium stone grey")
  5500. damage=5
  5501. slash_damage=10
  5502. lunge_damage=30
  5503.  
  5504. else
  5505. script.Parent.Neon.Material=Enum.Material.Neon
  5506. script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
  5507. script.Parent.NeonBlade.Material=Enum.Material.Neon
  5508. script.Parent.NeonBlade.BrickColor=BrickColor.new("Cork")
  5509. damage=15
  5510. slash_damage=20
  5511. lunge_damage=50
  5512. end
  5513. end)
  5514.  
  5515. script.Parent.Activated:connect(onActivated)
  5516. script.Parent.Equipped:connect(onEquipped)
  5517.  
  5518.  
  5519. connection = sword.Touched:connect(blow)
  5520.  
  5521.  
  5522.  
  5523. end))
  5524. LocalScript239.Parent = Tool235
  5525. table.insert(cors,sandbox(LocalScript239,function()
  5526. repeat wait() until game.Players.LocalPlayer.Character~=nil
  5527. local plr=game.Players.LocalPlayer
  5528. local chr=plr.Character
  5529. local KeyPress=game:GetService("UserInputService")
  5530.  
  5531. local Tool=script.Parent
  5532. local ToolEquipped=false
  5533.  
  5534. local fx=false
  5535. KeyPress.InputBegan:connect(function(Key)
  5536. if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
  5537. fx = not fx
  5538. script.Parent.Effects:FireServer(fx)
  5539. end
  5540. end)
  5541.  
  5542. Tool.Equipped:connect(function()
  5543. ToolEquipped=true
  5544. end)
  5545. Tool.Unequipped:connect(function()
  5546. ToolEquipped=false
  5547. end)
  5548.  
  5549. end))
  5550. RemoteEvent240.Name = "Effects"
  5551. RemoteEvent240.Parent = Tool235
  5552. ManualWeld241.Name = "Weld"
  5553. ManualWeld241.Parent = mas
  5554. ManualWeld241.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  5555. ManualWeld241.C1 = CFrame.new(-0.111595154, -0.181357384, 0.0515365601, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  5556. ManualWeld241.Part0 = nil
  5557. ManualWeld241.Part1 = Part236
  5558. ManualWeld242.Name = "Weld"
  5559. ManualWeld242.Parent = mas
  5560. ManualWeld242.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  5561. ManualWeld242.C1 = CFrame.new(-0.157051086, 1.47907066, 0.0514755249, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  5562. ManualWeld242.Part0 = nil
  5563. ManualWeld242.Part1 = Part236
  5564. ManualWeld243.Name = "Weld"
  5565. ManualWeld243.Parent = mas
  5566. ManualWeld243.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  5567. ManualWeld243.C1 = CFrame.new(-0.0959625244, -0.409609795, 0.0515365601, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  5568. ManualWeld243.Part0 = nil
  5569. ManualWeld243.Part1 = Part236
  5570. ManualWeld244.Name = "Weld"
  5571. ManualWeld244.Parent = mas
  5572. ManualWeld244.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
  5573. ManualWeld244.C1 = CFrame.new(-0.0471954346, 2.07928133, 0.0489425659, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
  5574. ManualWeld244.Part0 = nil
  5575. ManualWeld244.Part1 = Part236
  5576. ManualWeld245.Name = "Weld"
  5577. ManualWeld245.Parent = mas
  5578. ManualWeld245.C0 = CFrame.new(0, 0, 0, 0.342137009, -0.0113129998, 0.93958199, 0.665296674, 0.709051788, -0.233722121, -0.663568139, 0.705065727, 0.250119299)
  5579. ManualWeld245.C1 = CFrame.new(-0.0302352905, -0.740633965, 0.103126526, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  5580. ManualWeld245.Part0 = nil
  5581. ManualWeld245.Part1 = Part236
  5582. PointLight246.Parent = mas
  5583. PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
  5584. PointLight246.Enabled = false
  5585. PointLight246.Range = 10
  5586. PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
  5587. ParticleEmitter247.Name = "Stroke"
  5588. ParticleEmitter247.Parent = mas
  5589. ParticleEmitter247.Transparency = NumberSequence.new(0.20454500615597,1)
  5590. ParticleEmitter247.Rotation = NumberRange.new(0, 360)
  5591. ParticleEmitter247.Size = NumberSequence.new(0.375,0.3125,1.5625)
  5592. ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
  5593. ParticleEmitter247.Enabled = false
  5594. ParticleEmitter247.LightEmission = 0.25999999046326
  5595. ParticleEmitter247.Texture = "http://www.roblox.com/asset/?id=296659257"
  5596. ParticleEmitter247.Acceleration = Vector3.new(0, 0, 0.200000003)
  5597. ParticleEmitter247.Lifetime = NumberRange.new(1, 3)
  5598. ParticleEmitter247.Rate = 300
  5599. ParticleEmitter247.RotSpeed = NumberRange.new(-25, 25)
  5600. ParticleEmitter247.Speed = NumberRange.new(0, 0.10000000149012)
  5601. ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
  5602. ParticleEmitter248.Name = "ASD2"
  5603. ParticleEmitter248.Parent = mas
  5604. ParticleEmitter248.Transparency = NumberSequence.new(0,0,1)
  5605. ParticleEmitter248.Rotation = NumberRange.new(0, 360)
  5606. ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  5607. ParticleEmitter248.Enabled = false
  5608. ParticleEmitter248.LightEmission = 1
  5609. ParticleEmitter248.Texture = "http://www.roblox.com/asset/?id=398285173"
  5610. ParticleEmitter248.ZOffset = 1
  5611. ParticleEmitter248.Lifetime = NumberRange.new(1, 3)
  5612. ParticleEmitter248.Rate = 30
  5613. ParticleEmitter248.Speed = NumberRange.new(0.10000000149012, 0.20000000298023)
  5614. ParticleEmitter248.VelocitySpread = 360
  5615. ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  5616. ManualWeld249.Name = "Weld"
  5617. ManualWeld249.Parent = mas
  5618. ManualWeld249.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  5619. ManualWeld249.C1 = CFrame.new(0.0347213745, -0.21780777, -0.050163269, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
  5620. ManualWeld249.Part0 = nil
  5621. ManualWeld249.Part1 = Part236
  5622. Tool250.Name = "Sword"
  5623. Tool250.Parent = mas
  5624. Tool250.GripForward = Vector3.new(1, 0, 0)
  5625. Tool250.GripPos = Vector3.new(0, 2, 0)
  5626. Tool250.GripRight = Vector3.new(0, 0, -1)
  5627. Tool250.GripUp = Vector3.new(0, -1, 0)
  5628. Tool250.ToolTip = "Whalers' Officer Sword"
  5629. Tool250.CanBeDropped = false
  5630. Script251.Name = "SwordScript"
  5631. Script251.Parent = Tool250
  5632. table.insert(cors,sandbox(Script251,function()
  5633. --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
  5634.  
  5635. r = game:service("RunService")
  5636.  
  5637.  
  5638. local damage = 5
  5639.  
  5640.  
  5641. local slash_damage = 10
  5642. local lunge_damage = 30
  5643.  
  5644. sword = script.Parent.Handle
  5645. Tool = script.Parent
  5646.  
  5647.  
  5648. local SlashSound = Instance.new("Sound")
  5649. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5650. SlashSound.Parent = sword
  5651. SlashSound.Volume = .7
  5652.  
  5653. local LungeSound = Instance.new("Sound")
  5654. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  5655. LungeSound.Parent = sword
  5656. LungeSound.Volume = .6
  5657.  
  5658. local UnsheathSound = Instance.new("Sound")
  5659. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5660. UnsheathSound.Parent = sword
  5661. UnsheathSound.Volume = 1
  5662.  
  5663.  
  5664. function blow(hit)
  5665. if (hit.Parent == nil) then return end
  5666.  
  5667. local humanoid = hit.Parent:findFirstChild("Humanoid")
  5668. local vCharacter = Tool.Parent
  5669. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  5670. local hum = vCharacter:findFirstChild("Humanoid")
  5671. if humanoid and humanoid ~= hum and hum then
  5672. -- final check, make sure sword is in-hand
  5673. local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
  5674. local right_arm = vCharacter:FindFirstChild("Right Arm")
  5675. if (right_arm) then
  5676. local joint = right_arm:FindFirstChild("RightGrip")
  5677. if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
  5678. if guygettingsliced then --If he's a player
  5679. --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
  5680. tagHumanoid(humanoid, vPlayer)
  5681. humanoid:TakeDamage(damage)
  5682. wait(1)
  5683. untagHumanoid(humanoid)
  5684. --end
  5685. else --If he's not a player (AI, shop, etc)
  5686. tagHumanoid(humanoid, vPlayer)
  5687. humanoid:TakeDamage(damage)
  5688. wait(1)
  5689. untagHumanoid(humanoid)
  5690. end
  5691. end
  5692. end
  5693.  
  5694. --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
  5695.  
  5696.  
  5697. end
  5698. end
  5699.  
  5700.  
  5701. function tagHumanoid(humanoid, player)
  5702. local creator_tag = Instance.new("ObjectValue")
  5703. creator_tag.Value = player
  5704. creator_tag.Name = "creator"
  5705. creator_tag.Parent = humanoid
  5706. end
  5707.  
  5708. function untagHumanoid(humanoid)
  5709. if humanoid ~= nil then
  5710. local tag = humanoid:findFirstChild("creator")
  5711. if tag ~= nil then
  5712. tag.Parent = nil
  5713. end
  5714. end
  5715. end
  5716.  
  5717.  
  5718. function attack()
  5719. damage = slash_damage
  5720. SlashSound:play()
  5721. local anim = Instance.new("StringValue")
  5722. anim.Name = "toolanim"
  5723. anim.Value = "Slash"
  5724. anim.Parent = Tool
  5725. end
  5726.  
  5727. function lunge()
  5728. damage = lunge_damage
  5729.  
  5730. LungeSound:play()
  5731.  
  5732. local anim = Instance.new("StringValue")
  5733. anim.Name = "toolanim"
  5734. anim.Value = "Lunge"
  5735. anim.Parent = Tool
  5736.  
  5737.  
  5738. local force = Instance.new("BodyVelocity")
  5739. force.velocity = Vector3.new(0,10,0)
  5740. force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
  5741. force.Parent = Tool.Parent.Torso
  5742. wait(.25)
  5743. swordOut()
  5744. wait(.25)
  5745. force.Parent = nil
  5746. wait(.5)
  5747. swordUp()
  5748.  
  5749. damage = slash_damage
  5750. end
  5751.  
  5752. function swordUp()
  5753. Tool.GripForward = Vector3.new(1, 0, 0)
  5754. Tool.GripRight = Vector3.new(0, 0, -1)
  5755. Tool.GripUp = Vector3.new(0, -1, 0)
  5756. end
  5757.  
  5758. function swordOut()
  5759. Tool.GripForward = Vector3.new(1, 0, 0)
  5760. Tool.GripRight = Vector3.new(0, 0, -1)
  5761. Tool.GripUp = Vector3.new(-20, -1, 0)
  5762. end
  5763.  
  5764. function swordAcross()
  5765. -- parry
  5766. end
  5767.  
  5768.  
  5769. Tool.Enabled = true
  5770. local last_attack = 0
  5771. function onActivated()
  5772.  
  5773. if not Tool.Enabled then
  5774. return
  5775. end
  5776.  
  5777. Tool.Enabled = false
  5778.  
  5779. local character = Tool.Parent;
  5780. local humanoid = character.Humanoid
  5781. if humanoid == nil then
  5782. print("Humanoid not found")
  5783. return
  5784. end
  5785.  
  5786. local t = r.Stepped:wait()
  5787.  
  5788. if (t - last_attack < .2) then
  5789. lunge()
  5790. else
  5791. attack()
  5792. end
  5793.  
  5794. last_attack = t
  5795.  
  5796. --wait(.5)
  5797.  
  5798. Tool.Enabled = true
  5799. end
  5800.  
  5801.  
  5802. function onEquipped()
  5803. UnsheathSound:play()
  5804. end
  5805.  
  5806.  
  5807. script.Parent.Activated:connect(onActivated)
  5808. script.Parent.Equipped:connect(onEquipped)
  5809.  
  5810.  
  5811. connection = sword.Touched:connect(blow)
  5812.  
  5813.  
  5814.  
  5815. end))
  5816. Part252.Name = "Handle"
  5817. Part252.Parent = Tool250
  5818. Part252.BrickColor = BrickColor.new("Dark stone grey")
  5819. Part252.Reflectance = 0.40000000596046
  5820. Part252.Transparency = 1
  5821. Part252.CanCollide = false
  5822. Part252.FormFactor = Enum.FormFactor.Custom
  5823. Part252.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  5824. Part252.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
  5825. Part252.BottomSurface = Enum.SurfaceType.Smooth
  5826. Part252.TopSurface = Enum.SurfaceType.Smooth
  5827. Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5828. Part252.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
  5829. Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5830. ManualWeld253.Name = "Weld"
  5831. ManualWeld253.Parent = Part252
  5832. ManualWeld253.C0 = CFrame.new(0, 0, 0, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
  5833. ManualWeld253.C1 = CFrame.new(0.338930368, -0.0409965515, -0.0559577942, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5834. ManualWeld253.Part0 = Part252
  5835. ManualWeld253.Part1 = nil
  5836. Script254.Name = "CharacterWeld"
  5837. Script254.Parent = Tool250
  5838. table.insert(cors,sandbox(Script254,function()
  5839. -- Tool References
  5840. local Tool = script.Parent
  5841. local Player = script.Parent.Parent.Parent
  5842. local Model = nil
  5843.  
  5844. -- When the tool is unequipped
  5845. local weldTypes={
  5846. [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
  5847. [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
  5848. }
  5849. local part1Attachment={
  5850. [Enum.HumanoidRigType.R6]="Torso",
  5851. [Enum.HumanoidRigType.R15]="LowerTorso"
  5852. }
  5853. Tool.Unequipped:connect(function()
  5854.  
  5855. -- Define Character
  5856. local Character = Player.Character
  5857.  
  5858. -- Create the welded model
  5859. Model = Instance.new("Model", Character)
  5860. Model.Name = Tool.Name.."Weld"
  5861.  
  5862. -- Weld all parts to the handle
  5863. local Handle = Tool.Handle:Clone()
  5864. Handle.Name = "Part"
  5865. Handle.CanCollide = false
  5866. Handle.Parent = Model
  5867. for _,Item in pairs(Tool:GetChildren()) do
  5868. if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
  5869. if Item.Name ~= "Handle" then
  5870. local Part = Item:Clone()
  5871. Part.Name = "Part"
  5872. local Weld = Instance.new("Weld")
  5873. Weld.Parent = Part
  5874. Weld.Part0 = Part
  5875. Weld.Part1 = Handle
  5876. Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
  5877. Part.Parent = Model
  5878. end
  5879. end
  5880. end
  5881.  
  5882. -- CFrame model to side
  5883. local Weld = Instance.new("Weld")
  5884. Weld.Parent = Handle
  5885. Weld.Part0 = Handle
  5886. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
  5887. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  5888. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  5889.  
  5890. end)
  5891.  
  5892. -- When the tool is equipped
  5893. Tool.Equipped:connect(function()
  5894.  
  5895. -- Remove the tool when they re-equip sword
  5896. if not Player.Character:FindFirstChild("Sheath") then
  5897. local SheathModel=script.Parent.Sheath
  5898. SheathModel.Parent=Player.Character
  5899. local Weld = Instance.new("Weld")
  5900. Weld.Parent = SheathModel.Handle
  5901. Weld.Part0 = SheathModel.Handle
  5902. Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
  5903. Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
  5904. Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
  5905. end
  5906. if Model ~= nil then
  5907. Model:Destroy()
  5908. end
  5909.  
  5910. end)
  5911. end))
  5912. Model255.Name = "Sheath"
  5913. Model255.Parent = Tool250
  5914. ManualWeld256.Name = "Weld"
  5915. ManualWeld256.Parent = mas
  5916. ManualWeld256.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  5917. ManualWeld256.C1 = CFrame.new(-0.110610962, -0.202708483, -0.0119743347, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  5918. ManualWeld256.Part0 = nil
  5919. ManualWeld256.Part1 = nil
  5920. ManualWeld257.Name = "Weld"
  5921. ManualWeld257.Parent = mas
  5922. ManualWeld257.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  5923. ManualWeld257.C1 = CFrame.new(-0.110610962, -0.202708483, 0.0120239258, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  5924. ManualWeld257.Part0 = nil
  5925. ManualWeld257.Part1 = nil
  5926. ManualWeld258.Name = "Weld"
  5927. ManualWeld258.Parent = mas
  5928. ManualWeld258.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
  5929. ManualWeld258.C1 = CFrame.new(0.056312561, -1.67926908, 0.00301742554, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  5930. ManualWeld258.Part0 = nil
  5931. ManualWeld258.Part1 = nil
  5932. ManualWeld259.Name = "Weld"
  5933. ManualWeld259.Parent = mas
  5934. ManualWeld259.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
  5935. ManualWeld259.C1 = CFrame.new(0.056312561, -1.67926073, -0.0119743347, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5936. ManualWeld259.Part0 = nil
  5937. ManualWeld259.Part1 = nil
  5938. ManualWeld260.Parent = mas
  5939. ManualWeld260.C0 = CFrame.new(0, 0, 0, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
  5940. ManualWeld260.C1 = CFrame.new(-0.121692657, 1.31362033, 0.0527153015, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
  5941. ManualWeld260.Part0 = nil
  5942. ManualWeld260.Part1 = Part261
  5943. Part261.Name = "Handle"
  5944. Part261.Parent = Model255
  5945. Part261.BrickColor = BrickColor.new("Dark stone grey")
  5946. Part261.Reflectance = 0.40000000596046
  5947. Part261.Transparency = 1
  5948. Part261.CanCollide = false
  5949. Part261.FormFactor = Enum.FormFactor.Custom
  5950. Part261.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
  5951. Part261.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
  5952. Part261.BottomSurface = Enum.SurfaceType.Smooth
  5953. Part261.TopSurface = Enum.SurfaceType.Smooth
  5954. Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5955. Part261.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
  5956. Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5957. ManualWeld262.Name = "Weld"
  5958. ManualWeld262.Parent = mas
  5959. ManualWeld262.C0 = CFrame.new(0, 0, 0, -0.998630464, -0.0523360185, 3.83633505e-07, 0.052336134, -0.998630941, -8.2590077e-08, -4.02331381e-07, 6.14677163e-08, 1)
  5960. ManualWeld262.C1 = CFrame.new(-0.202516079, 0.0964241028, 0, -1.14491833e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689604e-08, 4.02331352e-07, -4.02331381e-07, 6.23990388e-08, 1)
  5961. ManualWeld262.Part0 = nil
  5962. ManualWeld262.Part1 = nil
  5963. ManualWeld263.Name = "Weld"
  5964. ManualWeld263.Parent = mas
  5965. ManualWeld263.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
  5966. ManualWeld263.C1 = CFrame.new(1.00788641, 0.113018036, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5967. ManualWeld263.Part0 = nil
  5968. ManualWeld263.Part1 = nil
  5969. ManualWeld264.Name = "Weld"
  5970. ManualWeld264.Parent = mas
  5971. ManualWeld264.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  5972. ManualWeld264.C1 = CFrame.new(1.29100728, 0.162765503, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5973. ManualWeld264.Part0 = nil
  5974. ManualWeld264.Part1 = nil
  5975. ManualWeld265.Name = "Weld"
  5976. ManualWeld265.Parent = mas
  5977. ManualWeld265.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  5978. ManualWeld265.C1 = CFrame.new(1.29100728, 0.162765503, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5979. ManualWeld265.Part0 = nil
  5980. ManualWeld265.Part1 = nil
  5981. ManualWeld266.Name = "Weld"
  5982. ManualWeld266.Parent = mas
  5983. ManualWeld266.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
  5984. ManualWeld266.C1 = CFrame.new(1.00788641, 0.113018036, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5985. ManualWeld266.Part0 = nil
  5986. ManualWeld266.Part1 = nil
  5987. ManualWeld267.Name = "Weld"
  5988. ManualWeld267.Parent = mas
  5989. ManualWeld267.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  5990. ManualWeld267.C1 = CFrame.new(1.60137153, 0.00550460815, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5991. ManualWeld267.Part0 = nil
  5992. ManualWeld267.Part1 = nil
  5993. ManualWeld268.Name = "Weld"
  5994. ManualWeld268.Parent = mas
  5995. ManualWeld268.C0 = CFrame.new(0, 0, 0, -1.00000095, -1.01839994e-08, 3.000074e-07, 1.48019438e-07, -1.00000143, 2.50237093e-08, -4.89754257e-07, 1.48890621e-07, 1)
  5996. ManualWeld268.C1 = CFrame.new(2.57105184, -0.0545959473, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  5997. ManualWeld268.Part0 = nil
  5998. ManualWeld268.Part1 = nil
  5999. ManualWeld269.Name = "Weld"
  6000. ManualWeld269.Parent = mas
  6001. ManualWeld269.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  6002. ManualWeld269.C1 = CFrame.new(2.0521791, -0.0245552063, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  6003. ManualWeld269.Part0 = nil
  6004. ManualWeld269.Part1 = nil
  6005. ManualWeld270.Name = "Weld"
  6006. ManualWeld270.Parent = mas
  6007. ManualWeld270.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
  6008. ManualWeld270.C1 = CFrame.new(2.10121512, -0.0245475769, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  6009. ManualWeld270.Part0 = nil
  6010. ManualWeld270.Part1 = nil
  6011. ManualWeld271.Name = "Weld"
  6012. ManualWeld271.Parent = mas
  6013. ManualWeld271.C0 = CFrame.new(0, 0, 0, -0.342020482, 0.939693928, 1.91144835e-07, -0.939693451, -0.342020541, 3.42723524e-07, -4.02331381e-07, 6.14677163e-08, 1)
  6014. ManualWeld271.C1 = CFrame.new(1.5426724, 0.0306777954, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  6015. ManualWeld271.Part0 = nil
  6016. ManualWeld271.Part1 = nil
  6017. ManualWeld272.Name = "Weld"
  6018. ManualWeld272.Parent = mas
  6019. ManualWeld272.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
  6020. ManualWeld272.C1 = CFrame.new(1.30946541, 0.17086792, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
  6021. ManualWeld272.Part0 = nil
  6022. ManualWeld272.Part1 = nil
  6023. Model273.Name = "WhalerMask"
  6024. Model273.Parent = mas
  6025. ManualWeld274.Name = "Weld"
  6026. ManualWeld274.Parent = mas
  6027. ManualWeld274.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  6028. ManualWeld274.C1 = CFrame.new(-0.0407133102, 0.367028356, -0.848461628, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6029. ManualWeld274.Part0 = nil
  6030. ManualWeld274.Part1 = nil
  6031. Part275.Parent = Model273
  6032. Part275.Material = Enum.Material.Neon
  6033. Part275.BrickColor = BrickColor.new("Institutional white")
  6034. Part275.Rotation = Vector3.new(15.8499994, -65.4499969, 14.5)
  6035. Part275.CanCollide = false
  6036. Part275.FormFactor = Enum.FormFactor.Custom
  6037. Part275.Shape = Enum.PartType.Cylinder
  6038. Part275.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
  6039. Part275.CFrame = CFrame.new(99.2226715, 1.85994792, 162.592529, 0.40230763, -0.10407684, -0.909569442, 0.000398549368, 0.993546486, -0.113509551, 0.915513158, 0.0453032516, 0.399752736)
  6040. Part275.BottomSurface = Enum.SurfaceType.Smooth
  6041. Part275.TopSurface = Enum.SurfaceType.Smooth
  6042. Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6043. Part275.Position = Vector3.new(99.2226715, 1.85994792, 162.592529)
  6044. Part275.Orientation = Vector3.new(6.51999998, -66.2699966, 0.0199999996)
  6045. Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6046. ManualWeld276.Name = "Weld"
  6047. ManualWeld276.Parent = Part275
  6048. ManualWeld276.C0 = CFrame.new(0, 0, 0, 0.402312338, 0.000398546399, 0.915506423, -0.104077831, 0.993541598, 0.0453041308, -0.909567297, -0.1135104, 0.399755448)
  6049. ManualWeld276.C1 = CFrame.new(0.258612633, 0.839319825, -0.316388607, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  6050. ManualWeld276.Part0 = Part275
  6051. ManualWeld276.Part1 = nil
  6052. Part277.Parent = Model273
  6053. Part277.Material = Enum.Material.Neon
  6054. Part277.BrickColor = BrickColor.new("Institutional white")
  6055. Part277.Rotation = Vector3.new(170.550003, -63.3899994, 166.559998)
  6056. Part277.CanCollide = false
  6057. Part277.FormFactor = Enum.FormFactor.Custom
  6058. Part277.Shape = Enum.PartType.Cylinder
  6059. Part277.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
  6060. Part277.CFrame = CFrame.new(99.7523193, 1.86405206, 162.593445, -0.435608894, -0.10408102, -0.894098461, -0.0864934325, 0.993545771, -0.073517561, 0.895979524, 0.0453087352, -0.44179967)
  6061. Part277.BottomSurface = Enum.SurfaceType.Smooth
  6062. Part277.TopSurface = Enum.SurfaceType.Smooth
  6063. Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6064. Part277.Position = Vector3.new(99.7523193, 1.86405206, 162.593445)
  6065. Part277.Orientation = Vector3.new(4.21999979, -116.299995, -4.98000002)
  6066. Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6067. ManualWeld278.Name = "Weld"
  6068. ManualWeld278.Parent = Part277
  6069. ManualWeld278.C0 = CFrame.new(0, 0, 0, -0.435613871, -0.0864927694, 0.895972729, -0.104081959, 0.993541121, 0.0453073792, -0.894095659, -0.0735180601, -0.441802502)
  6070. ManualWeld278.C1 = CFrame.new(-0.271036148, 0.843423843, -0.317310572, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  6071. ManualWeld278.Part0 = Part277
  6072. ManualWeld278.Part1 = nil
  6073. Part279.Name = "Head"
  6074. Part279.Parent = Model273
  6075. Part279.BrickColor = BrickColor.new("Really black")
  6076. Part279.CanCollide = false
  6077. Part279.FormFactor = Enum.FormFactor.Symmetric
  6078. Part279.Size = Vector3.new(2, 1, 1)
  6079. Part279.CFrame = CFrame.new(99.5109711, 1.70638311, 163.30957, 1, 0, 0, 0, 1.00000954, 0, 0, 0, 1.00000954)
  6080. Part279.BottomSurface = Enum.SurfaceType.Smooth
  6081. Part279.TopSurface = Enum.SurfaceType.Smooth
  6082. Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6083. Part279.Position = Vector3.new(99.5109711, 1.70638311, 163.30957)
  6084. Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6085. SpecialMesh280.Parent = Part279
  6086. SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
  6087. SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
  6088. ManualWeld281.Name = "Weld"
  6089. ManualWeld281.Parent = Part279
  6090. ManualWeld281.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000477, 0, 0, 0, 1.00000477)
  6091. ManualWeld281.C1 = CFrame.new(-0.029689312, 0.685756445, -1.03342056, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
  6092. ManualWeld281.Part0 = Part279
  6093. ManualWeld281.Part1 = nil
  6094. ManualWeld282.Name = "Weld"
  6095. ManualWeld282.Parent = mas
  6096. ManualWeld282.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  6097. ManualWeld282.C1 = CFrame.new(-0.00351524353, 0.571756721, -0.177554846, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  6098. ManualWeld282.Part0 = nil
  6099. ManualWeld282.Part1 = nil
  6100. ManualWeld283.Name = "Weld"
  6101. ManualWeld283.Parent = mas
  6102. ManualWeld283.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  6103. ManualWeld283.C1 = CFrame.new(-0.00530433655, 0.104896426, 0.294783592, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
  6104. ManualWeld283.Part0 = nil
  6105. ManualWeld283.Part1 = nil
  6106. ScreenGui284.Name = "Management Gui"
  6107. ScreenGui284.Parent = mas
  6108. Frame439.Name = "bottomFrame"
  6109. Frame439.Parent = ScreenGui284
  6110. Frame439.Size = UDim2.new(1, 0, 0, 30)
  6111. Frame439.Position = UDim2.new(0, 0, 1, -30)
  6112. Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6113. Frame439.BorderSizePixel = 0
  6114. Frame439.ZIndex = 9
  6115. ImageLabel440.Name = "TopShadow"
  6116. ImageLabel440.Parent = Frame439
  6117. ImageLabel440.Transparency = 1
  6118. ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
  6119. ImageLabel440.BackgroundTransparency = 1
  6120. ImageLabel440.ZIndex = 9
  6121. ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
  6122. ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
  6123. ImageLabel440.ImageRectSize = Vector2.new(11, 11)
  6124. ImageLabel440.ImageTransparency = 0.5
  6125. Frame441.Name = "buttonsFrame"
  6126. Frame441.Parent = Frame439
  6127. Frame441.Transparency = 1
  6128. Frame441.Size = UDim2.new(1, 0, 1, 0)
  6129. Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
  6130. Frame441.BackgroundTransparency = 1
  6131. Frame441.BorderSizePixel = 0
  6132. Frame441.ZIndex = 10
  6133. TextButton442.Name = "Close"
  6134. TextButton442.Parent = Frame441
  6135. TextButton442.Size = UDim2.new(0, 40, 0, 30)
  6136. TextButton442.Text = ""
  6137. TextButton442.Position = UDim2.new(1, -40, 0, 0)
  6138. TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6139. TextButton442.BorderSizePixel = 0
  6140. TextButton442.ZIndex = 9
  6141. TextButton442.Font = Enum.Font.SourceSansBold
  6142. TextButton442.FontSize = Enum.FontSize.Size24
  6143. TextButton442.TextColor3 = Color3.new(1, 1, 1)
  6144. TextButton442.TextStrokeTransparency = 0.69999998807907
  6145. TextLabel443.Name = "text"
  6146. TextLabel443.Parent = TextButton442
  6147. TextLabel443.Transparency = 1
  6148. TextLabel443.Text = "V"
  6149. TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
  6150. TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
  6151. TextLabel443.BackgroundTransparency = 1
  6152. TextLabel443.BorderSizePixel = 0
  6153. TextLabel443.ZIndex = 9
  6154. TextLabel443.Font = Enum.Font.SourceSansBold
  6155. TextLabel443.FontSize = Enum.FontSize.Size24
  6156. TextLabel443.TextColor3 = Color3.new(1, 1, 1)
  6157. TextLabel443.TextStrokeTransparency = 0.69999998807907
  6158. Frame444.Name = "selectionFrame"
  6159. Frame444.Parent = Frame441
  6160. Frame444.Size = UDim2.new(0, 40, 0, 3)
  6161. Frame444.Position = UDim2.new(1, -40, 0, 0)
  6162. Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
  6163. Frame444.BorderSizePixel = 0
  6164. Frame444.ZIndex = 10
  6165. TextButton445.Name = "Players"
  6166. TextButton445.Parent = Frame441
  6167. TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
  6168. TextButton445.Text = "Players"
  6169. TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6170. TextButton445.BorderSizePixel = 0
  6171. TextButton445.ZIndex = 9
  6172. TextButton445.Font = Enum.Font.SourceSansBold
  6173. TextButton445.FontSize = Enum.FontSize.Size24
  6174. TextButton445.TextColor3 = Color3.new(1, 1, 1)
  6175. TextButton445.TextStrokeTransparency = 0.69999998807907
  6176. TextButton446.Name = "Info"
  6177. TextButton446.Parent = Frame441
  6178. TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
  6179. TextButton446.Text = "Information"
  6180. TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
  6181. TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6182. TextButton446.BorderSizePixel = 0
  6183. TextButton446.ZIndex = 9
  6184. TextButton446.Font = Enum.Font.SourceSansBold
  6185. TextButton446.FontSize = Enum.FontSize.Size24
  6186. TextButton446.TextColor3 = Color3.new(1, 1, 1)
  6187. TextButton446.TextStrokeTransparency = 0.69999998807907
  6188. TextButton447.Name = "Console"
  6189. TextButton447.Parent = Frame441
  6190. TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
  6191. TextButton447.Text = "Console"
  6192. TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
  6193. TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6194. TextButton447.BorderSizePixel = 0
  6195. TextButton447.ZIndex = 9
  6196. TextButton447.Font = Enum.Font.SourceSansBold
  6197. TextButton447.FontSize = Enum.FontSize.Size24
  6198. TextButton447.TextColor3 = Color3.new(1, 1, 1)
  6199. TextButton447.TextStrokeTransparency = 0.69999998807907
  6200. TextButton448.Name = "Commands"
  6201. TextButton448.Parent = Frame441
  6202. TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
  6203. TextButton448.Text = "Commands"
  6204. TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
  6205. TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6206. TextButton448.BorderSizePixel = 0
  6207. TextButton448.ZIndex = 9
  6208. TextButton448.Font = Enum.Font.SourceSansBold
  6209. TextButton448.FontSize = Enum.FontSize.Size24
  6210. TextButton448.TextColor3 = Color3.new(1, 1, 1)
  6211. TextButton448.TextStrokeTransparency = 0.69999998807907
  6212. Frame449.Name = "bottomSpace"
  6213. Frame449.Parent = Frame439
  6214. Frame449.Size = UDim2.new(1, 0, 0, 80)
  6215. Frame449.Position = UDim2.new(0, 0, 1, 0)
  6216. Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6217. Frame449.BorderSizePixel = 0
  6218. Frame449.ZIndex = 9
  6219. LocalScript450.Name = "manageHotbar"
  6220. LocalScript450.Parent = Frame439
  6221. table.insert(cors,sandbox(LocalScript450,function()
  6222. local plr = game:service'Players'.LocalPlayer
  6223. local backpack = plr:WaitForChild'Backpack'
  6224.  
  6225. local isOpen = false
  6226.  
  6227. function isClassInInstance(class, inst)
  6228. for _,v in pairs(inst:GetChildren()) do
  6229. if v.ClassName == class then
  6230. return true
  6231. end
  6232. end
  6233. return false
  6234. end
  6235.  
  6236. function isItems()
  6237. if #backpack:GetChildren() == 0 then
  6238. if plr.Character and isClassInInstance('Tool', plr.Character) then
  6239. return true
  6240. else
  6241. return false
  6242. end
  6243. else
  6244. return true
  6245. end
  6246. end
  6247.  
  6248. function check()
  6249. if isItems() == true and isOpen == false then
  6250. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
  6251. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
  6252. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
  6253. isOpen = true
  6254. elseif isItems() == false and isOpen == true then
  6255. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
  6256. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
  6257. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
  6258. isOpen = false
  6259. end
  6260. end
  6261.  
  6262. check()
  6263.  
  6264. backpack.ChildAdded:connect(check)
  6265. backpack.ChildRemoved:connect(check)
  6266.  
  6267. repeat wait() until plr.Character
  6268.  
  6269. if plr.Character then
  6270. plr.Character.ChildAdded:connect(check)
  6271. plr.Character.ChildRemoved:connect(check)
  6272. end
  6273. end))
  6274. LocalScript381.Name = "manageButtons"
  6275. LocalScript381.Parent = ScreenGui284
  6276. table.insert(cors,sandbox(LocalScript381,function()
  6277. local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
  6278. local frames = script.Parent:WaitForChild'Frames'
  6279. local selector = buttonsFrame:WaitForChild'selectionFrame'
  6280. local currentOpen
  6281. repeat wait() until #buttonsFrame:GetChildren() == 6
  6282. for _,v in pairs(buttonsFrame:GetChildren()) do
  6283. if v.ClassName == "TextButton" then
  6284. v.MouseButton1Up:connect(function()
  6285. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  6286. for _,c in pairs(frames:GetChildren()) do
  6287. if c.Position.Y.Offset < 0 then
  6288. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  6289. end
  6290. end
  6291. local cf = frames:FindFirstChild(v.Name)
  6292. currentOpen = cf
  6293. cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
  6294. end)
  6295. end
  6296. end
  6297.  
  6298. local isOpen = true
  6299. local deb = false
  6300.  
  6301. local oldOpened = currentOpen
  6302.  
  6303. script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
  6304. if deb == false then
  6305. if isOpen == true then
  6306. deb = true
  6307. isOpen = false
  6308. for _,c in pairs(frames:GetChildren()) do
  6309. if c.Position.Y.Offset < 0 then
  6310. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  6311. wait(.3)
  6312. end
  6313. end
  6314. oldOpened = currentOpen
  6315. frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  6316. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  6317. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
  6318. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
  6319. wait(.3)
  6320. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
  6321. deb = false
  6322. else
  6323. deb = true
  6324. isOpen = true
  6325. frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
  6326. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
  6327. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
  6328. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
  6329. wait(.3)
  6330. if oldOpened then
  6331. oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
  6332. selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
  6333. end
  6334. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
  6335. deb = false
  6336. end
  6337. end
  6338. end)
  6339. end))
  6340. RemoteEvent382.Name = "Serverside"
  6341. RemoteEvent382.Parent = ScreenGui284
  6342. Script370.Name = "manageServer"
  6343. Script370.Parent = ScreenGui284
  6344. table.insert(cors,sandbox(Script370,function()
  6345. local player = script.Parent.Parent.Parent
  6346.  
  6347. wait(.5)
  6348.  
  6349. local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
  6350.  
  6351. local settings = _G.ManagementBarSettings
  6352.  
  6353. local playersService = game:service'Players'
  6354.  
  6355. function isValInTab(val, tab)
  6356. for _,v in pairs(tab) do
  6357. if val == v then
  6358. return true
  6359. end
  6360. end
  6361. return false
  6362. end
  6363.  
  6364. function getAllGuiElements()
  6365. local tabMain = {}
  6366. function subfunc(ch)
  6367. for _,v in pairs(ch:GetChildren()) do
  6368. tabMain[#tabMain+1] = v
  6369. subfunc(v)
  6370. end
  6371. end
  6372. for _,v in pairs(script.Parent:GetChildren()) do
  6373. tabMain[#tabMain+1] = v
  6374. subfunc(v)
  6375. end
  6376. return tabMain
  6377. end
  6378.  
  6379. if settings then
  6380. local guielements = getAllGuiElements()
  6381. if settings.MainColor then
  6382. for _,v in pairs(guielements) do
  6383. if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
  6384. v.BackgroundColor3 = settings.MainColor
  6385. end
  6386. end
  6387. end
  6388. if settings.OutlineColor then
  6389. for _,v in pairs(guielements) do
  6390. if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
  6391. v.BorderColor3 = settings.OutlineColor
  6392. end
  6393. end
  6394. end
  6395. else
  6396. script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
  6397. script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
  6398. script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
  6399. script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
  6400. end
  6401.  
  6402. function getrankbycmd(data, cmd)
  6403. for i,v in pairs(data) do
  6404. if string.lower(v[1])==string.lower(cmd)then
  6405. return v,i
  6406. end
  6407. end
  6408. return nil,0
  6409. end
  6410.  
  6411. function messageAllPlayers(msg, ishint)
  6412. for _,v in pairs(playersService:GetChildren()) do
  6413. local c = script:WaitForChild'Message':Clone()
  6414. local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
  6415. ih.Value = ishint
  6416. ms.Value = msg
  6417. c.Parent = v:FindFirstChild'PlayerGui'
  6418. c.Disabled = false
  6419. end
  6420. end
  6421.  
  6422. function getAllPlayers(isOthers)
  6423. local tb = {}
  6424. if isOthers then
  6425. for _,v in pairs(playersService:GetChildren()) do
  6426. if v.userId ~= player.userId then
  6427. tb[#tb+1] = v
  6428. end
  6429. end
  6430. else
  6431. for _,v in pairs(playersService:GetChildren()) do
  6432. tb[#tb+1] = v
  6433. end
  6434. end
  6435. return tb
  6436. end
  6437.  
  6438. function getPlayer(arg)
  6439. if string.lower(arg) == "me" then
  6440. return player
  6441. elseif string.lower(arg) == "all" then
  6442. return unpack(getAllPlayers(false))
  6443. elseif string.lower(arg) == "others" then
  6444. return unpack(getAllPlayers(true))
  6445. elseif string.lower(arg) == "random" then
  6446. return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
  6447. end
  6448. for _,v in pairs(playersService:GetChildren()) do
  6449. if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
  6450. return v
  6451. end
  6452. end
  6453. return nil
  6454. end
  6455. spawn(function()
  6456. wait(1)
  6457. if not ds:GetAsync('sentmodel-' .. player.userId) then
  6458. if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
  6459. game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
  6460. end
  6461. ds:SetAsync('sentmodel-' .. player.userId, true)
  6462. end
  6463. end)
  6464.  
  6465. local commands = require(script:WaitForChild'Commands')
  6466.  
  6467. function splitWords(msg,num)
  6468. if num<=0 or msg==nil then return {} end
  6469. local tab={}
  6470. local str=msg
  6471. local full=''
  6472. for a in str:gmatch('([^ ]+)') do
  6473. if #tab>=num then break end
  6474. if #tab==num-1 then
  6475. tab[#tab+1]=msg:sub(#full+1,#msg)
  6476. end
  6477. if #tab>=num then break end
  6478. str=a..' '
  6479. full=full..a..' '
  6480. tab[#tab+1]=a
  6481. if #tab>=num then break end
  6482. end
  6483. return tab
  6484. end
  6485.  
  6486. function getNumberOfCharacters(str, chr)
  6487. local t={}
  6488. for matchedValue in string.gmatch(str, chr) do
  6489. table.insert(t, matchedValue)
  6490. end
  6491. return #t
  6492. end
  6493.  
  6494. function splitArguments(msg)
  6495. local num = getNumberOfCharacters(msg,',')+1
  6496. if num<=0 or msg==nil then return {} end
  6497. local tab={}
  6498. local str=msg
  6499. local full=''
  6500. for a in str:gmatch('([^,]+)') do
  6501. if #tab>=num then break end
  6502. if #tab==num-1 then
  6503. tab[#tab+1]=msg:sub(#full+1,#msg)
  6504. end
  6505. if #tab>=num then break end
  6506. str=a..','
  6507. full=full..a..','
  6508. tab[#tab+1]=a
  6509. if #tab>=num then break end
  6510. end
  6511. return tab
  6512. end
  6513.  
  6514. function sortArguments(orig, cust)
  6515. local newTab = {}
  6516. if #orig == #cust then
  6517. for i,v in pairs(orig) do
  6518. if v == 'player' then
  6519. if string.find(cust[i], ',') then
  6520. local mt = {}
  6521. for _,v in pairs(splitArguments(cust[i])) do
  6522. if getPlayer(v) then
  6523. mt[#mt+1] = getPlayer(v)
  6524. end
  6525. end
  6526. newTab[#newTab+1] = mt
  6527. else
  6528. if getPlayer(cust[i]) then
  6529. newTab[#newTab+1] = {getPlayer(cust[i])}
  6530. end
  6531. end
  6532. elseif v == 'number' then
  6533. if string.find(cust[i], ',') then
  6534. local mt = {}
  6535. for _,v in pairs(splitArguments(cust[i])) do
  6536. if tonumber(v) then
  6537. mt[#mt+1] = tonumber(v)
  6538. end
  6539. end
  6540. newTab[#newTab+1] = mt
  6541. else
  6542. if tonumber(cust[i]) then
  6543. newTab[#newTab+1] = {tonumber(cust[i])}
  6544. end
  6545. end
  6546. elseif v == 'precentage' then
  6547. if tonumber(cust[i]) then
  6548. newTab[#newTab+1] = {tonumber(cust[i])/100}
  6549. end
  6550. elseif v == 'message' then
  6551. newTab[#newTab+1] = {cust[i]}
  6552. end
  6553. end
  6554. end
  6555. return newTab
  6556. end
  6557.  
  6558.  
  6559.  
  6560.  
  6561.  
  6562. function runCommand(executer, str)
  6563. local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
  6564. if commands[string.lower(cmd)] then
  6565. local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
  6566. if #args == #commands[string.lower(cmd)].argumentsNeeded then
  6567. spawn(function()
  6568. commands[string.lower(cmd)].func(executer, args)
  6569. end)
  6570. end
  6571. end
  6572. end
  6573.  
  6574. script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
  6575. if reason == "kick" then
  6576. local p = args[1]
  6577. if playersService:FindFirstChild(p) then
  6578. playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
  6579. end
  6580. elseif reason == "runcommand" then
  6581. local str = args[1]
  6582.  
  6583. runCommand(lp, str)
  6584. elseif reason == "runcode" then
  6585. if not workspace:FindFirstChild'codeBin' then
  6586. Instance.new('Model', workspace).Name = "codeBin"
  6587. end
  6588.  
  6589. local clonedTemplate = script:WaitForChild'templateCode':Clone()
  6590. clonedTemplate:WaitForChild'source'.Value = args[1]
  6591. clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
  6592. clonedTemplate.Name = "console"
  6593. clonedTemplate.Disabled = false
  6594. elseif reason == "buy" then
  6595. game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
  6596. elseif reason == "select" then
  6597. local t = args[1]
  6598. if t.ClassName == 'Tool' then
  6599. t.Parent = player.Character
  6600. end
  6601. elseif reason == "deselect" then
  6602. local t = args[1]
  6603. if t.ClassName == 'Tool' then
  6604. t.Parent = player:WaitForChild'Backpack'
  6605. end
  6606. end
  6607. end)
  6608.  
  6609. game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
  6610. script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
  6611. end)
  6612.  
  6613. script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
  6614. if infotype == "cmds" then
  6615. return commands
  6616. elseif infotype == "isloadstringenabled" then
  6617. local success = true
  6618. return success
  6619. end
  6620. end
  6621. end))
  6622. Script371.Name = "templateCode"
  6623. Script371.Parent = Script370
  6624. Script371.Disabled = true
  6625. table.insert(cors,sandbox(Script371,function()
  6626. local loadstring = require(script:WaitForChild'Loadstring')
  6627.  
  6628. loadstring(script:WaitForChild'source'.Value)()
  6629. script:remove()
  6630. end))
  6631. StringValue372.Name = "source"
  6632. StringValue372.Parent = Script371
  6633. LocalScript373.Name = "Message"
  6634. LocalScript373.Parent = Script370
  6635. LocalScript373.Disabled = true
  6636. table.insert(cors,sandbox(LocalScript373,function()
  6637. local ishint = script:WaitForChild'ishint'.Value
  6638. local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
  6639.  
  6640. local stg = Instance.new('ScreenGui', script.Parent)
  6641. stg.Name = "RMG:MessageGui"
  6642. script.Name = "RMG:MessageScript"
  6643. local text = Instance.new('TextLabel', stg)
  6644. text.BackgroundTransparency = 1
  6645. text.Text = ''
  6646. text.BorderSizePixel = 0
  6647. text.BackgroundColor3 = Color3.new(0, 0, 0)
  6648. text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
  6649. text.TextWrapped = true
  6650. text.ZIndex = 10
  6651. text.TextColor3 = Color3.new(1, 1, 1)
  6652. text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
  6653. text.Font = Enum.Font.ArialBold
  6654. text.TextStrokeTransparency = .7
  6655. local text2
  6656. if ishint == false then
  6657. text2 = Instance.new('TextLabel', stg)
  6658. text2.BackgroundTransparency = 1
  6659. text2.Text = string.upper(msg2)
  6660. text2.BorderSizePixel = 0
  6661. text2.BackgroundTransparency = 1
  6662. text2.Size = UDim2.new(1, 0, 1, 0)
  6663. text2.Position = UDim2.new(0, 0, 0, 7)
  6664. text2.TextWrapped = true
  6665. text2.ZIndex = 10
  6666. text2.TextColor3 = Color3.new(1, 1, 1)
  6667. text2.FontSize = Enum.FontSize.Size18
  6668. text2.Font = Enum.Font.ArialBold
  6669. text2.TextYAlignment = Enum.TextYAlignment.Top
  6670. text2.TextStrokeTransparency = .7
  6671. end
  6672. for i=1, 0.5, -0.05 do
  6673. text.BackgroundTransparency = i
  6674. wait()
  6675. end
  6676. for i=1, string.len(msg) do
  6677. text.Text = msg:sub(1, i)
  6678. wait()
  6679. end
  6680. wait(3)
  6681. for i=string.len(msg), 1, -1 do
  6682. text.Text = msg:sub(1, i)
  6683. wait()
  6684. end
  6685. text.Text = ''
  6686. for i=0.5, 1, 0.05 do
  6687. text.BackgroundTransparency = i
  6688. if text2 then
  6689. text2.TextTransparency = i
  6690. end
  6691. wait()
  6692. end
  6693. stg:remove()
  6694. wait()
  6695. script:remove()
  6696. end))
  6697. StringValue374.Name = "msg"
  6698. StringValue374.Parent = LocalScript373
  6699. BoolValue375.Name = "ishint"
  6700. BoolValue375.Parent = LocalScript373
  6701. StringValue376.Name = "msg2"
  6702. StringValue376.Parent = LocalScript373
  6703. Script377.Name = "Spin"
  6704. Script377.Parent = Script370
  6705. Script377.Disabled = true
  6706. table.insert(cors,sandbox(Script377,function()
  6707. if script.Parent:FindFirstChild'Torso' then
  6708. while wait() do
  6709. for i=1, 360, 2 do
  6710. script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
  6711. wait()
  6712. end
  6713. end
  6714. end
  6715. end))
  6716. LocalScript378.Name = "Fly"
  6717. LocalScript378.Parent = Script370
  6718. LocalScript378.Disabled = true
  6719. table.insert(cors,sandbox(LocalScript378,function()
  6720. local Me = game:GetService("Players").LocalPlayer
  6721. local Char = Me.Character
  6722. local Mouse = Me:GetMouse()
  6723. local Cam = workspace.CurrentCamera
  6724. local Stop = false
  6725. local Version = 0
  6726. local MaxSpeed = 5
  6727. local Speed = 1
  6728. local Keys = {}
  6729.  
  6730. local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
  6731. if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
  6732. Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
  6733. Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
  6734.  
  6735. local Thread,Old = Version, nil
  6736. Char.Humanoid.PlatformStand = true
  6737.  
  6738. function StopFly()
  6739. Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
  6740. end
  6741.  
  6742. Char.ChildAdded:connect(function(Obj) wait()
  6743. if Obj.Name == "FlyStop" then
  6744. Obj:Destroy()
  6745. StopFly()
  6746. end
  6747. end)
  6748.  
  6749. coroutine.wrap(function() while Thread == Version and Stop == false do
  6750. local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
  6751.  
  6752. if Keys[string.char(48)] then Speed = 1 end
  6753. if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
  6754. if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
  6755. if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
  6756. if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
  6757. if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
  6758. if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
  6759. if Keys.x then StopFly() end
  6760.  
  6761. if Old ~= Vectoring then
  6762. Fly.position = Vectoring.p
  6763. Old = Vectoring
  6764. Speed = math.min(Speed + Speed*0.025,MaxSpeed)
  6765. else
  6766. Speed = 1;
  6767. end
  6768. Rot.cframe = Cam.CoordinateFrame
  6769. wait(0.01)
  6770. end end)()
  6771.  
  6772. Mouse.KeyDown:connect(function(Key)
  6773. Keys[Key] = true
  6774. end)
  6775. Mouse.KeyUp:connect(function(Key)
  6776. Keys[Key] = false
  6777. end)
  6778. end))
  6779. LocalScript379.Name = "Crash"
  6780. LocalScript379.Parent = Script370
  6781. LocalScript379.Disabled = true
  6782. table.insert(cors,sandbox(LocalScript379,function()
  6783. while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
  6784. end))
  6785. Frame383.Name = "Frames"
  6786. Frame383.Parent = ScreenGui284
  6787. Frame383.Transparency = 1
  6788. Frame383.Size = UDim2.new(1, 0, 1, -30)
  6789. Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
  6790. Frame383.BackgroundTransparency = 1
  6791. Frame383.BorderSizePixel = 0
  6792. Frame383.ZIndex = 8
  6793. Frame384.Name = "Close"
  6794. Frame384.Parent = Frame383
  6795. Frame384.Transparency = 1
  6796. Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6797. Frame384.BackgroundTransparency = 1
  6798. Frame384.BorderSizePixel = 0
  6799. Frame384.ZIndex = 8
  6800. Frame385.Name = "Commands"
  6801. Frame385.Parent = Frame383
  6802. Frame385.Size = UDim2.new(0.5, -20, 0, 350)
  6803. Frame385.Position = UDim2.new(0.5, -20, 1, 0)
  6804. Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  6805. Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  6806. Frame385.BorderSizePixel = 0
  6807. Frame385.ZIndex = 8
  6808. TextButton386.Name = "CommandBar"
  6809. TextButton386.Parent = Frame385
  6810. TextButton386.Size = UDim2.new(1, -70, 0, 30)
  6811. TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
  6812. TextButton386.Text = ""
  6813. TextButton386.Position = UDim2.new(0, 25, 0, 10)
  6814. TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
  6815. TextButton386.ZIndex = 8
  6816. TextButton386.Selected = true
  6817. TextButton386.Font = Enum.Font.SourceSans
  6818. TextButton386.FontSize = Enum.FontSize.Size14
  6819. ScrollingFrame387.Name = "textBin"
  6820. ScrollingFrame387.Parent = TextButton386
  6821. ScrollingFrame387.Transparency = 1
  6822. ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
  6823. ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
  6824. ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
  6825. ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
  6826. ScrollingFrame387.BackgroundTransparency = 1
  6827. ScrollingFrame387.BorderSizePixel = 0
  6828. ScrollingFrame387.ZIndex = 8
  6829. ScrollingFrame387.ScrollBarThickness = 0
  6830. TextBox388.Name = "Text"
  6831. TextBox388.Parent = ScrollingFrame387
  6832. TextBox388.Transparency = 1
  6833. TextBox388.Size = UDim2.new(1, 0, 1, 0)
  6834. TextBox388.Text = "Type your command here!"
  6835. TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
  6836. TextBox388.BackgroundTransparency = 1
  6837. TextBox388.BorderSizePixel = 0
  6838. TextBox388.ZIndex = 8
  6839. TextBox388.ClearTextOnFocus = false
  6840. TextBox388.Font = Enum.Font.SourceSansBold
  6841. TextBox388.FontSize = Enum.FontSize.Size18
  6842. TextBox388.TextColor3 = Color3.new(1, 1, 1)
  6843. TextBox388.TextXAlignment = Enum.TextXAlignment.Left
  6844. ScrollingFrame389.Name = "commandList"
  6845. ScrollingFrame389.Parent = Frame385
  6846. ScrollingFrame389.Transparency = 1
  6847. ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
  6848. ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
  6849. ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
  6850. ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
  6851. ScrollingFrame389.BackgroundTransparency = 1
  6852. ScrollingFrame389.BorderSizePixel = 0
  6853. ScrollingFrame389.ZIndex = 8
  6854. ScrollingFrame389.ScrollBarThickness = 0
  6855. LocalScript390.Name = "manageCommands"
  6856. LocalScript390.Parent = Frame385
  6857. table.insert(cors,sandbox(LocalScript390,function()
  6858. function WaitForChild(...)
  6859. local args = {...}
  6860. local parent = args[1]
  6861. table.remove(args, 1)
  6862. local newArgs = {}
  6863. for i,v in pairs(args) do
  6864. table.insert(newArgs, i, parent:WaitForChild(v))
  6865. end
  6866. return unpack(newArgs)
  6867. end
  6868.  
  6869. local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
  6870.  
  6871. local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
  6872. local usageFrame = usageframe:WaitForChild'mainBar'
  6873. local barText = bar:WaitForChild'textBin':WaitForChild'Text'
  6874.  
  6875. local currentHover
  6876.  
  6877. local plr = game:service'Players'.LocalPlayer
  6878. local mouse = plr:GetMouse()
  6879. repeat mouse = plr:GetMouse() wait() until mouse
  6880.  
  6881. local cmdBarOpen = false
  6882.  
  6883. local co
  6884.  
  6885. function showList(txt)
  6886. currentHover = nil
  6887. list:ClearAllChildren()
  6888. local validCommands = {}
  6889. local usageCommands = {}
  6890. if string.len(txt) > 0 then
  6891. for _,v in pairs(cmdlist) do
  6892. if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
  6893. if #v.argumentsNeeded > 0 then
  6894. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  6895. usageCommands[v.commandMain] = v.Usage
  6896. else
  6897. validCommands[#validCommands+1] = v.commandMain
  6898. usageCommands[v.commandMain] = v.Usage
  6899. end
  6900. end
  6901. end
  6902. else
  6903. for _,v in pairs(cmdlist) do
  6904. if #v.argumentsNeeded > 0 then
  6905. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  6906. usageCommands[v.commandMain] = v.Usage
  6907. else
  6908. validCommands[#validCommands+1] = v.commandMain
  6909. usageCommands[v.commandMain] = v.Usage
  6910. end
  6911. end
  6912. end
  6913. table.sort(validCommands)
  6914. for i,v in pairs(validCommands) do
  6915. local fr = Instance.new('Frame')
  6916. fr.Name = "Suggestion"
  6917. fr.Style = Enum.FrameStyle.DropShadow
  6918. fr.Size = UDim2.new(1, 0, 0, 30)
  6919. fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
  6920. fr.ZIndex = 8
  6921. local sf = Instance.new('ScrollingFrame', fr)
  6922. sf.Name = 'infoFrame'
  6923. sf.Size = UDim2.new(1, 8, 1, 8)
  6924. sf.BackgroundTransparency = 1
  6925. sf.Position = UDim2.new(0, -4, 0, -4)
  6926. sf.CanvasSize = UDim2.new(0, 0, 0, 0)
  6927. local txt = Instance.new('TextLabel', sf)
  6928. txt.Text = v
  6929. txt.Size = UDim2.new(1, 0, 1, 5)
  6930. txt.BackgroundTransparency = 1
  6931. txt.TextColor3 = Color3.new(1, 1, 1)
  6932. txt.Position = UDim2.new(0, 4, 0, -4)
  6933. txt.Font = Enum.Font.SourceSansBold
  6934. txt.ZIndex = 8
  6935. txt.TextXAlignment = Enum.TextXAlignment.Left
  6936. txt.FontSize = Enum.FontSize.Size24
  6937. local txt2 = Instance.new('TextLabel', sf)
  6938. txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
  6939. txt2.Size = UDim2.new(1, 0, 1, 0)
  6940. txt2.Position = UDim2.new(1, 0, 0, -2)
  6941. txt2.BackgroundTransparency = 1
  6942. txt2.TextColor3 = Color3.new(1, 1, 1)
  6943. txt2.Font = Enum.Font.SourceSansBold
  6944. txt2.ZIndex = 8
  6945. txt2.TextXAlignment = Enum.TextXAlignment.Right
  6946. txt2.FontSize = Enum.FontSize.Size24
  6947. sf.MouseEnter:connect(function()
  6948. if currentHover then
  6949. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  6950. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
  6951. end
  6952. currentHover = {Text1 = txt, Text2 = txt2}
  6953. currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
  6954. currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
  6955. end)
  6956. fr.Parent = list
  6957. end
  6958. list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
  6959. end
  6960.  
  6961. barText.Changed:connect(function(changed)
  6962. if changed == "Text" and barText.Text ~= "Type your command here!" then
  6963. showList(barText.Text)
  6964. elseif changed == "Text" then
  6965. showList("")
  6966. end
  6967. end)
  6968.  
  6969. barText.Focused:connect(function()
  6970. if barText.Text == "Type your command here!" then
  6971. barText.Text = ""
  6972. end
  6973. end)
  6974.  
  6975. barText.FocusLost:connect(function(enterPressed)
  6976. if enterPressed == true then
  6977. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
  6978. showList("")
  6979. barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
  6980. if cmdBarOpen then
  6981. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  6982. if co then
  6983. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
  6984. end
  6985. end
  6986. cmdBarOpen = false
  6987. wait(.3)
  6988. barText.Text = "Type your command here!"
  6989. barText.Position = UDim2.new(0, 0, 0, 0)
  6990. end
  6991. end)
  6992.  
  6993. list.MouseLeave:connect(function()
  6994. if currentHover then
  6995. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  6996. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
  6997. currentHover = nil
  6998. end
  6999. end)
  7000.  
  7001. function getCurrentOpen()
  7002. for _,v in pairs(script.Parent.Parent:GetChildren()) do
  7003. if v.Position.Y.Offset < 0 then
  7004. return v
  7005. end
  7006. end
  7007. return nil
  7008. end
  7009.  
  7010. mouse.KeyDown:connect(function(k)
  7011. if k == '\'' then
  7012. if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
  7013. co = getCurrentOpen()
  7014. if co then
  7015. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  7016. end
  7017. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
  7018. barText:CaptureFocus()
  7019. cmdBarOpen = true
  7020. else
  7021. barText:CaptureFocus()
  7022. end
  7023. end
  7024. end)
  7025.  
  7026. local isOpen = false
  7027.  
  7028. usagebutton.MouseButton1Up:connect(function()
  7029. isOpen = not(isOpen)
  7030. usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
  7031. end)
  7032.  
  7033. showList("")
  7034. end))
  7035. ScrollingFrame391.Name = "commandUsage"
  7036. ScrollingFrame391.Parent = Frame385
  7037. ScrollingFrame391.Transparency = 1
  7038. ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
  7039. ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
  7040. ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
  7041. ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
  7042. ScrollingFrame391.BackgroundTransparency = 1
  7043. ScrollingFrame391.BorderSizePixel = 0
  7044. ScrollingFrame391.ScrollBarThickness = 1
  7045. Frame392.Name = "mainBar"
  7046. Frame392.Parent = ScrollingFrame391
  7047. Frame392.Size = UDim2.new(0, 300, 0, 350)
  7048. Frame392.Position = UDim2.new(1, 0, 1, -350)
  7049. Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7050. Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  7051. Frame392.BorderSizePixel = 0
  7052. Frame392.ZIndex = 8
  7053. TextLabel393.Name = "titleObject"
  7054. TextLabel393.Parent = Frame392
  7055. TextLabel393.Transparency = 1
  7056. TextLabel393.Size = UDim2.new(1, 0, 0, 50)
  7057. TextLabel393.Text = "Command Usage"
  7058. TextLabel393.Position = UDim2.new(0, 15, 0, 0)
  7059. TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
  7060. TextLabel393.BackgroundTransparency = 1
  7061. TextLabel393.BorderSizePixel = 0
  7062. TextLabel393.ZIndex = 8
  7063. TextLabel393.Font = Enum.Font.SourceSansBold
  7064. TextLabel393.FontSize = Enum.FontSize.Size24
  7065. TextLabel393.TextColor3 = Color3.new(1, 1, 1)
  7066. TextLabel393.TextStrokeTransparency = 0.69999998807907
  7067. TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
  7068. TextLabel394.Name = "context1"
  7069. TextLabel394.Parent = Frame392
  7070. TextLabel394.Transparency = 1
  7071. TextLabel394.Size = UDim2.new(1, 0, 0, 250)
  7072. TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
  7073. TextLabel394.Position = UDim2.new(0, 10, 0, 50)
  7074. TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
  7075. TextLabel394.BackgroundTransparency = 1
  7076. TextLabel394.BorderSizePixel = 0
  7077. TextLabel394.ZIndex = 8
  7078. TextLabel394.Font = Enum.Font.SourceSansBold
  7079. TextLabel394.FontSize = Enum.FontSize.Size18
  7080. TextLabel394.TextColor3 = Color3.new(1, 1, 1)
  7081. TextLabel394.TextStrokeTransparency = 0.69999998807907
  7082. TextLabel394.TextWrapped = true
  7083. TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
  7084. TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
  7085. ImageButton395.Name = "usageButton"
  7086. ImageButton395.Parent = Frame385
  7087. ImageButton395.Transparency = 1
  7088. ImageButton395.Size = UDim2.new(0, 30, 0, 30)
  7089. ImageButton395.Position = UDim2.new(1, -40, 0, 10)
  7090. ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
  7091. ImageButton395.BackgroundTransparency = 1
  7092. ImageButton395.BorderSizePixel = 0
  7093. ImageButton395.ZIndex = 8
  7094. ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
  7095. Frame396.Name = "Console"
  7096. Frame396.Parent = Frame383
  7097. Frame396.Size = UDim2.new(0.5, -20, 0, 350)
  7098. Frame396.Position = UDim2.new(0, 0, 1, 0)
  7099. Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7100. Frame396.BorderSizePixel = 0
  7101. Frame396.ZIndex = 8
  7102. TextButton397.Name = "createCode"
  7103. TextButton397.Parent = Frame396
  7104. TextButton397.Size = UDim2.new(1, -50, 0, 30)
  7105. TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
  7106. TextButton397.Text = ""
  7107. TextButton397.Position = UDim2.new(0, 25, 1, -40)
  7108. TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
  7109. TextButton397.ZIndex = 8
  7110. TextButton397.Selected = true
  7111. TextButton397.Font = Enum.Font.SourceSans
  7112. TextButton397.FontSize = Enum.FontSize.Size14
  7113. ScrollingFrame398.Name = "textBin"
  7114. ScrollingFrame398.Parent = TextButton397
  7115. ScrollingFrame398.Transparency = 1
  7116. ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
  7117. ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
  7118. ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
  7119. ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
  7120. ScrollingFrame398.BackgroundTransparency = 1
  7121. ScrollingFrame398.BorderSizePixel = 0
  7122. ScrollingFrame398.ZIndex = 8
  7123. ScrollingFrame398.ScrollBarThickness = 0
  7124. TextBox399.Name = "Text"
  7125. TextBox399.Parent = ScrollingFrame398
  7126. TextBox399.Transparency = 1
  7127. TextBox399.Size = UDim2.new(1, 0, 1, 0)
  7128. TextBox399.Text = ""
  7129. TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
  7130. TextBox399.BackgroundTransparency = 1
  7131. TextBox399.BorderSizePixel = 0
  7132. TextBox399.ZIndex = 10
  7133. TextBox399.ClearTextOnFocus = false
  7134. TextBox399.Font = Enum.Font.SourceSansBold
  7135. TextBox399.FontSize = Enum.FontSize.Size18
  7136. TextBox399.TextColor3 = Color3.new(1, 1, 1)
  7137. TextBox399.TextXAlignment = Enum.TextXAlignment.Left
  7138. ScrollingFrame400.Name = "consoleFrame"
  7139. ScrollingFrame400.Parent = Frame396
  7140. ScrollingFrame400.Transparency = 1
  7141. ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
  7142. ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
  7143. ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
  7144. ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
  7145. ScrollingFrame400.BackgroundTransparency = 1
  7146. ScrollingFrame400.BorderSizePixel = 0
  7147. ScrollingFrame400.ZIndex = 8
  7148. LocalScript401.Name = "manageConsole"
  7149. LocalScript401.Parent = Frame396
  7150. table.insert(cors,sandbox(LocalScript401,function()
  7151. function WaitForChild(...)
  7152. local args = {...}
  7153. local parent = args[1]
  7154. table.remove(args, 1)
  7155. local newArgs = {}
  7156. for i,v in pairs(args) do
  7157. table.insert(newArgs, i, parent:WaitForChild(v))
  7158. end
  7159. return unpack(newArgs)
  7160. end
  7161.  
  7162. local lines = {}
  7163. wait(.5)
  7164. local isLoadstring = true
  7165.  
  7166. local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
  7167.  
  7168. createCode.Visible = isLoadstring
  7169.  
  7170. if isLoadstring then
  7171. script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
  7172. end
  7173.  
  7174. function createLine(text, color3)
  7175. if #lines == 32 then
  7176. lines[1]:remove()
  7177. end
  7178. for _,v in pairs(consoleFrame:GetChildren()) do
  7179. v.Position = v.Position - UDim2.new(0, 0, 0, 15)
  7180. end
  7181. local newLine = Instance.new('TextLabel', consoleFrame)
  7182. newLine.Text = tostring(" " .. text)
  7183. newLine.BackgroundTransparency = 1
  7184. newLine.TextColor3 = color3
  7185. newLine.FontSize = Enum.FontSize.Size14
  7186. newLine.Font = Enum.Font.SourceSansBold
  7187. newLine.ZIndex = 8
  7188. newLine.TextXAlignment = Enum.TextXAlignment.Left
  7189. newLine.Size = UDim2.new(1, 0, 0, 15)
  7190. newLine.Position = UDim2.new(0, 0, 1, -15)
  7191. lines[#lines+1] = newLine
  7192. return newLine
  7193. end
  7194.  
  7195. script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
  7196. createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
  7197. end)
  7198.  
  7199. createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
  7200. if enterPressed then
  7201. createLine("Script ran!", Color3.new(1, 1, 1))
  7202. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
  7203. wait()
  7204. createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
  7205. wait(.3)
  7206. createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
  7207. createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
  7208. end
  7209. end)
  7210.  
  7211. createLine('Console loaded!', Color3.new(1, 1, 1))
  7212. end))
  7213. Frame402.Name = "Info"
  7214. Frame402.Parent = Frame383
  7215. Frame402.Size = UDim2.new(0, 300, 0, 400)
  7216. Frame402.Position = UDim2.new(1, -340, 1, 0)
  7217. Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7218. Frame402.BorderSizePixel = 0
  7219. Frame402.ZIndex = 8
  7220. ScrollingFrame403.Name = "frameContainer"
  7221. ScrollingFrame403.Parent = Frame402
  7222. ScrollingFrame403.Transparency = 1
  7223. ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
  7224. ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
  7225. ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
  7226. ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
  7227. ScrollingFrame403.BackgroundTransparency = 1
  7228. ScrollingFrame403.BorderSizePixel = 0
  7229. ScrollingFrame403.ZIndex = 8
  7230. ScrollingFrame403.ScrollBarThickness = 0
  7231. Frame404.Name = "Updates"
  7232. Frame404.Parent = ScrollingFrame403
  7233. Frame404.Transparency = 1
  7234. Frame404.Size = UDim2.new(1, 0, 1, 0)
  7235. Frame404.Position = UDim2.new(0, 0, -1, 0)
  7236. Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
  7237. Frame404.BackgroundTransparency = 1
  7238. Frame404.BorderSizePixel = 0
  7239. Frame404.ZIndex = 8
  7240. TextLabel405.Name = "updateInfo"
  7241. TextLabel405.Parent = Frame404
  7242. TextLabel405.Transparency = 1
  7243. TextLabel405.Size = UDim2.new(1, 0, 1, -40)
  7244. TextLabel405.Text = "updateInfo"
  7245. TextLabel405.Position = UDim2.new(0, 0, 0, 40)
  7246. TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
  7247. TextLabel405.BackgroundTransparency = 1
  7248. TextLabel405.BorderSizePixel = 0
  7249. TextLabel405.ZIndex = 8
  7250. TextLabel405.Font = Enum.Font.SourceSans
  7251. TextLabel405.FontSize = Enum.FontSize.Size18
  7252. TextLabel405.TextColor3 = Color3.new(1, 1, 1)
  7253. TextLabel405.TextStrokeTransparency = 0.69999998807907
  7254. TextLabel405.TextWrapped = true
  7255. TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
  7256. TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
  7257. TextLabel406.Name = "currentVersion"
  7258. TextLabel406.Parent = Frame404
  7259. TextLabel406.Transparency = 1
  7260. TextLabel406.Size = UDim2.new(1, 0, 0, 10)
  7261. TextLabel406.Text = "v1.22"
  7262. TextLabel406.Position = UDim2.new(0, 0, 0, 27)
  7263. TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
  7264. TextLabel406.BackgroundTransparency = 1
  7265. TextLabel406.BorderSizePixel = 0
  7266. TextLabel406.ZIndex = 8
  7267. TextLabel406.Font = Enum.Font.SourceSansBold
  7268. TextLabel406.FontSize = Enum.FontSize.Size14
  7269. TextLabel406.TextColor3 = Color3.new(1, 1, 1)
  7270. TextLabel406.TextStrokeTransparency = 0.69999998807907
  7271. TextLabel406.TextWrapped = true
  7272. TextLabel407.Name = "Title"
  7273. TextLabel407.Parent = Frame404
  7274. TextLabel407.Transparency = 1
  7275. TextLabel407.Size = UDim2.new(1, 0, 0, 30)
  7276. TextLabel407.Text = "Updates"
  7277. TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
  7278. TextLabel407.BackgroundTransparency = 1
  7279. TextLabel407.BorderSizePixel = 0
  7280. TextLabel407.ZIndex = 8
  7281. TextLabel407.Font = Enum.Font.SourceSansBold
  7282. TextLabel407.FontSize = Enum.FontSize.Size24
  7283. TextLabel407.TextColor3 = Color3.new(1, 1, 1)
  7284. TextLabel407.TextStrokeTransparency = 0.69999998807907
  7285. TextLabel407.TextWrapped = true
  7286. Frame408.Name = "Info"
  7287. Frame408.Parent = ScrollingFrame403
  7288. Frame408.Transparency = 1
  7289. Frame408.Size = UDim2.new(1, 0, 1, 0)
  7290. Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
  7291. Frame408.BackgroundTransparency = 1
  7292. Frame408.BorderSizePixel = 0
  7293. Frame408.ZIndex = 8
  7294. TextLabel409.Name = "context1"
  7295. TextLabel409.Parent = Frame408
  7296. TextLabel409.Transparency = 1
  7297. TextLabel409.Size = UDim2.new(1, 0, 0, 73)
  7298. TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
  7299. TextLabel409.Position = UDim2.new(0, 0, 0, 23)
  7300. TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
  7301. TextLabel409.BackgroundTransparency = 1
  7302. TextLabel409.BorderSizePixel = 0
  7303. TextLabel409.ZIndex = 8
  7304. TextLabel409.Font = Enum.Font.SourceSans
  7305. TextLabel409.FontSize = Enum.FontSize.Size18
  7306. TextLabel409.TextColor3 = Color3.new(1, 1, 1)
  7307. TextLabel409.TextStrokeTransparency = 0.69999998807907
  7308. TextLabel409.TextWrapped = true
  7309. TextLabel410.Name = "Title"
  7310. TextLabel410.Parent = Frame408
  7311. TextLabel410.Transparency = 1
  7312. TextLabel410.Size = UDim2.new(1, -56, 0, 20)
  7313. TextLabel410.Text = "Created and Managed by"
  7314. TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
  7315. TextLabel410.BackgroundTransparency = 1
  7316. TextLabel410.BorderSizePixel = 0
  7317. TextLabel410.ZIndex = 8
  7318. TextLabel410.Font = Enum.Font.SourceSansBold
  7319. TextLabel410.FontSize = Enum.FontSize.Size18
  7320. TextLabel410.TextColor3 = Color3.new(1, 1, 1)
  7321. TextLabel410.TextStrokeTransparency = 0.69999998807907
  7322. TextLabel411.Name = "userName"
  7323. TextLabel411.Parent = TextLabel410
  7324. TextLabel411.Transparency = 1
  7325. TextLabel411.Size = UDim2.new(0, 56, 1, 0)
  7326. TextLabel411.Text = "Reselim"
  7327. TextLabel411.Position = UDim2.new(1, -12, 0, 0)
  7328. TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
  7329. TextLabel411.BackgroundTransparency = 1
  7330. TextLabel411.BorderSizePixel = 0
  7331. TextLabel411.ZIndex = 8
  7332. TextLabel411.Font = Enum.Font.SourceSansBold
  7333. TextLabel411.FontSize = Enum.FontSize.Size18
  7334. TextLabel411.TextColor3 = Color3.new(1, 1, 0)
  7335. TextLabel411.TextStrokeTransparency = 0.69999998807907
  7336. TextButton412.Name = "getModel"
  7337. TextButton412.Parent = Frame408
  7338. TextButton412.Size = UDim2.new(1, -20, 0, 30)
  7339. TextButton412.Text = "Want the model? Click here!"
  7340. TextButton412.Position = UDim2.new(0, 10, 0, 105)
  7341. TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7342. TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  7343. TextButton412.BorderSizePixel = 3
  7344. TextButton412.ZIndex = 8
  7345. TextButton412.Font = Enum.Font.SourceSansBold
  7346. TextButton412.FontSize = Enum.FontSize.Size24
  7347. TextButton412.TextColor3 = Color3.new(1, 1, 1)
  7348. TextButton412.TextScaled = true
  7349. TextButton412.TextStrokeTransparency = 0.69999998807907
  7350. TextButton412.TextWrapped = true
  7351. TextLabel413.Name = "DonateLabel"
  7352. TextLabel413.Parent = Frame408
  7353. TextLabel413.Transparency = 1
  7354. TextLabel413.Size = UDim2.new(1, 0, 0, 20)
  7355. TextLabel413.Text = "Donate"
  7356. TextLabel413.Position = UDim2.new(0, 0, 0, 140)
  7357. TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
  7358. TextLabel413.BackgroundTransparency = 1
  7359. TextLabel413.BorderSizePixel = 0
  7360. TextLabel413.ZIndex = 8
  7361. TextLabel413.Font = Enum.Font.SourceSansBold
  7362. TextLabel413.FontSize = Enum.FontSize.Size18
  7363. TextLabel413.TextColor3 = Color3.new(1, 1, 1)
  7364. TextLabel413.TextStrokeTransparency = 0.69999998807907
  7365. TextLabel414.Name = "DonateInfo"
  7366. TextLabel414.Parent = TextLabel413
  7367. TextLabel414.Transparency = 1
  7368. TextLabel414.Size = UDim2.new(1, 0, 0, 126)
  7369. TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
  7370. TextLabel414.Position = UDim2.new(0, 0, 1, 0)
  7371. TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
  7372. TextLabel414.BackgroundTransparency = 1
  7373. TextLabel414.BorderSizePixel = 0
  7374. TextLabel414.ZIndex = 8
  7375. TextLabel414.Font = Enum.Font.SourceSans
  7376. TextLabel414.FontSize = Enum.FontSize.Size18
  7377. TextLabel414.TextColor3 = Color3.new(1, 1, 1)
  7378. TextLabel414.TextStrokeTransparency = 0.69999998807907
  7379. TextLabel414.TextWrapped = true
  7380. TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
  7381. TextButton415.Name = "donateRobux"
  7382. TextButton415.Parent = Frame408
  7383. TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
  7384. TextButton415.Text = "25 R$"
  7385. TextButton415.Position = UDim2.new(0, 10, 1, -75)
  7386. TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7387. TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  7388. TextButton415.BorderSizePixel = 3
  7389. TextButton415.ZIndex = 8
  7390. TextButton415.Font = Enum.Font.SourceSansBold
  7391. TextButton415.FontSize = Enum.FontSize.Size24
  7392. TextButton415.TextColor3 = Color3.new(1, 1, 1)
  7393. TextButton415.TextScaled = true
  7394. TextButton415.TextStrokeTransparency = 0.69999998807907
  7395. TextButton415.TextWrapped = true
  7396. TextButton416.Name = "donateTickets"
  7397. TextButton416.Parent = Frame408
  7398. TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
  7399. TextButton416.Text = "100 Tix"
  7400. TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
  7401. TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7402. TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  7403. TextButton416.BorderSizePixel = 3
  7404. TextButton416.ZIndex = 8
  7405. TextButton416.Font = Enum.Font.SourceSansBold
  7406. TextButton416.FontSize = Enum.FontSize.Size24
  7407. TextButton416.TextColor3 = Color3.new(1, 1, 1)
  7408. TextButton416.TextScaled = true
  7409. TextButton416.TextStrokeTransparency = 0.69999998807907
  7410. TextButton416.TextWrapped = true
  7411. Frame417.Name = "Buttons"
  7412. Frame417.Parent = ScrollingFrame403
  7413. Frame417.Transparency = 1
  7414. Frame417.Size = UDim2.new(1, 0, 1, 0)
  7415. Frame417.Position = UDim2.new(0, 0, -1, 0)
  7416. Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
  7417. Frame417.BackgroundTransparency = 1
  7418. Frame417.BorderSizePixel = 0
  7419. Frame417.ZIndex = 8
  7420. TextLabel418.Name = "players"
  7421. TextLabel418.Parent = Frame417
  7422. TextLabel418.Transparency = 1
  7423. TextLabel418.Size = UDim2.new(1, 0, 0, 30)
  7424. TextLabel418.Text = "Players"
  7425. TextLabel418.Position = UDim2.new(0, 3, 0, 30)
  7426. TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
  7427. TextLabel418.BackgroundTransparency = 1
  7428. TextLabel418.BorderSizePixel = 0
  7429. TextLabel418.ZIndex = 8
  7430. TextLabel418.Font = Enum.Font.SourceSansBold
  7431. TextLabel418.FontSize = Enum.FontSize.Size18
  7432. TextLabel418.TextColor3 = Color3.new(1, 1, 1)
  7433. TextLabel418.TextStrokeTransparency = 0.69999998807907
  7434. TextLabel418.TextWrapped = true
  7435. TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
  7436. TextLabel419.Name = "context"
  7437. TextLabel419.Parent = TextLabel418
  7438. TextLabel419.Transparency = 1
  7439. TextLabel419.Size = UDim2.new(1, -20, 0, 60)
  7440. TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
  7441. TextLabel419.Position = UDim2.new(0, 17, 0, 30)
  7442. TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
  7443. TextLabel419.BackgroundTransparency = 1
  7444. TextLabel419.BorderSizePixel = 0
  7445. TextLabel419.ZIndex = 8
  7446. TextLabel419.Font = Enum.Font.SourceSansBold
  7447. TextLabel419.FontSize = Enum.FontSize.Size18
  7448. TextLabel419.TextColor3 = Color3.new(1, 1, 1)
  7449. TextLabel419.TextStrokeTransparency = 0.69999998807907
  7450. TextLabel419.TextWrapped = true
  7451. TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
  7452. TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
  7453. TextLabel420.Name = "console"
  7454. TextLabel420.Parent = Frame417
  7455. TextLabel420.Transparency = 1
  7456. TextLabel420.Size = UDim2.new(1, 0, 0, 30)
  7457. TextLabel420.Text = "Console"
  7458. TextLabel420.Position = UDim2.new(0, 3, 0, 110)
  7459. TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
  7460. TextLabel420.BackgroundTransparency = 1
  7461. TextLabel420.BorderSizePixel = 0
  7462. TextLabel420.ZIndex = 8
  7463. TextLabel420.Font = Enum.Font.SourceSansBold
  7464. TextLabel420.FontSize = Enum.FontSize.Size18
  7465. TextLabel420.TextColor3 = Color3.new(1, 1, 1)
  7466. TextLabel420.TextStrokeTransparency = 0.69999998807907
  7467. TextLabel420.TextWrapped = true
  7468. TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
  7469. TextLabel421.Name = "context"
  7470. TextLabel421.Parent = TextLabel420
  7471. TextLabel421.Transparency = 1
  7472. TextLabel421.Size = UDim2.new(1, -20, 0, 40)
  7473. TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
  7474. TextLabel421.Position = UDim2.new(0, 17, 0, 30)
  7475. TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
  7476. TextLabel421.BackgroundTransparency = 1
  7477. TextLabel421.BorderSizePixel = 0
  7478. TextLabel421.ZIndex = 8
  7479. TextLabel421.Font = Enum.Font.SourceSansBold
  7480. TextLabel421.FontSize = Enum.FontSize.Size18
  7481. TextLabel421.TextColor3 = Color3.new(1, 1, 1)
  7482. TextLabel421.TextStrokeTransparency = 0.69999998807907
  7483. TextLabel421.TextWrapped = true
  7484. TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
  7485. TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
  7486. TextLabel422.Name = "commands"
  7487. TextLabel422.Parent = Frame417
  7488. TextLabel422.Transparency = 1
  7489. TextLabel422.Size = UDim2.new(1, 0, 0, 30)
  7490. TextLabel422.Text = "Commands"
  7491. TextLabel422.Position = UDim2.new(0, 3, 0, 173)
  7492. TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
  7493. TextLabel422.BackgroundTransparency = 1
  7494. TextLabel422.BorderSizePixel = 0
  7495. TextLabel422.ZIndex = 8
  7496. TextLabel422.Font = Enum.Font.SourceSansBold
  7497. TextLabel422.FontSize = Enum.FontSize.Size18
  7498. TextLabel422.TextColor3 = Color3.new(1, 1, 1)
  7499. TextLabel422.TextStrokeTransparency = 0.69999998807907
  7500. TextLabel422.TextWrapped = true
  7501. TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
  7502. TextLabel423.Name = "context"
  7503. TextLabel423.Parent = TextLabel422
  7504. TextLabel423.Transparency = 1
  7505. TextLabel423.Size = UDim2.new(1, -20, 0, 60)
  7506. TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
  7507. TextLabel423.Position = UDim2.new(0, 17, 0, 30)
  7508. TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
  7509. TextLabel423.BackgroundTransparency = 1
  7510. TextLabel423.BorderSizePixel = 0
  7511. TextLabel423.ZIndex = 8
  7512. TextLabel423.Font = Enum.Font.SourceSansBold
  7513. TextLabel423.FontSize = Enum.FontSize.Size18
  7514. TextLabel423.TextColor3 = Color3.new(1, 1, 1)
  7515. TextLabel423.TextStrokeTransparency = 0.69999998807907
  7516. TextLabel423.TextWrapped = true
  7517. TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
  7518. TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
  7519. TextLabel424.Name = "Title"
  7520. TextLabel424.Parent = Frame417
  7521. TextLabel424.Transparency = 1
  7522. TextLabel424.Size = UDim2.new(1, 0, 0, 30)
  7523. TextLabel424.Text = "Buttons"
  7524. TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
  7525. TextLabel424.BackgroundTransparency = 1
  7526. TextLabel424.BorderSizePixel = 0
  7527. TextLabel424.ZIndex = 8
  7528. TextLabel424.Font = Enum.Font.SourceSansBold
  7529. TextLabel424.FontSize = Enum.FontSize.Size24
  7530. TextLabel424.TextColor3 = Color3.new(1, 1, 1)
  7531. TextLabel424.TextStrokeTransparency = 0.69999998807907
  7532. TextLabel424.TextWrapped = true
  7533. Frame425.Name = "buttonsFrame"
  7534. Frame425.Parent = Frame402
  7535. Frame425.Size = UDim2.new(1, -50, 0, 30)
  7536. Frame425.Position = UDim2.new(0, 25, 0, 25)
  7537. Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7538. Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  7539. Frame425.BorderSizePixel = 5
  7540. Frame425.ZIndex = 8
  7541. TextButton426.Name = "Updates"
  7542. TextButton426.Parent = Frame425
  7543. TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
  7544. TextButton426.Text = "Updates"
  7545. TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
  7546. TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7547. TextButton426.BorderSizePixel = 0
  7548. TextButton426.ZIndex = 8
  7549. TextButton426.Font = Enum.Font.SourceSansBold
  7550. TextButton426.FontSize = Enum.FontSize.Size24
  7551. TextButton426.TextColor3 = Color3.new(1, 1, 1)
  7552. TextButton426.TextStrokeTransparency = 0.69999998807907
  7553. TextButton427.Name = "Info"
  7554. TextButton427.Parent = Frame425
  7555. TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
  7556. TextButton427.Text = "Info"
  7557. TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7558. TextButton427.BorderSizePixel = 0
  7559. TextButton427.ZIndex = 8
  7560. TextButton427.Font = Enum.Font.SourceSansBold
  7561. TextButton427.FontSize = Enum.FontSize.Size24
  7562. TextButton427.TextColor3 = Color3.new(1, 1, 1)
  7563. TextButton427.TextStrokeTransparency = 0.69999998807907
  7564. TextButton428.Name = "Buttons"
  7565. TextButton428.Parent = Frame425
  7566. TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
  7567. TextButton428.Text = "Buttons"
  7568. TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
  7569. TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7570. TextButton428.BorderSizePixel = 0
  7571. TextButton428.ZIndex = 8
  7572. TextButton428.Font = Enum.Font.SourceSansBold
  7573. TextButton428.FontSize = Enum.FontSize.Size24
  7574. TextButton428.TextColor3 = Color3.new(1, 1, 1)
  7575. TextButton428.TextStrokeTransparency = 0.69999998807907
  7576. Frame429.Name = "selectionFrame"
  7577. Frame429.Parent = Frame425
  7578. Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
  7579. Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
  7580. Frame429.BorderSizePixel = 0
  7581. Frame429.ZIndex = 8
  7582. LocalScript430.Name = "manageInfo"
  7583. LocalScript430.Parent = Frame402
  7584. table.insert(cors,sandbox(LocalScript430,function()
  7585. local version = 1.37
  7586. local newestUpdate = [[
  7587. - Can now be closed! (button 2ugly4me)
  7588. - Few new commands.
  7589. ]]
  7590.  
  7591. local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
  7592. local frames = script.Parent:WaitForChild'frameContainer'
  7593. local selector = buttonsFrame:WaitForChild'selectionFrame'
  7594. repeat wait() until #buttonsFrame:GetChildren() == 4
  7595. for _,v in pairs(buttonsFrame:GetChildren()) do
  7596. if v.ClassName == "TextButton" then
  7597. v.MouseEnter:connect(function()
  7598. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  7599. for _,v in pairs(frames:GetChildren()) do
  7600. v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
  7601. end
  7602. frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
  7603. end)
  7604. end
  7605. end
  7606.  
  7607. local infoFrame = frames:WaitForChild'Info'
  7608. local getModel = infoFrame:WaitForChild'getModel'
  7609. local robux = infoFrame:WaitForChild'donateRobux'
  7610. local tickets = infoFrame:WaitForChild'donateTickets'
  7611.  
  7612. getModel.MouseButton1Up:connect(function()
  7613. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
  7614. end)
  7615.  
  7616. frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
  7617. frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
  7618.  
  7619. robux.MouseButton1Up:connect(function()
  7620. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
  7621. end)
  7622.  
  7623. tickets.MouseButton1Up:connect(function()
  7624. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
  7625. end)
  7626. end))
  7627. Frame431.Name = "Players"
  7628. Frame431.Parent = Frame383
  7629. Frame431.Size = UDim2.new(0, 200, 0, 350)
  7630. Frame431.Position = UDim2.new(0, 0, 1, 0)
  7631. Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7632. Frame431.BorderSizePixel = 0
  7633. Frame431.ZIndex = 8
  7634. Frame432.Name = "Template"
  7635. Frame432.Parent = Frame431
  7636. Frame432.Size = UDim2.new(1, 0, 0, 30)
  7637. Frame432.Style = Enum.FrameStyle.DropShadow
  7638. Frame432.Visible = false
  7639. Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
  7640. Frame432.ZIndex = 8
  7641. TextLabel433.Name = "playerName"
  7642. TextLabel433.Parent = Frame432
  7643. TextLabel433.Transparency = 1
  7644. TextLabel433.Size = UDim2.new(1, 0, 1, 0)
  7645. TextLabel433.Text = "OnlyTwentyCharacters"
  7646. TextLabel433.Position = UDim2.new(0, 25, 0, 0)
  7647. TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
  7648. TextLabel433.BackgroundTransparency = 1
  7649. TextLabel433.BorderSizePixel = 0
  7650. TextLabel433.ZIndex = 8
  7651. TextLabel433.Font = Enum.Font.SourceSansBold
  7652. TextLabel433.FontSize = Enum.FontSize.Size14
  7653. TextLabel433.TextColor3 = Color3.new(1, 1, 1)
  7654. TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
  7655. TextButton434.Name = "removeButton"
  7656. TextButton434.Parent = Frame432
  7657. TextButton434.Size = UDim2.new(0, 24, 0, 24)
  7658. TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  7659. TextButton434.Text = "X"
  7660. TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
  7661. TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
  7662. TextButton434.ZIndex = 8
  7663. TextButton434.Font = Enum.Font.SourceSansBold
  7664. TextButton434.FontSize = Enum.FontSize.Size18
  7665. TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
  7666. ScrollingFrame435.Name = "playerImage"
  7667. ScrollingFrame435.Parent = Frame432
  7668. ScrollingFrame435.Transparency = 1
  7669. ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
  7670. ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
  7671. ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
  7672. ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
  7673. ScrollingFrame435.BackgroundTransparency = 1
  7674. ScrollingFrame435.BorderSizePixel = 0
  7675. ScrollingFrame435.ZIndex = 8
  7676. ScrollingFrame435.ScrollBarThickness = 0
  7677. ImageLabel436.Name = "image"
  7678. ImageLabel436.Parent = ScrollingFrame435
  7679. ImageLabel436.Transparency = 1
  7680. ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
  7681. ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
  7682. ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
  7683. ImageLabel436.BackgroundTransparency = 1
  7684. ImageLabel436.BorderSizePixel = 0
  7685. ImageLabel436.ZIndex = 8
  7686. ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
  7687. ScrollingFrame437.Name = "PlayerList"
  7688. ScrollingFrame437.Parent = Frame431
  7689. ScrollingFrame437.Transparency = 1
  7690. ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
  7691. ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
  7692. ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
  7693. ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
  7694. ScrollingFrame437.BackgroundTransparency = 1
  7695. ScrollingFrame437.BorderSizePixel = 0
  7696. ScrollingFrame437.ZIndex = 8
  7697. ScrollingFrame437.ScrollBarThickness = 0
  7698. LocalScript438.Name = "manageList"
  7699. LocalScript438.Parent = Frame431
  7700. table.insert(cors,sandbox(LocalScript438,function()
  7701. function WaitForChild(...)
  7702. local args = {...}
  7703. local parent = args[1]
  7704. table.remove(args, 1)
  7705. local newArgs = {}
  7706. for i,v in pairs(args) do
  7707. table.insert(newArgs, i, parent:WaitForChild(v))
  7708. end
  7709. return unpack(newArgs)
  7710. end
  7711.  
  7712. local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
  7713.  
  7714. function refresh()
  7715. scrollable:ClearAllChildren()
  7716. for i,v in pairs(game:service'Players':GetChildren()) do
  7717. local newTemplate = template:Clone()
  7718. newTemplate.Name = v.Name
  7719. local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
  7720. imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
  7721. playerName.Text = v.Name
  7722. removePlayer.MouseButton1Up:connect(function()
  7723. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
  7724. end)
  7725. newTemplate.Parent = scrollable
  7726. newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
  7727. newTemplate.Visible = true
  7728. end
  7729. scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
  7730. end
  7731.  
  7732. refresh()
  7733.  
  7734. game:service'Players'.ChildAdded:connect(refresh)
  7735. game:service'Players'.ChildRemoved:connect(refresh)
  7736.  
  7737. end))
  7738. RemoteFunction380.Name = "ServersideInfo"
  7739. RemoteFunction380.Parent = ScreenGui284
  7740. TextButton451.Name = "closeButton"
  7741. TextButton451.Parent = ScreenGui284
  7742. TextButton451.Size = UDim2.new(0, 40, 0, 30)
  7743. TextButton451.Text = ""
  7744. TextButton451.Position = UDim2.new(1, -40, 1, -60)
  7745. TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7746. TextButton451.BorderSizePixel = 0
  7747. TextButton451.ZIndex = 8
  7748. TextButton451.Font = Enum.Font.SourceSansBold
  7749. TextButton451.FontSize = Enum.FontSize.Size24
  7750. TextButton451.TextColor3 = Color3.new(1, 1, 1)
  7751. TextButton451.TextStrokeTransparency = 0.69999998807907
  7752. Frame452.Name = "textFrame"
  7753. Frame452.Parent = TextButton451
  7754. Frame452.Transparency = 1
  7755. Frame452.Size = UDim2.new(1, 0, 1, 0)
  7756. Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
  7757. Frame452.BackgroundTransparency = 1
  7758. Frame452.BorderSizePixel = 0
  7759. Frame452.ZIndex = 10
  7760. TextLabel453.Name = "UpperClose"
  7761. TextLabel453.Parent = Frame452
  7762. TextLabel453.Transparency = 1
  7763. TextLabel453.Text = "V"
  7764. TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
  7765. TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7766. TextLabel453.BackgroundTransparency = 1
  7767. TextLabel453.BorderSizePixel = 0
  7768. TextLabel453.ZIndex = 8
  7769. TextLabel453.Font = Enum.Font.SourceSansLight
  7770. TextLabel453.FontSize = Enum.FontSize.Size24
  7771. TextLabel453.TextColor3 = Color3.new(1, 1, 1)
  7772. TextLabel453.TextStrokeTransparency = 0.69999998807907
  7773. TextLabel453.TextWrapped = true
  7774. TextLabel454.Name = "LowerClose"
  7775. TextLabel454.Parent = Frame452
  7776. TextLabel454.Transparency = 1
  7777. TextLabel454.Text = "V"
  7778. TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
  7779. TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  7780. TextLabel454.BackgroundTransparency = 1
  7781. TextLabel454.BorderSizePixel = 0
  7782. TextLabel454.ZIndex = 9
  7783. TextLabel454.Font = Enum.Font.SourceSansLight
  7784. TextLabel454.FontSize = Enum.FontSize.Size24
  7785. TextLabel454.TextColor3 = Color3.new(1, 1, 1)
  7786. TextLabel454.TextStrokeTransparency = 0.69999998807907
  7787. Script370.Name = "manageServer"
  7788. Script370.Parent = ScreenGui284
  7789. table.insert(cors,sandbox(Script370,function()
  7790. local player = script.Parent.Parent.Parent
  7791.  
  7792. wait(.5)
  7793.  
  7794. local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
  7795.  
  7796. local settings = _G.ManagementBarSettings
  7797.  
  7798. local playersService = game:service'Players'
  7799.  
  7800. function isValInTab(val, tab)
  7801. for _,v in pairs(tab) do
  7802. if val == v then
  7803. return true
  7804. end
  7805. end
  7806. return false
  7807. end
  7808.  
  7809. function getAllGuiElements()
  7810. local tabMain = {}
  7811. function subfunc(ch)
  7812. for _,v in pairs(ch:GetChildren()) do
  7813. tabMain[#tabMain+1] = v
  7814. subfunc(v)
  7815. end
  7816. end
  7817. for _,v in pairs(script.Parent:GetChildren()) do
  7818. tabMain[#tabMain+1] = v
  7819. subfunc(v)
  7820. end
  7821. return tabMain
  7822. end
  7823.  
  7824. if settings then
  7825. local guielements = getAllGuiElements()
  7826. if settings.MainColor then
  7827. for _,v in pairs(guielements) do
  7828. if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
  7829. v.BackgroundColor3 = settings.MainColor
  7830. end
  7831. end
  7832. end
  7833. if settings.OutlineColor then
  7834. for _,v in pairs(guielements) do
  7835. if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
  7836. v.BorderColor3 = settings.OutlineColor
  7837. end
  7838. end
  7839. end
  7840. else
  7841. script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
  7842. script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
  7843. script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
  7844. script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
  7845. end
  7846.  
  7847. function getrankbycmd(data, cmd)
  7848. for i,v in pairs(data) do
  7849. if string.lower(v[1])==string.lower(cmd)then
  7850. return v,i
  7851. end
  7852. end
  7853. return nil,0
  7854. end
  7855.  
  7856. function messageAllPlayers(msg, ishint)
  7857. for _,v in pairs(playersService:GetChildren()) do
  7858. local c = script:WaitForChild'Message':Clone()
  7859. local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
  7860. ih.Value = ishint
  7861. ms.Value = msg
  7862. c.Parent = v:FindFirstChild'PlayerGui'
  7863. c.Disabled = false
  7864. end
  7865. end
  7866.  
  7867. function getAllPlayers(isOthers)
  7868. local tb = {}
  7869. if isOthers then
  7870. for _,v in pairs(playersService:GetChildren()) do
  7871. if v.userId ~= player.userId then
  7872. tb[#tb+1] = v
  7873. end
  7874. end
  7875. else
  7876. for _,v in pairs(playersService:GetChildren()) do
  7877. tb[#tb+1] = v
  7878. end
  7879. end
  7880. return tb
  7881. end
  7882.  
  7883. function getPlayer(arg)
  7884. if string.lower(arg) == "me" then
  7885. return player
  7886. elseif string.lower(arg) == "all" then
  7887. return unpack(getAllPlayers(false))
  7888. elseif string.lower(arg) == "others" then
  7889. return unpack(getAllPlayers(true))
  7890. elseif string.lower(arg) == "random" then
  7891. return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
  7892. end
  7893. for _,v in pairs(playersService:GetChildren()) do
  7894. if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
  7895. return v
  7896. end
  7897. end
  7898. return nil
  7899. end
  7900. spawn(function()
  7901. wait(1)
  7902. if not ds:GetAsync('sentmodel-' .. player.userId) then
  7903. if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
  7904. game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
  7905. end
  7906. ds:SetAsync('sentmodel-' .. player.userId, true)
  7907. end
  7908. end)
  7909.  
  7910. local commands = require(script:WaitForChild'Commands')
  7911.  
  7912. function splitWords(msg,num)
  7913. if num<=0 or msg==nil then return {} end
  7914. local tab={}
  7915. local str=msg
  7916. local full=''
  7917. for a in str:gmatch('([^ ]+)') do
  7918. if #tab>=num then break end
  7919. if #tab==num-1 then
  7920. tab[#tab+1]=msg:sub(#full+1,#msg)
  7921. end
  7922. if #tab>=num then break end
  7923. str=a..' '
  7924. full=full..a..' '
  7925. tab[#tab+1]=a
  7926. if #tab>=num then break end
  7927. end
  7928. return tab
  7929. end
  7930.  
  7931. function getNumberOfCharacters(str, chr)
  7932. local t={}
  7933. for matchedValue in string.gmatch(str, chr) do
  7934. table.insert(t, matchedValue)
  7935. end
  7936. return #t
  7937. end
  7938.  
  7939. function splitArguments(msg)
  7940. local num = getNumberOfCharacters(msg,',')+1
  7941. if num<=0 or msg==nil then return {} end
  7942. local tab={}
  7943. local str=msg
  7944. local full=''
  7945. for a in str:gmatch('([^,]+)') do
  7946. if #tab>=num then break end
  7947. if #tab==num-1 then
  7948. tab[#tab+1]=msg:sub(#full+1,#msg)
  7949. end
  7950. if #tab>=num then break end
  7951. str=a..','
  7952. full=full..a..','
  7953. tab[#tab+1]=a
  7954. if #tab>=num then break end
  7955. end
  7956. return tab
  7957. end
  7958.  
  7959. function sortArguments(orig, cust)
  7960. local newTab = {}
  7961. if #orig == #cust then
  7962. for i,v in pairs(orig) do
  7963. if v == 'player' then
  7964. if string.find(cust[i], ',') then
  7965. local mt = {}
  7966. for _,v in pairs(splitArguments(cust[i])) do
  7967. if getPlayer(v) then
  7968. mt[#mt+1] = getPlayer(v)
  7969. end
  7970. end
  7971. newTab[#newTab+1] = mt
  7972. else
  7973. if getPlayer(cust[i]) then
  7974. newTab[#newTab+1] = {getPlayer(cust[i])}
  7975. end
  7976. end
  7977. elseif v == 'number' then
  7978. if string.find(cust[i], ',') then
  7979. local mt = {}
  7980. for _,v in pairs(splitArguments(cust[i])) do
  7981. if tonumber(v) then
  7982. mt[#mt+1] = tonumber(v)
  7983. end
  7984. end
  7985. newTab[#newTab+1] = mt
  7986. else
  7987. if tonumber(cust[i]) then
  7988. newTab[#newTab+1] = {tonumber(cust[i])}
  7989. end
  7990. end
  7991. elseif v == 'precentage' then
  7992. if tonumber(cust[i]) then
  7993. newTab[#newTab+1] = {tonumber(cust[i])/100}
  7994. end
  7995. elseif v == 'message' then
  7996. newTab[#newTab+1] = {cust[i]}
  7997. end
  7998. end
  7999. end
  8000. return newTab
  8001. end
  8002.  
  8003.  
  8004.  
  8005.  
  8006.  
  8007. function runCommand(executer, str)
  8008. local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
  8009. if commands[string.lower(cmd)] then
  8010. local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
  8011. if #args == #commands[string.lower(cmd)].argumentsNeeded then
  8012. spawn(function()
  8013. commands[string.lower(cmd)].func(executer, args)
  8014. end)
  8015. end
  8016. end
  8017. end
  8018.  
  8019. script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
  8020. if reason == "kick" then
  8021. local p = args[1]
  8022. if playersService:FindFirstChild(p) then
  8023. playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
  8024. end
  8025. elseif reason == "runcommand" then
  8026. local str = args[1]
  8027.  
  8028. runCommand(lp, str)
  8029. elseif reason == "runcode" then
  8030. if not workspace:FindFirstChild'codeBin' then
  8031. Instance.new('Model', workspace).Name = "codeBin"
  8032. end
  8033.  
  8034. local clonedTemplate = script:WaitForChild'templateCode':Clone()
  8035. clonedTemplate:WaitForChild'source'.Value = args[1]
  8036. clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
  8037. clonedTemplate.Name = "console"
  8038. clonedTemplate.Disabled = false
  8039. elseif reason == "buy" then
  8040. game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
  8041. elseif reason == "select" then
  8042. local t = args[1]
  8043. if t.ClassName == 'Tool' then
  8044. t.Parent = player.Character
  8045. end
  8046. elseif reason == "deselect" then
  8047. local t = args[1]
  8048. if t.ClassName == 'Tool' then
  8049. t.Parent = player:WaitForChild'Backpack'
  8050. end
  8051. end
  8052. end)
  8053.  
  8054. game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
  8055. script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
  8056. end)
  8057.  
  8058. script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
  8059. if infotype == "cmds" then
  8060. return commands
  8061. elseif infotype == "isloadstringenabled" then
  8062. local success = true
  8063. return success
  8064. end
  8065. end
  8066. end))
  8067. Script371.Name = "templateCode"
  8068. Script371.Parent = Script370
  8069. Script371.Disabled = true
  8070. table.insert(cors,sandbox(Script371,function()
  8071. local loadstring = require(script:WaitForChild'Loadstring')
  8072.  
  8073. loadstring(script:WaitForChild'source'.Value)()
  8074. script:remove()
  8075. end))
  8076. StringValue372.Name = "source"
  8077. StringValue372.Parent = Script371
  8078. LocalScript373.Name = "Message"
  8079. LocalScript373.Parent = Script370
  8080. LocalScript373.Disabled = true
  8081. table.insert(cors,sandbox(LocalScript373,function()
  8082. local ishint = script:WaitForChild'ishint'.Value
  8083. local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
  8084.  
  8085. local stg = Instance.new('ScreenGui', script.Parent)
  8086. stg.Name = "RMG:MessageGui"
  8087. script.Name = "RMG:MessageScript"
  8088. local text = Instance.new('TextLabel', stg)
  8089. text.BackgroundTransparency = 1
  8090. text.Text = ''
  8091. text.BorderSizePixel = 0
  8092. text.BackgroundColor3 = Color3.new(0, 0, 0)
  8093. text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
  8094. text.TextWrapped = true
  8095. text.ZIndex = 10
  8096. text.TextColor3 = Color3.new(1, 1, 1)
  8097. text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
  8098. text.Font = Enum.Font.ArialBold
  8099. text.TextStrokeTransparency = .7
  8100. local text2
  8101. if ishint == false then
  8102. text2 = Instance.new('TextLabel', stg)
  8103. text2.BackgroundTransparency = 1
  8104. text2.Text = string.upper(msg2)
  8105. text2.BorderSizePixel = 0
  8106. text2.BackgroundTransparency = 1
  8107. text2.Size = UDim2.new(1, 0, 1, 0)
  8108. text2.Position = UDim2.new(0, 0, 0, 7)
  8109. text2.TextWrapped = true
  8110. text2.ZIndex = 10
  8111. text2.TextColor3 = Color3.new(1, 1, 1)
  8112. text2.FontSize = Enum.FontSize.Size18
  8113. text2.Font = Enum.Font.ArialBold
  8114. text2.TextYAlignment = Enum.TextYAlignment.Top
  8115. text2.TextStrokeTransparency = .7
  8116. end
  8117. for i=1, 0.5, -0.05 do
  8118. text.BackgroundTransparency = i
  8119. wait()
  8120. end
  8121. for i=1, string.len(msg) do
  8122. text.Text = msg:sub(1, i)
  8123. wait()
  8124. end
  8125. wait(3)
  8126. for i=string.len(msg), 1, -1 do
  8127. text.Text = msg:sub(1, i)
  8128. wait()
  8129. end
  8130. text.Text = ''
  8131. for i=0.5, 1, 0.05 do
  8132. text.BackgroundTransparency = i
  8133. if text2 then
  8134. text2.TextTransparency = i
  8135. end
  8136. wait()
  8137. end
  8138. stg:remove()
  8139. wait()
  8140. script:remove()
  8141. end))
  8142. StringValue374.Name = "msg"
  8143. StringValue374.Parent = LocalScript373
  8144. BoolValue375.Name = "ishint"
  8145. BoolValue375.Parent = LocalScript373
  8146. StringValue376.Name = "msg2"
  8147. StringValue376.Parent = LocalScript373
  8148. Script377.Name = "Spin"
  8149. Script377.Parent = Script370
  8150. Script377.Disabled = true
  8151. table.insert(cors,sandbox(Script377,function()
  8152. if script.Parent:FindFirstChild'Torso' then
  8153. while wait() do
  8154. for i=1, 360, 2 do
  8155. script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
  8156. wait()
  8157. end
  8158. end
  8159. end
  8160. end))
  8161. LocalScript378.Name = "Fly"
  8162. LocalScript378.Parent = Script370
  8163. LocalScript378.Disabled = true
  8164. table.insert(cors,sandbox(LocalScript378,function()
  8165. local Me = game:GetService("Players").LocalPlayer
  8166. local Char = Me.Character
  8167. local Mouse = Me:GetMouse()
  8168. local Cam = workspace.CurrentCamera
  8169. local Stop = false
  8170. local Version = 0
  8171. local MaxSpeed = 5
  8172. local Speed = 1
  8173. local Keys = {}
  8174.  
  8175. local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
  8176. if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
  8177. Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
  8178. Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
  8179.  
  8180. local Thread,Old = Version, nil
  8181. Char.Humanoid.PlatformStand = true
  8182.  
  8183. function StopFly()
  8184. Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
  8185. end
  8186.  
  8187. Char.ChildAdded:connect(function(Obj) wait()
  8188. if Obj.Name == "FlyStop" then
  8189. Obj:Destroy()
  8190. StopFly()
  8191. end
  8192. end)
  8193.  
  8194. coroutine.wrap(function() while Thread == Version and Stop == false do
  8195. local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
  8196.  
  8197. if Keys[string.char(48)] then Speed = 1 end
  8198. if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
  8199. if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
  8200. if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
  8201. if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
  8202. if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
  8203. if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
  8204. if Keys.x then StopFly() end
  8205.  
  8206. if Old ~= Vectoring then
  8207. Fly.position = Vectoring.p
  8208. Old = Vectoring
  8209. Speed = math.min(Speed + Speed*0.025,MaxSpeed)
  8210. else
  8211. Speed = 1;
  8212. end
  8213. Rot.cframe = Cam.CoordinateFrame
  8214. wait(0.01)
  8215. end end)()
  8216.  
  8217. Mouse.KeyDown:connect(function(Key)
  8218. Keys[Key] = true
  8219. end)
  8220. Mouse.KeyUp:connect(function(Key)
  8221. Keys[Key] = false
  8222. end)
  8223. end))
  8224. LocalScript379.Name = "Crash"
  8225. LocalScript379.Parent = Script370
  8226. LocalScript379.Disabled = true
  8227. table.insert(cors,sandbox(LocalScript379,function()
  8228. while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
  8229. end))
  8230. RemoteFunction380.Name = "ServersideInfo"
  8231. RemoteFunction380.Parent = ScreenGui284
  8232. LocalScript381.Name = "manageButtons"
  8233. LocalScript381.Parent = ScreenGui284
  8234. table.insert(cors,sandbox(LocalScript381,function()
  8235. local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
  8236. local frames = script.Parent:WaitForChild'Frames'
  8237. local selector = buttonsFrame:WaitForChild'selectionFrame'
  8238. local currentOpen
  8239. repeat wait() until #buttonsFrame:GetChildren() == 6
  8240. for _,v in pairs(buttonsFrame:GetChildren()) do
  8241. if v.ClassName == "TextButton" then
  8242. v.MouseButton1Up:connect(function()
  8243. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  8244. for _,c in pairs(frames:GetChildren()) do
  8245. if c.Position.Y.Offset < 0 then
  8246. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  8247. end
  8248. end
  8249. local cf = frames:FindFirstChild(v.Name)
  8250. currentOpen = cf
  8251. cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
  8252. end)
  8253. end
  8254. end
  8255.  
  8256. local isOpen = true
  8257. local deb = false
  8258.  
  8259. local oldOpened = currentOpen
  8260.  
  8261. script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
  8262. if deb == false then
  8263. if isOpen == true then
  8264. deb = true
  8265. isOpen = false
  8266. for _,c in pairs(frames:GetChildren()) do
  8267. if c.Position.Y.Offset < 0 then
  8268. c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  8269. wait(.3)
  8270. end
  8271. end
  8272. oldOpened = currentOpen
  8273. frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  8274. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
  8275. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
  8276. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
  8277. wait(.3)
  8278. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
  8279. deb = false
  8280. else
  8281. deb = true
  8282. isOpen = true
  8283. frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
  8284. buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
  8285. script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
  8286. script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
  8287. wait(.3)
  8288. if oldOpened then
  8289. oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
  8290. selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
  8291. end
  8292. script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
  8293. deb = false
  8294. end
  8295. end
  8296. end)
  8297. end))
  8298. RemoteEvent382.Name = "Serverside"
  8299. RemoteEvent382.Parent = ScreenGui284
  8300. Frame383.Name = "Frames"
  8301. Frame383.Parent = ScreenGui284
  8302. Frame383.Transparency = 1
  8303. Frame383.Size = UDim2.new(1, 0, 1, -30)
  8304. Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
  8305. Frame383.BackgroundTransparency = 1
  8306. Frame383.BorderSizePixel = 0
  8307. Frame383.ZIndex = 8
  8308. Frame384.Name = "Close"
  8309. Frame384.Parent = Frame383
  8310. Frame384.Transparency = 1
  8311. Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8312. Frame384.BackgroundTransparency = 1
  8313. Frame384.BorderSizePixel = 0
  8314. Frame384.ZIndex = 8
  8315. Frame385.Name = "Commands"
  8316. Frame385.Parent = Frame383
  8317. Frame385.Size = UDim2.new(0.5, -20, 0, 350)
  8318. Frame385.Position = UDim2.new(0.5, -20, 1, 0)
  8319. Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8320. Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  8321. Frame385.BorderSizePixel = 0
  8322. Frame385.ZIndex = 8
  8323. TextButton386.Name = "CommandBar"
  8324. TextButton386.Parent = Frame385
  8325. TextButton386.Size = UDim2.new(1, -70, 0, 30)
  8326. TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
  8327. TextButton386.Text = ""
  8328. TextButton386.Position = UDim2.new(0, 25, 0, 10)
  8329. TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
  8330. TextButton386.ZIndex = 8
  8331. TextButton386.Selected = true
  8332. TextButton386.Font = Enum.Font.SourceSans
  8333. TextButton386.FontSize = Enum.FontSize.Size14
  8334. ScrollingFrame387.Name = "textBin"
  8335. ScrollingFrame387.Parent = TextButton386
  8336. ScrollingFrame387.Transparency = 1
  8337. ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
  8338. ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
  8339. ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
  8340. ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
  8341. ScrollingFrame387.BackgroundTransparency = 1
  8342. ScrollingFrame387.BorderSizePixel = 0
  8343. ScrollingFrame387.ZIndex = 8
  8344. ScrollingFrame387.ScrollBarThickness = 0
  8345. TextBox388.Name = "Text"
  8346. TextBox388.Parent = ScrollingFrame387
  8347. TextBox388.Transparency = 1
  8348. TextBox388.Size = UDim2.new(1, 0, 1, 0)
  8349. TextBox388.Text = "Type your command here!"
  8350. TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
  8351. TextBox388.BackgroundTransparency = 1
  8352. TextBox388.BorderSizePixel = 0
  8353. TextBox388.ZIndex = 8
  8354. TextBox388.ClearTextOnFocus = false
  8355. TextBox388.Font = Enum.Font.SourceSansBold
  8356. TextBox388.FontSize = Enum.FontSize.Size18
  8357. TextBox388.TextColor3 = Color3.new(1, 1, 1)
  8358. TextBox388.TextXAlignment = Enum.TextXAlignment.Left
  8359. ScrollingFrame389.Name = "commandList"
  8360. ScrollingFrame389.Parent = Frame385
  8361. ScrollingFrame389.Transparency = 1
  8362. ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
  8363. ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
  8364. ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
  8365. ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
  8366. ScrollingFrame389.BackgroundTransparency = 1
  8367. ScrollingFrame389.BorderSizePixel = 0
  8368. ScrollingFrame389.ZIndex = 8
  8369. ScrollingFrame389.ScrollBarThickness = 0
  8370. LocalScript390.Name = "manageCommands"
  8371. LocalScript390.Parent = Frame385
  8372. table.insert(cors,sandbox(LocalScript390,function()
  8373. function WaitForChild(...)
  8374. local args = {...}
  8375. local parent = args[1]
  8376. table.remove(args, 1)
  8377. local newArgs = {}
  8378. for i,v in pairs(args) do
  8379. table.insert(newArgs, i, parent:WaitForChild(v))
  8380. end
  8381. return unpack(newArgs)
  8382. end
  8383.  
  8384. local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
  8385.  
  8386. local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
  8387. local usageFrame = usageframe:WaitForChild'mainBar'
  8388. local barText = bar:WaitForChild'textBin':WaitForChild'Text'
  8389.  
  8390. local currentHover
  8391.  
  8392. local plr = game:service'Players'.LocalPlayer
  8393. local mouse = plr:GetMouse()
  8394. repeat mouse = plr:GetMouse() wait() until mouse
  8395.  
  8396. local cmdBarOpen = false
  8397.  
  8398. local co
  8399.  
  8400. function showList(txt)
  8401. currentHover = nil
  8402. list:ClearAllChildren()
  8403. local validCommands = {}
  8404. local usageCommands = {}
  8405. if string.len(txt) > 0 then
  8406. for _,v in pairs(cmdlist) do
  8407. if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
  8408. if #v.argumentsNeeded > 0 then
  8409. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  8410. usageCommands[v.commandMain] = v.Usage
  8411. else
  8412. validCommands[#validCommands+1] = v.commandMain
  8413. usageCommands[v.commandMain] = v.Usage
  8414. end
  8415. end
  8416. end
  8417. else
  8418. for _,v in pairs(cmdlist) do
  8419. if #v.argumentsNeeded > 0 then
  8420. validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
  8421. usageCommands[v.commandMain] = v.Usage
  8422. else
  8423. validCommands[#validCommands+1] = v.commandMain
  8424. usageCommands[v.commandMain] = v.Usage
  8425. end
  8426. end
  8427. end
  8428. table.sort(validCommands)
  8429. for i,v in pairs(validCommands) do
  8430. local fr = Instance.new('Frame')
  8431. fr.Name = "Suggestion"
  8432. fr.Style = Enum.FrameStyle.DropShadow
  8433. fr.Size = UDim2.new(1, 0, 0, 30)
  8434. fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
  8435. fr.ZIndex = 8
  8436. local sf = Instance.new('ScrollingFrame', fr)
  8437. sf.Name = 'infoFrame'
  8438. sf.Size = UDim2.new(1, 8, 1, 8)
  8439. sf.BackgroundTransparency = 1
  8440. sf.Position = UDim2.new(0, -4, 0, -4)
  8441. sf.CanvasSize = UDim2.new(0, 0, 0, 0)
  8442. local txt = Instance.new('TextLabel', sf)
  8443. txt.Text = v
  8444. txt.Size = UDim2.new(1, 0, 1, 5)
  8445. txt.BackgroundTransparency = 1
  8446. txt.TextColor3 = Color3.new(1, 1, 1)
  8447. txt.Position = UDim2.new(0, 4, 0, -4)
  8448. txt.Font = Enum.Font.SourceSansBold
  8449. txt.ZIndex = 8
  8450. txt.TextXAlignment = Enum.TextXAlignment.Left
  8451. txt.FontSize = Enum.FontSize.Size24
  8452. local txt2 = Instance.new('TextLabel', sf)
  8453. txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
  8454. txt2.Size = UDim2.new(1, 0, 1, 0)
  8455. txt2.Position = UDim2.new(1, 0, 0, -2)
  8456. txt2.BackgroundTransparency = 1
  8457. txt2.TextColor3 = Color3.new(1, 1, 1)
  8458. txt2.Font = Enum.Font.SourceSansBold
  8459. txt2.ZIndex = 8
  8460. txt2.TextXAlignment = Enum.TextXAlignment.Right
  8461. txt2.FontSize = Enum.FontSize.Size24
  8462. sf.MouseEnter:connect(function()
  8463. if currentHover then
  8464. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  8465. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
  8466. end
  8467. currentHover = {Text1 = txt, Text2 = txt2}
  8468. currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
  8469. currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
  8470. end)
  8471. fr.Parent = list
  8472. end
  8473. list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
  8474. end
  8475.  
  8476. barText.Changed:connect(function(changed)
  8477. if changed == "Text" and barText.Text ~= "Type your command here!" then
  8478. showList(barText.Text)
  8479. elseif changed == "Text" then
  8480. showList("")
  8481. end
  8482. end)
  8483.  
  8484. barText.Focused:connect(function()
  8485. if barText.Text == "Type your command here!" then
  8486. barText.Text = ""
  8487. end
  8488. end)
  8489.  
  8490. barText.FocusLost:connect(function(enterPressed)
  8491. if enterPressed == true then
  8492. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
  8493. showList("")
  8494. barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
  8495. if cmdBarOpen then
  8496. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  8497. if co then
  8498. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
  8499. end
  8500. end
  8501. cmdBarOpen = false
  8502. wait(.3)
  8503. barText.Text = "Type your command here!"
  8504. barText.Position = UDim2.new(0, 0, 0, 0)
  8505. end
  8506. end)
  8507.  
  8508. list.MouseLeave:connect(function()
  8509. if currentHover then
  8510. currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
  8511. currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
  8512. currentHover = nil
  8513. end
  8514. end)
  8515.  
  8516. function getCurrentOpen()
  8517. for _,v in pairs(script.Parent.Parent:GetChildren()) do
  8518. if v.Position.Y.Offset < 0 then
  8519. return v
  8520. end
  8521. end
  8522. return nil
  8523. end
  8524.  
  8525. mouse.KeyDown:connect(function(k)
  8526. if k == '\'' then
  8527. if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
  8528. co = getCurrentOpen()
  8529. if co then
  8530. co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
  8531. end
  8532. script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
  8533. barText:CaptureFocus()
  8534. cmdBarOpen = true
  8535. else
  8536. barText:CaptureFocus()
  8537. end
  8538. end
  8539. end)
  8540.  
  8541. local isOpen = false
  8542.  
  8543. usagebutton.MouseButton1Up:connect(function()
  8544. isOpen = not(isOpen)
  8545. usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
  8546. end)
  8547.  
  8548. showList("")
  8549. end))
  8550. ScrollingFrame391.Name = "commandUsage"
  8551. ScrollingFrame391.Parent = Frame385
  8552. ScrollingFrame391.Transparency = 1
  8553. ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
  8554. ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
  8555. ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
  8556. ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
  8557. ScrollingFrame391.BackgroundTransparency = 1
  8558. ScrollingFrame391.BorderSizePixel = 0
  8559. ScrollingFrame391.ScrollBarThickness = 1
  8560. Frame392.Name = "mainBar"
  8561. Frame392.Parent = ScrollingFrame391
  8562. Frame392.Size = UDim2.new(0, 300, 0, 350)
  8563. Frame392.Position = UDim2.new(1, 0, 1, -350)
  8564. Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8565. Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  8566. Frame392.BorderSizePixel = 0
  8567. Frame392.ZIndex = 8
  8568. TextLabel393.Name = "titleObject"
  8569. TextLabel393.Parent = Frame392
  8570. TextLabel393.Transparency = 1
  8571. TextLabel393.Size = UDim2.new(1, 0, 0, 50)
  8572. TextLabel393.Text = "Command Usage"
  8573. TextLabel393.Position = UDim2.new(0, 15, 0, 0)
  8574. TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
  8575. TextLabel393.BackgroundTransparency = 1
  8576. TextLabel393.BorderSizePixel = 0
  8577. TextLabel393.ZIndex = 8
  8578. TextLabel393.Font = Enum.Font.SourceSansBold
  8579. TextLabel393.FontSize = Enum.FontSize.Size24
  8580. TextLabel393.TextColor3 = Color3.new(1, 1, 1)
  8581. TextLabel393.TextStrokeTransparency = 0.69999998807907
  8582. TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
  8583. TextLabel394.Name = "context1"
  8584. TextLabel394.Parent = Frame392
  8585. TextLabel394.Transparency = 1
  8586. TextLabel394.Size = UDim2.new(1, 0, 0, 250)
  8587. TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
  8588. TextLabel394.Position = UDim2.new(0, 10, 0, 50)
  8589. TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
  8590. TextLabel394.BackgroundTransparency = 1
  8591. TextLabel394.BorderSizePixel = 0
  8592. TextLabel394.ZIndex = 8
  8593. TextLabel394.Font = Enum.Font.SourceSansBold
  8594. TextLabel394.FontSize = Enum.FontSize.Size18
  8595. TextLabel394.TextColor3 = Color3.new(1, 1, 1)
  8596. TextLabel394.TextStrokeTransparency = 0.69999998807907
  8597. TextLabel394.TextWrapped = true
  8598. TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
  8599. TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
  8600. ImageButton395.Name = "usageButton"
  8601. ImageButton395.Parent = Frame385
  8602. ImageButton395.Transparency = 1
  8603. ImageButton395.Size = UDim2.new(0, 30, 0, 30)
  8604. ImageButton395.Position = UDim2.new(1, -40, 0, 10)
  8605. ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
  8606. ImageButton395.BackgroundTransparency = 1
  8607. ImageButton395.BorderSizePixel = 0
  8608. ImageButton395.ZIndex = 8
  8609. ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
  8610. Frame396.Name = "Console"
  8611. Frame396.Parent = Frame383
  8612. Frame396.Size = UDim2.new(0.5, -20, 0, 350)
  8613. Frame396.Position = UDim2.new(0, 0, 1, 0)
  8614. Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8615. Frame396.BorderSizePixel = 0
  8616. Frame396.ZIndex = 8
  8617. TextButton397.Name = "createCode"
  8618. TextButton397.Parent = Frame396
  8619. TextButton397.Size = UDim2.new(1, -50, 0, 30)
  8620. TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
  8621. TextButton397.Text = ""
  8622. TextButton397.Position = UDim2.new(0, 25, 1, -40)
  8623. TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
  8624. TextButton397.ZIndex = 8
  8625. TextButton397.Selected = true
  8626. TextButton397.Font = Enum.Font.SourceSans
  8627. TextButton397.FontSize = Enum.FontSize.Size14
  8628. ScrollingFrame398.Name = "textBin"
  8629. ScrollingFrame398.Parent = TextButton397
  8630. ScrollingFrame398.Transparency = 1
  8631. ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
  8632. ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
  8633. ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
  8634. ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
  8635. ScrollingFrame398.BackgroundTransparency = 1
  8636. ScrollingFrame398.BorderSizePixel = 0
  8637. ScrollingFrame398.ZIndex = 8
  8638. ScrollingFrame398.ScrollBarThickness = 0
  8639. TextBox399.Name = "Text"
  8640. TextBox399.Parent = ScrollingFrame398
  8641. TextBox399.Transparency = 1
  8642. TextBox399.Size = UDim2.new(1, 0, 1, 0)
  8643. TextBox399.Text = ""
  8644. TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
  8645. TextBox399.BackgroundTransparency = 1
  8646. TextBox399.BorderSizePixel = 0
  8647. TextBox399.ZIndex = 10
  8648. TextBox399.ClearTextOnFocus = false
  8649. TextBox399.Font = Enum.Font.SourceSansBold
  8650. TextBox399.FontSize = Enum.FontSize.Size18
  8651. TextBox399.TextColor3 = Color3.new(1, 1, 1)
  8652. TextBox399.TextXAlignment = Enum.TextXAlignment.Left
  8653. ScrollingFrame400.Name = "consoleFrame"
  8654. ScrollingFrame400.Parent = Frame396
  8655. ScrollingFrame400.Transparency = 1
  8656. ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
  8657. ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
  8658. ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
  8659. ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
  8660. ScrollingFrame400.BackgroundTransparency = 1
  8661. ScrollingFrame400.BorderSizePixel = 0
  8662. ScrollingFrame400.ZIndex = 8
  8663. LocalScript401.Name = "manageConsole"
  8664. LocalScript401.Parent = Frame396
  8665. table.insert(cors,sandbox(LocalScript401,function()
  8666. function WaitForChild(...)
  8667. local args = {...}
  8668. local parent = args[1]
  8669. table.remove(args, 1)
  8670. local newArgs = {}
  8671. for i,v in pairs(args) do
  8672. table.insert(newArgs, i, parent:WaitForChild(v))
  8673. end
  8674. return unpack(newArgs)
  8675. end
  8676.  
  8677. local lines = {}
  8678. wait(.5)
  8679. local isLoadstring = true
  8680.  
  8681. local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
  8682.  
  8683. createCode.Visible = isLoadstring
  8684.  
  8685. if isLoadstring then
  8686. script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
  8687. end
  8688.  
  8689. function createLine(text, color3)
  8690. if #lines == 32 then
  8691. lines[1]:remove()
  8692. end
  8693. for _,v in pairs(consoleFrame:GetChildren()) do
  8694. v.Position = v.Position - UDim2.new(0, 0, 0, 15)
  8695. end
  8696. local newLine = Instance.new('TextLabel', consoleFrame)
  8697. newLine.Text = tostring(" " .. text)
  8698. newLine.BackgroundTransparency = 1
  8699. newLine.TextColor3 = color3
  8700. newLine.FontSize = Enum.FontSize.Size14
  8701. newLine.Font = Enum.Font.SourceSansBold
  8702. newLine.ZIndex = 8
  8703. newLine.TextXAlignment = Enum.TextXAlignment.Left
  8704. newLine.Size = UDim2.new(1, 0, 0, 15)
  8705. newLine.Position = UDim2.new(0, 0, 1, -15)
  8706. lines[#lines+1] = newLine
  8707. return newLine
  8708. end
  8709.  
  8710. script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
  8711. createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
  8712. end)
  8713.  
  8714. createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
  8715. if enterPressed then
  8716. createLine("Script ran!", Color3.new(1, 1, 1))
  8717. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
  8718. wait()
  8719. createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
  8720. wait(.3)
  8721. createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
  8722. createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
  8723. end
  8724. end)
  8725.  
  8726. createLine('Console loaded!', Color3.new(1, 1, 1))
  8727. end))
  8728. Frame402.Name = "Info"
  8729. Frame402.Parent = Frame383
  8730. Frame402.Size = UDim2.new(0, 300, 0, 400)
  8731. Frame402.Position = UDim2.new(1, -340, 1, 0)
  8732. Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8733. Frame402.BorderSizePixel = 0
  8734. Frame402.ZIndex = 8
  8735. ScrollingFrame403.Name = "frameContainer"
  8736. ScrollingFrame403.Parent = Frame402
  8737. ScrollingFrame403.Transparency = 1
  8738. ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
  8739. ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
  8740. ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
  8741. ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
  8742. ScrollingFrame403.BackgroundTransparency = 1
  8743. ScrollingFrame403.BorderSizePixel = 0
  8744. ScrollingFrame403.ZIndex = 8
  8745. ScrollingFrame403.ScrollBarThickness = 0
  8746. Frame404.Name = "Updates"
  8747. Frame404.Parent = ScrollingFrame403
  8748. Frame404.Transparency = 1
  8749. Frame404.Size = UDim2.new(1, 0, 1, 0)
  8750. Frame404.Position = UDim2.new(0, 0, -1, 0)
  8751. Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
  8752. Frame404.BackgroundTransparency = 1
  8753. Frame404.BorderSizePixel = 0
  8754. Frame404.ZIndex = 8
  8755. TextLabel405.Name = "updateInfo"
  8756. TextLabel405.Parent = Frame404
  8757. TextLabel405.Transparency = 1
  8758. TextLabel405.Size = UDim2.new(1, 0, 1, -40)
  8759. TextLabel405.Text = "updateInfo"
  8760. TextLabel405.Position = UDim2.new(0, 0, 0, 40)
  8761. TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
  8762. TextLabel405.BackgroundTransparency = 1
  8763. TextLabel405.BorderSizePixel = 0
  8764. TextLabel405.ZIndex = 8
  8765. TextLabel405.Font = Enum.Font.SourceSans
  8766. TextLabel405.FontSize = Enum.FontSize.Size18
  8767. TextLabel405.TextColor3 = Color3.new(1, 1, 1)
  8768. TextLabel405.TextStrokeTransparency = 0.69999998807907
  8769. TextLabel405.TextWrapped = true
  8770. TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
  8771. TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
  8772. TextLabel406.Name = "currentVersion"
  8773. TextLabel406.Parent = Frame404
  8774. TextLabel406.Transparency = 1
  8775. TextLabel406.Size = UDim2.new(1, 0, 0, 10)
  8776. TextLabel406.Text = "v1.22"
  8777. TextLabel406.Position = UDim2.new(0, 0, 0, 27)
  8778. TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
  8779. TextLabel406.BackgroundTransparency = 1
  8780. TextLabel406.BorderSizePixel = 0
  8781. TextLabel406.ZIndex = 8
  8782. TextLabel406.Font = Enum.Font.SourceSansBold
  8783. TextLabel406.FontSize = Enum.FontSize.Size14
  8784. TextLabel406.TextColor3 = Color3.new(1, 1, 1)
  8785. TextLabel406.TextStrokeTransparency = 0.69999998807907
  8786. TextLabel406.TextWrapped = true
  8787. TextLabel407.Name = "Title"
  8788. TextLabel407.Parent = Frame404
  8789. TextLabel407.Transparency = 1
  8790. TextLabel407.Size = UDim2.new(1, 0, 0, 30)
  8791. TextLabel407.Text = "Updates"
  8792. TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
  8793. TextLabel407.BackgroundTransparency = 1
  8794. TextLabel407.BorderSizePixel = 0
  8795. TextLabel407.ZIndex = 8
  8796. TextLabel407.Font = Enum.Font.SourceSansBold
  8797. TextLabel407.FontSize = Enum.FontSize.Size24
  8798. TextLabel407.TextColor3 = Color3.new(1, 1, 1)
  8799. TextLabel407.TextStrokeTransparency = 0.69999998807907
  8800. TextLabel407.TextWrapped = true
  8801. Frame408.Name = "Info"
  8802. Frame408.Parent = ScrollingFrame403
  8803. Frame408.Transparency = 1
  8804. Frame408.Size = UDim2.new(1, 0, 1, 0)
  8805. Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
  8806. Frame408.BackgroundTransparency = 1
  8807. Frame408.BorderSizePixel = 0
  8808. Frame408.ZIndex = 8
  8809. TextLabel409.Name = "context1"
  8810. TextLabel409.Parent = Frame408
  8811. TextLabel409.Transparency = 1
  8812. TextLabel409.Size = UDim2.new(1, 0, 0, 73)
  8813. TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
  8814. TextLabel409.Position = UDim2.new(0, 0, 0, 23)
  8815. TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
  8816. TextLabel409.BackgroundTransparency = 1
  8817. TextLabel409.BorderSizePixel = 0
  8818. TextLabel409.ZIndex = 8
  8819. TextLabel409.Font = Enum.Font.SourceSans
  8820. TextLabel409.FontSize = Enum.FontSize.Size18
  8821. TextLabel409.TextColor3 = Color3.new(1, 1, 1)
  8822. TextLabel409.TextStrokeTransparency = 0.69999998807907
  8823. TextLabel409.TextWrapped = true
  8824. TextLabel410.Name = "Title"
  8825. TextLabel410.Parent = Frame408
  8826. TextLabel410.Transparency = 1
  8827. TextLabel410.Size = UDim2.new(1, -56, 0, 20)
  8828. TextLabel410.Text = "Created and Managed by"
  8829. TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
  8830. TextLabel410.BackgroundTransparency = 1
  8831. TextLabel410.BorderSizePixel = 0
  8832. TextLabel410.ZIndex = 8
  8833. TextLabel410.Font = Enum.Font.SourceSansBold
  8834. TextLabel410.FontSize = Enum.FontSize.Size18
  8835. TextLabel410.TextColor3 = Color3.new(1, 1, 1)
  8836. TextLabel410.TextStrokeTransparency = 0.69999998807907
  8837. TextLabel411.Name = "userName"
  8838. TextLabel411.Parent = TextLabel410
  8839. TextLabel411.Transparency = 1
  8840. TextLabel411.Size = UDim2.new(0, 56, 1, 0)
  8841. TextLabel411.Text = "Reselim"
  8842. TextLabel411.Position = UDim2.new(1, -12, 0, 0)
  8843. TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
  8844. TextLabel411.BackgroundTransparency = 1
  8845. TextLabel411.BorderSizePixel = 0
  8846. TextLabel411.ZIndex = 8
  8847. TextLabel411.Font = Enum.Font.SourceSansBold
  8848. TextLabel411.FontSize = Enum.FontSize.Size18
  8849. TextLabel411.TextColor3 = Color3.new(1, 1, 0)
  8850. TextLabel411.TextStrokeTransparency = 0.69999998807907
  8851. TextButton412.Name = "getModel"
  8852. TextButton412.Parent = Frame408
  8853. TextButton412.Size = UDim2.new(1, -20, 0, 30)
  8854. TextButton412.Text = "Want the model? Click here!"
  8855. TextButton412.Position = UDim2.new(0, 10, 0, 105)
  8856. TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8857. TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  8858. TextButton412.BorderSizePixel = 3
  8859. TextButton412.ZIndex = 8
  8860. TextButton412.Font = Enum.Font.SourceSansBold
  8861. TextButton412.FontSize = Enum.FontSize.Size24
  8862. TextButton412.TextColor3 = Color3.new(1, 1, 1)
  8863. TextButton412.TextScaled = true
  8864. TextButton412.TextStrokeTransparency = 0.69999998807907
  8865. TextButton412.TextWrapped = true
  8866. TextLabel413.Name = "DonateLabel"
  8867. TextLabel413.Parent = Frame408
  8868. TextLabel413.Transparency = 1
  8869. TextLabel413.Size = UDim2.new(1, 0, 0, 20)
  8870. TextLabel413.Text = "Donate"
  8871. TextLabel413.Position = UDim2.new(0, 0, 0, 140)
  8872. TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
  8873. TextLabel413.BackgroundTransparency = 1
  8874. TextLabel413.BorderSizePixel = 0
  8875. TextLabel413.ZIndex = 8
  8876. TextLabel413.Font = Enum.Font.SourceSansBold
  8877. TextLabel413.FontSize = Enum.FontSize.Size18
  8878. TextLabel413.TextColor3 = Color3.new(1, 1, 1)
  8879. TextLabel413.TextStrokeTransparency = 0.69999998807907
  8880. TextLabel414.Name = "DonateInfo"
  8881. TextLabel414.Parent = TextLabel413
  8882. TextLabel414.Transparency = 1
  8883. TextLabel414.Size = UDim2.new(1, 0, 0, 126)
  8884. TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
  8885. TextLabel414.Position = UDim2.new(0, 0, 1, 0)
  8886. TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
  8887. TextLabel414.BackgroundTransparency = 1
  8888. TextLabel414.BorderSizePixel = 0
  8889. TextLabel414.ZIndex = 8
  8890. TextLabel414.Font = Enum.Font.SourceSans
  8891. TextLabel414.FontSize = Enum.FontSize.Size18
  8892. TextLabel414.TextColor3 = Color3.new(1, 1, 1)
  8893. TextLabel414.TextStrokeTransparency = 0.69999998807907
  8894. TextLabel414.TextWrapped = true
  8895. TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
  8896. TextButton415.Name = "donateRobux"
  8897. TextButton415.Parent = Frame408
  8898. TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
  8899. TextButton415.Text = "25 R$"
  8900. TextButton415.Position = UDim2.new(0, 10, 1, -75)
  8901. TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8902. TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  8903. TextButton415.BorderSizePixel = 3
  8904. TextButton415.ZIndex = 8
  8905. TextButton415.Font = Enum.Font.SourceSansBold
  8906. TextButton415.FontSize = Enum.FontSize.Size24
  8907. TextButton415.TextColor3 = Color3.new(1, 1, 1)
  8908. TextButton415.TextScaled = true
  8909. TextButton415.TextStrokeTransparency = 0.69999998807907
  8910. TextButton415.TextWrapped = true
  8911. TextButton416.Name = "donateTickets"
  8912. TextButton416.Parent = Frame408
  8913. TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
  8914. TextButton416.Text = "100 Tix"
  8915. TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
  8916. TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  8917. TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  8918. TextButton416.BorderSizePixel = 3
  8919. TextButton416.ZIndex = 8
  8920. TextButton416.Font = Enum.Font.SourceSansBold
  8921. TextButton416.FontSize = Enum.FontSize.Size24
  8922. TextButton416.TextColor3 = Color3.new(1, 1, 1)
  8923. TextButton416.TextScaled = true
  8924. TextButton416.TextStrokeTransparency = 0.69999998807907
  8925. TextButton416.TextWrapped = true
  8926. Frame417.Name = "Buttons"
  8927. Frame417.Parent = ScrollingFrame403
  8928. Frame417.Transparency = 1
  8929. Frame417.Size = UDim2.new(1, 0, 1, 0)
  8930. Frame417.Position = UDim2.new(0, 0, -1, 0)
  8931. Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
  8932. Frame417.BackgroundTransparency = 1
  8933. Frame417.BorderSizePixel = 0
  8934. Frame417.ZIndex = 8
  8935. TextLabel418.Name = "players"
  8936. TextLabel418.Parent = Frame417
  8937. TextLabel418.Transparency = 1
  8938. TextLabel418.Size = UDim2.new(1, 0, 0, 30)
  8939. TextLabel418.Text = "Players"
  8940. TextLabel418.Position = UDim2.new(0, 3, 0, 30)
  8941. TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
  8942. TextLabel418.BackgroundTransparency = 1
  8943. TextLabel418.BorderSizePixel = 0
  8944. TextLabel418.ZIndex = 8
  8945. TextLabel418.Font = Enum.Font.SourceSansBold
  8946. TextLabel418.FontSize = Enum.FontSize.Size18
  8947. TextLabel418.TextColor3 = Color3.new(1, 1, 1)
  8948. TextLabel418.TextStrokeTransparency = 0.69999998807907
  8949. TextLabel418.TextWrapped = true
  8950. TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
  8951. TextLabel419.Name = "context"
  8952. TextLabel419.Parent = TextLabel418
  8953. TextLabel419.Transparency = 1
  8954. TextLabel419.Size = UDim2.new(1, -20, 0, 60)
  8955. TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
  8956. TextLabel419.Position = UDim2.new(0, 17, 0, 30)
  8957. TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
  8958. TextLabel419.BackgroundTransparency = 1
  8959. TextLabel419.BorderSizePixel = 0
  8960. TextLabel419.ZIndex = 8
  8961. TextLabel419.Font = Enum.Font.SourceSansBold
  8962. TextLabel419.FontSize = Enum.FontSize.Size18
  8963. TextLabel419.TextColor3 = Color3.new(1, 1, 1)
  8964. TextLabel419.TextStrokeTransparency = 0.69999998807907
  8965. TextLabel419.TextWrapped = true
  8966. TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
  8967. TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
  8968. TextLabel420.Name = "console"
  8969. TextLabel420.Parent = Frame417
  8970. TextLabel420.Transparency = 1
  8971. TextLabel420.Size = UDim2.new(1, 0, 0, 30)
  8972. TextLabel420.Text = "Console"
  8973. TextLabel420.Position = UDim2.new(0, 3, 0, 110)
  8974. TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
  8975. TextLabel420.BackgroundTransparency = 1
  8976. TextLabel420.BorderSizePixel = 0
  8977. TextLabel420.ZIndex = 8
  8978. TextLabel420.Font = Enum.Font.SourceSansBold
  8979. TextLabel420.FontSize = Enum.FontSize.Size18
  8980. TextLabel420.TextColor3 = Color3.new(1, 1, 1)
  8981. TextLabel420.TextStrokeTransparency = 0.69999998807907
  8982. TextLabel420.TextWrapped = true
  8983. TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
  8984. TextLabel421.Name = "context"
  8985. TextLabel421.Parent = TextLabel420
  8986. TextLabel421.Transparency = 1
  8987. TextLabel421.Size = UDim2.new(1, -20, 0, 40)
  8988. TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
  8989. TextLabel421.Position = UDim2.new(0, 17, 0, 30)
  8990. TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
  8991. TextLabel421.BackgroundTransparency = 1
  8992. TextLabel421.BorderSizePixel = 0
  8993. TextLabel421.ZIndex = 8
  8994. TextLabel421.Font = Enum.Font.SourceSansBold
  8995. TextLabel421.FontSize = Enum.FontSize.Size18
  8996. TextLabel421.TextColor3 = Color3.new(1, 1, 1)
  8997. TextLabel421.TextStrokeTransparency = 0.69999998807907
  8998. TextLabel421.TextWrapped = true
  8999. TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
  9000. TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
  9001. TextLabel422.Name = "commands"
  9002. TextLabel422.Parent = Frame417
  9003. TextLabel422.Transparency = 1
  9004. TextLabel422.Size = UDim2.new(1, 0, 0, 30)
  9005. TextLabel422.Text = "Commands"
  9006. TextLabel422.Position = UDim2.new(0, 3, 0, 173)
  9007. TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
  9008. TextLabel422.BackgroundTransparency = 1
  9009. TextLabel422.BorderSizePixel = 0
  9010. TextLabel422.ZIndex = 8
  9011. TextLabel422.Font = Enum.Font.SourceSansBold
  9012. TextLabel422.FontSize = Enum.FontSize.Size18
  9013. TextLabel422.TextColor3 = Color3.new(1, 1, 1)
  9014. TextLabel422.TextStrokeTransparency = 0.69999998807907
  9015. TextLabel422.TextWrapped = true
  9016. TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
  9017. TextLabel423.Name = "context"
  9018. TextLabel423.Parent = TextLabel422
  9019. TextLabel423.Transparency = 1
  9020. TextLabel423.Size = UDim2.new(1, -20, 0, 60)
  9021. TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
  9022. TextLabel423.Position = UDim2.new(0, 17, 0, 30)
  9023. TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
  9024. TextLabel423.BackgroundTransparency = 1
  9025. TextLabel423.BorderSizePixel = 0
  9026. TextLabel423.ZIndex = 8
  9027. TextLabel423.Font = Enum.Font.SourceSansBold
  9028. TextLabel423.FontSize = Enum.FontSize.Size18
  9029. TextLabel423.TextColor3 = Color3.new(1, 1, 1)
  9030. TextLabel423.TextStrokeTransparency = 0.69999998807907
  9031. TextLabel423.TextWrapped = true
  9032. TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
  9033. TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
  9034. TextLabel424.Name = "Title"
  9035. TextLabel424.Parent = Frame417
  9036. TextLabel424.Transparency = 1
  9037. TextLabel424.Size = UDim2.new(1, 0, 0, 30)
  9038. TextLabel424.Text = "Buttons"
  9039. TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
  9040. TextLabel424.BackgroundTransparency = 1
  9041. TextLabel424.BorderSizePixel = 0
  9042. TextLabel424.ZIndex = 8
  9043. TextLabel424.Font = Enum.Font.SourceSansBold
  9044. TextLabel424.FontSize = Enum.FontSize.Size24
  9045. TextLabel424.TextColor3 = Color3.new(1, 1, 1)
  9046. TextLabel424.TextStrokeTransparency = 0.69999998807907
  9047. TextLabel424.TextWrapped = true
  9048. Frame425.Name = "buttonsFrame"
  9049. Frame425.Parent = Frame402
  9050. Frame425.Size = UDim2.new(1, -50, 0, 30)
  9051. Frame425.Position = UDim2.new(0, 25, 0, 25)
  9052. Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9053. Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
  9054. Frame425.BorderSizePixel = 5
  9055. Frame425.ZIndex = 8
  9056. TextButton426.Name = "Updates"
  9057. TextButton426.Parent = Frame425
  9058. TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
  9059. TextButton426.Text = "Updates"
  9060. TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
  9061. TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9062. TextButton426.BorderSizePixel = 0
  9063. TextButton426.ZIndex = 8
  9064. TextButton426.Font = Enum.Font.SourceSansBold
  9065. TextButton426.FontSize = Enum.FontSize.Size24
  9066. TextButton426.TextColor3 = Color3.new(1, 1, 1)
  9067. TextButton426.TextStrokeTransparency = 0.69999998807907
  9068. TextButton427.Name = "Info"
  9069. TextButton427.Parent = Frame425
  9070. TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
  9071. TextButton427.Text = "Info"
  9072. TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9073. TextButton427.BorderSizePixel = 0
  9074. TextButton427.ZIndex = 8
  9075. TextButton427.Font = Enum.Font.SourceSansBold
  9076. TextButton427.FontSize = Enum.FontSize.Size24
  9077. TextButton427.TextColor3 = Color3.new(1, 1, 1)
  9078. TextButton427.TextStrokeTransparency = 0.69999998807907
  9079. TextButton428.Name = "Buttons"
  9080. TextButton428.Parent = Frame425
  9081. TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
  9082. TextButton428.Text = "Buttons"
  9083. TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
  9084. TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9085. TextButton428.BorderSizePixel = 0
  9086. TextButton428.ZIndex = 8
  9087. TextButton428.Font = Enum.Font.SourceSansBold
  9088. TextButton428.FontSize = Enum.FontSize.Size24
  9089. TextButton428.TextColor3 = Color3.new(1, 1, 1)
  9090. TextButton428.TextStrokeTransparency = 0.69999998807907
  9091. Frame429.Name = "selectionFrame"
  9092. Frame429.Parent = Frame425
  9093. Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
  9094. Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
  9095. Frame429.BorderSizePixel = 0
  9096. Frame429.ZIndex = 8
  9097. LocalScript430.Name = "manageInfo"
  9098. LocalScript430.Parent = Frame402
  9099. table.insert(cors,sandbox(LocalScript430,function()
  9100. local version = 1.37
  9101. local newestUpdate = [[
  9102. - Can now be closed! (button 2ugly4me)
  9103. - Few new commands.
  9104. ]]
  9105.  
  9106. local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
  9107. local frames = script.Parent:WaitForChild'frameContainer'
  9108. local selector = buttonsFrame:WaitForChild'selectionFrame'
  9109. repeat wait() until #buttonsFrame:GetChildren() == 4
  9110. for _,v in pairs(buttonsFrame:GetChildren()) do
  9111. if v.ClassName == "TextButton" then
  9112. v.MouseEnter:connect(function()
  9113. selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
  9114. for _,v in pairs(frames:GetChildren()) do
  9115. v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
  9116. end
  9117. frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
  9118. end)
  9119. end
  9120. end
  9121.  
  9122. local infoFrame = frames:WaitForChild'Info'
  9123. local getModel = infoFrame:WaitForChild'getModel'
  9124. local robux = infoFrame:WaitForChild'donateRobux'
  9125. local tickets = infoFrame:WaitForChild'donateTickets'
  9126.  
  9127. getModel.MouseButton1Up:connect(function()
  9128. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
  9129. end)
  9130.  
  9131. frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
  9132. frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
  9133.  
  9134. robux.MouseButton1Up:connect(function()
  9135. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
  9136. end)
  9137.  
  9138. tickets.MouseButton1Up:connect(function()
  9139. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
  9140. end)
  9141. end))
  9142. Frame431.Name = "Players"
  9143. Frame431.Parent = Frame383
  9144. Frame431.Size = UDim2.new(0, 200, 0, 350)
  9145. Frame431.Position = UDim2.new(0, 0, 1, 0)
  9146. Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9147. Frame431.BorderSizePixel = 0
  9148. Frame431.ZIndex = 8
  9149. Frame432.Name = "Template"
  9150. Frame432.Parent = Frame431
  9151. Frame432.Size = UDim2.new(1, 0, 0, 30)
  9152. Frame432.Style = Enum.FrameStyle.DropShadow
  9153. Frame432.Visible = false
  9154. Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
  9155. Frame432.ZIndex = 8
  9156. TextLabel433.Name = "playerName"
  9157. TextLabel433.Parent = Frame432
  9158. TextLabel433.Transparency = 1
  9159. TextLabel433.Size = UDim2.new(1, 0, 1, 0)
  9160. TextLabel433.Text = "OnlyTwentyCharacters"
  9161. TextLabel433.Position = UDim2.new(0, 25, 0, 0)
  9162. TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
  9163. TextLabel433.BackgroundTransparency = 1
  9164. TextLabel433.BorderSizePixel = 0
  9165. TextLabel433.ZIndex = 8
  9166. TextLabel433.Font = Enum.Font.SourceSansBold
  9167. TextLabel433.FontSize = Enum.FontSize.Size14
  9168. TextLabel433.TextColor3 = Color3.new(1, 1, 1)
  9169. TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
  9170. TextButton434.Name = "removeButton"
  9171. TextButton434.Parent = Frame432
  9172. TextButton434.Size = UDim2.new(0, 24, 0, 24)
  9173. TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  9174. TextButton434.Text = "X"
  9175. TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
  9176. TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
  9177. TextButton434.ZIndex = 8
  9178. TextButton434.Font = Enum.Font.SourceSansBold
  9179. TextButton434.FontSize = Enum.FontSize.Size18
  9180. TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
  9181. ScrollingFrame435.Name = "playerImage"
  9182. ScrollingFrame435.Parent = Frame432
  9183. ScrollingFrame435.Transparency = 1
  9184. ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
  9185. ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
  9186. ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
  9187. ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
  9188. ScrollingFrame435.BackgroundTransparency = 1
  9189. ScrollingFrame435.BorderSizePixel = 0
  9190. ScrollingFrame435.ZIndex = 8
  9191. ScrollingFrame435.ScrollBarThickness = 0
  9192. ImageLabel436.Name = "image"
  9193. ImageLabel436.Parent = ScrollingFrame435
  9194. ImageLabel436.Transparency = 1
  9195. ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
  9196. ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
  9197. ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
  9198. ImageLabel436.BackgroundTransparency = 1
  9199. ImageLabel436.BorderSizePixel = 0
  9200. ImageLabel436.ZIndex = 8
  9201. ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
  9202. ScrollingFrame437.Name = "PlayerList"
  9203. ScrollingFrame437.Parent = Frame431
  9204. ScrollingFrame437.Transparency = 1
  9205. ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
  9206. ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
  9207. ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
  9208. ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
  9209. ScrollingFrame437.BackgroundTransparency = 1
  9210. ScrollingFrame437.BorderSizePixel = 0
  9211. ScrollingFrame437.ZIndex = 8
  9212. ScrollingFrame437.ScrollBarThickness = 0
  9213. LocalScript438.Name = "manageList"
  9214. LocalScript438.Parent = Frame431
  9215. table.insert(cors,sandbox(LocalScript438,function()
  9216. function WaitForChild(...)
  9217. local args = {...}
  9218. local parent = args[1]
  9219. table.remove(args, 1)
  9220. local newArgs = {}
  9221. for i,v in pairs(args) do
  9222. table.insert(newArgs, i, parent:WaitForChild(v))
  9223. end
  9224. return unpack(newArgs)
  9225. end
  9226.  
  9227. local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
  9228.  
  9229. function refresh()
  9230. scrollable:ClearAllChildren()
  9231. for i,v in pairs(game:service'Players':GetChildren()) do
  9232. local newTemplate = template:Clone()
  9233. newTemplate.Name = v.Name
  9234. local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
  9235. imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
  9236. playerName.Text = v.Name
  9237. removePlayer.MouseButton1Up:connect(function()
  9238. script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
  9239. end)
  9240. newTemplate.Parent = scrollable
  9241. newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
  9242. newTemplate.Visible = true
  9243. end
  9244. scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
  9245. end
  9246.  
  9247. refresh()
  9248.  
  9249. game:service'Players'.ChildAdded:connect(refresh)
  9250. game:service'Players'.ChildRemoved:connect(refresh)
  9251.  
  9252. end))
  9253. Frame439.Name = "bottomFrame"
  9254. Frame439.Parent = ScreenGui284
  9255. Frame439.Size = UDim2.new(1, 0, 0, 30)
  9256. Frame439.Position = UDim2.new(0, 0, 1, -30)
  9257. Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9258. Frame439.BorderSizePixel = 0
  9259. Frame439.ZIndex = 9
  9260. ImageLabel440.Name = "TopShadow"
  9261. ImageLabel440.Parent = Frame439
  9262. ImageLabel440.Transparency = 1
  9263. ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
  9264. ImageLabel440.BackgroundTransparency = 1
  9265. ImageLabel440.ZIndex = 9
  9266. ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
  9267. ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
  9268. ImageLabel440.ImageRectSize = Vector2.new(11, 11)
  9269. ImageLabel440.ImageTransparency = 0.5
  9270. Frame441.Name = "buttonsFrame"
  9271. Frame441.Parent = Frame439
  9272. Frame441.Transparency = 1
  9273. Frame441.Size = UDim2.new(1, 0, 1, 0)
  9274. Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
  9275. Frame441.BackgroundTransparency = 1
  9276. Frame441.BorderSizePixel = 0
  9277. Frame441.ZIndex = 10
  9278. TextButton442.Name = "Close"
  9279. TextButton442.Parent = Frame441
  9280. TextButton442.Size = UDim2.new(0, 40, 0, 30)
  9281. TextButton442.Text = ""
  9282. TextButton442.Position = UDim2.new(1, -40, 0, 0)
  9283. TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9284. TextButton442.BorderSizePixel = 0
  9285. TextButton442.ZIndex = 9
  9286. TextButton442.Font = Enum.Font.SourceSansBold
  9287. TextButton442.FontSize = Enum.FontSize.Size24
  9288. TextButton442.TextColor3 = Color3.new(1, 1, 1)
  9289. TextButton442.TextStrokeTransparency = 0.69999998807907
  9290. TextLabel443.Name = "text"
  9291. TextLabel443.Parent = TextButton442
  9292. TextLabel443.Transparency = 1
  9293. TextLabel443.Text = "V"
  9294. TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
  9295. TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
  9296. TextLabel443.BackgroundTransparency = 1
  9297. TextLabel443.BorderSizePixel = 0
  9298. TextLabel443.ZIndex = 9
  9299. TextLabel443.Font = Enum.Font.SourceSansBold
  9300. TextLabel443.FontSize = Enum.FontSize.Size24
  9301. TextLabel443.TextColor3 = Color3.new(1, 1, 1)
  9302. TextLabel443.TextStrokeTransparency = 0.69999998807907
  9303. Frame444.Name = "selectionFrame"
  9304. Frame444.Parent = Frame441
  9305. Frame444.Size = UDim2.new(0, 40, 0, 3)
  9306. Frame444.Position = UDim2.new(1, -40, 0, 0)
  9307. Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
  9308. Frame444.BorderSizePixel = 0
  9309. Frame444.ZIndex = 10
  9310. TextButton445.Name = "Players"
  9311. TextButton445.Parent = Frame441
  9312. TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
  9313. TextButton445.Text = "Players"
  9314. TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9315. TextButton445.BorderSizePixel = 0
  9316. TextButton445.ZIndex = 9
  9317. TextButton445.Font = Enum.Font.SourceSansBold
  9318. TextButton445.FontSize = Enum.FontSize.Size24
  9319. TextButton445.TextColor3 = Color3.new(1, 1, 1)
  9320. TextButton445.TextStrokeTransparency = 0.69999998807907
  9321. TextButton446.Name = "Info"
  9322. TextButton446.Parent = Frame441
  9323. TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
  9324. TextButton446.Text = "Information"
  9325. TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
  9326. TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9327. TextButton446.BorderSizePixel = 0
  9328. TextButton446.ZIndex = 9
  9329. TextButton446.Font = Enum.Font.SourceSansBold
  9330. TextButton446.FontSize = Enum.FontSize.Size24
  9331. TextButton446.TextColor3 = Color3.new(1, 1, 1)
  9332. TextButton446.TextStrokeTransparency = 0.69999998807907
  9333. TextButton447.Name = "Console"
  9334. TextButton447.Parent = Frame441
  9335. TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
  9336. TextButton447.Text = "Console"
  9337. TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
  9338. TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9339. TextButton447.BorderSizePixel = 0
  9340. TextButton447.ZIndex = 9
  9341. TextButton447.Font = Enum.Font.SourceSansBold
  9342. TextButton447.FontSize = Enum.FontSize.Size24
  9343. TextButton447.TextColor3 = Color3.new(1, 1, 1)
  9344. TextButton447.TextStrokeTransparency = 0.69999998807907
  9345. TextButton448.Name = "Commands"
  9346. TextButton448.Parent = Frame441
  9347. TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
  9348. TextButton448.Text = "Commands"
  9349. TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
  9350. TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9351. TextButton448.BorderSizePixel = 0
  9352. TextButton448.ZIndex = 9
  9353. TextButton448.Font = Enum.Font.SourceSansBold
  9354. TextButton448.FontSize = Enum.FontSize.Size24
  9355. TextButton448.TextColor3 = Color3.new(1, 1, 1)
  9356. TextButton448.TextStrokeTransparency = 0.69999998807907
  9357. Frame449.Name = "bottomSpace"
  9358. Frame449.Parent = Frame439
  9359. Frame449.Size = UDim2.new(1, 0, 0, 80)
  9360. Frame449.Position = UDim2.new(0, 0, 1, 0)
  9361. Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9362. Frame449.BorderSizePixel = 0
  9363. Frame449.ZIndex = 9
  9364. LocalScript450.Name = "manageHotbar"
  9365. LocalScript450.Parent = Frame439
  9366. table.insert(cors,sandbox(LocalScript450,function()
  9367. local plr = game:service'Players'.LocalPlayer
  9368. local backpack = plr:WaitForChild'Backpack'
  9369.  
  9370. local isOpen = false
  9371.  
  9372. function isClassInInstance(class, inst)
  9373. for _,v in pairs(inst:GetChildren()) do
  9374. if v.ClassName == class then
  9375. return true
  9376. end
  9377. end
  9378. return false
  9379. end
  9380.  
  9381. function isItems()
  9382. if #backpack:GetChildren() == 0 then
  9383. if plr.Character and isClassInInstance('Tool', plr.Character) then
  9384. return true
  9385. else
  9386. return false
  9387. end
  9388. else
  9389. return true
  9390. end
  9391. end
  9392.  
  9393. function check()
  9394. if isItems() == true and isOpen == false then
  9395. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
  9396. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
  9397. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
  9398. isOpen = true
  9399. elseif isItems() == false and isOpen == true then
  9400. script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
  9401. script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
  9402. script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
  9403. isOpen = false
  9404. end
  9405. end
  9406.  
  9407. check()
  9408.  
  9409. backpack.ChildAdded:connect(check)
  9410. backpack.ChildRemoved:connect(check)
  9411.  
  9412. repeat wait() until plr.Character
  9413.  
  9414. if plr.Character then
  9415. plr.Character.ChildAdded:connect(check)
  9416. plr.Character.ChildRemoved:connect(check)
  9417. end
  9418. end))
  9419. TextButton451.Name = "closeButton"
  9420. TextButton451.Parent = ScreenGui284
  9421. TextButton451.Size = UDim2.new(0, 40, 0, 30)
  9422. TextButton451.Text = ""
  9423. TextButton451.Position = UDim2.new(1, -40, 1, -60)
  9424. TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9425. TextButton451.BorderSizePixel = 0
  9426. TextButton451.ZIndex = 8
  9427. TextButton451.Font = Enum.Font.SourceSansBold
  9428. TextButton451.FontSize = Enum.FontSize.Size24
  9429. TextButton451.TextColor3 = Color3.new(1, 1, 1)
  9430. TextButton451.TextStrokeTransparency = 0.69999998807907
  9431. Frame452.Name = "textFrame"
  9432. Frame452.Parent = TextButton451
  9433. Frame452.Transparency = 1
  9434. Frame452.Size = UDim2.new(1, 0, 1, 0)
  9435. Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
  9436. Frame452.BackgroundTransparency = 1
  9437. Frame452.BorderSizePixel = 0
  9438. Frame452.ZIndex = 10
  9439. TextLabel453.Name = "UpperClose"
  9440. TextLabel453.Parent = Frame452
  9441. TextLabel453.Transparency = 1
  9442. TextLabel453.Text = "V"
  9443. TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
  9444. TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9445. TextLabel453.BackgroundTransparency = 1
  9446. TextLabel453.BorderSizePixel = 0
  9447. TextLabel453.ZIndex = 8
  9448. TextLabel453.Font = Enum.Font.SourceSansLight
  9449. TextLabel453.FontSize = Enum.FontSize.Size24
  9450. TextLabel453.TextColor3 = Color3.new(1, 1, 1)
  9451. TextLabel453.TextStrokeTransparency = 0.69999998807907
  9452. TextLabel453.TextWrapped = true
  9453. TextLabel454.Name = "LowerClose"
  9454. TextLabel454.Parent = Frame452
  9455. TextLabel454.Transparency = 1
  9456. TextLabel454.Text = "V"
  9457. TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
  9458. TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
  9459. TextLabel454.BackgroundTransparency = 1
  9460. TextLabel454.BorderSizePixel = 0
  9461. TextLabel454.ZIndex = 9
  9462. TextLabel454.Font = Enum.Font.SourceSansLight
  9463. TextLabel454.FontSize = Enum.FontSize.Size24
  9464. TextLabel454.TextColor3 = Color3.new(1, 1, 1)
  9465. TextLabel454.TextStrokeTransparency = 0.69999998807907
  9466. for i,v in pairs(mas:GetChildren()) do
  9467. v.Parent = workspace
  9468. pcall(function() v:MakeJoints() end)
  9469. end
  9470. mas:Destroy()
  9471. for i,v in pairs(cors) do
  9472. spawn(function()
  9473. pcall(v)
  9474. end)
  9475. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement