daily pastebin goal
78%
SHARE
TWEET

santuario 2

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