ProKameron528

Untitled

Jul 6th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.54 KB | None | 0 0
  1. local ScriptLink = "https://pastebin.com/raw/Z4nn2bYZ"
  2.  
  3. --//Do not touch anything below this line, you may break it.
  4. local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
  5. local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
  6. if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
  7. local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
  8. local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end;
  9. --[[ Playtime ]]--
  10. -------------------------------------------------------
  11. --[[
  12.  
  13. This script was created by WafflesAreVeryGood.
  14. ATTACKS
  15. _______
  16.  
  17.  
  18. --]]
  19. -------------------------------------------------------
  20. --[[ Reference ]]--
  21. --[[
  22. Burn Function
  23. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  24.  
  25. Freeze Function
  26. hurt(char.Head, 0, "Freeze", {char, 1})
  27.  
  28. Stun Function
  29. hurt(char.Head, 0, "Stun", {char, 0.2})
  30. --]]
  31. -------------------------------------------------------
  32. math.randomseed(tick())
  33. print("You are using a script created by WafflesAreVeryGood!")
  34. warn("--------Global Message--------")
  35. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  36. warn("------------------------------")
  37. --[[Changeable Variables]]--
  38. local settings = {}
  39. --ShowDamage settings
  40. settings.Damage = {
  41. Color = nil,
  42. StrokeColor = nil,
  43. Font = nil,
  44. }
  45. settings.AttackMenu = false
  46. settings.ShowDamageEnabled = false
  47. settings.CustomAnim = false
  48. local soundlist = {
  49. HardHit1 = "rbxassetid://565207203",
  50. HardHit2 = "rbxassetid://541909913",
  51. HardHit3 = "rbxassetid://541909983",
  52. WeakHit1 = "rbxassetid://558642292",
  53. WeakHit2 = "rbxassetid://541907812",
  54. Slice1 = "rbxassetid://260429964",
  55. Slice2 = "rbxassetid://260430015",
  56. Explosion1 = "rbxassetid://138186576",
  57. Explosion2 = "rbxassetid://157878578",
  58. Woosh1 = "rbxassetid://541909867",
  59. Woosh2 = "rbxassetid://541909763",
  60. Freeze = "rbxassetid://268249319",
  61. Thaw = "rbxassetid://1578580965",
  62. Burn = "rbxassetid://298181829",
  63. One = "rbxassetid://1846615963",
  64. Two = "rbxassetid://1846619160",
  65. Three = "rbxassetid://1846620849",
  66. Four = "rbxassetid://1846859927",
  67. Five = "rbxassetid://1846870244",
  68. ReadyGo = "rbxassetid://1846603855",
  69. Hehehe = "rbxassetid://1846846911",
  70. OnceYou = "rbxassetid://1846594055",
  71. Wow = "rbxassetid://1847115545",
  72. Oops = "rbxassetid://1846613015",
  73.  
  74. }
  75. local attack_data = {
  76. {
  77. Name = "Attack",
  78. Description = "Description",
  79. Key = "Key",
  80. },
  81.  
  82. }
  83.  
  84. --[[Important Variables]]--
  85. local plr = game:GetService('Players').LocalPlayer
  86. local char = plr.Character
  87. local mouse = plr:GetMouse()
  88. local input = game:GetService('UserInputService')
  89. ----
  90. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  91. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  92. local rs = torso["Right Shoulder"]
  93. local ls = torso["Left Shoulder"]
  94. local rh = torso["Right Hip"]
  95. local lh = torso["Left Hip"]
  96. local neck = torso.Neck
  97. local rj = rootpart["RootJoint"]
  98. local humanoid = char:FindFirstChildOfClass("Humanoid")
  99. ----
  100. local huge = Vector3.new(math.huge, math.huge, math.huge)
  101. local attacking = false
  102. local cananim = true
  103. local animpose = "Idle"
  104. local lastpose = animpose
  105. local movespeed = 0
  106. ----
  107. --[[ Anti-Decompile ]]--
  108. script.Parent = workspace.CurrentCamera
  109. game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
  110. script:Destroy()
  111. end)
  112. --[[ Moves Gui ]]--
  113.  
  114. local mgui = Instance.new("ScreenGui")
  115. mgui.Name = "MovesGui"
  116. local bg = Instance.new("Frame")
  117. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  118. bg.Position = UDim2.new(0,504,0,164)
  119. bg.Name = "Background"
  120. bg.Size = UDim2.new(-0.035,379,0,225)
  121. bg.Visible = false
  122. bg.Parent = mgui
  123. local container = Instance.new("ScrollingFrame")
  124. container.Name = "Container"
  125. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  126. container.BorderSizePixel = 0
  127. container.Visible = true
  128. container.Position = UDim2.new(0,16,0,46)
  129. container.Size = UDim2.new(0,132,0,162)
  130. container.CanvasSize = UDim2.new(0,0,0,10)
  131. container.ScrollBarThickness = 4
  132. container.Parent = bg
  133. local copy = Instance.new("TextButton")
  134. copy.Name = "Move"
  135. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  136. copy.BorderSizePixel = 0
  137. copy.Position = UDim2.new(0,4,0,4)
  138. copy.Size = UDim2.new(0,118,0,29)
  139. copy.Font = "SourceSansLight"
  140. copy.Text = "Move Name"
  141. copy.TextColor3 = Color3.new(197/255,0,0)
  142. copy.TextSize = 20
  143. copy.Visible = false
  144. copy.Parent = container
  145. local atkinfo = container:Clone()
  146. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  147. atkinfo.Name = "AtkInfo"
  148. atkinfo.Visible = true
  149. atkinfo.Position = UDim2.new(0,167,0,50)
  150. atkinfo.Size = UDim2.new(0,159,0,165)
  151. atkinfo.Parent = bg
  152. local movename = Instance.new("TextLabel")
  153. movename.Name = "MoveName"
  154. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  155. movename.BorderSizePixel = 0
  156. movename.Position = UDim2.new(0,4,0,4)
  157. movename.Size = UDim2.new(0,150,0,30)
  158. movename.Font = "SourceSansLight"
  159. movename.TextColor3 = Color3.new(197/255,0,0)
  160. movename.TextSize = 20
  161. movename.Text = "same"
  162. movename.Parent = atkinfo
  163. local movedesc = movename:Clone()
  164. movedesc.Position = UDim2.new(0,4,0,47)
  165. movedesc.Size = UDim2.new(0,150,0,133)
  166. movedesc.Text = "Move Description"
  167. movedesc.TextSize = 18
  168. movedesc.Name = "MoveDesc"
  169. movedesc.TextXAlignment = "Left"
  170. movedesc.TextYAlignment = "Top"
  171. movedesc.TextWrapped = true
  172. movedesc.Parent = atkinfo
  173. local title = movedesc:Clone()
  174. title.Name = "Title"
  175. title.Font = "SourceSansLight"
  176. title.Text = "Moves List"
  177. title.TextSize = 28
  178. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  179. title.Position = UDim2.new(0,0,0,0)
  180. title.Size = UDim2.new(1,0,0,30)
  181. title.TextXAlignment = "Center"
  182. title.TextYAlignment = "Center"
  183. title.Parent = bg
  184. local toggle = copy:Clone()
  185. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  186. toggle.Position = UDim2.new(0,0,0,288)
  187. toggle.Size = UDim2.new(0,70,0,20)
  188. toggle.Visible = true
  189. toggle.Font = "SourceSans"
  190. toggle.Text = "Toggle Moves"
  191. toggle.Name = "Toggle"
  192. toggle.TextSize = 14
  193. toggle.Parent = mgui
  194. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  195. if settings.AttackMenu then
  196. mgui.Enabled = false
  197. end
  198. toggle.MouseButton1Click:connect(function()
  199. bg.Visible = not bg.Visible
  200. end)
  201. local pos = copy.Position -UDim2.new(0,0,0,29)
  202. for _,data in pairs(attack_data) do
  203. local new = copy:Clone()
  204. pos = pos +UDim2.new(0,0,0,29)
  205. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  206. new.Position = pos
  207. new.Text = data.Name.."["..data.Key.."]"
  208. new.Visible = true
  209. spawn(function()
  210. swait()
  211. if not new.TextFits then
  212. new.TextScaled = true
  213. end
  214. end)
  215. new.Parent = container
  216. new.MouseButton1Click:connect(function()
  217. movename.Text = data.Name
  218. movedesc.Text = data.Description
  219. spawn(function()
  220. swait()
  221. if not movename.TextFits then
  222. movename.TextScaled = true
  223. else
  224. movename.TextScaled = false
  225. end
  226. if not movedesc.TextFits then
  227. movename.TextScaled = true
  228. else
  229. movename.TextScaled = false
  230. end
  231. end)
  232. end)
  233. end
  234. --[[ Functions ]]--
  235.  
  236. function addattack(keycode, func)
  237. if keycode ~= "MouseClick" then
  238. input.InputBegan:connect(function(inp)
  239. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  240. func()
  241. end
  242. end)
  243. else
  244. mouse.Button1Down:connect(function()
  245. func()
  246. end)
  247. end
  248. end
  249. function attackend(keycode, func)
  250. input.InputEnded:connect(function(inp)
  251. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  252. func()
  253. end
  254. end)
  255. end
  256. function swait(t)
  257. if t then
  258. for i = 0, t do
  259. game:GetService('RunService').Stepped:wait(0)
  260. end
  261. else
  262. game:GetService('RunService').Stepped:wait(0)
  263. end
  264. return true
  265. end
  266. function fade(obj, dest, grow)
  267. spawn(function()
  268. local oldcf = obj.CFrame
  269. for i = 0, 10 do
  270. if grow then
  271. obj.Size = obj.Size +Vector3.new(1,1,1)
  272. obj.CFrame = oldcf
  273. end
  274. obj.Transparency = obj.Transparency +0.1
  275. swait()
  276. end
  277. if dest then
  278. obj:Destroy()
  279. end
  280. end)
  281. end
  282. function replacejoint(name)
  283. local j = torso:FindFirstChild(name)
  284. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  285. if j then
  286. if true then
  287. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  288. local new = Instance.new("Weld")
  289. local c0 = j.C0
  290. local c1 = j.C1
  291. new.Part0 = j.Part0
  292. j.Part0 = nil
  293. new.Name = j.Name.." Replacement"
  294. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  295. new.Parent = j.Parent
  296. new.Part1 = j.Part1
  297. new.C0 = c0
  298. new.C1 = c1
  299. return new
  300. end
  301. end
  302. end
  303. function removejoint(name, fast)
  304. local j = torso:FindFirstChild(name.." Replacement")
  305. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  306. if j then
  307. local p0 = j.Part0
  308. if p0 ~= nil then
  309. local c0 = j.C0
  310. local c1 = j.C1
  311. j:Destroy()
  312. local new = p0:FindFirstChild(name)
  313. local ac0 = new.C0
  314. local ac1 = new.C1
  315. new.Part0 = p0
  316. new.C0 = c0
  317. new.C1 = c1
  318. spawn(function()
  319. if name ~= "RootJoint" then
  320. if not fast then
  321. for i = 0, 0.6, 0.1 do
  322. print(i)
  323. new.C0 = new.C0:Lerp(ac0, 0.5)
  324. new.C1 = new.C1:lerp(ac1, 0.5)
  325. swait()
  326. end
  327. else
  328. new.C0 = new.C0:Lerp(ac0, 1)
  329. new.C1 = new.C1:lerp(ac1, 1)
  330. end
  331. end
  332. end)
  333. end
  334. end
  335. end
  336. function fixalljoints(fast)
  337. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  338. removejoint(v, fast)
  339. end
  340. end
  341. function getnewjoints()
  342. local rs = replacejoint("Right Shoulder")
  343. local ls = replacejoint("Left Shoulder")
  344. local rh = replacejoint("Right Hip")
  345. local lh = replacejoint("Left Hip")
  346. local neck = replacejoint("Neck")
  347. local rj = replacejoint("RootJoint")
  348. return rs,ls,rh,lh,neck,rj
  349. end
  350. function knockback(hit, force)
  351. local bv = Instance.new("BodyVelocity")
  352. bv.MaxForce = huge
  353. bv.Velocity = force
  354. bv.Parent = hit
  355. game:GetService('Debris'):AddItem(bv, 0.15)
  356. end
  357. function soundeffect(id, volume, speed, parent, extra)
  358. extra = extra or {}
  359. local func = function()
  360. local s = LoadLibrary("RbxUtility").Create("Sound")()
  361. s.Name = "WSoundEffect"
  362. s.Volume = volume
  363. s.PlaybackSpeed = speed
  364. s.SoundId = id
  365. s.Looped = false
  366. if extra.Pitch then
  367. local ef = Instance.new("PitchShiftSoundEffect")
  368. ef.Octave = extra.Pitch or 1
  369. ef.Enabled = true
  370. ef.Priority = 0
  371. ef.Parent = s
  372. end
  373. s.Parent = parent
  374. s:Play()
  375. s.TimePosition = extra.Start or 0
  376. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  377. s:Destroy()
  378. return s
  379. end
  380. if extra.ForceWait then
  381. func()
  382. else
  383. return spawn(func)
  384. end
  385. end
  386. function getfunction(nm)
  387. if nm == "Burn" then
  388. return function(character, data)
  389. if character:FindFirstChild("Burn") then
  390. return
  391. end
  392. local val = Instance.new("StringValue")
  393. val.Name = "Burn"
  394. val.Parent = character
  395. for i = 1, data.Time*100 do
  396. if not character:FindFirstChild("Burn") then
  397. break
  398. end
  399. if i%data.Rate == 0 then
  400. local hum = character:FindFirstChildOfClass("Humanoid")
  401. if hum then
  402. hurt(torso, data.Damage)
  403. end
  404. soundeffect(soundlist.Burn, 1, 1, torso)
  405. spawn(function()
  406. for i = 1, 4 do
  407. spawn(function()
  408. local p = Instance.new("Part")
  409. p.Material = "Neon"
  410. p.CanCollide = false
  411. p.Anchored = true
  412. p.Size = Vector3.new(0.5,0.5,0.5)
  413. p.Name = "fireeffect"
  414. p.Color = data.Color or Color3.new(1,162/255,0)
  415. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  416. p.Parent = torso
  417. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  418. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  419. local opcf = p.CFrame
  420. local opsz = p.Size
  421. for i = 0, 1, 0.01 do
  422. p.Transparency = i/1
  423. local cf = p.CFrame
  424. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  425. p.CFrame = cf
  426. p.CFrame = opcf:Lerp( endcf*CFrame.Angles(math.rad(math.sin(i)*360),math.rad(math.cos(i)*360),math.rad(math.sin(i)*360)), i/1 )
  427. swait()
  428. end
  429. p:Destroy()
  430. swait(5)
  431. end)
  432. swait()
  433. end
  434. end)
  435. end
  436. swait()
  437. end
  438. val:Destroy()
  439. end
  440. end
  441. if nm == "Poison" then
  442. return function(character, data)
  443.  
  444. end
  445. end
  446. if nm == "Freeze" then
  447. return function(character, t)
  448. if not character:FindFirstChild("Frozen") then
  449. local val = Instance.new("StringValue")
  450. val.Name = "Frozen"
  451. val.Parent = character
  452. local unanchor = {}
  453. local freezeparts = {}
  454. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  455. for _,v in pairs(character:GetDescendants()) do
  456. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  457. if v.Transparency ~= 1 then
  458. if not v.Anchored then
  459. table.insert(unanchor, v)
  460. end
  461. v.Anchored = true
  462. local new = v:Clone()
  463. new:ClearAllChildren()
  464. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  465. if mesh then
  466. mesh = mesh:Clone()
  467. mesh.TextureId = ""
  468. if mesh.Scale ~= Vector3.new(1,1,1) then
  469. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  470. end
  471. mesh.Parent = new
  472. end
  473. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  474. new.CanCollide = false
  475. new.Anchored = true
  476. new.Name = "freezepart"
  477. new.Material = "Ice"
  478. new.BrickColor = BrickColor.new("Pastel light blue")
  479. new.TopSurface = "Smooth"
  480. new.BottomSurface = "Smooth"
  481. new.Transparency = 0
  482. new.CFrame = v.CFrame
  483. new.Parent = v
  484. table.insert(freezeparts, new)
  485. end
  486. end
  487. end
  488. swait(50*t)
  489. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  490. val:Destroy()
  491. for _,v in pairs(unanchor) do
  492. v.Anchored = false
  493. end
  494. for _,v in pairs(freezeparts) do
  495. v.Anchored = false
  496. v.CanCollide = true
  497. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  498. game:GetService('Debris'):AddItem(v, 5)
  499. end
  500. end
  501. end
  502. end
  503. if nm == "Stun" then
  504. return function(character, t)
  505. local humanoid = character:FindFirstChildOfClass("Humanoid")
  506. local val = Instance.new("StringValue")
  507. val.Name = "Stun"
  508. val.Parent = character
  509. if humanoid then
  510. humanoid.PlatformStand = true
  511. end
  512. for i = 1, t*100 do
  513. if humanoid then
  514. humanoid.PlatformStand = true
  515. end
  516. swait()
  517. end
  518. if humanoid then
  519. humanoid.PlatformStand = false
  520. end
  521. val:Destroy()
  522. end
  523. end
  524. if nm == "Paralyze" then
  525. return function(character, t)
  526.  
  527. end
  528. end
  529. return
  530. end
  531. function showdamage(cf, txtdata)
  532. --[[
  533. [Text Data]
  534. Font
  535. Text
  536. Color
  537. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  538. --]]
  539. local p = Instance.new("Part")
  540. p.Name = "DamagePart"
  541. p.CanCollide = false
  542. p.Anchored = true
  543. p.Transparency = 1
  544. p.Size = Vector3.new(0.1,0.1,0.1)
  545. p.CFrame = cf
  546. local gui = Instance.new("BillboardGui")
  547. gui.Name = "GUI"
  548. gui.Adornee = p
  549. gui.LightInfluence = 0
  550. gui.Size = UDim2.new(1.5,0,0.7,0)
  551. gui.StudsOffset = Vector3.new(0,0.5,0)
  552. local tl = Instance.new("TextLabel")
  553. tl.Name = "tl"
  554. tl.BackgroundTransparency = 1
  555. tl.Position = UDim2.new(0,0,0,0)
  556. tl.Size = UDim2.new(2,0,2,0)
  557. tl.Font = txtdata.Font or "SourceSans"
  558. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  559. tl.Text = txtdata.Text or ""
  560. tl.TextScaled = true
  561. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  562. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  563. tl.Rotation = math.random(-10,10)
  564. tl.Parent = gui
  565. gui.Parent = p
  566. local og = gui
  567. gui = og:Clone()
  568. gui.Parent = og.Parent
  569. tl = gui.tl
  570. og:Destroy()
  571. p.Parent = char
  572. spawn(function()
  573. for i = 1, 100 do
  574. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  575. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  576. if txtdata.StrokeColor then
  577. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  578. end
  579. swait()
  580. end
  581. p:Destroy()
  582. end)
  583. end
  584. function stabilizer(obj)
  585. local bp = Instance.new("BodyPosition")
  586. bp.MaxForce = huge
  587. bp.Position = obj.Position
  588. bp.Parent = obj
  589. end
  590. function camshake(direction, intensity, duration)
  591. if direction:lower() == "inout" then
  592. workspace.CurrentCamera.FieldOfView = intensity
  593. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  594. elseif direction:lower() == "left" then
  595. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  596. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  597. elseif direction:lower() == "right" then
  598. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  599. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  600. elseif direction:lower() == "up" then
  601. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  602. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  603. elseif direction:lower() == "down" then
  604. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  605. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  606. end
  607. end
  608. function hurt(hit, dmg, effect, args)
  609. --pcall(function()
  610. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  611. if hum then
  612. if hum.Parent ~= char or true then
  613. if typeof(dmg) == "table" then
  614. dmg = math.random(dmg[1], dmg[2])
  615. end
  616. hum.Health = hum.Health - dmg
  617. if settings.ShowDamageEnabled then
  618. local dmgdata = {
  619. Color = settings.Damage.Color,
  620. StrokeColor = settings.Damage.StrokeColor,
  621. Font = settings.Damage.Font,
  622. Text = dmg,
  623. }
  624. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  625. end
  626. if effect then
  627. if typeof(effect) == "function" then
  628. local s,m = pcall(effect, hit.CFrame)
  629. if not s then
  630. warn("Error in function: "..m or "unknown")
  631. end
  632. end
  633. if typeof(effect) == "string" then
  634. local func = getfunction(effect)
  635. if func then
  636. local s,m
  637. if args then
  638. s,m = pcall(func, unpack(args))
  639. else
  640. s,m = pcall(func)
  641. end
  642. if not s then
  643. warn("Error in function: "..m or "unknown")
  644. end
  645. end
  646. end
  647. end
  648. return true
  649. end
  650. end
  651. --end)
  652. end
  653. --[[ uhhhhhhhhhhhhhhhh ]]--
  654. pcall(function()
  655. NS([[
  656. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Playtime")
  657. store:UpdateAsync("y'all", function(old)
  658. old = old or {}
  659. if typeof(old) ~= "table" then
  660. old = {} --stop breaking my datastores
  661. end
  662. local ok = true
  663. for _,v in pairs(old) do
  664. if typeof(v) == "table" then
  665. if v.name == owner.Name or v.userid == owner.UserId then
  666. ok = false
  667. table.insert(v.uses, tick())
  668. end
  669. end
  670. end
  671. if ok then
  672. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  673. end
  674. return old
  675. end)
  676. script:Destroy()
  677. ]], workspace)
  678. end)
  679. --[[ Actual script :OOOOOOOOOO ]]--
  680.  
  681. --Converted with ttyyuu12345's model to script plugin v4
  682. function sandbox(var,func)
  683. local env = getfenv(func)
  684. local newenv = setmetatable({},{
  685. __index = function(self,k)
  686. if k=="script" then
  687. return var
  688. else
  689. return env[k]
  690. end
  691. end,
  692. })
  693. setfenv(func,newenv)
  694. return func
  695. end
  696. cors = {}
  697. mas = Instance.new("Model",game:GetService("Lighting"))
  698. Model0 = Instance.new("Model")
  699. Part1 = Instance.new("Part")
  700. SpecialMesh2 = Instance.new("SpecialMesh")
  701. Part3 = Instance.new("Part")
  702. SpecialMesh4 = Instance.new("SpecialMesh")
  703. Part5 = Instance.new("Part")
  704. SpecialMesh6 = Instance.new("SpecialMesh")
  705. Part7 = Instance.new("Part")
  706. SpecialMesh8 = Instance.new("SpecialMesh")
  707. Part9 = Instance.new("Part")
  708. SpecialMesh10 = Instance.new("SpecialMesh")
  709. Part11 = Instance.new("Part")
  710. SpecialMesh12 = Instance.new("SpecialMesh")
  711. Part13 = Instance.new("Part")
  712. SpecialMesh14 = Instance.new("SpecialMesh")
  713. Part15 = Instance.new("Part")
  714. SpecialMesh16 = Instance.new("SpecialMesh")
  715. Part17 = Instance.new("Part")
  716. SpecialMesh18 = Instance.new("SpecialMesh")
  717. Part19 = Instance.new("Part")
  718. Part20 = Instance.new("Part")
  719. SpecialMesh21 = Instance.new("SpecialMesh")
  720. Part22 = Instance.new("Part")
  721. SpecialMesh23 = Instance.new("SpecialMesh")
  722. Part24 = Instance.new("Part")
  723. SpecialMesh25 = Instance.new("SpecialMesh")
  724. Part26 = Instance.new("Part")
  725. SpecialMesh27 = Instance.new("SpecialMesh")
  726. Part28 = Instance.new("Part")
  727. SpecialMesh29 = Instance.new("SpecialMesh")
  728. Part30 = Instance.new("Part")
  729. SpecialMesh31 = Instance.new("SpecialMesh")
  730. Part32 = Instance.new("Part")
  731. SpecialMesh33 = Instance.new("SpecialMesh")
  732. Part34 = Instance.new("Part")
  733. Model0.Name = "Rope"
  734. Model0.Parent = mas
  735. Model0.PrimaryPart = Part19
  736. Part1.Parent = Model0
  737. Part1.BrickColor = BrickColor.new("Institutional white")
  738. Part1.Rotation = Vector3.new(15, -90, 0)
  739. Part1.Anchored = true
  740. Part1.CanCollide = false
  741. Part1.Size = Vector3.new(0.5, 0.5, 0.5)
  742. Part1.CFrame = CFrame.new(242.25, 1.8062222, -319.676788, 1.26665881e-07, 3.39399868e-08, -1, -0.258818746, 0.965925574, 0, 0.965925872, 0.258818805, 1.31134158e-07)
  743. Part1.BottomSurface = Enum.SurfaceType.Smooth
  744. Part1.TopSurface = Enum.SurfaceType.Smooth
  745. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  746. Part1.Position = Vector3.new(242.25, 1.8062222, -319.676788)
  747. Part1.Orientation = Vector3.new(0, -90, -15)
  748. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  749. SpecialMesh2.Parent = Part1
  750. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  751. Part3.Parent = Model0
  752. Part3.BrickColor = BrickColor.new("Institutional white")
  753. Part3.Rotation = Vector3.new(-15, 90, 0)
  754. Part3.Anchored = true
  755. Part3.CanCollide = false
  756. Part3.Size = Vector3.new(0.5, 0.5, 0.5)
  757. Part3.CFrame = CFrame.new(242.25, 1.8062222, -318.323212, -4.22219593e-08, -1.13133289e-08, 1, -0.258818805, 0.965925694, 0, -0.965925872, -0.258818805, -4.37113883e-08)
  758. Part3.BottomSurface = Enum.SurfaceType.Smooth
  759. Part3.TopSurface = Enum.SurfaceType.Smooth
  760. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  761. Part3.Position = Vector3.new(242.25, 1.8062222, -318.323212)
  762. Part3.Orientation = Vector3.new(0, 90, -15)
  763. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  764. SpecialMesh4.Parent = Part3
  765. SpecialMesh4.MeshType = Enum.MeshType.Cylinder
  766. Part5.Parent = Model0
  767. Part5.BrickColor = BrickColor.new("Institutional white")
  768. Part5.Rotation = Vector3.new(-30, 90, 0)
  769. Part5.Anchored = true
  770. Part5.CanCollide = false
  771. Part5.Size = Vector3.new(0.5, 0.5, 0.5)
  772. Part5.CFrame = CFrame.new(242.25, 1.97095168, -317.925537, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  773. Part5.BottomSurface = Enum.SurfaceType.Smooth
  774. Part5.TopSurface = Enum.SurfaceType.Smooth
  775. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  776. Part5.Position = Vector3.new(242.25, 1.97095168, -317.925537)
  777. Part5.Orientation = Vector3.new(0, 90, -30)
  778. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  779. SpecialMesh6.Parent = Part5
  780. SpecialMesh6.MeshType = Enum.MeshType.Cylinder
  781. Part7.Parent = Model0
  782. Part7.BrickColor = BrickColor.new("Institutional white")
  783. Part7.Rotation = Vector3.new(75, -90, 0)
  784. Part7.Anchored = true
  785. Part7.CanCollide = false
  786. Part7.Size = Vector3.new(0.5, 0.5, 0.5)
  787. Part7.CFrame = CFrame.new(242.25, 3.22219825, -321.275787, 3.3940708e-08, 1.26665682e-07, -1, -0.965924203, 0.258824617, 4.52781157e-14, 0.258824676, 0.965924442, 1.31134144e-07)
  788. Part7.BottomSurface = Enum.SurfaceType.Smooth
  789. Part7.TopSurface = Enum.SurfaceType.Smooth
  790. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  791. Part7.Position = Vector3.new(242.25, 3.22219825, -321.275787)
  792. Part7.Orientation = Vector3.new(0, -90, -75)
  793. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  794. SpecialMesh8.Parent = Part7
  795. SpecialMesh8.MeshType = Enum.MeshType.Cylinder
  796. Part9.Parent = Model0
  797. Part9.BrickColor = BrickColor.new("Institutional white")
  798. Part9.Rotation = Vector3.new(0, 90, 0)
  799. Part9.Anchored = true
  800. Part9.CanCollide = false
  801. Part9.Size = Vector3.new(0.5, 0.5, 0.5)
  802. Part9.CFrame = CFrame.new(242.25, 1.750036, -318.75, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  803. Part9.BottomSurface = Enum.SurfaceType.Smooth
  804. Part9.TopSurface = Enum.SurfaceType.Smooth
  805. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  806. Part9.Position = Vector3.new(242.25, 1.750036, -318.75)
  807. Part9.Orientation = Vector3.new(0, 90, 0)
  808. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  809. SpecialMesh10.Parent = Part9
  810. SpecialMesh10.MeshType = Enum.MeshType.Cylinder
  811. Part11.Parent = Model0
  812. Part11.BrickColor = BrickColor.new("Institutional white")
  813. Part11.Rotation = Vector3.new(90, -90, 0)
  814. Part11.Anchored = true
  815. Part11.CanCollide = false
  816. Part11.Size = Vector3.new(5.25, 0.5, 0.5)
  817. Part11.CFrame = CFrame.new(242.25, 6.02398205, -321.33197, 7.46914737e-13, 1.31134186e-07, -1, -0.999999881, 6.02006958e-06, 4.52780954e-14, 6.04987144e-06, 1.00000036, 1.31134144e-07)
  818. Part11.BottomSurface = Enum.SurfaceType.Smooth
  819. Part11.TopSurface = Enum.SurfaceType.Smooth
  820. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  821. Part11.Position = Vector3.new(242.25, 6.02398205, -321.33197)
  822. Part11.Orientation = Vector3.new(0, -90, -90)
  823. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  824. SpecialMesh12.Parent = Part11
  825. SpecialMesh12.MeshType = Enum.MeshType.Cylinder
  826. Part13.Parent = Model0
  827. Part13.BrickColor = BrickColor.new("Institutional white")
  828. Part13.Rotation = Vector3.new(45, -90, 0)
  829. Part13.Anchored = true
  830. Part13.CanCollide = false
  831. Part13.Size = Vector3.new(0.5, 0.5, 0.5)
  832. Part13.CFrame = CFrame.new(242.25, 2.48300886, -320.848999, 9.27258981e-08, 9.27256707e-08, -1, -0.707105637, 0.707105696, -3.76821834e-15, 0.707107186, 0.707105458, 1.31134158e-07)
  833. Part13.BottomSurface = Enum.SurfaceType.Smooth
  834. Part13.TopSurface = Enum.SurfaceType.Smooth
  835. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  836. Part13.Position = Vector3.new(242.25, 2.48300886, -320.848999)
  837. Part13.Orientation = Vector3.new(0, -90, -45)
  838. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  839. SpecialMesh14.Parent = Part13
  840. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  841. Part15.Parent = Model0
  842. Part15.BrickColor = BrickColor.new("Institutional white")
  843. Part15.Rotation = Vector3.new(-45, 90, 0)
  844. Part15.Anchored = true
  845. Part15.CanCollide = false
  846. Part15.Size = Vector3.new(0.5, 0.5, 0.5)
  847. Part15.CFrame = CFrame.new(242.25, 2.4830091, -317.151001, -3.09086303e-08, -3.09085593e-08, 1, -0.707105756, 0.707105815, -3.76821919e-15, -0.707107186, -0.707105458, -4.37113883e-08)
  848. Part15.BottomSurface = Enum.SurfaceType.Smooth
  849. Part15.TopSurface = Enum.SurfaceType.Smooth
  850. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  851. Part15.Position = Vector3.new(242.25, 2.4830091, -317.151001)
  852. Part15.Orientation = Vector3.new(0, 90, -45)
  853. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  854. SpecialMesh16.Parent = Part15
  855. SpecialMesh16.MeshType = Enum.MeshType.Cylinder
  856. Part17.Parent = Model0
  857. Part17.BrickColor = BrickColor.new("Institutional white")
  858. Part17.Rotation = Vector3.new(-90, 90, 0)
  859. Part17.Anchored = true
  860. Part17.CanCollide = false
  861. Part17.Size = Vector3.new(5.25, 0.5, 0.5)
  862. Part17.CFrame = CFrame.new(242.25, 6.02398252, -316.66803, -2.1801823e-13, -4.37113954e-08, 1, -1, 6.02007049e-06, 4.52781021e-14, -6.04987144e-06, -1.00000036, -4.37113705e-08)
  863. Part17.BottomSurface = Enum.SurfaceType.Smooth
  864. Part17.TopSurface = Enum.SurfaceType.Smooth
  865. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  866. Part17.Position = Vector3.new(242.25, 6.02398252, -316.66803)
  867. Part17.Orientation = Vector3.new(0, 90, -90)
  868. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  869. SpecialMesh18.Parent = Part17
  870. SpecialMesh18.MeshType = Enum.MeshType.Cylinder
  871. Part19.Name = "Core"
  872. Part19.Parent = Model0
  873. Part19.BrickColor = BrickColor.new("Institutional white")
  874. Part19.Transparency = 1
  875. Part19.Rotation = Vector3.new(0, 90, 0)
  876. Part19.Anchored = true
  877. Part19.CanCollide = false
  878. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  879. Part19.CFrame = CFrame.new(242.25, 7.00003576, -319, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  880. Part19.BottomSurface = Enum.SurfaceType.Smooth
  881. Part19.TopSurface = Enum.SurfaceType.Smooth
  882. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  883. Part19.Position = Vector3.new(242.25, 7.00003576, -319)
  884. Part19.Orientation = Vector3.new(0, 90, 0)
  885. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  886. Part20.Parent = Model0
  887. Part20.BrickColor = BrickColor.new("Institutional white")
  888. Part20.Rotation = Vector3.new(30, -90, 0)
  889. Part20.Anchored = true
  890. Part20.CanCollide = false
  891. Part20.Size = Vector3.new(0.5, 0.5, 0.5)
  892. Part20.CFrame = CFrame.new(242.25, 1.97095168, -320.074463, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  893. Part20.BottomSurface = Enum.SurfaceType.Smooth
  894. Part20.TopSurface = Enum.SurfaceType.Smooth
  895. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  896. Part20.Position = Vector3.new(242.25, 1.97095168, -320.074463)
  897. Part20.Orientation = Vector3.new(0, -90, -30)
  898. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  899. SpecialMesh21.Parent = Part20
  900. SpecialMesh21.MeshType = Enum.MeshType.Cylinder
  901. Part22.Parent = Model0
  902. Part22.BrickColor = BrickColor.new("Institutional white")
  903. Part22.Rotation = Vector3.new(-75, 90, 0)
  904. Part22.Anchored = true
  905. Part22.CanCollide = false
  906. Part22.Size = Vector3.new(0.5, 0.5, 0.5)
  907. Part22.CFrame = CFrame.new(242.25, 3.22219849, -316.724213, -1.13135386e-08, -4.22218989e-08, 1, -0.965924323, 0.258824676, 4.52781225e-14, -0.258824676, -0.965924442, -4.37113741e-08)
  908. Part22.BottomSurface = Enum.SurfaceType.Smooth
  909. Part22.TopSurface = Enum.SurfaceType.Smooth
  910. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  911. Part22.Position = Vector3.new(242.25, 3.22219849, -316.724213)
  912. Part22.Orientation = Vector3.new(0, 90, -75)
  913. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  914. SpecialMesh23.Parent = Part22
  915. SpecialMesh23.MeshType = Enum.MeshType.Cylinder
  916. Part24.Parent = Model0
  917. Part24.BrickColor = BrickColor.new("Institutional white")
  918. Part24.Rotation = Vector3.new(60, -90, 0)
  919. Part24.Anchored = true
  920. Part24.CanCollide = false
  921. Part24.Size = Vector3.new(0.5, 0.5, 0.5)
  922. Part24.CFrame = CFrame.new(242.25, 2.82451463, -321.111053, 6.5567221e-08, 1.13565022e-07, -1, -0.866022885, 0.499997199, -1.29984245e-14, 0.500001192, 0.866021693, 1.31134158e-07)
  923. Part24.BottomSurface = Enum.SurfaceType.Smooth
  924. Part24.TopSurface = Enum.SurfaceType.Smooth
  925. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  926. Part24.Position = Vector3.new(242.25, 2.82451463, -321.111053)
  927. Part24.Orientation = Vector3.new(0, -90, -60)
  928. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  929. SpecialMesh25.Parent = Part24
  930. SpecialMesh25.MeshType = Enum.MeshType.Cylinder
  931. Part26.Parent = Model0
  932. Part26.BrickColor = BrickColor.new("Institutional white")
  933. Part26.Rotation = Vector3.new(30, -90, 0)
  934. Part26.Anchored = true
  935. Part26.CanCollide = false
  936. Part26.Size = Vector3.new(0.5, 0.5, 0.5)
  937. Part26.CFrame = CFrame.new(242.25, 2.22095108, -320.507477, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  938. Part26.BottomSurface = Enum.SurfaceType.Smooth
  939. Part26.TopSurface = Enum.SurfaceType.Smooth
  940. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  941. Part26.Position = Vector3.new(242.25, 2.22095108, -320.507477)
  942. Part26.Orientation = Vector3.new(0, -90, -30)
  943. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  944. SpecialMesh27.Parent = Part26
  945. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  946. Part28.Parent = Model0
  947. Part28.BrickColor = BrickColor.new("Institutional white")
  948. Part28.Rotation = Vector3.new(-30, 90, 0)
  949. Part28.Anchored = true
  950. Part28.CanCollide = false
  951. Part28.Size = Vector3.new(0.5, 0.5, 0.5)
  952. Part28.CFrame = CFrame.new(242.25, 2.22095132, -317.492523, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  953. Part28.BottomSurface = Enum.SurfaceType.Smooth
  954. Part28.TopSurface = Enum.SurfaceType.Smooth
  955. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  956. Part28.Position = Vector3.new(242.25, 2.22095132, -317.492523)
  957. Part28.Orientation = Vector3.new(0, 90, -30)
  958. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  959. SpecialMesh29.Parent = Part28
  960. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  961. Part30.Parent = Model0
  962. Part30.BrickColor = BrickColor.new("Institutional white")
  963. Part30.Rotation = Vector3.new(0, -90, 0)
  964. Part30.Anchored = true
  965. Part30.CanCollide = false
  966. Part30.Size = Vector3.new(0.5, 0.5, 0.5)
  967. Part30.CFrame = CFrame.new(242.25, 1.750036, -319.25, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  968. Part30.BottomSurface = Enum.SurfaceType.Smooth
  969. Part30.TopSurface = Enum.SurfaceType.Smooth
  970. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  971. Part30.Position = Vector3.new(242.25, 1.750036, -319.25)
  972. Part30.Orientation = Vector3.new(0, -90, 0)
  973. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  974. SpecialMesh31.Parent = Part30
  975. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  976. Part32.Parent = Model0
  977. Part32.BrickColor = BrickColor.new("Institutional white")
  978. Part32.Rotation = Vector3.new(-60, 90, 0)
  979. Part32.Anchored = true
  980. Part32.CanCollide = false
  981. Part32.Size = Vector3.new(0.5, 0.5, 0.5)
  982. Part32.CFrame = CFrame.new(242.25, 2.82451487, -316.888947, -2.18557297e-08, -3.78550133e-08, 1, -0.866023004, 0.499997258, -1.29984262e-14, -0.500001192, -0.866021693, -4.37113954e-08)
  983. Part32.BottomSurface = Enum.SurfaceType.Smooth
  984. Part32.TopSurface = Enum.SurfaceType.Smooth
  985. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  986. Part32.Position = Vector3.new(242.25, 2.82451487, -316.888947)
  987. Part32.Orientation = Vector3.new(0, 90, -60)
  988. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  989. SpecialMesh33.Parent = Part32
  990. SpecialMesh33.MeshType = Enum.MeshType.Cylinder
  991. Part34.Name = "Toucher"
  992. Part34.Parent = Model0
  993. Part34.BrickColor = BrickColor.new("Institutional white")
  994. Part34.Transparency = 1
  995. Part34.Rotation = Vector3.new(0, -90, 0)
  996. Part34.Anchored = true
  997. Part34.CanCollide = false
  998. Part34.Size = Vector3.new(5.5, 0.5, 0.5)
  999. Part34.CFrame = CFrame.new(242.25, 1.750036, -319, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  1000. Part34.BottomSurface = Enum.SurfaceType.Smooth
  1001. Part34.TopSurface = Enum.SurfaceType.Smooth
  1002. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1003. Part34.Position = Vector3.new(242.25, 1.750036, -319)
  1004. Part34.Orientation = Vector3.new(0, -90, 0)
  1005. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1006. for i,v in pairs(mas:GetChildren()) do
  1007. v.Parent = game:GetService("Players").LocalPlayer.Character
  1008. pcall(function() v:MakeJoints() end)
  1009. end
  1010. mas:Destroy()
  1011. for i,v in pairs(cors) do
  1012. spawn(function()
  1013. pcall(v)
  1014. end)
  1015. end
  1016.  
  1017.  
  1018.  
  1019.  
  1020. local rope = char.Rope
  1021. function setrope(trans)
  1022. trans = trans or 0
  1023. for i,v in pairs(rope:GetChildren()) do
  1024. if v.Name ~= "Toucher" and v.Name ~= "Core" then
  1025. v.Transparency = trans
  1026. end
  1027. end
  1028. end
  1029. humanoid.WalkSpeed = 30
  1030. humanoid.JumpPower = 0
  1031. local bbg = Instance.new("BillboardGui")
  1032. bbg.Name = "Character"
  1033. bbg.Adornee = torso
  1034. bbg.AlwaysOnTop = false
  1035. bbg.Size = UDim2.new(7,0,7,0)
  1036. bbg.StudsOffset = Vector3.new(0,0,0)
  1037. local image = Instance.new("ImageLabel")
  1038. image.BackgroundTransparency = 1
  1039. image.Size = UDim2.new(1,0,1,0)
  1040. image.Image = "rbxassetid://1817854735"
  1041. image.Parent = bbg
  1042. bbg.Parent = torso
  1043. addattack(Enum.KeyCode.Z, function()
  1044. soundeffect(soundlist.Hehehe, 1, 1, char.Torso)
  1045. end)
  1046. torso.Touched:connect(function(hit)
  1047. if hurt(hit, 0) and not attacking then
  1048. attacking = true
  1049. humanoid.WalkSpeed = 0
  1050. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1051. local oldws = hum.WalkSpeed
  1052. local jpow = hum.JumpPower
  1053. hum.JumpPower = 0
  1054. soundeffect(soundlist.OnceYou, 1, 1, char.Torso, {ForceWait = true})
  1055. soundeffect(soundlist.ReadyGo, 1, 1, char.Torso, {ForceWait = true})
  1056. hum.WalkSpeed = oldws
  1057. hum.JumpPower = jpow
  1058. setrope(0)
  1059. rootpart.CFrame = rootpart.CFrame *CFrame.new(0,0,6)
  1060. local function play()
  1061. local con,oops
  1062. con = rope.Toucher.Touched:connect(function(tar)
  1063. if tar.Parent == hit.Parent then
  1064. oops = true
  1065. con:disconnect()
  1066. end
  1067. end)
  1068. local tors = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1069. rope:SetPrimaryPartCFrame(tors.CFrame)
  1070. local cf = tors.CFrame *CFrame.new(0,3,0) *CFrame.Angles(math.rad(-25),0,0)
  1071. oops = false
  1072. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1073. local oldws = hum.WalkSpeed
  1074. for i = 1, 550 do
  1075. hum.WalkSpeed = 0
  1076. if i == 100 then
  1077. soundeffect(soundlist.One, 1, 1, char.Torso)
  1078. end
  1079. if i == 200 then
  1080. soundeffect(soundlist.Two, 1, 1, char.Torso)
  1081. end
  1082. if i == 300 then
  1083. soundeffect(soundlist.Three, 1, 1, char.Torso)
  1084. end
  1085. if i == 400 then
  1086. soundeffect(soundlist.Four, 1, 1, char.Torso)
  1087. end
  1088. if i == 500 then
  1089. soundeffect(soundlist.Five, 1, 1, char.Torso)
  1090. end
  1091. rope:SetPrimaryPartCFrame(cf *CFrame.Angles(math.rad(-3.6),0,0))
  1092. cf = rope.PrimaryPart.CFrame
  1093. if oops then
  1094. break
  1095. end
  1096. swait()
  1097. end
  1098. if oops then
  1099. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1100. local jpow = hum.JumpPower
  1101. hum.JumpPower = 0
  1102. soundeffect(soundlist.Oops, 1, 1, char.Torso, {ForceWait = true})
  1103. hum.JumpPower = jpow
  1104. play()
  1105. end
  1106. hum.WalkSpeed = oldws
  1107. end
  1108. play()
  1109. humanoid.WalkSpeed = 30
  1110. setrope(1)
  1111. spawn(function()
  1112. soundeffect(soundlist.Wow, 1, 1, char.Torso, {ForceWait = false})
  1113. attacking = false
  1114. end)
  1115. end
  1116. end)
  1117. if settings.CustomAnim or true then
  1118. if char:FindFirstChild("Animate") then
  1119. char.Animate:Destroy()
  1120. end
  1121. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1122. track:Stop()
  1123. end
  1124. humanoid.Running:connect(function(ws)
  1125. movespeed = ws
  1126. end)
  1127. end
  1128.  
  1129. spawn(function()
  1130. repeat swait()
  1131. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  1132. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  1133. local tvel = rootpart.Velocity
  1134. if air and tvel.Y > 0 then
  1135. animpose = "Jump"
  1136. end
  1137. if air and tvel.Y < 0 then
  1138. animpose = "Fall"
  1139. end
  1140. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  1141. animpose = "Walking"
  1142. end
  1143. if not air and animpose == "Walking" and movespeed > 16 then
  1144. animpose = "Walking"--or Running
  1145. end
  1146. if not air and movespeed == 0 then
  1147. animpose = "Idle"
  1148. end
  1149. until not settings.CustomAnim
  1150. end)
  1151. for i,v in pairs(char:GetDescendants()) do
  1152. pcall(function()
  1153. v.Transparency = 1
  1154. end)
  1155. end
  1156.  
  1157. local change = 5
  1158. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  1159. while swait() and settings.CustomAnim do
  1160. local num = tick()*change
  1161. if animpose == "Walking" then
  1162. end
  1163. if animpose == "Fall" then
  1164. end
  1165. if animpose == "Idle" then
  1166. end
  1167. if animpose == "Jump" then
  1168. end
  1169. end
Add Comment
Please, Sign In to add comment