Advertisement
BAconTUbe

Bendy FE

Feb 1st, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.72 KB | None | 0 0
  1. -------BY janndwayne---------
  2. ----------ENJOY--------------
  3.  
  4. --https://github.com/Mokiros/roblox-FE-compatibility
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,game,owner = owner,game
  7. local RealPlayer = Player
  8. do
  9. print("FE Compatibility code V2 by Mokiros")
  10. local RealPlayer = RealPlayer
  11. script.Parent = RealPlayer.Character
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local Disconnect_Function = function(this)
  15. this[1].Functions[this[2]] = nil
  16. end
  17. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  18. local FakeEvent_Metatable = {__index={
  19. Connect = function(this,f)
  20. local i = tostring(math.random(0,10000))
  21. while this.Functions[i] do
  22. i = tostring(math.random(0,10000))
  23. end
  24. this.Functions[i] = f
  25. return setmetatable({this,i},Disconnect_Metatable)
  26. end
  27. }}
  28. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  29. local function fakeEvent()
  30. return setmetatable({Functions={}},FakeEvent_Metatable)
  31. end
  32.  
  33. --Creating fake input objects with fake variables
  34. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  35. FakeMouse.keyUp = FakeMouse.KeyUp
  36. FakeMouse.keyDown = FakeMouse.KeyDown
  37. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  38. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  39. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  40. end}
  41. --Merged 2 functions into one by checking amount of arguments
  42. CAS.UnbindAction = CAS.BindAction
  43.  
  44. --This function will trigger the events that have been :Connect()'ed
  45. local function TriggerEvent(self,ev,...)
  46. for _,f in pairs(self[ev].Functions) do
  47. f(...)
  48. end
  49. end
  50. FakeMouse.TriggerEvent = TriggerEvent
  51. UIS.TriggerEvent = TriggerEvent
  52.  
  53. --Client communication
  54. local Event = Instance.new("RemoteEvent")
  55. Event.Name = "UserInput_Event"
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=RealPlayer then return end
  58. FakeMouse.Target = io.Target
  59. FakeMouse.Hit = io.Hit
  60. if not io.isMouse then
  61. local b = io.UserInputState == Enum.UserInputState.Begin
  62. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  63. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  64. end
  65. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  66. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  67. end
  68. for _,t in pairs(CAS.Actions) do
  69. for _,k in pairs(t.Keys) do
  70. if k==io.KeyCode then
  71. t.Function(t.Name,io.UserInputState,io)
  72. end
  73. end
  74. end
  75. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  76. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  77. end
  78. end)
  79. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  80. local Mouse = owner:GetMouse()
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,RobloxHandled)
  83. if RobloxHandled then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local h,t
  91. --Give the server mouse data every second frame, but only if the values changed
  92. --If player is not moving their mouse, client won't fire events
  93. local HB = game:GetService("RunService").Heartbeat
  94. while true do
  95. if h~=Mouse.Hit or t~=Mouse.Target then
  96. h,t=Mouse.Hit,Mouse.Target
  97. Event:FireServer({isMouse=true,Target=t,Hit=h})
  98. end
  99. --Wait 2 frames
  100. for i=1,2 do
  101. HB:Wait()
  102. end
  103. end]==],script)
  104.  
  105. ----Sandboxed game object that allows the usage of client-side methods and services
  106. --Real game object
  107. local RealGame = game
  108.  
  109. --Metatable for fake service
  110. local FakeService_Metatable = {
  111. __index = function(self,k)
  112. local s = rawget(self,"_RealService")
  113. if s then
  114. return typeof(s[k])=="function"
  115. and function(_,...)return s[k](s,...)end or s[k]
  116. end
  117. end,
  118. __newindex = function(self,k,v)
  119. local s = rawget(self,"_RealService")
  120. if s then s[k]=v end
  121. end
  122. }
  123. local function FakeService(t,RealService)
  124. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  125. return setmetatable(t,FakeService_Metatable)
  126. end
  127.  
  128. --Fake game object
  129. local FakeGame = {
  130. GetService = function(self,s)
  131. return rawget(self,s) or RealGame:GetService(s)
  132. end,
  133. Players = FakeService({
  134. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  135. },"Players"),
  136. UserInputService = FakeService(UIS,"UserInputService"),
  137. ContextActionService = FakeService(CAS,"ContextActionService"),
  138. RunService = FakeService({
  139. _btrs = {},
  140. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  141. BindToRenderStep = function(self,name,_,fun)
  142. self._btrs[name] = self.Heartbeat:Connect(fun)
  143. end,
  144. UnbindFromRenderStep = function(self,name)
  145. self._btrs[name]:Disconnect()
  146. end,
  147. },"RunService")
  148. }
  149. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  150. FakeGame.service = FakeGame.GetService
  151. FakeService(FakeGame,game)
  152. --Changing owner to fake player object to support owner:GetMouse()
  153. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  154. end
  155.  
  156.  
  157. p = game.Players.LocalPlayer
  158. char = p.Character
  159. torso = char.Torso
  160. hed = char.Head
  161. neck = char.Torso.Neck
  162. hum = char.Humanoid
  163. hum.MaxHealth = math.huge
  164. local msg = game:GetService("Chat")
  165. torso.BrickColor = BrickColor.new("Really black")
  166. hed.BrickColor = BrickColor.new("White")
  167. char["Right Arm"].BrickColor = BrickColor.new("Really black")
  168. char["Left Arm"].BrickColor = BrickColor.new("Really black")
  169. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  170. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  171. ypcall(function()
  172. shirt = Instance.new("Shirt", char)
  173. shirt.Name = "Shirt"
  174. pants = Instance.new("Pants", char)
  175. pants.Name = "Pants"
  176. char.Shirt.ShirtTemplate = "rbxassetid://891120125"
  177. char.Pants.PantsTemplate = "rbxassetid://833114068"
  178. end)
  179. function sbchat(msg,displayname)
  180. if not displayname then
  181. displayname = '<Bitch Smoke>'
  182. end
  183. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  184. local st = Instance.new('StringValue')
  185. st.Name = 'SB_Chat'
  186. st.Value = displayname..'/'..msg
  187. delay(0.2,function() st.Parent = v end)
  188. end
  189. end
  190. p1 = Instance.new("Part",char)
  191. p1.FormFactor = Enum.FormFactor.Custom
  192. p1.Size = Vector3.new(1.8,0.8,1.8)
  193. p1.CanCollide = false
  194. p1.Locked = true
  195. p1.BottomSurface = Enum.SurfaceType.Smooth
  196. p1.TopSurface = Enum.SurfaceType.Smooth
  197. SMesh = Instance.new("SpecialMesh", p1)
  198. SMesh.MeshId = "http://www.roblox.com/asset/?id=715422528"
  199. SMesh.MeshType = Enum.MeshType.FileMesh
  200. SMesh.Name = "Mesh"
  201. SMesh.TextureId = "http://www.roblox.com/asset/?id=899756769"
  202. w1 = Instance.new("Weld", hed)
  203. w1.Part0 = hed
  204. w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0)
  205. w1.Part1 = p1
  206. w1.C1 = CFrame.new(0, 0, 0)
  207. --------------------------------
  208. p1 = Instance.new("Part",char)
  209. p1.FormFactor = Enum.FormFactor.Custom
  210. p1.Size = Vector3.new(1.8,0.8,1.8)
  211. p1.CanCollide = false
  212. p1.Locked = true
  213. p1.BrickColor = BrickColor.new("Really black")
  214. p1.BottomSurface = Enum.SurfaceType.Smooth
  215. p1.TopSurface = Enum.SurfaceType.Smooth
  216. SMesh = Instance.new("SpecialMesh", p1)
  217. SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  218. SMesh.MeshType = Enum.MeshType.FileMesh
  219. SMesh.Name = "Mesh"
  220. w1 = Instance.new("Weld", hed)
  221. w1.Part0 = hed
  222. w1.C0 = CFrame.new(0,0.2,-0.25)
  223. w1.Part1 = p1
  224. w1.C1 = CFrame.new(0, 0, 0)
  225. -----------
  226. GroundWave3 = function()
  227. local HandCF = CFrame.new(torso.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0)
  228. local wave1 = Instance.new("Part", torso)
  229. wave1.BrickColor = BrickColor.new("Really black")
  230. wave1.Anchored = true
  231. wave1.CanCollide = false
  232. wave1.Locked = true
  233. wave1.Material = "Neon"
  234. wave1.Size = Vector3.new(1, 1, 1)
  235. wave1.TopSurface = "Smooth"
  236. wave1.BottomSurface = "Smooth"
  237. wave1.Transparency = 0
  238. wave1.CFrame = HandCF
  239. wm = Instance.new("SpecialMesh", wave1)
  240. wm.Scale = Vector3.new(.1,.1,.1)
  241. wm.MeshType = "Sphere"
  242. coroutine.wrap(function()
  243. for i = 1, 20, 1 do
  244. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  245. --wave1.Size = wm.Scale
  246. wave1.CFrame = HandCF
  247. wave1.Transparency = i/10
  248. wait()
  249. end
  250. wait()
  251. wave1:Destroy()
  252. end)()
  253. end
  254. -------------------------------
  255. Spawn(function()
  256. while wait(1) do
  257. GroundWave3()
  258. wait(.5)
  259. GroundWave3()
  260. end
  261. end)
  262. warn'[Ground Brake]:Connect!'
  263. -----------------------------------
  264. local Plr = game.Players.LocalPlayer --LocalScript
  265. local Char = Plr.Character
  266. local Mouse = Plr:GetMouse()
  267. local ra = Char:FindFirstChild('Right Arm')
  268. local ts = Char.Torso
  269. local la = Char:FindFirstChild('Left Arm')
  270. local ll = Char:FindFirstChild('Left Leg')
  271. local rl = Char:FindFirstChild('Right Leg')
  272. local hd = Char.Head
  273. local root = Char:FindFirstChild('HumanoidRootPart')
  274.  
  275. rarm = ra
  276. larm = la
  277. torso = ts
  278. hed = hd
  279. root = root
  280. lleg = ll
  281. rleg = rl
  282.  
  283. FloatPart = function()
  284. local Part = Instance.new('Part',torso)
  285. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  286. Part.Anchored = true
  287. Part.Material = 'Neon'
  288. Part.CanCollide = false
  289. Part.BrickColor = BrickColor.new("Really black")
  290. local Mesh = Instance.new('SpecialMesh',Part)
  291. Mesh.Scale = Vector3.new(4,4,.2)
  292. Mesh.MeshId = 'http://www.roblox.com/asset/?id=0'
  293. Mesh.VertexColor = Vector3.new(0,170,255)
  294. spawn(function()
  295. for i = 1,30 do
  296. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  297. Part.Transparency = Part.Transparency + .035
  298. game["Run Service"].RenderStepped:wait()
  299. end
  300. Part:Destroy()
  301. end)
  302. end;
  303.  
  304. DubPart = function()
  305. local Part = Instance.new('Part',torso)
  306. Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  307. Part.Anchored = true
  308. Part.CanCollide = false
  309. Part.Material = 'Neon'
  310. Part.BrickColor = BrickColor.new("Really black")
  311. local Mesh = Instance.new('SpecialMesh',Part)
  312. Mesh.Scale = Vector3.new(7,7,.2)
  313. Mesh.MeshId = 'http://www.roblox.com/asset/?id=0'
  314. Mesh.VertexColor = Vector3.new(0,170,255)
  315. spawn(function()
  316. for i = 1,30 do
  317. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  318. Part.Transparency = Part.Transparency + .035
  319. game["Run Service"].RenderStepped:wait()
  320. end
  321. Part:Destroy()
  322. end)
  323. end;
  324.  
  325. OnTouch = function(Toucher)
  326. if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then
  327. local Hum = Toucher.Parent:FindFirstChild('Humanoid')
  328. Hum.Health = Hum.Health - .7
  329. end
  330. end;
  331.  
  332. Fade = function(Item,t)
  333. spawn(function()
  334. for i = 1,20 do
  335. Item.Transparency = Item.Transparency + .05
  336. if t then
  337. wait(t)
  338. else
  339. wait()
  340. end
  341. end
  342. Item:Destroy()
  343. end)
  344. end
  345.  
  346. TouchKill = function(Toucher)
  347. if Toucher.Parent then
  348. if Toucher.Parent:FindFirstChild('Humanoid') then
  349. local P = Toucher.Parent:FindFirstChild('Humanoid')
  350. if P ~= nil and P.Parent.Name ~= Plr.Name then
  351. P.Health = P.Health - math.random(4,17)
  352. end
  353. end
  354. end
  355. end;
  356.  
  357. Particle = function()
  358. local Part = Instance.new('Part',torso)
  359. Part.Anchored = true
  360. Part.Transparency = 0
  361. Part.Material = "Neon"
  362. Part.Touched:connect(function(I)OnTouch(I)end)
  363. Part.CanCollide = false
  364. Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  365. local Mesh = Instance.new('SpecialMesh',Part)
  366. Mesh.Scale = Vector3.new(1,1,1)
  367. Mesh.MeshId = "rbxassetid://0"
  368. Mesh.TextureId = "rbxassetid://0"
  369. spawn(function()
  370. for i = 1,40 do
  371. Part.Transparency = Part.Transparency + .0125
  372. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  373. game["Run Service"].RenderStepped:wait()
  374. end
  375. Part:Destroy()
  376. end)
  377. end;
  378.  
  379. Particle2 = function()
  380. local Part = Instance.new('Part',torso)
  381. Part.Anchored = true
  382. Part.Transparency = 0
  383. Part.Material = "Neon"
  384. Part.Touched:connect(function(I)OnTouch(I)end)
  385. Part.CanCollide = false
  386. Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  387. local Mesh = Instance.new('SpecialMesh',Part)
  388. Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  389. Mesh.MeshId = "rbxassetid://0"
  390. Mesh.TextureId = "rbxassetid://0"
  391. spawn(function()
  392. for i = 1,40 do
  393. Part.Transparency = Part.Transparency + .0125
  394. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  395. game["Run Service"].RenderStepped:wait()
  396. end
  397. Part:Destroy()
  398. end)
  399. end;
  400.  
  401. spawn(function()
  402. while wait() do
  403. wait(.05)
  404. FloatPart()
  405. wait(.08)
  406. FloatPart()
  407. wait(.05)
  408. DubPart()
  409. wait(.08)
  410. end
  411. end)
  412. spawn(function()
  413. while wait() do
  414. Particle()
  415. wait(0.75)
  416. Particle2()
  417. end
  418. end)
  419. -------------
  420. hed.face.Texture = "http://www.roblox.com/asset/?id=829370852"
  421. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I'M BACK CJ. LET'S ME FLOW DAT DAMN TRAIN!", "Red")
  422. sbchat("I'M BACK CJ. LET'S ME FLOW DAT DAMN TRAIN!",'[Bendy The Demon]')
  423. local HBill = Instance.new("BillboardGui", hed)
  424. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  425. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  426. HBill.Size = UDim2.new(15,0,2.2,0)
  427. HBill.Name = "Health Display"
  428. HBill.StudsOffset = Vector3.new(0,4,0)
  429. HBill.AlwaysOnTop = true
  430. HBill.Enabled = true
  431. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  432. HMain.BackgroundTransparency = 0.6
  433. HMain.Size = UDim2.new(1,0,1,0)
  434. HBarBack.Parent = HMain
  435. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  436. HBarBack.BorderColor3 = Color3.new(0,0,0)
  437. HBarBack.BorderSizePixel = 2
  438. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  439. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  440. HHealth.BackgroundTransparency = 1
  441. HHealth.Size = UDim2.new(1,0,1,0)
  442. HHealth.Font = "Code"
  443. HHealth.Text = "1.#INF"
  444. HHealth.TextScaled = true
  445. HHealth.TextColor3 = Color3.new(1,1,1)
  446. HHealth.TextStrokeColor3 = BrickColor.new("Really black").Color
  447. HHealth.TextStrokeTransparency = 0
  448. HName.Parent = HMain
  449. HName.BackgroundTransparency = 1
  450. HName.Size = UDim2.new(1,0,.5,0)
  451. HName.Font = "Code"
  452. HName.Text = "Bendy The Demon"
  453. HName.TextScaled = true
  454. HName.TextColor3 = BrickColor.new("Really black").Color
  455. HName.TextStrokeColor3 = Color3.new(0,0,0)
  456. HName.TextStrokeTransparency = 0
  457. HName.TextYAlignment = "Top"
  458.  
  459. plr = game.Players.LocalPlayer
  460. local s = Instance.new("Sound",plr.Character)
  461. s.Volume = 3
  462. s.Looped = true
  463. s.Pitch = 1
  464. s.SoundId = "rbxassetid://759795246"
  465. s:Play()
  466. repeat
  467. wait(0.4)
  468. until plr.Character
  469. chr = plr.Character
  470. human = chr:FindFirstChild("Humanoid")
  471. mouse = plr:GetMouse()
  472. cam = workspace.CurrentCamera
  473. selected = false
  474. equipd = false
  475. tors = chr.Torso
  476. rarm = chr["Right Arm"]
  477. larm = chr["Left Arm"]
  478. rleg = chr["Right Leg"]
  479. lleg = chr["Left Leg"]
  480. hrp = chr.HumanoidRootPart
  481. hed = chr.Head
  482. anim = human.Animator
  483. activu = false
  484. ragged = false
  485. batting = false
  486. Heartbeat = Instance.new("BindableEvent")
  487. Heartbeat.Name = "Heartbeat"
  488. Heartbeat.Parent = script
  489. frame = 0.03333333333333333
  490. tf = 0
  491. game:GetService("RunService").Heartbeat:connect(function(s, p)
  492. tf = tf + s
  493. if tf >= frame then
  494. for i = 1, math.floor(tf / frame) do
  495. Heartbeat:Fire()
  496. end
  497. tf = tf - frame * math.floor(tf / frame)
  498. end
  499. end)
  500. function swait(num)
  501. if num == 0 or num == nil then
  502. Heartbeat.Event:wait()
  503. else
  504. for i = 1, num do
  505. Heartbeat.Event:wait()
  506. end
  507. end
  508. end
  509. tool = Instance.new("Tool")
  510. tool.CanBeDropped = false
  511. tool.RequiresHandle = false
  512. tool.ToolTip = "NANI BIG SMOKE??????"
  513. tool.Name = "PRESS X TO USING ME BITC"
  514. tool.Parent = plr.Backpack
  515. modz = Instance.new("Model")
  516. modz.Name = "efx"
  517. modz.Parent = chr
  518. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  519. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  520. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  521. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  522. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  523. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  524. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  525. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  526. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  527. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  528. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  529. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  530. local nscale = Instance.new("NumberValue")
  531. nscale.Value = 1
  532. nscale.Parent = nil
  533. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  534. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  535. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  536. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  537. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  538. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  539. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  540. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  541. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  542. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  543. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  544. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  545. nscale.Changed:connect(function()
  546. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  547. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  548. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  549. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  550. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  551. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  552. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  553. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  554. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  555. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  556. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  557. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  558. end)
  559. RS = tors:FindFirstChild("Right Shoulder")
  560. LS = tors:FindFirstChild("Left Shoulder")
  561. RH = tors:FindFirstChild("Right Hip")
  562. LH = tors:FindFirstChild("Left Hip")
  563. RJ = hrp:FindFirstChild("RootJoint")
  564. N = tors:FindFirstChild("Neck")
  565. cf = CFrame.new
  566. ang = CFrame.Angles
  567. rd = math.rad
  568. rd2 = math.random
  569. function nooutline(p)
  570. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  571. end
  572. function makepart(color, name, reflec, trans, mater, parnt, cfram)
  573. local port = Instance.new("Part")
  574. port.BrickColor = BrickColor.new(color)
  575. port.Name = name
  576. port.Transparency = trans
  577. nooutline(port)
  578. port.Reflectance = reflec
  579. port.Material = mater
  580. port.Anchored = false
  581. port.CanCollide = false
  582. port.Locked = true
  583. port.Size = Vector3.new(0.2, 0.2, 0.2)
  584. port.Parent = parnt
  585. return port
  586. end
  587. function makemesh(meshtype, scale, meshid, parent)
  588. local mes = Instance.new("SpecialMesh")
  589. mes.MeshType = meshtype
  590. mes.Scale = scale
  591. if meshtype == "FileMesh" then
  592. mes.MeshId = meshid
  593. end
  594. mes.Parent = parent
  595. return mes
  596. end
  597. function makeweld(parent, p0, p1, c0, c1)
  598. local wel = Instance.new("Weld")
  599. wel.Part0 = p0
  600. wel.Part1 = p1
  601. wel.C0 = c0
  602. if c1 ~= nil then
  603. wel.C1 = c1
  604. end
  605. wel.Parent = parent
  606. return wel
  607. end
  608. local lauf1 = Instance.new("Sound")
  609. lauf1.SoundId = "rbxassetid://138199573"
  610. lauf1.Volume = 5
  611. lauf1.Pitch = 1
  612. lauf1.Parent = hrp
  613. function lerpz(joint, prop, cfrmz, alp)
  614. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  615. end
  616. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  617. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  618. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  619. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  620. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  621. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  622. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  623. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  624. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  625. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  626. function resetlerp()
  627. RJ.C0 = RJC0
  628. RJ.C1 = RJC1
  629. N.C0 = NC0
  630. N.C1 = NC1
  631. RS.C0 = RSC0
  632. RS.C1 = RSC1
  633. LS.C0 = LSC0
  634. LS.C1 = LSC1
  635. RH.C0 = RHC0
  636. RH.C1 = RHC1
  637. LH.C0 = LHC0
  638. LH.C1 = LHC1
  639. end
  640. function test()
  641. if selected == false or activu == true then
  642. return
  643. end
  644. if ragged == false then
  645. ragged = true
  646. human.PlatformStand = true
  647. if rarm and tors:FindFirstChild("Right Shoulder") then
  648. tors:FindFirstChild("Right Shoulder"):Destroy()
  649. makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder")
  650. maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
  651. end
  652. if larm and tors:FindFirstChild("Left Shoulder") then
  653. tors:FindFirstChild("Left Shoulder"):Destroy()
  654. makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder")
  655. maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
  656. end
  657. if rleg and tors:FindFirstChild("Right Hip") then
  658. tors:FindFirstChild("Right Hip"):Destroy()
  659. makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip")
  660. maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
  661. end
  662. if lleg and tors:FindFirstChild("Left Hip") then
  663. tors:FindFirstChild("Left Hip"):Destroy()
  664. makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip")
  665. maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
  666. HName.Text = "Died"
  667. end
  668. elseif ragged == true then
  669. ragged = false
  670. human.Jump = true
  671. if rarm and tors:FindFirstChild("Right Shoulder") then
  672. tors:FindFirstChild("Right Shoulder"):Destroy()
  673. makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder")
  674. rarm:FindFirstChild("touchy"):Destroy()
  675. end
  676. if larm and tors:FindFirstChild("Left Shoulder") then
  677. tors:FindFirstChild("Left Shoulder"):Destroy()
  678. makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder")
  679. larm:FindFirstChild("touchy"):Destroy()
  680. end
  681. if rleg and tors:FindFirstChild("Right Hip") then
  682. tors:FindFirstChild("Right Hip"):Destroy()
  683. makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip")
  684. rleg:FindFirstChild("touchy"):Destroy()
  685. end
  686. if lleg and tors:FindFirstChild("Left Hip") then
  687. tors:FindFirstChild("Left Hip"):Destroy()
  688. makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip")
  689. lleg:FindFirstChild("touchy"):Destroy()
  690. end
  691. RS = tors:FindFirstChild("Right Shoulder")
  692. LS = tors:FindFirstChild("Left Shoulder")
  693. RH = tors:FindFirstChild("Right Hip")
  694. LH = tors:FindFirstChild("Left Hip")
  695. RJ = hrp:FindFirstChild("RootJoint")
  696. N = tors:FindFirstChild("Neck")
  697. HName.Text = "Bendy The Demon"
  698. end
  699. end
  700. function makegloo(paren, co, ci, parto, parti, nam)
  701. local gloo = Instance.new("Glue")
  702. gloo.Name = nam
  703. gloo.C0 = co
  704. gloo.C1 = ci
  705. gloo.Part0 = parto
  706. gloo.Part1 = parti
  707. gloo.Parent = paren
  708. end
  709. function makejoint(paren, co, ci, parto, parti, nam)
  710. local gloo = Instance.new("Motor6D")
  711. gloo.Name = nam
  712. gloo.C0 = co
  713. gloo.C1 = ci
  714. gloo.Part0 = parto
  715. gloo.Part1 = parti
  716. gloo.Parent = paren
  717. end
  718. function maketouchy(parent, limb, cframe)
  719. local pr = Instance.new("Part")
  720. pr.Name = "touchy"
  721. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  722. pr.Transparency = 1
  723. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  724. pr.CanCollide = true
  725. pr.Anchored = false
  726. pr.Parent = parent
  727. local w = Instance.new("Weld")
  728. w.Part0 = pr
  729. w.Part1 = limb
  730. w.C0 = cframe
  731. w.Parent = pr
  732. end
  733. local clibat, spec
  734. local dipperhat = chr:FindFirstChild("DXD_DipperHat")
  735. local dipperrot
  736. if dipperhat then
  737. dipperrot = dipperhat.Handle.HatAttachment.Rotation
  738. end
  739. function bat()
  740. if selected == false or activu == true then
  741. return
  742. end
  743. if batting == false then
  744. batting = true
  745. do
  746. local bmod = Instance.new("Model")
  747. bmod.Name = "bmodel"
  748. bmod.Parent = chr
  749. local hnd = makepart("Really black", "hnd", 0, 1, "Neon", bmod, rarm.CFrame)
  750. local hmes = makemesh("1", Vector3.new(2, 9, 2), nil, hnd)
  751. local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
  752. local pt1 = makepart("Really black", "pt1", 0, 1, "Neon", bmod, rarm.CFrame)
  753. local p1m = makemesh("Sphere", Vector3.new(3,3,3), nil, pt1)
  754. local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil)
  755. local pt3 = makepart("Really black", "pt3", 0, 1, "Neon", bmod, rarm.CFrame)
  756. local p3m = makemesh("1", Vector3.new(1, 6, 1), nil, pt3)
  757. local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil)
  758. local pt4 = makepart("Really black", "pt4", 0, math.rad(0,1), "Neon", bmod, rarm.CFrame)
  759. local p4m = makemesh("FileMesh", Vector3.new(2,2,2), "http://www.roblox.com/asset/?id=777371122", pt4)
  760. p4m.TextureId = "http://www.roblox.com/asset/?id=777371154"
  761. p4m.Scale = Vector3.new(2,2,2)
  762. local p4w = makeweld(pt4, pt4, hnd, ang(rd(90), rd(0), rd(0)) * cf(0, -1.5, 0), nil)
  763. local pt5 = makepart("Really black", "pt5", 0, 1, "Neon", bmod, rarm.CFrame)
  764. local p5m = makemesh("Cylinder", Vector3.new(25, 1.5, 1.5), nil, pt5)
  765. local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil)
  766. local swingwoo = Instance.new("Sound")
  767. swingwoo.SoundId = "rbxassetid://201858024"
  768. swingwoo.Pitch = rd2(10, 11) / 10
  769. swingwoo.Name = "sweae"
  770. swingwoo.Volume = 1
  771. swingwoo.Parent = hrp
  772. clibat = tool.Activated:connect(function()
  773. if selected == false or activu == true or ragged == true then
  774. return
  775. end
  776. activu = true
  777. for _ = 1, 5 do
  778. swait()
  779. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  780. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  781. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  782. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  783. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  784. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  785. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  786. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  787. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  788. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  789. end
  790. local bon = Instance.new("Sound")
  791. bon.SoundId = "rbxassetid://201858024"
  792. bon.Pitch = rd2(10, 12) / 10
  793. bon.Volume = 1
  794. bon.Parent = hrp
  795. game.Debris:AddItem(bon, 1)
  796. bon:Play()
  797. swingwoo:Play()
  798. for X = 1, 5 do
  799. swait()
  800. if X > 1 then
  801. hito(pt5, 5, 80, 0.2, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)))
  802. end
  803. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  804. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  805. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  806. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  807. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  808. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  809. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  810. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  811. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  812. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  813. end
  814. activu = false
  815. end)
  816. spec = mouse.KeyDown:connect(function(keya)
  817. if selected == false or activu == true or ragged == true then
  818. return
  819. end
  820. if keya == "]]" then
  821. activu = true
  822. local speed = human.WalkSpeed
  823. human.WalkSpeed = 0
  824. human:SetStateEnabled(3, false)
  825. local function expa()
  826. local sond = Instance.new("Sound")
  827. sond.Volume = 1.25
  828. sond.Pitch = 1
  829. sond.EmitterSize = 15
  830. sond.SoundId = "rbxassetid://201858024"
  831. sond.Parent = pt6
  832. sond:Play()
  833. for _ = 1, 3 do
  834. swait()
  835. hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7)
  836. p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  837. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7)
  838. p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  839. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7)
  840. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7)
  841. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7)
  842. p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7)
  843. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7)
  844. end
  845. for _ = 1, 5 do
  846. swait()
  847. hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7)
  848. p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  849. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7)
  850. p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  851. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7)
  852. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7)
  853. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7)
  854. p5m.Scale = p5m.Scale:lerp(Vector3.new(63, 12.5, 12.5), 0.7)
  855. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7)
  856. end
  857. sond.Pitch = 0.75
  858. sond:Play()
  859. for _ = 1, 3 do
  860. swait()
  861. hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7)
  862. p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  863. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7)
  864. p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  865. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7)
  866. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7)
  867. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7)
  868. p5m.Scale = p5m.Scale:lerp(Vector3.new(156, 37.5, 37.5), 0.7)
  869. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7)
  870. end
  871. for _ = 1, 5 do
  872. swait()
  873. hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7)
  874. p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  875. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7)
  876. p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  877. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7)
  878. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7)
  879. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7)
  880. p5m.Scale = p5m.Scale:lerp(Vector3.new(102, 25, 25), 0.7)
  881. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7)
  882. end
  883. sond.Pitch = 0.4
  884. sond:Play()
  885. game.Debris:AddItem(sond, 2)
  886. for _ = 1, 3 do
  887. swait()
  888. hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7)
  889. p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  890. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7)
  891. p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  892. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7)
  893. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7)
  894. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7)
  895. p5m.Scale = p5m.Scale:lerp(Vector3.new(230.2, 56.25, 56.25), 0.7)
  896. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7)
  897. end
  898. for _ = 1, 5 do
  899. swait()
  900. hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7)
  901. p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  902. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7)
  903. p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  904. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7)
  905. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7)
  906. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7)
  907. p5m.Scale = p5m.Scale:lerp(Vector3.new(400, 43.75, 43.75), 0.7)
  908. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -30, 0), 0.7)
  909. end
  910. end
  911. for _ = 1, 3 do
  912. swait()
  913. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  914. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  915. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  916. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  917. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
  918. if dipperhat then
  919. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
  920. end
  921. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  922. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  923. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  924. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  925. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  926. end
  927. for _ = 1, 3 do
  928. swait()
  929. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  930. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  931. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  932. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  933. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  934. if dipperhat then
  935. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
  936. end
  937. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  938. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  939. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  940. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  941. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  942. end
  943. for _ = 1, 30 do
  944. swait()
  945. lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2)
  946. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2)
  947. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2)
  948. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  949. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2)
  950. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  951. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2)
  952. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  953. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2)
  954. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  955. end
  956. expa()
  957. for O = 1, 10 do
  958. swait()
  959. lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01)
  960. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01)
  961. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01)
  962. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  963. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01)
  964. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  965. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01)
  966. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  967. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01)
  968. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  969. end
  970. local whoooo = Instance.new("Sound")
  971. whoooo.Volume = 3
  972. whoooo.Pitch = 1.1
  973. whoooo.SoundId = "rbxassetid://201858024"
  974. whoooo.Parent = pt5
  975. whoooo:Play()
  976. game.Debris:AddItem(whoooo, 2)
  977. for O = 1, 1 do
  978. swait()
  979. hito(pt5, 70, 808282854, 0.75, hrp.CFrame.rightVector * -10000000 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
  980. lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05)
  981. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05)
  982. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05)
  983. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  984. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05)
  985. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  986. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05)
  987. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  988. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05)
  989. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  990. end
  991. for O = 1, 13 do
  992. swait()
  993. hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075)
  994. p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  995. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075)
  996. p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  997. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075)
  998. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075)
  999. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075)
  1000. p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 1, 1), 0.05 + O * 0.075)
  1001. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075)
  1002. lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075)
  1003. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075)
  1004. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075)
  1005. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  1006. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075)
  1007. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  1008. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075)
  1009. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  1010. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075)
  1011. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  1012. end
  1013. if dipperhat then
  1014. dipperhat.Handle.HatAttachment.Rotation = dipperrot
  1015. end
  1016. human.WalkSpeed = speed
  1017. human:SetStateEnabled(3, true)
  1018. activu = false
  1019. end
  1020. if keya == "q" then
  1021. activu = true
  1022. do
  1023. local checkkey = true
  1024. local keyingup = mouse.KeyUp:connect(function(xzx)
  1025. if xzx == "q" then
  1026. checkkey = false
  1027. end
  1028. end)
  1029. repeat
  1030. for _ = 1, 2 do
  1031. swait()
  1032. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  1033. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  1034. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(-20), rd(80)), 0.7)
  1035. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1036. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  1037. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1038. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  1039. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1040. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  1041. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1042. end
  1043. swingwoo:Play()
  1044. for T = 1, 2 do
  1045. swait()
  1046. if T == 2 then
  1047. hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  1048. end
  1049. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  1050. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1051. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(40)), 0.7)
  1052. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1053. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  1054. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1055. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  1056. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1057. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  1058. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1059. end
  1060. for _ = 1, 2 do
  1061. swait()
  1062. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7)
  1063. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  1064. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7)
  1065. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1066. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7)
  1067. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1068. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  1069. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1070. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7)
  1071. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1072. end
  1073. swingwoo:Play()
  1074. for T = 1, 2 do
  1075. swait()
  1076. if T == 2 then
  1077. hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  1078. end
  1079. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7)
  1080. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  1081. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7)
  1082. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1083. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  1084. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1085. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  1086. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1087. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7)
  1088. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  1089. end
  1090. until not checkkey
  1091. keyingup:Disconnect()
  1092. activu = false
  1093. end
  1094. end
  1095. if keya == "f" then
  1096. activu = true
  1097. do
  1098. local speed = human.WalkSpeed
  1099. human.WalkSpeed = 2
  1100. human:SetStateEnabled(3, false)
  1101. local checkkey = true
  1102. local chargecounter = 0
  1103. local keyingup = mouse.KeyUp:connect(function(xzx)
  1104. if xzx == "f" then
  1105. checkkey = false
  1106. end
  1107. end)
  1108. local firederp
  1109. for _ = 1, 8 do
  1110. swait()
  1111. hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  1112. lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  1113. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5)
  1114. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5)
  1115. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1116. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5)
  1117. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  1118. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5)
  1119. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1120. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5)
  1121. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5)
  1122. end
  1123. repeat
  1124. swait()
  1125. chargecounter = chargecounter + 1
  1126. lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019)
  1127. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019)
  1128. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019)
  1129. if chargecounter > 30 and firederp == nil then
  1130. local colorKeyPoints={ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),
  1131. ColorSequenceKeypoint.new(1,Color3.new(1,1,1))
  1132. }
  1133. local sizeKeyPoints={NumberSequenceKeypoint.new(0,.25),
  1134. NumberSequenceKeypoint.new(1,1),
  1135. NumberSequenceKeypoint.new(1,0)
  1136. }
  1137. local opacityKeyPoints={NumberSequenceKeypoint.new(0,0);
  1138. NumberSequenceKeypoint.new(.793,0);
  1139. NumberSequenceKeypoint.new(1,1);
  1140. }
  1141. local runRing=Instance.new('ParticleEmitter',pt1)
  1142. runRing.LightEmission=0
  1143. runRing.Color=ColorSequence.new(colorKeyPoints)
  1144. runRing.Size=NumberSequence.new(sizeKeyPoints)
  1145. runRing.Texture='rbxassetid://0'
  1146. runRing.LockedToPart = false
  1147. runRing.Transparency=NumberSequence.new(opacityKeyPoints)
  1148. runRing.Lifetime=NumberRange.new(1,2)
  1149. runRing.Rate=100
  1150. runRing.Rotation=NumberRange.new(0,360)
  1151. runRing.RotSpeed=NumberRange.new(-20,20)
  1152. runRing.Speed=NumberRange.new(4)
  1153. runRing.VelocitySpread=10
  1154. wait(.1)
  1155. runRing.Enabled = false
  1156. end
  1157. until not checkkey or chargecounter > 50
  1158. swingwoo:Play()
  1159. sbchat("THE POWER OF CHEESEEEEE!!!!!!!!!",'[Bendy The Demon]')
  1160. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"THE POWER OF CHEESEEEEE!!!!!!!!", "Red")
  1161. for U = 1, 10 do
  1162. swait()
  1163. if U < 3 then
  1164. hito(pt5, 8, math.huge, 0.2, hrp.CFrame.lookVector * (math.huge + chargecounter * math.huge) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25)))
  1165. if chargecounter > 30 then
  1166. tagexplode(pt5, 5, 1)
  1167. end
  1168. end
  1169. hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  1170. lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
  1171. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6)
  1172. lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4)
  1173. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4)
  1174. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4)
  1175. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4)
  1176. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6)
  1177. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  1178. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6)
  1179. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6)
  1180. end
  1181. if firederp then
  1182. firederp:Destroy()
  1183. end
  1184. swait(10)
  1185. hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0)
  1186. keyingup:Disconnect()
  1187. human.WalkSpeed = speed
  1188. human:SetStateEnabled(3, true)
  1189. activu = false
  1190. HName.Text = "Bendy The Demon"
  1191. end
  1192. end
  1193. end)
  1194. end
  1195. elseif batting == true then
  1196. batting = false
  1197. clibat:Disconnect()
  1198. spec:Disconnect()
  1199. hrp.sweae:Destroy()
  1200. local batmod = chr:FindFirstChild("bmodel")
  1201. batmod.hnd.Weld:Destroy()
  1202. batmod.PrimaryPart = batmod.hnd
  1203. batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
  1204. for _, A in pairs(batmod:GetChildren()) do
  1205. if A.ClassName == "Part" then
  1206. A.CanCollide = true
  1207. A.Anchored = false
  1208. end
  1209. end
  1210. batmod.Parent = workspace
  1211. game.Debris:AddItem(batmod, 8)
  1212. end
  1213. end
  1214. local movin = false
  1215. local cliham, hamspec
  1216. function ham()
  1217. if batting == false then
  1218. batting = true
  1219. do
  1220. local bmod = Instance.new("Model")
  1221. bmod.Name = "bmodel"
  1222. bmod.Parent = chr
  1223. local makemotor = function(parent, p0, p1, c0, c1)
  1224. local wel = Instance.new("Motor6D")
  1225. wel.Part0 = p0
  1226. wel.Part1 = p1
  1227. wel.C0 = c0
  1228. if c1 ~= nil then
  1229. wel.C1 = c1
  1230. end
  1231. wel.Parent = parent
  1232. return wel
  1233. end
  1234. local hnd = makepart("Really black", "hnd", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1235. hnd.Anchored = true
  1236. local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
  1237. movin = true
  1238. hnd.CFrame = hrp.CFrame
  1239. coroutine.resume(coroutine.create(function()
  1240. while hnd.Anchored == true do
  1241. swait()
  1242. if movin then
  1243. hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65)
  1244. end
  1245. end
  1246. end))
  1247. sbchat("CJ, DAT DAMN TRAIN IS BACK. USING DIS HAMMER TO BRAKE IT!",'[Bendy The Demon]')
  1248. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"CJ, DAT DAMN TRAIN IS BACK. USING DIS HAMMER TO BRAKE IT!", "Red")
  1249. local pt1 = makepart("Really black", "pt1", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1250. local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
  1251. local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil)
  1252. local pt2 = makepart("Really black", "pt2", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1253. local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
  1254. local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
  1255. local pt3 = makepart("Bright yellow", "pt3", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1256. local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
  1257. local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil)
  1258. local pt4 = makepart("Really black", "pt4", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1259. local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://0", pt4)
  1260. p4m.TextureId = "rbxassetid://0"
  1261. local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil)
  1262. local pt5 = makepart("Bright blue", "pt5", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1263. local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
  1264. local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil)
  1265. local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  1266. local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://862497341", pt6)
  1267. p6m.TextureId = "rbxassetid://862497354"
  1268. p6m.Scale = Vector3.new(0.5,0.50,0.5)
  1269. local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil)
  1270. local pt7 = makepart("Bright yellow", "pt7", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1271. local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
  1272. local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil)
  1273. local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1274. local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
  1275. local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil)
  1276. local hdec2 = Instance.new("Decal")
  1277. local pt9 = makepart("Bright yellow", "pt9", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1278. local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://0", pt9)
  1279. local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil)
  1280. p9m.TextureId = "rbxassetid://0"
  1281. local pt10 = makepart("Bright yellow", "pt10", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1282. local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
  1283. local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil)
  1284. local hdec3 = Instance.new("Decal")
  1285. local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1286. local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
  1287. local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil)
  1288. local pt12 = makepart("Bright yellow", "pt12", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1289. local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
  1290. local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil)
  1291. local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  1292. local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
  1293. local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil)
  1294. cliham = tool.Activated:connect(function()
  1295. if selected == false or activu == true or ragged == true then
  1296. return
  1297. end
  1298. activu = true
  1299. movin = false
  1300. for B = 1, 20 do
  1301. swait()
  1302. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4)
  1303. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4)
  1304. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4)
  1305. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1306. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4)
  1307. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1308. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4)
  1309. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1310. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4)
  1311. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1312. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045)
  1313. end
  1314. for B = 1, 30 do
  1315. swait()
  1316. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80)
  1317. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80)
  1318. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80)
  1319. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1320. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80)
  1321. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1322. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80)
  1323. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1324. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80)
  1325. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  1326. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1327. end
  1328. for B = 1, 7 do
  1329. swait()
  1330. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15)
  1331. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15)
  1332. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15)
  1333. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1334. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15)
  1335. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1336. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15)
  1337. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1338. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15)
  1339. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  1340. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1341. end
  1342. for B = 1, 8 do
  1343. swait()
  1344. hito(pt6, 20, 808282854, 0.75, hrp.CFrame.rightVector * math.huge + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
  1345. lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1)
  1346. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1)
  1347. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1)
  1348. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1349. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1)
  1350. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1351. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1)
  1352. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1353. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1)
  1354. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  1355. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  1356. local exp = Instance.new("Explosion",plr.Character)
  1357. exp.Position = pt6.Position
  1358. exp.BlastRadius = 0
  1359. end
  1360. swait(15)
  1361. movin = true
  1362. sbchat("AW FAK. MY PEN1S IS BLOW UP NAW!",'[Bendy The Demon]')
  1363. activu = false
  1364. end)
  1365. end
  1366. elseif batting == true then
  1367. batting = false
  1368. cliham:Disconnect()
  1369. local badevz = chr:FindFirstChild("bmodel")
  1370. badevz.PrimaryPart = badevz.hnd
  1371. for _, A in pairs(badevz:GetChildren()) do
  1372. if A.ClassName == "Part" then
  1373. A.CanCollide = true
  1374. A.Anchored = false
  1375. end
  1376. end
  1377. movin = false
  1378. badevz.Parent = workspace
  1379. badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0))
  1380. game.Debris:AddItem(badevz, 8)
  1381. end
  1382. end
  1383. game:GetService("ContentProvider"):Preload("rbxassetid://201858024")
  1384. function lauf()
  1385. if selected == false or activu == true then
  1386. return
  1387. end
  1388. lauf1:Play()
  1389. end
  1390. function makenoob(cfrem, scalo, rags)
  1391. nscale.Value = scalo
  1392. local md = Instance.new("Model")
  1393. md.Name = "Ink minion"
  1394. md.Parent = workspace
  1395. local hu = Instance.new("Humanoid")
  1396. hu.RigType = "R6"
  1397. hu.MaxHealth = 100 * scalo
  1398. hu.Health = 100 * scalo
  1399. hu.Parent = md
  1400. local anm = Instance.new("Animator")
  1401. anm.Parent = hu
  1402. hu.PlatformStand = true
  1403. local light = function(part)
  1404. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  1405. end
  1406. local hd = Instance.new("Part")
  1407. hd.Name = "Head"
  1408. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  1409. hd.TopSurface = "Smooth"
  1410. hd.BottomSurface = "Inlet"
  1411. hd.Locked = true
  1412. hd.BrickColor = BrickColor.random()
  1413. hd.CanCollide = true
  1414. hd.Anchored = false
  1415. light(hd)
  1416. hd.Parent = md
  1417. local hm = Instance.new("SpecialMesh")
  1418. hm.MeshType = "Head"
  1419. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  1420. hm.Parent = hd
  1421. local hf = Instance.new("Decal")
  1422. hf.Texture = "rbxasset://textures/face.png"
  1423. local gen = math.random(1, 40)
  1424. if gen == 3 then
  1425. hf.Texture = "rbxassetid://829370852"
  1426. end
  1427. if gen == 8 then
  1428. hf.Texture = "rbxassetid://865030584"
  1429. end
  1430. if gen == 12 then
  1431. hf.Texture = "rbxassetid://141795257"
  1432. end
  1433. if gen == 16 then
  1434. hf.Texture = "rbxassetid://647052624"
  1435. end
  1436. if gen == 24 then
  1437. hf.Texture = "rbxassetid://553786059"
  1438. end
  1439. if gen == 28 then
  1440. hf.Texture = "rbxassetid://258268895"
  1441. end
  1442. if gen == 32 then
  1443. hf.Texture = "rbxassetid://192267375"
  1444. end
  1445. if gen == 38 then
  1446. hf.Texture = "rbxassetid://154195178"
  1447. hf.Color3 = Color3.new(0, 0, 0)
  1448. end
  1449. hf.Face = "Front"
  1450. hf.Parent = hd
  1451. local hrpa = Instance.new("Part")
  1452. hrpa.Name = "HumanoidRootPart"
  1453. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  1454. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1455. hrpa.Transparency = 1
  1456. hrpa.CanCollide = false
  1457. hrpa.Locked = true
  1458. light(hrpa)
  1459. hrpa.Parent = md
  1460. local tagbomb = Instance.new("BoolValue")
  1461. tagbomb.Name = "tagbomb"
  1462. tagbomb.Value = false
  1463. tagbomb.Parent = hrpa
  1464. local learm = Instance.new("Part")
  1465. learm.Name = "Left Arm"
  1466. learm.BrickColor = BrickColor.random()
  1467. learm.CanCollide = false
  1468. learm.Locked = true
  1469. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1470. light(learm)
  1471. learm.Parent = md
  1472. local riarm = Instance.new("Part")
  1473. riarm.Name = "Right Arm"
  1474. riarm.BrickColor = BrickColor.random()
  1475. riarm.CanCollide = false
  1476. riarm.Locked = true
  1477. light(riarm)
  1478. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1479. riarm.Parent = md
  1480. local leleg = Instance.new("Part")
  1481. leleg.Name = "Left Leg"
  1482. leleg.BrickColor = BrickColor.random()
  1483. leleg.CanCollide = false
  1484. leleg.Locked = true
  1485. light(leleg)
  1486. leleg.BottomSurface = 0
  1487. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1488. leleg.Parent = md
  1489. local rileg = Instance.new("Part")
  1490. rileg.Name = "Right Leg"
  1491. rileg.BrickColor = BrickColor.random()
  1492. rileg.CanCollide = false
  1493. rileg.Locked = true
  1494. light(rileg)
  1495. rileg.BottomSurface = 0
  1496. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1497. rileg.Parent = md
  1498. local tor = Instance.new("Part")
  1499. tor.Name = "Torso"
  1500. tor.BrickColor = BrickColor.random()
  1501. tor.Locked = true
  1502. light(tor)
  1503. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1504. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  1505. tor.Parent = md
  1506. md.PrimaryPart = hrpa
  1507. md:SetPrimaryPartCFrame(cfrem)
  1508. md:makeJoints()
  1509. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  1510. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  1511. if rags == true then
  1512. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1513. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1514. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1515. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1516. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1517. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1518. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1519. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1520. elseif rags == false then
  1521. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1522. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1523. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1524. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1525. hu.PlatformStand = false
  1526. end
  1527. nscale.Value = 1
  1528. hu.Touched:connect(function(tpart, uwot)
  1529. if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then
  1530. tagbomb.Value = false
  1531. hu.Health = 0
  1532. local derp = Instance.new("Explosion")
  1533. derp.BlastPressure = 200
  1534. derp.BlastRadius = 8
  1535. derp.DestroyJointRadiusPercent = 0
  1536. derp.ExplosionType = 2
  1537. derp.Visible = true
  1538. derp.Position = uwot.Position - Vector3.new(0, 0.5, 0)
  1539. derp.Parent = workspace
  1540. game.Debris:AddItem(md, 8)
  1541. end
  1542. end)
  1543. return md
  1544. end
  1545. function makecircle(cfrem, scalo)
  1546. local mcir1 = Instance.new("Part")
  1547. mcir1.Anchored = true
  1548. mcir1.CanCollide = false
  1549. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  1550. mcir1.Transparency = 1
  1551. mcir1.CFrame = cfrem
  1552. mcir1.Parent = modz
  1553. game.Debris:AddItem(mcir1, 8)
  1554. local d1 = Instance.new("Decal")
  1555. d1.Texture = "rbxassetid://705615290"
  1556. d1.Face = "Front"
  1557. d1.Parent = mcir1
  1558. local d2 = Instance.new("Decal")
  1559. d2.Texture = "rbxassetid://0"
  1560. d2.Face = "Back"
  1561. d2.Parent = mcir1
  1562. local bme = Instance.new("BlockMesh")
  1563. bme.Parent = mcir1
  1564. for _ = 1, 9 do
  1565. swait()
  1566. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  1567. end
  1568. coroutine.resume(coroutine.create(function()
  1569. swait(15)
  1570. for _ = 1, 12 do
  1571. swait()
  1572. d1.Transparency = d1.Transparency + 0.08
  1573. d2.Transparency = d2.Transparency + 0.08
  1574. end
  1575. mcir1:Destroy()
  1576. end))
  1577. return mcir1
  1578. end
  1579. function spawnnoob(circlecf, noobcf, scalez, ragd)
  1580. local aearae = makecircle(circlecf, scalez)
  1581. local nananb
  1582. if ragd then
  1583. nananb = makenoob(aearae.CFrame * noobcf, scalez, true)
  1584. elseif not ragd then
  1585. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  1586. end
  1587. return nananb
  1588. end
  1589. function tagexplode(partoz, magn, bombdelay)
  1590. for _, guy in pairs(workspace:GetChildren()) do
  1591. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Skid" and guy.Name == "Dummy" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
  1592. coroutine.resume(coroutine.create(function()
  1593. swait(bombdelay * 0)
  1594. guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
  1595. end))
  1596. end
  1597. end
  1598. end
  1599. function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  1600. for _, guy in pairs(workspace:GetChildren()) do
  1601. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1602. do
  1603. local humz = guy:FindFirstChild("Humanoid")
  1604. local horp = guy:FindFirstChild("HumanoidRootPart")
  1605. humz:TakeDamage(dmg)
  1606. humz:SetStateEnabled(16, true)
  1607. delay(debtim, function()
  1608. humz:SetStateEnabled(16, true)
  1609. end)
  1610. local db = Instance.new("StringValue")
  1611. db.Name = "alabo"
  1612. db.Parent = horp
  1613. delay(debtim, function()
  1614. db:Destroy()
  1615. end)
  1616. local b = Instance.new("Part")
  1617. nooutline(b)
  1618. b.Size = Vector3.new(0.2, 0.2, 0.2)
  1619. b.Transparency = 0
  1620. b.Anchored = true
  1621. b.CanCollide = false
  1622. b.Material = "Neon"
  1623. b.BrickColor = BrickColor.new("Really black")
  1624. b.Locked = true
  1625. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))*CFrame.Angles(math.random(1412),math.random(423532),math.random(1312))
  1626. b.Parent = modz
  1627. local c = Instance.new("SpecialMesh")
  1628. c.MeshType = "Sphere"
  1629. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1630. c.Parent = b
  1631. game.Debris:AddItem(b, 1)
  1632. if bodyfdire then
  1633. local boopyve = Instance.new("BodyVelocity")
  1634. boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  1635. boopyve.P = 9999999999
  1636. boopyve.Velocity = bodyfdire
  1637. boopyve.Parent = horp
  1638. game.Debris:AddItem(boopyve, debtim)
  1639. end
  1640. if bodyrot then
  1641. local boopyro = Instance.new("BodyAngularVelocity")
  1642. boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  1643. boopyro.P = math.huge
  1644. boopyro.AngularVelocity = bodyrot
  1645. boopyro.Parent = horp
  1646. game.Debris:AddItem(boopyro, debtim)
  1647. end
  1648. local bet = Instance.new("Sound")
  1649. bet.Pitch = rd2(9, 11) / 10
  1650. bet.Volume = rd2(12, 14) / 10
  1651. bet.SoundId = "rbxassetid://201858024"
  1652. bet.Parent = b
  1653. bet:Play()
  1654. coroutine.resume(coroutine.create(function()
  1655. for _ = 1, 24 do
  1656. swait()
  1657. b.Transparency = b.Transparency + 0.08
  1658. c.Scale = c.Scale + Vector3.new(.8 * dmg, .8 * dmg, .8 * dmg)
  1659. end
  1660. end))
  1661. end
  1662. end
  1663. end
  1664. end
  1665. function cleannoobs()
  1666. for _, nib in pairs(workspace:GetChildren()) do
  1667. coroutine.resume(coroutine.create(function()
  1668. if nib.Name == "Noob" then
  1669. if nib:FindFirstChild("HumanoidRootPart") then
  1670. local g = Instance.new("Part")
  1671. g.CanCollide, g.Anchored = false, true
  1672. g.Transparency = 1
  1673. g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
  1674. g.Parent = workspace
  1675. game.Debris:AddItem(g, 3.5)
  1676. local sou = Instance.new("Sound")
  1677. sou.Pitch = 0
  1678. sou.Volume = 3
  1679. sou.SoundId = "rbxassetid://201858024"
  1680. sou.Parent = g
  1681. local pe = Instance.new("ParticleEmitter")
  1682. pe.Acceleration = Vector3.new(0, 8, 0)
  1683. pe.Lifetime = NumberRange.new(1, 1.5)
  1684. pe.Rate = 0.005
  1685. pe.RotSpeed = NumberRange.new(-30, 30)
  1686. pe.Rotation = NumberRange.new(0, 360)
  1687. pe.Size = NumberSequence.new({
  1688. NumberSequenceKeypoint.new(0, 4.38, 0),
  1689. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1690. NumberSequenceKeypoint.new(1, 1.48, 0)
  1691. })
  1692. pe.Texture = "rbxassetid://0"
  1693. pe.Transparency = NumberSequence.new({
  1694. NumberSequenceKeypoint.new(0, 0, 0),
  1695. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1696. NumberSequenceKeypoint.new(1, 1, 1)
  1697. })
  1698. pe.ZOffset = 5
  1699. pe.Enabled = true
  1700. pe.VelocitySpread = 360
  1701. pe.Parent = g
  1702. swait(5)
  1703. pe:Emit(6)
  1704. sou:Play()
  1705. end
  1706. nib:Destroy()
  1707. end
  1708. end))
  1709. end
  1710. end
  1711. function animo(yep)
  1712. if yep == true then
  1713. anim.Parent = human
  1714. chr.Animate.Disabled = false
  1715. elseif yep == false then
  1716. chr.Animate.Disabled = true
  1717. anim.Parent = nil
  1718. end
  1719. end
  1720. mouse.KeyDown:connect(function(key)
  1721. if key == "r" then
  1722. test()
  1723. end
  1724. if key == "m" then
  1725. lauf()
  1726. end
  1727. if key == "c" then
  1728. ham()
  1729. end
  1730. if key == "x" then
  1731. bat()
  1732. end
  1733. if key == "l" and selected == true then
  1734. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true)
  1735. end
  1736. if key == "h" and selected == true then
  1737. spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true)
  1738. end
  1739. if key == "k" and selected == true then
  1740. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
  1741. end
  1742. if key == "p" then
  1743. cleannoobs()
  1744. end
  1745. if key == "e" then
  1746. local so = Instance.new("Sound",plr.Character)
  1747. so.SoundId = "rbxassetid://852817448"
  1748. so.Volume = 10
  1749. so:Play()
  1750. game:GetService("Lighting").Ambient = Color3.new(255,0,0)
  1751. game:GetService("Lighting").Brightness = 0
  1752. game:GetService("Lighting").TimeOfDay = "00:00:00"
  1753. HName.Text = "YOU PICK THE WRONG HOUSE, FOOOOOOL!"
  1754. sbchat("YOU PICK THE WRONG HOUSE, FOOOOOOL!",'[Bendy The Demon]')
  1755. wait(2)
  1756. game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "g/fl"
  1757. HName.Text = "Bendy The Demon"
  1758. end
  1759. if key == "z" then
  1760. if selected == false or activu == true then
  1761. return
  1762. end
  1763. if human.WalkSpeed == 25 then
  1764. human.WalkSpeed = 100
  1765. human.JumpPower = 125
  1766. else
  1767. human.WalkSpeed = 25
  1768. human.JumpPower = 50
  1769. end
  1770. end
  1771. end)
  1772. tool.Equipped:connect(function()
  1773. selected = true
  1774. end)
  1775. tool.Unequipped:connect(function()
  1776. selected = false
  1777. end)
  1778. animo(false)
  1779. human.WalkSpeed = 25
  1780. sine = 0
  1781. charge = 1
  1782. cos = math.cos
  1783. game:GetService("RunService").RenderStepped:connect(function()
  1784. if ragged == false and activu == false then
  1785. local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
  1786. local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
  1787. local checkstate = human:GetState()
  1788. if checkstate.Value == 13 then
  1789. animpose = "Sitting"
  1790. elseif hrp.Velocity.y > 1 and checkpart == nil then
  1791. animpose = "Jumping"
  1792. elseif hrp.Velocity.y < -1 and checkpart == nil then
  1793. animpose = "Falling"
  1794. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1795. animpose = "Idle"
  1796. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then
  1797. animpose = "Walking"
  1798. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then
  1799. animpose = "TooFast"
  1800. end
  1801. if animpose == "Idle" then
  1802. sine = sine + charge
  1803. lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1804. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3)
  1805. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3)
  1806. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1807. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.3)
  1808. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1809. lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3)
  1810. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1811. lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3)
  1812. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1813. end
  1814. if animpose == "Walking" then
  1815. sine = sine + charge
  1816. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0 * cos(sine / 4)) * ang(rd(20), math.sin(hrp.RotVelocity.Y / 80), 0), 0.3)
  1817. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3)
  1818. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.6)
  1819. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1820. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.6)
  1821. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1822. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6)
  1823. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1824. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6)
  1825. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1826. end
  1827. if animpose == "Jumping" then
  1828. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3)
  1829. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
  1830. lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3)
  1831. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1832. lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3)
  1833. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1834. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3)
  1835. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1836. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3)
  1837. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1838. end
  1839. if animpose == "Falling" then
  1840. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1841. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1842. lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3)
  1843. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1844. lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3)
  1845. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1846. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3)
  1847. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1848. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3)
  1849. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1850. end
  1851. if animpose == "TooFast" then
  1852. sine = sine + charge
  1853. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(30), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3)
  1854. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3)
  1855. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-80)), 0.6)
  1856. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1857. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(110), rd(-40), rd(-35)), 0.6)
  1858. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1859. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6)
  1860. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1861. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6)
  1862. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1863. end
  1864. if animpose == "Sitting" then
  1865. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1866. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1867. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1868. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1869. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1870. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1871. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1872. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1873. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1874. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1875. end
  1876. end
  1877. end)
  1878. if plr.Character.Humanoid.PlatformStand == true then
  1879. plr.Character.Humanoid.PlatformStand = false
  1880. end
  1881. plr.Character.Humanoid.Died:connect(function()
  1882. s:Stop()
  1883. HName.TextColor3 = BrickColor.new("Hot white").Color
  1884. HName.Text = "R.I.P"
  1885. local f = Instance.new("Explosion",plr.Character.Torso)
  1886. f.Position = plr.Character.Torso.Position
  1887. f.BlastRadius = 0
  1888. local m = Instance.new("Sound",Workspace)
  1889. m.SoundId = "rbxassetid://319332735"
  1890. m.Volume = 10
  1891. m:Play()
  1892. end)
  1893. --------------------------Gui---------------------------
  1894. makeframe = function(par, trans, pos, size, color)
  1895. local frame = Instance.new("Frame", par)
  1896. frame.BackgroundTransparency = trans
  1897. frame.BorderSizePixel = 1
  1898. frame.BorderColor3 = BrickColor.Black().Color
  1899. frame.Position = pos
  1900. frame.Size = size
  1901. frame.BackgroundColor3 = BrickColor.new("Really black").Color
  1902. frame.ZIndex = 5
  1903. return frame
  1904. end
  1905.  
  1906. makelabel = function(par, text)
  1907. local label = Instance.new("TextLabel", par)
  1908. label.BackgroundTransparency = 1
  1909. label.Size = ud(1, 0, 1, 0)
  1910. label.Position = ud(0, 0, 0, 0)
  1911. label.TextColor3 = c3(1,1,1)
  1912. label.TextStrokeTransparency = 0
  1913. label.FontSize = Enum.FontSize.Size24
  1914. label.Font = Enum.Font.SciFi
  1915. label.BorderSizePixel = 0
  1916. label.TextScaled = true
  1917. label.Text = text
  1918. end
  1919. ----------------------------------------------
  1920. local scrn = Instance.new("ScreenGui", p.PlayerGui)
  1921. ud = UDim2.new
  1922. c3 = Color3.new
  1923.  
  1924. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.150,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1925. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1926. Manatext = makelabel(Manabar, "[Q]:Automatic Attack (Hold)")
  1927.  
  1928. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.190,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1929. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1930. Manatext = makelabel(Manabar, "[E]:WRONG HAWSE DUD")
  1931.  
  1932. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.230,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1933. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1934. Manatext = makelabel(Manabar, "[R]:Ragdoll")
  1935.  
  1936. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.270,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1937. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1938. Manatext = makelabel(Manabar, "[Z]:Speed")
  1939.  
  1940. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.310,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1941. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1942. Manatext = makelabel(Manabar, "[C]:Big Smoke Hammer")
  1943.  
  1944. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.350,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1945. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1946. Manatext = makelabel(Manabar, "[K]:No Ragdoll Dummy")
  1947.  
  1948. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.390,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1949. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1950. Manatext = makelabel(Manabar, "[L]:Ragdoll Dummy")
  1951.  
  1952. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.430,0), ud(0.19, 0, 0.03, 0), c3(0,0,0))
  1953. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1954. Manatext = makelabel(Manabar, "[H]:Big Dummy")
  1955.  
  1956. Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.470,0), ud(0.19, 0, 0.17, 0), c3(0,0,0))
  1957. Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0))
  1958. Manatext = makelabel(Manabar, "PUT DIS SH!T TO CJ'S FACE PLES!")
  1959. warn'<Script>[Anti Sent To Local]:Connect!'
  1960. warn'<Script>:Welcome!'
  1961. -----------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement