Advertisement
DrakerMaker

gde

Jan 26th, 2020
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.24 KB | None | 0 0
  1. print("WIP")
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. function wbtwe(Part0, Part1, C0)
  84. local weld = Instance.new("Weld", Part0)
  85. weld.Part0 = Part0
  86. weld.Part1 = Part1
  87. weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
  88. return weld
  89. end
  90. walk = 0
  91. deb = false
  92. animt = true
  93. mode = 0
  94. hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0) *CFrame.Angles(0, 0, 0))
  95. law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.49, 0.1, 0) *CFrame.Angles(0, 25, 0.1))
  96. raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.49, 0.1, 0) *CFrame.Angles(0, 0, -0.1))
  97. llw = wbtwe(owner.Character["Left Leg"], owner.Character.HumanoidRootPart, CFrame.new(0.45, 1.9, 0) *CFrame.Angles(0, 25, 0))
  98. rlw = wbtwe(owner.Character["Right Leg"], owner.Character.HumanoidRootPart, CFrame.new(-0.4, 1.9, 0) *CFrame.Angles(0, 0, 0) *CFrame.Angles(0, 0, 0))
  99. hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.5, 0))
  100. local song = Instance.new("Sound", owner.Character.Head)
  101. song.Volume = 5
  102. song.SoundId = "rbxassetid://1494452913"
  103. song.Looped = true
  104. song:Play()
  105. for i,v in pairs(owner.Character:GetDescendants()) do
  106. if v:IsA("Accessory") or v:IsA("Decal") or v:IsA("SpecialMesh") then
  107. v:Destroy()
  108. end
  109. if v:IsA("Part") and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
  110. v.Transparency = 1
  111. if v.Name == "Torso" then
  112. end
  113. elseif v:IsA("Part") and v.Name == "Head" then
  114. v.Transparency = 1
  115. end
  116. end
  117. local mas = Instance.new("Model", game:GetService("Lighting"))
  118. local Model = Instance.new("Model")
  119. local Head = Instance.new("Part")
  120. local Mesh = Instance.new("SpecialMesh")
  121. local Part = Instance.new("Part")
  122. local WeldConstraint = Instance.new("WeldConstraint")
  123. local Part_1 = Instance.new("Part")
  124. local WeldConstraint_1 = Instance.new("WeldConstraint")
  125. local Handle = Instance.new("Part")
  126. local Mesh_1 = Instance.new("SpecialMesh")
  127. local WeldConstraint_2 = Instance.new("WeldConstraint")
  128. local Part_2 = Instance.new("Part")
  129. local WeldConstraint_3 = Instance.new("WeldConstraint")
  130. local Part_3 = Instance.new("Part")
  131. local WeldConstraint_4 = Instance.new("WeldConstraint")
  132. Model.Parent = mas
  133. Head.CFrame = CFrame.new(-1.159,8.26,9.107,0,0,1,0,1,0,-1,0,0)
  134. Head.CanCollide = false
  135. Head.Color = Color3.new(0.792,0.796,0.82)
  136. Head.Size = Vector3.new(2,1,1)
  137. Head.TopSurface = Enum.SurfaceType.Smooth
  138. Head.Name = "Head"
  139. Head.Parent = Model
  140. Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  141. Mesh.Parent = Head
  142. Part.Shape = Enum.PartType.Cylinder
  143. Part.BottomSurface = Enum.SurfaceType.Smooth
  144. Part.CFrame = CFrame.new(-1.738,8.377,9.374,0.98,0,0.199,0,1,0,-0.199,0,0.98)
  145. Part.CanCollide = false
  146. Part.Color = Color3.new(0.106,0.165,0.208)
  147. Part.Material = Enum.Material.DiamondPlate
  148. Part.Size = Vector3.new(0.05,0.45,1)
  149. Part.TopSurface = Enum.SurfaceType.Smooth
  150. Part.Parent = Model
  151. WeldConstraint.Part0 = Part
  152. WeldConstraint.Part1 = Head
  153. WeldConstraint.Parent = Part
  154. Part_1.Shape = Enum.PartType.Cylinder
  155. Part_1.BottomSurface = Enum.SurfaceType.Smooth
  156. Part_1.CFrame = CFrame.new(-1.761,8.362,9.379,0.98,0,0.199,0,1,0,-0.199,0,0.98)
  157. Part_1.CanCollide = false
  158. Part_1.Color = Color3.new(0.769,0.157,0.11)
  159. Part_1.Material = Enum.Material.Neon
  160. Part_1.Size = Vector3.new(0.05,0.3,1)
  161. Part_1.TopSurface = Enum.SurfaceType.Smooth
  162. Part_1.Parent = Model
  163. WeldConstraint_1.Part0 = Part_1
  164. WeldConstraint_1.Part1 = Head
  165. WeldConstraint_1.Parent = Part_1
  166. Handle.BottomSurface = Enum.SurfaceType.Smooth
  167. Handle.CFrame = CFrame.new(-1.112,8.462,9.16,0,0,1,0,1,0,-1,0,0)
  168. Handle.CanCollide = false
  169. Handle.Color = Color3.new(0.067,0.067,0.067)
  170. Handle.Size = Vector3.new(2,2,1.8)
  171. Handle.TopSurface = Enum.SurfaceType.Smooth
  172. Handle.Name = "Handle"
  173. Handle.Parent = Model
  174. Mesh_1.MeshType = Enum.MeshType.FileMesh
  175. Mesh_1.MeshId = "http://www.roblox.com/asset/?id=76062497"
  176. Mesh_1.Parent = Handle
  177. WeldConstraint_2.Part0 = Handle
  178. WeldConstraint_2.Part1 = Head
  179. WeldConstraint_2.Parent = Handle
  180. Part_2.Shape = Enum.PartType.Cylinder
  181. Part_2.BottomSurface = Enum.SurfaceType.Smooth
  182. Part_2.CFrame = CFrame.new(-1.761,8.362,8.879,0.976,0,-0.217,0,1,0,0.217,0,0.976)
  183. Part_2.CanCollide = false
  184. Part_2.Color = Color3.new(0.769,0.157,0.11)
  185. Part_2.Material = Enum.Material.Neon
  186. Part_2.Size = Vector3.new(0.05,0.3,1)
  187. Part_2.TopSurface = Enum.SurfaceType.Smooth
  188. Part_2.Parent = Model
  189. WeldConstraint_3.Part0 = Part_2
  190. WeldConstraint_3.Part1 = Head
  191. WeldConstraint_3.Parent = Part_2
  192. Part_3.Shape = Enum.PartType.Cylinder
  193. Part_3.BottomSurface = Enum.SurfaceType.Smooth
  194. Part_3.CFrame = CFrame.new(-1.738,8.377,8.885,0.976,0,-0.217,0,1,0,0.217,0,0.976)
  195. Part_3.CanCollide = false
  196. Part_3.Color = Color3.new(0.106,0.165,0.208)
  197. Part_3.Material = Enum.Material.DiamondPlate
  198. Part_3.Size = Vector3.new(0.05,0.45,1)
  199. Part_3.TopSurface = Enum.SurfaceType.Smooth
  200. Part_3.Parent = Model
  201. WeldConstraint_4.Part0 = Part_3
  202. WeldConstraint_4.Part1 = Head
  203. WeldConstraint_4.Parent = Part_3
  204. mas.Parent = owner.Character
  205. local mass = Instance.new("Model", game:GetService("Lighting"))
  206. local left = Instance.new("Model")
  207. local fab = Instance.new("Part")
  208. local WeldConstraint = Instance.new("WeldConstraint")
  209. local Base = Instance.new("Part")
  210. local Part = Instance.new("Part")
  211. local WeldConstraint_1 = Instance.new("WeldConstraint")
  212. left.Name = "left"
  213. left.Parent = mass
  214. fab.BottomSurface = Enum.SurfaceType.Smooth
  215. fab.CFrame = CFrame.new(-7.112,2.01,32.34,1,0,0,0,1,0,0,0,1)
  216. fab.CanCollide = false
  217. fab.Color = Color3.new(0.106,0.165,0.208)
  218. fab.Material = Enum.Material.Fabric
  219. fab.Size = Vector3.new(1,0.68,1)
  220. fab.TopSurface = Enum.SurfaceType.Smooth
  221. fab.Name = "fab"
  222. fab.Parent = left
  223. WeldConstraint.Part0 = fab
  224. WeldConstraint.Part1 = Base
  225. WeldConstraint.Parent = fab
  226. Base.BottomSurface = Enum.SurfaceType.Smooth
  227. Base.CFrame = CFrame.new(-7.112,1.145,32.33,1,0,0,0,1,0,0,0,1)
  228. Base.CanCollide = false
  229. Base.Color = Color3.new(0.106,0.165,0.208)
  230. Base.Material = Enum.Material.DiamondPlate
  231. Base.Size = Vector3.new(0.94,1.11,0.91)
  232. Base.TopSurface = Enum.SurfaceType.Smooth
  233. Base.Name = "Base"
  234. Base.Parent = left
  235. Part.Shape = Enum.PartType.Cylinder
  236. Part.BottomSurface = Enum.SurfaceType.Smooth
  237. Part.CFrame = CFrame.new(-7.123,0.92,31.868,0,0,1,0,1,0,-1,0,0)
  238. Part.CanCollide = false
  239. Part.Color = Color3.new(0.769,0.157,0.11)
  240. Part.Material = Enum.Material.Neon
  241. Part.Size = Vector3.new(0.05,0.3,1)
  242. Part.TopSurface = Enum.SurfaceType.Smooth
  243. Part.Parent = left
  244. WeldConstraint_1.Part0 = Part
  245. WeldConstraint_1.Part1 = Part
  246. WeldConstraint_1.Parent = Part
  247. mass.Parent = owner.Character
  248. local massss = Instance.new("Model", game:GetService("Lighting"))
  249. local Model = Instance.new("Model")
  250. local Part = Instance.new("Part")
  251. local WeldConstraint = Instance.new("WeldConstraint")
  252. local Torso = Instance.new("Part")
  253. Model.Parent = massss
  254. Part.Shape = Enum.PartType.Cylinder
  255. Part.BottomSurface = Enum.SurfaceType.Smooth
  256. Part.CFrame = CFrame.new(-19.501,1.005,104.968,-1,0,0,0,1,0,0,0,-1)
  257. Part.CanCollide = false
  258. Part.Color = Color3.new(0.769,0.157,0.11)
  259. Part.Material = Enum.Material.Neon
  260. Part.Size = Vector3.new(0.05,1.23,1.74)
  261. Part.TopSurface = Enum.SurfaceType.Smooth
  262. Part.Parent = Model
  263. WeldConstraint.Part0 = Part
  264. WeldConstraint.Part1 = Torso
  265. WeldConstraint.Parent = Part
  266. Torso.CFrame = CFrame.new(-20.026,1,104.943,0,0,-1,0,1,0,1,0,0)
  267. Torso.CanCollide = false
  268. Torso.Color = Color3.new(0.106,0.165,0.208)
  269. Torso.Material = Enum.Material.Fabric
  270. Torso.Size = Vector3.new(2,2,1)
  271. Torso.TopSurface = Enum.SurfaceType.Smooth
  272. Torso.Name = "Torso"
  273. Torso.Parent = Model
  274. massss.Parent = owner.Character
  275. local RightLeg = Instance.new("Part")
  276. RightLeg.BottomSurface = Enum.SurfaceType.Smooth
  277. RightLeg.CFrame = CFrame.new(2.79,1,53.57,-1,0,0,0,1,0,0,0,-1)
  278. RightLeg.CanCollide = false
  279. RightLeg.CastShadow = false
  280. RightLeg.Color = Color3.new(0.106,0.165,0.208)
  281. RightLeg.Material = Enum.Material.DiamondPlate
  282. RightLeg.Size = Vector3.new(1,2,1)
  283. RightLeg.Name = "RightLeg"
  284. RightLeg.Parent = mas
  285. local LeftLeg = Instance.new("Part")
  286. LeftLeg.BottomSurface = Enum.SurfaceType.Smooth
  287. LeftLeg.CFrame = CFrame.new(2.79,1,53.57,-1,0,0,0,1,0,0,0,-1)
  288. LeftLeg.CanCollide = false
  289. LeftLeg.CastShadow = false
  290. LeftLeg.Color = Color3.new(0.106,0.165,0.208)
  291. LeftLeg.Material = Enum.Material.DiamondPlate
  292. LeftLeg.Size = Vector3.new(1,2,1)
  293. LeftLeg.Name = "LeftLeg"
  294. LeftLeg.Parent = massss
  295. massss.Parent = owner.Character
  296. local masss = Instance.new("Model", game:GetService("Lighting"))
  297. local Model = Instance.new("Model")
  298. local Part = Instance.new("Part")
  299. local LeftArmTerrainJoint = Instance.new("ManualWeld")
  300. local WeldConstraint = Instance.new("WeldConstraint")
  301. local Part_1 = Instance.new("Part")
  302. local LeftArmTerrainJoint_1 = Instance.new("ManualWeld")
  303. local WeldConstraint_1 = Instance.new("WeldConstraint")
  304. local Part_2 = Instance.new("Part")
  305. local LeftArmTerrainJoint_2 = Instance.new("ManualWeld")
  306. local WeldConstraint_2 = Instance.new("WeldConstraint")
  307. local Part_3 = Instance.new("Part")
  308. local LeftArmTerrainJoint_3 = Instance.new("ManualWeld")
  309. local WeldConstraint_3 = Instance.new("WeldConstraint")
  310. local Part_4 = Instance.new("Part")
  311. local LeftArmTerrainJoint_4 = Instance.new("ManualWeld")
  312. local WeldConstraint_4 = Instance.new("WeldConstraint")
  313. local Part_5 = Instance.new("Part")
  314. local LeftArmTerrainJoint_5 = Instance.new("ManualWeld")
  315. local WeldConstraint_5 = Instance.new("WeldConstraint")
  316. local Basee = Instance.new("Part")
  317. local LeftArmTerrainJoint_6 = Instance.new("ManualWeld")
  318. local Part_6 = Instance.new("Part")
  319. local LeftArmTerrainJoint_7 = Instance.new("ManualWeld")
  320. local WeldConstraint_6 = Instance.new("WeldConstraint")
  321. local Part_7 = Instance.new("Part")
  322. local LeftArmTerrainJoint_8 = Instance.new("ManualWeld")
  323. local WeldConstraint_7 = Instance.new("WeldConstraint")
  324. local Part_8 = Instance.new("Part")
  325. local LeftArmTerrainJoint_9 = Instance.new("ManualWeld")
  326. local WeldConstraint_8 = Instance.new("WeldConstraint")
  327. Model.Parent = masss
  328. Part.CFrame = CFrame.new(18.82,0.095,23.38,0,0,1,0,1,0,-1,0,0)
  329. Part.CanCollide = false
  330. Part.Color = Color3.new(0.106,0.165,0.208)
  331. Part.Material = Enum.Material.DiamondPlate
  332. Part.Size = Vector3.new(1,0.19,1)
  333. Part.Parent = Model
  334. LeftArmTerrainJoint.Part1 = Part
  335. LeftArmTerrainJoint.Name = "Left Arm Terrain Joint"
  336. LeftArmTerrainJoint.Parent = Part
  337. WeldConstraint.Part0 = Part
  338. WeldConstraint.Part1 = Basee
  339. WeldConstraint.Parent = Part
  340. Part_1.CFrame = CFrame.new(18.82,1.954,23.38,0,0,1,0,1,0,-1,0,0)
  341. Part_1.CanCollide = false
  342. Part_1.Color = Color3.new(0.106,0.165,0.208)
  343. Part_1.Material = Enum.Material.DiamondPlate
  344. Part_1.Size = Vector3.new(1,0.11,1)
  345. Part_1.Parent = Model
  346. LeftArmTerrainJoint_1.Part1 = Part_1
  347. LeftArmTerrainJoint_1.Name = "Left Arm Terrain Joint"
  348. LeftArmTerrainJoint_1.Parent = Part_1
  349. WeldConstraint_1.Part0 = Part_1
  350. WeldConstraint_1.Part1 = Basee
  351. WeldConstraint_1.Parent = Part_1
  352. Part_2.CFrame = CFrame.new(18.808,1.064,22.96,0,0,1,0,1,0,-1,0,0)
  353. Part_2.CanCollide = false
  354. Part_2.Color = Color3.new(0.106,0.165,0.208)
  355. Part_2.Material = Enum.Material.DiamondPlate
  356. Part_2.Size = Vector3.new(0.16,1.89,0.17)
  357. Part_2.Parent = Model
  358. LeftArmTerrainJoint_2.Part1 = Part_2
  359. LeftArmTerrainJoint_2.Name = "Left Arm Terrain Joint"
  360. LeftArmTerrainJoint_2.Parent = Part_2
  361. WeldConstraint_2.Part0 = Part_2
  362. WeldConstraint_2.Part1 = Basee
  363. WeldConstraint_2.Parent = Part_2
  364. Part_3.CFrame = CFrame.new(19.195,1.064,23.229,-0.938,0,-0.347,0,1,0,0.347,0,-0.938)
  365. Part_3.CanCollide = false
  366. Part_3.Color = Color3.new(0.106,0.165,0.208)
  367. Part_3.Material = Enum.Material.DiamondPlate
  368. Part_3.Size = Vector3.new(0.16,1.89,0.17)
  369. Part_3.Parent = Model
  370. LeftArmTerrainJoint_3.Part1 = Part_3
  371. LeftArmTerrainJoint_3.Name = "Left Arm Terrain Joint"
  372. LeftArmTerrainJoint_3.Parent = Part_3
  373. WeldConstraint_3.Part0 = Part_3
  374. WeldConstraint_3.Part1 = Basee
  375. WeldConstraint_3.Parent = Part_3
  376. Part_4.CFrame = CFrame.new(18.421,1.064,23.515,-0.938,0,-0.347,0,1,0,0.347,0,-0.938)
  377. Part_4.CanCollide = false
  378. Part_4.Color = Color3.new(0.106,0.165,0.208)
  379. Part_4.Material = Enum.Material.DiamondPlate
  380. Part_4.Size = Vector3.new(0.16,1.89,0.17)
  381. Part_4.Parent = Model
  382. LeftArmTerrainJoint_4.Part1 = Part_4
  383. LeftArmTerrainJoint_4.Name = "Left Arm Terrain Joint"
  384. LeftArmTerrainJoint_4.Parent = Part_4
  385. WeldConstraint_4.Part0 = Part_4
  386. WeldConstraint_4.Part1 = Basee
  387. WeldConstraint_4.Parent = Part_4
  388. Part_5.CFrame = CFrame.new(18.775,1.035,23.37,0,0,1,0,1,0,-1,0,0)
  389. Part_5.CanCollide = false
  390. Part_5.Color = Color3.new(1,0,0)
  391. Part_5.Material = Enum.Material.Neon
  392. Part_5.Size = Vector3.new(0.48,1.75,0.51)
  393. Part_5.Parent = Model
  394. LeftArmTerrainJoint_5.Part1 = Part_5
  395. LeftArmTerrainJoint_5.Name = "Left Arm Terrain Joint"
  396. LeftArmTerrainJoint_5.Parent = Part_5
  397. WeldConstraint_5.Part0 = Part_5
  398. WeldConstraint_5.Part1 = Basee
  399. WeldConstraint_5.Parent = Part_5
  400. Basee.CFrame = CFrame.new(18.82,1.024,23.38,0,0,1,0,1,0,-1,0,0)
  401. Basee.CanCollide = false
  402. Basee.Color = Color3.new(0.106,0.165,0.208)
  403. Basee.Material = Enum.Material.DiamondPlate
  404. Basee.Size = Vector3.new(1,1.97,1)
  405. Basee.Transparency = 1
  406. Basee.Name = "Basee"
  407. Basee.Parent = Model
  408. LeftArmTerrainJoint_6.Part1 = Basee
  409. LeftArmTerrainJoint_6.Name = "Left Arm Terrain Joint"
  410. LeftArmTerrainJoint_6.Parent = Basee
  411. Part_6.CFrame = CFrame.new(18.434,1.064,23.199,-0.908,0,0.42,0,1,0,-0.42,0,-0.908)
  412. Part_6.CanCollide = false
  413. Part_6.Color = Color3.new(0.106,0.165,0.208)
  414. Part_6.Material = Enum.Material.DiamondPlate
  415. Part_6.Size = Vector3.new(0.16,1.89,0.17)
  416. Part_6.Parent = Model
  417. LeftArmTerrainJoint_7.Part1 = Part_6
  418. LeftArmTerrainJoint_7.Name = "Left Arm Terrain Joint"
  419. LeftArmTerrainJoint_7.Parent = Part_6
  420. WeldConstraint_6.Part0 = Part_6
  421. WeldConstraint_6.Part1 = Basee
  422. WeldConstraint_6.Parent = Part_6
  423. Part_7.CFrame = CFrame.new(19.182,1.064,23.545,-0.908,0,0.42,0,1,0,-0.42,0,-0.908)
  424. Part_7.CanCollide = false
  425. Part_7.Color = Color3.new(0.106,0.165,0.208)
  426. Part_7.Material = Enum.Material.DiamondPlate
  427. Part_7.Size = Vector3.new(0.16,1.89,0.17)
  428. Part_7.Parent = Model
  429. LeftArmTerrainJoint_8.Part1 = Part_7
  430. LeftArmTerrainJoint_8.Name = "Left Arm Terrain Joint"
  431. LeftArmTerrainJoint_8.Parent = Part_7
  432. WeldConstraint_7.Part0 = Part_7
  433. WeldConstraint_7.Part1 = Basee
  434. WeldConstraint_7.Parent = Part_7
  435. Part_8.CFrame = CFrame.new(18.808,1.064,23.785,0,0,1,0,1,0,-1,0,0)
  436. Part_8.CanCollide = false
  437. Part_8.Color = Color3.new(0.106,0.165,0.208)
  438. Part_8.Material = Enum.Material.DiamondPlate
  439. Part_8.Size = Vector3.new(0.16,1.89,0.17)
  440. Part_8.Parent = Model
  441. LeftArmTerrainJoint_9.Part1 = Part_8
  442. LeftArmTerrainJoint_9.Name = "Left Arm Terrain Joint"
  443. LeftArmTerrainJoint_9.Parent = Part_8
  444. WeldConstraint_8.Part0 = Part_8
  445. WeldConstraint_8.Part1 = Basee
  446. WeldConstraint_8.Parent = Part_8
  447. masss.Parent = owner.Character
  448. wbtwe(Head, owner.Character.Head, CFrame.new(0, 0, 0))
  449. wbtwe(Base, owner.Character["Right Arm"], CFrame.new(0, 0.1, 0))
  450. wbtwe(Basee, owner.Character["Left Arm"], CFrame.new(0, 0.1, 0))
  451. wbtwe(Torso, owner.Character["Torso"], CFrame.new(0, 0, 0))
  452. wbtwe(RightLeg, owner.Character["Right Leg"], CFrame.new(0, 0, 0))
  453. wbtwe(LeftLeg, owner.Character["Left Leg"], CFrame.new(0, 0, 0))
  454. anim = coroutine.wrap(function()
  455. while game:GetService("RunService").Stepped:wait() do
  456. if animt == true then
  457. if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
  458. walk = walk +0.1
  459. hrw.C0 = hrw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.HumanoidRootPart.CFrame*CFrame.new(0, math.cos(walk) *0.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
  460. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(1.49, 0.1, 0) *CFrame.Angles(0, 25, 0.1), 0.1)
  461. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(-1.49, 0.1, 0) *CFrame.Angles(0, 0, -0.1), 0.1)
  462. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(0.45, 1.9, 0) *CFrame.Angles(0, 25, 0), 0.1)
  463. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(-0.4, 1.9, 0) *CFrame.Angles(0, 0, 0) *CFrame.Angles(0, 0, 0), 0.1)
  464. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(0, -1.5, 0) *CFrame.Angles(0, 0.7 +math.sin(walk) *0.5, 0), 0.1)
  465. end
  466. if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
  467. walk = walk +0.1
  468. hrw.C0 = hrw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.HumanoidRootPart.CFrame*CFrame.new(0, math.cos(walk) *0.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
  469. law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(1.49, 0.1, math.cos(walk) *-0.5) *CFrame.Angles(math.cos(walk) *0.5, 25, 0), 0.1)
  470. raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(-1.49, 0.1, math.cos(walk) *0.5) *CFrame.Angles(math.cos(walk) *-0.5, 0, 0), 0.1)
  471. llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(0.45, 1.9, math.cos(walk) *0.5) *CFrame.Angles(math.cos(walk) *0.5, 25, 0), 0.1)
  472. rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame*CFrame.new(-0.4, 1.9, math.cos(walk) *-0.5) *CFrame.Angles(0, 0, 0) *CFrame.Angles(math.cos(walk) *-0.5, 0, 0), 0.1)
  473. hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse()*owner.Character.Torso.CFrame* CFrame.new(0, -1.5, 0), 0.1)
  474. end
  475. end
  476. end
  477. end)anim()
  478. local shoot = Instance.new("Sound", owner.Character.Head)
  479. shoot.SoundId = "rbxassetid://156572165"
  480. shoot.Volume = 6
  481. mouse.Button1Down:connect(function()
  482. shoot:Play()
  483. local ray = Ray.new(Head.CFrame.p, (mouse.Hit.p - Head.CFrame.p).unit*300)
  484. local hit, position = game.Workspace:FindPartOnRay(ray, owner.Character)
  485. local humanoid = hit and hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid")
  486. if humanoid then
  487. hit.Parent:BreakJoints()
  488. end
  489. local distance = (position - Head.CFrame.p).magnitude
  490. local rayPart = Instance.new("Part", owner.Character)
  491. rayPart.Name = "RayPart"
  492. rayPart.BrickColor = BrickColor.new("Really red")
  493. rayPart.Material = "Neon"
  494. rayPart.Anchored = true
  495. rayPart.CanCollide = false
  496. rayPart.TopSurface = Enum.SurfaceType.Smooth
  497. rayPart.BottomSurface = Enum.SurfaceType.Smooth
  498. rayPart.formFactor = Enum.FormFactor.Custom
  499. rayPart.Size = Vector3.new(0.2, 0.2, distance)
  500. rayPart.CFrame = CFrame.new(position, Head.CFrame.p) * CFrame.new(0, 0, -distance/2)
  501. owner.Character:WaitForChild("Torso").CFrame = CFrame.new(owner.Character.Torso.CFrame.p, Vector3.new(mouse.Hit.X, owner.Character.Torso.CFrame.p.Y, mouse.Hit.Z))
  502. for i = 1,10 do
  503. game:GetService("RunService").Stepped:wait()
  504. rayPart.Transparency = rayPart.Transparency +0.1
  505. end
  506. game.Debris:AddItem(rayPart, 0.1)
  507. end)
  508. health = coroutine.wrap(function()
  509. while game:GetService("RunService").Stepped:wait() do
  510. owner.Character.Humanoid.MaxHealth = math.huge
  511. owner.Character.Humanoid.Health = math.huge
  512. end
  513. end)health()
  514. local Sign = Instance.new("Part")
  515. Sign.Transparency = 1
  516. Sign.Size = Vector3.new(5.92, 3.99, 0.05)
  517. local SurfaceGui = Instance.new("SurfaceGui")
  518. local TextBox = Instance.new("TextBox")
  519.  
  520. SurfaceGui.Parent = Sign
  521. SurfaceGui.Adornee = Sign
  522. SurfaceGui.CanvasSize = Vector2.new(160, 120)
  523.  
  524. TextBox.Parent = SurfaceGui
  525. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  526. TextBox.BackgroundTransparency = 1
  527. TextBox.Size = UDim2.new(1, 0, 1, 0)
  528. TextBox.Font = Enum.Font.Code
  529. TextBox.Text = ""
  530. TextBox.TextColor3 = Color3.new(0, 1, 0.113725)
  531. TextBox.TextScaled = true
  532. TextBox.TextSize = 10
  533. TextBox.TextWrapped = true
  534. Sign.Parent = owner.Character
  535. wbtwe(Sign, owner.Character.Torso, CFrame.new(0, -0.5, 1.2))
  536. mouse.KeyDown:connect(function(k)
  537. if k == "f" then
  538. if deb == false then
  539. mode = mode+1
  540. sound = Instance.new("Sound", owner.Character.Head)
  541. sound.SoundId = "rbxassetid://721304482"
  542. sound.Volume = 4
  543. sound:Play()
  544. deb = true
  545. animt = false
  546. owner.Character.Humanoid.WalkSpeed = 0
  547. owner.Character.Humanoid.JumpPower = 0
  548. for i,v in pairs(mas:GetChildren()) do
  549. if v:IsA("Part") then
  550. if v.Material == "Neon" then
  551. v.Transparency = 1
  552. end
  553. end
  554. end
  555. for i,v in pairs(mass:GetChildren()) do
  556. if v:IsA("Part") then
  557. if v.Material == "Neon" then
  558. v.Transparency = 1
  559. end
  560. end
  561. end
  562. for i,v in pairs(masss:GetChildren()) do
  563. if v:IsA("Part") then
  564. if v.Material == "Neon" then
  565. v.Transparency = 1
  566. end
  567. end
  568. end
  569. for i,v in pairs(massss:GetChildren()) do
  570. if v:IsA("Part") then
  571. if v.Material == "Neon" then
  572. v.Transparency = 1
  573. end
  574. end
  575. end
  576. mode = mode +1
  577. song:Stop()
  578. wait(2)
  579. TextBox.Text = "r"
  580. wait(0.1)
  581. TextBox.Text = "re"
  582. wait(0.1)
  583. TextBox.Text = "reb"
  584. wait(0.1)
  585. TextBox.Text = "rebo"
  586. wait(0.1)
  587. TextBox.Text = "reboo"
  588. wait(0.1)
  589. TextBox.Text = "reboot"
  590. wait(2)
  591. for i = 1,string.len("I had witnessed the worst you had to offer.") do
  592. wait(0.1)
  593. TextBox.Text = ("I had witnessed the worst you had to offer."):sub(1, i)
  594. end
  595. wait(2)
  596. for i,v in pairs(mas:GetChildren()) do
  597. if v:IsA("Part") then
  598. if v.Material == "Neon" then
  599. v.Transparency = 0.5
  600. end
  601. end
  602. end
  603. for i,v in pairs(mass:GetChildren()) do
  604. if v:IsA("Part") then
  605. if v.Material == "Neon" then
  606. v.Transparency = 0.5
  607. end
  608. end
  609. end
  610. for i,v in pairs(masss:GetChildren()) do
  611. if v:IsA("Part") then
  612. if v.Material == "Neon" then
  613. v.Transparency = 0.5
  614. end
  615. end
  616. end
  617. for i,v in pairs(massss:GetChildren()) do
  618. if v:IsA("Part") then
  619. if v.Material == "Neon" then
  620. v.Transparency = 0.5
  621. end
  622. end
  623. end
  624. for i = 1,string.len("NOW YOU WILL WITNESS THE WORST I HAVE TO OFFER!") do
  625. wait(0.2)
  626. TextBox.Text = ("NOW YOU WILL WITNESS THE WORST I HAVE TO OFFER!"):sub(1, i)
  627. end
  628. end
  629. end
  630. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement