Advertisement
PoblacionPlays

XeneonIcegear

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