Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.65 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local User = Instance.new("TextBox")
  6. local Attack = Instance.new("TextButton")
  7. local Notice = Instance.new("TextLabel")
  8. local Notice_2 = Instance.new("TextLabel")
  9. local Creds = Instance.new("TextLabel")
  10. local Creds_2 = Instance.new("TextLabel")
  11. local Status = Instance.new("TextLabel")
  12. local Bar = Instance.new("Frame")
  13. local TextLabel = Instance.new("TextLabel")
  14. local TextLabel_2 = Instance.new("TextLabel")
  15.  
  16. -- Properties
  17.  
  18. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  19.  
  20. Main.Name = "Main"
  21. Main.Parent = ScreenGui
  22. Main.BackgroundColor3 = Color3.new(0.0196078, 0.415686, 0.0509804)
  23. Main.BorderColor3 = Color3.new(0.0196078, 0.415686, 0.0509804)
  24. Main.Position = UDim2.new(0.0161090456, 0, 0.432806313, 0)
  25. Main.Size = UDim2.new(0, 243, 0, 263)
  26.  
  27. User.Name = "User"
  28. User.Parent = Main
  29. User.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  30. User.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  31. User.Position = UDim2.new(0.13786009, 0, 0.49809894, 0)
  32. User.Size = UDim2.new(0, 176, 0, 32)
  33. User.Font = Enum.Font.Highway
  34. User.Text = "Username"
  35. User.TextColor3 = Color3.new(0, 0, 0)
  36. User.TextSize = 25
  37.  
  38. Attack.Name = "Attack"
  39. Attack.Parent = Main
  40. Attack.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  41. Attack.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  42. Attack.Position = UDim2.new(0.133744851, 0, 0.695817471, 0)
  43. Attack.Size = UDim2.new(0, 176, 0, 33)
  44. Attack.Font = Enum.Font.Highway
  45. Attack.Text = "T-Rex Attack"
  46. Attack.TextColor3 = Color3.new(0, 0, 0)
  47. Attack.TextSize = 25
  48.  
  49. Notice.Name = "Notice"
  50. Notice.Parent = Main
  51. Notice.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Notice.BackgroundTransparency = 1
  53. Notice.Position = UDim2.new(0.0864197835, 0, -0.0228136927, 0)
  54. Notice.Size = UDim2.new(0, 200, 0, 50)
  55. Notice.Font = Enum.Font.Highway
  56. Notice.Text = "NOTICE: This only works"
  57. Notice.TextColor3 = Color3.new(0, 0, 0)
  58. Notice.TextSize = 25
  59.  
  60. Notice_2.Name = "Notice"
  61. Notice_2.Parent = Main
  62. Notice_2.BackgroundColor3 = Color3.new(1, 1, 1)
  63. Notice_2.BackgroundTransparency = 1
  64. Notice_2.Position = UDim2.new(0.0864197537, 0, 0.0570342205, 0)
  65. Notice_2.Size = UDim2.new(0, 173, 0, 50)
  66. Notice_2.Font = Enum.Font.Highway
  67. Notice_2.Text = "in fe disabled games."
  68. Notice_2.TextColor3 = Color3.new(0, 0, 0)
  69. Notice_2.TextSize = 25
  70.  
  71. Creds.Name = "Creds"
  72. Creds.Parent = Main
  73. Creds.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Creds.BackgroundTransparency = 1
  75. Creds.Position = UDim2.new(0.417695463, 0, 0.851711094, 0)
  76. Creds.Size = UDim2.new(0, 173, 0, 50)
  77. Creds.Font = Enum.Font.Highway
  78. Creds.Text = "Design: Kira"
  79. Creds.TextColor3 = Color3.new(0, 0, 0)
  80. Creds.TextSize = 20
  81.  
  82. Creds_2.Name = "Creds"
  83. Creds_2.Parent = Main
  84. Creds_2.BackgroundColor3 = Color3.new(1, 1, 1)
  85. Creds_2.BackgroundTransparency = 1
  86. Creds_2.Position = UDim2.new(-0.131687254, 0, 0.851711035, 0)
  87. Creds_2.Size = UDim2.new(0, 173, 0, 50)
  88. Creds_2.Font = Enum.Font.Highway
  89. Creds_2.Text = "Script: Bbop"
  90. Creds_2.TextColor3 = Color3.new(0, 0, 0)
  91. Creds_2.TextSize = 20
  92.  
  93. Status.Name = "Status"
  94. Status.Parent = Main
  95. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  96. Status.BackgroundTransparency = 1
  97. Status.Position = UDim2.new(0.152263373, 0, 0.307984799, 0)
  98. Status.Size = UDim2.new(0, 173, 0, 50)
  99. Status.Font = Enum.Font.Highway
  100. Status.Text = "Player: Not attacked"
  101. Status.TextColor3 = Color3.new(0, 0, 0)
  102. Status.TextSize = 25
  103.  
  104. Bar.Name = "Bar"
  105. Bar.Parent = ScreenGui
  106. Bar.BackgroundColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  107. Bar.BorderColor3 = Color3.new(0.0235294, 0.498039, 0.0627451)
  108. Bar.Position = UDim2.new(0.0161090456, 0, 0.355731219, 0)
  109. Bar.Size = UDim2.new(0, 243, 0, 39)
  110.  
  111. TextLabel.Parent = Bar
  112. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  113. TextLabel.BackgroundTransparency = 1
  114. TextLabel.Size = UDim2.new(0, 110, 0, 39)
  115. TextLabel.Font = Enum.Font.Highway
  116. TextLabel.Text = "T-Rex Gui"
  117. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  118. TextLabel.TextSize = 25
  119.  
  120. TextLabel_2.Parent = Bar
  121. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  122. TextLabel_2.BackgroundTransparency = 1
  123. TextLabel_2.Position = UDim2.new(0.279835403, 0, 0.282051295, 0)
  124. TextLabel_2.Size = UDim2.new(0, 108, 0, 22)
  125. TextLabel_2.Font = Enum.Font.Highway
  126. TextLabel_2.Text = "v1.0"
  127. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  128. TextLabel_2.TextSize = 20
  129.  
  130. Attack.MouseButton1Click:connect(function()
  131. local asset = 1543291947
  132. local model = game:GetService("InsertService"):LoadAsset(asset)
  133. model.Parent = game.Workspace
  134. model:MakeJoints()
  135. model.Name = "Sackarino"
  136. local char = game.Workspace[User.Text]
  137. Status.Text = "Player: Attacked"
  138. char.Head.Anchored = true
  139. wait(1)
  140. local tweenService = game:GetService("TweenService")
  141. local part = game.Workspace.Sackarino.Dino
  142. local a = char.Head.Position.X
  143. local b = char.Head.Position.Y + 5
  144. local c = char.Head.Position.Z - 31
  145.  
  146. local tweeningInformation = TweenInfo.new(
  147.  
  148. 3, -- Length
  149. Enum.EasingStyle.Linear, -- Easing style of ethe TweenInfo
  150. Enum.EasingDirection.In, -- Easing Direction of the tween
  151. 0, -- Number of times the tween will repeat
  152. false, -- Should the tween repeat?
  153. 0 -- Delay tween between each tween
  154. )
  155.  
  156. local partProperties = {
  157. Position = Vector3.new(a, b, c);
  158. }
  159.  
  160. local Tween = tweenService:Create(part,tweeningInformation,partProperties)
  161. Tween:Play()
  162. wait(3)
  163. game.Workspace.Sackarino.Dino.Orientation = Vector3.new(15, 0, 0)
  164. local z = game.Workspace.Sackarino.Dino.Position.Z + 31
  165. local y = game.Workspace.Sackarino.Dino.Position.Y + 8
  166. local x = game.Workspace.Sackarino.Dino.Position.X
  167. wait(.5)
  168. game.Workspace.Sackarino.Dino.Orientation = Vector3.new(30, 0, 0)
  169. local z = game.Workspace.Sackarino.Dino.Position.Z + 31
  170. local y = game.Workspace.Sackarino.Dino.Position.Y + 8
  171. local x = game.Workspace.Sackarino.Dino.Position.X
  172. wait(1)
  173. local z = game.Workspace.Sackarino.Dino.Position.Z + 31
  174. local y = game.Workspace.Sackarino.Dino.Position.Y + 8
  175. local x = game.Workspace.Sackarino.Dino.Position.X
  176. char.Head.CFrame = CFrame.new(x, y, z)
  177. game.Workspace.Sackarino.Dino.Orientation = Vector3.new(15, 0, 0)
  178. wait(0.5)
  179. local z = game.Workspace.Sackarino.Dino.Position.Z + 31
  180. local y = game.Workspace.Sackarino.Dino.Position.Y + 8
  181. local x = game.Workspace.Sackarino.Dino.Position.X
  182. char.Head.CFrame = CFrame.new(x, y, z)
  183. game.Workspace.Sackarino.Dino.Orientation = Vector3.new(0, 0, 0)
  184. local s = Instance.new("Sound",char.Head)
  185. s.Volume = 4
  186. s.SoundId = "rbxassetid://238770234"
  187. s:Play()
  188. while char.Humanoid.Health > 0 and wait(0.01) do
  189. char.Humanoid.Health = char.Humanoid.Health - 1
  190. end
  191. s:Stop()
  192. Status.Text = "Player: Not attacked"
  193. wait(2)
  194. game.Workspace.Sackarino:Destroy()
  195. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement