pitrioptixiop

ignore this

Aug 23rd, 2020 (edited)
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 97.75 KB | None | 0 0
  1. --/ This admin IS skidded from Overflow v1 that got leaked Credits go to them: Synttax, dhruvil, ANN0B1S
  2. --/ If you plan to make a admin using these commands please credit the original creators.
  3.  
  4. repeat
  5.     wait()
  6. until game:GetService("Players").LocalPlayer ~= nil
  7.  
  8. if not game:GetService("Players").LocalPlayer.Character then
  9.     game:GetService("Players").LocalPlayer.CharacterAdded:Wait()
  10. end
  11.  
  12. --/ Variables
  13.  
  14. local LocalPlayer = game:GetService("Players").LocalPlayer
  15. local Character = LocalPlayer.Character
  16. local Workspace = game:GetService("Workspace")
  17. local CoreGui = LocalPlayer.PlayerGui
  18.  
  19. local IceGear = {
  20.     Cmds = {},
  21.     Events = {},
  22.     Debounces = {CmdCooldown = false},
  23.     CommandKey = "BackSlash", -- what to open the commandbar with (check out: https://developer.roblox.com/en-us/api-reference/enum/KeyCode)
  24.     Prefix = ";", -- need to use prefix in default chat, can also be used in commandbar but isn't necessary
  25. }
  26.  
  27. local Settings = {
  28.     Prefix = ";",
  29.     Version = "1.0.0"
  30. }
  31.  
  32. for i, v in pairs(game:GetService("CoreGui"):GetChildren()) do
  33.     if v.Name == "IceGear_AdminGui" then
  34.         v:Destroy()
  35.     end
  36. end
  37.  
  38. for i, v in pairs(game:GetService("Lighting"):GetChildren()) do
  39.     if v.Name == "BlueColorCorrection" or v.Name == "CmdBlurEffect" then
  40.         v:Destroy()
  41.     end
  42. end
  43.  
  44. --/ Main Gui Creation 'n it's properties
  45.  
  46. local IceGear_AdminGui = Instance.new("ScreenGui")
  47. local Intro = Instance.new("Folder")
  48. local LeftFrameThing = Instance.new("Frame")
  49. local LoadingFrame = Instance.new("Frame")
  50. local LoadingThing = Instance.new("Frame")
  51. local RightFrameThing = Instance.new("Frame")
  52. local LoadingFrame_2 = Instance.new("Frame")
  53. local LoadingThing_2 = Instance.new("Frame")
  54. local MainLogo = Instance.new("ImageLabel")
  55. local MainLogo2 = Instance.new("ImageLabel")
  56. local MiddleLogoThing = Instance.new("ImageLabel")
  57. local AdminNameLabel = Instance.new("TextLabel")
  58. local BlueColorCorrection = Instance.new("ColorCorrectionEffect")
  59.  
  60. local ExampleLabel = Instance.new("TextLabel")
  61. local CmdList = Instance.new("ScrollingFrame")
  62. local CmdListUIListLayout = Instance.new("UIListLayout")
  63. local CmdBarFrame = Instance.new("Frame")
  64. local CmdBarDesign = Instance.new("ImageLabel")
  65. local CmdBar = Instance.new("TextBox")
  66. local NotificationFrame = Instance.new("TextLabel")
  67. local CmdBlurEffect = Instance.new("BlurEffect")
  68.  
  69. local Main = Instance.new("Folder")
  70.  
  71.  
  72. IceGear_AdminGui.Name = "IceGear_AdminGui"
  73. IceGear_AdminGui.Parent = game:GetService("CoreGui")
  74.  
  75. Intro.Name = "Intro"
  76. Intro.Parent = IceGear_AdminGui
  77.  
  78. LeftFrameThing.Name = "LeftFrameThing"
  79. LeftFrameThing.Parent = Intro
  80. LeftFrameThing.AnchorPoint = Vector2.new(1, 0.5)
  81. LeftFrameThing.BackgroundColor3 = Color3.fromRGB(69, 70, 72)
  82. LeftFrameThing.LayoutOrder = 0
  83. LeftFrameThing.Position = UDim2.new(-0.00100000005, 0, 0.5, 0)
  84. LeftFrameThing.Size = UDim2.new(0.5, 0, 0.25, 0)
  85.  
  86. RightFrameThing.Name = "RightFrameThing"
  87. RightFrameThing.Parent = Intro
  88. RightFrameThing.AnchorPoint = Vector2.new(0, 0.5)
  89. RightFrameThing.BackgroundColor3 = Color3.fromRGB(69, 70, 72)
  90. RightFrameThing.LayoutOrder = 0
  91. RightFrameThing.Position = UDim2.new(1.00100005, 0, 0.5, 0)
  92. RightFrameThing.Size = UDim2.new(0.5, 0, 0.25, 0)
  93.  
  94. LoadingFrame.Name = "LoadingFrame"
  95. LoadingFrame.Parent = LeftFrameThing
  96. LoadingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  97. LoadingFrame.BackgroundColor3 = Color3.fromRGB(62, 63, 65)
  98. LoadingFrame.LayoutOrder = 1
  99. LoadingFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  100. LoadingFrame.Size = UDim2.new(0.100000001, 0, 0.850000024, 0)
  101.  
  102. LoadingThing.Name = "LoadingThing"
  103. LoadingThing.Parent = LoadingFrame
  104. LoadingThing.AnchorPoint = Vector2.new(0.5, 1)
  105. LoadingThing.BackgroundColor3 = Color3.fromRGB(89, 130, 82)
  106. LoadingThing.BorderSizePixel = 0
  107. LoadingThing.LayoutOrder = 1
  108. LoadingThing.Position = UDim2.new(0.5, 0, 1, 0)
  109. LoadingThing.Size = UDim2.new(1, 0, 0, 0)
  110.  
  111. LoadingFrame_2.Name = "LoadingFrame"
  112. LoadingFrame_2.Parent = RightFrameThing
  113. LoadingFrame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  114. LoadingFrame_2.BackgroundColor3 = Color3.fromRGB(62, 63, 65)
  115. LoadingFrame_2.LayoutOrder = 1
  116. LoadingFrame_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  117. LoadingFrame_2.Size = UDim2.new(0.100000001, 0, 0.850000024, 0)
  118.  
  119. LoadingThing_2.Name = "LoadingThing"
  120. LoadingThing_2.Parent = LoadingFrame_2
  121. LoadingThing_2.AnchorPoint = Vector2.new(0.5, 1)
  122. LoadingThing_2.BackgroundColor3 = Color3.fromRGB(89, 130, 82)
  123. LoadingThing_2.BorderSizePixel = 0
  124. LoadingThing_2.LayoutOrder = 1
  125. LoadingThing_2.Position = UDim2.new(0.5, 0, 1, 0)
  126. LoadingThing_2.Size = UDim2.new(1, 0, 0, 0)
  127.  
  128. MiddleLogoThing.Name = "MiddleLogoThing"
  129. MiddleLogoThing.Parent = Intro
  130. MiddleLogoThing.AnchorPoint = Vector2.new(0.5, 0.5)
  131. MiddleLogoThing.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  132. MiddleLogoThing.BackgroundTransparency = 1.000
  133. MiddleLogoThing.LayoutOrder = 1
  134. MiddleLogoThing.Position = UDim2.new(0.5, 0, 0.5, 0)
  135. MiddleLogoThing.Size = UDim2.new(0.126000002, 0, 0.224999994, 0)
  136. MiddleLogoThing.Visible = false
  137. MiddleLogoThing.Image = "rbxassetid://3570695787"
  138. MiddleLogoThing.ImageColor3 = Color3.fromRGB(53, 53, 53)
  139. MiddleLogoThing.ImageTransparency = 1.000
  140. MiddleLogoThing.ScaleType = Enum.ScaleType.Fit
  141. MiddleLogoThing.SliceCenter = Rect.new(100, 100, 100, 100)
  142. MiddleLogoThing.SliceScale = 0.120
  143.  
  144. MainLogo.Name = "MainLogo"
  145. MainLogo.Parent = Intro
  146. MainLogo.AnchorPoint = Vector2.new(0.5, 0.5)
  147. MainLogo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  148. MainLogo.BackgroundTransparency = 1.000
  149. MainLogo.LayoutOrder = 2
  150. MainLogo.Position = UDim2.new(0.5, 0, 0.5, 0)
  151. MainLogo.Size = UDim2.new(0.126000002, 0, 0.224999994, 0)
  152. MainLogo.Visible = false
  153. MainLogo.Image = "http://www.roblox.com/asset/?id=5280464374"
  154. MainLogo.ImageColor3 = Color3.fromRGB(0, 0, 0)
  155. MainLogo.ImageTransparency = 1.000
  156. MainLogo.ScaleType = Enum.ScaleType.Fit
  157. MainLogo.SliceCenter = Rect.new(100, 100, 100, 100)
  158. MainLogo.SliceScale = 0.120
  159.  
  160. MainLogo2.Name = "MainLogo2"
  161. MainLogo2.Parent = MainLogo
  162. MainLogo2.AnchorPoint = Vector2.new(0.5, 0.5)
  163. MainLogo2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  164. MainLogo2.BackgroundTransparency = 1.000
  165. MainLogo2.LayoutOrder = 4
  166. MainLogo2.Position = UDim2.new(0.5, 0, 0.5, 0)
  167. MainLogo2.Size = UDim2.new(0.99000001, 0, 0.99000001, 0)
  168. MainLogo2.Image = "http://www.roblox.com/asset/?id=5280464374"
  169. MainLogo2.ImageColor3 = Color3.fromRGB(89, 85, 73)
  170. MainLogo2.ImageTransparency = 1.000
  171. MainLogo2.ScaleType = Enum.ScaleType.Fit
  172. MainLogo2.SliceCenter = Rect.new(100, 100, 100, 100)
  173. MainLogo2.SliceScale = 0.120
  174.  
  175. AdminNameLabel.Name = "AdminNameLabel"
  176. AdminNameLabel.Parent = Intro
  177. AdminNameLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  178. AdminNameLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  179. AdminNameLabel.BackgroundTransparency = 1.000
  180. AdminNameLabel.BorderSizePixel = 0
  181. AdminNameLabel.Position = UDim2.new(0.5, 0, 0.725000024, 0)
  182. AdminNameLabel.Size = UDim2.new(0.600000024, 0, 0.075000003, 0)
  183. AdminNameLabel.Visible = false
  184. AdminNameLabel.Font = Enum.Font.SourceSans
  185. AdminNameLabel.Text = ""
  186. AdminNameLabel.TextColor3 = Color3.fromRGB(200, 197, 166)
  187. AdminNameLabel.TextScaled = true
  188. AdminNameLabel.TextSize = 14.000
  189. AdminNameLabel.TextStrokeTransparency = 0.800
  190. AdminNameLabel.TextWrapped = true
  191.  
  192. BlueColorCorrection.Name = "BlueColorCorrection"
  193. BlueColorCorrection.Parent = game:GetService("Lighting")
  194. BlueColorCorrection.Brightness = 0
  195. BlueColorCorrection.Contrast = 0
  196. BlueColorCorrection.Enabled = true
  197. BlueColorCorrection.Saturation = 0
  198. BlueColorCorrection.TintColor = Color3.fromRGB(255, 255, 255)
  199.  
  200. Main.Name = "Main"
  201. Main.Parent = IceGear_AdminGui
  202.  
  203. CmdList.Name = "-CmdList"
  204. CmdList.Parent = Main
  205. CmdList.Active = true
  206. CmdList.Visible = false
  207. CmdList.AnchorPoint = Vector2.new(0.5, 0)
  208. CmdList.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  209. CmdList.BackgroundTransparency = 1.000
  210. CmdList.BorderSizePixel = 0
  211. CmdList.Position = UDim2.new(0.5, 0, 0.574999988, 0)
  212. CmdList.Size = UDim2.new(0.200000003, 0, 0.300000012, 0)
  213. CmdList.CanvasSize = UDim2.new(0, 0, 0, 0)
  214.  
  215. ExampleLabel.Name = "ExampleLabel"
  216. ExampleLabel.Parent = CmdList
  217. ExampleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  218. ExampleLabel.BackgroundTransparency = 1.000
  219. ExampleLabel.BorderSizePixel = 0
  220. ExampleLabel.Size = UDim2.new(1, 0, 0.174999997, 0)
  221. ExampleLabel.Visible = false
  222. ExampleLabel.Font = Enum.Font.SourceSans
  223. ExampleLabel.TextColor3 = Color3.fromRGB(222, 222, 222)
  224. ExampleLabel.TextSize = 14.000
  225. ExampleLabel.TextStrokeTransparency = 1 -- 0.9
  226. ExampleLabel.TextTransparency = 1 -- 0
  227.  
  228.  
  229. CmdListUIListLayout.Name = "CmdListUIListLayout"
  230. CmdListUIListLayout.Parent = CmdList
  231. CmdListUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  232.  
  233. CmdBarFrame.Name = "CmdBarFrame"
  234. CmdBarFrame.Parent = Main
  235. CmdBarFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  236. CmdBarFrame.BackgroundColor3 = Color3.fromRGB(59, 59, 59)
  237. CmdBarFrame.BackgroundTransparency = 0.500
  238. CmdBarFrame.BorderSizePixel = 0
  239. CmdBarFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  240. CmdBarFrame.Size = UDim2.new(1, 0, 0, 0) -- UDim2.new(1, 0, 0.100000001, 0)
  241.  
  242. CmdBarDesign.Name = "CmdBarDesign"
  243. CmdBarDesign.Parent = CmdBarFrame
  244. CmdBarDesign.AnchorPoint = Vector2.new(0.5, 0.5)
  245. CmdBarDesign.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  246. CmdBarDesign.BackgroundTransparency = 1.000
  247. CmdBarDesign.BorderSizePixel = 0
  248. CmdBarDesign.Position = UDim2.new(0.5, 0, 0.5, 0)
  249. CmdBarDesign.Size = UDim2.new(0.25, 0, 0.75, 0)
  250. CmdBarDesign.Image = "rbxassetid://3570695787"
  251. CmdBarDesign.ImageColor3 = Color3.fromRGB(53, 53, 53)
  252. CmdBarDesign.ImageTransparency = 1 -- 0.750
  253. CmdBarDesign.ScaleType = Enum.ScaleType.Slice
  254. CmdBarDesign.SliceCenter = Rect.new(100, 100, 100, 100)
  255. CmdBarDesign.SliceScale = 0.120
  256.  
  257. CmdBar.Name = "CmdBar"
  258. CmdBar.Parent = CmdBarDesign
  259. CmdBar.AnchorPoint = Vector2.new(0.5, 0.5)
  260. CmdBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  261. CmdBar.BackgroundTransparency = 1.000
  262. CmdBar.BorderSizePixel = 0
  263. CmdBar.Position = UDim2.new(0.5, 0, 0.5, 0)
  264. CmdBar.Size = UDim2.new(0.949999988, 0, 0.949999988, 0)
  265. CmdBar.Font = Enum.Font.SourceSans
  266. CmdBar.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  267. CmdBar.PlaceholderText = "Type command here, enter to execute"
  268. CmdBar.Text = ""
  269. CmdBar.TextColor3 = Color3.fromRGB(231, 231, 231)
  270. CmdBar.TextTransparency = 1 -- 0
  271. CmdBar.TextSize = 17.000
  272.  
  273. NotificationFrame.Name = "NotificationFrame"
  274. NotificationFrame.Parent = ScreenGui
  275. NotificationFrame.AnchorPoint = Vector2.new(0.5, 0)
  276. NotificationFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  277. NotificationFrame.BackgroundTransparency = 1.000
  278. NotificationFrame.BorderSizePixel = 0
  279. NotificationFrame.Position = UDim2.new(0.5, 0, -0.5, 0) -- UDim2.new(0.5, 0, 0.0250000004, 0)
  280. NotificationFrame.Size = UDim2.new(0.5, 0, 0, 20)
  281. NotificationFrame.Visible = false
  282. NotificationFrame.Font = Enum.Font.SourceSans
  283. NotificationFrame.Text = ""
  284. NotificationFrame.TextColor3 = Color3.fromRGB(255, 255, 255)
  285. NotificationFrame.TextSize = 20.000
  286. NotificationFrame.TextStrokeTransparency = 0.800
  287. NotificationFrame.TextWrapped = true
  288. NotificationFrame.TextYAlignment = Enum.TextYAlignment.Top
  289.  
  290. CmdBlurEffect.Name = "CmdBlurEffect"
  291. CmdBlurEffect.Parent = game:GetService("Lighting")
  292. CmdBlurEffect.Enabled = true
  293. CmdBlurEffect.Size = 0 -- 10
  294.  
  295.  
  296. --/ Functions
  297.  
  298. function IceGear.Notify(message, possibletimer)
  299.     spawn(function()
  300.         for i, v in pairs(Main:GetChildren()) do
  301.             if v.Name == "-NewNotification" then
  302.                 spawn(function()
  303.                     game:GetService("TweenService"):Create(v, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1, TextStrokeTransparency = 1, Position = UDim2.new(0.5, 0, -0.5, 0)}):Play()
  304.                     wait(0.25)
  305.                     v:Destroy()
  306.                 end)
  307.             end
  308.         end
  309.  
  310.         local Notification = NotificationFrame:Clone()
  311.         Notification.Name = "-NewNotification"
  312.         Notification.Parent = Main
  313.         Notification.Visible = true
  314.         Notification.Text = tostring(message)
  315.         game:GetService("TweenService"):Create(Notification, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {TextTransparency = 0, TextStrokeTransparency = 0.8, Position = UDim2.new(0.5, 0, 0.0250000004, 0)}):Play()
  316.  
  317.         local NotificationRemove = false
  318.         local Timer = 1
  319.  
  320.         if typeof(possibletimer) == "table" and typeof(possibletimer[1]) == "number" and typeof(possibletimer[2]) == "number" and typeof(possibletimer[3]) == "number" then
  321.             spawn(function()
  322.                
  323.                 for i = possibletimer[1], possibletimer[2], -possibletimer[3] do
  324.                     Timer = i
  325.  
  326.                     if NotificationRemove == false and Timer > 0 then
  327.                         wait(possibletimer[3])
  328.                     else
  329.                         break
  330.                     end
  331.                 end
  332.                 if NotificationRemove == false then
  333.                     NotificationRemove = true
  334.                 end
  335.             end)
  336.         end
  337.  
  338.         repeat
  339.             if typeof(possibletimer) == "table" and typeof(possibletimer[1]) == "number" and typeof(possibletimer[2]) == "number" and typeof(possibletimer[3]) == "number" then
  340.                 Notification.Text = tostring(message) .. "\n(" .. Timer .. ")"
  341.             else
  342.                 Notification.Text = tostring(message)
  343.             end
  344.             Notification.Size = UDim2.new(0.5, 0, 9e9, 0)
  345.             Notification.Size = UDim2.new(0.5, 0, Notification.TextBounds.Y, 0)
  346.            
  347.             wait()
  348.         until NotificationRemove == true or IceGear_AdminGui.Parent ~= game:GetService("CoreGui") or Timer <= 0
  349.        
  350.         game:GetService("TweenService"):Create(Notification, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1, TextStrokeTransparency = 1, Position = UDim2.new(0.5, 0, -0.5, 0)}):Play()
  351.         wait(0.25)
  352.         Notification:Destroy()
  353.     end)
  354. end
  355.  
  356. function IceGear.UpdateCmdList(cmdguiobject, cmdlistsettings)
  357.     if cmdguiobject.Name == "-CmdList" and cmdguiobject.ClassName == "ScrollingFrame" then
  358.        
  359.         for i, v in pairs(cmdguiobject:GetChildren()) do
  360.             if v:IsA("GuiObject") and v.Visible == true then
  361.                 v:Destroy()
  362.             end
  363.         end
  364.  
  365.  
  366.         if typeof(cmdlistsettings) == "table" and cmdlistsettings[1] ~= nil and cmdlistsettings[1].ClassName == "TextBox" then
  367.             if cmdlistsettings[2] == "alphabetical" then
  368.                
  369.                 cmdguiobject.CanvasSize = UDim2.new(0, 0, 0, 0)
  370.  
  371.                 for i, v in pairs(IceGear.Cmds) do
  372.                     if v[1] ~= nil and string.find(string.lower(v[1]), string.lower(string.split(cmdlistsettings[1].Text, " ")[1])) then
  373.                        
  374.                         local Cmd = ExampleLabel:Clone()
  375.                         Cmd.Name = v[1] .. "_Cmd"
  376.                         Cmd.Visible = true
  377.                         Cmd.Parent = cmdguiobject
  378.                         game:GetService("TweenService"):Create(Cmd, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0, TextStrokeTransparency = 0.9}):Play()
  379.                         if v[4] ~= nil then
  380.                             Cmd.Text = v[1] .. " [" .. v[4] .. "]"
  381.                         else
  382.                             Cmd.Text = v[1]
  383.                         end
  384.                        
  385.                         local GetTextSizeY = game:GetService("TextService"):GetTextSize(Cmd.Text, Cmd.TextSize, Cmd.Font, Cmd.AbsoluteSize).Y
  386.                         Cmd.Size = UDim2.new(0.949999988, 0, 0, GetTextSizeY + 10)
  387.                        
  388.                         cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + Cmd.TextBounds.Y + 15)
  389.  
  390.                     end
  391.                 end
  392.                
  393.             elseif cmdlistsettings[2] == "none" then
  394.                
  395.                 cmdguiobject.CanvasSize = UDim2.new(0, 0, 0, 0)
  396.  
  397.                 for i, v in pairs(IceGear.Cmds) do
  398.                     if v[1] ~= nil and string.find(string.lower(v[1]), string.lower(string.split(cmdlistsettings[1].Text, " ")[1])) then
  399.                        
  400.                         local Cmd = ExampleLabel:Clone()
  401.                         Cmd.Name = v[1] .. "_Cmd"
  402.                         Cmd.Visible = true
  403.                         Cmd.Parent = cmdguiobject
  404.                         game:GetService("TweenService"):Create(Cmd, TweenInfo.new(035, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0, TextStrokeTransparency = 0.9}):Play()
  405.                         if v[4] ~= nil then
  406.                             Cmd.Text = v[1] .. " [" .. v[4] .. "]"
  407.                         else
  408.                             Cmd.Text = v[1]
  409.                         end
  410.                        
  411.                         local GetTextSizeY = game:GetService("TextService"):GetTextSize(Cmd.Text, Cmd.TextSize, Cmd.Font, Cmd.AbsoluteSize).Y
  412.                         Cmd.Size = UDim2.new(0.949999988, 0, 0, GetTextSizeY + 10)
  413.                        
  414.                         cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + Cmd.TextBounds.Y + 15)
  415.  
  416.                     end
  417.                 end
  418.                
  419.                 cmdguiobject.CanvasSize = UDim2.new(cmdguiobject.CanvasSize.X.Scale, cmdguiobject.CanvasSize.X.Offset, 0, cmdguiobject.CanvasSize.Y.Offset + 15)
  420.                
  421.             end
  422.         end
  423.  
  424.     end
  425. end
  426.  
  427. function IceGear.GetShortenedPlrFromName(name)
  428.     name = string.lower(tostring(name))
  429.    
  430.     if not game:GetService("Players"):FindFirstChild("me") and name == "me" or game:GetService("Players"):FindFirstChild("me") and game:GetService("Players"):FindFirstChild("me").ClassName ~= "Player" and name == "me" then
  431.         return {LocalPlayer}
  432.     end
  433.     if not game:GetService("Players"):FindFirstChild("all") and name == "all" or game:GetService("Players"):FindFirstChild("all") and game:GetService("Players"):FindFirstChild("all").ClassName ~= "Player" and name == "all" then
  434.         return game:GetService("Players"):GetPlayers()
  435.     end
  436.     if not game:GetService("Players"):FindFirstChild("others") and name == "others" or game:GetService("Players"):FindFirstChild("others") and game:GetService("Players"):FindFirstChild("others").ClassName ~= "Player" and name == "others" then
  437.         name = game:GetService("Players"):GetPlayers()
  438.         for i, v in pairs(name) do
  439.             if v == LocalPlayer then
  440.                 table.remove(name, i)
  441.             end
  442.         end
  443.         return name
  444.     end
  445.    
  446.     for i, v in pairs(game.Players:GetPlayers()) do
  447.         if string.lower(string.sub(v.Name, 1, #name)) == name then
  448.             return {v}
  449.         end
  450.     end
  451.  
  452.     return nil
  453. end
  454.  
  455. function IceGear.AddCommand(cmdname, description, mainfunction, cmdargs)
  456.     for i, v in pairs(IceGear.Cmds) do
  457.         if v[1] ~= nil and string.lower(v[1]) == string.lower(cmdname) then
  458.             return nil
  459.         end
  460.     end
  461.  
  462.     if typeof(mainfunction) == "function" then
  463.         if cmdargs then
  464.             table.insert(IceGear.Cmds, {cmdname, description, mainfunction, cmdargs})
  465.         else
  466.             table.insert(IceGear.Cmds, {cmdname, description, mainfunction})
  467.         end
  468.     else
  469.         return nil
  470.     end
  471. end
  472.  
  473.  
  474.  
  475. --/ Scripting: Intro
  476.  
  477. game:GetService("TweenService"):Create(LeftFrameThing, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Position = UDim2.new(1, 0, 0.5, 0)}):Play()
  478. game:GetService("TweenService"):Create(RightFrameThing, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {Position = UDim2.new(0, 0, 0.5, 0)}):Play()
  479. wait(0.5)
  480.  
  481. MiddleLogoThing.Visible = true
  482. game:GetService("TweenService"):Create(MiddleLogoThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  483. wait(0.35 / 2)
  484. MainLogo.Visible = true
  485. MainLogo2.Visible = true
  486. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  487. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Rotation = 180}):Play()
  488. game:GetService("TweenService"):Create(MainLogo2, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0}):Play()
  489. wait(0.35)
  490.  
  491.  
  492. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Rotation = 360}):Play()
  493.  
  494. game:GetService("TweenService"):Create(BlueColorCorrection, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TintColor = Color3.fromRGB(207, 241, 255)}):Play()
  495. game:GetService("TweenService"):Create(LoadingThing, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = UDim2.new(1, 0, 1, 0)}):Play()
  496. game:GetService("TweenService"):Create(LoadingThing_2, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = UDim2.new(1, 0, 1, 0)}):Play()
  497.  
  498. AdminNameLabel.Visible = true
  499. for i = 1, #"IceGear | V" + #Settings.Version do
  500.     AdminNameLabel.Text = string.sub("IceGear | V" .. Settings.Version, 1, i)
  501.     wait(0.5 / (#"IceGear | V" + #Settings.Version))
  502. end
  503. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Rotation = 360 + 180}):Play()
  504. wait(0.5)
  505. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Rotation = 360 * 2 + 180}):Play()
  506. wait(0.5)
  507.  
  508. game:GetService("TweenService"):Create(LeftFrameThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Position = UDim2.new(-0.001, 0, 0.5, 0)}):Play()
  509. game:GetService("TweenService"):Create(RightFrameThing, TweenInfo.new(0.35, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Position = UDim2.new(1.001, 0, 0.5, 0)}):Play()
  510. wait(0.35 / 2)
  511.  
  512. game:GetService("TweenService"):Create(MiddleLogoThing, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  513.  
  514. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.45, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  515. game:GetService("TweenService"):Create(MainLogo, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Rotation = 45}):Play()
  516. game:GetService("TweenService"):Create(MainLogo2, TweenInfo.new(0.45, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  517. game:GetService("TweenService"):Create(BlueColorCorrection, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TintColor = Color3.fromRGB(255, 255, 255)}):Play()
  518. wait(0.5)
  519. Intro:Destroy()
  520. BlueColorCorrection:Destroy()
  521.  
  522.  
  523.  
  524. --/ Scripting: Main
  525.  
  526. -- CommandKey Check(s):
  527.  
  528. if not (typeof(IceGear.CommandKey) == "string" and Enum.KeyCode[IceGear.CommandKey]) then
  529.     print("Error in IceGear command key, key has been set to back slash.")
  530.     IceGear.CommandKey = "BackSlash"
  531. end
  532.  
  533. -- Commandbar Functionality:
  534.  
  535. IceGear.Debounces.CmdCooldown = false
  536.  
  537. IceGear.Events.InputBegan = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  538.     if Key.KeyCode.Name == IceGear.CommandKey then
  539.         if IceGear.Debounces.CmdCooldown == false then
  540.             IceGear.Debounces.CmdCooldown = true
  541.            
  542.             game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 15}):Play()
  543.             game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.5, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), {Size = UDim2.new(1, 0, 0.100000001, 0)}):Play()
  544.             wait(0.25)
  545.             CmdBar:CaptureFocus()
  546.             CmdList.Visible = true
  547.             game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 0.75}):Play()
  548.             game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 0}):Play()
  549.             wait(0.25)
  550.  
  551.             IceGear.Debounces.CmdCooldown = false
  552.         end
  553.     end
  554. end)
  555.  
  556. CmdBar:GetPropertyChangedSignal("Text"):Connect(function()
  557.     IceGear.UpdateCmdList(CmdList, {CmdBar, "alphabetical"})
  558. end)
  559.  
  560. CmdBar.FocusLost:Connect(function(EnterPressed)
  561.     spawn(function()
  562.         if IceGear.Debounces.CmdCooldown == false then
  563.             if EnterPressed then
  564.                
  565.                 IceGear.Debounces.CmdCooldown = true
  566.  
  567.                 local getcmd = string.split(string.lower(CmdBar.Text), " ")[1]
  568.                 local getargs = string.split(string.lower(CmdBar.Text), " ")
  569.  
  570.                 if string.sub(getcmd, 1, #IceGear.Prefix) == IceGear.Prefix then
  571.                     getcmd = string.sub(getcmd, #Settings.Prefix + 1, #getcmd)
  572.                 end
  573.  
  574.                 for i, v in pairs(string.split(string.lower(CmdBar.Text), ",")) do
  575.                     if i ~= 1 then
  576.                         table.insert(getargs, v)
  577.                     end
  578.                 end
  579.                 for i, v in pairs(string.split(string.lower(CmdBar.Text), ", ")) do
  580.                     if i ~= 1 then
  581.                         table.insert(getargs, v)
  582.                     end
  583.                 end
  584.  
  585.                 table.remove(getargs, 1)
  586.  
  587.                 for i, v in pairs(IceGear.Cmds) do
  588.                     if v[1] ~= nil and string.find(v[1], "/") then
  589.                         for i2, v2 in pairs( string.split(v[1], "/") ) do
  590.                            
  591.                             v2 = string.lower(v2)
  592.                             if getcmd == v2 then
  593.                                 if v[4] ~= nil then
  594.                                     spawn(function()
  595.                                         v[3](unpack(getargs))
  596.                                     end)
  597.                                 else
  598.                                     spawn(function()
  599.                                         v[3]()
  600.                                     end)
  601.                                 end
  602.                                 break
  603.                             end
  604.  
  605.                         end
  606.                     elseif v[1] ~= nil then
  607.                         v[1] = string.lower(v[1])
  608.                         if getcmd == v[1] then
  609.                             if v[4] ~= nil then
  610.                                 spawn(function()
  611.                                     v[3](unpack(getargs))
  612.                                 end)
  613.                             else
  614.                                 spawn(function()
  615.                                     v[3]()
  616.                                 end)
  617.                             end
  618.                             break
  619.                         end
  620.                     end
  621.                 end
  622.  
  623.             end
  624.            
  625.             game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 0}):Play()
  626.             game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Size = UDim2.new(1, 0, 0.0, 0)}):Play()
  627.             CmdBar:ReleaseFocus()
  628.             CmdList.Visible = false
  629.             game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  630.             game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1}):Play()
  631.             wait(0.25)
  632.             CmdBar.Text = ""
  633.             IceGear.Debounces.CmdCooldown = false
  634.         end
  635.     end)
  636. end)
  637.  
  638. LocalPlayer.Chatted:Connect(function(msg)
  639.     spawn(function()
  640.         if IceGear.Debounces.CmdCooldown == false and string.sub(msg, 1, #Settings.Prefix) == Settings.Prefix then
  641.        
  642.             IceGear.Debounces.CmdCooldown = true
  643.  
  644.             local getcmd = string.split(string.lower(msg), " ")[1]
  645.             local getargs = string.split(string.lower(msg), " ")
  646.  
  647.             if string.sub(getcmd, 1, #IceGear.Prefix) == IceGear.Prefix then
  648.                 getcmd = string.sub(getcmd, #Settings.Prefix + 1, #getcmd)
  649.             end
  650.  
  651.             for i, v in pairs(string.split(string.lower(msg), ",")) do
  652.                 if i ~= 1 then
  653.                     table.insert(getargs, v)
  654.                 end
  655.             end
  656.             for i, v in pairs(string.split(string.lower(msg), ", ")) do
  657.                 if i ~= 1 then
  658.                     table.insert(getargs, v)
  659.                 end
  660.             end
  661.  
  662.             table.remove(getargs, 1)
  663.  
  664.             for i, v in pairs(IceGear.Cmds) do
  665.                 if v[1] ~= nil and string.find(v[1], "/") then
  666.                     for i2, v2 in pairs( string.split(v[1], "/") ) do
  667.                        
  668.                         v2 = string.lower(v2)
  669.                         if getcmd == v2 then
  670.                             if v[4] ~= nil then
  671.                                 spawn(function()
  672.                                     v[3](unpack(getargs))
  673.                                 end)
  674.                             else
  675.                                 spawn(function()
  676.                                     v[3]()
  677.                                 end)
  678.                             end
  679.                             break
  680.                         end
  681.  
  682.                     end
  683.                 elseif v[1] ~= nil then
  684.                     v[1] = string.lower(v[1])
  685.                     if getcmd == v[1] then
  686.                         if v[4] ~= nil then
  687.                             spawn(function()
  688.                                 v[3](unpack(getargs))
  689.                             end)
  690.                         else
  691.                             spawn(function()
  692.                                 v[3]()
  693.                             end)
  694.                         end
  695.                         break
  696.                     end
  697.                 end
  698.             end
  699.  
  700.             game:GetService("TweenService"):Create(CmdBlurEffect, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {Size = 0}):Play()
  701.             game:GetService("TweenService"):Create(CmdBarFrame, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Size = UDim2.new(1, 0, 0.0, 0)}):Play()
  702.             CmdBar:ReleaseFocus()
  703.             CmdList.Visible = false
  704.             game:GetService("TweenService"):Create(CmdBarDesign, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {ImageTransparency = 1}):Play()
  705.             game:GetService("TweenService"):Create(CmdBar, TweenInfo.new(0.125, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {TextTransparency = 1}):Play()
  706.             wait(0.25)
  707.             CmdBar.Text = ""
  708.             IceGear.Debounces.CmdCooldown = false
  709.         end
  710.     end)
  711. end)
  712.  
  713.  
  714.  
  715. IceGear.Notify("Welcome to IceGear. \nPrefix is: " .. IceGear.Prefix, {10, 1, 1})
  716.  
  717. IceGear.AddCommand("Prefix", "Changes the prefix", function(prefix)
  718.     if typeof(prefix) == "string" and #prefix <= 3 then
  719.         IceGear.Notify("Prefix was succesfully changed to: " .. prefix, {5, 1, 1})
  720.     elseif #prefix > 3 then
  721.         IceGear.Notify("Prefix cannot be longer than 3 characters", {5, 1, 1})
  722.     end
  723. end, "prefix")
  724.  
  725. IceGear.AddCommand("Runline", "Runs a 1-line of script (a.k.a. the first argument)", function(scriptline)
  726.     local worked, geterror = pcall(function()
  727.         loadstring(tostring(scriptline))()
  728.     end)
  729.  
  730.     if geterror then
  731.         IceGear.Notify("Error in script (runline command): " .. geterror, {10, 1, 1})
  732.     end
  733. end, "script")
  734.  
  735. function IceGear.GetHatsInWorkspace()
  736.     local amount = 0
  737.    
  738.     for i, v in pairs(game.Workspace:GetDescendants()) do
  739.         if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  740.             if v:FindFirstChild("Handle") and v.Handle.Anchored == false and not game.Players:GetPlayerFromCharacter(v.Parent) then
  741.                 amount = amount + 1
  742.             elseif v:FindFirstChild("Handle") and v.Handle.Anchored == false and game.Players:GetPlayerFromCharacter(v.Parent) == game.PlayeRA.LocalPlayer then
  743.                 amount = amount + 1
  744.             end
  745.         end
  746.     end
  747.    
  748.     return amount
  749. end
  750.  
  751. IceGear.AddCommand("Clearhats", "Clears all the hats in the workspace", function()
  752.     for i, v in pairs(game.PlayeRA.LocalPlayer.Character:GetChildren()) do
  753.         if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  754.             v:Destroy()
  755.         end
  756.     end
  757.    
  758.    
  759.     repeat
  760.         for i, v in pairs(game.Workspace:GetDescendants()) do
  761.             if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  762.                 if v:FindFirstChild("Handle") and v.Handle.Anchored == false and not game.Players:GetPlayerFromCharacter(v.Parent) then
  763.                     repeat
  764.                         v.Handle.CFrame = game.PlayeRA.LocalPlayer.Character.HumanoidRootPart.CFrame
  765.                         wait()
  766.                     until v.Parent == game.PlayeRA.LocalPlayer.Character or v.Parent == nil
  767.                     v:Destroy()
  768.                 elseif v:FindFirstChild("Handle") and v.Handle.Anchored == false and game.Players:GetPlayerFromCharacter(v.Parent) == game.PlayeRA.LocalPlayer then
  769.                     v:Destroy()
  770.                 end
  771.             end
  772.         end
  773.         wait()
  774.     until IceGear.GetHatsInWorkspace() <= 0
  775. end)
  776.  
  777. IceGear.AddCommand("Rejoin", "Rejoins the server", function()
  778.     game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
  779. end)
  780.  
  781. IceGear.AddCommand("checknet/netcheck", "Notifies you about who is using networkownership", function()
  782.     local CheckIfWorks = pcall(function()
  783.         error()
  784.     end)
  785.  
  786.     local Plrs = {}
  787.     local Msg = ""
  788.  
  789.     if CheckIfWorks then
  790.         for i, v in pairs(game.Players:GetPlayers()) do
  791.             if gethiddenproperty(v, "SimulationRadius") >= 5000 then
  792.                 table.insert(Plrs, v.Name)
  793.             end
  794.         end
  795.  
  796.         if #Plrs <= 0 then
  797.             Msg = "Network check ran: No players have been found using networkownership."
  798.         elseif #Plrs == 1 then
  799.             Msg = "Network check ran, the player using network: " .. Plrs[1]
  800.         elseif #Plrs > 1 then
  801.             Msg = "Network check ran, the players using network: "
  802.             for i, v in pairs(Plrs) do
  803.                 Msg = Msg .. v .. ", "
  804.             end
  805.             Msg = string.sub(Msg, 1, #Msg - 2)
  806.         end
  807.  
  808.         return IceGear.Notify(Msg, {10, 1, 1})
  809.     else
  810.         return IceGear.Notify("Error: exploit doesn't support gethiddenproperty/sethiddenproperty?", {10, 1, 1})
  811.     end
  812. end)
  813.  
  814. IceGear.AddCommand("tp", "Teleports first player argument (player1/players) to second player argument (player2)", function(player1, player2)
  815.     if IceGear.GetShortenedPlrFromName(player1) ~= nil and IceGear.GetShortenedPlrFromName(player2) ~= nil then
  816.         local Player1
  817.         local Player2
  818.  
  819.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player1)) do
  820.             Player1 = v
  821.             for i2, v2 in pairs(IceGear.GetShortenedPlrFromName(player2)) do
  822.                 Player2 = v2
  823.                 if not (Player1 and Player1.Character) or not (Player2 and Player2.Character) then
  824.                     return IceGear.Notify("Error in tp command", "Player does not have character/is not loaded in", {5, 1, 1})
  825.                 elseif not (Player1.Character:FindFirstChild("HumanoidRootPart") or Player1.Character.PrimaryPart) or not (Player2.Character:FindFirstChild("HumanoidRootPart") or Player2.Character.PrimaryPart) then
  826.                     return IceGear.Notify("Error in tp command", "Player cannot be teleported", {5, 1, 1})
  827.                 end
  828.        
  829.                 if Player1.Character:FindFirstChild("HumanoidRootPart") and Player2.Character:FindFirstChild("HumanoidRootPart") then
  830.                     Player1.Character.HumanoidRootPart.CFrame = Player2.Character.HumanoidRootPart.CFrame
  831.                 elseif Player1.Character.PrimaryPart and Player2.Character.PrimaryPart then
  832.                     Player1.Character:SetPrimaryPartCFrame(Player2.Character.PrimaryPart.CFrame)
  833.                 end
  834.             end
  835.  
  836.         end
  837.     else
  838.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  839.     end
  840. end, "player 1, player 2")
  841.  
  842. IceGear.AddCommand("goto/to", "Teleports to player", function(player)
  843.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  844.         local Player
  845.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  846.             Player = v
  847.             if not (LocalPlayer and LocalPlayer.Character) or not (Player and Player.Character) then
  848.                 return IceGear.Notify("Error in goto/to command", "Player or LocalPlayer does not have character/is not loaded in", {5, 1, 1})
  849.             elseif not (LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character.PrimaryPart) or not (Player.Character:FindFirstChild("HumanoidRootPart") or Player.Character.PrimaryPart) then
  850.                 return IceGear.Notify("Error in goto/to command", "Player or LocalPlayer cannot be teleported", {5, 1, 1})
  851.             end
  852.    
  853.             if LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChild("HumanoidRootPart") then
  854.                 LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame
  855.             elseif LocalPlayer.Character.PrimaryPart and Player.Character.PrimaryPart then
  856.                 LocalPlayer.Character:SetPrimaryPartCFrame(Player.Character.PrimaryPart.CFrame)
  857.             end
  858.         end
  859.     else
  860.         IceGear.Notify("Could not find player", "Such player does not exist in the server (or username was spelt wrong?)", {5, 1, 1})
  861.     end
  862. end, "player")
  863.  
  864. IceGear.AddCommand("bring", "Brings player", function(player)
  865.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  866.         local Player
  867.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  868.             Player = v
  869.             if not (LocalPlayer and LocalPlayer.Character) or not (Player and Player.Character) then
  870.                 return IceGear.Notify("Error in bring command", "Player or LocalPlayer does not have character/is not loaded in", {5, 1, 1})
  871.             elseif not (LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character.PrimaryPart) or not (Player.Character:FindFirstChild("HumanoidRootPart") or Player.Character.PrimaryPart) then
  872.                 return IceGear.Notify("Error in bring command", "Player or LocalPlayer cannot be teleported", {5, 1, 1})
  873.             end
  874.    
  875.             if LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChild("HumanoidRootPart") then
  876.                 Player.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  877.             elseif LocalPlayer.Character.PrimaryPart and Player.Character.PrimaryPart then
  878.                 Player.Character:SetPrimaryPartCFrame(LocalPlayer.Character.PrimaryPart.CFrame)
  879.             end
  880.         end
  881.     else
  882.         IceGear.Notify("Could not find player", "Such player does not exist in the server (or username was spelt wrong?)", {5, 1, 1})
  883.     end
  884. end, "player")
  885.  
  886. IceGear.AddCommand("walkspeed/speed/ws", "Sets walkspeed of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, speed)  
  887.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  888.         local Player
  889.         print(tonumber(speed))
  890.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  891.             Player = v
  892.             if not (Player and Player.Character) then
  893.                 return IceGear.Notify("Error in walkspeed/speed/ws command", "Player does not have character/is not loaded in", {5, 1, 1})
  894.             elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  895.                 return IceGear.Notify("Error in walkspeed/speed/ws command", "Player does not have a humanoid", {5, 1, 1})
  896.             end
  897.  
  898.             if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(speed)) == "number" then
  899.                 Player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = tonumber(speed)
  900.             elseif typeof(tonumber(speed)) ~= "number" then
  901.                 IceGear.Notify("Incorrect speed number", "speed value entered is not a number/could not be turned into a number", {5, 1, 1})
  902.             end
  903.         end
  904.     else
  905.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  906.     end
  907. end, "player(s), speed")
  908.  
  909. IceGear.AddCommand("jumppower/jp", "Sets jumppower of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, power)  
  910.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  911.         local Player
  912.  
  913.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  914.             Player = v
  915.             if not (Player and Player.Character) then
  916.                 return IceGear.Notify("Error in jumppower/jp command", "Player does not have character/is not loaded in", {5, 1, 1})
  917.             elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  918.                 return IceGear.Notify("Error in jumppower/jp command", "Player does not have a humanoid", {5, 1, 1})
  919.             end
  920.  
  921.             if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(power)) == "number" then
  922.                 Player.Character:FindFirstChildOfClass("Humanoid").JumpPower = tonumber(power)
  923.             elseif typeof(tonumber(power)) ~= "number" then
  924.                 IceGear.Notify("Incorrect jumppower number", "jumppower value entered is not a number/could not be turned into a number", {5, 1, 1})
  925.             end
  926.         end
  927.     else
  928.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  929.     end
  930. end, "player(s), power")
  931.  
  932.  
  933. IceGear.AddCommand("hipheight/hh", "Sets hipheight of player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, height)  
  934.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  935.         local Player
  936.  
  937.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  938.             Player = v
  939.             if not (Player and Player.Character) then
  940.                 return IceGear.Notify("Error in hipheight/hh command", "Player does not have character/is not loaded in", {5, 1, 1})
  941.             elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  942.                 return IceGear.Notify("Error in hipheight/hh command", "Player does not have a humanoid", {5, 1, 1})
  943.             end
  944.  
  945.             if Player.Character:FindFirstChildOfClass("Humanoid") and typeof(tonumber(height)) == "number" then
  946.                 Player.Character:FindFirstChildOfClass("Humanoid").HipHeight = tonumber(height)
  947.             elseif typeof(tonumber(height)) ~= "number" then
  948.                 IceGear.Notify("Incorrect hipheight number", "hipheight value entered is not a number/could not be turned into a number", {5, 1, 1})
  949.             end
  950.         end
  951.     else
  952.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  953.     end
  954. end, "player(s), height")
  955.  
  956. IceGear.AddCommand("noclip", "Noclips player until disabled/player dies, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)  
  957.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  958.         local Player
  959.  
  960.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  961.             Player = v
  962.             if not (Player and Player.Character) then
  963.                 return IceGear.Notify("Error in noclip command", "Player does not have character/is not loaded in", {5, 1, 1})
  964.             elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  965.                 return IceGear.Notify("Error in noclip command", "Player does not have a humanoid", {5, 1, 1})
  966.             end
  967.  
  968.             if Player.Character:FindFirstChild("-Noclipped") then
  969.                 Player.Character:FindFirstChild("-Noclipped"):Destroy()
  970.             end
  971.            
  972.             local Noclipped = Instance.new("ObjectValue")
  973.             Noclipped.Name = "-Noclipped"
  974.             Noclipped.Parent = Player.Character
  975.  
  976.             local LoopTillEnd
  977.             LoopTillEnd = game:GetService("RunService").Stepped:Connect(function()
  978.                 if Player and Player.Character and Player.Character:FindFirstChild("-Noclipped") then
  979.                     for i2, v2 in pairs(Player.Character:GetDescendants()) do
  980.                         if v2:IsA("BasePart") then
  981.                             v2.CanCollide = false
  982.                         end
  983.                     end
  984.                 else
  985.                     LoopTillEnd:Disconnect()
  986.                 end
  987.             end)
  988.         end
  989.     else
  990.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  991.     end
  992. end, "player(s)")
  993.  
  994. IceGear.AddCommand("clip", "Disables player noclip if player is noclipped with noclip command, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)  
  995.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  996.         local Player
  997.  
  998.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  999.             Player = v
  1000.             if Player and Player.Character and Player.Character:FindFirstChild("-Noclipped") then
  1001.                 Player.Character:FindFirstChild("-Noclipped"):Destroy()
  1002.             end
  1003.         end
  1004.     else
  1005.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1006.     end
  1007. end, "player(s)")
  1008.  
  1009. IceGear.AddCommand("changestate", "Changes player's humanoid state until disabled/player dies, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player, numberstate)
  1010.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1011.         local Player
  1012.  
  1013.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1014.             Player = v
  1015.             if not (Player and Player.Character) then
  1016.                 return IceGear.Notify("Error in changestate command", "Player does not have character/is not loaded in", {5, 1, 1})
  1017.             elseif not Player.Character:FindFirstChildOfClass("Humanoid") then
  1018.                 return IceGear.Notify("Error in changestate command", "Player does not have a humanoid", {5, 1, 1})
  1019.             end
  1020.  
  1021.             if typeof(tonumber(numberstate)) ~= "number" then
  1022.                 return IceGear.Notify("Error in changestate command", "number state is not a number/could not be turned into a number", {5, 1, 1})
  1023.             end
  1024.  
  1025.             if Player.Character:FindFirstChild("-Statechanging") then
  1026.                 Player.Character:FindFirstChild("-Statechanging"):Destroy()
  1027.             end
  1028.            
  1029.             local Noclipped = Instance.new("ObjectValue")
  1030.             Noclipped.Name = "-Statechanging"
  1031.             Noclipped.Parent = Player.Character
  1032.  
  1033.             local LoopTillEnd
  1034.             LoopTillEnd = game:GetService("RunService").Stepped:Connect(function()
  1035.                 if Player and Player.Character and Player.Character:FindFirstChildOfClass("Humanoid") and Player.Character:FindFirstChild("-Statechanging") then
  1036.                     for i2, v2 in pairs(Player.Character:GetDescendants()) do
  1037.                         if v2.ClassName == "Humanoid" then
  1038.                             v2:ChangeState(tonumber(numberstate))
  1039.                         end
  1040.                     end
  1041.                 else
  1042.                     LoopTillEnd:Disconnect()
  1043.                 end
  1044.             end)
  1045.         end
  1046.     else
  1047.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1048.     end
  1049. end, "player(s), numberstate")
  1050.  
  1051. IceGear.AddCommand("unchangestate", "Disables player changestate if player is statechanged with changestate command, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)  
  1052.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1053.         local Player
  1054.  
  1055.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1056.             Player = v
  1057.             if Player and Player.Character and Player.Character:FindFirstChild("-Statechanging") then
  1058.                 Player.Character:FindFirstChild("-Statechanging"):Destroy()
  1059.             end
  1060.         end
  1061.     else
  1062.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1063.     end
  1064. end, "player(s)")
  1065.  
  1066. IceGear.AddCommand("kill", "Kills player, ONLY REPLICATES on other players IF player is/players are claimed with claim command (localplayer doesn't need to be claimed).", function(player)  
  1067.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1068.         local Player
  1069.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1070.             Player = v
  1071.             if Player and Player.Character and Player.Character then
  1072.                 Player.Character:BreakJoints()
  1073.             end
  1074.         end
  1075.     else
  1076.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1077.     end
  1078. end, "player(s)")
  1079.  
  1080. IceGear.AddCommand("control", "controls player using claim", function(player)  
  1081.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1082.         local Player
  1083.         for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1084.             Player = v
  1085.             if Player and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Character:FindFirstChildOfClass("Humanoid") then
  1086.                 Player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 100
  1087.                 Player.Character:FindFirstChildOfClass("Humanoid").Jump = true
  1088.                 Player.Character:FindFirstChildOfClass("Humanoid").Jump = false
  1089.                
  1090.                 Player.Character.HumanoidRootPart.Parent = LocalPlayer.Character
  1091.  
  1092.                 LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1093.             end
  1094.         end
  1095.     else
  1096.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1097.     end
  1098. end, "player(s)")
  1099.  
  1100. IceGear.AddCommand("claim", "Claims player with networkownership.", function(player)  
  1101.     if IceGear.GetShortenedPlrFromName(player) ~= nil then
  1102.         for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1103.             if v:IsA("Part") then v:Remove()
  1104.             end
  1105.         end
  1106.         wait(6.7)
  1107.         local Player
  1108.  
  1109.         if LocalPlayer and LocalPlayer.Character and (LocalPlayer.Character:FindFirstChild("Right Arm") and LocalPlayer.Character:FindFirstChild("Right Arm"):IsA("BasePart") or LocalPlayer.Character:FindFirstChild("Right Hand") and LocalPlayer.Character:FindFirstChild("Right Hand"):IsA("BasePart")) then
  1110.             if LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  1111.                 local Tool = LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  1112.                
  1113.            
  1114.                 for i, v in pairs(IceGear.GetShortenedPlrFromName(player)) do
  1115.                     Player = v
  1116.                     if Player and Player.Character and (Player.Character:FindFirstChild("Right Arm") and Player.Character:FindFirstChild("Right Arm"):IsA("BasePart") or Player.Character:FindFirstChild("Right Hand") and Player.Character:FindFirstChild("Right Hand"):IsA("BasePart")) then
  1117.                         LocalPlayer.Character['Left Leg']:Destroy()
  1118.                         LocalPlayer.Character['Right Leg']:Destroy()
  1119.                         LocalPlayer.Character['Left Arm']:Destroy()
  1120.                         wait(0.3544556)
  1121.  
  1122.                         if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1123.                             LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):Destroy()
  1124.                         end
  1125.                         Instance.new("Humanoid").Parent = LocalPlayer.Character
  1126.  
  1127.                         Tool.Parent = LocalPlayer.Character
  1128.                         if Tool:FindFirstChild("Handle") and Player.Character.PrimaryPart ~= nil then
  1129.                             repeat
  1130.                                 Player.Character:SetPrimaryPartCFrame(Tool.Handle.CFrame)
  1131.                                 game:GetService("RunService").Stepped:Wait()
  1132.                             until Tool.Parent == Player.Character
  1133.  
  1134.                             Workspace.FallenPartsDestroyHeight = 0/1/0
  1135.                             local CurrentCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  1136.                             wait(0.3)
  1137.  
  1138.                             for i = 1, 10 do
  1139.                                 LocalPlayer.Character.HumanoidRootPart.CFrame = CurrentCFrame - Vector3.new(0, math.huge, 0)
  1140.                             end
  1141.                             wait(0.3)
  1142.  
  1143.                             for i = 1, 10 do
  1144.                                 LocalPlayer.Character.HumanoidRootPart.CFrame = CurrentCFrame
  1145.                             end
  1146.                            
  1147.                             if not Player.Character:FindFirstChild("-Claimed") then
  1148.                                 local Claimed = Instance.new("ObjectValue")
  1149.                                 Claimed.Name = "-Claimed"
  1150.                                 Claimed.Parent = Player.Character
  1151.                             end
  1152.  
  1153.                             LocalPlayer.CharacterAdded:Wait()
  1154.                             repeat
  1155.                                 wait()
  1156.                             until LocalPlayer.Character.HumanoidRootPart and LocalPlayer.Character:FindFirstChild("Head") and LocalPlayer.Character:FindFirstChild("Torso") and LocalPlayer.Character.Torso:FindFirstChild("Neck")
  1157.                        
  1158.                             if #IceGear.GetShortenedPlrFromName(player) > 1 then
  1159.                                 repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") or LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  1160.                             end
  1161.                         end
  1162.                     end
  1163.                 end
  1164.             else
  1165.                 return IceGear.Notify("Need 1 tool", "You need at least 1 tool in order to claim player", {5, 1, 1})
  1166.             end
  1167.         end
  1168.     else
  1169.         IceGear.Notify("Could not find player(s)", "Could not find player(s). perhaps username was/usernames were spelt wrong?", {5, 1, 1})
  1170.     end
  1171. end, "player(s)")
  1172.  
  1173. IceGear.AddCommand("GrabKnife", "Loads FE grab knife remake", function()
  1174.     local KnifeAccessory
  1175.  
  1176.     if LocalPlayer:FindFirstChild("-Running") then
  1177.         return IceGear.Notify("Command: " .. LocalPlayer["-Running"].Value .. " is already running.", {7, 1, 1})
  1178.     elseif not LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
  1179.         return IceGear.Notify("You need at least 1 hat or preferably accessory: https://www.roblox.com/catalog/4684948729/Kawaii-Knife", {7, 1, 1})
  1180.     else
  1181.  
  1182.         if LocalPlayer.Character:FindFirstChild("YandereKnife") and LocalPlayer.Character["YandereKnife"].ClassName == "Accessory" then
  1183.             KnifeAccessory = LocalPlayer.Character["YandereKnife"]
  1184.         else
  1185.             KnifeAccessory = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  1186.         end
  1187.  
  1188.         local Running = Instance.new("StringValue")
  1189.         Running.Parent = LocalPlayer
  1190.         Running.Name = "-Running"
  1191.         Running.Value = "Grab Knife"
  1192.  
  1193.        
  1194.  
  1195.  
  1196.         local LeftArm = LocalPlayer.Character["Left Arm"]:Clone()
  1197.         LeftArm.Parent = LocalPlayer.Character
  1198.         LeftArm.Name = "LeftArm"
  1199.         LeftArm.Transparency = 1
  1200.         LeftArm:ClearAllChildren()
  1201.  
  1202.         local RightArm = LocalPlayer.Character["Right Arm"]:Clone()
  1203.         RightArm.Parent = LocalPlayer.Character
  1204.         RightArm.Name = "RightArm"
  1205.         RightArm.Transparency = 1
  1206.         RightArm:ClearAllChildren()
  1207.  
  1208.         local Stuff = {
  1209.             Events = {},
  1210.             Debounces = {Button1DownDebounce = false},
  1211.             PlrHeld = nil,
  1212.             Mode = 1 -- 1 = kill, 2 = throw, 3 = let go, 4 = suicide
  1213.         }
  1214.        
  1215.         if LocalPlayer.Character:FindFirstChild("-GrabKnife") then
  1216.             LocalPlayer.Character:FindFirstChild("-GrabKnife"):Destroy()
  1217.         end
  1218.         if LocalPlayer.Character:FindFirstChild("GrabKnifeLA") then
  1219.             LocalPlayer.Character:FindFirstChild("GrabKnifeLA"):Destroy()
  1220.         end
  1221.         if LocalPlayer.Character:FindFirstChild("GrabKnifeRA") then
  1222.             LocalPlayer.Character:FindFirstChild("GrabKnifeRA"):Destroy()
  1223.         end
  1224.        
  1225.        
  1226.        
  1227.         local LA
  1228.         local RA
  1229.  
  1230.         local RS = LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  1231.         LocalPlayer.Character.Torso["Right Shoulder"]:Destroy()
  1232.        
  1233.         RS.Parent = LocalPlayer.Character.Torso
  1234.         RS.Part0 = RS.Parent
  1235.         RS.Part1 = RightArm
  1236.  
  1237.         local Attach0 = Instance.new("Attachment")
  1238.         Attach0.Parent = LocalPlayer.Character["Right Arm"]
  1239.         local Attach1 = Instance.new("Attachment")
  1240.         Attach1.Parent = RightArm
  1241.        
  1242.         local Pos = Instance.new("AlignPosition")
  1243.         Pos.Parent = LocalPlayer.Character.Torso
  1244.         Pos.RigidityEnabled = true
  1245.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1246.  
  1247.         local Rot = Instance.new("AlignOrientation")
  1248.         Rot.Parent = LocalPlayer.Character.Torso
  1249.         Rot.RigidityEnabled = true
  1250.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1251.        
  1252.         local LS = LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  1253.         LocalPlayer.Character.Torso["Left Shoulder"]:Destroy()
  1254.        
  1255.         LS.Parent = LocalPlayer.Character.Torso
  1256.         LS.Part0 = LS.Parent
  1257.         LS.Part1 = LeftArm
  1258.  
  1259.         local Attach0 = Instance.new("Attachment")
  1260.         Attach0.Parent = LocalPlayer.Character["Left Arm"]
  1261.         local Attach1 = Instance.new("Attachment")
  1262.         Attach1.Parent = LeftArm
  1263.        
  1264.         local Pos = Instance.new("AlignPosition")
  1265.         Pos.Parent = LocalPlayer.Character.Torso
  1266.         Pos.RigidityEnabled = true
  1267.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1268.  
  1269.         local Rot = Instance.new("AlignOrientation")
  1270.         Rot.Parent = LocalPlayer.Character.Torso
  1271.         Rot.RigidityEnabled = true
  1272.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1273.  
  1274.  
  1275.         local Knife = Instance.new("Part")
  1276.         Knife.Name = "-GrabKnife"
  1277.         Knife.Parent = LocalPlayer.Character
  1278.         Knife.Size = Vector3.new(0.25, 2, 0.25)
  1279.         Knife.Transparency = 1
  1280.         Knife.CanCollide = false
  1281.  
  1282.         local KnifeWeld = Instance.new("Weld")
  1283.         KnifeWeld.Parent = Knife
  1284.         KnifeWeld.Part0 = LeftArm
  1285.         KnifeWeld.Part1 = Knife
  1286.         KnifeWeld.C0 = CFrame.new(Vector3.new(0.2, -0.85, 0)) * CFrame.Angles(math.rad(0), math.rad(00), math.rad(0))
  1287.         KnifeWeld.C1 = CFrame.new(Vector3.new(0, 0.75, -0.125)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1288.  
  1289.         KnifeAccessory.Handle.AccessoryWeld:Destroy()
  1290.         local Attach0 = Instance.new("Attachment")
  1291.         Attach0.Parent = KnifeAccessory.Handle
  1292.         Attach0.CFrame = CFrame.new(Vector3.new(-0.5, 0, -0.5)) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(-90))
  1293.         local Attach1 = Instance.new("Attachment")
  1294.         Attach1.Parent = Knife
  1295.        
  1296.         local Pos = Instance.new("AlignPosition")
  1297.         Pos.Parent = Knife
  1298.         Pos.RigidityEnabled = true
  1299.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1300.  
  1301.         local Rot = Instance.new("AlignOrientation")
  1302.         Rot.Parent = Knife
  1303.         Rot.RigidityEnabled = true
  1304.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1305.        
  1306.  
  1307.         Stuff.Events.ModeChangeEvent = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  1308.             if Key.KeyCode == Enum.KeyCode.Q then
  1309.                 Stuff.Mode = 1
  1310.             elseif Key.KeyCode == Enum.KeyCode.E then
  1311.                 Stuff.Mode = 2
  1312.             elseif Key.KeyCode == Enum.KeyCode.R then
  1313.                 Stuff.Mode = 3
  1314.             elseif Key.KeyCode == Enum.KeyCode.T then
  1315.                 Stuff.Mode = 4
  1316.             end
  1317.         end)
  1318.  
  1319.         Stuff.Events.Button1DownEvent = LocalPlayer:GetMouse().Button1Down:Connect(function()
  1320.             if Stuff.Debounces.Button1DownDebounce == false and Stuff.PlrHeld == nil and Stuff.Mode ~= 4 then
  1321.            
  1322.                 Stuff.Debounces.Button1DownDebounce = true
  1323.                
  1324.                 LA = Instance.new("Weld")
  1325.                 LA.Name = "GrabKnifeLA"
  1326.                 LA.Parent = LocalPlayer.Character
  1327.                 LA.Part0 = LocalPlayer.Character.Torso
  1328.                 LA.Part1 = LeftArm
  1329.                 LA.C0 = CFrame.new(Vector3.new(-1, 1, 0)) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(-10))
  1330.                 LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1331.                
  1332.                 RA = Instance.new("Weld")
  1333.                 RA.Name = "GrabKnifeRA"
  1334.                 RA.Parent = LocalPlayer.Character
  1335.                 RA.Part0 = LocalPlayer.Character.Torso
  1336.                 RA.Part1 = RightArm
  1337.                 RA.C0 = CFrame.new(Vector3.new(1, 1, 0)) * CFrame.Angles(math.rad(10), math.rad(-10), math.rad(10))
  1338.                 RA.C1 = CFrame.new(Vector3.new(-0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1339.                
  1340.                 wait(0.1)
  1341.                 game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-90), math.rad(-10)) }):Play()
  1342.                 game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1, 0.75, 0)) * CFrame.Angles(math.rad(70), math.rad(40), math.rad(10)) }):Play()
  1343.                
  1344.                 local PossiblePlr
  1345.                 for i = 1, 20 do
  1346.                     if Stuff.PlrHeld == nil then
  1347.                         PossiblePlr = game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 2))
  1348.                         if PossiblePlr ~= nil and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent) and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent).Character and game.Players:GetPlayerFromCharacter(PossiblePlr.Parent).Character:FindFirstChild("-Claimed") then
  1349.                             Stuff.PlrHeld = game.Players:GetPlayerFromCharacter(PossiblePlr.Parent)
  1350.                             break
  1351.                         end
  1352.                         wait(0.0375)
  1353.                     end
  1354.                 end
  1355.                 LA:Destroy()
  1356.                 RA:Destroy()
  1357.                 LA = nil
  1358.                 RA = nil
  1359.                 Stuff.Debounces.Button1DownDebounce = false
  1360.                
  1361.             elseif Stuff.Mode ~= 4 and Stuff.PlrHeld ~= nil and Stuff.PlrHeld.ClassName == "Player" and Stuff.PlrHeld.Character and Stuff.PlrHeld.Character.PrimaryPart and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid") and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  1362.                
  1363.                 if Stuff.Mode == 1 then -- kill
  1364.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(90), math.rad(-100), math.rad(-10)) }):Play()
  1365.                     wait(0.35)
  1366.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.175, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(50), math.rad(-60), math.rad(-20)) }):Play()
  1367.                     wait(0.175)
  1368.                     Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1369.                     wait(0.25)
  1370.                     Stuff.PlrHeld = nil
  1371.                     if LA then
  1372.                     LA:Destroy()
  1373.                     LA = nil
  1374.                     end
  1375.                     if RA then
  1376.                     RA:Destroy()
  1377.                     RA = nil
  1378.                     end
  1379.                 elseif Stuff.Mode == 2 then -- throw
  1380.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-10)) }):Play()
  1381.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1, 0.75, 1)) * CFrame.Angles(math.rad(70), math.rad(60), math.rad(10)) }):Play()
  1382.                     wait(0.075)
  1383.                     Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1384.                     local BF = Instance.new("BodyForce")
  1385.                     BF.Parent = Stuff.PlrHeld.Character.PrimaryPart
  1386.                     BF.Force = Vector3.new(0, 20, 0) + LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 20
  1387.                     wait(0.25)
  1388.                     BF:Destroy()
  1389.                     wait(0.25)
  1390.                     Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1391.                     if Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1392.                         Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix"):Destroy()
  1393.                     end
  1394.                     Stuff.PlrHeld = nil
  1395.                     if LA then
  1396.                     LA:Destroy()
  1397.                     LA = nil
  1398.                     end
  1399.                     if RA then
  1400.                     RA:Destroy()
  1401.                     RA = nil
  1402.                     end
  1403.                 elseif Stuff.Mode == 3 then -- let go
  1404.                     if Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1405.                         Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix"):Destroy()
  1406.                     end
  1407.                     Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1408.                     Stuff.PlrHeld = nil
  1409.                     if LA then
  1410.                     LA:Destroy()
  1411.                     LA = nil
  1412.                     end
  1413.                     if RA then
  1414.                     RA:Destroy()
  1415.                     RA = nil
  1416.                     end
  1417.                 end
  1418.  
  1419.             elseif Stuff.Mode == 4 then -- suicide
  1420.  
  1421.                 if LA then
  1422.                     LA:Destroy()
  1423.                     LA = nil
  1424.                 end
  1425.                 if RA then
  1426.                     RA:Destroy()
  1427.                     RA = nil
  1428.                 end
  1429.  
  1430.                 LA = Instance.new("Weld")
  1431.                 LA.Name = "GrabKnifeLA"
  1432.                 LA.Parent = LocalPlayer.Character
  1433.                 LA.Part0 = LocalPlayer.Character.Torso
  1434.                 LA.Part1 = LeftArm
  1435.                 LA.C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(10), math.rad(10), math.rad(-10))
  1436.                 LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1437.                 wait(0.5)
  1438.                
  1439.                 game:GetService("TweenService"):Create(LA, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-100), math.rad(-10)) }):Play()
  1440.                 wait(1.5)
  1441.  
  1442.                 game:GetService("TweenService"):Create(LA, TweenInfo.new(0.075, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 0.75, 1)) * CFrame.Angles(math.rad(30), math.rad(-130), math.rad(-10)) }):Play()
  1443.                 wait(0.1)
  1444.                 if LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1445.                     LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1446.                 end
  1447.  
  1448.             end
  1449.         end)
  1450.  
  1451.  
  1452.         repeat
  1453.             if Stuff.PlrHeld ~= nil and Stuff.PlrHeld.ClassName == "Player" and Stuff.PlrHeld.Character and Stuff.PlrHeld.Character.PrimaryPart and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid") and Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  1454.                 if LA == nil then
  1455.                     LA = Instance.new("Weld")
  1456.                     LA.Name = "GrabKnifeLA"
  1457.                     LA.Parent = LocalPlayer.Character
  1458.                     LA.Part0 = LocalPlayer.Character.Torso
  1459.                     LA.Part1 = LeftArm
  1460.                     LA.C0 = CFrame.new(Vector3.new(-1, 0.75, 0)) * CFrame.Angles(math.rad(80), math.rad(-90), math.rad(-10))
  1461.                     LA.C1 = CFrame.new(Vector3.new(0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1462.                 end
  1463.                 if RA == nil then
  1464.                     RA = Instance.new("Weld")
  1465.                     RA.Name = "GrabKnifeRA"
  1466.                     RA.Parent = LocalPlayer.Character
  1467.                     RA.Part0 = LocalPlayer.Character.Torso
  1468.                     RA.Part1 = RightArm
  1469.                     RA.C0 = CFrame.new(Vector3.new(1, 0.75, 0)) * CFrame.Angles(math.rad(70), math.rad(40), math.rad(10))
  1470.                     RA.C1 = CFrame.new(Vector3.new(-0.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1471.                 end
  1472.                 for i, v in pairs(Stuff.PlrHeld.Character:GetDescendants()) do
  1473.                     if v:IsA("BasePart") then
  1474.                         v.CanCollide = false
  1475.                     end
  1476.                 end
  1477.                 Stuff.PlrHeld.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1478.                 if not Stuff.PlrHeld.Character.PrimaryPart:FindFirstChild("CFrameFix") then
  1479.                     local bv = Instance.new("BodyVelocity")
  1480.                     bv.Name = "CFrameFix"
  1481.                     bv.Parent = Stuff.PlrHeld.Character.PrimaryPart
  1482.                     bv.Velocity = Vector3.new(0, 0, 0)
  1483.                 end
  1484.                 Stuff.PlrHeld.Character:SetPrimaryPartCFrame(LocalPlayer.Character.PrimaryPart.CFrame + LocalPlayer.Character.PrimaryPart.CFrame.LookVector * LocalPlayer.Character.PrimaryPart.Size.Z)
  1485.             end
  1486.             game:GetService("RunService").Stepped:Wait()
  1487.         until not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1488.  
  1489.         if LA ~= nil then
  1490.             LA:Destroy()
  1491.             LA = nil
  1492.         end
  1493.         if RA ~= nil then
  1494.             RA:Destroy()
  1495.             RA = nil
  1496.         end
  1497.  
  1498.         for i, v in pairs(Stuff.Events) do
  1499.             v:Disconnect()
  1500.         end
  1501.  
  1502.         if LocalPlayer:FindFirstChild("-Running") then
  1503.             LocalPlayer:FindFirstChild("-Running"):Destroy()
  1504.         end
  1505.  
  1506.         if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  1507.             LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1508.         end
  1509.  
  1510.     end
  1511. end)
  1512.  
  1513. IceGear.AddCommand("Karambit", "Loads FE karambit", function()
  1514.     local KnifeAccessory
  1515.  
  1516.     if LocalPlayer:FindFirstChild("-Running") then
  1517.         return IceGear.Notify("Command: " .. LocalPlayer["-Running"].Value .. " is already running.", {7, 1, 1})
  1518.     elseif not LocalPlayer.Character:FindFirstChildOfClass("Accessory") then
  1519.         return IceGear.Notify("You need at least 1 hat or preferably accessory:\n https://www.roblox.com/catalog/4684948729/Kawaii-Knife", {7, 1, 1})
  1520.     else
  1521.  
  1522.         if LocalPlayer.Character:FindFirstChild("YandereKnife") and LocalPlayer.Character["YandereKnife"].ClassName == "Accessory" then
  1523.             KnifeAccessory = LocalPlayer.Character["YandereKnife"]
  1524.         else
  1525.             KnifeAccessory = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  1526.         end
  1527.  
  1528.         local Running = Instance.new("StringValue")
  1529.         Running.Parent = LocalPlayer
  1530.         Running.Name = "-Running"
  1531.         Running.Value = "Karambit"
  1532.  
  1533.         local Torso = LocalPlayer.Character.Torso:Clone()
  1534.         Torso.Parent = LocalPlayer.Character
  1535.         Torso.Name = "AnimTorso"
  1536.         Torso.Transparency = 1
  1537.         Torso.CanCollide = false
  1538.         Torso:ClearAllChildren()
  1539.        
  1540.         local LeftArm = LocalPlayer.Character["Left Arm"]:Clone()
  1541.         LeftArm.Parent = LocalPlayer.Character
  1542.         LeftArm.Name = "LeftArm"
  1543.         LeftArm.Transparency = 1
  1544.         LeftArm.CanCollide = false
  1545.         LeftArm:ClearAllChildren()
  1546.  
  1547.         local RightArm = LocalPlayer.Character["Right Arm"]:Clone()
  1548.         RightArm.Parent = LocalPlayer.Character
  1549.         RightArm.Name = "RightArm"
  1550.         RightArm.Transparency = 1
  1551.         RightArm.CanCollide = false
  1552.         RightArm:ClearAllChildren()
  1553.  
  1554.         --LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  1555.  
  1556.         local Stuff = {
  1557.             Events = {},
  1558.             Debounces = {Button1DownDebounce = false},
  1559.             LeftClickHolding = false,
  1560.             Mode = 1,  -- 1 = attack, 2 = climb mode
  1561.             AttackCombo = 1,
  1562.             Stab = false,
  1563.             Climbing = false
  1564.         }
  1565.        
  1566.         if LocalPlayer.Character:FindFirstChild("-Karambit") then
  1567.             LocalPlayer.Character:FindFirstChild("-Karambit"):Destroy()
  1568.         end
  1569.         if LocalPlayer.Character:FindFirstChild("KarambitLA") then
  1570.             LocalPlayer.Character:FindFirstChild("KarambitLA"):Destroy()
  1571.         end
  1572.         if LocalPlayer.Character:FindFirstChild("KarambitRA") then
  1573.             LocalPlayer.Character:FindFirstChild("KarambitRA"):Destroy()
  1574.         end
  1575.         if LocalPlayer.Character:FindFirstChild("KarambitT") then
  1576.             LocalPlayer.Character:FindFirstChild("KarambitT"):Destroy()
  1577.         end
  1578.        
  1579.         local LA
  1580.         local RA
  1581.         local RJ
  1582.        
  1583.         LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1584.  
  1585.        
  1586.         local Attach0 = Instance.new("Attachment")
  1587.         Attach0.Parent = LocalPlayer.Character.Torso
  1588.         local Attach1 = Instance.new("Attachment")
  1589.         Attach1.Parent = Torso
  1590.        
  1591.         local Pos = Instance.new("AlignPosition")
  1592.         Pos.Parent = LocalPlayer.Character.Torso
  1593.         Pos.RigidityEnabled = true
  1594.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1595.  
  1596.         local Rot = Instance.new("AlignOrientation")
  1597.         Rot.Parent = LocalPlayer.Character.Torso
  1598.         Rot.RigidityEnabled = true
  1599.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1600.        
  1601.         LocalPlayer.Character.HumanoidRootPart.RootJoint:Destroy()
  1602.        
  1603.         local Attach0 = Instance.new("Attachment")
  1604.         Attach0.Parent = LocalPlayer.Character["Right Arm"]
  1605.         local Attach1 = Instance.new("Attachment")
  1606.         Attach1.Parent = RightArm
  1607.        
  1608.         local Pos = Instance.new("AlignPosition")
  1609.         Pos.Parent = LocalPlayer.Character.Torso
  1610.         Pos.RigidityEnabled = true
  1611.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1612.  
  1613.         local Rot = Instance.new("AlignOrientation")
  1614.         Rot.Parent = LocalPlayer.Character.Torso
  1615.         Rot.RigidityEnabled = true
  1616.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1617.        
  1618.         LocalPlayer.Character.Torso["Right Shoulder"]:Destroy()
  1619.        
  1620.  
  1621.         local Attach0 = Instance.new("Attachment")
  1622.         Attach0.Parent = LocalPlayer.Character["Left Arm"]
  1623.         local Attach1 = Instance.new("Attachment")
  1624.         Attach1.Parent = LeftArm
  1625.        
  1626.         local Pos = Instance.new("AlignPosition")
  1627.         Pos.Parent = LocalPlayer.Character.Torso
  1628.         Pos.RigidityEnabled = true
  1629.         Pos.Attachment0, Pos.Attachment1 = Attach0, Attach1
  1630.  
  1631.         local Rot = Instance.new("AlignOrientation")
  1632.         Rot.Parent = LocalPlayer.Character.Torso
  1633.         Rot.RigidityEnabled = true
  1634.         Rot.Attachment0, Rot.Attachment1 = Attach0, Attach1
  1635.  
  1636.         LocalPlayer.Character.Torso["Left Shoulder"]:Destroy()
  1637.        
  1638.  
  1639.         local Knife = Instance.new("Part")
  1640.         Knife.Name = "-Karambit"
  1641.         Knife.Parent = LocalPlayer.Character
  1642.         Knife.Size = Vector3.new(0.25, 2, 0.25)
  1643.         Knife.Transparency = 1
  1644.         Knife.CanCollide = false
  1645.        
  1646.         local KnifeWeld = Instance.new("Weld")
  1647.         KnifeWeld.Parent = Knife
  1648.         KnifeWeld.Part0 = RightArm
  1649.         KnifeWeld.Part1 = Knife
  1650.         KnifeWeld.C0 = CFrame.new(Vector3.new(-0.2, -1.125, 0.5)) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1651.         KnifeWeld.C1 = CFrame.new(Vector3.new(0, 0, -0.125)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1652.        
  1653.         local BV = Instance.new("BodyVelocity")
  1654.         BV.Parent = KnifeAccessory.Handle
  1655.         BV.Velocity = Vector3.new(0, 0, 0)
  1656.        
  1657.         KnifeAccessory.Handle.AccessoryWeld:Destroy()
  1658.        
  1659.         RA = Instance.new("Weld")
  1660.         RA.Name = "KarambitRA"
  1661.         RA.Parent = LocalPlayer.Character
  1662.         RA.Part0 = Torso
  1663.         RA.Part1 = RightArm
  1664.         RA.C0 = CFrame.new(Vector3.new(1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1665.         RA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1666.        
  1667.         LA = Instance.new("Weld")
  1668.         LA.Name = "KarambitLA"
  1669.         LA.Parent = LocalPlayer.Character
  1670.         LA.Part0 = Torso
  1671.         LA.Part1 = LeftArm
  1672.         LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1673.         LA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1674.        
  1675.         RJ = Instance.new("Weld")
  1676.         RJ.Name = "KarambitT"
  1677.         RJ.Parent = LocalPlayer.Character
  1678.         RJ.Part0 = LocalPlayer.Character.HumanoidRootPart
  1679.         RJ.Part1 = Torso
  1680.         RJ.C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1681.         RJ.C1 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1682.  
  1683.         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1684.         wait(0.75)
  1685.        
  1686.         LocalPlayer.Character.HumanoidRootPart.Anchored = false
  1687.         LocalPlayer.Character.HumanoidRootPart.CanCollide = true
  1688.  
  1689.         Stuff.Events.ModeChangeEvent = game:GetService("UserInputService").InputBegan:Connect(function(Key)
  1690.             if Key.KeyCode == Enum.KeyCode.Q then
  1691.                Stuff.Mode = 1
  1692.             elseif Key.KeyCode == Enum.KeyCode.E then
  1693.                Stuff.Mode = 2
  1694.             end
  1695.         end)
  1696.        
  1697.         Stuff.Events.Button1DownEvent = LocalPlayer:GetMouse().Button1Down:Connect(function()
  1698.             Stuff.LeftClickHolding = true
  1699.             if Stuff.Debounces.Button1DownDebounce == false then
  1700.                 Stuff.Debounces.Button1DownDebounce = true
  1701.                
  1702.                 if LA ~= nil then
  1703.                    LA:Destroy()
  1704.                    LA = nil
  1705.                 end
  1706.                 if RA ~= nil then
  1707.                    RA:Destroy()
  1708.                    RA = nil
  1709.                 end
  1710.                 if RJ ~= nil then
  1711.                    RJ:Destroy()
  1712.                    RJ = nil
  1713.                 end
  1714.                
  1715.                 RA = Instance.new("Weld")
  1716.                 RA.Name = "KarambitRA"
  1717.                 RA.Parent = LocalPlayer.Character
  1718.                 RA.Part0 = Torso
  1719.                 RA.Part1 = RightArm
  1720.                 RA.C0 = CFrame.new(Vector3.new(1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1721.                 RA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1722.                
  1723.                 LA = Instance.new("Weld")
  1724.                 LA.Name = "KarambitLA"
  1725.                 LA.Parent = LocalPlayer.Character
  1726.                 LA.Part0 = Torso
  1727.                 LA.Part1 = LeftArm
  1728.                 LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1729.                 LA.C1 = CFrame.new(Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1730.                
  1731.                 RJ = Instance.new("Weld")
  1732.                 RJ.Name = "KarambitT"
  1733.                 RJ.Parent = LocalPlayer.Character
  1734.                 RJ.Part0 = LocalPlayer.Character.HumanoidRootPart
  1735.                 RJ.Part1 = Torso
  1736.                 RJ.C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1737.                 RJ.C1 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1738.                
  1739.                 if Stuff.Mode == 1 then
  1740.                     if Stuff.AttackCombo == 1 then
  1741.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) }):Play()
  1742.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.15, 1, 0)) * CFrame.Angles(math.rad(90), math.rad(80), math.rad(0)) }):Play()
  1743.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-50), math.rad(45), math.rad(0)) }):Play()
  1744.                         wait(0.45)
  1745.                        
  1746.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)) }):Play()
  1747.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.15, 1, 0)) * CFrame.Angles(math.rad(-70), math.rad(-80), math.rad(0)) }):Play()
  1748.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(70), math.rad(-45), math.rad(0)) }):Play()
  1749.                        
  1750.                         wait(0.025)
  1751.                         Stuff.Stab = true
  1752.                         wait(0.1)
  1753.                         Stuff.Stab = false
  1754.                        
  1755.                         LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1756.                        
  1757.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1758.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(100), math.rad(35), math.rad(-10)) }):Play()
  1759.                         wait(0.3)
  1760.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1761.                         Stuff.Debounces.Button1DownDebounce = false
  1762.                     elseif Stuff.AttackCombo == 2 then
  1763.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1764.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1, -0.25)) * CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) }):Play()
  1765.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1766.                         wait(0.45)
  1767.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) }):Play()
  1768.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 1.5, -0.25)) * CFrame.Angles(math.rad(130), math.rad(-10), math.rad(0)) }):Play()
  1769.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 0.8, 0)) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(0)) }):Play()
  1770.                         wait(0.05)
  1771.                         Stuff.Stab = true
  1772.                         wait(0.1)
  1773.                         Stuff.Stab = false
  1774.                        
  1775.                         LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1776.                        
  1777.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1778.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1779.                         Stuff.Debounces.Button1DownDebounce = false
  1780.                     elseif Stuff.AttackCombo == 3 then
  1781.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.35, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1782.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1.25, -0.25)) * CFrame.Angles(math.rad(130), math.rad(-10), math.rad(0)) }):Play()
  1783.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.45, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1784.                         wait(0.45)
  1785.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) }):Play()
  1786.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 0.75, -0.25)) * CFrame.Angles(math.rad(90), math.rad(-10), math.rad(0)) }):Play()
  1787.                         game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 1.2, 0)) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(0)) }):Play()
  1788.                         wait(0.05)
  1789.                         Stuff.Stab = true
  1790.                         wait(0.1)
  1791.                         Stuff.Stab = false
  1792.                        
  1793.                         LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1794.                        
  1795.                         game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1796.                         game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(140), math.rad(35), math.rad(-10)) }):Play()
  1797.                        
  1798.                         Stuff.Debounces.Button1DownDebounce = false
  1799.                     end
  1800.                    
  1801.                     if Stuff.AttackCombo >= 3 then
  1802.                         Stuff.AttackCombo = 1
  1803.                     else
  1804.                         Stuff.AttackCombo = Stuff.AttackCombo + 1
  1805.                     end
  1806.                
  1807.                 elseif Stuff.Mode == 2 then
  1808.                     if Stuff.Climbing == true then
  1809.                        
  1810.                         Stuff.Climbing = false
  1811.                     end
  1812.                     game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) }):Play()
  1813.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(200), math.rad(-10), math.rad(0)) }):Play()
  1814.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(70), math.rad(45), math.rad(0)) }):Play()
  1815.                     wait(0.15)
  1816.                    
  1817.                    
  1818.                    
  1819.                     repeat
  1820.                         wait()
  1821.                     until Stuff.LeftClickHolding == false
  1822.                    
  1823.                     Stuff.Debounces.Button1DownDebounce = false
  1824.                 end
  1825.                
  1826.                
  1827.             end
  1828.         end)
  1829.        
  1830.         Stuff.Events.Button1UpEvent = LocalPlayer:GetMouse().Button1Up:Connect(function()
  1831.             Stuff.LeftClickHolding = false
  1832.            
  1833.             if RJ and LA and RA and Stuff.Mode == 2 then
  1834.                
  1835.                 local PossibleWall = game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 2), LocalPlayer.Character)
  1836.                 if PossibleWall ~= nil and PossibleWall.Size.Y >= 5 then
  1837.                     game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1838.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(180), math.rad(5), math.rad(10)) }):Play()
  1839.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), { C0 = CFrame.new(Vector3.new(-1.5, 0.5, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1840.                    
  1841.                     LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1842.                    
  1843.                     repeat
  1844.                         wait()
  1845.                     until Stuff.LeftClickHolding == true or Stuff.Mode ~= 2 or not game.Workspace:FindPartOnRay(Ray.new(LocalPlayer.Character.HumanoidRootPart.Position, LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 5), LocalPlayer.Character) or not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1846.                    
  1847.                     LocalPlayer.Character.HumanoidRootPart.Anchored = false
  1848.                     LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(LocalPlayer.Character.HumanoidRootPart.Velocity.X, LocalPlayer.Character.Humanoid.JumpPower * 1.5, LocalPlayer.Character.HumanoidRootPart.Velocity.Z)
  1849.                    
  1850.                     game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1851.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 1.5, -0.25)) * CFrame.Angles(math.rad(30), math.rad(-10), math.rad(-10)) }):Play()
  1852.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 1.1, 0)) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(45)) }):Play()
  1853.                     wait(0.25)
  1854.                    
  1855.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.25, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1856.                 else
  1857.                     game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) }):Play()
  1858.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(1.5, 1.25, 0.25)) * CFrame.Angles(math.rad(50), math.rad(10), math.rad(0)) }):Play()
  1859.                     game:GetService("TweenService"):Create(LA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)) }):Play()
  1860.                     wait(0.3)
  1861.                     game:GetService("TweenService"):Create(RJ, TweenInfo.new(0.15, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { C0 = CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) }):Play()
  1862.                     game:GetService("TweenService"):Create(RA, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { C0 = CFrame.new(Vector3.new(1.35, 0, -0.25)) * CFrame.Angles(math.rad(150), math.rad(35), math.rad(-10)) }):Play()
  1863.                    
  1864.                     LA.C0 = CFrame.new(Vector3.new(-1.5, 1, 0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1865.                 end
  1866.                
  1867.             end
  1868.         end)
  1869.        
  1870.         repeat
  1871.  
  1872.             if Stuff.Stab == true then
  1873.                 for i, v in pairs(game.Players:GetPlayers()) do
  1874.                     if v and v.Character and v.Character:FindFirstChild("-Claimed") and v.Character:FindFirstChildOfClass("Humanoid") then
  1875.                         if v.Character:FindFirstChildOfClass("Humanoid").Health > 0 and v.Character:FindFirstChildOfClass("Humanoid").Health ~= 1 then
  1876.                             spawn(function()
  1877.                                 v.Character:FindFirstChildOfClass("Humanoid").Health = 1
  1878.                                 v.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1879.                                 wait(0.5)
  1880.                                 v.Character:FindFirstChildOfClass("Humanoid").Health = 0
  1881.                             end)
  1882.                         end
  1883.                     end
  1884.                 end
  1885.             end
  1886.  
  1887.             LocalPlayer.Character.Head.CanCollide = false
  1888.             LocalPlayer.Character.Torso.CanCollide = false
  1889.  
  1890.             KnifeAccessory.Handle.CanCollide = false
  1891.             Knife.CanCollide = false
  1892.             KnifeAccessory.Handle.CFrame = Knife.CFrame * CFrame.new(Vector3.new(0, 0, 0)) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(90))
  1893.             game:GetService("RunService").Stepped:Wait()
  1894.         until not (LocalPlayer and LocalPlayer.Character and Knife and Knife.Parent == LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") and LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health > 0)
  1895.        
  1896.         if LA ~= nil then
  1897.             LA:Destroy()
  1898.             LA = nil
  1899.         end
  1900.         if RA ~= nil then
  1901.             RA:Destroy()
  1902.             RA = nil
  1903.         end
  1904.         for i, v in pairs(Stuff.Events) do
  1905.            v:Disconnect()
  1906.         end
  1907.         if Running then
  1908.             Running:Destroy()
  1909.         end
  1910.         Stuff = nil
  1911.     end
  1912. end)
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919. -- updating cmdlist
  1920.  
  1921. IceGear.UpdateCmdList(CmdList, {CmdBar, "alphabetical"})
  1922.  
  1923. -- Disconnecting all the events along with the functions if gui is re-executed:
  1924.  
  1925. repeat
  1926.     wait()
  1927. until IceGear_AdminGui.Parent ~= game:GetService("CoreGui")
  1928.  
  1929. for i, v in pairs(IceGear.Events) do
  1930.     pcall(function()
  1931.         v:Disconnect()
  1932.     end)
  1933. end
  1934.  
  1935. IceGear = nil
Add Comment
Please, Sign In to add comment