Advertisement
ByJugator340

Dungeon master

Mar 8th, 2020 (edited)
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 34.82 KB | None | 0 0
  1. --[                         ]--
  2. --[ Created by ByJugator340 ]--
  3. --[                         ]--
  4. NLS([[
  5.     local Player = game:GetService("Players").LocalPlayer
  6.    
  7.     local Char = Player.Character
  8.     local Event = Char:WaitForChild("UserInput_Event")
  9.    
  10.     local UIS = game:GetService("UserInputService")
  11.    
  12.     local input = function(io,a)
  13.         if a then return end
  14.         local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  15.         Event:FireServer(io)
  16.     end
  17.     UIS.InputBegan:Connect(input)
  18.     UIS.InputEnded:Connect(input)
  19.     local Changed = false
  20.     local Mouse = Player:GetMouse()
  21.     local h,t = Mouse.Hit,Mouse.Target
  22.     while wait(1/30) do
  23.         if h~=Mouse.Hit or t~=Mouse.Target then
  24.             Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  25.             h,t=Mouse.Hit,Mouse.Target
  26.         end
  27.     end
  28. ]],owner.Character)
  29. local Player = owner
  30. local Mouse,mouse,UserInputService,ContextActionService
  31. do
  32.     script.Parent = Player.Character
  33.     local CAS = {Actions={}}
  34.     local Event = Instance.new("RemoteEvent")
  35.     Event.Name = "UserInput_Event"
  36.     Event.Parent = Player.Character
  37.     local fakeEvent = function()
  38.         local t = {_fakeEvent=true}
  39.         t.Connect = function(self,f)self.Function=f end
  40.         t.connect = t.Connect
  41.         return t
  42.     end
  43.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  44.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  45.     function CAS:BindAction(name,fun,touch,...)
  46.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  47.     end
  48.     function CAS:UnbindAction(name)
  49.         CAS.Actions[name] = nil
  50.     end
  51.     local function te(self,ev,...)
  52.         local t = m[ev]
  53.         if t and t._fakeEvent and t.Function then
  54.             t.Function(...)
  55.         end
  56.     end
  57.     m.TrigEvent = te
  58.     UIS.TrigEvent = te
  59.     Event.OnServerEvent:Connect(function(plr,io)
  60.         if plr~=Player then return end
  61.         if io.isMouse then
  62.             m.Target = io.Target
  63.             m.Hit = io.Hit
  64.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  65.             if io.UserInputState == Enum.UserInputState.Begin then
  66.                 m:TrigEvent("Button1Down")
  67.             else
  68.                 m:TrigEvent("Button1Up")
  69.             end
  70.         else
  71.             for n,t in pairs(CAS.Actions) do
  72.                 for _,k in pairs(t.Keys) do
  73.                     if k==io.KeyCode then
  74.                         t.Function(t.Name,io.UserInputState,io)
  75.                     end
  76.                 end
  77.             end
  78.             if io.UserInputState == Enum.UserInputState.Begin then
  79.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  80.                 UIS:TrigEvent("InputBegan",io,false)
  81.             else
  82.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  83.                 UIS:TrigEvent("InputEnded",io,false)
  84.             end
  85.         end
  86.     end)
  87.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  88. end
  89. Model0 = Instance.new("Model")
  90. Model1 = Instance.new("Model")
  91. Part2 = Instance.new("Part")
  92. Part3 = Instance.new("Part")
  93. Weld4 = Instance.new("Weld")
  94. Part5 = Instance.new("Part")
  95. Part6 = Instance.new("Part")
  96. Weld7 = Instance.new("Weld")
  97. Part8 = Instance.new("Part")
  98. Part9 = Instance.new("Part")
  99. Part10 = Instance.new("Part")
  100. Part11 = Instance.new("Part")
  101. Part12 = Instance.new("Part")
  102. Part13 = Instance.new("Part")
  103. Part14 = Instance.new("Part")
  104. Part15 = Instance.new("Part")
  105. Weld16 = Instance.new("Weld")
  106. Weld17 = Instance.new("Weld")
  107. Weld18 = Instance.new("Weld")
  108. Weld19 = Instance.new("Weld")
  109. Weld20 = Instance.new("Weld")
  110. Weld21 = Instance.new("Weld")
  111. Weld22 = Instance.new("Weld")
  112. Weld23 = Instance.new("Weld")
  113. Weld24 = Instance.new("Weld")
  114. Part25 = Instance.new("Part")
  115. Part26 = Instance.new("Part")
  116. Weld27 = Instance.new("Weld")
  117. Part28 = Instance.new("Part")
  118. Weld29 = Instance.new("Weld")
  119. Model30 = Instance.new("Model")
  120. Part31 = Instance.new("Part")
  121. Part32 = Instance.new("Part")
  122. Part33 = Instance.new("Part")
  123. Weld34 = Instance.new("Weld")
  124. Weld35 = Instance.new("Weld")
  125. Weld36 = Instance.new("Weld")
  126. Model37 = Instance.new("Model")
  127. Part38 = Instance.new("Part")
  128. SpecialMesh39 = Instance.new("SpecialMesh")
  129. Part40 = Instance.new("Part")
  130. SpecialMesh41 = Instance.new("SpecialMesh")
  131. Part42 = Instance.new("Part")
  132. SpecialMesh43 = Instance.new("SpecialMesh")
  133. Weld44 = Instance.new("Weld")
  134. Weld45 = Instance.new("Weld")
  135. Weld46 = Instance.new("Weld")
  136. Weld47 = Instance.new("Weld")
  137. Part48 = Instance.new("Part")
  138. SpecialMesh49 = Instance.new("SpecialMesh")
  139. Model50 = Instance.new("Model")
  140. Part51 = Instance.new("Part")
  141. Weld52 = Instance.new("Weld")
  142. Part53 = Instance.new("Part")
  143. Model0.Name = "dungeon master"
  144. Model0.Parent = owner.Character.Humanoid
  145. Model1.Name = "arms"
  146. Model1.Parent = Model0
  147. Part2.Name = "RightArm"
  148. Part2.Parent = Model1
  149. Part2.CFrame = CFrame.new(12.5100117, 14.6001816, 21.9999847, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  150. Part2.Position = Vector3.new(12.5100117, 14.6001816, 21.9999847)
  151. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  152. Part2.Size = Vector3.new(1, 1, 1)
  153. Part2.BottomSurface = Enum.SurfaceType.Smooth
  154. Part2.BrickColor = BrickColor.new("Really black")
  155. Part2.CanCollide = false
  156. Part2.Material = Enum.Material.Neon
  157. Part2.TopSurface = Enum.SurfaceType.Smooth
  158. Part2.brickColor = BrickColor.new("Really black")
  159. Part3.Parent = Part2
  160. Part3.CFrame = CFrame.new(12.4800129, 14.5951796, 21.9999847, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  161. Part3.Position = Vector3.new(12.4800129, 14.5951796, 21.9999847)
  162. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  163. Part3.Size = Vector3.new(1, 1.03000009, 1.17999995)
  164. Part3.BottomSurface = Enum.SurfaceType.Smooth
  165. Part3.BrickColor = BrickColor.new("Institutional white")
  166. Part3.Material = Enum.Material.ForceField
  167. Part3.TopSurface = Enum.SurfaceType.Smooth
  168. Part3.brickColor = BrickColor.new("Institutional white")
  169. Weld4.Name = "Part"
  170. Weld4.Parent = Part3
  171. Weld4.C0 = CFrame.new(0.0299990177, 0.00500202179, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  172. Weld4.Part0 = Part3
  173. Weld4.Part1 = Part2
  174. Weld4.part1 = Part2
  175. Part5.Name = "LeftArm"
  176. Part5.Parent = Model1
  177. Part5.CFrame = CFrame.new(19.9300022, 14.6001816, 21.9999847, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  178. Part5.Position = Vector3.new(19.9300022, 14.6001816, 21.9999847)
  179. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  180. Part5.Size = Vector3.new(1, 1, 1)
  181. Part5.BottomSurface = Enum.SurfaceType.Smooth
  182. Part5.BrickColor = BrickColor.new("Really black")
  183. Part5.CanCollide = false
  184. Part5.Material = Enum.Material.Neon
  185. Part5.TopSurface = Enum.SurfaceType.Smooth
  186. Part5.brickColor = BrickColor.new("Really black")
  187. Part6.Parent = Part5
  188. Part6.CFrame = CFrame.new(19.940012, 14.6051817, 21.9949799, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  189. Part6.Position = Vector3.new(19.940012, 14.6051817, 21.9949799)
  190. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  191. Part6.Size = Vector3.new(1, 1.04999995, 1.09000003)
  192. Part6.BottomSurface = Enum.SurfaceType.Smooth
  193. Part6.BrickColor = BrickColor.new("Institutional white")
  194. Part6.Material = Enum.Material.ForceField
  195. Part6.TopSurface = Enum.SurfaceType.Smooth
  196. Part6.brickColor = BrickColor.new("Institutional white")
  197. Weld7.Name = "Part"
  198. Weld7.Parent = Part6
  199. Weld7.C0 = CFrame.new(-0.0100102425, -0.00500011444, 0.00500488281, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  200. Weld7.Part0 = Part6
  201. Weld7.Part1 = Part5
  202. Weld7.part1 = Part5
  203. Part8.Parent = Model1
  204. Part8.CFrame = CFrame.new(12.4711409, 17.0156689, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  205. Part8.Orientation = Vector3.new(0, 180, -78.0299988)
  206. Part8.Position = Vector3.new(12.4711409, 17.0156689, 22.0085468)
  207. Part8.Rotation = Vector3.new(-180, 0, 101.970001)
  208. Part8.Color = Color3.new(0.972549, 0.85098, 0.427451)
  209. Part8.Size = Vector3.new(0.0293952916, 0.442399144, 0.570268631)
  210. Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  211. Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  212. Part8.BrickColor = BrickColor.new("Daisy orange")
  213. Part8.CanCollide = false
  214. Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  215. Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  216. Part8.Material = Enum.Material.Metal
  217. Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  218. Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  219. Part8.brickColor = BrickColor.new("Daisy orange")
  220. Part8.Shape = Enum.PartType.Cylinder
  221. Part9.Parent = Model1
  222. Part9.CFrame = CFrame.new(11.4497137, 12.1982422, 22.0078125, 0.978252649, 0.207416922, -0, -0.207416922, 0.978252649, 0, 0, 0, 1)
  223. Part9.Orientation = Vector3.new(0, 0, -11.9700003)
  224. Part9.Position = Vector3.new(11.4497137, 12.1982422, 22.0078125)
  225. Part9.Rotation = Vector3.new(0, 0, -11.9700003)
  226. Part9.Color = Color3.new(0.972549, 0.85098, 0.427451)
  227. Part9.Size = Vector3.new(0.308650583, 0.308650583, 0.308650583)
  228. Part9.BottomSurface = Enum.SurfaceType.Smooth
  229. Part9.BrickColor = BrickColor.new("Daisy orange")
  230. Part9.CanCollide = false
  231. Part9.Material = Enum.Material.Metal
  232. Part9.TopSurface = Enum.SurfaceType.Smooth
  233. Part9.brickColor = BrickColor.new("Daisy orange")
  234. Part9.Shape = Enum.PartType.Ball
  235. Part10.Parent = Model1
  236. Part10.CFrame = CFrame.new(12.4997959, 17.1508102, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  237. Part10.Orientation = Vector3.new(0, 180, -78.0299988)
  238. Part10.Position = Vector3.new(12.4997959, 17.1508102, 22.0085468)
  239. Part10.Rotation = Vector3.new(-180, 0, 101.970001)
  240. Part10.Color = Color3.new(0.972549, 0.85098, 0.427451)
  241. Part10.Size = Vector3.new(0.0293952916, 0.186660111, 0.308650553)
  242. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  243. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  244. Part10.BrickColor = BrickColor.new("Daisy orange")
  245. Part10.CanCollide = false
  246. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  247. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  248. Part10.Material = Enum.Material.Metal
  249. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  250. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  251. Part10.brickColor = BrickColor.new("Daisy orange")
  252. Part10.Shape = Enum.PartType.Cylinder
  253. Part11.Parent = Model1
  254. Part11.CFrame = CFrame.new(12.4593887, 16.9602375, 22.0078125, 0.978252649, 0.207416922, -0, -0.207416922, 0.978252649, 0, 0, 0, 1)
  255. Part11.Orientation = Vector3.new(0, 0, -11.9700003)
  256. Part11.Position = Vector3.new(12.4593887, 16.9602375, 22.0078125)
  257. Part11.Rotation = Vector3.new(0, 0, -11.9700003)
  258. Part11.Color = Color3.new(0.972549, 0.85098, 0.427451)
  259. Part11.Size = Vector3.new(0.455627024, 0.455627024, 0.455627024)
  260. Part11.BottomSurface = Enum.SurfaceType.Smooth
  261. Part11.BrickColor = BrickColor.new("Daisy orange")
  262. Part11.CanCollide = false
  263. Part11.Material = Enum.Material.Metal
  264. Part11.TopSurface = Enum.SurfaceType.Smooth
  265. Part11.brickColor = BrickColor.new("Daisy orange")
  266. Part11.Shape = Enum.PartType.Ball
  267. Part12.Parent = Model1
  268. Part12.CFrame = CFrame.new(12.4010229, 16.684967, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  269. Part12.Orientation = Vector3.new(0, 180, -78.0299988)
  270. Part12.Position = Vector3.new(12.4010229, 16.684967, 22.0085468)
  271. Part12.Rotation = Vector3.new(-180, 0, 101.970001)
  272. Part12.Color = Color3.new(0.972549, 0.85098, 0.427451)
  273. Part12.Size = Vector3.new(0.246920452, 0.39683643, 0.308650553)
  274. Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  275. Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  276. Part12.BrickColor = BrickColor.new("Daisy orange")
  277. Part12.CanCollide = false
  278. Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  279. Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  280. Part12.Material = Enum.Material.Metal
  281. Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  283. Part12.brickColor = BrickColor.new("Daisy orange")
  284. Part12.Shape = Enum.PartType.Cylinder
  285. Part13.Parent = Model1
  286. Part13.CFrame = CFrame.new(11.4840221, 12.3600636, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  287. Part13.Orientation = Vector3.new(0, 180, -78.0299988)
  288. Part13.Position = Vector3.new(11.4840221, 12.3600636, 22.0085468)
  289. Part13.Rotation = Vector3.new(-180, 0, 101.970001)
  290. Part13.Color = Color3.new(0.972549, 0.85098, 0.427451)
  291. Part13.Size = Vector3.new(0.314529628, 0.39683643, 0.308650553)
  292. Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  293. Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  294. Part13.BrickColor = BrickColor.new("Daisy orange")
  295. Part13.CanCollide = false
  296. Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  297. Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  298. Part13.Material = Enum.Material.Metal
  299. Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  300. Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  301. Part13.brickColor = BrickColor.new("Daisy orange")
  302. Part13.Shape = Enum.PartType.Cylinder
  303. Part14.Parent = Model1
  304. Part14.CFrame = CFrame.new(11.9474001, 14.5455198, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  305. Part14.Orientation = Vector3.new(0, 180, -78.0299988)
  306. Part14.Position = Vector3.new(11.9474001, 14.5455198, 22.0085468)
  307. Part14.Rotation = Vector3.new(-180, 0, 101.970001)
  308. Part14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  309. Part14.Size = Vector3.new(4.17413139, 0.293952912, 0.293952912)
  310. Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  311. Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  312. Part14.BrickColor = BrickColor.new("Really black")
  313. Part14.CanCollide = false
  314. Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  315. Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  316. Part14.Material = Enum.Material.Metal
  317. Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  318. Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  319. Part14.brickColor = BrickColor.new("Really black")
  320. Part14.Shape = Enum.PartType.Cylinder
  321. Part15.Parent = Model1
  322. Part15.CFrame = CFrame.new(12.4921751, 17.1148701, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  323. Part15.Orientation = Vector3.new(0, 180, -78.0299988)
  324. Part15.Position = Vector3.new(12.4921751, 17.1148701, 22.0085468)
  325. Part15.Rotation = Vector3.new(-180, 0, 101.970001)
  326. Part15.Color = Color3.new(0.972549, 0.85098, 0.427451)
  327. Part15.Size = Vector3.new(0.0293952916, 0.363031864, 0.308650553)
  328. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  329. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  330. Part15.BrickColor = BrickColor.new("Daisy orange")
  331. Part15.CanCollide = false
  332. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  333. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  334. Part15.Material = Enum.Material.Metal
  335. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  336. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  337. Part15.brickColor = BrickColor.new("Daisy orange")
  338. Part15.Shape = Enum.PartType.Cylinder
  339. Weld16.Name = "Part"
  340. Weld16.Parent = Part15
  341. Weld16.C0 = CFrame.new(0.158069611, 0, 0.000734329224, 0, -1, 0, -1, 0, 0, 0, 0, -1)
  342. Weld16.Part0 = Part15
  343. Weld16.Part1 = Part11
  344. Weld16.part1 = Part11
  345. Weld17.Name = "Part"
  346. Weld17.Parent = Part15
  347. Weld17.C0 = CFrame.new(0.439460754, 9.53674316e-07, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  348. Weld17.Part0 = Part15
  349. Weld17.Part1 = Part12
  350. Weld17.part1 = Part12
  351. Weld18.Name = "Part"
  352. Weld18.Parent = Part15
  353. Weld18.C0 = CFrame.new(5.0259285, -9.53674316e-07, 0.000734329224, 0, -1, 0, -1, 0, 0, 0, 0, -1)
  354. Weld18.Part0 = Part15
  355. Weld18.Part1 = Part9
  356. Weld18.part1 = Part9
  357. Weld19.Name = "Part"
  358. Weld19.Parent = Part15
  359. Weld19.C0 = CFrame.new(4.86050987, 9.53674316e-07, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  360. Weld19.Part0 = Part15
  361. Weld19.Part1 = Part13
  362. Weld19.part1 = Part13
  363. Weld20.Name = "Part"
  364. Weld20.Parent = Part15
  365. Weld20.C0 = CFrame.new(0.101406097, 9.53674316e-07, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  366. Weld20.Part0 = Part15
  367. Weld20.Part1 = Part8
  368. Weld20.part1 = Part8
  369. Weld21.Name = "Part"
  370. Weld21.Parent = Part15
  371. Weld21.C0 = CFrame.new(0.0514373779, 0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  372. Weld21.Part0 = Part15
  373. Weld21.Part1 = Part25
  374. Weld21.part1 = Part25
  375. Weld22.Name = "Part"
  376. Weld22.Parent = Part15
  377. Weld22.C0 = CFrame.new(2.62646866, 9.53674316e-07, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  378. Weld22.Part0 = Part15
  379. Weld22.Part1 = Part14
  380. Weld22.part1 = Part14
  381. Weld23.Name = "Part"
  382. Weld23.Parent = Part15
  383. Weld23.C0 = CFrame.new(-0.0367393494, 0, 0, 1, 0, -0, 0, 1, 0, -0, 0, 1)
  384. Weld23.Part0 = Part15
  385. Weld23.Part1 = Part10
  386. Weld23.part1 = Part10
  387. Weld24.Name = "RightArm"
  388. Weld24.Parent = Part15
  389. Weld24.C0 = CFrame.new(2.45630074, -0.539037704, 0.00856208801, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  390. Weld24.Part0 = Part15
  391. Weld24.Part1 = Part2
  392. Weld24.part1 = Part2
  393. Part25.Parent = Model1
  394. Part25.CFrame = CFrame.new(12.4815063, 17.0645504, 22.0085468, -0.207416922, -0.978252649, 0, -0.978252649, 0.207416922, 0, 0, 0, -1)
  395. Part25.Orientation = Vector3.new(0, 180, -78.0299988)
  396. Part25.Position = Vector3.new(12.4815063, 17.0645504, 22.0085468)
  397. Part25.Rotation = Vector3.new(-180, 0, 101.970001)
  398. Part25.Color = Color3.new(0.972549, 0.85098, 0.427451)
  399. Part25.Size = Vector3.new(0.0293952916, 0.399775952, 0.570268631)
  400. Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  401. Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  402. Part25.BrickColor = BrickColor.new("Daisy orange")
  403. Part25.CanCollide = false
  404. Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  405. Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  406. Part25.Material = Enum.Material.Metal
  407. Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  408. Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  409. Part25.brickColor = BrickColor.new("Daisy orange")
  410. Part25.Shape = Enum.PartType.Cylinder
  411. Part26.Name = "lal"
  412. Part26.Parent = Model1
  413. Part26.CFrame = CFrame.new(18.7977257, 14.5979033, 22.002264, 1.00000072, 1.33468431e-10, 4.47035049e-08, 1.33468431e-10, 1.00000072, 3.42314088e-09, 4.47035049e-08, 3.42314088e-09, 1.00000143)
  414. Part26.Position = Vector3.new(18.7977257, 14.5979033, 22.002264)
  415. Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  416. Part26.Transparency = 1
  417. Part26.Size = Vector3.new(1.45544088, 1.45544088, 1.45544088)
  418. Part26.BottomSurface = Enum.SurfaceType.Smooth
  419. Part26.BrickColor = BrickColor.new("Really black")
  420. Part26.CanCollide = false
  421. Part26.Material = Enum.Material.Neon
  422. Part26.TopSurface = Enum.SurfaceType.Smooth
  423. Part26.brickColor = BrickColor.new("Really black")
  424. Weld27.Name = "black"
  425. Weld27.Parent = Part26
  426. Weld27.C0 = CFrame.new(-2.47771645, 1.53227615, -0.00227928162, 1.00000036, 8.1286089e-11, 2.23517418e-08, 5.21822585e-11, 1.00000036, 1.82859239e-09, 2.23517418e-08, 1.59454672e-09, 1.00000072)
  427. Weld27.Part0 = Part26
  428. Weld27.Part1 = Part53
  429. Weld27.part1 = Part53
  430. Part28.Name = "ral"
  431. Part28.Parent = Model1
  432. Part28.CFrame = CFrame.new(13.8013697, 14.6039686, 21.9999847, 1.00000072, 1.33468431e-10, 4.47035049e-08, 1.33468431e-10, 1.00000072, 3.42314088e-09, 4.47035049e-08, 3.42314088e-09, 1.00000143)
  433. Part28.Position = Vector3.new(13.8013697, 14.6039686, 21.9999847)
  434. Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  435. Part28.Transparency = 1
  436. Part28.Size = Vector3.new(1.45500004, 1.45500004, 1.45500004)
  437. Part28.BottomSurface = Enum.SurfaceType.Smooth
  438. Part28.BrickColor = BrickColor.new("Really black")
  439. Part28.CanCollide = false
  440. Part28.Material = Enum.Material.Neon
  441. Part28.TopSurface = Enum.SurfaceType.Smooth
  442. Part28.brickColor = BrickColor.new("Really black")
  443. Weld29.Name = "black"
  444. Weld29.Parent = Part28
  445. Weld29.C0 = CFrame.new(2.51863575, 1.52621078, 0, 1.00000036, 8.1286089e-11, 2.23517418e-08, 5.21822585e-11, 1.00000036, 1.82859239e-09, 2.23517418e-08, 1.59454672e-09, 1.00000072)
  446. Weld29.Part0 = Part28
  447. Weld29.Part1 = Part53
  448. Weld29.part1 = Part53
  449. Model30.Name = "Hat"
  450. Model30.Parent = Model0
  451. Part31.Parent = Model30
  452. Part31.CFrame = CFrame.new(16.7022305, 19.0786724, 22.0171814, 0.985783458, 0.168024078, 2.23517418e-08, -0.168024078, 0.985783458, 1.82859239e-09, 2.1766045e-08, 5.32750644e-09, 1.00000072)
  453. Part31.Orientation = Vector3.new(0, 0, -9.67000008)
  454. Part31.Position = Vector3.new(16.7022305, 19.0786724, 22.0171814)
  455. Part31.Rotation = Vector3.new(0, 0, -9.67000008)
  456. Part31.Color = Color3.new(0.105882, 0.164706, 0.207843)
  457. Part31.Size = Vector3.new(4.70970488, 1.02384889, 3.58347034)
  458. Part31.BottomSurface = Enum.SurfaceType.Smooth
  459. Part31.BrickColor = BrickColor.new("Black")
  460. Part31.CanCollide = false
  461. Part31.Material = Enum.Material.SmoothPlastic
  462. Part31.TopSurface = Enum.SurfaceType.Smooth
  463. Part31.brickColor = BrickColor.new("Black")
  464. Part32.Parent = Model30
  465. Part32.CFrame = CFrame.new(17.0204849, 20.9458942, 21.9403992, 0.985783458, 0.168024078, 2.23517418e-08, -0.168024078, 0.985783458, 1.82859239e-09, 2.1766045e-08, 5.32750644e-09, 1.00000072)
  466. Part32.Orientation = Vector3.new(0, 0, -9.67000008)
  467. Part32.Position = Vector3.new(17.0204849, 20.9458942, 21.9403992)
  468. Part32.Rotation = Vector3.new(0, 0, -9.67000008)
  469. Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  470. Part32.Size = Vector3.new(4.09539461, 2.76439166, 3.22512341)
  471. Part32.BottomSurface = Enum.SurfaceType.Smooth
  472. Part32.BrickColor = BrickColor.new("Really black")
  473. Part32.CanCollide = false
  474. Part32.Material = Enum.Material.SmoothPlastic
  475. Part32.TopSurface = Enum.SurfaceType.Smooth
  476. Part32.brickColor = BrickColor.new("Really black")
  477. Part33.Parent = Model30
  478. Part33.CFrame = CFrame.new(16.5301857, 18.0693703, 22.017189, 0.985783339, 0.168024063, 2.23517418e-08, -0.168024063, 0.985783339, 1.82859239e-09, 2.17660432e-08, 5.32750599e-09, 1.00000072)
  479. Part33.Orientation = Vector3.new(0, 0, -9.67000008)
  480. Part33.Position = Vector3.new(16.5301857, 18.0693703, 22.017189)
  481. Part33.Rotation = Vector3.new(0, 0, -9.67000008)
  482. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  483. Part33.Size = Vector3.new(5.93832302, 1.02384889, 3.78824091)
  484. Part33.BottomSurface = Enum.SurfaceType.Smooth
  485. Part33.BrickColor = BrickColor.new("Really black")
  486. Part33.CanCollide = false
  487. Part33.Material = Enum.Material.SmoothPlastic
  488. Part33.TopSurface = Enum.SurfaceType.Smooth
  489. Part33.brickColor = BrickColor.new("Really black")
  490. Weld34.Name = "Part"
  491. Weld34.Parent = Part33
  492. Weld34.C0 = CFrame.new(1.23977661e-05, 1.02386069, -7.62939453e-06, 1.00000012, 0, 0, 0, 1.00000012, 0, 0, 0, 1)
  493. Weld34.Part0 = Part33
  494. Weld34.Part1 = Part31
  495. Weld34.part1 = Part31
  496. Weld35.Name = "Part"
  497. Weld35.Parent = Part33
  498. Weld35.C0 = CFrame.new(2.86102295e-06, 2.91800857, -0.076789856, 1.00000012, 0, 0, 0, 1.00000012, 0, 0, 0, 1)
  499. Weld35.Part0 = Part33
  500. Weld35.Part1 = Part32
  501. Weld35.part1 = Part32
  502. Weld36.Name = "Part"
  503. Weld36.Parent = Part33
  504. Weld36.C0 = CFrame.new(0.118639946, -1.94693375, -0.0172042847, 0.985782981, -0.168024004, 0, 0.168024004, 0.985782981, 0, 0, 0, 1)
  505. Weld36.Part0 = Part33
  506. Weld36.Part1 = Part53
  507. Weld36.part1 = Part53
  508. Model37.Name = "eyes"
  509. Model37.Parent = Model0
  510. Part38.Parent = Model37
  511. Part38.CFrame = CFrame.new(17.4780445, 16.6141453, 23.8282986, 0.75587225, -0.0826051682, 0.649487674, -0.653274179, -0.0292759389, 0.756555617, -0.0434810109, -0.996152997, -0.0760926679)
  512. Part38.Orientation = Vector3.new(-49.1599998, 96.6800003, -92.5699997)
  513. Part38.Position = Vector3.new(17.4780445, 16.6141453, 23.8282986)
  514. Part38.Rotation = Vector3.new(-95.7399979, 40.5, 6.23999977)
  515. Part38.Color = Color3.new(0.972549, 0.972549, 0.972549)
  516. Part38.Size = Vector3.new(1.57000136, 0.139344171, 0.326721519)
  517. Part38.BottomSurface = Enum.SurfaceType.Smooth
  518. Part38.BrickColor = BrickColor.new("Institutional white")
  519. Part38.CanCollide = false
  520. Part38.Material = Enum.Material.Neon
  521. Part38.TopSurface = Enum.SurfaceType.Smooth
  522. Part38.brickColor = BrickColor.new("Institutional white")
  523. SpecialMesh39.Parent = Part38
  524. SpecialMesh39.MeshType = Enum.MeshType.Sphere
  525. Part40.Parent = Model37
  526. Part40.CFrame = CFrame.new(15.2580452, 16.7641468, 23.8282948, -0.757113874, 0.0299013369, -0.652598739, -0.65327394, -0.0292737558, 0.756556034, 0.00351798534, 0.999124825, 0.041697301)
  527. Part40.Orientation = Vector3.new(-49.1599998, -86.3399963, -92.5699997)
  528. Part40.Position = Vector3.new(15.2580452, 16.7641468, 23.8282948)
  529. Part40.Rotation = Vector3.new(-86.8499985, -40.7400017, -177.740005)
  530. Part40.Color = Color3.new(0.972549, 0.972549, 0.972549)
  531. Part40.Size = Vector3.new(1.57000136, 0.139344171, 0.326721519)
  532. Part40.BottomSurface = Enum.SurfaceType.Smooth
  533. Part40.BrickColor = BrickColor.new("Institutional white")
  534. Part40.CanCollide = false
  535. Part40.Material = Enum.Material.Neon
  536. Part40.TopSurface = Enum.SurfaceType.Smooth
  537. Part40.brickColor = BrickColor.new("Institutional white")
  538. SpecialMesh41.Parent = Part40
  539. SpecialMesh41.MeshType = Enum.MeshType.Sphere
  540. Part42.Name = "le"
  541. Part42.Parent = Model37
  542. Part42.CFrame = CFrame.new(17.2473259, 16.3141155, 23.8360138, 0.00014600002, 0.0416960344, -0.999130607, -0.999994099, 0.0035210303, 8.14442842e-07, 0.00351800001, 0.999124706, 0.0416962691)
  543. Part42.Orientation = Vector3.new(0, -87.6100006, -89.8000031)
  544. Part42.Position = Vector3.new(17.2473259, 16.3141155, 23.8360138)
  545. Part42.Rotation = Vector3.new(0, -87.6100006, -89.8000031)
  546. Part42.Color = Color3.new(0.972549, 0.972549, 0.972549)
  547. Part42.Size = Vector3.new(1.57000136, 0.139344171, 0.696721375)
  548. Part42.BottomSurface = Enum.SurfaceType.Smooth
  549. Part42.BrickColor = BrickColor.new("Institutional white")
  550. Part42.CanCollide = false
  551. Part42.Material = Enum.Material.Neon
  552. Part42.TopSurface = Enum.SurfaceType.Smooth
  553. Part42.brickColor = BrickColor.new("Institutional white")
  554. SpecialMesh43.Parent = Part42
  555. SpecialMesh43.MeshType = Enum.MeshType.Sphere
  556. Weld44.Name = "Part"
  557. Weld44.Parent = Part42
  558. Weld44.C0 = CFrame.new(-0.000252723694, -0.0721359253, 1.72849846, 1.00000012, -2.32830644e-10, -1.45519152e-11, -2.32830644e-10, 1.00000024, 0, -1.45519152e-11, 0, 1.00000012)
  559. Weld44.Part0 = Part42
  560. Weld44.Part1 = Part48
  561. Weld44.part1 = Part48
  562. Weld45.Name = "Part"
  563. Weld45.Parent = Part42
  564. Weld45.C0 = CFrame.new(-0.300021172, 0.00296783447, -0.230838776, 0.653227389, 0.0257592238, -0.756723583, -0.0142262653, -0.998827338, -0.0462811068, -0.757028222, 0.0409974344, -0.652094781)
  565. Weld45.Part0 = Part42
  566. Weld45.Part1 = Part38
  567. Weld45.part1 = Part38
  568. Weld46.Name = "Part"
  569. Weld46.Parent = Part42
  570. Weld46.C0 = CFrame.new(-0.45034647, -0.0890731812, 1.98722839, 0.653171539, 0.0327928513, -0.756499708, -0.0303538982, 0.999392807, 0.0171138681, 0.756601393, 0.0117844138, 0.653770268)
  571. Weld46.Part0 = Part42
  572. Weld46.Part1 = Part40
  573. Weld46.part1 = Part40
  574. Weld47.Name = "Part"
  575. Weld47.Parent = Part42
  576. Weld47.C0 = CFrame.new(0.177340031, -1.87373352, 0.849956512, 0.000145999991, -0.999993861, 0.00351799955, 0.041696012, 0.00352102797, 0.999124229, -0.999130368, 8.14413511e-07, 0.0416962616)
  577. Weld47.Part0 = Part42
  578. Weld47.Part1 = Part53
  579. Weld47.part1 = Part53
  580. Part48.Name = "re"
  581. Part48.Parent = Model37
  582. Part48.CFrame = CFrame.new(15.5173225, 16.3141155, 23.8360119, 0.000146000006, 0.0416960232, -0.999130487, -0.99999398, 0.00352102914, 8.14428176e-07, 0.00351799978, 0.999124467, 0.0416962653)
  583. Part48.Orientation = Vector3.new(0, -87.6100006, -89.8000031)
  584. Part48.Position = Vector3.new(15.5173225, 16.3141155, 23.8360119)
  585. Part48.Rotation = Vector3.new(0, -87.6100006, -89.8000031)
  586. Part48.Color = Color3.new(0.972549, 0.972549, 0.972549)
  587. Part48.Size = Vector3.new(1.57000136, 0.139344171, 0.696721375)
  588. Part48.BottomSurface = Enum.SurfaceType.Smooth
  589. Part48.BrickColor = BrickColor.new("Institutional white")
  590. Part48.CanCollide = false
  591. Part48.Material = Enum.Material.Neon
  592. Part48.TopSurface = Enum.SurfaceType.Smooth
  593. Part48.brickColor = BrickColor.new("Institutional white")
  594. SpecialMesh49.Parent = Part48
  595. SpecialMesh49.MeshType = Enum.MeshType.Sphere
  596. Model50.Name = "Head"
  597. Model50.Parent = Model0
  598. Part51.Name = "ff"
  599. Part51.Parent = Model50
  600. Part51.CFrame = CFrame.new(16.3200111, 16.1301804, 21.9999847, 1.00000036, 8.1286089e-11, 2.23517418e-08, 5.21822585e-11, 1.00000036, 1.82859239e-09, 2.23517418e-08, 1.59454672e-09, 1.00000072)
  601. Part51.Position = Vector3.new(16.3200111, 16.1301804, 21.9999847)
  602. Part51.Color = Color3.new(0.972549, 0.972549, 0.972549)
  603. Part51.Size = Vector3.new(3.83999825, 3.83999825, 3.83999825)
  604. Part51.BottomSurface = Enum.SurfaceType.Smooth
  605. Part51.BrickColor = BrickColor.new("Institutional white")
  606. Part51.CanCollide = false
  607. Part51.Material = Enum.Material.ForceField
  608. Part51.TopSurface = Enum.SurfaceType.Smooth
  609. Part51.brickColor = BrickColor.new("Institutional white")
  610. Weld52.Name = "Part"
  611. Weld52.Parent = Part51
  612. Weld52.C0 = CFrame.new(-3.81469727e-06, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  613. Weld52.Part0 = Part51
  614. Weld52.Part1 = Part53
  615. Weld52.part1 = Part53
  616. Part53.Name = "black"
  617. Part53.Parent = Model50
  618. Part53.CFrame = CFrame.new(16.3200073, 16.1301804, 21.9999847, 1.00000036, 8.1286089e-11, 2.23517418e-08, 5.21822585e-11, 1.00000036, 1.82859239e-09, 2.23517418e-08, 1.59454672e-09, 1.00000072)
  619. Part53.Position = Vector3.new(16.3200073, 16.1301804, 21.9999847)
  620. Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  621. Part53.Size = Vector3.new(3.73999834, 3.73999834, 3.73999834)
  622. Part53.BottomSurface = Enum.SurfaceType.Smooth
  623. Part53.BrickColor = BrickColor.new("Really black")
  624. Part53.CanCollide = false
  625. Part53.Material = Enum.Material.Neon
  626. Part53.TopSurface = Enum.SurfaceType.Smooth
  627. Part53.brickColor = BrickColor.new("Really black")
  628.  
  629. owner.Character["Right Arm"]:Destroy()
  630. owner.Character["Left Arm"]:Destroy()
  631.  
  632. for i,v in pairs(owner.Character:children()) do
  633.     if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
  634.         v:Destroy()
  635.     end
  636. end
  637. for i,v in pairs(Model0:GetDescendants()) do
  638.     if v:IsA("Part") and v.CanCollide == true then
  639.         v.CanCollide = false
  640.     end
  641. end
  642. owner.Character.Humanoid.Animator.Parent=nil
  643. for i,v in pairs(owner.Character.Torso:children()) do
  644.     if v:IsA("Motor6D") and v.Name~="Neck" then
  645.         v.C0=CFrame.new(owner.Character.Torso.Neck.C0.X,owner.Character.Torso.Neck.C0.Y,owner.Character.Torso.Neck.C0.Z)
  646.     end
  647. end
  648. for i,v in pairs(owner.Character:children()) do
  649.     if v:IsA("Part") then
  650.         v.Transparency=1
  651.     end
  652. end
  653. local ts = game:GetService("TweenService")
  654. local info = TweenInfo.new(0.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  655. function tween(instance,prop)
  656.     local a = ts:Create(instance,info,prop)
  657.     a:Play()
  658.     return a
  659. end
  660. local usechatUI = true
  661. function chat(msg)
  662. if usechatUI then
  663.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  664.         -- Instances:
  665.  
  666.         local chatgui = Instance.new("ScreenGui")
  667.         local Frame = Instance.new("ImageLabel")
  668.         local message = Instance.new("TextLabel")
  669.         local ImageLabel = Instance.new("ImageLabel")
  670.         local TextLabel = Instance.new("TextLabel")
  671.  
  672.         --Properties:
  673.  
  674.         chatgui.Name = "chat gui"
  675.         chatgui.Parent = v.PlayerGui
  676.  
  677.         Frame.Name = "Frame"
  678.         Frame.Parent = chatgui
  679.         Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  680.         Frame.BackgroundTransparency = 1.000
  681.         Frame.Position = UDim2.new(0.5, -215, 1, -197)
  682.         Frame.Size = UDim2.new(0, 430, 0, 197)
  683.         Frame.Image = "rbxassetid://3570695787"
  684.         Frame.ImageColor3 = Color3.fromRGB(90, 8, 255)
  685.         Frame.ScaleType = Enum.ScaleType.Slice
  686.         Frame.SliceCenter = Rect.new(100, 100, 100, 100)
  687.         Frame.SliceScale = 0.120
  688.  
  689.         TextLabel.Parent = Frame
  690.         TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  691.         TextLabel.BackgroundTransparency = 1.000
  692.         TextLabel.Position = UDim2.new(0.053353563, 0, -0.0043361187, 0)
  693.         TextLabel.Size = UDim2.new(0, 162, 0, 14)
  694.         TextLabel.Font = Enum.Font.Arcade
  695.         TextLabel.Text = "Dungeon Master:"
  696.         TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  697.         TextLabel.TextSize = 20.000
  698.  
  699.         message.Name = "message"
  700.         message.Parent = Frame
  701.         message.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  702.         message.BorderColor3 = Color3.fromRGB(255, 255, 255)
  703.         message.Position = UDim2.new(0.49868241, -191, 1, -180)
  704.         message.Size = UDim2.new(0, 383, 0, 171)
  705.         message.Font = Enum.Font.Arcade
  706.         message.Text = ""
  707.         message.TextColor3 = Color3.fromRGB(255, 255, 255)
  708.         message.TextSize = 20.000
  709.         message.TextWrapped = true
  710.  
  711.         ImageLabel.Parent = message
  712.         ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  713.         ImageLabel.BackgroundTransparency = 1.000
  714.         ImageLabel.Position = UDim2.new(0.873579741, 0, -0.322855115, 0)
  715.         ImageLabel.Size = UDim2.new(0, 100, 0, 100)
  716.         ImageLabel.Image = "http://www.roblox.com/asset/?id=728517025"
  717.  
  718.         for i,v in pairs(Frame:GetChildren()) do
  719.             if v:IsA("TextLabel") and v.Text == "Label" then
  720.                 v.Text = "Dungeon Master:"
  721.             end
  722.         end
  723.         if msg:lower():find("noui") then usechatUI=false message.Text ="Chat UI disabled." end
  724.         if not msg:find("g/nog sr") and not msg:find("/e") then
  725.             if msg:find("/e") then
  726.                 local a = string.sub(msg,2)
  727.                 message.Text= a
  728.             end
  729.             message.Text = msg
  730.             coroutine.wrap(function()
  731.                 wait(3)
  732.                 for i,v in pairs(Frame:GetChildren()) do
  733.                     v.Visible = false
  734.                 end
  735.                 Frame:TweenSize(UDim2.new(0, 7,0, 197),"Out","Quad",1)
  736.  
  737.                 wait(1)
  738.                 Frame:Destroy()
  739.             end)()
  740.         end
  741.     end
  742.     end
  743. end
  744.  
  745.  
  746.     owner.Chatted:Connect(chat)
  747.     Aimpart=Instance.new("Part",owner.Character.Humanoid)
  748.     Aimpart.Size=Vector3.new(0.05,0.05,0.05)
  749.     Aimpart.Anchored=false
  750.     Aimpart.CanCollide=false
  751.     Aimpart.Transparency=1
  752.  
  753.     local HeadBP = Instance.new("BodyPosition", Part53)
  754.     HeadBP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  755.     local HeadBP2 = Instance.new("BodyPosition", Part53)
  756.     HeadBP2.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  757.  
  758.  
  759.     local HeadBG = Instance.new("BodyGyro", Part53)
  760.     HeadBG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  761.  
  762.     local LABP = Instance.new("BodyPosition", Part5)
  763.     LABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  764.     local LABG = Instance.new("BodyGyro",Part5)
  765.     LABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  766.  
  767.     local RABP = Instance.new("BodyPosition", Part2)
  768.     RABP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  769.     local RABG = Instance.new("BodyGyro",Part2)
  770.     RABG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  771.  
  772.     blink=0
  773.  
  774.     sine=0
  775.  
  776.     owner.Character.Head.CanCollide=false
  777.     owner.Character.Torso.CanCollide=false
  778.  
  779.     blinked=false
  780.  
  781.     anch=false
  782.     grebpos=4
  783.     sleeping=false
  784.  
  785.     OrientationWEW=0
  786.  
  787.     welded=false
  788.     function grab(part)
  789.         if welded==false then
  790.             if part~=nil and part.Name~="CMain" and part.Name~="CSub"  then
  791.                 wew=Instance.new("Weld",owner.Character.Humanoid)
  792.                 wew.Part0=Part2
  793.                 wew.Part1=part
  794.                 wew.C0=CFrame.new(wew.C0.X,wew.C0.Y-part.Size.Y+part.Size.Y/2,wew.C0.Z)
  795.                 welded=true
  796.  
  797.             end
  798.         else
  799.             welded=false
  800.             wew:Destroy()
  801.         end
  802.     end
  803.     while wait() do
  804.         owner.Character.Humanoid.BreakJointsOnDeath = false
  805.         owner.Character.Humanoid.MaxHealth = math.huge
  806.         owner.Character.Humanoid.Health = math.huge
  807.         owner.Character.Humanoid:SetStateEnabled("Dead",false)
  808.         owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
  809.  
  810.         local mosposs = mouse.Hit.Position
  811.         Aimpart.Position=mosposs
  812.         if owner.Character.Head:findFirstChildOfClass("Decal") then
  813.             owner.Character.Head:findFirstChildOfClass("Decal"):Destroy()
  814.         end
  815.  
  816.         if welded==false then
  817.             HeadBG.CFrame=CFrame.new(Part51.Position,mosposs)
  818.         elseif welded==true then
  819.             HeadBG.CFrame=CFrame.new(Part51.Position,Part2.Position)
  820.         end
  821.         local Vol = Mouse.Hit.Position
  822.         if sleeping==false then
  823.             HeadBP.Position = owner.Character.Torso.Position+Vector3.new(0,Vol/100,0)
  824.             HeadBG.CFrame = HeadBG.CFrame * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
  825.         end
  826.         LABP.Position = Part26.Position
  827.         LABG.CFrame = Part26.CFrame
  828.         if welded==false then
  829.             RABP.Position = Part28.Position
  830.             RABG.CFrame = Part28.CFrame
  831.         else
  832.             RABP.Position = Aimpart.Position+Vector3.new(0,grebpos,0)
  833.             RABG.CFrame = Aimpart.CFrame*CFrame.Angles(0,OrientationWEW,0)
  834.         end
  835.  
  836.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement