Advertisement
Guest User

Untitled

a guest
Dec 18th, 2017
1,968
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.41 KB | None | 0 0
  1. --// Made by Cronnie, Have fun 😃
  2.  
  3. plr = game:service'Players'.LocalPlayer
  4. plrs = game:service'Players'
  5. char = plr.Character
  6. gui = ""
  7. on = false
  8. on2 = false
  9. on3 = false
  10. death = false
  11.  
  12. g1 = Instance.new("ScreenGui")
  13. g1.Name = "InstantTP"
  14. o1 = Instance.new("Frame", g1)
  15. o1.Active = false
  16. o1.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  17. o1.BackgroundTransparency = 0.30000001192093
  18. o1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  19. o1.Name = "Frame2"
  20. o1.Position = UDim2.new(0.5,-(566/2),0.5,-(310/2))
  21. o1.Size = UDim2.new(0, 566, 0, 310)
  22. o1.Draggable = false
  23. o2 = Instance.new("TextButton", o1)
  24. o2.Active = true
  25. o2.BackgroundColor3 = Color3.new(1, 1, 0)
  26. o2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  27. o2.Name = "Extras"
  28. o2.Position = UDim2.new(0.80691641569138, 0, 0.28064516186714, 0)
  29. o2.Size = UDim2.new(0, 110, 0, 40)
  30. o2.Text = "Move while attacking: off"
  31. o2.TextWrapped = true
  32. o2.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  33. o2.Font = Enum.Font.SourceSansSemibold
  34. o2.FontSize = Enum.FontSize.Size14
  35. o3 = Instance.new("TextButton", o1)
  36. o3.Active = true
  37. o3.BackgroundColor3 = Color3.new(1, 1, 0)
  38. o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  39. o3.Name = "Extras2"
  40. o3.Position = UDim2.new(0.80691641569138, 0, 0.14193548262119, 0)
  41. o3.Size = UDim2.new(0, 110, 0, 33)
  42. o3.Text = "Respawn where you die: off"
  43. o3.TextWrapped = true
  44. o3.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  45. o3.Font = Enum.Font.SourceSansSemibold
  46. o3.FontSize = Enum.FontSize.Size14
  47. o4 = Instance.new("TextLabel", o1)
  48. o4.BackgroundColor3 = Color3.new(1, 1, 1)
  49. o4.BackgroundTransparency = 1
  50. o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  51. o4.BorderSizePixel = 0
  52. o4.Position = UDim2.new(0.818443775177, 0, 0.0032258064020425, 0)
  53. o4.Size = UDim2.new(0, 94, 0, 33)
  54. o4.Text = "EXTRAS"
  55. o4.TextColor3 = Color3.new(1, 0, 0)
  56. o4.Font = Enum.Font.ArialBold
  57. o4.FontSize = Enum.FontSize.Size28
  58. o5 = Instance.new("ScrollingFrame", g1)
  59. o5.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  60. o5.BackgroundTransparency = 0.89999997615814
  61. o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  62. o5.BorderSizePixel = 0
  63. o5.Name = "Frame"
  64. o5.Position = UDim2.new(0.5,-(539/2),0.5,-(273/2))
  65. o5.Size = UDim2.new(0, 539, 0, 273)
  66. o5.ClipsDescendants = true
  67. o6 = Instance.new("TextButton", o5)
  68. o6.Active = true
  69. o6.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  70. o6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  71. o6.Name = "9"
  72. o6.Position = UDim2.new(0.33967873454094, 0, 0.0089999996125698, 0)
  73. o6.Size = UDim2.new(0, 148, 0, 22)
  74. o6.Text = "East City"
  75. o6.TextWrapped = true
  76. o6.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  77. o6.Font = Enum.Font.SourceSansSemibold
  78. o6.FontSize = Enum.FontSize.Size14
  79. o7 = Instance.new("TextButton", o5)
  80. o7.Active = true
  81. o7.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  82. o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  83. o7.Name = "8"
  84. o7.Position = UDim2.new(0.054000001400709, 0, 0.0089999996125698, 0)
  85. o7.Size = UDim2.new(0, 148, 0, 22)
  86. o7.Text = "Central City"
  87. o7.TextWrapped = true
  88. o7.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  89. o7.Font = Enum.Font.SourceSansSemibold
  90. o7.FontSize = Enum.FontSize.Size14
  91. o8 = Instance.new("TextButton", o5)
  92. o8.Active = true
  93. o8.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  94. o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  95. o8.Name = "7"
  96. o8.Position = UDim2.new(0.33964502811432, 0, 0.28456535935402, 0)
  97. o8.Size = UDim2.new(0, 148, 0, 22)
  98. o8.Text = "West City"
  99. o8.TextWrapped = true
  100. o8.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  101. o8.Font = Enum.Font.SourceSansSemibold
  102. o8.FontSize = Enum.FontSize.Size14
  103. o9 = Instance.new("TextButton", o5)
  104. o9.Active = true
  105. o9.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  106. o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  107. o9.Name = "6"
  108. o9.Position = UDim2.new(0.33994311094284, 0, 0.21813367307186, 0)
  109. o9.Size = UDim2.new(0, 148, 0, 22)
  110. o9.Text = "South City"
  111. o9.TextWrapped = true
  112. o9.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  113. o9.Font = Enum.Font.SourceSansSemibold
  114. o9.FontSize = Enum.FontSize.Size14
  115. o10 = Instance.new("TextButton", o5)
  116. o10.Active = true
  117. o10.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  118. o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  119. o10.Name = "5"
  120. o10.Position = UDim2.new(0.052999999374151, 0, 0.28453302383423, 0)
  121. o10.Size = UDim2.new(0, 148, 0, 22)
  122. o10.Text = "World Martial Arts Tournament"
  123. o10.TextScaled = true
  124. o10.TextWrapped = true
  125. o10.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  126. o10.Font = Enum.Font.SourceSansSemibold
  127. o10.FontSize = Enum.FontSize.Size14
  128. o11 = Instance.new("TextButton", o5)
  129. o11.Active = true
  130. o11.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  131. o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  132. o11.Name = "4"
  133. o11.Position = UDim2.new(0.052999999374151, 0, 0.21824611723423, 0)
  134. o11.Size = UDim2.new(0, 148, 0, 22)
  135. o11.Text = "Imperfect Cell"
  136. o11.TextWrapped = true
  137. o11.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  138. o11.Font = Enum.Font.SourceSansSemibold
  139. o11.FontSize = Enum.FontSize.Size14
  140. o12 = Instance.new("TextButton", o5)
  141. o12.Active = true
  142. o12.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  143. o12.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  144. o12.Name = "3"
  145. o12.Position = UDim2.new(0.052999999374151, 0, 0.081812389194965, 0)
  146. o12.Size = UDim2.new(0, 148, 0, 22)
  147. o12.Text = "Android 17"
  148. o12.TextWrapped = true
  149. o12.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  150. o12.Font = Enum.Font.SourceSansSemibold
  151. o12.FontSize = Enum.FontSize.Size14
  152. o13 = Instance.new("TextButton", o5)
  153. o13.Active = true
  154. o13.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  155. o13.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  156. o13.Name = "2"
  157. o13.Position = UDim2.new(0.051420219242573, 0, 0.1507306843996, 0)
  158. o13.Size = UDim2.new(0, 148, 0, 22)
  159. o13.Text = "Android 18"
  160. o13.TextWrapped = true
  161. o13.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  162. o13.Font = Enum.Font.SourceSansSemibold
  163. o13.FontSize = Enum.FontSize.Size14
  164. o14 = Instance.new("TextButton", o5)
  165. o14.Active = true
  166. o14.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  167. o14.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  168. o14.Name = "16"
  169. o14.Position = UDim2.new(0.63421243429184, 0, 0.21799999475479, 0)
  170. o14.Size = UDim2.new(0, 148, 0, 22)
  171. o14.Text = "Satan City"
  172. o14.TextWrapped = true
  173. o14.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  174. o14.Font = Enum.Font.SourceSansSemibold
  175. o14.FontSize = Enum.FontSize.Size14
  176. o15 = Instance.new("TextButton", o5)
  177. o15.Active = true
  178. o15.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  179. o15.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  180. o15.Name = "15"
  181. o15.Position = UDim2.new(0.33784461021423, 0, 0.34386107325554, 0)
  182. o15.Size = UDim2.new(0, 148, 0, 22)
  183. o15.Text = "Space Ship"
  184. o15.TextWrapped = true
  185. o15.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  186. o15.Font = Enum.Font.SourceSansSemibold
  187. o15.FontSize = Enum.FontSize.Size14
  188. o16 = Instance.new("TextButton", o5)
  189. o16.Active = true
  190. o16.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  191. o16.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  192. o16.Name = "14"
  193. o16.Position = UDim2.new(0.054133333265781, 0, 0.34538343548775, 0)
  194. o16.Size = UDim2.new(0, 148, 0, 22)
  195. o16.Text = "Namek Ship"
  196. o16.TextWrapped = true
  197. o16.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  198. o16.Font = Enum.Font.SourceSansSemibold
  199. o16.FontSize = Enum.FontSize.Size14
  200. o17 = Instance.new("TextButton", o5)
  201. o17.Active = true
  202. o17.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  203. o17.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  204. o17.Name = "13"
  205. o17.Position = UDim2.new(0.63456475734711, 0, 0.34476956725121, 0)
  206. o17.Size = UDim2.new(0, 148, 0, 22)
  207. o17.Text = "Yetis"
  208. o17.TextWrapped = true
  209. o17.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  210. o17.Font = Enum.Font.SourceSansSemibold
  211. o17.FontSize = Enum.FontSize.Size14
  212. o18 = Instance.new("TextButton", o5)
  213. o18.Active = true
  214. o18.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  215. o18.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  216. o18.Name = "12"
  217. o18.Position = UDim2.new(0.63400000333786, 0, 0.15099999308586, 0)
  218. o18.Size = UDim2.new(0, 148, 0, 22)
  219. o18.Text = "East City"
  220. o18.TextWrapped = true
  221. o18.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  222. o18.Font = Enum.Font.SourceSansSemibold
  223. o18.FontSize = Enum.FontSize.Size14
  224. o19 = Instance.new("TextButton", o5)
  225. o19.Active = true
  226. o19.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  227. o19.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  228. o19.Name = "11"
  229. o19.Position = UDim2.new(0.33804395794868, 0, 0.082000002264977, 0)
  230. o19.Size = UDim2.new(0, 148, 0, 22)
  231. o19.Text = "Chi Experts"
  232. o19.TextWrapped = true
  233. o19.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  234. o19.Font = Enum.Font.SourceSansSemibold
  235. o19.FontSize = Enum.FontSize.Size14
  236. o20 = Instance.new("TextButton", o5)
  237. o20.Active = true
  238. o20.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  239. o20.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  240. o20.Name = "10"
  241. o20.Position = UDim2.new(0.63421243429184, 0, 0.28400000929832, 0)
  242. o20.Size = UDim2.new(0, 148, 0, 22)
  243. o20.Text = "Cell Games Arena"
  244. o20.TextWrapped = true
  245. o20.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  246. o20.Font = Enum.Font.SourceSansSemibold
  247. o20.FontSize = Enum.FontSize.Size14
  248. o21 = Instance.new("TextButton", o5)
  249. o21.Active = true
  250. o21.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  251. o21.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  252. o21.Name = "1"
  253. o21.Position = UDim2.new(0.33970695734024, 0, 0.15099999308586, 0)
  254. o21.Size = UDim2.new(0, 148, 0, 22)
  255. o21.Text = "Goku's house"
  256. o21.TextWrapped = true
  257. o21.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  258. o21.Font = Enum.Font.SourceSansSemibold
  259. o21.FontSize = Enum.FontSize.Size14
  260. o22 = Instance.new("TextLabel", o5)
  261. o22.BackgroundColor3 = Color3.new(1, 1, 1)
  262. o22.BackgroundTransparency = 1
  263. o22.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  264. o22.BorderSizePixel = 0
  265. o22.Name = "QuickTravel"
  266. o22.Position = UDim2.new(0.63453727960587, 0, 0.00048035383224487, 0)
  267. o22.Size = UDim2.new(0, 152, 0, 50)
  268. o22.Text = "Quick Travel"
  269. o22.TextColor3 = Color3.new(1, 0, 0)
  270. o22.Font = Enum.Font.Cartoon
  271. o22.FontSize = Enum.FontSize.Size24
  272. o23 = Instance.new("TextLabel", o22)
  273. o23.BackgroundColor3 = Color3.new(1, 1, 1)
  274. o23.BackgroundTransparency = 1
  275. o23.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  276. o23.BorderSizePixel = 0
  277. o23.Name = "QuickTravel"
  278. o23.Position = UDim2.new(0.0024415552616119, 0, 0.71333336830139, 0)
  279. o23.Size = UDim2.new(0, 152, 0, 50)
  280. o23.Text = "16 Places"
  281. o23.TextColor3 = Color3.new(1, 0, 0)
  282. o23.Font = Enum.Font.Cartoon
  283. o23.FontSize = Enum.FontSize.Size24
  284. o24 = Instance.new("TextButton", o5)
  285. o24.Active = true
  286. o24.BackgroundColor3 = Color3.new(1, 1, 0)
  287. o24.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  288. o24.Name = "Extras3"
  289. o24.Position = UDim2.new(0.70315396785736, 0, 0.065934062004089, 0)
  290. o24.Size = UDim2.new(0, 78, 0, 22)
  291. o24.Text = "Extras"
  292. o24.TextWrapped = true
  293. o24.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  294. o24.Font = Enum.Font.SourceSansSemibold
  295. o24.FontSize = Enum.FontSize.Size14
  296. g1.Parent = plr.PlayerGui
  297. gui = o5
  298. size = o5.Size
  299. size2 = o1.Size
  300. cd = false
  301.  
  302. Places = {
  303. "Goku's house", -- 1
  304. "Android 18", -- 2
  305. "Android 17", -- 3
  306. "Imperfect Cell", -- 4
  307. "World Martial Arts Tournament", -- 5
  308. "South City", -- 6
  309. "West City", -- 7
  310. "Central City", -- 8
  311. "Satan City", -- 16
  312. "East City(Destroyed)", -- 9
  313. "Cell Games Arena", -- 10
  314. "Chi Experts", -- 11
  315. "Kung Fu Masters", -- 12
  316. "Yetis", -- 13
  317. "Namek Ship", -- 14
  318. "Space Ship", -- 15
  319. }
  320.  
  321. function PlayerTP(x,y,z)
  322. part = Instance.new('Part', workspace)
  323. part.Anchored = true
  324. part.CanCollide = false
  325. part.Transparency = 1
  326. part.CFrame = CFrame.new(x,y,z)
  327. wait(.1)
  328. char.HumanoidRootPart.CFrame = part.CFrame
  329. part:Destroy()
  330. end
  331.  
  332. function PlaceTP(num)
  333. if num == 1 then
  334. PlayerTP(-6022,59,-4168)
  335. elseif num == 2 then
  336. PlayerTP(-5384,65,-7259)
  337. elseif num == 3 then
  338. PlayerTP(-6104,39,-7414)
  339. elseif num == 4 then
  340. PlayerTP(1143,163,-2428)
  341. elseif num == 5 then
  342. PlayerTP(-1897,202,-7094)
  343. elseif num == 6 then
  344. PlayerTP(-542,191,-6403)
  345. elseif num == 7 then
  346. PlayerTP(-586,131,-2886)
  347. elseif num == 8 then
  348. PlayerTP(-3269,334,-1421)
  349. elseif num == 9 then
  350. PlayerTP(-6380,259,-1218)
  351. elseif num == 10 then
  352. PlayerTP(-1047,83,-785)
  353. elseif num == 11 then
  354. PlayerTP(-5497,69,-58)
  355. elseif num == 12 then
  356. PlayerTP(-5429,90,-1155)
  357. elseif num == 13 then
  358. PlayerTP(-3630,161,1152)
  359. elseif num == 14 then
  360. PlayerTP(1444,128,3198)
  361. elseif num == 15 then
  362. PlayerTP(-1207,36,-2930)
  363. elseif num == 16 then
  364. PlayerTP(-5563,316,-2743)
  365. end
  366. end
  367.  
  368. o5[1].MouseButton1Click:connect(function()
  369. PlaceTP(1)
  370. end)
  371.  
  372. o5[2].MouseButton1Click:connect(function()
  373. PlaceTP(2)
  374. end)
  375.  
  376. o5[3].MouseButton1Click:connect(function()
  377. PlaceTP(3)
  378. end)
  379.  
  380. o5[4].MouseButton1Click:connect(function()
  381. PlaceTP(4)
  382. end)
  383.  
  384. o5[5].MouseButton1Click:connect(function()
  385. PlaceTP(5)
  386. end)
  387.  
  388. o5[6].MouseButton1Click:connect(function()
  389. PlaceTP(6)
  390. end)
  391.  
  392. o5[7].MouseButton1Click:connect(function()
  393. PlaceTP(7)
  394. end)
  395.  
  396. o5[8].MouseButton1Click:connect(function()
  397. PlaceTP(8)
  398. end)
  399.  
  400. o5[9].MouseButton1Click:connect(function()
  401. PlaceTP(9)
  402. end)
  403.  
  404. o5[10].MouseButton1Click:connect(function()
  405. PlaceTP(10)
  406. end)
  407.  
  408. o5[11].MouseButton1Click:connect(function()
  409. PlaceTP(11)
  410. end)
  411.  
  412. o5[12].MouseButton1Click:connect(function()
  413. PlaceTP(12)
  414. end)
  415.  
  416. o5[13].MouseButton1Click:connect(function()
  417. PlaceTP(13)
  418. end)
  419.  
  420. o5[14].MouseButton1Click:connect(function()
  421. PlaceTP(14)
  422. end)
  423.  
  424. o5[15].MouseButton1Click:connect(function()
  425. PlaceTP(15)
  426. end)
  427.  
  428. o5[16].MouseButton1Click:connect(function()
  429. PlaceTP(16)
  430. end)
  431.  
  432. o1.Extras.MouseButton1Click:connect(function()
  433. if on then
  434. on = false
  435. o1.Extras.Text = "Move while attacking: off"
  436. elseif not on then
  437. on = true
  438. o1.Extras.Text = "Move while attacking: on"
  439. end
  440. end)
  441.  
  442. o1.Extras2.MouseButton1Click:connect(function()
  443. if on2 then
  444. on2 = false
  445. o1.Extras2.Text = "Respawn where you die: off"
  446. elseif not on then
  447. on2 = true
  448. o1.Extras2.Text = "Respawn where you die: on"
  449. end
  450. end)
  451.  
  452. o2.BorderSizePixel = 0
  453. o3.BorderSizePixel = 0
  454. o2.BackgroundTransparency = 1
  455. o3.BackgroundTransparency = 1
  456. o2.TextTransparency = 1
  457. o3.TextTransparency = 1
  458. o4.TextTransparency = 1
  459.  
  460. o5.Extras3.MouseButton1Click:connect(function()
  461. if on3 and not cd then
  462. cd = true
  463. on3 = false
  464. o1:TweenSize(size2, 'Out', 'Bounce', 1)
  465. o2.BorderSizePixel = 0
  466. o3.BorderSizePixel = 0
  467. o2.BackgroundTransparency = 1
  468. o3.BackgroundTransparency = 1
  469. o2.TextTransparency = 1
  470. o3.TextTransparency = 1
  471. o4.TextTransparency = 1
  472. wait(1)
  473. cd = false
  474. elseif not on3 and not cd then
  475. cd = true
  476. on3 = true
  477. o1:TweenSize(UDim2.new(0, 694, 0, 310), 'Out', 'Bounce', 1)
  478. o2.BorderSizePixel = 1
  479. o3.BorderSizePixel = 1
  480. o2.BackgroundTransparency = 0
  481. o3.BackgroundTransparency = 0
  482. o2.TextTransparency = 0
  483. o3.TextTransparency = 0
  484. o4.TextTransparency = 0
  485. wait(1)
  486. cd = false
  487. end
  488. end)
  489.  
  490. function close()
  491. o2.BorderSizePixel = 0
  492. o3.BorderSizePixel = 0
  493. o2.BackgroundTransparency = 1
  494. o3.BackgroundTransparency = 1
  495. o2.TextTransparency = 1
  496. o3.TextTransparency = 1
  497. o4.TextTransparency = 1
  498. end
  499.  
  500. local open = true
  501.  
  502. plr.Chatted:connect(function(m)
  503. if string.sub(m:lower(),1,8) == "/e close" and open then
  504. o1:TweenSize(UDim2.new(0,0,0), 'Out', 'Bounce', 1)
  505. o5:TweenSize(UDim2.new(0,0,0), 'Out', 'Bounce', 1)
  506. close()
  507. elseif string.sub(m:lower(),1,7) == "/e open" and not open then
  508. o5:TweenSize(size, 'Out', 'Bounce', 1)
  509. o1:TweenSize(size2, 'Out', 'Bounce', 1)
  510. end
  511. end)
  512.  
  513. human = char:FindFirstChildOfClass'Humanoid'
  514. health = human.Health
  515. human.Changed:connect(function()
  516. if human.Health < health and on2 then
  517. if human.Health == 1 then
  518. pos = char.HumanoidRootPart.CFrame
  519. wait(5)
  520. if human.Health ~= 1 then
  521. char.HumanoidRootPart.CFrame = pos
  522. else
  523. wait(.2)
  524. if human.Health ~= 1 then
  525. char.HumanoidRootPart.CFrame = pos
  526. end
  527. end
  528. end
  529. end
  530. health = human.Health
  531. end)
  532.  
  533. while wait() do
  534. if on then
  535. char:FindFirstChildOfClass'Humanoid'.WalkSpeed = 25
  536. elseif on3 then
  537. for _, a in pairs(char.HumanoidRootPart:children()) do
  538. if a:IsA'BodyVelocity' or a:IsA'BodyGyro' or a:IsA'BodyPosition' then
  539. a:Destroy()
  540. end
  541. end
  542. end
  543. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement