Advertisement
subaru112g

elements script

May 29th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.11 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local char = plr.Character
  3.  
  4. char["Body Colors"]:Destroy()
  5.  
  6. renders = game:GetService("RunService").RenderStepped
  7.  
  8. local hum = char.Humanoid
  9.  
  10. hum.MaxHealth = 999999999999999999999
  11. hum.Health = 999999999999999999999
  12.  
  13. local force = Instance.new("ForceField",char)
  14. force.Visible = false
  15.  
  16. local model = Instance.new("Model",char)
  17. model.Name = "Stickmans"
  18.  
  19. wait(0.00000000000000000000000000000000001)
  20. char.Humanoid.NameDisplayDistance = 0
  21.  
  22. char.Head.face.Texture = " "
  23.  
  24. for _, child in pairs(char:GetChildren()) do
  25. if child.ClassName == 'Accessory' then
  26. child.Handle.Transparency = 1
  27. end
  28. end
  29.  
  30. for _, child in pairs(char:GetChildren()) do
  31. if child.ClassName == 'CharacterMesh' then
  32. child:Destroy()
  33. end
  34. end
  35.  
  36. for _, child in pairs(char:GetChildren()) do
  37. if child.ClassName == 'Pants' then
  38. child:Destroy()
  39. end
  40. end
  41.  
  42. for _, child in pairs(char:GetChildren()) do
  43. if child.ClassName == 'Shirt' then
  44. child:Destroy()
  45. end
  46. end
  47.  
  48. for _, child in pairs(char:GetChildren()) do
  49. if child.ClassName == 'Part' then
  50. child.BrickColor = BrickColor.new("Earth green")
  51. end
  52. end
  53.  
  54. local isaearth = Instance.new("BoolValue",model)
  55. isaearth.Value = true
  56.  
  57. local isawater = Instance.new("BoolValue",model)
  58. isawater.Value = false
  59.  
  60. local isafire = Instance.new("BoolValue",model)
  61. isawater.Value = false
  62.  
  63. local earth = Instance.new("BoolValue",model)
  64. earth.Value = true
  65.  
  66. local water = Instance.new("BoolValue",model)
  67. water.Value = false
  68.  
  69. local fire = Instance.new("BoolValue",model)
  70. fire.Value = false
  71.  
  72. local isinground = Instance.new("BoolValue",model)
  73. isinground.Value = false
  74.  
  75. --KeyDowns--
  76.  
  77. function onKeyDown13(key13)
  78. if key13 == "h" then
  79. wait(0.000000000000000000000000000000000000000000000000000001)
  80. if fire.Value == false then
  81. fire.Value = true
  82. local w = Instance.new("Model",model)
  83. w.Name = "fire"
  84.  
  85. local wrl = Instance.new("Part",w)
  86. wrl.Orientation = char["Right Leg"].Orientation
  87. wrl.Anchored = true
  88. wrl.CanCollide = false
  89. wrl.Position = char["Right Leg"].Position
  90. wrl.Size = char["Right Leg"].Size
  91. wrl.BrickColor = BrickColor.new("Really red")
  92. wrl.Position = wrl.Position + Vector3.new(0,5,0)
  93. wrl.Name = "Right Leg"
  94.  
  95. local wll = Instance.new("Part",w)
  96. wll.Orientation = char["Left Leg"].Orientation
  97. wll.Anchored = true
  98. wll.CanCollide = false
  99. wll.Position = char["Left Leg"].Position
  100. wll.Size = char["Left Leg"].Size
  101. wll.BrickColor = BrickColor.new("Really red")
  102. wll.Position = wll.Position + Vector3.new(0,5,0)
  103. wll.Name = "Left Leg"
  104.  
  105. local wra = Instance.new("Part",w)
  106. wra.Orientation = char["Right Arm"].Orientation
  107. wra.Anchored = true
  108. wra.CanCollide = false
  109. wra.Position = char["Right Arm"].Position
  110. wra.Size = char["Right Arm"].Size
  111. wra.BrickColor = BrickColor.new("Really red")
  112. wra.Position = wra.Position + Vector3.new(0,5,0)
  113. wra.Name = "Right Arm"
  114.  
  115. local wla = Instance.new("Part",w)
  116. wla.Orientation = char["Left Arm"].Orientation
  117. wla.Anchored = true
  118. wla.CanCollide = false
  119. wla.Position = char["Left Arm"].Position
  120. wla.Size = char["Left Arm"].Size
  121. wla.BrickColor = BrickColor.new("Really red")
  122. wla.Position = wla.Position + Vector3.new(0,5,0)
  123. wla.Name = "Left Arm"
  124.  
  125. local wt = Instance.new("Part",w)
  126. wt.Orientation = char.Torso.Orientation
  127. wt.Anchored = true
  128. wt.CanCollide = false
  129. wt.Position = char.Torso.Position
  130. wt.Size = char.Torso.Size
  131. wt.BrickColor = BrickColor.new("Really red")
  132. wt.Position = wt.Position + Vector3.new(0,5,0)
  133. wt.Name = "Torso"
  134.  
  135. local wh = Instance.new("Part",w)
  136. wh.Orientation = char.Head.Orientation
  137. wh.Anchored = true
  138. wh.CanCollide = false
  139. wh.Position = char.Head.Position
  140. wh.Size = char.Head.Size
  141. wh.BrickColor = BrickColor.new("Really red")
  142. wh.Position = wh.Position + Vector3.new(0,5,0)
  143. wh.Name = "Head"
  144. local mc = Instance.new("SpecialMesh",wh)
  145. mc.MeshType = char.Head.Mesh.MeshType
  146. mc.Scale = char.Head.Mesh.Scale
  147.  
  148. local LeftHip = Instance.new("Motor6D",wt)
  149. LeftHip.Name = "Left Hip"
  150. LeftHip.Part0 = wt
  151. LeftHip.Part1 = wll
  152. LeftHip.C0 = CFrame.new(-0.5,-2,0)
  153.  
  154. local RightHip = Instance.new("Motor6D",wt)
  155. RightHip.Name = "Right Hip"
  156. RightHip.Part0 = wt
  157. RightHip.Part1 = wrl
  158. RightHip.C0 = CFrame.new(0.5,-2,0)
  159.  
  160. local LeftShoulder = Instance.new("Motor6D",wt)
  161. LeftShoulder.Name = "Left Shoulder"
  162. LeftShoulder.Part0 = wt
  163. LeftShoulder.Part1 = wla
  164. LeftShoulder.C0 = char.Torso["Left Shoulder"].C0
  165.  
  166. local RightShoulder = Instance.new("Motor6D",wt)
  167. RightShoulder.Name = "Right Shoulder"
  168. RightShoulder.Part0 = wt
  169. RightShoulder.Part1 = wra
  170. RightShoulder.C0 = char.Torso["Right Shoulder"].C0
  171.  
  172. local whu = char.Humanoid:Clone()
  173. whu.Parent = w
  174. local wf = Instance.new("ForceField",w)
  175. wf.Visible = false
  176. local wal = Instance.new("Animation",w)
  177. wal.AnimationId = "rbxassetid://125750759"
  178. local anim = whu:LoadAnimation(w:FindFirstChildOfClass("Animation"))
  179. anim.Looped = true
  180. anim:Play()
  181. wh.Anchored = false
  182. wt.Anchored = false
  183. wla.Anchored = false
  184. wra.Anchored = false
  185. wll.Anchored = false
  186. wrl.Anchored = false
  187. local lsc = char["Left Arm"].LeftShoulderAttachment:Clone()
  188. lsc.Parent = wla
  189. local rsc = char["Right Arm"].RightShoulderAttachment:Clone()
  190. rsc.Parent = wra
  191.  
  192. local hw = Instance.new("Weld",wt)
  193. hw.Part0 = wt
  194. hw.Part1 = wh
  195. hw.C0 = CFrame.new(0,1.5,0)
  196.  
  197. local follow = Instance.new("BoolValue",w)
  198.  
  199. follow = false
  200. while true do
  201. if game.Players.Subaru112.Character.Torso ~= nil then
  202. if game.Players.Subaru112.Character.Hat2.Handle.Position.X - w.Torso.Position.X <= 1000 then
  203. follow = true
  204.  
  205. end
  206. end
  207. if follow then
  208. whu.WalkToPoint = game.Players.Subaru112.Character.Hat2.Handle.Position
  209. end
  210. wait(.5)
  211. end
  212.  
  213. end
  214. end
  215. end
  216.  
  217. function onKeyDown14(key14)
  218. if key14 == "j" then
  219. if fire.Value == true then
  220. if isaearth.Value == true then
  221. model.fire.Head.BrickColor = BrickColor.new("Earth green")
  222. model.fire.Torso.BrickColor = BrickColor.new("Earth green")
  223. model.fire["Right Leg"].BrickColor = BrickColor.new("Earth green")
  224. model.fire["Right Arm"].BrickColor = BrickColor.new("Earth green")
  225. model.fire["Left Arm"].BrickColor = BrickColor.new("Earth green")
  226. model.fire["Left Leg"].BrickColor = BrickColor.new("Earth green")
  227. char.Head.BrickColor = BrickColor.new("Really red")
  228. char.Torso.BrickColor = BrickColor.new("Really red")
  229. char["Right Leg"].BrickColor = BrickColor.new("Really red")
  230. char["Right Arm"].BrickColor = BrickColor.new("Really red")
  231. char["Left Arm"].BrickColor = BrickColor.new("Really red")
  232. char["Left Leg"].BrickColor = BrickColor.new("Really red")
  233. isaearth.Value = false
  234. isawater.Value = false
  235. isafire.Value = true
  236. end
  237. end
  238. end
  239. end
  240.  
  241. function onKeyDown15(key15)
  242. if key15 == "k" then
  243. if fire.Value == true then
  244. if isaearth.Value == false then
  245. model.fire.Head.BrickColor = BrickColor.new("Really red")
  246. model.fire.Torso.BrickColor = BrickColor.new("Really red")
  247. model.fire["Right Leg"].BrickColor = BrickColor.new("Really red")
  248. model.fire["Right Arm"].BrickColor = BrickColor.new("Really red")
  249. model.fire["Left Arm"].BrickColor = BrickColor.new("Really red")
  250. model.fire["Left Leg"].BrickColor = BrickColor.new("Really red")
  251. char.Head.BrickColor = BrickColor.new("Earth green")
  252. char.Torso.BrickColor = BrickColor.new("Earth green")
  253. char["Right Leg"].BrickColor = BrickColor.new("Earth green")
  254. char["Right Arm"].BrickColor = BrickColor.new("Earth green")
  255. char["Left Arm"].BrickColor = BrickColor.new("Earth green")
  256. char["Left Leg"].BrickColor = BrickColor.new("Earth green")
  257. isaearth.Value = true
  258. isawater.Value = false
  259. isafire.Value = false
  260. end
  261. end
  262. end
  263. end
  264.  
  265. function onKeyDown16(key16)
  266. if key16 == "l" then
  267. if fire.Value == true then
  268. fire.Value = false
  269. model.fire:Destroy()
  270. end
  271. end
  272. end
  273.  
  274. function onKeyDown(key)
  275. if key == "q" then
  276. wait(0.000000000000000000000000000000000000000000000000000001)
  277. if water.Value == false then
  278. water.Value = true
  279. local w = Instance.new("Model",model)
  280. w.Name = "water"
  281.  
  282. local wrl = Instance.new("Part",w)
  283. wrl.Orientation = char["Right Leg"].Orientation
  284. wrl.Anchored = true
  285. wrl.CanCollide = false
  286. wrl.Position = char["Right Leg"].Position
  287. wrl.Size = char["Right Leg"].Size
  288. wrl.BrickColor = BrickColor.new("Cyan")
  289. wrl.Position = wrl.Position + Vector3.new(0,5,0)
  290. wrl.Name = "Right Leg"
  291.  
  292. local wll = Instance.new("Part",w)
  293. wll.Orientation = char["Left Leg"].Orientation
  294. wll.Anchored = true
  295. wll.CanCollide = false
  296. wll.Position = char["Left Leg"].Position
  297. wll.Size = char["Left Leg"].Size
  298. wll.BrickColor = BrickColor.new("Cyan")
  299. wll.Position = wll.Position + Vector3.new(0,5,0)
  300. wll.Name = "Left Leg"
  301.  
  302. local wra = Instance.new("Part",w)
  303. wra.Orientation = char["Right Arm"].Orientation
  304. wra.Anchored = true
  305. wra.CanCollide = false
  306. wra.Position = char["Right Arm"].Position
  307. wra.Size = char["Right Arm"].Size
  308. wra.BrickColor = BrickColor.new("Cyan")
  309. wra.Position = wra.Position + Vector3.new(0,5,0)
  310. wra.Name = "Right Arm"
  311.  
  312. local wla = Instance.new("Part",w)
  313. wla.Orientation = char["Left Arm"].Orientation
  314. wla.Anchored = true
  315. wla.CanCollide = false
  316. wla.Position = char["Left Arm"].Position
  317. wla.Size = char["Left Arm"].Size
  318. wla.BrickColor = BrickColor.new("Cyan")
  319. wla.Position = wla.Position + Vector3.new(0,5,0)
  320. wla.Name = "Left Arm"
  321.  
  322. local wt = Instance.new("Part",w)
  323. wt.Orientation = char.Torso.Orientation
  324. wt.Anchored = true
  325. wt.CanCollide = false
  326. wt.Position = char.Torso.Position
  327. wt.Size = char.Torso.Size
  328. wt.BrickColor = BrickColor.new("Cyan")
  329. wt.Position = wt.Position + Vector3.new(0,5,0)
  330. wt.Name = "Torso"
  331.  
  332. local wh = Instance.new("Part",w)
  333. wh.Orientation = char.Head.Orientation
  334. wh.Anchored = true
  335. wh.CanCollide = false
  336. wh.Position = char.Head.Position
  337. wh.Size = char.Head.Size
  338. wh.BrickColor = BrickColor.new("Cyan")
  339. wh.Position = wh.Position + Vector3.new(0,5,0)
  340. wh.Name = "Head"
  341. local mc = Instance.new("SpecialMesh",wh)
  342. mc.MeshType = char.Head.Mesh.MeshType
  343. mc.Scale = char.Head.Mesh.Scale
  344.  
  345. local LeftHip = Instance.new("Motor6D",wt)
  346. LeftHip.Name = "Left Hip"
  347. LeftHip.Part0 = wt
  348. LeftHip.Part1 = wll
  349. LeftHip.C0 = CFrame.new(-0.5,-2,0)
  350.  
  351. local RightHip = Instance.new("Motor6D",wt)
  352. RightHip.Name = "Right Hip"
  353. RightHip.Part0 = wt
  354. RightHip.Part1 = wrl
  355. RightHip.C0 = CFrame.new(0.5,-2,0)
  356.  
  357. local LeftShoulder = Instance.new("Motor6D",wt)
  358. LeftShoulder.Name = "Left Shoulder"
  359. LeftShoulder.Part0 = wt
  360. LeftShoulder.Part1 = wla
  361. LeftShoulder.C0 = char.Torso["Left Shoulder"].C0
  362.  
  363. local RightShoulder = Instance.new("Motor6D",wt)
  364. RightShoulder.Name = "Right Shoulder"
  365. RightShoulder.Part0 = wt
  366. RightShoulder.Part1 = wra
  367. RightShoulder.C0 = char.Torso["Right Shoulder"].C0
  368.  
  369. local whu = char.Humanoid:Clone()
  370. whu.Parent = w
  371. local wf = Instance.new("ForceField",w)
  372. wf.Visible = false
  373. local wal = Instance.new("Animation",w)
  374. wal.AnimationId = "rbxassetid://125750759"
  375. local anim = whu:LoadAnimation(w:FindFirstChildOfClass("Animation"))
  376. anim.Looped = true
  377. anim:Play()
  378. wh.Anchored = false
  379. wt.Anchored = false
  380. wla.Anchored = false
  381. wra.Anchored = false
  382. wll.Anchored = false
  383. wrl.Anchored = false
  384. local lsc = char["Left Arm"].LeftShoulderAttachment:Clone()
  385. lsc.Parent = wla
  386. local rsc = char["Right Arm"].RightShoulderAttachment:Clone()
  387. rsc.Parent = wra
  388.  
  389. local hw = Instance.new("Weld",wt)
  390. hw.Part0 = wt
  391. hw.Part1 = wh
  392. hw.C0 = CFrame.new(0,1.5,0)
  393.  
  394. local follow = Instance.new("BoolValue",w)
  395.  
  396. follow = false
  397. while true do
  398. if game.Players.Subaru112.Character.Torso ~= nil then
  399. if game.Players.Subaru112.Character.Hat.Handle.Position.X - w.Torso.Position.X <= 1000 then
  400. follow = true
  401.  
  402. end
  403. end
  404. if follow then
  405. whu.WalkToPoint = game.Players.Subaru112.Character.Hat.Handle.Position
  406. end
  407. wait(.5)
  408. end
  409.  
  410. end
  411. end
  412. end
  413.  
  414. function onKeyDown3(key3)
  415. if key3 == "r" then
  416. if water.Value == true then
  417. if isaearth.Value == true then
  418. model.water.Head.BrickColor = BrickColor.new("Earth green")
  419. model.water.Torso.BrickColor = BrickColor.new("Earth green")
  420. model.water["Right Leg"].BrickColor = BrickColor.new("Earth green")
  421. model.water["Right Arm"].BrickColor = BrickColor.new("Earth green")
  422. model.water["Left Arm"].BrickColor = BrickColor.new("Earth green")
  423. model.water["Left Leg"].BrickColor = BrickColor.new("Earth green")
  424. char.Head.BrickColor = BrickColor.new("Cyan")
  425. char.Torso.BrickColor = BrickColor.new("Cyan")
  426. char["Right Leg"].BrickColor = BrickColor.new("Cyan")
  427. char["Right Arm"].BrickColor = BrickColor.new("Cyan")
  428. char["Left Arm"].BrickColor = BrickColor.new("Cyan")
  429. char["Left Leg"].BrickColor = BrickColor.new("Cyan")
  430. isaearth.Value = false
  431. isawater.Value = true
  432. isafire.Value = false
  433. end
  434. end
  435. end
  436. end
  437.  
  438. function onKeyDown4(key4)
  439. if key4 == "t" then
  440. if water.Value == true then
  441. if isaearth.Value == false then
  442. model.water.Head.BrickColor = BrickColor.new("Cyan")
  443. model.water.Torso.BrickColor = BrickColor.new("Cyan")
  444. model.water["Right Leg"].BrickColor = BrickColor.new("Cyan")
  445. model.water["Right Arm"].BrickColor = BrickColor.new("Cyan")
  446. model.water["Left Arm"].BrickColor = BrickColor.new("Cyan")
  447. model.water["Left Leg"].BrickColor = BrickColor.new("Cyan")
  448. char.Head.BrickColor = BrickColor.new("Earth green")
  449. char.Torso.BrickColor = BrickColor.new("Earth green")
  450. char["Right Leg"].BrickColor = BrickColor.new("Earth green")
  451. char["Right Arm"].BrickColor = BrickColor.new("Earth green")
  452. char["Left Arm"].BrickColor = BrickColor.new("Earth green")
  453. char["Left Leg"].BrickColor = BrickColor.new("Earth green")
  454. isaearth.Value = true
  455. isawater.Value = false
  456. isafire.Value = false
  457. end
  458. end
  459. end
  460. end
  461.  
  462. function onKeyDown2(key2)
  463. if key2 == "e" then
  464. if water.Value == true then
  465. water.Value = false
  466. model.water:Destroy()
  467. end
  468. end
  469. end
  470.  
  471. function onKeyDown5(key5)
  472. if key5 == "y" then
  473. if isaearth.Value == true then
  474. if isinground.Value == false then
  475. isinground.Value = true
  476. local root = char.HumanoidRootPart.RootJoint:Clone()
  477. char.HumanoidRootPart.RootJoint.Part1 = nil
  478. root.Parent = char.Torso
  479. root.C0 = CFrame.new(0, -0.5, 0)
  480. wait(0.3)
  481. root.C0 = CFrame.new(0, -1, 0)
  482. wait(0.3)
  483. root.C0 = CFrame.new(0, -1.5, 0)
  484. wait(0.3)
  485. root.C0 = CFrame.new(0, -2, 0)
  486. wait(0.3)
  487. root.C0 = CFrame.new(0, -2.5, 0)
  488. wait(0.3)
  489. char.Torso.Transparency = 1
  490. char.Head.Transparency = 1
  491. char["Left Arm"].Transparency = 1
  492. char["Left Leg"].Transparency = 1
  493. char["Right Arm"].Transparency = 1
  494. char["Right Leg"].Transparency = 1
  495. end
  496. end
  497. end
  498. end
  499.  
  500. function onKeyDown6(key6)
  501. if key6 == "u" then
  502. if isaearth.Value == true then
  503. if isinground.Value == true then
  504. local root2 = char.Torso.RootJoint
  505. char.Torso.Transparency = 0
  506. char.Head.Transparency = 0
  507. char["Left Arm"].Transparency = 0
  508. char["Left Leg"].Transparency = 0
  509. char["Right Arm"].Transparency = 0
  510. char["Right Leg"].Transparency = 0
  511. root2.C0 = CFrame.new(0, -2.5, 0)
  512. wait(0.3)
  513. root2.C0 = CFrame.new(0, -2, 0)
  514. wait(0.3)
  515. root2.C0 = CFrame.new(0, -1.5, 0)
  516. wait(0.3)
  517. root2.C0 = CFrame.new(0, -1, 0)
  518. wait(0.3)
  519. root2.C0 = CFrame.new(0, -0.5, 0)
  520. wait(0.3)
  521. root2.C0 = CFrame.new(0, 0, 0)
  522. isinground.Value = false
  523. root2:Destroy()
  524. char.HumanoidRootPart.RootJoint.Part1 = char.Torso
  525. end
  526. end
  527. end
  528. end
  529.  
  530. local eato = Instance.new("BoolValue",char)
  531. eato.Value = false
  532.  
  533. function onKeyDown7(key7)
  534. if key7 == "p" then
  535. if isaearth.Value == true then
  536. eato.Value = true
  537. local rs = char.Torso["Right Shoulder"]
  538. rs.Part1 = nil
  539. local rsw = Instance.new("Weld",char)
  540. rsw.Name = "RightShoulder"
  541. rsw.C0 = CFrame.new(1.5, 0.5, -0.5, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 10, 1)
  542. rsw.Part0 = char.Torso
  543. rsw.Part1 = char["Right Arm"]
  544. wait(4)
  545. rs.Part1 = char["Right Arm"]
  546. rsw:Destroy()
  547. eato.Value = false
  548. end
  549. end
  550. end
  551.  
  552. function onTouched(brick)
  553. if eato.Value == true then
  554. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  555. if humn then
  556. for i,he in pairs(humn.Parent:GetChildren()) do
  557. if he.Name == "Head" then
  558. local hc = Instance.new("Part",he)
  559. hc.Orientation = he.Orientation
  560. hc.CanCollide = false
  561. hc.Position = he.Position
  562. hc.Material = "Grass"
  563. hc.BrickColor = BrickColor.new("Burnt Sienna")
  564. hc.Size = Vector3.new(0.1,0.1,1.3)
  565. hc.Anchored = true
  566. local hcw = Instance.new("Weld",he)
  567. hcw.Part0 = he
  568. hcw.Part1 = hc
  569. he.Anchored = true
  570. for i = 1,11 do
  571. hc.Size = hc.Size + Vector3.new(0.1,0.1,0)
  572. game:GetService("RunService").Stepped:wait()
  573. end
  574.  
  575. hc.Anchored = false
  576. he.Anchored = false
  577.  
  578. local hcw = Instance.new("Weld",he)
  579. hcw.Part0 = he
  580. hcw.Part1 = hc
  581. hc.CanCollide = true
  582. he.CanCollide = false
  583. he.Transparency = 1
  584. end
  585. end
  586. for i,t in pairs(humn.Parent:GetChildren()) do
  587. if t.Name == "Torso" then
  588. local tc = Instance.new("Part",t)
  589. local tw = Instance.new("Weld",t)
  590. tw.Part0 = t
  591. tw.Part1 = char["Right Arm"]
  592. tw.C0 = CFrame.new(0, 0.5, 1, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 10, 1)
  593. wait(0.5)
  594. char.Torso.Anchored = true
  595. char.Head.Anchored = true
  596. char["Right Arm"].Anchored = true
  597. char["Right Leg"].Anchored = true
  598. char["Left Arm"].Anchored = true
  599. char["Left Leg"].Anchored = true
  600. t.Anchored = true
  601. tc.Orientation = t.Orientation
  602. tc.CanCollide = false
  603. tc.Position = t.Position
  604. tc.Material = "Grass"
  605. tc.BrickColor = BrickColor.new("Burnt Sienna")
  606. tc.Size = Vector3.new(0.1,0.1,1.3)
  607. tc.Anchored = true
  608. local tcw = Instance.new("Weld",t)
  609. tcw.Part0 = t
  610. tcw.Part1 = tc
  611. t.Anchored = true
  612. tc.Position = t.Position
  613. for i = 1,20 do
  614. tc.Size = tc.Size + Vector3.new(0.1,0.1,0)
  615. game:GetService("RunService").Stepped:wait()
  616. end
  617.  
  618. tc.Anchored = false
  619. t.Anchored = false
  620.  
  621. local tcw = Instance.new("Weld",t)
  622. tcw.Part0 = t
  623. tcw.Part1 = tc
  624. tc.CanCollide = true
  625. t.CanCollide = false
  626. t.Transparency = 1
  627.  
  628. wait(1)
  629. char.Torso.Anchored = false
  630. char.Head.Anchored = false
  631. char["Right Arm"].Anchored = false
  632. char["Right Leg"].Anchored = false
  633. char["Left Arm"].Anchored = false
  634. char["Left Leg"].Anchored = false
  635. tw:Destroy()
  636. end
  637. end
  638. for i,v in pairs(humn.Parent:GetChildren()) do
  639. if v.Name == "Right Arm" then
  640. local rac = Instance.new("Part",v)
  641. rac.Orientation = v.Orientation
  642. rac.CanCollide = false
  643. rac.Position = v.Position
  644. rac.Material = "Grass"
  645. rac.BrickColor = BrickColor.new("Burnt Sienna")
  646. rac.Size = Vector3.new(0.1,0.1,1.3)
  647. rac.Anchored = true
  648. local raccw = Instance.new("Weld",v)
  649. raccw.Part0 = v
  650. raccw.Part1 = rac
  651. v.Anchored = true
  652. rac.Position = rac.Position - Vector3.new(0,2,0)
  653. for i = 1,11 do
  654. rac.Size = rac.Size + Vector3.new(0.1,0.2,0)
  655. game:GetService("RunService").Stepped:wait()
  656. end
  657.  
  658. rac.Anchored = false
  659. v.Anchored = false
  660. local raccw = Instance.new("Weld",v)
  661. raccw.Part0 = v
  662. raccw.Part1 = rac
  663. rac.CanCollide = true
  664. v.CanCollide = false
  665. v.Transparency = 1
  666. end
  667. end
  668. for i,v in pairs(humn.Parent:GetChildren()) do
  669. if v.Name == "Left Arm" then
  670. local lac = Instance.new("Part",v)
  671. lac.Orientation = v.Orientation
  672. lac.CanCollide = false
  673. lac.Position = v.Position
  674. lac.Material = "Grass"
  675. lac.BrickColor = BrickColor.new("Burnt Sienna")
  676. lac.Size = Vector3.new(0.1,0.1,1.3)
  677. lac.Anchored = true
  678. local laccw = Instance.new("Weld",v)
  679. laccw.Part0 = v
  680. laccw.Part1 = lac
  681. v.Anchored = true
  682. lac.Position = lac.Position - Vector3.new(0,2,0)
  683. for i = 1,11 do
  684. lac.Size = lac.Size + Vector3.new(0.1,0.2,0)
  685. game:GetService("RunService").Stepped:wait()
  686. end
  687.  
  688. lac.Anchored = false
  689. v.Anchored = false
  690. local laccw = Instance.new("Weld",v)
  691. laccw.Part0 = v
  692. laccw.Part1 = lac
  693. lac.CanCollide = true
  694. v.CanCollide = false
  695. v.Transparency = 1
  696. end
  697. end
  698. for i,v in pairs(humn.Parent:GetChildren()) do
  699. if v.Name == "Right Leg" then
  700. v.CanCollide = true
  701. local rac = Instance.new("Part",v)
  702. rac.Orientation = v.Orientation
  703. rac.CanCollide = false
  704. rac.Position = v.Position
  705. rac.Material = "Grass"
  706. rac.BrickColor = BrickColor.new("Burnt Sienna")
  707. rac.Size = Vector3.new(0.1,0.1,1.3)
  708. rac.Anchored = true
  709. local raccw = Instance.new("Weld",v)
  710. raccw.Part0 = v
  711. raccw.Part1 = rac
  712. v.Anchored = true
  713. rac.Position = rac.Position - Vector3.new(0,2,0)
  714. for i = 1,11 do
  715. rac.Size = rac.Size + Vector3.new(0.1,0.2,0)
  716. game:GetService("RunService").Stepped:wait()
  717. end
  718.  
  719. rac.Anchored = false
  720. v.Anchored = false
  721. local raccw = Instance.new("Weld",v)
  722. raccw.Part0 = v
  723. raccw.Part1 = rac
  724. rac.CanCollide = true
  725. v.CanCollide = false
  726. v.Transparency = 1
  727. end
  728. end
  729. for i,v in pairs(humn.Parent:GetChildren()) do
  730. if v.Name == "Left Leg" then
  731. local lac = Instance.new("Part",v)
  732. lac.Orientation = v.Orientation
  733. lac.CanCollide = false
  734. lac.Position = v.Position
  735. lac.Material = "Grass"
  736. lac.BrickColor = BrickColor.new("Burnt Sienna")
  737. lac.Size = Vector3.new(0.1,0.1,1.3)
  738. lac.Anchored = true
  739. local laccw = Instance.new("Weld",v)
  740. laccw.Part0 = v
  741. laccw.Part1 = lac
  742. v.Anchored = true
  743. lac.Position = lac.Position - Vector3.new(0,2,0)
  744. for i = 1,11 do
  745. lac.Size = lac.Size + Vector3.new(0.1,0.2,0)
  746. game:GetService("RunService").Stepped:wait()
  747. end
  748.  
  749. lac.Anchored = false
  750. v.Anchored = false
  751. local laccw = Instance.new("Weld",v)
  752. laccw.Part0 = v
  753. laccw.Part1 = lac
  754. lac.CanCollide = true
  755. v.CanCollide = false
  756. v.Transparency = 1
  757. end
  758. end
  759. for i,v in pairs(humn.Parent:GetChildren()) do
  760. if v.ClassName == "Script" then
  761. v:Destroy()
  762. end
  763. end
  764. for i,v in pairs(humn.Parent:GetChildren()) do
  765. if v.ClassName == "LocalScript" then
  766. v:Destroy()
  767. end
  768. end
  769. for i,v in pairs(humn.Parent:GetChildren()) do
  770. if v.ClassName == "Hat" then
  771. v:Destroy()
  772. end
  773. end
  774. for i,v in pairs(humn.Parent:GetChildren()) do
  775. if v.ClassName == "Accessory" then
  776. v:Destroy()
  777. end
  778. end
  779. humn:Destroy()
  780. end
  781. end
  782. end
  783. char["Right Arm"].Touched:connect(onTouched)
  784.  
  785. local crack = Instance.new("Sound",char)
  786. crack.Volume = 2
  787. crack.SoundId = "rbxassetid://131144461"
  788.  
  789. function onKeyDown8(key8)
  790. if key8 == "f" then
  791. if isaearth.Value == true then
  792. crack:Play()
  793. local shield = Instance.new("Part",char)
  794. shield.CanCollide = true
  795. shield.Position = char.Torso.Position
  796. shield.Material = char.Humanoid.FloorMaterial
  797. shield.BrickColor = BrickColor.new("Earth green")
  798. shield.Size = Vector3.new(7,0.1,1)
  799. local sw = Instance.new("Weld",shield)
  800. sw.Part0 = char.Torso
  801. sw.Part1 = shield
  802. sw.C0 = CFrame.new(0,-2,-3)
  803. wait(0.0000001)
  804. shield.Anchored = true
  805. shield.CanCollide = true
  806. wait(0.0000000000000000000001)
  807. for i = 1,100 do
  808. shield.Size = shield.Size + Vector3.new(0,0.05,0)
  809. shield.Size = shield.Size + Vector3.new(0,0.05,0)
  810. shield.Size = shield.Size + Vector3.new(0,0.05,0)
  811. shield.Size = shield.Size + Vector3.new(0,0.05,0)
  812. shield.Size = shield.Size + Vector3.new(0,0.05,0)
  813. renders:wait()
  814. end
  815. wait(3)
  816. shield.Transparency = 0.1
  817. shield.CanCollide = false
  818. wait(0.1)
  819. shield.Transparency = 0.2
  820. wait(0.1)
  821. shield.Transparency = 0.3
  822. wait(0.1)
  823. shield.Transparency = 0.4
  824. wait(0.1)
  825. shield.Transparency = 0.5
  826. wait(0.1)
  827. shield.Transparency = 0.6
  828. wait(0.1)
  829. shield.Transparency = 0.7
  830. wait(0.1)
  831. shield.Transparency = 0.8
  832. wait(0.1)
  833. shield.Transparency = 0.9
  834. wait(0.1)
  835. shield.Transparency = 1
  836. shield:Destroy()
  837. end
  838. end
  839. end
  840.  
  841. function onKeyDown9(key9)
  842. if key9 == "y" then
  843. if isawater.Value == true then
  844. if isinground.Value == false then
  845. isinground.Value = true
  846. local root = char.HumanoidRootPart.RootJoint:Clone()
  847. char.HumanoidRootPart.RootJoint.Part1 = nil
  848. root.Parent = char.Torso
  849. root.C0 = CFrame.new(0, -0.5, 0)
  850. wait(0.3)
  851. root.C0 = CFrame.new(0, -1, 0)
  852. wait(0.3)
  853. root.C0 = CFrame.new(0, -1.5, 0)
  854. wait(0.3)
  855. root.C0 = CFrame.new(0, -2, 0)
  856. wait(0.3)
  857. root.C0 = CFrame.new(0, -2.5, 0)
  858. wait(0.3)
  859. char.Torso.Transparency = 1
  860. char.Head.Transparency = 1
  861. char["Left Arm"].Transparency = 1
  862. char["Left Leg"].Transparency = 1
  863. char["Right Arm"].Transparency = 1
  864. char["Right Leg"].Transparency = 1
  865. end
  866. end
  867. end
  868. end
  869.  
  870. function onKeyDown10(key10)
  871. if key10 == "u" then
  872. if isawater.Value == true then
  873. if isinground.Value == true then
  874. local root2 = char.Torso.RootJoint
  875. char.Torso.Transparency = 0
  876. char.Head.Transparency = 0
  877. char["Left Arm"].Transparency = 0
  878. char["Left Leg"].Transparency = 0
  879. char["Right Arm"].Transparency = 0
  880. char["Right Leg"].Transparency = 0
  881. root2.C0 = CFrame.new(0, -2.5, 0)
  882. wait(0.3)
  883. root2.C0 = CFrame.new(0, -2, 0)
  884. wait(0.3)
  885. root2.C0 = CFrame.new(0, -1.5, 0)
  886. wait(0.3)
  887. root2.C0 = CFrame.new(0, -1, 0)
  888. wait(0.3)
  889. root2.C0 = CFrame.new(0, -0.5, 0)
  890. wait(0.3)
  891. root2.C0 = CFrame.new(0, 0, 0)
  892. isinground.Value = false
  893. root2:Destroy()
  894. char.HumanoidRootPart.RootJoint.Part1 = char.Torso
  895. end
  896. end
  897. end
  898. end
  899.  
  900. local wat = Instance.new("BoolValue",char)
  901. wat.Value = false
  902.  
  903. local fir = Instance.new("BoolValue",char)
  904. fir.Value = false
  905.  
  906. function onKeyDown11(key11)
  907. if key11 == "p" then
  908. if isawater.Value == true then
  909. wat.Value = true
  910. local rs = char.Torso["Right Shoulder"]
  911. rs.Part1 = nil
  912. local rsw = Instance.new("Weld",char)
  913. rsw.Name = "RightShoulder"
  914. rsw.C0 = CFrame.new(1.5, 0.5, -0.5, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 10, 1)
  915. rsw.Part0 = char.Torso
  916. rsw.Part1 = char["Right Arm"]
  917. wait(4)
  918. rs.Part1 = char["Right Arm"]
  919. rsw:Destroy()
  920. wat.Value = false
  921. end
  922. end
  923. end
  924.  
  925. function onTouched(brick)
  926. if wat.Value == true then
  927. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  928. if humn then
  929. local par = humn.Parent
  930. humn:Destroy()
  931. par["Left Arm"].Anchored = true
  932. par["Left Leg"].Anchored = true
  933. par["Right Arm"].Anchored = true
  934. par["Right Leg"].Anchored = true
  935. par.Torso.Anchored = true
  936. par.Head.Anchored = true
  937. par["Left Arm"].CanCollide = false
  938. par["Left Leg"].CanCollide = false
  939. par["Right Arm"].CanCollide = false
  940. par["Right Leg"].CanCollide = false
  941. par.Torso.CanCollide = false
  942. par.Head.CanCollide = false
  943. par["Left Arm"].BrickColor = BrickColor.new("Cyan")
  944. par["Left Leg"].BrickColor = BrickColor.new("Cyan")
  945. par["Right Arm"].BrickColor = BrickColor.new("Cyan")
  946. par["Right Leg"].BrickColor = BrickColor.new("Cyan")
  947. par.Torso.BrickColor = BrickColor.new("Cyan")
  948. par.Head.BrickColor = BrickColor.new("Cyan")
  949. par["Left Arm"].Material = "Glass"
  950. par["Left Leg"].Material = "Glass"
  951. par["Right Arm"].Material = "Glass"
  952. par["Right Leg"].Material = "Glass"
  953. par.Torso.Material = "Glass"
  954. par.Head.Material = "Glass"
  955.  
  956. par["Left Arm"].Transparency = 0.5
  957. par["Left Leg"].Transparency = 0.5
  958. par["Right Arm"].Transparency = 0.5
  959. par["Right Leg"].Transparency = 0.5
  960. par.Torso.Transparency = 0.5
  961. par.Head.Transparency = 0.5
  962.  
  963. for i,v in pairs(par:GetChildren()) do
  964. if v.ClassName == "Script" then
  965. v:Destroy()
  966. end
  967. end
  968. for i,v in pairs(par:GetChildren()) do
  969. if v.ClassName == "LocalScript" then
  970. v:Destroy()
  971. end
  972. end
  973. for i,v in pairs(par:GetChildren()) do
  974. if v.ClassName == "Hat" then
  975. v:Destroy()
  976. end
  977. end
  978. for i,v in pairs(par:GetChildren()) do
  979. if v.ClassName == "Accessory" then
  980. v:Destroy()
  981. end
  982. end
  983. for i,v in pairs(par:GetChildren()) do
  984. if v.ClassName == "Part" then
  985. if v.Name == "HumanoidRootPart" then
  986. v:Destroy()
  987. end
  988. end
  989. end
  990.  
  991. wait(1)
  992. par["Left Arm"].Anchored = false
  993. par["Left Leg"].Anchored = false
  994. par["Right Arm"].Anchored = false
  995. par["Right Leg"].Anchored = false
  996. par.Torso.Anchored = false
  997. par.Head.Anchored = false
  998.  
  999. local we = Instance.new("Part",workspace)
  1000. we.Anchored = true
  1001. we.CanCollide = false
  1002. we.Position = par.Torso.Position
  1003. we.Position = we.Position - Vector3.new(0,3.6,0)
  1004. we.Size = Vector3.new(0.1,1.5,0.1)
  1005. we.Material = "Glass"
  1006. we.BrickColor = BrickColor.new("Cyan")
  1007. we.Transparency = 0.5
  1008.  
  1009. for i = 1,50 do
  1010. we.Size = we.Size + Vector3.new(0.1,0,0.1)
  1011. game:GetService("RunService").Stepped:wait()
  1012. end
  1013.  
  1014. end
  1015. end
  1016. end
  1017. char["Right Arm"].Touched:connect(onTouched)
  1018.  
  1019. local mouse = plr:GetMouse()
  1020.  
  1021. function onKeyDown12(key12)
  1022. if key12 == "g" then
  1023. if isaearth.Value == true then
  1024. local w = Instance.new("Model",workspace)
  1025. w.Name = "mudstick"
  1026.  
  1027. local wrl = Instance.new("Part",w)
  1028. wrl.Orientation = char["Right Leg"].Orientation
  1029. wrl.Anchored = true
  1030. wrl.CanCollide = false
  1031. wrl.Position = char["Right Leg"].Position
  1032. wrl.Size = char["Right Leg"].Size
  1033. wrl.BrickColor = BrickColor.new("Medium stone grey")
  1034. wrl.Position = wrl.Position + Vector3.new(0,5,0)
  1035. wrl.Name = "Right Leg"
  1036.  
  1037. local wll = Instance.new("Part",w)
  1038. wll.Orientation = char["Left Leg"].Orientation
  1039. wll.Anchored = true
  1040. wll.CanCollide = false
  1041. wll.Position = char["Left Leg"].Position
  1042. wll.Size = char["Left Leg"].Size
  1043. wll.BrickColor = BrickColor.new("Medium stone grey")
  1044. wll.Position = wll.Position + Vector3.new(0,5,0)
  1045. wll.Name = "Left Leg"
  1046.  
  1047. local wra = Instance.new("Part",w)
  1048. wra.Orientation = char["Right Arm"].Orientation
  1049. wra.Anchored = true
  1050. wra.CanCollide = false
  1051. wra.Position = char["Right Arm"].Position
  1052. wra.Size = char["Right Arm"].Size
  1053. wra.BrickColor = BrickColor.new("Medium stone grey")
  1054. wra.Position = wra.Position + Vector3.new(0,5,0)
  1055. wra.Name = "Right Arm"
  1056.  
  1057. local wla = Instance.new("Part",w)
  1058. wla.Orientation = char["Left Arm"].Orientation
  1059. wla.Anchored = true
  1060. wla.CanCollide = false
  1061. wla.Position = char["Left Arm"].Position
  1062. wla.Size = char["Left Arm"].Size
  1063. wla.BrickColor = BrickColor.new("Medium stone grey")
  1064. wla.Position = wla.Position + Vector3.new(0,5,0)
  1065. wla.Name = "Left Arm"
  1066.  
  1067. local wt = Instance.new("Part",w)
  1068. wt.Orientation = char.Torso.Orientation
  1069. wt.Anchored = true
  1070. wt.CanCollide = false
  1071. wt.Position = char.Torso.Position
  1072. wt.Size = char.Torso.Size
  1073. wt.BrickColor = BrickColor.new("Medium stone grey")
  1074. wt.Position = wt.Position + Vector3.new(0,5,0)
  1075. wt.Name = "Torso"
  1076.  
  1077. local wh = Instance.new("Part",w)
  1078. wh.Orientation = char.Head.Orientation
  1079. wh.Anchored = true
  1080. wh.CanCollide = false
  1081. wh.Position = char.Head.Position
  1082. wh.Size = char.Head.Size
  1083. wh.BrickColor = BrickColor.new("Medium stone grey")
  1084. wh.Position = wh.Position + Vector3.new(0,5,0)
  1085. wh.Name = "Head"
  1086. local mc = Instance.new("SpecialMesh",wh)
  1087. mc.MeshType = char.Head.Mesh.MeshType
  1088. mc.Scale = char.Head.Mesh.Scale
  1089.  
  1090. local LeftHip = Instance.new("Motor6D",wt)
  1091. LeftHip.Name = "Left Hip"
  1092. LeftHip.Part0 = wt
  1093. LeftHip.Part1 = wll
  1094. LeftHip.C0 = CFrame.new(-0.5,-2,0)
  1095.  
  1096. local RightHip = Instance.new("Motor6D",wt)
  1097. RightHip.Name = "Right Hip"
  1098. RightHip.Part0 = wt
  1099. RightHip.Part1 = wrl
  1100. RightHip.C0 = CFrame.new(0.5,-2,0)
  1101.  
  1102. local LeftShoulder = Instance.new("Motor6D",wt)
  1103. LeftShoulder.Name = "Left Shoulder"
  1104. LeftShoulder.Part0 = wt
  1105. LeftShoulder.Part1 = wla
  1106. LeftShoulder.C0 = char.Torso["Left Shoulder"].C0
  1107.  
  1108. local RightShoulder = Instance.new("Motor6D",wt)
  1109. RightShoulder.Name = "Right Shoulder"
  1110. RightShoulder.Part0 = wt
  1111. RightShoulder.Part1 = wra
  1112. RightShoulder.C0 = char.Torso["Right Shoulder"].C0
  1113.  
  1114. local whu = char.Humanoid:Clone()
  1115. whu.Parent = w
  1116. local wf = Instance.new("ForceField",w)
  1117. wf.Visible = false
  1118. local wal = Instance.new("Animation",w)
  1119. wal.AnimationId = "rbxassetid://125750759"
  1120. local anim = whu:LoadAnimation(w:FindFirstChildOfClass("Animation"))
  1121. anim.Looped = true
  1122. anim:Play()
  1123. wh.Anchored = false
  1124. wt.Anchored = false
  1125. wla.Anchored = false
  1126. wra.Anchored = false
  1127. wll.Anchored = false
  1128. wrl.Anchored = false
  1129. local lsc = char["Left Arm"].LeftShoulderAttachment:Clone()
  1130. lsc.Parent = wla
  1131. local rsc = char["Right Arm"].RightShoulderAttachment:Clone()
  1132. rsc.Parent = wra
  1133.  
  1134. local hw = Instance.new("Weld",wt)
  1135. hw.Part0 = wt
  1136. hw.Part1 = wh
  1137. hw.C0 = CFrame.new(0,1.5,0)
  1138.  
  1139. end
  1140. end
  1141. end
  1142.  
  1143. function onKeyDown17(key17)
  1144. if key17 == "p" then
  1145. if isafire.Value == true then
  1146. fir.Value = true
  1147. local rs = char.Torso["Right Shoulder"]
  1148. rs.Part1 = nil
  1149. local rsw = Instance.new("Weld",char)
  1150. rsw.Name = "RightShoulder"
  1151. rsw.C0 = CFrame.new(1.5, 0.5, -0.5, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 10, 1)
  1152. rsw.Part0 = char.Torso
  1153. rsw.Part1 = char["Right Arm"]
  1154. wait(4)
  1155. rs.Part1 = char["Right Arm"]
  1156. rsw:Destroy()
  1157. fir.Value = false
  1158. end
  1159. end
  1160. end
  1161.  
  1162. function onTouched(brick)
  1163. if fir.Value == true then
  1164. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  1165. if humn then
  1166. local par = humn.Parent
  1167. humn:Destroy()
  1168. par["Left Arm"].Anchored = true
  1169. par["Left Leg"].Anchored = true
  1170. par["Right Arm"].Anchored = true
  1171. par["Right Leg"].Anchored = true
  1172. par.Torso.Anchored = true
  1173. par.Head.Anchored = true
  1174. par["Left Arm"].CanCollide = false
  1175. par["Left Leg"].CanCollide = false
  1176. par["Right Arm"].CanCollide = false
  1177. par["Right Leg"].CanCollide = false
  1178. par.Torso.CanCollide = false
  1179. par.Head.CanCollide = false
  1180. par["Left Arm"].BrickColor = BrickColor.new("Really red")
  1181. par["Left Leg"].BrickColor = BrickColor.new("Really red")
  1182. par["Right Arm"].BrickColor = BrickColor.new("Really red")
  1183. par["Right Leg"].BrickColor = BrickColor.new("Really red")
  1184. par.Torso.BrickColor = BrickColor.new("Really red")
  1185. par.Head.BrickColor = BrickColor.new("Really red")
  1186.  
  1187. for i,v in pairs(par:GetChildren()) do
  1188. if v.ClassName == "Script" then
  1189. v:Destroy()
  1190. end
  1191. end
  1192. for i,v in pairs(par:GetChildren()) do
  1193. if v.ClassName == "LocalScript" then
  1194. v:Destroy()
  1195. end
  1196. end
  1197. for i,v in pairs(par:GetChildren()) do
  1198. if v.ClassName == "Hat" then
  1199. v:Destroy()
  1200. end
  1201. end
  1202. for i,v in pairs(par:GetChildren()) do
  1203. if v.ClassName == "Accessory" then
  1204. v:Destroy()
  1205. end
  1206. end
  1207. for i,v in pairs(par:GetChildren()) do
  1208. if v.ClassName == "Part" then
  1209. if v.Name == "HumanoidRootPart" then
  1210. v:Destroy()
  1211. end
  1212. end
  1213. end
  1214.  
  1215. par["Left Arm"].Transparency = 0.7
  1216. par["Left Leg"].Transparency = 0.7
  1217. par["Right Arm"].Transparency = 0.7
  1218. par["Right Leg"].Transparency = 0.7
  1219. par.Torso.Transparency = 0.7
  1220. par.Head.Transparency = 0.7
  1221.  
  1222. par["Left Arm"].Anchored = false
  1223. par["Left Leg"].Anchored = false
  1224. par["Right Arm"].Anchored = false
  1225. par["Right Leg"].Anchored = false
  1226. par.Torso.Anchored = false
  1227. par.Head.Anchored = false
  1228.  
  1229. par["Left Arm"].CanCollide = true
  1230. par["Left Leg"].CanCollide = true
  1231. par["Right Arm"].CanCollide = true
  1232. par["Right Leg"].CanCollide = true
  1233. par.Torso.CanCollide = true
  1234. par.Head.CanCollide = true
  1235. end
  1236. end
  1237. end
  1238. char["Right Arm"].Touched:connect(onTouched)
  1239.  
  1240. --Mouse Functions--
  1241. Mouse = plr:GetMouse()
  1242. if Mouse then
  1243. Mouse.KeyDown:connect(onKeyDown)
  1244. Mouse.KeyDown:connect(onKeyDown2)
  1245. Mouse.KeyDown:connect(onKeyDown3)
  1246. Mouse.KeyDown:connect(onKeyDown4)
  1247. Mouse.KeyDown:connect(onKeyDown5)
  1248. Mouse.KeyDown:connect(onKeyDown6)
  1249. Mouse.KeyDown:connect(onKeyDown7)
  1250. Mouse.KeyDown:connect(onKeyDown8)
  1251. Mouse.KeyDown:connect(onKeyDown9)
  1252. Mouse.KeyDown:connect(onKeyDown10)
  1253. Mouse.KeyDown:connect(onKeyDown11)
  1254. Mouse.KeyDown:connect(onKeyDown12)
  1255. Mouse.KeyDown:connect(onKeyDown13)
  1256. Mouse.KeyDown:connect(onKeyDown14)
  1257. Mouse.KeyDown:connect(onKeyDown15)
  1258. Mouse.KeyDown:connect(onKeyDown16)
  1259. Mouse.KeyDown:connect(onKeyDown17)
  1260. end
  1261.  
  1262. ha = Instance.new("Hat")
  1263. p = Instance.new("Part")
  1264. ha.Name = "Hat"
  1265. p.Parent = ha
  1266. p.Position = char.Head.Position
  1267. p.Name = "Handle"
  1268. p.formFactor = 0
  1269. p.Size = Vector3.new(1, 1, 1)
  1270. p.BottomSurface = 0
  1271. p.TopSurface = 0
  1272. p.Locked = true
  1273. p.Transparency = 1
  1274. ha.Parent = char
  1275. ha.AttachmentPos = Vector3.new(-1.68, 2.153, -3.199)
  1276.  
  1277. ha2 = Instance.new("Hat")
  1278. p2 = Instance.new("Part")
  1279. ha2.Name = "Hat2"
  1280. p2.Parent = ha2
  1281. p2.Position = char.Head.Position
  1282. p2.Name = "Handle"
  1283. p2.formFactor = 0
  1284. p2.Size = Vector3.new(1, 1, 1)
  1285. p2.BottomSurface = 0
  1286. p2.TopSurface = 0
  1287. p2.Locked = true
  1288. p2.Transparency = 1
  1289. ha2.Parent = char
  1290. ha2.AttachmentPos = Vector3.new(2.833, 2.153, -3.199)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement